Skip to content

Commit a60a957

Browse files
nalcalagdaxmobile
andauthored
Switch Plan translations (#7076)
Task/Issue URL: https://app.asana.com/1/137249556945/project/72649045549333/task/1211836228253423?focus=true ### Description Translations for switch plan feature ### Steps to test this PR _Translations_ - [x] Change device language to something different from English - [x] Install from branch - [x] Purchase a test subscription - [x] Go to subscription settings - [x] Check switch option is correctly translated - [x] Go through switch flow - [x] Check everything is translated ### No UI changes --------- Co-authored-by: Dax The Translator <daxmobile@duckduckgo.com>
1 parent b13e47d commit a60a957

27 files changed

+377
-142
lines changed

subscriptions/subscriptions-impl/src/main/res/layout/bottom_sheet_switch_plan.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@
5757
android:paddingHorizontal="@dimen/keyline_5"
5858
app:textType="primary"
5959
app:typography="h1"
60-
tools:text="@string/switchBottomSheetTitleUpgrade" />
60+
tools:text="@string/switchBottomSheetDynamicTitleUpgrade" />
6161

6262
<com.duckduckgo.common.ui.view.text.DaxTextView
6363
android:id="@+id/switchBottomSheetDialogSubTitle"

subscriptions/subscriptions-impl/src/main/res/values-bg/strings-subscriptions.xml

Lines changed: 15 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,11 @@
8484
<string name="subscriptionSettingSectionHelpAndSupport">Помощ и поддръжка</string>
8585
<string name="subscriptionSettingSendFeedback">Изпратете отзив</string>
8686
<string name="subscriptionSettingActivating">Активиране</string>
87+
<string name="subscriptionSettingSwitchUpgradeDynamic" instruction="%1$s is the savings percentage when switching from monthly to yearly (e.g. 16)">Превключи на годишен план и спести %1$s%%</string>
88+
<!-- smartling.character_limit = 10 -->
89+
<string name="subscriptionSettingSwitchUpgradePill">Най-изгодно</string>
90+
<string name="subscriptionSettingSwitchDowngrade">Смяна на плана</string>
91+
<string name="subscriptionSettingManagePlan">Управлявай плащане</string>
8792

8893
<!--Purchase Subscriptions-->
8994
<string name="purchaseCompletedTitle">Всичко е готово.</string>
@@ -171,11 +176,6 @@
171176
<string name="activityPir" translatable="false">Privacy Pro</string>
172177
<string name="activitySendFeedback">Изпратете отзив</string>
173178

174-
<!-- Dynamic Switch % -->
175-
<string name="switchBottomSheetDynamicTitleUpgrade" instruction="%1$s is the savings percentage when switching from monthly to yearly (e.g. 16)">Спести %1$s%% с\nгодишен план!</string>
176-
<string name="switchBottomSheetDynamicTitleDowngrade" instruction="%1$s is the savings percentage when using a yearly plan instead of monthly (e.g. 16)">Спестяваш %1$s%% с\nгодишен план!</string>
177-
<string name="subscriptionSettingSwitchUpgradeDynamic" instruction="%1$s is the savings percentage when switching from monthly to yearly (e.g. 16)">Превключи на годишен план и спести %1$s%%</string>
178-
179179
<!-- Privacy Pro Rebranding-->
180180
<string name="subscriptionSettingRebrandingMessage">Privacy Pro вече се нарича просто абонамент за DuckDuckGo</string>
181181

@@ -192,4 +192,14 @@
192192

193193
<string name="feedbackGeneralSubscription">Абонамент</string>
194194

195+
<!-- Switch plan-->
196+
<string name="switchBottomSheetDynamicTitleUpgrade" instruction="%1$s is the savings percentage when switching from monthly to yearly (e.g. 16)">Спести %1$s%% с\nгодишен план!</string>
197+
<string name="switchBottomSheetDescriptionUpgrade" instruction="%1$s is the yearly plan monthly equivalent price (e.g. $8.33), %2$s is the current monthly plan price (e.g. $9.99)">Годишният план е само %1$s/месец, в сравнение с текущия ти месечен план от %2$s.</string>
198+
<string name="switchBottomSheetPrimaryButtonUpgrade" instruction="%1$s is the yearly plan price (e.g. $99.99)">Превключи на годишен план (%1$s/година)</string>
199+
<string name="switchBottomSheetSecondaryButtonUpgrade">Запази месечен план</string>
200+
<string name="switchBottomSheetDynamicTitleDowngrade" instruction="%1$s is the savings percentage when using a yearly plan instead of monthly (e.g. 16)">Спестяваш %1$s%% с\nгодишен план!</string>
201+
<string name="switchBottomSheetDescriptionDowngrade" instruction="%1$s is the yearly plan monthly equivalent price (e.g. $8.33), %2$s is the monthly plan price (e.g. $9.99)">Превключването ще увеличи месечната ти цена от %1$s/месец на %2$s/месец.</string>
202+
<string name="switchBottomSheetPrimaryButtonDowngrade">Запази годишния план</string>
203+
<string name="switchBottomSheetSecondaryButtonDowngrade" instruction="%1$s is the monthly plan price (e.g. $9.99)">Превключи на месечен план (%1$s/месец)</string>
204+
195205
</resources>

subscriptions/subscriptions-impl/src/main/res/values-cs/strings-subscriptions.xml

Lines changed: 15 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,11 @@
8484
<string name="subscriptionSettingSectionHelpAndSupport">Nápověda a podpora</string>
8585
<string name="subscriptionSettingSendFeedback">Odeslat zpětnou vazbu</string>
8686
<string name="subscriptionSettingActivating">Aktivuje se</string>
87+
<string name="subscriptionSettingSwitchUpgradeDynamic" instruction="%1$s is the savings percentage when switching from monthly to yearly (e.g. 16)">Přejdi na roční tarif a ušetři %1$s %%</string>
88+
<!-- smartling.character_limit = 10 -->
89+
<string name="subscriptionSettingSwitchUpgradePill">Top nabídka</string>
90+
<string name="subscriptionSettingSwitchDowngrade">Změnit tarif</string>
91+
<string name="subscriptionSettingManagePlan">Spravovat platbu</string>
8792

8893
<!--Purchase Subscriptions-->
8994
<string name="purchaseCompletedTitle">A je to.</string>
@@ -171,11 +176,6 @@
171176
<string name="activityPir" translatable="false">Privacy Pro</string>
172177
<string name="activitySendFeedback">Odeslat zpětnou vazbu</string>
173178

174-
<!-- Dynamic Switch % -->
175-
<string name="switchBottomSheetDynamicTitleUpgrade" instruction="%1$s is the savings percentage when switching from monthly to yearly (e.g. 16)">Ušetři %1$s %%\ns ročním tarifem!</string>
176-
<string name="switchBottomSheetDynamicTitleDowngrade" instruction="%1$s is the savings percentage when using a yearly plan instead of monthly (e.g. 16)">S ročním tarifem\nušetříš %1$s %%</string>
177-
<string name="subscriptionSettingSwitchUpgradeDynamic" instruction="%1$s is the savings percentage when switching from monthly to yearly (e.g. 16)">Přejdi na roční tarif a ušetři %1$s %%</string>
178-
179179
<!-- Privacy Pro Rebranding-->
180180
<string name="subscriptionSettingRebrandingMessage">Privacy Pro mění název na „předplatné DuckDuckGo“</string>
181181

@@ -192,4 +192,14 @@
192192

193193
<string name="feedbackGeneralSubscription">Předplatné</string>
194194

195+
<!-- Switch plan-->
196+
<string name="switchBottomSheetDynamicTitleUpgrade" instruction="%1$s is the savings percentage when switching from monthly to yearly (e.g. 16)">Ušetři %1$s %%\ns ročním tarifem!</string>
197+
<string name="switchBottomSheetDescriptionUpgrade" instruction="%1$s is the yearly plan monthly equivalent price (e.g. $8.33), %2$s is the current monthly plan price (e.g. $9.99)">Roční tarif stojí jen %1$s za měsíc oproti tvému současnému měsíčnímu tarifu za %2$s.</string>
198+
<string name="switchBottomSheetPrimaryButtonUpgrade" instruction="%1$s is the yearly plan price (e.g. $99.99)">Přejít na roční tarif (%1$s za rok)</string>
199+
<string name="switchBottomSheetSecondaryButtonUpgrade">Nechat měsíční tarif</string>
200+
<string name="switchBottomSheetDynamicTitleDowngrade" instruction="%1$s is the savings percentage when using a yearly plan instead of monthly (e.g. 16)">S ročním tarifem\nušetříš %1$s %%</string>
201+
<string name="switchBottomSheetDescriptionDowngrade" instruction="%1$s is the yearly plan monthly equivalent price (e.g. $8.33), %2$s is the monthly plan price (e.g. $9.99)">Přechodem se tvoje cena za měsíc zvýší z %1$s měsíčně na %2$s měsíčně.</string>
202+
<string name="switchBottomSheetPrimaryButtonDowngrade">Nechat roční tarif</string>
203+
<string name="switchBottomSheetSecondaryButtonDowngrade" instruction="%1$s is the monthly plan price (e.g. $9.99)">Přejít na měsíční tarif (%1$s za měsíc)</string>
204+
195205
</resources>

subscriptions/subscriptions-impl/src/main/res/values-da/strings-subscriptions.xml

Lines changed: 15 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,11 @@
8484
<string name="subscriptionSettingSectionHelpAndSupport">Hjælp og support</string>
8585
<string name="subscriptionSettingSendFeedback">Send tilbagemelding</string>
8686
<string name="subscriptionSettingActivating">Aktiverer</string>
87+
<string name="subscriptionSettingSwitchUpgradeDynamic" instruction="%1$s is the savings percentage when switching from monthly to yearly (e.g. 16)">Skift til årligt og spar %1$s %%</string>
88+
<!-- smartling.character_limit = 10 -->
89+
<string name="subscriptionSettingSwitchUpgradePill">Anbefales</string>
90+
<string name="subscriptionSettingSwitchDowngrade">Skift abonnement</string>
91+
<string name="subscriptionSettingManagePlan">Administrer betaling</string>
8792

8893
<!--Purchase Subscriptions-->
8994
<string name="purchaseCompletedTitle">Du er klar.</string>
@@ -171,11 +176,6 @@
171176
<string name="activityPir" translatable="false">Privacy Pro</string>
172177
<string name="activitySendFeedback">Send tilbagemelding</string>
173178

174-
<!-- Dynamic Switch % -->
175-
<string name="switchBottomSheetDynamicTitleUpgrade" instruction="%1$s is the savings percentage when switching from monthly to yearly (e.g. 16)">Spar %1$s %% med\net årligt abonnement!</string>
176-
<string name="switchBottomSheetDynamicTitleDowngrade" instruction="%1$s is the savings percentage when using a yearly plan instead of monthly (e.g. 16)">Du sparer %1$s %% med\net årligt abonnement!</string>
177-
<string name="subscriptionSettingSwitchUpgradeDynamic" instruction="%1$s is the savings percentage when switching from monthly to yearly (e.g. 16)">Skift til årligt og spar %1$s %%</string>
178-
179179
<!-- Privacy Pro Rebranding-->
180180
<string name="subscriptionSettingRebrandingMessage">Privacy Pro kaldes nu bare DuckDuckGo-abonnementet</string>
181181

@@ -192,4 +192,14 @@
192192

193193
<string name="feedbackGeneralSubscription">Abonnement</string>
194194

195+
<!-- Switch plan-->
196+
<string name="switchBottomSheetDynamicTitleUpgrade" instruction="%1$s is the savings percentage when switching from monthly to yearly (e.g. 16)">Spar %1$s %% med\net årligt abonnement!</string>
197+
<string name="switchBottomSheetDescriptionUpgrade" instruction="%1$s is the yearly plan monthly equivalent price (e.g. $8.33), %2$s is the current monthly plan price (e.g. $9.99)">En årligt abonnement koster kun %1$s/måned sammenlignet med dit nuværende abonnement til %2$s/måned.</string>
198+
<string name="switchBottomSheetPrimaryButtonUpgrade" instruction="%1$s is the yearly plan price (e.g. $99.99)">Skift til årligt (%1$s/år)</string>
199+
<string name="switchBottomSheetSecondaryButtonUpgrade">Behold månedligt abonnement</string>
200+
<string name="switchBottomSheetDynamicTitleDowngrade" instruction="%1$s is the savings percentage when using a yearly plan instead of monthly (e.g. 16)">Du sparer %1$s %% med\net årligt abonnement!</string>
201+
<string name="switchBottomSheetDescriptionDowngrade" instruction="%1$s is the yearly plan monthly equivalent price (e.g. $8.33), %2$s is the monthly plan price (e.g. $9.99)">Hvis du skifter, vil din månedlige pris stige fra %1$s/md. til %2$s/md.</string>
202+
<string name="switchBottomSheetPrimaryButtonDowngrade">Behold årligt abonnement</string>
203+
<string name="switchBottomSheetSecondaryButtonDowngrade" instruction="%1$s is the monthly plan price (e.g. $9.99)">Skift til månedligt (%1$s/måned)</string>
204+
195205
</resources>

subscriptions/subscriptions-impl/src/main/res/values-de/strings-subscriptions.xml

Lines changed: 15 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,11 @@
8484
<string name="subscriptionSettingSectionHelpAndSupport">Hilfe und Support</string>
8585
<string name="subscriptionSettingSendFeedback">Rückmeldung senden</string>
8686
<string name="subscriptionSettingActivating">Wird aktiviert</string>
87+
<string name="subscriptionSettingSwitchUpgradeDynamic" instruction="%1$s is the savings percentage when switching from monthly to yearly (e.g. 16)">Wechsle zum Jahresabo und spare %1$s %%</string>
88+
<!-- smartling.character_limit = 10 -->
89+
<string name="subscriptionSettingSwitchUpgradePill">Top-Angebot</string>
90+
<string name="subscriptionSettingSwitchDowngrade">Tarif wechseln</string>
91+
<string name="subscriptionSettingManagePlan">Zahlung verwalten</string>
8792

8893
<!--Purchase Subscriptions-->
8994
<string name="purchaseCompletedTitle">Du bist startklar.</string>
@@ -171,11 +176,6 @@
171176
<string name="activityPir" translatable="false">Privacy Pro</string>
172177
<string name="activitySendFeedback">Rückmeldung senden</string>
173178

174-
<!-- Dynamic Switch % -->
175-
<string name="switchBottomSheetDynamicTitleUpgrade" instruction="%1$s is the savings percentage when switching from monthly to yearly (e.g. 16)">Mit einem Jahresabo\nsparst du %1$s%%!</string>
176-
<string name="switchBottomSheetDynamicTitleDowngrade" instruction="%1$s is the savings percentage when using a yearly plan instead of monthly (e.g. 16)">Du sparst %1$s %% mit\neinem Jahresabo!</string>
177-
<string name="subscriptionSettingSwitchUpgradeDynamic" instruction="%1$s is the savings percentage when switching from monthly to yearly (e.g. 16)">Wechsle zum Jahresabo und spare %1$s %%</string>
178-
179179
<!-- Privacy Pro Rebranding-->
180180
<string name="subscriptionSettingRebrandingMessage">Privacy Pro heißt jetzt einfach DuckDuckGo-Abo</string>
181181

@@ -192,4 +192,14 @@
192192

193193
<string name="feedbackGeneralSubscription">Abonnement</string>
194194

195+
<!-- Switch plan-->
196+
<string name="switchBottomSheetDynamicTitleUpgrade" instruction="%1$s is the savings percentage when switching from monthly to yearly (e.g. 16)">Mit einem Jahresabo\nsparst du %1$s%%!</string>
197+
<string name="switchBottomSheetDescriptionUpgrade" instruction="%1$s is the yearly plan monthly equivalent price (e.g. $8.33), %2$s is the current monthly plan price (e.g. $9.99)">Ein Jahresabo kostet nur %1$s/Monat, verglichen mit deinem derzeitigen Monatstarif von %2$s.</string>
198+
<string name="switchBottomSheetPrimaryButtonUpgrade" instruction="%1$s is the yearly plan price (e.g. $99.99)">Zum Jahresabo (%1$s/Jahr) wechseln</string>
199+
<string name="switchBottomSheetSecondaryButtonUpgrade">Monatlichen Tarif beibehalten</string>
200+
<string name="switchBottomSheetDynamicTitleDowngrade" instruction="%1$s is the savings percentage when using a yearly plan instead of monthly (e.g. 16)">Du sparst %1$s %% mit\neinem Jahresabo!</string>
201+
<string name="switchBottomSheetDescriptionDowngrade" instruction="%1$s is the yearly plan monthly equivalent price (e.g. $8.33), %2$s is the monthly plan price (e.g. $9.99)">Durch den Wechsel erhöht sich dein monatlicher Preis von %1$s/Monat auf %2$s/Monat.</string>
202+
<string name="switchBottomSheetPrimaryButtonDowngrade">Jahrestarif behalten</string>
203+
<string name="switchBottomSheetSecondaryButtonDowngrade" instruction="%1$s is the monthly plan price (e.g. $9.99)">Zum Monatsabo wechseln (%1$s/Monat)</string>
204+
195205
</resources>

subscriptions/subscriptions-impl/src/main/res/values-el/strings-subscriptions.xml

Lines changed: 15 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,11 @@
8484
<string name="subscriptionSettingSectionHelpAndSupport">Βοήθεια και υποστήριξη</string>
8585
<string name="subscriptionSettingSendFeedback">Αποστολή σχολίου</string>
8686
<string name="subscriptionSettingActivating">Ενεργοποίηση</string>
87+
<string name="subscriptionSettingSwitchUpgradeDynamic" instruction="%1$s is the savings percentage when switching from monthly to yearly (e.g. 16)">Αλλάξτε σε ετήσιο και εξοικονομήστε %1$s%%</string>
88+
<!-- smartling.character_limit = 10 -->
89+
<string name="subscriptionSettingSwitchUpgradePill">Καλύτερη προσφορά</string>
90+
<string name="subscriptionSettingSwitchDowngrade">Αλλαγή προγράμματος</string>
91+
<string name="subscriptionSettingManagePlan">Διαχείριση πληρωμής</string>
8792

8893
<!--Purchase Subscriptions-->
8994
<string name="purchaseCompletedTitle">Είστε πανέτοιμοι.</string>
@@ -171,11 +176,6 @@
171176
<string name="activityPir" translatable="false">Privacy Pro</string>
172177
<string name="activitySendFeedback">Αποστολή σχολίου</string>
173178

174-
<!-- Dynamic Switch % -->
175-
<string name="switchBottomSheetDynamicTitleUpgrade" instruction="%1$s is the savings percentage when switching from monthly to yearly (e.g. 16)">Εξοικονομήστε %1$s%% με\nένα ετήσιο πρόγραμμα!</string>
176-
<string name="switchBottomSheetDynamicTitleDowngrade" instruction="%1$s is the savings percentage when using a yearly plan instead of monthly (e.g. 16)">Εξοικονομείτε %1$s%% με\nένα ετήσιο πρόγραμμα!</string>
177-
<string name="subscriptionSettingSwitchUpgradeDynamic" instruction="%1$s is the savings percentage when switching from monthly to yearly (e.g. 16)">Αλλάξτε σε ετήσιο και εξοικονομήστε %1$s%%</string>
178-
179179
<!-- Privacy Pro Rebranding-->
180180
<string name="subscriptionSettingRebrandingMessage">Το Privacy Pro ονομάζεται πλέον απλά Συνδρομή DuckDuckGo</string>
181181

@@ -192,4 +192,14 @@
192192

193193
<string name="feedbackGeneralSubscription">Συνδρομή</string>
194194

195+
<!-- Switch plan-->
196+
<string name="switchBottomSheetDynamicTitleUpgrade" instruction="%1$s is the savings percentage when switching from monthly to yearly (e.g. 16)">Εξοικονομήστε %1$s%% με\nένα ετήσιο πρόγραμμα!</string>
197+
<string name="switchBottomSheetDescriptionUpgrade" instruction="%1$s is the yearly plan monthly equivalent price (e.g. $8.33), %2$s is the current monthly plan price (e.g. $9.99)">Ένα ετήσιο πρόγραμμα κοστίζει μόλις %1$s/μήνα, σε σύγκριση με το τρέχον μηνιαίο πρόγραμμά σου των %2$s.</string>
198+
<string name="switchBottomSheetPrimaryButtonUpgrade" instruction="%1$s is the yearly plan price (e.g. $99.99)">Μετάβαση σε ετήσια συνδρομή (%1$s/έτος)</string>
199+
<string name="switchBottomSheetSecondaryButtonUpgrade">Διατήρηση μηνιαίου προγράμματος</string>
200+
<string name="switchBottomSheetDynamicTitleDowngrade" instruction="%1$s is the savings percentage when using a yearly plan instead of monthly (e.g. 16)">Εξοικονομείτε %1$s%% με\nένα ετήσιο πρόγραμμα!</string>
201+
<string name="switchBottomSheetDescriptionDowngrade" instruction="%1$s is the yearly plan monthly equivalent price (e.g. $8.33), %2$s is the monthly plan price (e.g. $9.99)">Η αλλαγή θα αυξήσει τη μηνιαία τιμή σας από %1$s/μήνα σε %2$s/μήνα.</string>
202+
<string name="switchBottomSheetPrimaryButtonDowngrade">Διατήρηση ετήσιου προγράμματος</string>
203+
<string name="switchBottomSheetSecondaryButtonDowngrade" instruction="%1$s is the monthly plan price (e.g. $9.99)">Αλλαγή σε μηνιαίο (%1$s/μήνα)</string>
204+
195205
</resources>

0 commit comments

Comments
 (0)