diff options
author | Raman Tenneti <rtenneti@google.com> | 2019-07-08 11:54:49 -0700 |
---|---|---|
committer | Michael Bestas <mkbestas@lineageos.org> | 2019-09-13 17:17:56 +0300 |
commit | 34fc5ba871180dcacafb7b2cd56ca163159e7d34 (patch) | |
tree | 48943825f204c48771cccbb2e95e5d565f80bf89 | |
parent | f5e78aae4d18e0cd8f5bb947f7836cfe677a228a (diff) | |
download | android_packages_apps_DeskClock-34fc5ba871180dcacafb7b2cd56ca163159e7d34.tar.gz android_packages_apps_DeskClock-34fc5ba871180dcacafb7b2cd56ca163159e7d34.tar.bz2 android_packages_apps_DeskClock-34fc5ba871180dcacafb7b2cd56ca163159e7d34.zip |
AOSP/DeskClock - Fix improperly formatted resource strings in DeskClock.
TODO: Need to run translation to fix across all languages.
Bug: 135627311
Test: manual - Did a "make -j40" and verified that there are no warnings in strings.xml.
Change-Id: I0895c9b5aee34f39e01a32eb8dab0231dd68cee9
-rw-r--r-- | res/values/strings.xml | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/res/values/strings.xml b/res/values/strings.xml index ac80b4e03..443d182e3 100644 --- a/res/values/strings.xml +++ b/res/values/strings.xml @@ -81,7 +81,7 @@ unattended for a number of minutes. It tells the user that the alarm has been silenced.--> <string name="alarm_missed_title">Missed alarm</string> - <string name="alarm_missed_text"><xliff:g id="alarm_time">%s</xliff:g> - <xliff:g id="alarm_label">%s</xliff:g></string> + <string name="alarm_missed_text"><xliff:g id="alarm_time">%1$s</xliff:g> - <xliff:g id="alarm_label">%2$s</xliff:g></string> <!-- The text shown after user snoozed an alerting alarm. The text will be shown together with the number of minutes in two separate lines. For example: @@ -588,8 +588,8 @@ <!-- Describes the purpose of the notification button to reset all running timers. [CHAR LIMIT=31] --> <string name="timer_reset_all">Reset all timers</string> - <string name="hours_minutes_seconds"><xliff:g id="hours" example="2">%d</xliff:g>:<xliff:g id="minutes" example="3">%02d</xliff:g>:<xliff:g id="seconds" example="44">%02d</xliff:g></string> - <string name="minutes_seconds"><xliff:g id="minutes" example="3">%d</xliff:g>:<xliff:g id="seconds" example="44">%02d</xliff:g></string> + <string name="hours_minutes_seconds"><xliff:g id="hours" example="2">%1$d</xliff:g>:<xliff:g id="minutes" example="3">%2$02d</xliff:g>:<xliff:g id="seconds" example="44">%3$02d</xliff:g></string> + <string name="minutes_seconds"><xliff:g id="minutes" example="3">%1$d</xliff:g>:<xliff:g id="seconds" example="44">%2$02d</xliff:g></string> <string name="seconds"><xliff:g id="seconds" example="44">%d</xliff:g></string> <!-- Jocular content that user may append when sharing the lap times --> |