The text on toast should be changed when remains 1 time for SIM lock input

The behavior of getQuantityString() is different according to language, it gets
both "other" and "one" string if English is system language. But it always gets
"other" string if non-English, then the "other" string of wrong_pin_code is
shown even if remains 1 time of SIM lock input.

In order to change the string in any language, we add new string for
remains 1 time.

Bug: 71783850
Change-Id: I5de35eb71905b77028bf25226381e1ba79a37e92
This commit is contained in:
xiyuan.wang
2017-12-28 11:24:40 +08:00
committed by Yoshiaki Maruoka
parent 78bfc6f55f
commit b63de874fa
80 changed files with 84 additions and 1 deletions

View File

@@ -1117,6 +1117,7 @@
<item quantity="other">SIM PINコードが無効です。入力できるのはあと<xliff:g id="NUMBER_1">%d</xliff:g>回です。</item>
<item quantity="one">SIM PINコードが無効です。入力できるのはあと<xliff:g id="NUMBER_0">%d</xliff:g>回です。この回数を超えた場合は、携帯通信会社にお問い合わせください。</item>
</plurals>
<string name="wrong_pin_code_one">SIM PINコードが無効です。入力できるのはあと<xliff:g id="number">%d</xliff:g>回です。この回数を超えた場合は、携帯通信会社にお問い合わせください。</string>
<string name="pin_failed" msgid="1848423634948587645">"SIM PIN操作に失敗しました。"</string>
<string name="device_info_settings" product="tablet" msgid="1119755927536987178">"タブレットの状態"</string>
<string name="device_info_settings" product="default" msgid="475872867864762157">"端末の状態"</string>