From fb178dbbde24f5fb09ee9e4188044cb3c80bf028 Mon Sep 17 00:00:00 2001 From: NachoSoto Date: Fri, 25 Aug 2023 10:33:08 -0700 Subject: [PATCH] `Paywalls`: added all localization (#3080) --- RevenueCatUI/Data/Localization.swift | 16 +++---- .../Resources/ar.lproj/Localizable.strings | 16 +++++++ .../Resources/bg.lproj/Localizable.strings | 16 +++++++ .../Resources/ca.lproj/Localizable.strings | 16 +++++++ .../Resources/cs.lproj/Localizable.strings | 16 +++++++ .../Resources/da.lproj/Localizable.strings | 16 +++++++ .../Resources/de.lproj/Localizable.strings | 16 +++++++ .../Resources/el.lproj/Localizable.strings | 16 +++++++ .../Resources/en.lproj/Localizable.strings | 19 ++++---- .../Resources/en_AU.lproj/Localizable.strings | 16 +++++++ .../Resources/en_CA.lproj/Localizable.strings | 16 +++++++ .../Resources/en_GB.lproj/Localizable.strings | 16 +++++++ .../Resources/en_US.lproj/Localizable.strings | 16 +++++++ .../Resources/es.lproj/Localizable.strings | 19 -------- .../es_419.lproj/Localizable.strings | 16 +++++++ .../Resources/es_ES.lproj/Localizable.strings | 16 +++++++ .../Resources/fi.lproj/Localizable.strings | 16 +++++++ .../Resources/fr_CA.lproj/Localizable.strings | 16 +++++++ .../Resources/he.lproj/Localizable.strings | 16 +++++++ .../Resources/hi.lproj/Localizable.strings | 16 +++++++ .../Resources/hr.lproj/Localizable.strings | 16 +++++++ .../Resources/hu.lproj/Localizable.strings | 16 +++++++ .../Resources/id.lproj/Localizable.strings | 16 +++++++ .../Resources/it.lproj/Localizable.strings | 16 +++++++ .../Resources/ja.lproj/Localizable.strings | 16 +++++++ .../Resources/kk.lproj/Localizable.strings | 16 +++++++ .../Resources/ko.lproj/Localizable.strings | 16 +++++++ .../Resources/ms.lproj/Localizable.strings | 16 +++++++ .../Resources/nl.lproj/Localizable.strings | 16 +++++++ .../Resources/no.lproj/Localizable.strings | 16 +++++++ .../Resources/pl.lproj/Localizable.strings | 16 +++++++ .../Resources/pt_BR.lproj/Localizable.strings | 16 +++++++ .../Resources/pt_PT.lproj/Localizable.strings | 16 +++++++ .../Resources/ro.lproj/Localizable.strings | 16 +++++++ .../Resources/ru.lproj/Localizable.strings | 16 +++++++ .../Resources/sk.lproj/Localizable.strings | 16 +++++++ .../Resources/sv.lproj/Localizable.strings | 16 +++++++ .../Resources/th.lproj/Localizable.strings | 16 +++++++ .../Resources/tr.lproj/Localizable.strings | 16 +++++++ .../Resources/uk.lproj/Localizable.strings | 16 +++++++ .../Resources/vi.lproj/Localizable.strings | 16 +++++++ .../zh-Hans.lproj/Localizable.strings | 16 +++++++ .../Resources/zh_HK.lproj/Localizable.strings | 16 +++++++ .../Resources/zh_TW.lproj/Localizable.strings | 16 +++++++ RevenueCatUI/Views/FooterView.swift | 2 +- .../Data/PackageVariablesTests.swift | 4 +- .../RevenueCatUITests/LocalizationTests.swift | 44 ++++++++++++++----- .../SimpleApp.xcodeproj/project.pbxproj | 6 +++ .../SimpleApp/de.lproj/Localizable.strings | 1 + .../SimpleApp/fr.lproj/Localizable.strings | 1 + 50 files changed, 716 insertions(+), 52 deletions(-) create mode 100644 RevenueCatUI/Resources/ar.lproj/Localizable.strings create mode 100644 RevenueCatUI/Resources/bg.lproj/Localizable.strings create mode 100644 RevenueCatUI/Resources/ca.lproj/Localizable.strings create mode 100644 RevenueCatUI/Resources/cs.lproj/Localizable.strings create mode 100644 RevenueCatUI/Resources/da.lproj/Localizable.strings create mode 100644 RevenueCatUI/Resources/de.lproj/Localizable.strings create mode 100644 RevenueCatUI/Resources/el.lproj/Localizable.strings create mode 100644 RevenueCatUI/Resources/en_AU.lproj/Localizable.strings create mode 100644 RevenueCatUI/Resources/en_CA.lproj/Localizable.strings create mode 100644 RevenueCatUI/Resources/en_GB.lproj/Localizable.strings create mode 100644 RevenueCatUI/Resources/en_US.lproj/Localizable.strings delete mode 100644 RevenueCatUI/Resources/es.lproj/Localizable.strings create mode 100644 RevenueCatUI/Resources/es_419.lproj/Localizable.strings create mode 100644 RevenueCatUI/Resources/es_ES.lproj/Localizable.strings create mode 100644 RevenueCatUI/Resources/fi.lproj/Localizable.strings create mode 100644 RevenueCatUI/Resources/fr_CA.lproj/Localizable.strings create mode 100644 RevenueCatUI/Resources/he.lproj/Localizable.strings create mode 100644 RevenueCatUI/Resources/hi.lproj/Localizable.strings create mode 100644 RevenueCatUI/Resources/hr.lproj/Localizable.strings create mode 100644 RevenueCatUI/Resources/hu.lproj/Localizable.strings create mode 100644 RevenueCatUI/Resources/id.lproj/Localizable.strings create mode 100644 RevenueCatUI/Resources/it.lproj/Localizable.strings create mode 100644 RevenueCatUI/Resources/ja.lproj/Localizable.strings create mode 100644 RevenueCatUI/Resources/kk.lproj/Localizable.strings create mode 100644 RevenueCatUI/Resources/ko.lproj/Localizable.strings create mode 100644 RevenueCatUI/Resources/ms.lproj/Localizable.strings create mode 100644 RevenueCatUI/Resources/nl.lproj/Localizable.strings create mode 100644 RevenueCatUI/Resources/no.lproj/Localizable.strings create mode 100644 RevenueCatUI/Resources/pl.lproj/Localizable.strings create mode 100644 RevenueCatUI/Resources/pt_BR.lproj/Localizable.strings create mode 100644 RevenueCatUI/Resources/pt_PT.lproj/Localizable.strings create mode 100644 RevenueCatUI/Resources/ro.lproj/Localizable.strings create mode 100644 RevenueCatUI/Resources/ru.lproj/Localizable.strings create mode 100644 RevenueCatUI/Resources/sk.lproj/Localizable.strings create mode 100644 RevenueCatUI/Resources/sv.lproj/Localizable.strings create mode 100644 RevenueCatUI/Resources/th.lproj/Localizable.strings create mode 100644 RevenueCatUI/Resources/tr.lproj/Localizable.strings create mode 100644 RevenueCatUI/Resources/uk.lproj/Localizable.strings create mode 100644 RevenueCatUI/Resources/vi.lproj/Localizable.strings create mode 100644 RevenueCatUI/Resources/zh-Hans.lproj/Localizable.strings create mode 100644 RevenueCatUI/Resources/zh_HK.lproj/Localizable.strings create mode 100644 RevenueCatUI/Resources/zh_TW.lproj/Localizable.strings create mode 100644 Tests/TestingApps/SimpleApp/SimpleApp/de.lproj/Localizable.strings create mode 100644 Tests/TestingApps/SimpleApp/SimpleApp/fr.lproj/Localizable.strings diff --git a/RevenueCatUI/Data/Localization.swift b/RevenueCatUI/Data/Localization.swift index f865faaca0..9c5940e2b3 100644 --- a/RevenueCatUI/Data/Localization.swift +++ b/RevenueCatUI/Data/Localization.swift @@ -227,16 +227,14 @@ private extension SubscriptionPeriod { private extension PackageType { var localizationKey: String? { - let keyPrefix = "PackageType." - switch self { - case .annual: return "\(keyPrefix)annual" - case .sixMonth: return "\(keyPrefix)sixMonth" - case .threeMonth: return "\(keyPrefix)threeMonth" - case .twoMonth: return "\(keyPrefix)twoMonth" - case .monthly: return "\(keyPrefix)monthly" - case .weekly: return "\(keyPrefix)weekly" - case .lifetime: return "\(keyPrefix)lifetime" + case .annual: return "Annual" + case .sixMonth: return "6 Month" + case .threeMonth: return "3 Month" + case .twoMonth: return "2 Month" + case .monthly: return "Monthly" + case .weekly: return "Weekly" + case .lifetime: return "Lifetime" case .unknown, .custom: return nil diff --git a/RevenueCatUI/Resources/ar.lproj/Localizable.strings b/RevenueCatUI/Resources/ar.lproj/Localizable.strings new file mode 100644 index 0000000000..d96f5f63d2 --- /dev/null +++ b/RevenueCatUI/Resources/ar.lproj/Localizable.strings @@ -0,0 +1,16 @@ +"OK" = "نعم"; +"All subscriptions" = "كل الاشتراكات"; +"Privacy" = "خصوصية"; +"Privacy policy" = "سياسة الخصوصية"; +"Purchases restored successfully!" = "تمت استعادة المشتريات بنجاح!"; +"Restore" = "يعيد"; +"Restore purchases" = "استعادة المشتريات"; +"Terms" = "شروط"; +"Terms and conditions" = "الأحكام والشروط"; +"Annual" = "سنوي"; +"6 Month" = "6 شهور"; +"3 Month" = "3 أشهر"; +"2 Month" = "2 شهر"; +"Monthly" = "شهريا"; +"Weekly" = "أسبوعي"; +"Lifetime" = "حياة"; diff --git a/RevenueCatUI/Resources/bg.lproj/Localizable.strings b/RevenueCatUI/Resources/bg.lproj/Localizable.strings new file mode 100644 index 0000000000..0ff7b0da84 --- /dev/null +++ b/RevenueCatUI/Resources/bg.lproj/Localizable.strings @@ -0,0 +1,16 @@ +"OK" = "Добре"; +"All subscriptions" = "Всички абонаменти"; +"Privacy" = "поверителност"; +"Privacy policy" = "Политика за поверителност"; +"Purchases restored successfully!" = "Покупките са възстановени успешно!"; +"Restore" = "Възстанови"; +"Restore purchases" = "Възстановяване на покупките"; +"Terms" = "Условия"; +"Terms and conditions" = "Правила и условия"; +"Annual" = "Годишен"; +"6 Month" = "6 месеца"; +"3 Month" = "3 месеца"; +"2 Month" = "2 месеца"; +"Monthly" = "Месечно"; +"Weekly" = "Ежеседмично"; +"Lifetime" = "Живот"; diff --git a/RevenueCatUI/Resources/ca.lproj/Localizable.strings b/RevenueCatUI/Resources/ca.lproj/Localizable.strings new file mode 100644 index 0000000000..d57658cc4d --- /dev/null +++ b/RevenueCatUI/Resources/ca.lproj/Localizable.strings @@ -0,0 +1,16 @@ +"OK" = "D'acord"; +"All subscriptions" = "Totes les subscripcions"; +"Privacy" = "Privadesa"; +"Privacy policy" = "Política de privacitat"; +"Purchases restored successfully!" = "Compres restaurades amb èxit!"; +"Restore" = "Restaurar"; +"Restore purchases" = "Restaurar les compres"; +"Terms" = "Termes"; +"Terms and conditions" = "Termes i condicions"; +"Annual" = "Anual"; +"6 Month" = "6 mesos"; +"3 Month" = "3 mesos"; +"2 Month" = "2 mesos"; +"Monthly" = "Mensual"; +"Weekly" = "Setmanalment"; +"Lifetime" = "Tota una vida"; diff --git a/RevenueCatUI/Resources/cs.lproj/Localizable.strings b/RevenueCatUI/Resources/cs.lproj/Localizable.strings new file mode 100644 index 0000000000..06161f6334 --- /dev/null +++ b/RevenueCatUI/Resources/cs.lproj/Localizable.strings @@ -0,0 +1,16 @@ +"OK" = "OK"; +"All subscriptions" = "Všechna předplatná"; +"Privacy" = "Soukromí"; +"Privacy policy" = "Zásady ochrany osobních údajů"; +"Purchases restored successfully!" = "Nákupy byly úspěšně obnoveny!"; +"Restore" = "Obnovit"; +"Restore purchases" = "Obnovit nákupy"; +"Terms" = "Podmínky"; +"Terms and conditions" = "Pravidla a podmínky"; +"Annual" = "Roční"; +"6 Month" = "6 měsíců"; +"3 Month" = "3 měsíce"; +"2 Month" = "2 měsíce"; +"Monthly" = "Měsíční"; +"Weekly" = "Týdně"; +"Lifetime" = "Život"; diff --git a/RevenueCatUI/Resources/da.lproj/Localizable.strings b/RevenueCatUI/Resources/da.lproj/Localizable.strings new file mode 100644 index 0000000000..e071f8a85b --- /dev/null +++ b/RevenueCatUI/Resources/da.lproj/Localizable.strings @@ -0,0 +1,16 @@ +"OK" = "Okay"; +"All subscriptions" = "Alle abonnementer"; +"Privacy" = "Privatliv"; +"Privacy policy" = "Fortrolighedspolitik"; +"Purchases restored successfully!" = "Køb blev genoprettet!"; +"Restore" = "Gendan"; +"Restore purchases" = "Genoprette indkøb"; +"Terms" = "Betingelser"; +"Terms and conditions" = "Vilkår og betingelser"; +"Annual" = "Årligt"; +"6 Month" = "6 måneder"; +"3 Month" = "3 måneder"; +"2 Month" = "2 måneder"; +"Monthly" = "Månedlige"; +"Weekly" = "Ugentlig"; +"Lifetime" = "Livstid"; diff --git a/RevenueCatUI/Resources/de.lproj/Localizable.strings b/RevenueCatUI/Resources/de.lproj/Localizable.strings new file mode 100644 index 0000000000..1b1c34e29e --- /dev/null +++ b/RevenueCatUI/Resources/de.lproj/Localizable.strings @@ -0,0 +1,16 @@ +"OK" = "OK"; +"All subscriptions" = "Alle Abonnements"; +"Privacy" = "Privatsphäre"; +"Privacy policy" = "Datenschutzrichtlinie"; +"Purchases restored successfully!" = "Einkäufe erfolgreich wiederhergestellt!"; +"Restore" = "Wiederherstellen"; +"Restore purchases" = "Einkäufe wiederherstellen"; +"Terms" = "Bedingungen"; +"Terms and conditions" = "Geschäftsbedingungen"; +"Annual" = "Jährlich"; +"6 Month" = "6 Monate"; +"3 Month" = "3 Monate"; +"2 Month" = "2 Monate"; +"Monthly" = "Monatlich"; +"Weekly" = "Wöchentlich"; +"Lifetime" = "Lebensdauer"; diff --git a/RevenueCatUI/Resources/el.lproj/Localizable.strings b/RevenueCatUI/Resources/el.lproj/Localizable.strings new file mode 100644 index 0000000000..97c6b050ce --- /dev/null +++ b/RevenueCatUI/Resources/el.lproj/Localizable.strings @@ -0,0 +1,16 @@ +"OK" = "Εντάξει"; +"All subscriptions" = "Όλες οι συνδρομές"; +"Privacy" = "Μυστικότητα"; +"Privacy policy" = "Πολιτική απορρήτου"; +"Purchases restored successfully!" = "Οι αγορές αποκαταστάθηκαν με επιτυχία!"; +"Restore" = "Επαναφέρω"; +"Restore purchases" = "Επαναφορά αγορών"; +"Terms" = "Οροι"; +"Terms and conditions" = "Οροι και Προϋποθέσεις"; +"Annual" = "Ετήσιο"; +"6 Month" = "6 μήνες"; +"3 Month" = "3 μήνες"; +"2 Month" = "2 μηνών"; +"Monthly" = "Μηνιαίο"; +"Weekly" = "Εβδομαδιαίος"; +"Lifetime" = "Διάρκεια Ζωής"; diff --git a/RevenueCatUI/Resources/en.lproj/Localizable.strings b/RevenueCatUI/Resources/en.lproj/Localizable.strings index e4bcc20944..88631ea105 100644 --- a/RevenueCatUI/Resources/en.lproj/Localizable.strings +++ b/RevenueCatUI/Resources/en.lproj/Localizable.strings @@ -1,5 +1,5 @@ "OK" = "OK"; -"All plans" = "All plans"; +"All subscriptions" = "All plans"; "Privacy" = "Privacy"; "Privacy policy" = "Privacy policy"; "Purchases restored successfully!" = "Purchases restored successfully!"; @@ -7,13 +7,10 @@ "Restore purchases" = "Restore purchases"; "Terms" = "Terms"; "Terms and conditions" = "Terms and conditions"; - -"PackageType.annual" = "Annual"; -"PackageType.sixMonth" = "6 month"; -"PackageType.threeMonth" = "3 month"; -"PackageType.twoMonth" = "2 month"; -"PackageType.monthly" = "Monthly"; -"PackageType.weekly" = "Weekly"; -"PackageType.lifetime" = "Lifetime"; - -"%d%% off" = "%d%% off"; +"Annual" = "Annual"; +"6 Month" = "6 Month"; +"3 Month" = "3 Month"; +"2 Month" = "2 Month"; +"Monthly" = "Monthly"; +"Weekly" = "Weekly"; +"Lifetime" = "Lifetime"; diff --git a/RevenueCatUI/Resources/en_AU.lproj/Localizable.strings b/RevenueCatUI/Resources/en_AU.lproj/Localizable.strings new file mode 100644 index 0000000000..88631ea105 --- /dev/null +++ b/RevenueCatUI/Resources/en_AU.lproj/Localizable.strings @@ -0,0 +1,16 @@ +"OK" = "OK"; +"All subscriptions" = "All plans"; +"Privacy" = "Privacy"; +"Privacy policy" = "Privacy policy"; +"Purchases restored successfully!" = "Purchases restored successfully!"; +"Restore" = "Restore"; +"Restore purchases" = "Restore purchases"; +"Terms" = "Terms"; +"Terms and conditions" = "Terms and conditions"; +"Annual" = "Annual"; +"6 Month" = "6 Month"; +"3 Month" = "3 Month"; +"2 Month" = "2 Month"; +"Monthly" = "Monthly"; +"Weekly" = "Weekly"; +"Lifetime" = "Lifetime"; diff --git a/RevenueCatUI/Resources/en_CA.lproj/Localizable.strings b/RevenueCatUI/Resources/en_CA.lproj/Localizable.strings new file mode 100644 index 0000000000..88631ea105 --- /dev/null +++ b/RevenueCatUI/Resources/en_CA.lproj/Localizable.strings @@ -0,0 +1,16 @@ +"OK" = "OK"; +"All subscriptions" = "All plans"; +"Privacy" = "Privacy"; +"Privacy policy" = "Privacy policy"; +"Purchases restored successfully!" = "Purchases restored successfully!"; +"Restore" = "Restore"; +"Restore purchases" = "Restore purchases"; +"Terms" = "Terms"; +"Terms and conditions" = "Terms and conditions"; +"Annual" = "Annual"; +"6 Month" = "6 Month"; +"3 Month" = "3 Month"; +"2 Month" = "2 Month"; +"Monthly" = "Monthly"; +"Weekly" = "Weekly"; +"Lifetime" = "Lifetime"; diff --git a/RevenueCatUI/Resources/en_GB.lproj/Localizable.strings b/RevenueCatUI/Resources/en_GB.lproj/Localizable.strings new file mode 100644 index 0000000000..88631ea105 --- /dev/null +++ b/RevenueCatUI/Resources/en_GB.lproj/Localizable.strings @@ -0,0 +1,16 @@ +"OK" = "OK"; +"All subscriptions" = "All plans"; +"Privacy" = "Privacy"; +"Privacy policy" = "Privacy policy"; +"Purchases restored successfully!" = "Purchases restored successfully!"; +"Restore" = "Restore"; +"Restore purchases" = "Restore purchases"; +"Terms" = "Terms"; +"Terms and conditions" = "Terms and conditions"; +"Annual" = "Annual"; +"6 Month" = "6 Month"; +"3 Month" = "3 Month"; +"2 Month" = "2 Month"; +"Monthly" = "Monthly"; +"Weekly" = "Weekly"; +"Lifetime" = "Lifetime"; diff --git a/RevenueCatUI/Resources/en_US.lproj/Localizable.strings b/RevenueCatUI/Resources/en_US.lproj/Localizable.strings new file mode 100644 index 0000000000..88631ea105 --- /dev/null +++ b/RevenueCatUI/Resources/en_US.lproj/Localizable.strings @@ -0,0 +1,16 @@ +"OK" = "OK"; +"All subscriptions" = "All plans"; +"Privacy" = "Privacy"; +"Privacy policy" = "Privacy policy"; +"Purchases restored successfully!" = "Purchases restored successfully!"; +"Restore" = "Restore"; +"Restore purchases" = "Restore purchases"; +"Terms" = "Terms"; +"Terms and conditions" = "Terms and conditions"; +"Annual" = "Annual"; +"6 Month" = "6 Month"; +"3 Month" = "3 Month"; +"2 Month" = "2 Month"; +"Monthly" = "Monthly"; +"Weekly" = "Weekly"; +"Lifetime" = "Lifetime"; diff --git a/RevenueCatUI/Resources/es.lproj/Localizable.strings b/RevenueCatUI/Resources/es.lproj/Localizable.strings deleted file mode 100644 index 7989dfb65e..0000000000 --- a/RevenueCatUI/Resources/es.lproj/Localizable.strings +++ /dev/null @@ -1,19 +0,0 @@ -"OK" = "OK"; -"All plans" = "Planes"; -"Privacy" = "Privacidad"; -"Privacy policy" = "Política de privacidad"; -"Purchases restored successfully!" = "Compras restauradas!"; -"Restore" = "Restaurar"; -"Restore purchases" = "Restaurar Compras"; -"Terms" = "Términos"; -"Terms and conditions" = "Términos y condiciones"; - -"PackageType.annual" = "Anual"; -"PackageType.sixMonth" = "6 meses"; -"PackageType.threeMonth" = "3 meses"; -"PackageType.twoMonth" = "2 meses"; -"PackageType.monthly" = "Mensual"; -"PackageType.weekly" = "Semanal"; -"PackageType.lifetime" = "Vitalicio"; - -"%d%% off" = "Ahorra %d%%"; diff --git a/RevenueCatUI/Resources/es_419.lproj/Localizable.strings b/RevenueCatUI/Resources/es_419.lproj/Localizable.strings new file mode 100644 index 0000000000..df4a30fbc8 --- /dev/null +++ b/RevenueCatUI/Resources/es_419.lproj/Localizable.strings @@ -0,0 +1,16 @@ +"OK" = "DE ACUERDO"; +"All subscriptions" = "Todas las suscripciones"; +"Privacy" = "Privacidad"; +"Privacy policy" = "Política de privacidad"; +"Purchases restored successfully!" = "¡Compras restauradas con éxito!"; +"Restore" = "Restaurar"; +"Restore purchases" = "Restaurar las compras"; +"Terms" = "Términos"; +"Terms and conditions" = "Términos y condiciones"; +"Annual" = "Anual"; +"6 Month" = "6 meses"; +"3 Month" = "3 meses"; +"2 Month" = "2 meses"; +"Monthly" = "Mensual"; +"Weekly" = "Semanalmente"; +"Lifetime" = "Toda la vida"; diff --git a/RevenueCatUI/Resources/es_ES.lproj/Localizable.strings b/RevenueCatUI/Resources/es_ES.lproj/Localizable.strings new file mode 100644 index 0000000000..df4a30fbc8 --- /dev/null +++ b/RevenueCatUI/Resources/es_ES.lproj/Localizable.strings @@ -0,0 +1,16 @@ +"OK" = "DE ACUERDO"; +"All subscriptions" = "Todas las suscripciones"; +"Privacy" = "Privacidad"; +"Privacy policy" = "Política de privacidad"; +"Purchases restored successfully!" = "¡Compras restauradas con éxito!"; +"Restore" = "Restaurar"; +"Restore purchases" = "Restaurar las compras"; +"Terms" = "Términos"; +"Terms and conditions" = "Términos y condiciones"; +"Annual" = "Anual"; +"6 Month" = "6 meses"; +"3 Month" = "3 meses"; +"2 Month" = "2 meses"; +"Monthly" = "Mensual"; +"Weekly" = "Semanalmente"; +"Lifetime" = "Toda la vida"; diff --git a/RevenueCatUI/Resources/fi.lproj/Localizable.strings b/RevenueCatUI/Resources/fi.lproj/Localizable.strings new file mode 100644 index 0000000000..db9284c69c --- /dev/null +++ b/RevenueCatUI/Resources/fi.lproj/Localizable.strings @@ -0,0 +1,16 @@ +"OK" = "OK"; +"All subscriptions" = "Kaikki tilaukset"; +"Privacy" = "Yksityisyys"; +"Privacy policy" = "Tietosuojakäytäntö"; +"Purchases restored successfully!" = "Ostokset palautettu onnistuneesti!"; +"Restore" = "Palauttaa"; +"Restore purchases" = "Palauttaa ostot"; +"Terms" = "Ehdot"; +"Terms and conditions" = "Käyttöehdot"; +"Annual" = "Vuosittainen"; +"6 Month" = "6 kuukautta"; +"3 Month" = "3 kuukautta"; +"2 Month" = "2 kuukautta"; +"Monthly" = "Kuukausittain"; +"Weekly" = "Viikoittain"; +"Lifetime" = "Elinikä"; diff --git a/RevenueCatUI/Resources/fr_CA.lproj/Localizable.strings b/RevenueCatUI/Resources/fr_CA.lproj/Localizable.strings new file mode 100644 index 0000000000..a762b19b59 --- /dev/null +++ b/RevenueCatUI/Resources/fr_CA.lproj/Localizable.strings @@ -0,0 +1,16 @@ +"OK" = "D'ACCORD"; +"All subscriptions" = "Tous les abonnements"; +"Privacy" = "Confidentialité"; +"Privacy policy" = "Politique de confidentialité"; +"Purchases restored successfully!" = "Achats restaurés avec succès !"; +"Restore" = "Restaurer"; +"Restore purchases" = "Restaurer les achats"; +"Terms" = "Termes"; +"Terms and conditions" = "Termes et conditions"; +"Annual" = "Annuel"; +"6 Month" = "6 mois"; +"3 Month" = "3 mois"; +"2 Month" = "2 mois"; +"Monthly" = "Mensuel"; +"Weekly" = "Hebdomadaire"; +"Lifetime" = "Durée de vie"; diff --git a/RevenueCatUI/Resources/he.lproj/Localizable.strings b/RevenueCatUI/Resources/he.lproj/Localizable.strings new file mode 100644 index 0000000000..bb6e6d014a --- /dev/null +++ b/RevenueCatUI/Resources/he.lproj/Localizable.strings @@ -0,0 +1,16 @@ +"OK" = "בסדר"; +"All subscriptions" = "כל המנויים"; +"Privacy" = "פְּרָטִיוּת"; +"Privacy policy" = "מדיניות הפרטיות"; +"Purchases restored successfully!" = "רכישות שוחזרו בהצלחה!"; +"Restore" = "לשחזר"; +"Restore purchases" = "לשחזר רכישות"; +"Terms" = "תנאים"; +"Terms and conditions" = "תנאים"; +"Annual" = "שנתי"; +"6 Month" = "6 חודשים"; +"3 Month" = "3 חודשים"; +"2 Month" = "חודש 2"; +"Monthly" = "יַרחוֹן"; +"Weekly" = "שְׁבוּעִי"; +"Lifetime" = "לכל החיים"; diff --git a/RevenueCatUI/Resources/hi.lproj/Localizable.strings b/RevenueCatUI/Resources/hi.lproj/Localizable.strings new file mode 100644 index 0000000000..9264a75e11 --- /dev/null +++ b/RevenueCatUI/Resources/hi.lproj/Localizable.strings @@ -0,0 +1,16 @@ +"OK" = "ठीक है"; +"All subscriptions" = "सभी सदस्यताएँ"; +"Privacy" = "गोपनीयता"; +"Privacy policy" = "गोपनीयता नीति"; +"Purchases restored successfully!" = "खरीदारी सफलतापूर्वक बहाल हो गई!"; +"Restore" = "पुनर्स्थापित करना"; +"Restore purchases" = "खरीदारी वापस लौटाएं"; +"Terms" = "शर्तें"; +"Terms and conditions" = "नियम और शर्तें"; +"Annual" = "वार्षिक"; +"6 Month" = "6 माह"; +"3 Month" = "तीन माह"; +"2 Month" = "2 माह"; +"Monthly" = "महीने के"; +"Weekly" = "साप्ताहिक"; +"Lifetime" = "जीवनभर"; diff --git a/RevenueCatUI/Resources/hr.lproj/Localizable.strings b/RevenueCatUI/Resources/hr.lproj/Localizable.strings new file mode 100644 index 0000000000..d6df4f9372 --- /dev/null +++ b/RevenueCatUI/Resources/hr.lproj/Localizable.strings @@ -0,0 +1,16 @@ +"OK" = "u redu"; +"All subscriptions" = "Sve pretplate"; +"Privacy" = "Privatnost"; +"Privacy policy" = "Politika privatnosti"; +"Purchases restored successfully!" = "Kupnje su uspješno vraćene!"; +"Restore" = "Vratiti"; +"Restore purchases" = "Vratite kupnje"; +"Terms" = "Pojmovi"; +"Terms and conditions" = "Odredbe i uvjeti"; +"Annual" = "Godišnji"; +"6 Month" = "6 mjeseci"; +"3 Month" = "3 mjeseca"; +"2 Month" = "2 mjeseca"; +"Monthly" = "Mjesečno"; +"Weekly" = "Tjedni"; +"Lifetime" = "Doživotno"; diff --git a/RevenueCatUI/Resources/hu.lproj/Localizable.strings b/RevenueCatUI/Resources/hu.lproj/Localizable.strings new file mode 100644 index 0000000000..716582c837 --- /dev/null +++ b/RevenueCatUI/Resources/hu.lproj/Localizable.strings @@ -0,0 +1,16 @@ +"OK" = "rendben"; +"All subscriptions" = "Minden előfizetés"; +"Privacy" = "Magánélet"; +"Privacy policy" = "Adatvédelmi irányelvek"; +"Purchases restored successfully!" = "A vásárlások visszaállítása sikeresen megtörtént!"; +"Restore" = "visszaállítás"; +"Restore purchases" = "Vásárlás visszaállítása"; +"Terms" = "Feltételek"; +"Terms and conditions" = "Felhasználási feltételek"; +"Annual" = "Évi"; +"6 Month" = "6 hónap"; +"3 Month" = "3 hónap"; +"2 Month" = "2 hónap"; +"Monthly" = "Havi"; +"Weekly" = "Heti"; +"Lifetime" = "Élettartam"; diff --git a/RevenueCatUI/Resources/id.lproj/Localizable.strings b/RevenueCatUI/Resources/id.lproj/Localizable.strings new file mode 100644 index 0000000000..035c3d0751 --- /dev/null +++ b/RevenueCatUI/Resources/id.lproj/Localizable.strings @@ -0,0 +1,16 @@ +"OK" = "OKE"; +"All subscriptions" = "Semua langganan"; +"Privacy" = "Pribadi"; +"Privacy policy" = "Kebijakan pribadi"; +"Purchases restored successfully!" = "Pembelian berhasil dipulihkan!"; +"Restore" = "Memulihkan"; +"Restore purchases" = "Mengembalikan pembelian"; +"Terms" = "Ketentuan"; +"Terms and conditions" = "Syarat dan Ketentuan"; +"Annual" = "Tahunan"; +"6 Month" = "6 bulan"; +"3 Month" = "3 bulan"; +"2 Month" = "2 Bulan"; +"Monthly" = "Bulanan"; +"Weekly" = "Mingguan"; +"Lifetime" = "Seumur hidup"; diff --git a/RevenueCatUI/Resources/it.lproj/Localizable.strings b/RevenueCatUI/Resources/it.lproj/Localizable.strings new file mode 100644 index 0000000000..8a7a729651 --- /dev/null +++ b/RevenueCatUI/Resources/it.lproj/Localizable.strings @@ -0,0 +1,16 @@ +"OK" = "OK"; +"All subscriptions" = "Tutti gli abbonamenti"; +"Privacy" = "Riservatezza"; +"Privacy policy" = "Politica sulla riservatezza"; +"Purchases restored successfully!" = "Acquisti ripristinati con successo!"; +"Restore" = "Ristabilire"; +"Restore purchases" = "Ripristinare gli acquisti"; +"Terms" = "Termini"; +"Terms and conditions" = "Termini e Condizioni"; +"Annual" = "Annuale"; +"6 Month" = "6 mesi"; +"3 Month" = "3 mesi"; +"2 Month" = "2 mesi"; +"Monthly" = "Mensile"; +"Weekly" = "settimanalmente"; +"Lifetime" = "Tutta la vita"; diff --git a/RevenueCatUI/Resources/ja.lproj/Localizable.strings b/RevenueCatUI/Resources/ja.lproj/Localizable.strings new file mode 100644 index 0000000000..301f4dc3d2 --- /dev/null +++ b/RevenueCatUI/Resources/ja.lproj/Localizable.strings @@ -0,0 +1,16 @@ +"OK" = "わかりました"; +"All subscriptions" = "すべてのサブスクリプション"; +"Privacy" = "プライバシー"; +"Privacy policy" = "プライバシーポリシー"; +"Purchases restored successfully!" = "購入は正常に復元されました。"; +"Restore" = "復元する"; +"Restore purchases" = "購入を復元"; +"Terms" = "条項"; +"Terms and conditions" = "利用規約"; +"Annual" = "年間"; +"6 Month" = "6ヶ月"; +"3 Month" = "3ヶ月"; +"2 Month" = "2ヶ月"; +"Monthly" = "毎月"; +"Weekly" = "毎週"; +"Lifetime" = "一生"; diff --git a/RevenueCatUI/Resources/kk.lproj/Localizable.strings b/RevenueCatUI/Resources/kk.lproj/Localizable.strings new file mode 100644 index 0000000000..040db62702 --- /dev/null +++ b/RevenueCatUI/Resources/kk.lproj/Localizable.strings @@ -0,0 +1,16 @@ +"OK" = "ЖАРАЙДЫ МА"; +"All subscriptions" = "Барлық жазылымдар"; +"Privacy" = "Құпиялық"; +"Privacy policy" = "Құпиялылық саясаты"; +"Purchases restored successfully!" = "Сатып алулар сәтті қалпына келтірілді!"; +"Restore" = "Қалпына келтіру"; +"Restore purchases" = "Сатып алуларды қалпына келтіріңіз"; +"Terms" = "Шарттар"; +"Terms and conditions" = "Ережелер мен шарттар"; +"Annual" = "Жылдық"; +"6 Month" = "6 ай"; +"3 Month" = "3 ай"; +"2 Month" = "2 ай"; +"Monthly" = "Ай сайын"; +"Weekly" = "Апта сайын"; +"Lifetime" = "Өмір кезеңі"; diff --git a/RevenueCatUI/Resources/ko.lproj/Localizable.strings b/RevenueCatUI/Resources/ko.lproj/Localizable.strings new file mode 100644 index 0000000000..1e16ac29b7 --- /dev/null +++ b/RevenueCatUI/Resources/ko.lproj/Localizable.strings @@ -0,0 +1,16 @@ +"OK" = "좋아요"; +"All subscriptions" = "모든 구독"; +"Privacy" = "은둔"; +"Privacy policy" = "개인 정보 정책"; +"Purchases restored successfully!" = "구매가 성공적으로 복원되었습니다!"; +"Restore" = "복원하다"; +"Restore purchases" = "구매를 복원"; +"Terms" = "자귀"; +"Terms and conditions" = "이용약관"; +"Annual" = "연간"; +"6 Month" = "6개월"; +"3 Month" = "3 개월"; +"2 Month" = "2 개월"; +"Monthly" = "월간 간행물"; +"Weekly" = "주간"; +"Lifetime" = "일생"; diff --git a/RevenueCatUI/Resources/ms.lproj/Localizable.strings b/RevenueCatUI/Resources/ms.lproj/Localizable.strings new file mode 100644 index 0000000000..0c3b39941d --- /dev/null +++ b/RevenueCatUI/Resources/ms.lproj/Localizable.strings @@ -0,0 +1,16 @@ +"OK" = "okey"; +"All subscriptions" = "Semua langganan"; +"Privacy" = "Privasi"; +"Privacy policy" = "Dasar privasi"; +"Purchases restored successfully!" = "Pembelian berjaya dipulihkan!"; +"Restore" = "Pulihkan"; +"Restore purchases" = "Pulihkan pembelian"; +"Terms" = "Syarat"; +"Terms and conditions" = "Terma dan syarat"; +"Annual" = "tahunan"; +"6 Month" = "6 Bulan"; +"3 Month" = "3 bulan"; +"2 Month" = "2 bulan"; +"Monthly" = "Bulanan"; +"Weekly" = "Setiap minggu"; +"Lifetime" = "Seumur hidup"; diff --git a/RevenueCatUI/Resources/nl.lproj/Localizable.strings b/RevenueCatUI/Resources/nl.lproj/Localizable.strings new file mode 100644 index 0000000000..b252bd77b6 --- /dev/null +++ b/RevenueCatUI/Resources/nl.lproj/Localizable.strings @@ -0,0 +1,16 @@ +"OK" = "OK"; +"All subscriptions" = "Alle abonnementen"; +"Privacy" = "Privacy"; +"Privacy policy" = "Privacybeleid"; +"Purchases restored successfully!" = "Aankopen succesvol hersteld!"; +"Restore" = "Herstellen"; +"Restore purchases" = "Herstel aankopen"; +"Terms" = "Voorwaarden"; +"Terms and conditions" = "Voorwaarden"; +"Annual" = "Jaarlijks"; +"6 Month" = "6 maanden"; +"3 Month" = "3 maanden"; +"2 Month" = "2 maand"; +"Monthly" = "Maandelijks"; +"Weekly" = "Wekelijks"; +"Lifetime" = "Levenslang"; diff --git a/RevenueCatUI/Resources/no.lproj/Localizable.strings b/RevenueCatUI/Resources/no.lproj/Localizable.strings new file mode 100644 index 0000000000..d17e617596 --- /dev/null +++ b/RevenueCatUI/Resources/no.lproj/Localizable.strings @@ -0,0 +1,16 @@ +"OK" = "OK"; +"All subscriptions" = "Alle abonnementer"; +"Privacy" = "Personvern"; +"Privacy policy" = "Personvernerklæring"; +"Purchases restored successfully!" = "Kjøp gjenopprettet vellykket!"; +"Restore" = "Restaurere"; +"Restore purchases" = "Gjenopprette kjøp"; +"Terms" = "Vilkår"; +"Terms and conditions" = "Vilkår og betingelser"; +"Annual" = "Årlig"; +"6 Month" = "6 måneder"; +"3 Month" = "3 måneder"; +"2 Month" = "2 måneder"; +"Monthly" = "Månedlig"; +"Weekly" = "Ukentlig"; +"Lifetime" = "Livstid"; diff --git a/RevenueCatUI/Resources/pl.lproj/Localizable.strings b/RevenueCatUI/Resources/pl.lproj/Localizable.strings new file mode 100644 index 0000000000..47b852678a --- /dev/null +++ b/RevenueCatUI/Resources/pl.lproj/Localizable.strings @@ -0,0 +1,16 @@ +"OK" = "OK"; +"All subscriptions" = "Wszystkie subskrypcje"; +"Privacy" = "Prywatność"; +"Privacy policy" = "Polityka prywatności"; +"Purchases restored successfully!" = "Pomyślnie przywrócono zakupy!"; +"Restore" = "Przywrócić"; +"Restore purchases" = "Przywróć zakupy"; +"Terms" = "Warunki"; +"Terms and conditions" = "Regulamin"; +"Annual" = "Coroczny"; +"6 Month" = "6 miesiąc"; +"3 Month" = "3 miesiące"; +"2 Month" = "2 miesiące"; +"Monthly" = "Miesięczny"; +"Weekly" = "Co tydzień"; +"Lifetime" = "Dożywotni"; diff --git a/RevenueCatUI/Resources/pt_BR.lproj/Localizable.strings b/RevenueCatUI/Resources/pt_BR.lproj/Localizable.strings new file mode 100644 index 0000000000..7d8b730074 --- /dev/null +++ b/RevenueCatUI/Resources/pt_BR.lproj/Localizable.strings @@ -0,0 +1,16 @@ +"OK" = "OK"; +"All subscriptions" = "Todas as assinaturas"; +"Privacy" = "Privacidade"; +"Privacy policy" = "Política de Privacidade"; +"Purchases restored successfully!" = "Compras restauradas com sucesso!"; +"Restore" = "Restaurar"; +"Restore purchases" = "Restaurar compras"; +"Terms" = "Termos"; +"Terms and conditions" = "Termos e Condições"; +"Annual" = "Anual"; +"6 Month" = "6 meses"; +"3 Month" = "3 meses"; +"2 Month" = "2 meses"; +"Monthly" = "Por mês"; +"Weekly" = "Semanalmente"; +"Lifetime" = "Vida"; diff --git a/RevenueCatUI/Resources/pt_PT.lproj/Localizable.strings b/RevenueCatUI/Resources/pt_PT.lproj/Localizable.strings new file mode 100644 index 0000000000..7d8b730074 --- /dev/null +++ b/RevenueCatUI/Resources/pt_PT.lproj/Localizable.strings @@ -0,0 +1,16 @@ +"OK" = "OK"; +"All subscriptions" = "Todas as assinaturas"; +"Privacy" = "Privacidade"; +"Privacy policy" = "Política de Privacidade"; +"Purchases restored successfully!" = "Compras restauradas com sucesso!"; +"Restore" = "Restaurar"; +"Restore purchases" = "Restaurar compras"; +"Terms" = "Termos"; +"Terms and conditions" = "Termos e Condições"; +"Annual" = "Anual"; +"6 Month" = "6 meses"; +"3 Month" = "3 meses"; +"2 Month" = "2 meses"; +"Monthly" = "Por mês"; +"Weekly" = "Semanalmente"; +"Lifetime" = "Vida"; diff --git a/RevenueCatUI/Resources/ro.lproj/Localizable.strings b/RevenueCatUI/Resources/ro.lproj/Localizable.strings new file mode 100644 index 0000000000..6e1e471f06 --- /dev/null +++ b/RevenueCatUI/Resources/ro.lproj/Localizable.strings @@ -0,0 +1,16 @@ +"OK" = "Bine"; +"All subscriptions" = "Toate abonamentele"; +"Privacy" = "Confidențialitate"; +"Privacy policy" = "Politica de confidențialitate"; +"Purchases restored successfully!" = "Achizițiile au fost restabilite cu succes!"; +"Restore" = "Restabili"; +"Restore purchases" = "Restabiliți achizițiile"; +"Terms" = "Termeni"; +"Terms and conditions" = "Termeni și condiții"; +"Annual" = "Anual"; +"6 Month" = "6 luni"; +"3 Month" = "3 luni"; +"2 Month" = "2 luni"; +"Monthly" = "Lunar"; +"Weekly" = "Săptămânal"; +"Lifetime" = "Durata de viață"; diff --git a/RevenueCatUI/Resources/ru.lproj/Localizable.strings b/RevenueCatUI/Resources/ru.lproj/Localizable.strings new file mode 100644 index 0000000000..773acdd55d --- /dev/null +++ b/RevenueCatUI/Resources/ru.lproj/Localizable.strings @@ -0,0 +1,16 @@ +"OK" = "ХОРОШО"; +"All subscriptions" = "Все подписки"; +"Privacy" = "Конфиденциальность"; +"Privacy policy" = "Политика конфиденциальности"; +"Purchases restored successfully!" = "Покупки успешно восстановлены!"; +"Restore" = "Восстановить"; +"Restore purchases" = "Восстановить покупки"; +"Terms" = "Условия"; +"Terms and conditions" = "Условия и положения"; +"Annual" = "Ежегодный"; +"6 Month" = "6 месяцев"; +"3 Month" = "3 месяца"; +"2 Month" = "2 месяца"; +"Monthly" = "Ежемесячно"; +"Weekly" = "Еженедельно"; +"Lifetime" = "Продолжительность жизни"; diff --git a/RevenueCatUI/Resources/sk.lproj/Localizable.strings b/RevenueCatUI/Resources/sk.lproj/Localizable.strings new file mode 100644 index 0000000000..e5a418279f --- /dev/null +++ b/RevenueCatUI/Resources/sk.lproj/Localizable.strings @@ -0,0 +1,16 @@ +"OK" = "OK"; +"All subscriptions" = "Všetky odbery"; +"Privacy" = "Ochrana osobných údajov"; +"Privacy policy" = "Zásady ochrany osobných údajov"; +"Purchases restored successfully!" = "Nákupy boli úspešne obnovené!"; +"Restore" = "Obnoviť"; +"Restore purchases" = "Obnoviť nákupy"; +"Terms" = "Podmienky"; +"Terms and conditions" = "Podmienky"; +"Annual" = "Výročný"; +"6 Month" = "6 mesiacov"; +"3 Month" = "3 mesiac"; +"2 Month" = "2 mesiace"; +"Monthly" = "Mesačne"; +"Weekly" = "Týždenne"; +"Lifetime" = "Život"; diff --git a/RevenueCatUI/Resources/sv.lproj/Localizable.strings b/RevenueCatUI/Resources/sv.lproj/Localizable.strings new file mode 100644 index 0000000000..fa1950b1f4 --- /dev/null +++ b/RevenueCatUI/Resources/sv.lproj/Localizable.strings @@ -0,0 +1,16 @@ +"OK" = "OK"; +"All subscriptions" = "Alla prenumerationer"; +"Privacy" = "Integritet"; +"Privacy policy" = "Integritetspolicy"; +"Purchases restored successfully!" = "Köp återställda framgångsrikt!"; +"Restore" = "Återställ"; +"Restore purchases" = "Återställa köp"; +"Terms" = "Villkor"; +"Terms and conditions" = "Villkor"; +"Annual" = "Årlig"; +"6 Month" = "6 månader"; +"3 Month" = "3 månader"; +"2 Month" = "2 månader"; +"Monthly" = "En gång i månaden"; +"Weekly" = "Varje vecka"; +"Lifetime" = "Livstid"; diff --git a/RevenueCatUI/Resources/th.lproj/Localizable.strings b/RevenueCatUI/Resources/th.lproj/Localizable.strings new file mode 100644 index 0000000000..947e0eeb72 --- /dev/null +++ b/RevenueCatUI/Resources/th.lproj/Localizable.strings @@ -0,0 +1,16 @@ +"OK" = "ตกลง"; +"All subscriptions" = "การสมัครทั้งหมด"; +"Privacy" = "ความเป็นส่วนตัว"; +"Privacy policy" = "นโยบายความเป็นส่วนตัว"; +"Purchases restored successfully!" = "คืนค่าการซื้อสำเร็จแล้ว!"; +"Restore" = "คืนค่า"; +"Restore purchases" = "เรียกคืนการซื้อสินค้า"; +"Terms" = "ข้อกำหนด"; +"Terms and conditions" = "ข้อกำหนดและเงื่อนไข"; +"Annual" = "ประจำปี"; +"6 Month" = "6 เดือน"; +"3 Month" = "3 เดือน"; +"2 Month" = "2 เดือน"; +"Monthly" = "รายเดือน"; +"Weekly" = "รายสัปดาห์"; +"Lifetime" = "อายุการใช้งาน"; diff --git a/RevenueCatUI/Resources/tr.lproj/Localizable.strings b/RevenueCatUI/Resources/tr.lproj/Localizable.strings new file mode 100644 index 0000000000..34a864412b --- /dev/null +++ b/RevenueCatUI/Resources/tr.lproj/Localizable.strings @@ -0,0 +1,16 @@ +"OK" = "TAMAM"; +"All subscriptions" = "Tüm abonelikler"; +"Privacy" = "Mahremiyet"; +"Privacy policy" = "Gizlilik Politikası"; +"Purchases restored successfully!" = "Satın almalar başarıyla geri yüklendi!"; +"Restore" = "Eski haline getirmek"; +"Restore purchases" = "Satın alınanları geri yükle"; +"Terms" = "şartlar"; +"Terms and conditions" = "Şartlar ve koşullar"; +"Annual" = "Yıllık"; +"6 Month" = "6 ay"; +"3 Month" = "3 ay"; +"2 Month" = "2 ay"; +"Monthly" = "Aylık"; +"Weekly" = "Haftalık"; +"Lifetime" = "Ömür"; diff --git a/RevenueCatUI/Resources/uk.lproj/Localizable.strings b/RevenueCatUI/Resources/uk.lproj/Localizable.strings new file mode 100644 index 0000000000..909e822bc5 --- /dev/null +++ b/RevenueCatUI/Resources/uk.lproj/Localizable.strings @@ -0,0 +1,16 @@ +"OK" = "в порядку"; +"All subscriptions" = "Всі підписки"; +"Privacy" = "Конфіденційність"; +"Privacy policy" = "Політика конфіденційності"; +"Purchases restored successfully!" = "Покупки успішно відновлені!"; +"Restore" = "Відновлення"; +"Restore purchases" = "Відновити покупки"; +"Terms" = "Терміни"; +"Terms and conditions" = "Правила та умови"; +"Annual" = "Річний"; +"6 Month" = "6 місяців"; +"3 Month" = "3 місяці"; +"2 Month" = "2 місяці"; +"Monthly" = "Щомісяця"; +"Weekly" = "Щотижня"; +"Lifetime" = "Час життя"; diff --git a/RevenueCatUI/Resources/vi.lproj/Localizable.strings b/RevenueCatUI/Resources/vi.lproj/Localizable.strings new file mode 100644 index 0000000000..b707fbfdf7 --- /dev/null +++ b/RevenueCatUI/Resources/vi.lproj/Localizable.strings @@ -0,0 +1,16 @@ +"OK" = "ĐƯỢC RỒI"; +"All subscriptions" = "Tất cả đăng ký"; +"Privacy" = "Sự riêng tư"; +"Privacy policy" = "Chính sách bảo mật"; +"Purchases restored successfully!" = "Đã khôi phục mua hàng thành công!"; +"Restore" = "Khôi phục"; +"Restore purchases" = "khôi phục mua hàng"; +"Terms" = "Điều kiện"; +"Terms and conditions" = "Các điều khoản và điều kiện"; +"Annual" = "Hàng năm"; +"6 Month" = "6 tháng"; +"3 Month" = "3 tháng"; +"2 Month" = "2 tháng"; +"Monthly" = "hàng tháng"; +"Weekly" = "hàng tuần"; +"Lifetime" = "Cả đời"; diff --git a/RevenueCatUI/Resources/zh-Hans.lproj/Localizable.strings b/RevenueCatUI/Resources/zh-Hans.lproj/Localizable.strings new file mode 100644 index 0000000000..58448d67ce --- /dev/null +++ b/RevenueCatUI/Resources/zh-Hans.lproj/Localizable.strings @@ -0,0 +1,16 @@ +"OK" = "好的"; +"All subscriptions" = "所有订阅"; +"Privacy" = "隐私"; +"Privacy policy" = "隐私政策"; +"Purchases restored successfully!" = "购买成功恢复!"; +"Restore" = "恢复"; +"Restore purchases" = "恢复购买"; +"Terms" = "条款"; +"Terms and conditions" = "条款和条件"; +"Annual" = "年度的"; +"6 Month" = "6个月"; +"3 Month" = "3个月"; +"2 Month" = "2个月"; +"Monthly" = "每月"; +"Weekly" = "每周"; +"Lifetime" = "寿命"; diff --git a/RevenueCatUI/Resources/zh_HK.lproj/Localizable.strings b/RevenueCatUI/Resources/zh_HK.lproj/Localizable.strings new file mode 100644 index 0000000000..297a98706f --- /dev/null +++ b/RevenueCatUI/Resources/zh_HK.lproj/Localizable.strings @@ -0,0 +1,16 @@ +"OK" = "好的"; +"All subscriptions" = "所有訂閱"; +"Privacy" = "隱私"; +"Privacy policy" = "隱私政策"; +"Purchases restored successfully!" = "購買成功恢復!"; +"Restore" = "恢復"; +"Restore purchases" = "恢復購買"; +"Terms" = "條款"; +"Terms and conditions" = "條款和條件"; +"Annual" = "年度的"; +"6 Month" = "6個月"; +"3 Month" = "3個月"; +"2 Month" = "2個月"; +"Monthly" = "每月"; +"Weekly" = "每週"; +"Lifetime" = "壽命"; diff --git a/RevenueCatUI/Resources/zh_TW.lproj/Localizable.strings b/RevenueCatUI/Resources/zh_TW.lproj/Localizable.strings new file mode 100644 index 0000000000..297a98706f --- /dev/null +++ b/RevenueCatUI/Resources/zh_TW.lproj/Localizable.strings @@ -0,0 +1,16 @@ +"OK" = "好的"; +"All subscriptions" = "所有訂閱"; +"Privacy" = "隱私"; +"Privacy policy" = "隱私政策"; +"Purchases restored successfully!" = "購買成功恢復!"; +"Restore" = "恢復"; +"Restore purchases" = "恢復購買"; +"Terms" = "條款"; +"Terms and conditions" = "條款和條件"; +"Annual" = "年度的"; +"6 Month" = "6個月"; +"3 Month" = "3個月"; +"2 Month" = "2個月"; +"Monthly" = "每月"; +"Weekly" = "每週"; +"Lifetime" = "壽命"; diff --git a/RevenueCatUI/Views/FooterView.swift b/RevenueCatUI/Views/FooterView.swift index 5d285566cc..6fbad267e7 100644 --- a/RevenueCatUI/Views/FooterView.swift +++ b/RevenueCatUI/Views/FooterView.swift @@ -112,7 +112,7 @@ struct FooterView: View { binding.wrappedValue.toggle() } } label: { - Text("All plans", bundle: .module) + Text("All subscriptions", bundle: .module) } } diff --git a/Tests/RevenueCatUITests/Data/PackageVariablesTests.swift b/Tests/RevenueCatUITests/Data/PackageVariablesTests.swift index bb9469996d..bcb8f84a86 100644 --- a/Tests/RevenueCatUITests/Data/PackageVariablesTests.swift +++ b/Tests/RevenueCatUITests/Data/PackageVariablesTests.swift @@ -80,10 +80,10 @@ class PackageVariablesTests: TestCase { } func testSpanishPeriodName() { - expect(TestData.weeklyPackage.periodName(Self.spanish)) == "Semanal" + expect(TestData.weeklyPackage.periodName(Self.spanish)) == "Semanalmente" expect(TestData.monthlyPackage.periodName(Self.spanish)) == "Mensual" expect(TestData.annualPackage.periodName(Self.spanish)) == "Anual" - expect(TestData.lifetimePackage.periodName(Self.spanish)) == "Vitalicio" + expect(TestData.lifetimePackage.periodName(Self.spanish)) == "Toda la vida" } func testEnglishIntroductoryOfferDuration() { diff --git a/Tests/RevenueCatUITests/LocalizationTests.swift b/Tests/RevenueCatUITests/LocalizationTests.swift index 5ee8cce534..d4204de4d0 100644 --- a/Tests/RevenueCatUITests/LocalizationTests.swift +++ b/Tests/RevenueCatUITests/LocalizationTests.swift @@ -137,9 +137,9 @@ class PackageTypeEnglishLocalizationTests: BaseLocalizationTests { func testLocalization() { verify(.annual, "Annual") - verify(.sixMonth, "6 month") - verify(.threeMonth, "3 month") - verify(.twoMonth, "2 month") + verify(.sixMonth, "6 Month") + verify(.threeMonth, "3 Month") + verify(.twoMonth, "2 Month") verify(.monthly, "Monthly") verify(.weekly, "Weekly") verify(.lifetime, "Lifetime") @@ -163,8 +163,8 @@ class PackageTypeSpanishLocalizationTests: BaseLocalizationTests { verify(.threeMonth, "3 meses") verify(.twoMonth, "2 meses") verify(.monthly, "Mensual") - verify(.weekly, "Semanal") - verify(.lifetime, "Vitalicio") + verify(.weekly, "Semanalmente") + verify(.lifetime, "Toda la vida") } func testOtherValues() { @@ -174,15 +174,37 @@ class PackageTypeSpanishLocalizationTests: BaseLocalizationTests { } @available(iOS 15.0, macOS 12.0, tvOS 15.0, watchOS 8.0, *) -class PackageTypeOtherLanguageLocalizationTests: BaseLocalizationTests { +class PackageTypeLocalizationWithOnlyLanguageTests: BaseLocalizationTests { + // This is encoded as `fr_CA`, so we test that only language works too. override var locale: Locale { return .init(identifier: "fr") } + func testLocalization() { + verify(.annual, "Annuel") + verify(.sixMonth, "6 mois") + verify(.threeMonth, "3 mois") + verify(.twoMonth, "2 mois") + verify(.monthly, "Mensuel") + verify(.weekly, "Hebdomadaire") + verify(.lifetime, "Durée de vie") + } + + func testOtherValues() { + verify(.custom, "") + verify(.unknown, "") + } +} + +@available(iOS 15.0, macOS 12.0, tvOS 15.0, watchOS 8.0, *) +class PackageTypeOtherLanguageLocalizationTests: BaseLocalizationTests { + + override var locale: Locale { return .init(identifier: "ci") } + func testLocalizationDefaultsToEnglish() { verify(.annual, "Annual") - verify(.sixMonth, "6 month") - verify(.threeMonth, "3 month") - verify(.twoMonth, "2 month") + verify(.sixMonth, "6 Month") + verify(.threeMonth, "3 Month") + verify(.twoMonth, "2 Month") verify(.monthly, "Monthly") verify(.weekly, "Weekly") verify(.lifetime, "Lifetime") @@ -217,7 +239,9 @@ class DiscountSpanishLocalizationTests: BaseLocalizationTests { override var locale: Locale { return .init(identifier: "es_ES") } - func testLocalization() { + func testLocalization() throws { + try XCTSkipIf(true, "Localization not available yet") + verify(0, "Ahorra 0%") verify(0.1, "Ahorra 10%") verify(0.331, "Ahorra 33%") diff --git a/Tests/TestingApps/SimpleApp/SimpleApp.xcodeproj/project.pbxproj b/Tests/TestingApps/SimpleApp/SimpleApp.xcodeproj/project.pbxproj index 7576cc9d2d..168e35455a 100644 --- a/Tests/TestingApps/SimpleApp/SimpleApp.xcodeproj/project.pbxproj +++ b/Tests/TestingApps/SimpleApp/SimpleApp.xcodeproj/project.pbxproj @@ -37,6 +37,8 @@ /* End PBXCopyFilesBuildPhase section */ /* Begin PBXFileReference section */ + 4F0B5EA02A97CD9300DB0FC9 /* de */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = de; path = de.lproj/Localizable.strings; sourceTree = ""; }; + 4F0B5EA12A97CDAC00DB0FC9 /* fr */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = fr; path = fr.lproj/Localizable.strings; sourceTree = ""; }; 4F102E262A840ECC0059EED6 /* CustomPaywall.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = CustomPaywall.swift; sourceTree = ""; }; 4F34FF622A60AD9A00AADF11 /* AppContentView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppContentView.swift; sourceTree = ""; }; 4F34FF642A60ADBD00AADF11 /* Configuration.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = Configuration.swift; sourceTree = ""; }; @@ -192,6 +194,8 @@ en, Base, es, + de, + fr, ); mainGroup = 4F6BED912A26A64200CD9322; productRefGroup = 4F6BED9B2A26A64200CD9322 /* Products */; @@ -240,6 +244,8 @@ children = ( 4F4557E32A6FFE6A00160521 /* en */, 4F4557E52A6FFE6D00160521 /* es */, + 4F0B5EA02A97CD9300DB0FC9 /* de */, + 4F0B5EA12A97CDAC00DB0FC9 /* fr */, ); name = Localizable.strings; sourceTree = ""; diff --git a/Tests/TestingApps/SimpleApp/SimpleApp/de.lproj/Localizable.strings b/Tests/TestingApps/SimpleApp/SimpleApp/de.lproj/Localizable.strings new file mode 100644 index 0000000000..8b13789179 --- /dev/null +++ b/Tests/TestingApps/SimpleApp/SimpleApp/de.lproj/Localizable.strings @@ -0,0 +1 @@ + diff --git a/Tests/TestingApps/SimpleApp/SimpleApp/fr.lproj/Localizable.strings b/Tests/TestingApps/SimpleApp/SimpleApp/fr.lproj/Localizable.strings new file mode 100644 index 0000000000..8b13789179 --- /dev/null +++ b/Tests/TestingApps/SimpleApp/SimpleApp/fr.lproj/Localizable.strings @@ -0,0 +1 @@ +