Robert Vogel has uploaded a new change for review.
https://gerrit.wikimedia.org/r/169322
Change subject: Added QQQ
......................................................................
Added QQQ
Added QQQ entries in I18N to support translation by translatewiki
Change-Id: Ib7c08d4194d98e22e46aac959aabf3494e3f860e
---
M Teahouse.php
M i18n/qqq.json
2 files changed, 28 insertions(+), 6 deletions(-)
git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/Teahouse
refs/changes/22/169322/1
diff --git a/Teahouse.php b/Teahouse.php
index bab9afc..c324c23 100644
--- a/Teahouse.php
+++ b/Teahouse.php
@@ -44,6 +44,28 @@
'styles' => array(
'mediawiki.teahouse.css'
),
+ //This is just for development: The gadget's I18N is injected through
the init-Method.
+ /*
+ 'messages' => array(
+ 'th-button-text',
+ 'th-button-title',
+ 'th-dialog-title',
+ 'th-dialog-description-top',
+ 'th-dialog-label-summary',
+ 'th-dialog-label-text',
+ 'th-dialog-label-similar',
+ 'th-dialog-btn-ok',
+ 'th-dialog-btn-cancel',
+ 'th-dialog-disclaimer',
+ 'th-dialog-anon-ip-hint',
+ 'th-dialog-msg-title-save',
+ 'th-dialog-msg-text-save',
+ 'th-dialog-msg-btn-yes',
+ 'th-dialog-msg-btn-no',
+ 'th-notifications-badge-title',
+ 'th-notifications-popup-title'
+ ),
+ */
'localBasePath' => __DIR__.'/resources',
'remoteExtPath' => 'Teahouse/resources',
);
diff --git a/i18n/qqq.json b/i18n/qqq.json
index 36c825e..a5b1796 100644
--- a/i18n/qqq.json
+++ b/i18n/qqq.json
@@ -16,10 +16,10 @@
"th-dialog-btn-cancel": "Text of the button that resets the form and
closes the dialog",
"th-dialog-disclaimer": "Hint to the Terms of Use. Links to
https://wikimediafoundation.org/wiki/Terms_of_Use",
"th-dialog-anon-ip-hint": "Hint that the IP adress of an anonymous user
will be saved",
- "th-dialog-msg-title-save": "",
- "th-dialog-msg-text-save": "",
- "th-dialog-msg-btn-yes": "",
- "th-dialog-msg-btn-no": "",
- "th-notifications-badge-title": "",
- "th-notifications-popup-title": ""
+ "th-dialog-msg-title-save": "Title of the message dialog that informs
the user about the publishing of the question",
+ "th-dialog-msg-text-save": "The text of the message dialog that tells
the user about the location of her/his question and asks her/him whether or not
to navigate to the Teahouse board page. The parameter $1 is replaced by an
anchor tag pointing to the question subpage",
+ "th-dialog-msg-btn-yes": "The message dialog's button that confirms the
redirection to the Teahouse board page",
+ "th-dialog-msg-btn-no": "The message dialog's button that declines the
redirection to the Teahouse board page",
+ "th-notifications-badge-title": "The tooltip for the notification badge
that shows up in personal tools section when there are changes (reactions) to
the questions on the user's clientside watchlist",
+ "th-notifications-popup-title": "The title of the popup widget that
lists the notifications about after clicking on the badge"
}
--
To view, visit https://gerrit.wikimedia.org/r/169322
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: Ib7c08d4194d98e22e46aac959aabf3494e3f860e
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/Teahouse
Gerrit-Branch: master
Gerrit-Owner: Robert Vogel <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits