Commit 5cf35dae945d69ba2e7ee9b28686389134369018

Authored by Vladyslav
Committed by GitHub
1 parent cb2278ed

Add delete translate and change setting name (#2546)

@@ -119,7 +119,7 @@ function GatewayFormController($scope, $injector, $document, $mdExpansionPanel, @@ -119,7 +119,7 @@ function GatewayFormController($scope, $injector, $document, $mdExpansionPanel,
119 vm.ctx.widgetTitle = widgetTitle; 119 vm.ctx.widgetTitle = widgetTitle;
120 120
121 archiveFileName = vm.settings.archiveFileName && vm.settings.archiveFileName.length ? vm.settings.archiveFileName : 'gatewayConfiguration'; 121 archiveFileName = vm.settings.archiveFileName && vm.settings.archiveFileName.length ? vm.settings.archiveFileName : 'gatewayConfiguration';
122 - gatewayNameExists = utils.customTranslation(vm.settings.deviceNameExist, vm.settings.deviceNameExist) || $translate.instant('gateway.gateway-exists'); 122 + gatewayNameExists = utils.customTranslation(vm.settings.gatewayNameExists, vm.settings.gatewayNameExists) || $translate.instant('gateway.gateway-exists');
123 successfulSaved = utils.customTranslation(vm.settings.successfulSave, vm.settings.successfulSave) || $translate.instant('gateway.gateway-saved'); 123 successfulSaved = utils.customTranslation(vm.settings.successfulSave, vm.settings.successfulSave) || $translate.instant('gateway.gateway-saved');
124 } 124 }
125 125
@@ -50,7 +50,8 @@ @@ -50,7 +50,8 @@
50 "export": "Export", 50 "export": "Export",
51 "share-via": "Share via {{provider}}", 51 "share-via": "Share via {{provider}}",
52 "continue": "Continue", 52 "continue": "Continue",
53 - "discard-changes": "Discard Changes" 53 + "discard-changes": "Discard Changes",
  54 + "download": "Download"
54 }, 55 },
55 "aggregation": { 56 "aggregation": {
56 "aggregation": "Aggregation", 57 "aggregation": "Aggregation",