mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/InputBox
synced 2024-11-27 08:30:07 +00:00
Remove use of message 'postcomment'
Also changed spaces to tabs in i18n/en.json. Change-Id: Id613f71d87150d7b6701952c27f9f5f9c0e68d8f
This commit is contained in:
parent
2746b3f9c6
commit
6cfaec4f1a
|
@ -314,7 +314,7 @@ class InputBox {
|
|||
|
||||
if ( $this->mType == "comment" ) {
|
||||
if ( !$this->mButtonLabel ) {
|
||||
$this->mButtonLabel = wfMessage( 'postcomment' )->text();
|
||||
$this->mButtonLabel = wfMessage( 'inputbox-postcomment' )->text();
|
||||
}
|
||||
} else {
|
||||
if ( !$this->mButtonLabel ) {
|
||||
|
@ -501,7 +501,7 @@ class InputBox {
|
|||
global $wgScript;
|
||||
|
||||
if ( !$this->mButtonLabel ) {
|
||||
$this->mButtonLabel = wfMessage( 'postcomment' )->text();
|
||||
$this->mButtonLabel = wfMessage( 'inputbox-postcommenttitle' )->text();
|
||||
}
|
||||
|
||||
$htmlOut = Xml::openElement( 'div',
|
||||
|
|
24
i18n/en.json
24
i18n/en.json
|
@ -1,13 +1,15 @@
|
|||
{
|
||||
"@metadata": {
|
||||
"authors": []
|
||||
},
|
||||
"inputbox-desc": "Allow inclusion of predefined HTML forms",
|
||||
"inputbox-error-no-type": "You have not specified the type of input box to create.",
|
||||
"inputbox-error-bad-type": "Input box type \"$1\" not recognized.\nPlease specify \"create\", \"comment\", \"search\", \"search2\" or \"fulltext\".",
|
||||
"inputbox-tryexact": "Try exact match",
|
||||
"inputbox-searchfulltext": "Search full text",
|
||||
"inputbox-createarticle": "Create page",
|
||||
"inputbox-movearticle": "Move page",
|
||||
"inputbox-ns-main": "Main"
|
||||
"@metadata": {
|
||||
"authors": []
|
||||
},
|
||||
"inputbox-desc": "Allow inclusion of predefined HTML forms",
|
||||
"inputbox-error-no-type": "You have not specified the type of input box to create.",
|
||||
"inputbox-error-bad-type": "Input box type \"$1\" not recognized.\nPlease specify \"create\", \"comment\", \"search\", \"search2\" or \"fulltext\".",
|
||||
"inputbox-tryexact": "Try exact match",
|
||||
"inputbox-searchfulltext": "Search full text",
|
||||
"inputbox-createarticle": "Create page",
|
||||
"inputbox-movearticle": "Move page",
|
||||
"inputbox-postcomment": "New section",
|
||||
"inputbox-postcommenttitle": "New section",
|
||||
"inputbox-ns-main": "Main"
|
||||
}
|
||||
|
|
|
@ -17,5 +17,7 @@
|
|||
"inputbox-searchfulltext": "Part of the \"Inputbox\" extension. This message is the text of the button to search the page you typed in the inputbox. This button always goes to the search page, even if the page with the exact name exists.\n\nSee also:\n* {{msg-mw|Search}}\n* {{msg-mw|Accesskey-search-fulltext}}\n* {{msg-mw|Tooltip-search-fulltext}}",
|
||||
"inputbox-createarticle": "Part of the \"Inputbox\" extension. This message is the text of the button to create the page you typed in the inputbox.\n{{Identical|Create page}}",
|
||||
"inputbox-movearticle": "Part of the \"Inputbox\" extension. This message is the text of the button to move the page to the name you typed in the inputbox.\n{{Identical|Move page}}",
|
||||
"inputbox-postcomment": "Part of the \"Inputbox\" extension. This message is the text of the button to add a new section to the bottom of the page you typed in the inputbox.",
|
||||
"inputbox-postcommenttitle": "Part of the \"Inputbox\" extension. This message is the text of the button to add a new section of the name you typed in the inputbox to the page.",
|
||||
"inputbox-ns-main": "Probably refers to the main namespace.\n{{Identical|Main}}"
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue