Sha256: 20efc68a7e1ec5d040ed7a82d252fc9dde661a99e4db5269ade212e968a0b907

Contents?: true

Size: 358 Bytes

Versions: 264

Compression:

Stored size: 358 Bytes

Contents

/**
 * @ngdoc service
 * @name  Bastion.i18n.factory:translate
 *
 * @requires gettextCatalog
 *
 * @description
 *   Provides a wrapper for gettextCatalog.getString().
 */
angular.module('Bastion.i18n').service('translate', ['gettextCatalog', function (gettextCatalog) {
    return function (str) {
        return gettextCatalog.getString(str);
    };
}]);

Version data entries

264 entries across 264 versions & 2 rubygems

Version Path
bastion-5.0.1 app/assets/javascripts/bastion/i18n/translate.service.js
bastion-5.0.0 app/assets/javascripts/bastion/i18n/translate.service.js
bastion-4.3.1 app/assets/javascripts/bastion/i18n/translate.service.js
bastion-4.3.0 app/assets/javascripts/bastion/i18n/translate.service.js
bastion-4.2.2 app/assets/javascripts/bastion/i18n/translate.service.js
bastion-4.2.1 app/assets/javascripts/bastion/i18n/translate.service.js
bastion-4.2.0 app/assets/javascripts/bastion/i18n/translate.service.js
bastion-4.1.0 app/assets/javascripts/bastion/i18n/translate.service.js
bastion-4.0.0 app/assets/javascripts/bastion/i18n/translate.service.js
bastion-3.4.4 app/assets/javascripts/bastion/i18n/translate.service.js
bastion-3.4.3 app/assets/javascripts/bastion/i18n/translate.service.js
bastion-3.4.2 app/assets/javascripts/bastion/i18n/translate.service.js
bastion-3.4.1 app/assets/javascripts/bastion/i18n/translate.service.js
bastion-3.4.0 app/assets/javascripts/bastion/i18n/translate.service.js
bastion-3.3.6 app/assets/javascripts/bastion/i18n/translate.service.js
bastion-3.3.5 app/assets/javascripts/bastion/i18n/translate.service.js
bastion-3.3.4 app/assets/javascripts/bastion/i18n/translate.service.js
bastion-3.3.3 app/assets/javascripts/bastion/i18n/translate.service.js
bastion-3.3.2 app/assets/javascripts/bastion/i18n/translate.service.js
bastion-3.3.1 app/assets/javascripts/bastion/i18n/translate.service.js