Commit a94d0121 by Scott Committed by GitHub

Merge pull request #537 from pupi1985/patch-89

Unify own post message language string
parents 6355a053 8abaa649
......@@ -514,7 +514,7 @@ function qa_post_html_fields($post, $userid, $cookieid, $usershtml, $dummy, $opt
} elseif ($isbyuser) {
$fields['vote_state'] = 'disabled';
$fields['vote_up_tags'] = 'title="' . qa_lang_html($isanswer ? 'main/vote_disabled_my_a' : 'main/vote_disabled_my_q') . '"';
$fields['vote_up_tags'] = 'title="' . qa_lang_html('main/vote_disabled_my_post') . '"';
$fields['vote_down_tags'] = $fields['vote_up_tags'];
} elseif (strpos($voteview, '-disabled-')) {
......
......@@ -193,8 +193,9 @@ return array(
'vote_disabled_hidden_a' => 'You cannot vote on hidden answers', // @deprecated
'vote_disabled_hidden_q' => 'You cannot vote on hidden questions', // @deprecated
'vote_disabled_level' => 'Voting is only available to some users',
'vote_disabled_my_a' => 'You cannot vote on your own answers',
'vote_disabled_my_q' => 'You cannot vote on your own questions',
'vote_disabled_my_post' => 'You cannot vote on your own posts',
'vote_disabled_my_a' => 'You cannot vote on your own answers', // @deprecated
'vote_disabled_my_q' => 'You cannot vote on your own questions', // @deprecated
'vote_disabled_q_page_only' => 'Please view this question to vote',
'vote_disabled_queued' => 'You can only vote on approved posts',
'vote_down_must_confirm' => 'Please ^5confirm your email address^6 to vote down.',
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment