From b52e0a4590a0dbe1e361effdfd76eb2bfb18f848 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mustafa=20Ali=20Akc=CC=A7ak=C4=B1r?= Date: Wed, 28 Feb 2024 18:24:56 +0300 Subject: [PATCH] Add Turkish translation --- README.md | 1 + .../SettingsBundleGenerator+Language.swift | 9 +++++++++ .../Resources/tr.lproj/Localizable.strings | 6 ++++++ 3 files changed, 16 insertions(+) create mode 100644 Sources/SwiftPackageListUI/Resources/tr.lproj/Localizable.strings diff --git a/README.md b/README.md index 48b7af9..5853c99 100644 --- a/README.md +++ b/README.md @@ -257,6 +257,7 @@ The Settings Bundle and the UI-components are currently localized in the followi | Portuguese | pt | | Russian | ru | | Spanish | es | +| Turkish | tr | | Ukrainian | uk | > If a language has mistakes or is missing, feel free to create an issue or open a pull request. diff --git a/Sources/SwiftPackageListCore/Output Generation/SettingsBundle/SettingsBundleGenerator+Language.swift b/Sources/SwiftPackageListCore/Output Generation/SettingsBundle/SettingsBundleGenerator+Language.swift index 53f482b..6747f66 100644 --- a/Sources/SwiftPackageListCore/Output Generation/SettingsBundle/SettingsBundleGenerator+Language.swift +++ b/Sources/SwiftPackageListCore/Output Generation/SettingsBundle/SettingsBundleGenerator+Language.swift @@ -20,6 +20,7 @@ extension SettingsBundleGenerator { case pl case pt case ru + case tr case uk case zhHans = "zh-hans" case zhHant = "zh-hant" @@ -74,6 +75,10 @@ extension SettingsBundleGenerator.Language { return [ .acknowledgements: "Благодарности", ] + case .tr: + return [ + .acknowledgements: "Teşekkürler", + ] case .uk: return [ .acknowledgements: "Подяки", @@ -137,6 +142,10 @@ extension SettingsBundleGenerator.Language { return [ .licenses: "Лицензии", ] + case .tr: + return [ + .licenses: "Lisanslar", + ] case .uk: return [ .licenses: "Ліцензії", diff --git a/Sources/SwiftPackageListUI/Resources/tr.lproj/Localizable.strings b/Sources/SwiftPackageListUI/Resources/tr.lproj/Localizable.strings new file mode 100644 index 0000000..e9ada07 --- /dev/null +++ b/Sources/SwiftPackageListUI/Resources/tr.lproj/Localizable.strings @@ -0,0 +1,6 @@ + +// Navigation bar title of the license list +"acknowledgments.title" = "Teşekkürler"; + +// Section title for the license list +"acknowledgments.section-title" = "Lisanslar";