diff --git a/js/app/directives/credentialfield.js b/js/app/directives/credentialfield.js index fbf7905e..44a6c276 100644 --- a/js/app/directives/credentialfield.js +++ b/js/app/directives/credentialfield.js @@ -50,12 +50,12 @@ '
' + '
' + '
' + - '
' + + '
' + '
', link: function (scope) { var expression = /(https?:\/\/(?:www\.|(?!www))[^\s\.]+\.[^\s]{2,}|www\.[^\s]+\.[^\s]{2,})/gi; var regex = new RegExp(expression); - $translate(['toggle.visibility', 'copy', 'copied']).then(function (translations) { + $translate(['toggle.visibility','copy.field', 'copy', 'copied']).then(function (translations) { scope.tggltxt = translations['toggle.visibility']; scope.copy_msg = translations['copy.field']; });