Add missing localization (#690)
This commit is contained in:
parent
ade95302ca
commit
efafefac48
|
@ -306,6 +306,9 @@
|
|||
"instant": "Instant Sign-up",
|
||||
"manually_reviewed" = "Manual Review"
|
||||
},
|
||||
"language": {
|
||||
"all": "All"
|
||||
},
|
||||
"search": {
|
||||
"placeholder": "Search name or URL"
|
||||
}
|
||||
|
|
|
@ -300,8 +300,7 @@ extension MastodonPickServerViewModel: PickServerCategoryCollectionViewCellDeleg
|
|||
case .language(_):
|
||||
guard allLanguages.value.isNotEmpty else { return }
|
||||
|
||||
//FIXME: @zeitschlag localize
|
||||
let allLanguagesAction = UIAction(title: "All") { _ in
|
||||
let allLanguagesAction = UIAction(title: L10n.Scene.ServerPicker.Language.all) { _ in
|
||||
self.selectedLanguage.value = nil
|
||||
cell.titleLabel.text = L10n.Scene.ServerPicker.Button.language
|
||||
}
|
||||
|
|
|
@ -1276,6 +1276,10 @@ public enum L10n {
|
|||
/// USERS
|
||||
public static let users = L10n.tr("Localizable", "Scene.ServerPicker.Label.Users", fallback: "USERS")
|
||||
}
|
||||
public enum Language {
|
||||
/// All
|
||||
public static let all = L10n.tr("Localizable", "Scene.ServerPicker.Language.All", fallback: "All")
|
||||
}
|
||||
public enum Search {
|
||||
/// Search name or URL
|
||||
public static let placeholder = L10n.tr("Localizable", "Scene.ServerPicker.Search.Placeholder", fallback: "Search name or URL")
|
||||
|
|
|
@ -444,6 +444,7 @@ uploaded to Mastodon.";
|
|||
"Scene.ServerPicker.SignupSpeed.All" = "All";
|
||||
"Scene.ServerPicker.SignupSpeed.Instant" = "Instant Sign-up";
|
||||
"Scene.ServerPicker.SignupSpeed.ManuallyReviewed" = "Manual Review";
|
||||
"Scene.ServerPicker.Language.All" = "All";
|
||||
"Scene.ServerPicker.Search.Placeholder" = "Search name or URL";
|
||||
"Scene.ServerRules.Button.Confirm" = "I Agree";
|
||||
"Scene.ServerRules.PrivacyPolicy" = "privacy policy";
|
||||
|
|
|
@ -437,6 +437,7 @@ uploaded to Mastodon.";
|
|||
"Scene.ServerPicker.SignupSpeed.All" = "All";
|
||||
"Scene.ServerPicker.SignupSpeed.Instant" = "Instant Sign-up";
|
||||
"Scene.ServerPicker.SignupSpeed.ManuallyReviewed" = "Manual Review";
|
||||
"Scene.ServerPicker.Language.All" = "All";
|
||||
"Scene.ServerPicker.Search.Placeholder" = "Search name or URL";
|
||||
"Scene.ServerRules.Button.Confirm" = "I Agree";
|
||||
"Scene.ServerRules.PrivacyPolicy" = "privacy policy";
|
||||
|
|
Loading…
Reference in New Issue