From 1e5d7cadfd3ab0b0fba6e02a11fb203123ad8773 Mon Sep 17 00:00:00 2001 From: Epaminond Date: Sun, 24 Jan 2016 22:43:16 +0200 Subject: [PATCH] Use fixed accountsUIBootstrap3 to set uk lang --- .meteor/versions | 2 +- client/startup/set_user_language.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.meteor/versions b/.meteor/versions index e021ae11..e5ade13d 100644 --- a/.meteor/versions +++ b/.meteor/versions @@ -42,7 +42,7 @@ hot-code-push@1.0.0 html-tools@1.0.5 htmljs@1.0.5 http@1.1.1 -ian:accounts-ui-bootstrap-3@1.2.81 +ian:accounts-ui-bootstrap-3@1.2.88 id-map@1.0.4 iron:controller@1.0.12 iron:core@1.0.11 diff --git a/client/startup/set_user_language.js b/client/startup/set_user_language.js index 87ac3e1b..21d56dad 100644 --- a/client/startup/set_user_language.js +++ b/client/startup/set_user_language.js @@ -12,7 +12,7 @@ Meteor.startup(function() { TAPi18n.setLanguage(language); moment.locale(language); - accountsUIBootstrap3.setLanguage(language === 'uk' ? 'ua' : language); + accountsUIBootstrap3.setLanguage(language); if ( !((Meteor.user() || {}).profile || {}).weekDow ) return; moment.locale(Meteor.user().profile.language, {