Skip to content

Commit

Permalink
activating ru-RU
Browse files Browse the repository at this point in the history
  • Loading branch information
backpacker69 committed Feb 8, 2019
1 parent ee4bbf7 commit 921ed45
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion app/assets/sw.js
Expand Up @@ -21,7 +21,8 @@ const urlsToCache = [
'/locales/en-US.json',
'/locales/pt-BR.json',
'/locales/de-DE.json',
'/locales/pl-PL.json'
'/locales/pl-PL.json',
'/locales/ru-RU.json'
];

// The install handler takes care of precaching the resources we always need.
Expand Down
2 changes: 1 addition & 1 deletion app/initialize.js
Expand Up @@ -10,7 +10,7 @@ document.addEventListener('DOMContentLoaded', main);
function main () {
registerSW();

window['allowedLanguages'] = ['en-US', 'pt-BR', 'de-DE', 'pl-PL'];
window['allowedLanguages'] = ['en-US', 'pt-BR', 'de-DE', 'pl-PL', 'ru-RU'];
const allowedLanguages = window['allowedLanguages'];
let language = localStorage.getItem('ppc-user-language') || navigator.language || 'en-US';

Expand Down

0 comments on commit 921ed45

Please sign in to comment.