Shirayuki has uploaded a new change for review.
https://gerrit.wikimedia.org/r/125960
Change subject: i18n: Add missing messages
......................................................................
i18n: Add missing messages
- Fix message key "wikiforum-error-no-text-or-title"
- Add missing "wikiforum-error-*" messages
Change-Id: Icd62a82028e8cef4db74cd84110a61fe57c850e9
---
M Category.php
M Forum.php
M i18n/en.json
M i18n/qqq.json
4 files changed, 9 insertions(+), 2 deletions(-)
git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/WikiForum
refs/changes/60/125960/1
diff --git a/Category.php b/Category.php
index 8fada7e..1a0d140 100644
--- a/Category.php
+++ b/Category.php
@@ -382,7 +382,7 @@
return $error . WikiForumClass::showOverview();
}
if ( strlen( $categoryName ) == 0 ) {
- $error = WikiForumClass::showErrorMessage(
'wikiforum-error-add', 'wikiforum-no-text-or-title' );
+ $error = WikiForumClass::showErrorMessage(
'wikiforum-error-add', 'wikiforum-error-no-text-or-title' );
return $error . WFCategory::showAddForm();
}
diff --git a/Forum.php b/Forum.php
index f05b73c..2f1caca 100644
--- a/Forum.php
+++ b/Forum.php
@@ -318,7 +318,7 @@
return $error . $this->show();
}
if ( strlen( $forumName ) == 0 ) {
- $error = WikiForumClass::showErrorMessage(
'wikiforum-error-add', 'wikiforum-no-text-or-title' );
+ $error = WikiForumClass::showErrorMessage(
'wikiforum-error-add', 'wikiforum-error-no-text-or-title' );
return $error . $this->showEditForm();
}
diff --git a/i18n/en.json b/i18n/en.json
index 10d6f03..8c3a6eb 100644
--- a/i18n/en.json
+++ b/i18n/en.json
@@ -86,6 +86,10 @@
"wikiforum-error-edit": "Error while editing",
"wikiforum-error-write": "Error while writing",
+ "wikiforum-error-category": "Category error",
+ "wikiforum-error-forum": "Forum error",
+ "wikiforum-error-thread": "Thread error",
+
"wikiforum-add-category": "Add category",
"wikiforum-edit-category": "Edit category",
"wikiforum-delete-category": "Delete category",
diff --git a/i18n/qqq.json b/i18n/qqq.json
index 19f6fdb..15af2c5 100644
--- a/i18n/qqq.json
+++ b/i18n/qqq.json
@@ -79,6 +79,9 @@
"wikiforum-error-move-thread": "Used as heading of error message",
"wikiforum-error-add": "Used as heading of error message",
"wikiforum-error-edit": "Used as heading of error message",
+ "wikiforum-error-category": "Used as heading of error message",
+ "wikiforum-error-forum": "Used as heading of error message",
+ "wikiforum-error-thread": "Used as heading of error message",
"wikiforum-add-category": "Used as link text in categories list
page.\n{{Identical|Add category}}",
"wikiforum-edit-category": "Used as tooltip for edit link, and as page
heading on edit page.\n{{Identical|Edit category}}",
"wikiforum-delete-category": "Used as tooltip for
button.\n{{Identical|Delete category}}",
--
To view, visit https://gerrit.wikimedia.org/r/125960
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: Icd62a82028e8cef4db74cd84110a61fe57c850e9
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/WikiForum
Gerrit-Branch: master
Gerrit-Owner: Shirayuki <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits