Fix translation of fee levels

This commit is contained in:
Gustavo Maximiliano Cortez 2016-06-09 13:41:54 -03:00
parent a0c64ea88d
commit 2c0c8c2106
No known key found for this signature in database
GPG Key ID: 15EDAD8D9F2EB1AF
1 changed files with 5 additions and 5 deletions

View File

@ -1,14 +1,14 @@
'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 = {};
// Constant fee options to translate
root.feeOpts = {
priority: gettextCatalog.getString('Priority'),
normal: gettextCatalog.getString('Normal'),
economy: gettextCatalog.getString('Economy'),
superEconomy: gettextCatalog.getString('Super Economy')
priority: gettext('Priority'),
normal: gettext('Normal'),
economy: gettext('Economy'),
superEconomy: gettext('Super Economy')
};
root.getCurrentFeeLevel = function() {