Fix translation of fee levels

This commit is contained in:
Gustavo Maximiliano Cortez 2016-06-09 13:41:54 -03:00
commit 2c0c8c2106
No known key found for this signature in database
GPG key ID: 15EDAD8D9F2EB1AF

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() {