Change translation key

This commit is contained in:
brantje 2016-12-21 14:18:25 +01:00
parent 8193b6d9f1
commit bc2e1d08ac
No known key found for this signature in database
GPG key ID: 5FF1D117F918687F
2 changed files with 2 additions and 2 deletions

View file

@ -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

View file

@ -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 () {