diff --git a/public/views/preferences.html b/public/views/preferences.html index c8753e221..6f3c7db24 100644 --- a/public/views/preferences.html +++ b/public/views/preferences.html @@ -81,7 +81,7 @@ Bitcoin Network Fee Policy - {{index.currentFeeLevel}} + {{index.currentFeeLevel|translate}}
  • diff --git a/public/views/preferencesFee.html b/public/views/preferencesFee.html index b0c740745..a1c2c4c84 100644 --- a/public/views/preferencesFee.html +++ b/public/views/preferencesFee.html @@ -7,7 +7,7 @@ diff --git a/src/js/services/feeService.js b/src/js/services/feeService.js index d37df45a7..c76c76223 100644 --- a/src/js/services/feeService.js +++ b/src/js/services/feeService.js @@ -1,8 +1,15 @@ 'use strict'; -angular.module('copayApp.services').factory('feeService', function($log, profileService, configService) { +angular.module('copayApp.services').factory('feeService', function($log, profileService, configService, gettextCatalog) { var root = {}; + // Constant fee options to translate + var feeOpts = [ + gettextCatalog.getString('priority'), + gettextCatalog.getString('normal'), + gettextCatalog.getString('economy') + ]; + root.getCurrentFeeValue = function(cb) { var fc = profileService.focusedClient; var config = configService.getSync().wallet.settings;