summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorzachh <zachh@google.com>2018-05-02 12:48:51 -0700
committerWeijia Xu <weijiaxu@google.com>2018-05-04 06:15:53 +0000
commit2cc1bfc10ab390d44c2fe7280cae787655ca8fcc (patch)
tree6245e05555f429e05c704f20171de3a1fa3b5db6
parentd22ef290c45701ef65d9d0e004a64c683c8c2788 (diff)
Translation tweaks.
Bug: 36922756 Test: none PiperOrigin-RevId: 195136037 Change-Id: I481fbbc771d2e91eed54993163912a139483b6ca
-rw-r--r--java/com/android/dialer/calllogutils/res/values/strings.xml8
-rw-r--r--java/com/android/dialer/theme/res/values/strings.xml2
2 files changed, 5 insertions, 5 deletions
diff --git a/java/com/android/dialer/calllogutils/res/values/strings.xml b/java/com/android/dialer/calllogutils/res/values/strings.xml
index 1c1f31446..e476bdd6c 100644
--- a/java/com/android/dialer/calllogutils/res/values/strings.xml
+++ b/java/com/android/dialer/calllogutils/res/values/strings.xml
@@ -66,28 +66,28 @@
This translation may require the variables to be rearranged for grammars different than
english. [CHAR LIMIT=NONE] -->
<string name="a11y_call_duration_format">
- <xliff:g id="minutes">%d</xliff:g> <xliff:g id="minutes_translation">%s</xliff:g> <xliff:g id="seconds">%d</xliff:g> <xliff:g id="seconds_translation">%s</xliff:g>
+ <xliff:g id="minutes">%1$d</xliff:g> <xliff:g id="minutes_translation">%2$s</xliff:g> <xliff:g id="seconds">%3$d</xliff:g> <xliff:g id="seconds_translation">%4$s</xliff:g>
</string>
<!-- A string to announce a call duration. For example, in english might say 15 seconds.
This translation may require the variables to be rearranged for grammars different than
english. [CHAR LIMIT=NONE] -->
<string name="a11y_call_duration_short_format">
- <xliff:g id="seconds">%d</xliff:g> <xliff:g id="seconds_translation">%s</xliff:g>
+ <xliff:g id="seconds">%1$d</xliff:g> <xliff:g id="seconds_translation">%2$s</xliff:g>
</string>
<!-- A pattern to define the layout of a call duration string. for example, in english might
say 2m 15s. Translation should only rearrange the inputs. minutes_translation and
seconds_translation should remain in \'quotes\'. [CHAR LIMIT=NONE] -->
<string name="call_duration_format_pattern">
- <xliff:g id="minutes_special_character">%s</xliff:g>\'<xliff:g id="minutes_translation">%s</xliff:g>\' <xliff:g id="seconds_special_character">%s</xliff:g>\'<xliff:g id="seconds_translation">%s</xliff:g>\'
+ <xliff:g id="minutes_special_character">%1$s</xliff:g>\'<xliff:g id="minutes_translation">%2$s</xliff:g>\' <xliff:g id="seconds_special_character">%3$s</xliff:g>\'<xliff:g id="seconds_translation">%4$s</xliff:g>\'
</string>
<!-- A pattern to define the layout of a call duration string. for example, in english might
say 2m 15s. Translation should only rearrange the inputs. seconds_translation should
remain in \'quotes\'. [CHAR LIMIT=NONE] -->
<string name="call_duration_short_format_pattern">
- <xliff:g id="seconds_special_character">%s</xliff:g>\'<xliff:g id="seconds_translation">%s</xliff:g>\'
+ <xliff:g id="seconds_special_character">%1$s</xliff:g>\'<xliff:g id="seconds_translation">%2$s</xliff:g>\'
</string>
<!-- A full string for seconds (time). [CHAR LIMIT=NONE] -->
diff --git a/java/com/android/dialer/theme/res/values/strings.xml b/java/com/android/dialer/theme/res/values/strings.xml
index 36ff9413a..7d7209207 100644
--- a/java/com/android/dialer/theme/res/values/strings.xml
+++ b/java/com/android/dialer/theme/res/values/strings.xml
@@ -20,7 +20,7 @@
<!-- String to identify an unknown/restricted callers. ex. "Unknown 1", "Restricted 2", ect. -->
<string name="unknown_counter">
- <xliff:g id="unknown">%s</xliff:g> <xliff:g id="id">%d</xliff:g>
+ <xliff:g id="unknown">%1$s</xliff:g> <xliff:g id="id">%2$d</xliff:g>
</string>
<!-- String used to display calls from pay phone in the call log -->