add Polish to menu

This commit is contained in:
Jarosław Maciejewski 2016-02-02 16:30:15 +01:00
parent e3c4ca671e
commit 10a6ae7cdc
2 changed files with 7 additions and 0 deletions

View File

@ -79,6 +79,7 @@
<script src="js/translate/en_US.js"></script>
<script src="js/translate/th_TH.js"></script>
<script src="js/translate/zh_CN.js"></script>
<script src="js/translate/pl_PL.js"></script>
</head>
<!-- }}} -->
@ -238,6 +239,11 @@
ng-click="changeLanguage('zh_CN')"
href="#"><span class="fa fa-fw flag-icon flag-icon-cn">&nbsp;</span> 简体中文</a>
</li>
<li>
<a
ng-click="changeLanguage('pl_PL')"
href="#"><span class="fa fa-fw flag-icon flag-icon-pl">&nbsp;</span> Polish</a>
</li>
</ul>
</li>
</ul>

View File

@ -33,6 +33,7 @@ webui.config(['$translateProvider', function ($translateProvider) {
.translations('nl_NL', mergeTranslation(translations.nl_NL, translations.en_US))
.translations('th_TH', mergeTranslation(translations.th_TH, translations.en_US))
.translations('zh_CN', mergeTranslation(translations.zh_CN, translations.en_US))
.translations('pl_PL', mergeTranslation(translations.pl_PL, translations.en_US))
.determinePreferredLanguage();
}]);