diff options
author | Eiji Tanioka <tanioka404@gmail.com> | 2020-03-25 21:16:35 +0900 |
---|---|---|
committer | Harsh Shandilya <me@msfjarvis.dev> | 2020-03-25 20:23:45 +0530 |
commit | 90bf46e8d3a9899913d916b70d452c55def7c96c (patch) | |
tree | 65acd575aa0ddc547b758c862276d5384b4217a1 | |
parent | c1c285db86d78c7f7598392b49c3ef54525f2aca (diff) |
strings: Explicit indexing for 'import_partial_success'
When translate it to Japanese, values are exchanged.
For example, '1 of 10' is '10 個中の 1'.
So this string should be explicit indexed.
Signed-off-by: Eiji Tanioka <tanioka404@gmail.com>
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
-rw-r--r-- | ui/src/main/res/values/strings.xml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ui/src/main/res/values/strings.xml b/ui/src/main/res/values/strings.xml index 70d92c39..74c5be69 100644 --- a/ui/src/main/res/values/strings.xml +++ b/ui/src/main/res/values/strings.xml @@ -13,8 +13,8 @@ <item quantity="other">%d tunnels selected</item> </plurals> <plurals name="import_partial_success"> - <item quantity="one">Imported %d of %d tunnels</item> - <item quantity="other">Imported %d of %d tunnels</item> + <item quantity="one">Imported %1$d of %2$d tunnels</item> + <item quantity="other">Imported %1$d of %2$d tunnels</item> </plurals> <plurals name="import_total_success"> <item quantity="one">Imported %d tunnel</item> |