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