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:
Chris H-C 2015-11-02 06:37:00 -08:00
Родитель 01ef877e80
Коммит 3193935f35
2 изменённых файлов: 3 добавлений и 3 удалений

Просмотреть файл

@ -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