mirror of
https://github.com/gyurix1968/guacamole-client.git
synced 2025-09-07 21:51:23 +00:00
GUAC-1053: Use US English as a failsafe.
This commit is contained in:
@@ -25,9 +25,12 @@
|
|||||||
*/
|
*/
|
||||||
angular.module('index').config(['$translateProvider', function($translateProvider) {
|
angular.module('index').config(['$translateProvider', function($translateProvider) {
|
||||||
|
|
||||||
// Use US English by default
|
// TODONT: Use US English by default (this should come from preferences)
|
||||||
$translateProvider.preferredLanguage('en_US');
|
$translateProvider.preferredLanguage('en_US');
|
||||||
|
|
||||||
|
// Use US English for any undefined strings
|
||||||
|
$translateProvider.fallbackLanguage('en_US');
|
||||||
|
|
||||||
// Load translations from static JSON files
|
// Load translations from static JSON files
|
||||||
$translateProvider.useStaticFilesLoader({
|
$translateProvider.useStaticFilesLoader({
|
||||||
prefix: 'translations/',
|
prefix: 'translations/',
|
||||||
|
Reference in New Issue
Block a user