Bug 1320570 - change placeholder format in matchesFoundCount to #1 (fictional restriction of l10n dashboard tool). r=JorgK, a=JorgK

This commit is contained in:
aceman 2016-11-28 22:37:15 +01:00
Родитель 27543705fd
Коммит 80ee7c0a23
4 изменённых файлов: 14 добавлений и 10 удалений

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

@ -493,8 +493,8 @@ function SetStatusText(total)
statusText = gAddressBookBundle.getString("noMatchFound");
} else {
statusText = PluralForm
.get(total, gAddressBookBundle.getString("matchesFoundCount"))
.replace("%S", total);
.get(total, gAddressBookBundle.getString("matchesFound"))
.replace("#1", total);
}
}
else

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

@ -110,9 +110,11 @@ ldap_2.servers.osx.description=Mac OS X Address Book
## %1$S is address book name, %2$S is contact count
totalContactStatus=Total contacts in %1$S: %2$S
noMatchFound=No matches found
# LOCALIZATION NOTE (matchesFoundCount): Semi-colon list of plural forms
# $S is the number of matches found
matchesFoundCount=%S match found;%S matches found
## LOCALIZATION NOTE (matchesFound):
## Semicolon-separated list of singular and plural forms.
## See: https://developer.mozilla.org/docs/Mozilla/Localization/Localization_and_Plurals
## #1 is the number of matching contacts found
matchesFound=#1 match found;#1 matches found
## LOCALIZATION NOTE (contactsCopied): Semi-colon list of plural forms
## %1$S is the number of contacts that were copied. This should be used multiple

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

@ -103,9 +103,11 @@ ldap_2.servers.osx.description=Mac OS X Address Book
## %1$S is address book name, %2$S is card count
totalContactStatus=Total contacts in %1$S: %2$S
noMatchFound=No matches found
# LOCALIZATION NOTE (matchesFoundCount): Semi-colon list of plural forms
# $S is the number of matches found
matchesFoundCount=%S match found;%S matches found
## LOCALIZATION NOTE (matchesFound):
## Semicolon-separated list of singular and plural forms.
## See: https://developer.mozilla.org/docs/Mozilla/Localization/Localization_and_Plurals
## #1 is the number of matching contacts found
matchesFound=#1 match found;#1 matches found
## LOCALIZATION NOTE (contactsCopied): Semi-colon list of plural forms
## %1$S is the number of contacts that were copied. This should be used multiple

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

@ -353,8 +353,8 @@ function SetStatusText(total)
statusText = gAddressBookBundle.getString("noMatchFound");
} else {
statusText = PluralForm
.get(total, gAddressBookBundle.getString("matchesFoundCount"))
.replace("%S", total);
.get(total, gAddressBookBundle.getString("matchesFound"))
.replace("#1", total);
}
}
else