Localization update - missing strings in Localizable (#838)

- added missing string for "Official icons"
- added missing string for "Icons by ..."
- added String extension in IconSelectorView.swift
  (maybe you prefer it in separate file)

Co-authored-by: Thomas Ricouard <ricouard77@gmail.com>
This commit is contained in:
Andrzej Rózga 2023-02-14 07:01:34 +01:00 committed by GitHub
parent 63d055fc04
commit 01a45b4a52
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
17 changed files with 43 additions and 5 deletions

View File

@ -44,13 +44,13 @@ struct IconSelectorView: View {
let icons: [Icon]
static let items = [
IconSelector(title: "Official icons", icons: [.primary, .alt1, .alt2, .alt3, .alt4, .alt5, .alt6, .alt7, .alt8,
IconSelector(title:"settings.app.icon.official".localized, icons: [.primary, .alt1, .alt2, .alt3, .alt4, .alt5, .alt6, .alt7, .alt8,
.alt9, .alt10, .alt11, .alt12, .alt13, .alt14,
.alt15, .alt16, .alt17, .alt18, .alt19, .alt25]),
IconSelector(title: "Icons by Albert Kinng", icons: [.alt20, .alt21, .alt22, .alt23, .alt24]),
IconSelector(title: "Icons by Dan van Moll", icons: [.alt26, .alt27, .alt28]),
IconSelector(title: "Icons by @te6-in (GitHub)", icons: [.alt29, .alt30, .alt31, .alt32]),
IconSelector(title: "Icon by W. Kovács Ágnes (@wildgica)", icons: [.alt33]),
IconSelector(title: "\("settings.app.icon.designed-by".localized) Albert Kinng", icons: [.alt20, .alt21, .alt22, .alt23, .alt24]),
IconSelector(title: "\("settings.app.icon.designed-by".localized) Dan van Moll", icons: [.alt26, .alt27, .alt28]),
IconSelector(title: "\("settings.app.icon.designed-by".localized) @te6-in (GitHub)", icons: [.alt29, .alt30, .alt31, .alt32]),
IconSelector(title: "\("settings.app.icon.designed-by".localized) W. Kovács Ágnes (@wildgica)", icons: [.alt33]),
]
}
@ -106,3 +106,9 @@ struct IconSelectorView: View {
}
}
}
extension String {
var localized: String {
return NSLocalizedString(self, comment:"")
}
}

View File

@ -62,6 +62,8 @@
"settings.account.add" = "Afegeix un compte";
"settings.app.icon" = "Icona de l'aplicació";
"settings.app.icon.navigation-title" = "Icones";
"settings.app.icon.official" = "Official icons";
"settings.app.icon.designed-by" = "Icons by";
"settings.app.source" = "Font (enllaç a GitHub)";
"settings.app.support" = "Dona suport a l'aplicació";
"settings.app.about" = "Quant a";

View File

@ -63,6 +63,8 @@
"settings.account.add" = "Account hinzufügen";
"settings.app.icon" = "App-Icon";
"settings.app.icon.navigation-title" = "Icons";
"settings.app.icon.official" = "Official icons";
"settings.app.icon.designed-by" = "Icons by";
"settings.app.source" = "Quellcode (auf GitHub)";
"settings.app.support" = "Unterstütze die App";
"settings.app.about" = "Über Ice Cubes";

View File

@ -63,6 +63,8 @@
"settings.account.add" = "Add account";
"settings.app.icon" = "App Icon";
"settings.app.icon.navigation-title" = "Icons";
"settings.app.icon.official" = "Official icons";
"settings.app.icon.designed-by" = "Icons by";
"settings.app.source" = "Source (GitHub link)";
"settings.app.support" = "Support the app";
"settings.app.about" = "About";

View File

@ -63,6 +63,8 @@
"settings.account.add" = "Add account";
"settings.app.icon" = "App Icon";
"settings.app.icon.navigation-title" = "Icons";
"settings.app.icon.official" = "Official icons";
"settings.app.icon.designed-by" = "Icons by";
"settings.app.source" = "Source (GitHub link)";
"settings.app.support" = "Support the app";
"settings.app.about" = "About";

View File

@ -63,6 +63,8 @@
"settings.account.add" = "Añadir cuenta";
"settings.app.icon" = "Icono de la app";
"settings.app.icon.navigation-title" = "Iconos";
"settings.app.icon.official" = "Official icons";
"settings.app.icon.designed-by" = "Icons by";
"settings.app.source" = "Código fuente (Enlace a GitHub)";
"settings.app.support" = "Apoya a Ice Cubes";
"settings.app.about" = "Acerca de";

View File

@ -63,6 +63,8 @@
"settings.account.add" = "Gehitu kontua";
"settings.app.icon" = "Aplikazioaren ikonoa";
"settings.app.icon.navigation-title" = "Ikonoak";
"settings.app.icon.official" = "Official icons";
"settings.app.icon.designed-by" = "Icons by";
"settings.app.source" = "Iturburu kodea (GitHub)";
"settings.app.support" = "Eman babesa aplikazioari";
"settings.app.about" = "Aplikazio honi buruz";

View File

@ -63,6 +63,8 @@
"settings.account.add" = "Ajouter un compte";
"settings.app.icon" = "Icône de l'application";
"settings.app.icon.navigation-title" = "Icônes";
"settings.app.icon.official" = "Official icons";
"settings.app.icon.designed-by" = "Icons by";
"settings.app.source" = "Source (lien GitHub)";
"settings.app.support" = "Soutenir l'application";
"settings.app.about" = "À propos";

View File

@ -63,6 +63,8 @@
"settings.account.add" = "Aggiungi un account";
"settings.app.icon" = "Icona dell'applicazione";
"settings.app.icon.navigation-title" = "Icone";
"settings.app.icon.official" = "Official icons";
"settings.app.icon.designed-by" = "Icons by";
"settings.app.source" = "Sorgenti (link GitHub)";
"settings.app.support" = "Supporta l'applicazione";
"settings.app.about" = "Informazioni";

View File

@ -63,6 +63,8 @@
"settings.account.add" = "アカウントの追加";
"settings.app.icon" = "アプリアイコン";
"settings.app.icon.navigation-title" = "アイコン";
"settings.app.icon.official" = "Official icons";
"settings.app.icon.designed-by" = "Icons by";
"settings.app.source" = "ソース (GitHub link)";
"settings.app.support" = "アプリを支援する";
"settings.app.about" = "アプリについて";

View File

@ -63,6 +63,8 @@
"settings.account.add" = "계정 추가";
"settings.app.icon" = "앱 아이콘";
"settings.app.icon.navigation-title" = "앱 아이콘";
"settings.app.icon.official" = "Official icons";
"settings.app.icon.designed-by" = "Icons by";
"settings.app.source" = "소스 코드 (GitHub)";
"settings.app.support" = "이 앱 지원하기";
"settings.app.about" = "이 앱에 관해";

View File

@ -63,6 +63,8 @@
"settings.account.add" = "Legg til konto";
"settings.app.icon" = "Appikon";
"settings.app.icon.navigation-title" = "Ikon";
"settings.app.icon.official" = "Official icons";
"settings.app.icon.designed-by" = "Icons by";
"settings.app.source" = "Kilde (GitHub-lenke)";
"settings.app.support" = "Støtt denne appen";
"settings.app.about" = "About";

View File

@ -63,6 +63,8 @@
"settings.account.add" = "Account toevoegen";
"settings.app.icon" = "Appicoon";
"settings.app.icon.navigation-title" = "Iconen";
"settings.app.icon.official" = "Official icons";
"settings.app.icon.designed-by" = "Icons by";
"settings.app.source" = "Broncode (GitHub-link)";
"settings.app.support" = "De app steunen";
"settings.app.about" = "Info";

View File

@ -62,6 +62,8 @@
// MARK: Settings
"settings.account.add" = "Dodaj konto";
"settings.app.icon" = "Ikona aplikacji";
"settings.app.icon.official" = "Official icons";
"settings.app.icon.designed-by" = "Icons by";
"settings.app.icon.navigation-title" = "Ikony";
"settings.app.source" = "Źródło (link do GitHub)";
"settings.app.support" = "Wspieraj aplikację";

View File

@ -63,6 +63,8 @@
"settings.account.add" = "Adicionar conta";
"settings.app.icon" = "Ícone do App";
"settings.app.icon.navigation-title" = "Ícones";
"settings.app.icon.official" = "Official icons";
"settings.app.icon.designed-by" = "Icons by";
"settings.app.source" = "Código fonte (link GitHub)";
"settings.app.support" = "Apoie o app";
"settings.app.about" = "About";

View File

@ -63,6 +63,8 @@
"settings.account.add" = "Hesap Ekle";
"settings.app.icon" = "Uygulama İkonu";
"settings.app.icon.navigation-title" = "İkonlar";
"settings.app.icon.official" = "Official icons";
"settings.app.icon.designed-by" = "Icons by";
"settings.app.source" = "Kaynak Kodu (GitHub link)";
"settings.app.support" = "Uygulamayı Destekleyin";
"settings.app.about" = "About";

View File

@ -63,6 +63,8 @@
"settings.account.add" = "添加账户";
"settings.app.icon" = "应用图标";
"settings.app.icon.navigation-title" = "图标";
"settings.app.icon.official" = "Official icons";
"settings.app.icon.designed-by" = "Icons by";
"settings.app.source" = "源代码GitHub 链接)";
"settings.app.support" = "支持本应用";
"settings.app.about" = "关于";