зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1220376 - Use %1$S instead of %1$s. r=gfritzsche
'%1$s' only takes the first character of the format parameter. --HG-- extra : commitid : 1VbdalRLYyh extra : amend_source : de65bdb1099a3cbd627f15216091a0b085569260
This commit is contained in:
Родитель
01ef877e80
Коммит
3193935f35
|
@ -1558,7 +1558,7 @@ function renderPayloadList(ping) {
|
|||
|
||||
for (; payloadIndex <= ping.payload.childPayloads.length; ++payloadIndex) {
|
||||
option = document.createElement("option");
|
||||
text = bundle.formatStringFromName("childPayload", [payloadIndex], 1);
|
||||
text = bundle.formatStringFromName("childPayloadN", [payloadIndex], 1);
|
||||
content = document.createTextNode(text);
|
||||
option.appendChild(content);
|
||||
option.setAttribute("value", payloadIndex);
|
||||
|
|
|
@ -73,5 +73,5 @@ addonProvider = %1$S Provider
|
|||
parentPayload = Parent Payload
|
||||
|
||||
# Note to translators:
|
||||
# - The %1$s will be replaced with the number of the child payload (e.g. "1", "2")
|
||||
childPayload = Child Payload %1$s
|
||||
# - The %1$S will be replaced with the number of the child payload (e.g. "1", "2")
|
||||
childPayloadN = Child Payload %1$S
|
||||
|
|
Загрузка…
Ссылка в новой задаче