mirror of
https://github.com/openstf/stf
synced 2025-10-04 10:19:30 +02:00
13 lines
No EOL
371 B
JavaScript
13 lines
No EOL
371 B
JavaScript
angular.module('gettext').run(['gettextCatalog', function (gettextCatalog) {
|
|
// Load all supported languages
|
|
angular.forEach(require('./langs'), function (value, key) {
|
|
if (key !== 'en') {
|
|
gettextCatalog.setStrings(key,
|
|
require('./translations/stf.' + key + '.json')[key])
|
|
}
|
|
})
|
|
}])
|
|
|
|
module.exports = angular.module('stf/lang', [
|
|
'gettext'
|
|
]) |