Switched to toml for locales
This commit is contained in:
82
locales/eng.toml
Normal file
82
locales/eng.toml
Normal file
@ -0,0 +1,82 @@
|
||||
hide_button = "Hide"
|
||||
change_name_button = "Change name"
|
||||
change_login_button = "Change login"
|
||||
change_password_button = "Change password"
|
||||
delete_account_button = "Delete account"
|
||||
couldnt_get_user_info_send_again = "Couldn't get user information. Send the message again"
|
||||
unknown_command_use_help = "Unknown command. Use /help to get info on existing commands"
|
||||
help_command = """
|
||||
These commands are supported:
|
||||
|
||||
/start — displays the welcome message
|
||||
/help — displays this text
|
||||
/set_master_pass — sets the master password
|
||||
/menu — gives you a menu to manage your accounts
|
||||
/add_account — adds the account
|
||||
/get_account — gets the account
|
||||
/get_accounts — gets a list of accounts
|
||||
/delete — deletes the account
|
||||
/delete_all — deletes all the accounts and the master password
|
||||
/export — exports all the accounts in a json file
|
||||
/import — loads the accounts from a json file
|
||||
/gen_password — generates 10 secure passwords
|
||||
/cancel — cancels the current action
|
||||
/change_language - allows you to change the language"""
|
||||
no_file_send = "Expected you to send a file"
|
||||
file_too_large = "File is larger that 200 MiB. Please split it into multiple files"
|
||||
couldnt_get_file_name = "Couldn't get file name. Please try again"
|
||||
following_accounts_have_problems = "Following accounts have problems:"
|
||||
duplicate_names = "Duplicate names"
|
||||
accounts_already_in_db = "Accounts with these names already exist in the database"
|
||||
invalid_fields = "Accounts have invalid fields"
|
||||
fix_that_and_send_again = "Fix those errors and send the file again"
|
||||
error_downloading_file = "Error downloading the file"
|
||||
error_getting_account_names = "Error getting existing account names"
|
||||
error_parsing_json_file = "Error parsing the json file"
|
||||
successfully_canceled = "Successfully canceled"
|
||||
invalid_password = "The password is invalid. Change it and send it again"
|
||||
couldnt_get_message_text = "Couldn't get the text of the message. Send the message again"
|
||||
invalid_file_name = "Invalid file name. The program expected you to send a file with .json extension"
|
||||
account_already_exists = "Account with that names already exists"
|
||||
master_password_too_weak = "Master password is too weak"
|
||||
no_lowercase = "It doesn't have any lowercase characters"
|
||||
no_uppercase = "It doesn't have any uppercase characters"
|
||||
no_numbers = "It doesn't have any numbers"
|
||||
master_pass_too_short = "It is shorter than 8 characters"
|
||||
change_master_password_and_send_again = "Change the master password and send it again"
|
||||
wrong_master_password = "Wrong master password. Try again"
|
||||
invalid_login = "Invalid login. Change it and send it again"
|
||||
start_command = "Hi! This bot can be used to store the passwords securely. Use /help command to get the list of commands"
|
||||
master_password_dont_match = "Master password didn't match. Use the command again"
|
||||
success = "Success"
|
||||
send_master_password_again = "Send the master password again"
|
||||
master_password_is_set = "Master password has already been set"
|
||||
send_new_master_password = "Send new master password"
|
||||
no_accounts_found = "No accounts found"
|
||||
choose_account = "Choose the account"
|
||||
couldnt_create_following_accounts = "Couldn't create the following accounts"
|
||||
send_master_password = "Send the master password"
|
||||
something_went_wrong = "Something went wrong. Try again later"
|
||||
nothing_to_cancel = "Nothing to cancel"
|
||||
send_account_name = "Send account name"
|
||||
send_login = "Send login"
|
||||
error_deleting_message = "Error deleting the message"
|
||||
account_not_found = "Account wasn't found"
|
||||
send_new_name = "Send new name"
|
||||
send_new_login = "Send new login"
|
||||
send_new_password = "Send new password"
|
||||
send_json_file = "Send the json file to import"
|
||||
send_master_pass_to_delete_everything = "Send master password to delete EVERY ACCOUNT. THIS ACTION CANNOT BE UNDONE"
|
||||
everything_was_deleted = "Every account was deleted"
|
||||
send_password = "Send password"
|
||||
send_master_pass_to_delete_account = "Send the master password to delete the account"
|
||||
no_special_characters = "No special characters in the master password"
|
||||
invalid_name = "Invalid name"
|
||||
word_name = "Name"
|
||||
word_login = "Login"
|
||||
word_password = "Password"
|
||||
decrypt_button = "Decrypt"
|
||||
delete_message_button = "Delete message"
|
||||
menu_button = "Back to the menu"
|
||||
choose_language = "Choose the language"
|
||||
master_password_is_not_set = "Master password is not set. Use /cancel to cancel the current action and /set_master_pass to set it"
|
@ -1,82 +0,0 @@
|
||||
master_password_is_not_set: "Master password is not set. Use /cancel to cancel the current action and /set_master_pass to set it"
|
||||
hide_button: "Hide"
|
||||
change_name_button: "Change name"
|
||||
change_login_button: "Change login"
|
||||
change_password_button: "Change password"
|
||||
delete_account_button: "Delete account"
|
||||
couldnt_get_user_info_send_again: "Couldn't get user information. Send the message again"
|
||||
unknown_command_use_help: "Unknown command. Use /help to get info on existing commands"
|
||||
help_command: |
|
||||
These commands are supported:
|
||||
|
||||
/start — displays the welcome message
|
||||
/help — displays this text
|
||||
/set_master_pass — sets the master password
|
||||
/menu — gives you a menu to manage your accounts
|
||||
/add_account — adds the account
|
||||
/get_account — gets the account
|
||||
/get_accounts — gets a list of accounts
|
||||
/delete — deletes the account
|
||||
/delete_all — deletes all the accounts and the master password
|
||||
/export — exports all the accounts in a json file
|
||||
/import — loads the accounts from a json file
|
||||
/gen_password — generates 10 secure passwords
|
||||
/cancel — cancels the current action
|
||||
/change_language - allows you to change the language
|
||||
no_file_send: "Expected you to send a file"
|
||||
file_too_large: "File is larger that 200 MiB. Please split it into multiple files"
|
||||
couldnt_get_file_name: "Couldn't get file name. Please try again"
|
||||
following_accounts_have_problems: "Following accounts have problems:"
|
||||
duplicate_names: "Duplicate names"
|
||||
accounts_already_in_db: "Accounts with these names already exist in the database"
|
||||
invalid_fields: "Accounts have invalid fields"
|
||||
fix_that_and_send_again: "Fix those errors and send the file again"
|
||||
error_downloading_file: "Error downloading the file"
|
||||
error_getting_account_names: "Error getting existing account names"
|
||||
error_parsing_json_file: "Error parsing the json file"
|
||||
successfully_canceled: "Successfully canceled"
|
||||
invalid_password: "The password is invalid. Change it and send it again"
|
||||
couldnt_get_message_text: "Couldn't get the text of the message. Send the message again"
|
||||
invalid_file_name: "Invalid file name. The program expected you to send a file with .json extension"
|
||||
account_already_exists: "Account with that names already exists"
|
||||
master_password_too_weak: "Master password is too weak"
|
||||
no_lowercase: "It doesn't have any lowercase characters"
|
||||
no_uppercase: "It doesn't have any uppercase characters"
|
||||
no_numbers: "It doesn't have any numbers"
|
||||
master_pass_too_short: "It is shorter than 8 characters"
|
||||
change_master_password_and_send_again: "Change the master password and send it again"
|
||||
wrong_master_password: "Wrong master password. Try again"
|
||||
invalid_login: "Invalid login. Change it and send it again"
|
||||
start_command: "Hi! This bot can be used to store the passwords securely. Use /help command to get the list of commands"
|
||||
master_password_dont_match: "Master password didn't match. Use the command again"
|
||||
success: "Success"
|
||||
send_master_password_again: "Send the master password again"
|
||||
master_password_is_set: "Master password has already been set"
|
||||
send_new_master_password: "Send new master password"
|
||||
no_accounts_found: "No accounts found"
|
||||
choose_account: "Choose the account"
|
||||
couldnt_create_following_accounts: "Couldn't create the following accounts"
|
||||
send_master_password: "Send the master password"
|
||||
something_went_wrong: "Something went wrong. Try again later"
|
||||
nothing_to_cancel: "Nothing to cancel"
|
||||
send_account_name: "Send account name"
|
||||
send_login: "Send login"
|
||||
error_deleting_message: "Error deleting the message"
|
||||
account_not_found: "Account wasn't found"
|
||||
send_new_name: "Send new name"
|
||||
send_new_login: "Send new login"
|
||||
send_new_password: "Send new password"
|
||||
send_json_file: "Send the json file to import"
|
||||
send_master_pass_to_delete_everything: "Send master password to delete EVERY ACCOUNT. THIS ACTION CANNOT BE UNDONE"
|
||||
everything_was_deleted: "Every account was deleted"
|
||||
send_password: "Send password"
|
||||
send_master_pass_to_delete_account: "Send the master password to delete the account"
|
||||
no_special_characters: "No special characters in the master password"
|
||||
invalid_name: "Invalid name"
|
||||
word_name: "Name"
|
||||
word_login: "Login"
|
||||
word_password: "Password"
|
||||
decrypt_button: "Decrypt"
|
||||
delete_message_button: "Delete message"
|
||||
menu_button: "Back to the menu"
|
||||
choose_language: "Choose the language"
|
82
locales/ru.toml
Normal file
82
locales/ru.toml
Normal file
@ -0,0 +1,82 @@
|
||||
master_password_is_not_set = "Мастер-пароль не установлен. Используйте /cancel, чтобы отменить текущее действие, и /set_master_pass, чтобы установить его"
|
||||
hide_button = "Скрыть"
|
||||
change_name_button = "Изменить имя"
|
||||
change_login_button = "Изменить логин"
|
||||
change_password_button = "Изменить пароль"
|
||||
delete_account_button = "Удалить аккаунт"
|
||||
couldnt_get_user_info_send_again = "Не удалось получить информацию о пользователе. Отправьте сообщение еще раз"
|
||||
unknown_command_use_help = "Неизвестная команда. Используйте /help, чтобы получить информацию о существующих командах"
|
||||
help_command = """
|
||||
Поддерживаются следующие команды=
|
||||
|
||||
/start — отображает приветственное сообщение
|
||||
/help — отображает этот текст
|
||||
/set_master_pass — устанавливает мастер-пароль
|
||||
/menu — предоставляет меню для управления вашими аккаунтами
|
||||
/add_account — добавляет аккаунт
|
||||
/get_account — получает аккаунт
|
||||
/get_accounts — получает список аккаунтов
|
||||
/delete — удаляет аккаунт
|
||||
/delete_all — удаляет все аккаунты и мастер-пароль
|
||||
/export — экспортирует все аккаунты в файл json
|
||||
/import — загружает аккаунты из файла json
|
||||
/gen_password — генерирует 10 сложных паролей
|
||||
/cancel — отменяет текущее действие
|
||||
/change_language - позволяет изменить язык"""
|
||||
no_file_send = "Ожидалось, что вы отправите файл"
|
||||
file_too_large = "Файл больше 200 MiB. Пожалуйста, разделите его на несколько файлов"
|
||||
couldnt_get_file_name = "Не удалось получить имя файла. Пожалуйста, попробуйте еще раз"
|
||||
following_accounts_have_problems = "У следующих аккаунтов есть проблемы:"
|
||||
duplicate_names = "Дублирующиеся названия"
|
||||
accounts_already_in_db = "Аккаунты с такими названиями уже существуют в базе данных"
|
||||
invalid_fields = "Аккаунты имеют недопустимые поля"
|
||||
fix_that_and_send_again = "Исправьте эти ошибки и отправьте файл снова"
|
||||
error_downloading_file = "Ошибка загрузки файла"
|
||||
error_getting_account_names = "Ошибка получения существующих названий аккаунтов"
|
||||
error_parsing_json_file = "Ошибка разбора файла json"
|
||||
successfully_canceled = "Успешная отменена"
|
||||
invalid_password = "Неверный пароль. Измените его и отправьте снова"
|
||||
couldnt_get_message_text = "Не удалось получить текст сообщения. Отправьте сообщение еще раз"
|
||||
invalid_file_name = "Недопустимое название файла. Программа ожидала, что вы отправите файл с расширением .json"
|
||||
account_already_exists = "Аккаунт с таким названием уже существует"
|
||||
master_password_too_weak = "Мастер-пароль слишком слабый"
|
||||
no_lowercase = "Отсутствуют строчные буквы"
|
||||
no_uppercase = "Отсутствуют заглавные буквы"
|
||||
no_numbers = "Отсутствуют цифры"
|
||||
master_pass_too_short = "Меньше 8 символов"
|
||||
change_master_password_and_send_again = "Измените мастер-пароль и отправьте его снова"
|
||||
wrong_master_password = "Неверный мастер-пароль. Попробуйте снова"
|
||||
invalid_login = "Недопустимый логин. Измените его и отправьте снова"
|
||||
start_command = "Привет! Этот бот предназначен для безопасного хранения паролей. Используйте команду /help, чтобы получить список команд"
|
||||
master_password_dont_match = "Мастер-пароли не совпадают. Используйте команду снова"
|
||||
success = "Успех"
|
||||
send_master_password_again = "Отправьте мастер-пароль снова"
|
||||
master_password_is_set = "Мастер-пароль уже установлен"
|
||||
send_new_master_password = "Отправьте новый мастер-пароль"
|
||||
no_accounts_found = "Аккаунты не найдены"
|
||||
choose_account = "Выберите аккаунт"
|
||||
couldnt_create_following_accounts = "Не удалось создать следующие аккаунты"
|
||||
send_master_password = "Отправьте мастер-пароль"
|
||||
something_went_wrong = "Что-то пошло не так. Попробуйте еще раз позже"
|
||||
nothing_to_cancel = "Нечего отменять"
|
||||
send_account_name = "Отправьте название аккаунта"
|
||||
send_login = "Отправьте логин"
|
||||
error_deleting_message = "Ошибка удаления сообщения"
|
||||
account_not_found = "Аккаунт не найден"
|
||||
send_new_name = "Отправьте новое название"
|
||||
send_new_login = "Отправьте новый логин"
|
||||
send_new_password = "Отправьте новый пароль"
|
||||
send_json_file = "Отправьте файл json для импорта"
|
||||
send_master_pass_to_delete_everything = "Отправьте мастер-пароль, чтобы удалить ВСЕ АККАУНТЫ. ЭТО ДЕЙСТВИЕ НЕЛЬЗЯ ОТМЕНИТЬ"
|
||||
everything_was_deleted = "Все аккаунты были удалены"
|
||||
send_password = "Отправьте пароль"
|
||||
send_master_pass_to_delete_account = "Отправьте мастер-пароль, чтобы удалить аккаунт"
|
||||
no_special_characters = "Нет специальных символов в мастер-пароле"
|
||||
invalid_name = "Недопустимое название"
|
||||
word_name = "Название"
|
||||
word_login = "Логин"
|
||||
word_password = "Пароль"
|
||||
decrypt_button = "Дешифровать"
|
||||
delete_message_button = "Удалить сообщение"
|
||||
menu_button = "Назад в меню"
|
||||
choose_language = "Выберете язык"
|
@ -1,82 +0,0 @@
|
||||
master_password_is_not_set: "Мастер-пароль не установлен. Используйте /cancel, чтобы отменить текущее действие, и /set_master_pass, чтобы установить его"
|
||||
hide_button: "Скрыть"
|
||||
change_name_button: "Изменить имя"
|
||||
change_login_button: "Изменить логин"
|
||||
change_password_button: "Изменить пароль"
|
||||
delete_account_button: "Удалить аккаунт"
|
||||
couldnt_get_user_info_send_again: "Не удалось получить информацию о пользователе. Отправьте сообщение еще раз"
|
||||
unknown_command_use_help: "Неизвестная команда. Используйте /help, чтобы получить информацию о существующих командах"
|
||||
help_command: |
|
||||
Поддерживаются следующие команды:
|
||||
|
||||
/start — отображает приветственное сообщение
|
||||
/help — отображает этот текст
|
||||
/set_master_pass — устанавливает мастер-пароль
|
||||
/menu — предоставляет меню для управления вашими аккаунтами
|
||||
/add_account — добавляет аккаунт
|
||||
/get_account — получает аккаунт
|
||||
/get_accounts — получает список аккаунтов
|
||||
/delete — удаляет аккаунт
|
||||
/delete_all — удаляет все аккаунты и мастер-пароль
|
||||
/export — экспортирует все аккаунты в файл json
|
||||
/import — загружает аккаунты из файла json
|
||||
/gen_password — генерирует 10 сложных паролей
|
||||
/cancel — отменяет текущее действие
|
||||
/change_language - позволяет изменить язык
|
||||
no_file_send: "Ожидалось, что вы отправите файл"
|
||||
file_too_large: "Файл больше 200 MiB. Пожалуйста, разделите его на несколько файлов"
|
||||
couldnt_get_file_name: "Не удалось получить имя файла. Пожалуйста, попробуйте еще раз"
|
||||
following_accounts_have_problems: "У следующих аккаунтов есть проблемы:"
|
||||
duplicate_names: "Дублирующиеся названия"
|
||||
accounts_already_in_db: "Аккаунты с такими названиями уже существуют в базе данных"
|
||||
invalid_fields: "Аккаунты имеют недопустимые поля"
|
||||
fix_that_and_send_again: "Исправьте эти ошибки и отправьте файл снова"
|
||||
error_downloading_file: "Ошибка загрузки файла"
|
||||
error_getting_account_names: "Ошибка получения существующих названий аккаунтов"
|
||||
error_parsing_json_file: "Ошибка разбора файла json"
|
||||
successfully_canceled: "Успешная отменена"
|
||||
invalid_password: "Неверный пароль. Измените его и отправьте снова"
|
||||
couldnt_get_message_text: "Не удалось получить текст сообщения. Отправьте сообщение еще раз"
|
||||
invalid_file_name: "Недопустимое название файла. Программа ожидала, что вы отправите файл с расширением .json"
|
||||
account_already_exists: "Аккаунт с таким названием уже существует"
|
||||
master_password_too_weak: "Мастер-пароль слишком слабый"
|
||||
no_lowercase: "Отсутствуют строчные буквы"
|
||||
no_uppercase: "Отсутствуют заглавные буквы"
|
||||
no_numbers: "Отсутствуют цифры"
|
||||
master_pass_too_short: "Меньше 8 символов"
|
||||
change_master_password_and_send_again: "Измените мастер-пароль и отправьте его снова"
|
||||
wrong_master_password: "Неверный мастер-пароль. Попробуйте снова"
|
||||
invalid_login: "Недопустимый логин. Измените его и отправьте снова"
|
||||
start_command: "Привет! Этот бот предназначен для безопасного хранения паролей. Используйте команду /help, чтобы получить список команд"
|
||||
master_password_dont_match: "Мастер-пароли не совпадают. Используйте команду снова"
|
||||
success: "Успех"
|
||||
send_master_password_again: "Отправьте мастер-пароль снова"
|
||||
master_password_is_set: "Мастер-пароль уже установлен"
|
||||
send_new_master_password: "Отправьте новый мастер-пароль"
|
||||
no_accounts_found: "Аккаунты не найдены"
|
||||
choose_account: "Выберите аккаунт"
|
||||
couldnt_create_following_accounts: "Не удалось создать следующие аккаунты"
|
||||
send_master_password: "Отправьте мастер-пароль"
|
||||
something_went_wrong: "Что-то пошло не так. Попробуйте еще раз позже"
|
||||
nothing_to_cancel: "Нечего отменять"
|
||||
send_account_name: "Отправьте название аккаунта"
|
||||
send_login: "Отправьте логин"
|
||||
error_deleting_message: "Ошибка удаления сообщения"
|
||||
account_not_found: "Аккаунт не найден"
|
||||
send_new_name: "Отправьте новое название"
|
||||
send_new_login: "Отправьте новый логин"
|
||||
send_new_password: "Отправьте новый пароль"
|
||||
send_json_file: "Отправьте файл json для импорта"
|
||||
send_master_pass_to_delete_everything: "Отправьте мастер-пароль, чтобы удалить ВСЕ АККАУНТЫ. ЭТО ДЕЙСТВИЕ НЕЛЬЗЯ ОТМЕНИТЬ"
|
||||
everything_was_deleted: "Все аккаунты были удалены"
|
||||
send_password: "Отправьте пароль"
|
||||
send_master_pass_to_delete_account: "Отправьте мастер-пароль, чтобы удалить аккаунт"
|
||||
no_special_characters: "Нет специальных символов в мастер-пароле"
|
||||
invalid_name: "Недопустимое название"
|
||||
word_name: "Название"
|
||||
word_login: "Логин"
|
||||
word_password: "Пароль"
|
||||
decrypt_button: "Дешифровать"
|
||||
delete_message_button: "Удалить сообщение"
|
||||
menu_button: "Назад в меню"
|
||||
choose_language: "Выберете язык"
|
Reference in New Issue
Block a user