Fix i18n formatting for a11y.plural.count.characters_left
This commit is contained in:
parent
5c1dea6942
commit
41e9cfa80d
|
@ -71,7 +71,7 @@
|
|||
<key>a11y.plural.count.characters_left</key>
|
||||
<dict>
|
||||
<key>NSStringLocalizedFormatKey</key>
|
||||
<string>%#@character_count@ left</string>
|
||||
<string>%#@character_count@</string>
|
||||
<key>character_count</key>
|
||||
<dict>
|
||||
<key>NSStringFormatSpecTypeKey</key>
|
||||
|
@ -79,15 +79,15 @@
|
|||
<key>NSStringFormatValueTypeKey</key>
|
||||
<string>ld</string>
|
||||
<key>zero</key>
|
||||
<string>no characters</string>
|
||||
<string>no characters left</string>
|
||||
<key>one</key>
|
||||
<string>1 character</string>
|
||||
<string>1 character left</string>
|
||||
<key>few</key>
|
||||
<string>%ld characters</string>
|
||||
<string>%ld characters left</string>
|
||||
<key>many</key>
|
||||
<string>%ld characters</string>
|
||||
<string>%ld characters left</string>
|
||||
<key>other</key>
|
||||
<string>%ld characters</string>
|
||||
<string>%ld characters left</string>
|
||||
</dict>
|
||||
</dict>
|
||||
<key>plural.count.followed_by_and_mutual</key>
|
||||
|
|
|
@ -71,7 +71,7 @@
|
|||
<key>a11y.plural.count.characters_left</key>
|
||||
<dict>
|
||||
<key>NSStringLocalizedFormatKey</key>
|
||||
<string>%#@character_count@ left</string>
|
||||
<string>%#@character_count@</string>
|
||||
<key>character_count</key>
|
||||
<dict>
|
||||
<key>NSStringFormatSpecTypeKey</key>
|
||||
|
@ -79,15 +79,15 @@
|
|||
<key>NSStringFormatValueTypeKey</key>
|
||||
<string>ld</string>
|
||||
<key>zero</key>
|
||||
<string>no characters</string>
|
||||
<string>no characters left</string>
|
||||
<key>one</key>
|
||||
<string>1 character</string>
|
||||
<string>1 character left</string>
|
||||
<key>few</key>
|
||||
<string>%ld characters</string>
|
||||
<string>%ld characters left</string>
|
||||
<key>many</key>
|
||||
<string>%ld characters</string>
|
||||
<string>%ld characters left</string>
|
||||
<key>other</key>
|
||||
<string>%ld characters</string>
|
||||
<string>%ld characters left</string>
|
||||
</dict>
|
||||
</dict>
|
||||
<key>plural.count.followed_by_and_mutual</key>
|
||||
|
|
|
@ -1338,9 +1338,9 @@ public enum L10n {
|
|||
public enum A11y {
|
||||
public enum Plural {
|
||||
public enum Count {
|
||||
/// Plural format key: "%#@character_count@ left"
|
||||
/// Plural format key: "%#@character_count@"
|
||||
public static func charactersLeft(_ p1: Int) -> String {
|
||||
return L10n.tr("Localizable", "a11y.plural.count.characters_left", p1, fallback: "Plural format key: \"%#@character_count@ left\"")
|
||||
return L10n.tr("Localizable", "a11y.plural.count.characters_left", p1, fallback: "Plural format key: \"%#@character_count@\"")
|
||||
}
|
||||
/// Plural format key: "Input limit exceeds %#@character_count@"
|
||||
public static func inputLimitExceeds(_ p1: Int) -> String {
|
||||
|
|
|
@ -71,7 +71,7 @@
|
|||
<key>a11y.plural.count.characters_left</key>
|
||||
<dict>
|
||||
<key>NSStringLocalizedFormatKey</key>
|
||||
<string>%#@character_count@ left</string>
|
||||
<string>%#@character_count@</string>
|
||||
<key>character_count</key>
|
||||
<dict>
|
||||
<key>NSStringFormatSpecTypeKey</key>
|
||||
|
@ -79,15 +79,15 @@
|
|||
<key>NSStringFormatValueTypeKey</key>
|
||||
<string>ld</string>
|
||||
<key>zero</key>
|
||||
<string>no characters</string>
|
||||
<string>no characters left</string>
|
||||
<key>one</key>
|
||||
<string>1 character</string>
|
||||
<string>1 character left</string>
|
||||
<key>few</key>
|
||||
<string>%ld characters</string>
|
||||
<string>%ld characters left</string>
|
||||
<key>many</key>
|
||||
<string>%ld characters</string>
|
||||
<string>%ld characters left</string>
|
||||
<key>other</key>
|
||||
<string>%ld characters</string>
|
||||
<string>%ld characters left</string>
|
||||
</dict>
|
||||
</dict>
|
||||
<key>plural.count.followed_by_and_mutual</key>
|
||||
|
|
Loading…
Reference in New Issue