aboutsummaryrefslogtreecommitdiff
path: root/src/i18n/messages.js
diff options
context:
space:
mode:
authorEkaterina Vaartis <vaartis@cock.li>2018-08-25 13:12:33 +0300
committerEkaterina Vaartis <vaartis@cock.li>2018-08-25 13:29:49 +0300
commitc1e4bfa90ffa26e203ca61717b4fb99209ad0d99 (patch)
tree39a63cb4156cd08bcf960cff51be2de09c1d6af8 /src/i18n/messages.js
parent30a6b7be5bf53611bb65cbabd18ad003989df8e3 (diff)
Make interface language configurable from settings
The locale can now be configured in settings and is stored in Vuex. The changes are applied immidiately after selection. The list of languages is taken from the messages file, which contains all the available locales (and a new value, `interfaceLanguage`, to control the translation of this option in the options menu) Closes #36
Diffstat (limited to 'src/i18n/messages.js')
-rw-r--r--src/i18n/messages.js6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/i18n/messages.js b/src/i18n/messages.js
index a0b7f562..48b1389a 100644
--- a/src/i18n/messages.js
+++ b/src/i18n/messages.js
@@ -350,7 +350,8 @@ const en = {
default_vis: 'Default visibility scope',
profile_tab: 'Profile',
security_tab: 'Security',
- data_import_export_tab: 'Data Import / Export'
+ data_import_export_tab: 'Data Import / Export',
+ interfaceLanguage: 'Interface language'
},
notifications: {
notifications: 'Notifications',
@@ -1689,7 +1690,8 @@ const ru = {
profile_tab: 'Профиль',
security_tab: 'Безопасность',
data_import_export_tab: 'Импорт / Экспорт данных',
- collapse_subject: 'Сворачивать посты с темой'
+ collapse_subject: 'Сворачивать посты с темой',
+ interfaceLanguage: 'Язык интерфейса'
},
notifications: {
notifications: 'Уведомления',