aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--include/conversation.php2
-rwxr-xr-xview/tpl/jot-header.tpl4
2 files changed, 4 insertions, 2 deletions
diff --git a/include/conversation.php b/include/conversation.php
index de917c44e..567336646 100644
--- a/include/conversation.php
+++ b/include/conversation.php
@@ -1194,6 +1194,8 @@ function status_editor($a, $x, $popup = false) {
'$modalerrorlist' => t('Error getting album list'),
'$modalerrorlink' => t('Error getting photo link'),
'$modalerroralbum' => t('Error getting album'),
+ '$nocomment_enabled' => t('Comments enabled'),
+ '$nocomment_disabled' => t('Comments disabled'),
));
$tpl = get_markup_template('jot.tpl');
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}}');
}
}