-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[ADD] Translations for premium user interactions
translate markup keyboard under summary Translate prefix for summary message translate the "no, thanks" button in the premium keyboard markup template for premium message when no subscription create + translate missing templates, finish translating texts in premium.py
- Loading branch information
Showing
14 changed files
with
136 additions
and
39 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
🌟 Premium is aktiv: | ||
{% for subscription in subscriptions -%} | ||
\- 📅 {{ escape_markdown(subscription.start_date.strftime('%x')) }} \- {{ escape_markdown(subscription.end_date.strftime('%x')) }} @ chat {{ escape_markdown(subscription.chat.title or subscription.chat.username) }} | ||
{% endfor %} | ||
{% include 'sale_suffix_de.md.jinja2' %} | ||
Möchtest du die Premium-Funktionen verlängern? |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
🌟 Premium ist derzeit inaktiv\. | ||
|
||
{% include 'sale_suffix.md.jinja2' %} | ||
Möchtest du Premium-Funktionen kaufen? |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,4 @@ | ||
Premium ist aktuell on SALE: | ||
{% for premium_period, product in periods_to_products.items() %} | ||
\- {{ premium_period.value }} Tage für ⭐{{ product.discounted_price }} \(~${{ product.price }} ➡️ {{(1-product.discounted_price/product.price)*100:.0f}}% OFF\!\) | ||
{% endfor %} | ||
Möchtest du Premium kaufen? | ||
Es läuft eine **Aktion**: | ||
{% for premium_period, product in periods_to_products.items() -%} | ||
\- {{ premium_period.value }} Tage für ⭐{{ product.discounted_price }} \(~{{ product.price }}~ ➡️ {{ '%i' % ((1-product.discounted_price/product.price)*100) }}% Rabatt\!\) | ||
{% endfor -%} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
🌟 Premium está activo: | ||
{% for subscription in subscriptions -%} | ||
\- 📅 {{ escape_markdown(subscription.start_date.strftime('%x')) }} \- {{ escape_markdown(subscription.end_date.strftime('%x')) }} @ chat {{ escape_markdown(subscription.chat.title or subscription.chat.username) }} | ||
{% endfor %} | ||
{% include 'sale_suffix_es.md.jinja2' %} | ||
¿Te gustaría extender las funciones premium? |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
🌟 Premium no está activo\. | ||
|
||
{% include 'sale_suffix.md.jinja2' %} | ||
¿Te gustaría comprar funciones premium? |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,4 @@ | ||
¡Premium está en OFERTA AHORA MISMO: | ||
{% for premium_period, product in periods_to_products.items() %} | ||
\- {{ premium_period.value }} días por ⭐{{ product.discounted_price }} \(~${{ product.price }} ➡️ {{(1-product.discounted_price/product.price)*100:.0f}}% DE DESCUENTO\!\) | ||
{% endfor %} | ||
¿Te gustaría comprar premium? | ||
¡Está en OFERTA AHORA MISMO: | ||
{% for premium_period, product in periods_to_products.items() -%} | ||
\- {{ premium_period.value }} días por ⭐{{ product.discounted_price }} \(~{{ product.price }}~ ➡️ {{ '%i' % ((1-product.discounted_price/product.price)*100) }}% OFF\!\) | ||
{% endfor -%} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
🌟 Premium is currently inactive\. | ||
|
||
{% include 'sale_suffix.md.jinja2' %} | ||
Would you like to buy premium features? |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
🌟 Премиум в настоящее время активен: | ||
{% for subscription in subscriptions -%} | ||
\- 📅 {{ escape_markdown(subscription.start_date.strftime('%x')) }} \- {{ escape_markdown(subscription.end_date.strftime('%x')) }} @ чат {{ escape_markdown(subscription.chat.title or subscription.chat.username) }} | ||
{% endfor %} | ||
{% include 'sale_suffix_ru.md.jinja2' %} | ||
Хотите продлить премиум-функции? |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
🌟 Премиум в настоящее время неактивен. | ||
|
||
{% include 'sale_suffix.md.jinja2' %} | ||
Хотите приобрести премиум-функции? |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,4 @@ | ||
Премиум сейчас в РАСПРОДАЖЕ: | ||
{% for premium_period, product in periods_to_products.items() %} | ||
\- {{ premium_period.value }} дней за ⭐{{ product.discounted_price }} \(~${{ product.price }} ➡️ {{(1-product.discounted_price/product.price)*100:.0f}}% СКИДКА\!\) | ||
{% endfor %} | ||
Хотите купить премиум? | ||
Сейчас действует РАСПРОДАЖА: | ||
{% for premium_period, product in periods_to_products.items() -%} | ||
\- {{ premium_period.value }} дней за ⭐{{ product.discounted_price }} \(~{{ product.price }}~ ➡️ скидка {{ '%i' % ((1-product.discounted_price/product.price)*100) }}%\!\) | ||
{% endfor -%} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
Premium is on SALE right NOW: | ||
SALE right NOW: | ||
{% for premium_period, product in periods_to_products.items() -%} | ||
\- {{ premium_period.value }} days for ⭐{{ product.discounted_price }} \(~{{ product.price }}~ ➡️ {{ '%i' % ((1-product.discounted_price/product.price)*100) }}% OFF\!\) | ||
{% endfor -%} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters