1
0
Fork 0
mirror of https://github.com/openstf/stf synced 2025-10-04 10:19:30 +02:00
OpenSTF/res/common/lang/index.js
2014-03-26 23:45:09 +09:00

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'
])