mirror of
https://github.com/nextcloud/passman.git
synced 2025-10-29 23:05:56 +08:00
Change translation key
This commit is contained in:
parent
8193b6d9f1
commit
bc2e1d08ac
2 changed files with 2 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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 () {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue