diff options
author | Andrew Manning <tamanning@zoho.com> | 2016-08-14 06:46:48 -0400 |
---|---|---|
committer | Andrew Manning <tamanning@zoho.com> | 2016-08-14 06:46:48 -0400 |
commit | cb9ac6dd3435a429a58250d326ff76ca5f97398a (patch) | |
tree | 82bf6f9019fa821b220ea3182e8e41e7f636f16c /view | |
parent | 2e7f4c1870dcd8ce05329b80d97be1269ff2a1a7 (diff) | |
download | volse-hubzilla-cb9ac6dd3435a429a58250d326ff76ca5f97398a.tar.gz volse-hubzilla-cb9ac6dd3435a429a58250d326ff76ca5f97398a.tar.bz2 volse-hubzilla-cb9ac6dd3435a429a58250d326ff76ca5f97398a.zip |
Replace hardcoded button title in javascript to translatable text
Diffstat (limited to 'view')
-rwxr-xr-x | view/tpl/jot-header.tpl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/view/tpl/jot-header.tpl b/view/tpl/jot-header.tpl index 32d5cae03..3d38df0f0 100755 --- a/view/tpl/jot-header.tpl +++ b/view/tpl/jot-header.tpl @@ -375,12 +375,12 @@ function enableOnUser(){ if($('#jot-nocomment').val() > 0) { $('#jot-nocomment').val(0); $('#profile-nocomment, #profile-nocomment-sub').removeClass('fa-comments-o').addClass('fa-comments'); - $('#profile-nocomment-wrapper').attr('title', 'Comments enabled'); + $('#profile-nocomment-wrapper').attr('title', '{{$nocomment_enabled}}'); } else { $('#jot-nocomment').val(1); $('#profile-nocomment, #profile-nocomment-sub').removeClass('fa-comments').addClass('fa-comments-o'); - $('#profile-nocomment-wrapper').attr('title', 'Comments disabled'); + $('#profile-nocomment-wrapper').attr('title', '{{$nocomment_disabled}}'); } } |