Change right "vote" to "voteny" to prevent key conflicts in L10n

Change-Id: Ifb33bf886204845c014abfbaadb536fde95bde4e
This commit is contained in:
Siebrand Mazeland 2014-08-09 17:56:27 +02:00
parent 77c7a4e777
commit a0812713f2
35 changed files with 42 additions and 42 deletions

View file

@ -218,7 +218,7 @@ class Vote {
$output .= '</div>';
$output .= '<div id="Answer" class="vote-action">';
if ( !$wgUser->isAllowed( 'vote' ) ) {
if ( !$wgUser->isAllowed( 'voteny' ) ) {
// @todo FIXME: this is horrible. If we don't have enough
// permissions to vote, we should tell the end-user /that/,
// not require them to log in!

View file

@ -32,9 +32,9 @@ $wgExtensionCredits['parserhook'][] = array(
$wgVoteDirectory = "$IP/extensions/VoteNY";
// New user right
$wgAvailableRights[] = 'vote';
$wgGroupPermissions['*']['vote'] = false; // Anonymous users cannot vote
$wgGroupPermissions['user']['vote'] = true; // Registered users can vote
$wgAvailableRights[] = 'voteny';
$wgGroupPermissions['*']['voteny'] = false; // Anonymous users cannot vote
$wgGroupPermissions['user']['voteny'] = true; // Registered users can vote
// AJAX functions needed by this extension
require_once( 'Vote_AjaxFunctions.php' );

View file

@ -7,7 +7,7 @@ $wgAjaxExportList[] = 'wfVoteClick';
function wfVoteClick( $voteValue, $pageId ) {
global $wgUser;
if ( !$wgUser->isAllowed( 'vote' ) ) {
if ( !$wgUser->isAllowed( 'voteny' ) ) {
return '';
}
@ -25,7 +25,7 @@ $wgAjaxExportList[] = 'wfVoteDelete';
function wfVoteDelete( $pageId ) {
global $wgUser;
if ( !$wgUser->isAllowed( 'vote' ) ) {
if ( !$wgUser->isAllowed( 'voteny' ) ) {
return '';
}
@ -43,7 +43,7 @@ $wgAjaxExportList[] = 'wfVoteStars';
function wfVoteStars( $voteValue, $pageId ) {
global $wgUser;
if ( !$wgUser->isAllowed( 'vote' ) ) {
if ( !$wgUser->isAllowed( 'voteny' ) ) {
return '';
}
@ -60,7 +60,7 @@ $wgAjaxExportList[] = 'wfVoteStarsMulti';
function wfVoteStarsMulti( $voteValue, $pageId ) {
global $wgUser;
if ( !$wgUser->isAllowed( 'vote' ) ) {
if ( !$wgUser->isAllowed( 'voteny' ) ) {
return '';
}
@ -77,7 +77,7 @@ $wgAjaxExportList[] = 'wfVoteStarsDelete';
function wfVoteStarsDelete( $pageId ) {
global $wgUser;
if ( !$wgUser->isAllowed( 'vote' ) ) {
if ( !$wgUser->isAllowed( 'voteny' ) ) {
return '';
}
@ -85,4 +85,4 @@ function wfVoteStarsDelete( $pageId ) {
$vote->delete();
return $vote->display();
}
}

View file

@ -14,5 +14,5 @@
"votes": "{{PLURAL:$1|un votu|$1 votos}}",
"topratings": "Páxines meyor calificaes",
"topratings-no-pages": "Nun hai páxines meyor calificaes",
"right-vote": "Votar páxines"
"right-voteny": "Votar páxines"
}

View file

@ -14,5 +14,5 @@
"votes": "{{PLURAL:$1|un vot|$1 vots}}",
"topratings": "Pàgines més valorades",
"topratings-no-pages": "No hi ha cap pàgina valorada.",
"right-vote": "Pàgines de votació"
"right-voteny": "Pàgines de votació"
}

View file

@ -16,5 +16,5 @@
"votes": "{{PLURAL:$1|eine Stimme|$1 Stimmen}}",
"topratings": "Höchstbewertete Seiten",
"topratings-no-pages": "Es sind keine höchstbewerteten Seiten vorhanden.",
"right-vote": "Abstimmen über Seiten"
"right-voteny": "Abstimmen über Seiten"
}

View file

@ -11,5 +11,5 @@
"ratings": "{{PLURAL:$1|yew nırğnayış|$1 nırğnayışi}}",
"remove": "wedare",
"votes": "{{PLURAL:$1|yew rey|$1 reyi}}",
"right-vote": "Pelê reydayışi"
"right-voteny": "Pelê reydayışi"
}

View file

@ -14,5 +14,5 @@
"votes": "{{PLURAL:$1|jaden głos|$1 głosa|$1 głose|$1 głosow}}",
"topratings": "Nejwuše pógódnośone boki",
"topratings-no-pages": "Žedne nejwuše pógódnośone boki.",
"right-vote": "Wótgłosowańske boki"
"right-voteny": "Wótgłosowańske boki"
}

View file

@ -15,5 +15,5 @@
"voteny-votes": "{{PLURAL:$1|one vote|$1 votes}}",
"topratings": "Top rated pages",
"topratings-no-pages": "No top rated pages.",
"right-vote": "Vote pages"
"right-voteny": "Vote pages"
}

View file

@ -14,5 +14,5 @@
"votes": "{{PLURAL:$1|un voto|$1 votos}}",
"topratings": "Páginas más valoradas",
"topratings-no-pages": "No hay páginas mejor valoradas",
"right-vote": "Páginas de votación"
"right-voteny": "Páginas de votación"
}

View file

@ -16,5 +16,5 @@
"votes": "{{PLURAL:$1|یک رای|$1 رای}}",
"topratings": "صفحات دارای امتیاز بالا",
"topratings-no-pages": "صفحه‌هایی با امتیاز بالا وجود ندارند.",
"right-vote": "صفحه‌های رأی"
"right-voteny": "صفحه‌های رأی"
}

View file

@ -16,5 +16,5 @@
"votes": "{{PLURAL:$1|un vote|$1 votes}}",
"topratings": "Pages les mieux notées",
"topratings-no-pages": "Aucune page notée.",
"right-vote": "Pages de vote"
"right-voteny": "Pages de vote"
}

View file

@ -11,5 +11,5 @@
"remove": "enlevar",
"gave-this": "vos éd balyê $1",
"votes": "{{PLURAL:$1|yon voto|$1 votos}}",
"right-vote": "Votar des pâges"
"right-voteny": "Votar des pâges"
}

View file

@ -14,5 +14,5 @@
"votes": "{{PLURAL:$1|un voto|$1 votos}}",
"topratings": "Páxinas mellor valoradas",
"topratings-no-pages": "Non hai ningunha páxina valorada.",
"right-vote": "Votar páxinas"
"right-voteny": "Votar páxinas"
}

View file

@ -15,5 +15,5 @@
"votes": "{{PLURAL:$1|הצבעה אחת|$1 הצבעות}}",
"topratings": "דפים המדורגים ביותר",
"topratings-no-pages": "דפים שדורגו הכי פחות פעמים.",
"right-vote": "דפי ההצבעה"
"right-voteny": "דפי ההצבעה"
}

View file

@ -14,5 +14,5 @@
"votes": "{{PLURAL:$1|jedyn hłós|$1 hłosaj|$1 hłosy|$1 hłosow}}",
"topratings": "Najwyše pohódnoćene strony",
"topratings-no-pages": "Žane najwyše pohódnoćene strony.",
"right-vote": "Wothłosowanske strony"
"right-voteny": "Wothłosowanske strony"
}

View file

@ -15,5 +15,5 @@
"votes": "{{PLURAL:$1|un voto|$1 voti}}",
"topratings": "Pagine migliori",
"topratings-no-pages": "Nessuna pagina migliore.",
"right-vote": "Vota le pagine"
"right-voteny": "Vota le pagine"
}

View file

@ -14,5 +14,5 @@
"votes": "{{PLURAL:$1|$1 票}}",
"topratings": "評価が高いページ",
"topratings-no-pages": "評価が高いページはありません。",
"right-vote": "ページに投票"
"right-voteny": "ページに投票"
}

View file

@ -14,5 +14,5 @@
"votes": "{{PLURAL:$1|한 표|$1표}}",
"topratings": "평가가 높은 문서",
"topratings-no-pages": "평가가 높은 문서가 없습니다.",
"right-vote": "문서 투표"
"right-voteny": "문서 투표"
}

View file

@ -14,5 +14,5 @@
"votes": "{{PLURAL:$1|Ein Schtemm|$1 Schtemme|Kein Schtemme}}",
"topratings": "Sigge met de hühste Bewertonge",
"topratings-no-pages": "Kein Sigge met hühste Bewertonge jefonge.",
"right-vote": "Övver Siige afschtemme"
"right-voteny": "Övver Siige afschtemme"
}

View file

@ -8,5 +8,5 @@
"unvote-link": "Stëmm zréckzéien",
"remove": "ewechhuelen",
"gave-this": "Dir hutt eng $1 ofginn",
"right-vote": "Ofstëmmen iwwer Säiten"
"right-voteny": "Ofstëmmen iwwer Säiten"
}

View file

@ -14,5 +14,5 @@
"votes": "{{PLURAL:$1|еден глас|$1 гласа}}",
"topratings": "Водечки страници",
"topratings-no-pages": "Нема водечки страници.",
"right-vote": "Гласање за страници"
"right-voteny": "Гласање за страници"
}

View file

@ -14,5 +14,5 @@
"votes": "$1 undian",
"topratings": "Halaman undian tertinggi",
"topratings-no-pages": "Tiada halaman undian tertinggi.",
"right-vote": "Mengundi halaman"
"right-voteny": "Mengundi halaman"
}

View file

@ -15,5 +15,5 @@
"votes": "{{PLURAL:$1|één stem|$1 stemmen}}",
"topratings": "Meest gewaardeerde pagina's",
"topratings-no-pages": "Er zijn nog geen meest gewaardeerde pagina's.",
"right-vote": "Op pagina's stemmen"
"right-voteny": "Op pagina's stemmen"
}

View file

@ -15,5 +15,5 @@
"votes": "{{PLURAL:$1|un vot|$1 vot}}",
"topratings": "Le pàgine valutà mej",
"topratings-no-pages": "Gnun-e pàgine valutà.",
"right-vote": "Pàgine ëd vot"
"right-voteny": "Pàgine ëd vot"
}

View file

@ -4,5 +4,5 @@
"Ahmed-Najib-Biabani-Ibrahimkhel"
]
},
"right-vote": "د رايې مخونه"
"right-voteny": "د رايې مخونه"
}

View file

@ -16,5 +16,5 @@
"votes": "Parameters:\n* $1 - number of votes",
"topratings": "{{doc-special|TopRatings}}",
"topratings-no-pages": "Displayed on Special:TopRatings if there are no top rated pages, i.e. if no pages have been rated on the wiki at all.",
"right-vote": "{{doc-right|vote|prefix=Voteny-}}\nRight to place a vote on pages with the extension."
"right-voteny": "{{doc-right|vote|prefix=Voteny-}}\nRight to place a vote on pages with the extension."
}

View file

@ -14,5 +14,5 @@
"votes": "{{PLURAL:$1|'nu vote|$1 vote}}",
"topratings": "Pàggene cchiù vutate",
"topratings-no-pages": "Pàggene ca no stonne 'ngape a le vote.",
"right-vote": "Vote le vôsce"
"right-voteny": "Vote le vôsce"
}

View file

@ -15,5 +15,5 @@
"votes": "{{PLURAL:$1|$1 голос|$1 голосов|$1 голоса}}",
"topratings": "Самые популярные страницы",
"topratings-no-pages": "Нет популярных страниц.",
"right-vote": "Страницы голосований"
"right-voteny": "Страницы голосований"
}

View file

@ -13,5 +13,5 @@
"votes": "{{PLURAL:$1|මනාපයක්|මනාප $1 ක්}}",
"topratings": "ඉහළ ශ්‍රේණිගත පිටු",
"topratings-no-pages": "ඉහළ ශ්‍රේණිගත පිටු නොමැත.",
"right-vote": "මනාප පිටු"
"right-voteny": "මනාප පිටු"
}

View file

@ -14,5 +14,5 @@
"votes": "{{PLURAL:$1|en röst|$1 röster}}",
"topratings": "Topplistade sidor",
"topratings-no-pages": "Inga topplistade sidor.",
"right-vote": "Omröstningssidor"
"right-voteny": "Omröstningssidor"
}

View file

@ -15,5 +15,5 @@
"votes": "{{PLURAL:$1| isang boto| $1 mga boto}}",
"topratings": "Mga pahinang nangunguna sa pag-aantas",
"topratings-no-pages": "Walang mga pahinang nangunguna sa pag-aantas.",
"right-vote": "Iboto ang mga pahina"
"right-voteny": "Iboto ang mga pahina"
}

View file

@ -14,5 +14,5 @@
"votes": "{{PLURAL:$1|один голос|$1 голоси|$1 голосів}}",
"topratings": "Сторінки із найвищим оцінками",
"topratings-no-pages": "Сторінки із не найвищими оцінками.",
"right-vote": "Голосувати за сторінки"
"right-voteny": "Голосувати за сторінки"
}

View file

@ -15,5 +15,5 @@
"votes": "{{PLURAL:$1|$1票}}",
"topratings": "最受好评的页面",
"topratings-no-pages": "没有最受好评的页面。",
"right-vote": "投票页面"
"right-voteny": "投票页面"
}

View file

@ -15,5 +15,5 @@
"votes": "{{PLURAL:$1|$1票}}",
"topratings": "最受好評的頁面",
"topratings-no-pages": "沒有最受好評的頁面。",
"right-vote": "投票頁面"
"right-voteny": "投票頁面"
}