mirror of
https://github.com/mastodon/mastodon-ios.git
synced 2025-02-02 18:36:44 +01:00
Add new strings to Localization folder
This commit is contained in:
parent
022f8c1115
commit
549739b6cb
@ -68,6 +68,26 @@
|
||||
<string>%ld characters</string>
|
||||
</dict>
|
||||
</dict>
|
||||
<key>a11y.plural.count.characters_left</key>
|
||||
<dict>
|
||||
<key>NSStringLocalizedFormatKey</key>
|
||||
<string>%#@character_count@</string>
|
||||
<key>character_count</key>
|
||||
<dict>
|
||||
<key>NSStringFormatSpecTypeKey</key>
|
||||
<string>NSStringPluralRuleType</string>
|
||||
<key>zero</key>
|
||||
<string>no characters left</string>
|
||||
<key>one</key>
|
||||
<string>1 character left</string>
|
||||
<key>few</key>
|
||||
<string>%ld characters left</string>
|
||||
<key>many</key>
|
||||
<string>%ld characters left</string>
|
||||
<key>other</key>
|
||||
<string>%ld characters left</string>
|
||||
</dict>
|
||||
</dict>
|
||||
<key>plural.count.followed_by_and_mutual</key>
|
||||
<dict>
|
||||
<key>NSStringLocalizedFormatKey</key>
|
||||
|
@ -405,7 +405,9 @@
|
||||
"custom_emoji_picker": "Custom Emoji Picker",
|
||||
"enable_content_warning": "Enable Content Warning",
|
||||
"disable_content_warning": "Disable Content Warning",
|
||||
"post_visibility_menu": "Post Visibility Menu"
|
||||
"post_visibility_menu": "Post Visibility Menu",
|
||||
"post_options": "Post Options",
|
||||
"posting_as": "Posting as %s"
|
||||
},
|
||||
"keyboard": {
|
||||
"discard_post": "Discard Post",
|
||||
@ -686,4 +688,4 @@
|
||||
"accessibility_hint": "Double tap to dismiss this wizard"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -87,7 +87,7 @@ struct ComposeContentToolbarView: View {
|
||||
Text("\(remains)")
|
||||
.foregroundColor(Color(isOverflow ? UIColor.systemRed : UIColor.secondaryLabel))
|
||||
.font(.system(size: isOverflow ? 18 : 16, weight: isOverflow ? .medium : .regular))
|
||||
// TODO: i18n
|
||||
// TODO: i18n (a11y.plural.count.characters_left)
|
||||
.accessibilityLabel("\(remains) characters left")
|
||||
}
|
||||
.padding(.leading, 4) // 4 + 12 = 16
|
||||
@ -95,7 +95,7 @@ struct ComposeContentToolbarView: View {
|
||||
.frame(height: ComposeContentToolbarView.toolbarHeight)
|
||||
.background(Color(viewModel.backgroundColor))
|
||||
.accessibilityElement(children: .contain)
|
||||
// TODO: i18n
|
||||
// TODO: i18n (scene.compose.accessibility.post_options)
|
||||
.accessibilityLabel("Post Options")
|
||||
}
|
||||
|
||||
|
@ -148,8 +148,8 @@ extension ComposeContentView {
|
||||
Spacer()
|
||||
}
|
||||
.accessibilityElement(children: .ignore)
|
||||
// TODO: i18n
|
||||
.accessibilityLabel("Posting as \(viewModel.name.string), \(viewModel.username)")
|
||||
// TODO: i18n (scene.compose.accessibility.posting_as)
|
||||
.accessibilityLabel("Posting as \([viewModel.name.string, viewModel.username].joined(separator: ", "))")
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user