From 6b2b8e81e631a1fec44bdb94d5177cf5c56287c9 Mon Sep 17 00:00:00 2001 From: Serghei Iakovlev Date: Sat, 28 May 2022 15:15:11 +0200 Subject: Added multilanguage support --- i18n/en.toml | 38 ++++++++++++++++++++++++++++++++++++++ i18n/ru.toml | 38 ++++++++++++++++++++++++++++++++++++++ 2 files changed, 76 insertions(+) create mode 100644 i18n/en.toml create mode 100644 i18n/ru.toml (limited to 'i18n') diff --git a/i18n/en.toml b/i18n/en.toml new file mode 100644 index 0000000..5792b4a --- /dev/null +++ b/i18n/en.toml @@ -0,0 +1,38 @@ +[home] + other = 'Home' + +[top] + other = 'Return to Top' + +[more] + other = 'Read more...' + +[updated_at] + other = 'Updated at' + +[latest_publications] + other = 'Latest publications' + +[your_name] + other = 'Your name' + +[email_addres] + other = 'Email address' + +[message] + other = 'Message' + +[edited_by] + other = 'Edited by {{ . }}' + +[404_title] + other = 'Page not found' + +[404_description] + other = "Sorry, we've misplaced that URL or it's pointing to something that doesn't exist." + +[404_back] + other = 'Head back home to try finding it again' + +[by] + other = 'by {{ . }}' diff --git a/i18n/ru.toml b/i18n/ru.toml new file mode 100644 index 0000000..102c34d --- /dev/null +++ b/i18n/ru.toml @@ -0,0 +1,38 @@ +[home] + other = 'На главную' + +[top] + other = 'Вернуться наверх' + +[more] + other = 'Далее...' + +[updated_at] + other = 'Обновлено' + +[latest_publications] + other = 'Последние публикации' + +[your_name] + other = 'Ваше имя' + +[email_addres] + other = 'Email' + +[message] + other = 'Сообщение' + +[edited_by] + other = 'Редактор {{ . }}' + +[404_title] + other = 'Страница не найдена' + +[404_description] + other = 'Извините, мы потеряли этот адрес или он указывает на что-то несуществующее.' + +[404_back] + other = 'Вернитесь на главную, чтобы попытаться найти страницу снова' + +[by] + other = '{{ . }}' -- cgit v1.2.3