Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Q
question2answer
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
outils
question2answer
Commits
a94d0121
Commit
a94d0121
authored
Aug 15, 2017
by
Scott
Committed by
GitHub
Aug 15, 2017
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #537 from pupi1985/patch-89
Unify own post message language string
parents
6355a053
8abaa649
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
3 deletions
+4
-3
format.php
qa-include/app/format.php
+1
-1
qa-lang-main.php
qa-include/lang/qa-lang-main.php
+3
-2
No files found.
qa-include/app/format.php
View file @
a94d0121
...
...
@@ -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-'
))
{
...
...
qa-include/lang/qa-lang-main.php
View file @
a94d0121
...
...
@@ -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.'
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment