Browse Source

Merge branch 'master' into develop/3.0

pull/2562/head
Igor Kulikov 7 years ago
parent
commit
1077def2f5
  1. 2
      tools/src/main/shell/client.keygen.sh
  2. 4
      tools/src/main/shell/server.keygen.sh
  3. 2
      ui/src/app/components/gateway/gateway-form.directive.js
  4. 3
      ui/src/app/locale/locale.constant-en_US.json

2
tools/src/main/shell/client.keygen.sh

@ -20,7 +20,7 @@ usage() {
echo "and imports server public key to client keystore" echo "and imports server public key to client keystore"
echo "usage: ./client.keygen.sh [-p file]" echo "usage: ./client.keygen.sh [-p file]"
echo " -p | --props | --properties file Properties file. default value is ./keygen.properties" echo " -p | --props | --properties file Properties file. default value is ./keygen.properties"
echo " -h | --help | ? Show this message" echo " -h | --help | ? Show this message"
} }
PROPERTIES_FILE=keygen.properties PROPERTIES_FILE=keygen.properties

4
tools/src/main/shell/server.keygen.sh

@ -23,7 +23,7 @@ usage() {
echo " -d | --dir directory Server keystore directory, where the generated keystore file will be copied. If specified, overrides the value from the properties file" echo " -d | --dir directory Server keystore directory, where the generated keystore file will be copied. If specified, overrides the value from the properties file"
echo " Default value is SERVER_KEYSTORE_DIR property from properties file" echo " Default value is SERVER_KEYSTORE_DIR property from properties file"
echo " -p | --props | --properties file Properties file. default value is ./keygen.properties" echo " -p | --props | --properties file Properties file. default value is ./keygen.properties"
echo " -h | --help | ? Show this message" echo " -h | --help | ? Show this message"
} }
COPY=true; COPY=true;
@ -155,4 +155,4 @@ if [[ $COPY = true ]]; then
fi fi
fi fi
fi fi
echo "Done." echo "Done."

2
ui/src/app/components/gateway/gateway-form.directive.js

@ -119,7 +119,7 @@ function GatewayFormController($scope, $injector, $document, $mdExpansionPanel,
vm.ctx.widgetTitle = widgetTitle; vm.ctx.widgetTitle = widgetTitle;
archiveFileName = vm.settings.archiveFileName && vm.settings.archiveFileName.length ? vm.settings.archiveFileName : 'gatewayConfiguration'; archiveFileName = vm.settings.archiveFileName && vm.settings.archiveFileName.length ? vm.settings.archiveFileName : 'gatewayConfiguration';
gatewayNameExists = utils.customTranslation(vm.settings.deviceNameExist, vm.settings.deviceNameExist) || $translate.instant('gateway.gateway-exists'); gatewayNameExists = utils.customTranslation(vm.settings.gatewayNameExists, vm.settings.gatewayNameExists) || $translate.instant('gateway.gateway-exists');
successfulSaved = utils.customTranslation(vm.settings.successfulSave, vm.settings.successfulSave) || $translate.instant('gateway.gateway-saved'); successfulSaved = utils.customTranslation(vm.settings.successfulSave, vm.settings.successfulSave) || $translate.instant('gateway.gateway-saved');
} }

3
ui/src/app/locale/locale.constant-en_US.json

@ -50,7 +50,8 @@
"export": "Export", "export": "Export",
"share-via": "Share via {{provider}}", "share-via": "Share via {{provider}}",
"continue": "Continue", "continue": "Continue",
"discard-changes": "Discard Changes" "discard-changes": "Discard Changes",
"download": "Download"
}, },
"aggregation": { "aggregation": {
"aggregation": "Aggregation", "aggregation": "Aggregation",

Loading…
Cancel
Save