From bc2e1d08acb18e857376e36f53207de9637f7543 Mon Sep 17 00:00:00 2001 From: brantje Date: Wed, 21 Dec 2016 14:18:25 +0100 Subject: [PATCH] Change translation key --- controller/translationcontroller.php | 2 +- js/app/directives/credentialfield.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/controller/translationcontroller.php b/controller/translationcontroller.php index a6c8f8a0..e9773250 100644 --- a/controller/translationcontroller.php +++ b/controller/translationcontroller.php @@ -97,7 +97,7 @@ class TranslationController extends ApiController { // js/app/directives/credentialfield.js 'toggle.visibility' => $this->trans->t('Toggle visibility'), - 'copy' => $this->trans->t('Copy to clipboard'), + 'copy.field' => $this->trans->t('Copy to clipboard'), 'copied' => $this->trans->t('Copied to clipboard!'), // js/app/directives/passwordgen.js diff --git a/js/app/directives/credentialfield.js b/js/app/directives/credentialfield.js index ae380236..aa8ad159 100644 --- a/js/app/directives/credentialfield.js +++ b/js/app/directives/credentialfield.js @@ -54,7 +54,7 @@ var regex = new RegExp(expression); $translate(['toggle.visibility', 'copy', 'copied']).then(function (translations) { scope.tggltxt = translations['toggle.visibility']; - scope.copy_msg = translations['copy']; + scope.copy_msg = translations['copy.field']; }); scope.$watch("value", function () {