Merge pull request #4327 from cmgustavo/bug/translate-fee-policy

Fix translation of fee levels
This commit is contained in:
Matias Alejo Garcia 2016-06-09 13:44:17 -03:00
commit ef822f5bad

View file

@ -1,14 +1,14 @@
'use strict'; 'use strict';
angular.module('copayApp.services').factory('feeService', function($log, bwcService, profileService, configService, gettextCatalog, lodash) { angular.module('copayApp.services').factory('feeService', function($log, bwcService, profileService, configService, gettext, lodash) {
var root = {}; var root = {};
// Constant fee options to translate // Constant fee options to translate
root.feeOpts = { root.feeOpts = {
priority: gettextCatalog.getString('Priority'), priority: gettext('Priority'),
normal: gettextCatalog.getString('Normal'), normal: gettext('Normal'),
economy: gettextCatalog.getString('Economy'), economy: gettext('Economy'),
superEconomy: gettextCatalog.getString('Super Economy') superEconomy: gettext('Super Economy')
}; };
root.getCurrentFeeLevel = function() { root.getCurrentFeeLevel = function() {