mirror of
https://github.com/Redume/Shirino.git
synced 2025-05-19 02:05:26 +01:00
chore: added localization files
This commit is contained in:
parent
8569a0a924
commit
ff8d23330b
2 changed files with 84 additions and 0 deletions
42
i18n/locales/en.yaml
Normal file
42
i18n/locales/en.yaml
Normal file
|
@ -0,0 +1,42 @@
|
|||
# /commands/start.py
|
||||
start_message: |
|
||||
Shirino is a telegram bot for converting fiat or cryptocurrency.
|
||||
The example of use occurs via inline query:
|
||||
`@{bot_username} USD RUB`
|
||||
`@{bot_username} 12 USD RUB`
|
||||
source_code_button: "Source Code"
|
||||
|
||||
# /commands/currency.py
|
||||
currency_example: |
|
||||
@{bot_username} USD RUB
|
||||
@{bot_username} 12 USD RUB
|
||||
error_not_enough_args: 2 or 3 arguments are required.
|
||||
error_invalid_number: "Please enter a valid number for the amount."
|
||||
error_negative_amount: "Negative amounts are not supported."
|
||||
error_currency_rate: "The currency exchange rate could not be determined."
|
||||
error_unknown_currency: "The source and target currency could not be determined."
|
||||
chart: "Chart"
|
||||
|
||||
# /commands/settings.py
|
||||
settings_title: "Bot Settings"
|
||||
setting_chart: "Chart Settings"
|
||||
setting_lang: "Change Language"
|
||||
back: "Back"
|
||||
choose_language: "Choose language:"
|
||||
language_set: "Language set: {lang}"
|
||||
chart_settings: "Chart Settings"
|
||||
status: "Status"
|
||||
period: "Period"
|
||||
enabled: "Enabled"
|
||||
disabled: "Disabled"
|
||||
chart_disable: "Disable Chart"
|
||||
chart_enable: "Enable Chart"
|
||||
chart_period: "Chart Period"
|
||||
chart_now_enabled: "Chart is now enabled"
|
||||
chart_now_disabled: "Chart is now disabled"
|
||||
choose_period: "Choose chart period:"
|
||||
period_set: "Chart period set to: {period}"
|
||||
week: "Week"
|
||||
month: "Month"
|
||||
quarter: "Quarter"
|
||||
year: "Year"
|
42
i18n/locales/ru.yaml
Normal file
42
i18n/locales/ru.yaml
Normal file
|
@ -0,0 +1,42 @@
|
|||
# /commads/start.py
|
||||
start_message: |
|
||||
Shirino — Telegram-бот для конвертации фиатных и криптовалют.
|
||||
Пример использования через inline-запрос:
|
||||
`@{bot_username} USD RUB`
|
||||
`@{bot_username} 12 USD RUB`
|
||||
source_code_button: "Исходный код"
|
||||
|
||||
# /commands/currency.py
|
||||
currency_example: |
|
||||
@{bot_username} USD RUB
|
||||
@{bot_username} 12 USD RUB
|
||||
error_not_enough_args: Необходимо ввести 2 или 3 аргумента.
|
||||
error_invalid_number: "Пожалуйста, введите правильное число для суммы."
|
||||
error_negative_amount: "Отрицательные суммы не поддерживаются."
|
||||
error_currency_rate: "Не удалось определить курс обмена валют."
|
||||
error_unknown_currency: "Не удалось определить исходную и целевую валюту."
|
||||
chart: "График"
|
||||
|
||||
# /commands/settings.py
|
||||
settings_title: "Настройки бота"
|
||||
setting_chart: "Настройка графиков"
|
||||
setting_lang: "Смена языка"
|
||||
back: "Назад"
|
||||
choose_language: "Выберите язык:"
|
||||
language_set: "Язык установлен: {lang}"
|
||||
chart_settings: "Настройки графика"
|
||||
status: "Статус"
|
||||
period: "Период"
|
||||
enabled: "Включён"
|
||||
disabled: "Выключен"
|
||||
chart_disable: "Выключить график"
|
||||
chart_enable: "Включить график"
|
||||
chart_period: "Период графика"
|
||||
chart_now_enabled: "График теперь включён"
|
||||
chart_now_disabled: "График теперь выключен"
|
||||
choose_period: "Выберите период графика:"
|
||||
period_set: "Период графика установлен: {period}"
|
||||
week: "Неделя"
|
||||
month: "Месяц"
|
||||
quarter: "Квартал"
|
||||
year: "Год"
|
Loading…
Add table
Reference in a new issue