Smuggli has submitted this change and it was merged.
Change subject: Implemented changes for translatewiki
......................................................................
Implemented changes for translatewiki
Moved to Json i18n files
Impreoved some messages in punctuation and syntactically
Added PLURAL support
Change-Id: I5d147a9db396d4823b2ea86868bea8ca0e34a234
---
M PageTemplates/PageTemplates.class.php
A PageTemplates/i18n/de-formal.json
A PageTemplates/i18n/de.json
A PageTemplates/i18n/en.json
A PageTemplates/i18n/qqq.json
M PageTemplates/languages/PageTemplates.i18n.php
6 files changed, 183 insertions(+), 146 deletions(-)
Approvals:
Smuggli: Verified; Looks good to me, approved
Siebrand: Looks good to me, but someone else must approve
diff --git a/PageTemplates/PageTemplates.class.php
b/PageTemplates/PageTemplates.class.php
index 3f8820b..f8d61d4 100644
--- a/PageTemplates/PageTemplates.class.php
+++ b/PageTemplates/PageTemplates.class.php
@@ -129,8 +129,8 @@
}
/**
- * Automatically modifies "noarticletext" message. Otherwise, you would
- * have to modify MediaWiki:noarticletext in the wiki, wich causes
+ * Automatically modifies "noarticletext" message. Otherwise, you would
+ * have to modify MediaWiki:noarticletext in the wiki, wich causes
* installation overhead.
* @param string $sKey The message key. Note that it comes ucfirst and
can be an i18n version (e.g. Noarticletext/de-formal)
* @param string $sMessage This variable is called by reference and
modified.
@@ -148,8 +148,8 @@
}
/*
- * As we are in view mode but we present the user only links to
- * edit/create mode we do a preemptive check wether or not th
user
+ * As we are in view mode but we present the user only links to
+ * edit/create mode we do a preemptive check wether or not th
user
* also has edit/create permission
*/
if ( !$oTitle->userCan( 'edit' ) ) {
@@ -197,23 +197,7 @@
// if we are not on a wiki page, return. This is important when
calling import scripts that try to create nonexistent pages, e.g. importImages
if ( !is_object( $oTitle ) ) return true;
- // TODO RBV (18.05.11 08:53): Coding Conventions bei Variablen.
View? BaseView mit Template?
- $sOut = wfMessage( 'bs-pagetemplates-choose-template'
)->plain();
- $aOutNs = array();
- $sOutAll = '';
- $oTargetNsTitle = null;
-
$dbr = wfGetDB( DB_SLAVE );
-
- $sOut .= '<br /><br /><ul><li>';
- $sOut .= BsLinkProvider::makeLink( $oTitle, wfMessage(
'bs-pagetemplates-empty-page' )->plain(), $aCostumAttr = array(), array(
'preload' => '' ) );
- $sOut .= '<br />' . wfMessage(
'bs-pagetemplates-empty-page-desc' )->plain();
- $sOut .= '</li></ul>';
-
- $oSortingTitle = Title::makeTitle( NS_MEDIAWIKI,
'PageTemplatesSorting' );
- $vOrder =
BsPageContentProvider::getInstance()->getContentFromTitle( $oSortingTitle );
- $vOrder = explode( '*', $vOrder );
- $vOrder = array_map( 'trim', $vOrder );
$aConds = array();
if ( BsConfig::get( 'MW::PageTemplates::HideIfNotInTargetNs' )
) {
@@ -238,6 +222,23 @@
array( 'ORDER BY' => 'pt_label' )
);
+ // There is always one template for empty page it is added some
lines beneath that
+ $iCount = $dbr->numRows( $res ) + 1;
+ $sOut = wfMessage( 'bs-pagetemplates-choose-template', $iCount
)->plain();
+ $aOutNs = array();
+ $sOutAll = '';
+ $oTargetNsTitle = null;
+
+ $sOut .= '<br /><br /><ul><li>';
+ $sOut .= BsLinkProvider::makeLink( $oTitle, wfMessage(
'bs-pagetemplates-empty-page' )->plain(), array(), array( 'preload' => '' ) );
+ $sOut .= '<br />' . wfMessage(
'bs-pagetemplates-empty-page-desc' )->plain();
+ $sOut .= '</li></ul>';
+
+ $oSortingTitle = Title::makeTitle( NS_MEDIAWIKI,
'PageTemplatesSorting' );
+ $vOrder =
BsPageContentProvider::getInstance()->getContentFromTitle( $oSortingTitle );
+ $vOrder = explode( '*', $vOrder );
+ $vOrder = array_map( 'trim', $vOrder );
+
if ( $res && $dbr->numRows( $res ) > 0 ) {
while ( $row = $dbr->fetchObject( $res ) ) {
$oNsTitle = Title::makeTitle(
$row->pt_template_namespace, $row->pt_template_title );
diff --git a/PageTemplates/i18n/de-formal.json
b/PageTemplates/i18n/de-formal.json
new file mode 100644
index 0000000..54a4959
--- /dev/null
+++ b/PageTemplates/i18n/de-formal.json
@@ -0,0 +1,16 @@
+{
+ "@metadata": {
+ "authors": [
+ "Stephan Muggli <[email protected]>"
+ ]
+ },
+ "bs-pagetemplates-empty-page-desc": "Beginnen Sie mit einer leeren
Seite.",
+ "bs-pagetemplates-tpl-desc-toolong": "Die Beschreibung ist zu lang.
Geben Sie maximal 255 Zeichen an!",
+ "bs-pagetemplates-tpl-label-toolong": "Der Titel ist zu lang. Geben Sie
maximal 255 Zeichen an!",
+ "bs-pagetemplates-tpl-label-empty": "Bitte geben Sie einen Titel ein.",
+ "bs-pagetemplates-tpl-name-toolong": "Der Name der Vorlage ist zu lang.
Geben Sie maximal 255 Zeichen ein.",
+ "bs-pagetemplates-tpl-name-empty": "Bitte geben Sie eine Vorlage an.",
+ "bs-pagetemplates-no-id": "Bitte geben Sie eine Seite an, die als
Vorlage verwendet werden soll.",
+ "bs-pagetemplates-choose-template": "Diese Seite existiert noch nicht.
Sie können hier eine neue Seite verfassen. Falls Sie nichts eingeben möchten,
klicken auf den Zurück-Button des Browsers, um zu der letzten Seite
zurückzukehren.\n\nSie können {{PLURAL:$1|diese Vorlage|eine dieser Vorlagen}}
auswählen:",
+ "bs-pagetemplates-confirm-deletetpl": "Sind Sie sicher, dass Sie diese
Vorlage löschen wollen?"
+}
diff --git a/PageTemplates/i18n/de.json b/PageTemplates/i18n/de.json
new file mode 100644
index 0000000..dc6c2b8
--- /dev/null
+++ b/PageTemplates/i18n/de.json
@@ -0,0 +1,39 @@
+{
+ "@metadata": {
+ "authors": [
+ "Stephan Muggli <[email protected]>"
+ ]
+ },
+ "bs-pagetemplates-desc": "Es können vorgefertigte Seitenvorlagen
angelegt werden",
+ "prefs-pagetemplates": "Seitenvorlagen",
+ "bs-pagetemplates-empty-page": "Leere Seite",
+ "bs-pagetemplates-empty-page-desc": "Beginne mit einer leeren Seite.",
+ "bs-pagetemplatesadmin-label": "Seitenvorlagen",
+ "bs-pagetemplates-tpl-desc-toolong": "Die Beschreibung ist zu lang. Gib
maximal 255 Zeichen an!",
+ "bs-pagetemplates-tpl-label-toolong": "Der Titel ist zu lang. Gib
maximal 255 Zeichen an!",
+ "bs-pagetemplates-tpl-label-empty": "Bitte gib einen Titel ein.",
+ "bs-pagetemplates-tpl-name-toolong": "Der Name der Vorlage ist zu lang.
Gib maximal 255 Zeichen ein.",
+ "bs-pagetemplates-tpl-name-empty": "Bitte gib eine Vorlage an.",
+ "bs-pagetemplates-no-id": "Bitte gib eine Seite an, die als Vorlage
verwendet werden soll.",
+ "bs-pagetemplates-tpl-added": "Das Template wurde eingetragen.",
+ "bs-pagetemplates-nooldtpl": "Das ursprüngliche Template wurde
nicht gefunden.",
+ "bs-pagetemplates-tpl-edited": "Die Änderungen wurden übernommen.",
+ "bs-pagetemplates-dberror": "Es ist ein Datenbankfehler aufgetreten.",
+ "bs-pagetemplates-tpl-deleted": "Das Template wurde gelöscht.",
+ "bs-pagetemplates-general-section": "Allgemein",
+ "bs-pagetemplates-choose-template": "Diese Seite existiert noch nicht.
Du kannst hier eine neue Seite verfassen. Falls Du nichts eingeben möchtest,
klicke auf den Zurück-Button des Browsers, um zu der letzten Seite
zurückzukehren.\n\nDu kannst {{PLURAL:$1|diese Vorlage|eine dieser Vorlagen}}
auswählen:",
+ "bs-pagetemplates-pref-excludens": "In diesen Namensräumen keine
Vorlagen anzeigen:",
+ "bs-pagetemplates-pref-forcenamespace": "Ziel-Namensraum erzwingen",
+ "bs-pagetemplates-pref-hideifnotintargetns": "Vorlage verstecken, wenn
die Seite nicht im Zielnamensraum angelegt wird",
+ "bs-pagetemplates-headerlabel": "Name",
+ "bs-pagetemplates-headertargetnamespace": "Namensraum",
+ "bs-pagetemplates-tipeditdetails": "Vorlage bearbeiten",
+ "bs-pagetemplates-tipdeletetemplate": "Vorlage löschen",
+ "bs-pagetemplates-tipaddtemplate": "Vorlage hinzufügen",
+ "bs-pagetemplates-label-tpl": "Name",
+ "bs-pagetemplates-label-desc": "Beschreibung",
+ "bs-pagetemplates-label-targetns": "Namensraum",
+ "bs-pagetemplates-label-tplns": "Vorlagen Namensraum",
+ "bs-pagetemplates-label-article": "Vorlage",
+ "bs-pagetemplates-confirm-deletetpl": "Bist du sicher, dass du diese
Vorlage löschen willst?"
+}
diff --git a/PageTemplates/i18n/en.json b/PageTemplates/i18n/en.json
new file mode 100644
index 0000000..d30bccd
--- /dev/null
+++ b/PageTemplates/i18n/en.json
@@ -0,0 +1,40 @@
+{
+ "@metadata": {
+ "authors": [
+ "Stephan Muggli <[email protected]>"
+ ]
+ },
+ "bs-pagetemplates-desc": "Displays a list of templates marked as page
templates",
+ "prefs-pagetemplates": "Page templates",
+ "bs-pagetemplates-empty-page": "Empty page",
+ "bs-pagetemplates-empty-page-desc": "Start with an empty page.",
+ "bs-pagetemplatesadmin-label": "Page templates",
+ "bs-pagetemplates-tpl-desc-toolong": "The description is too long.
Please use a maximum length of 255 characters.",
+ "bs-pagetemplates-tpl-label-toolong": "The label is too long. Please
use a maximum length of 255 characters.",
+ "bs-pagetemplates-tpl-label-empty": "Please enter a label.",
+ "bs-pagetemplates-tpl-name-toolong": "The template name is too long.
Please use a maximum length of 255 characters.",
+ "bs-pagetemplates-tpl-name-empty": "Please enter a template name.",
+ "bs-pagetemplates-no-id": "Please enter a page to be used as template.",
+ "bs-pagetemplates-tpl-added": "The template has been added.",
+ "bs-pagetemplates-invalid_pfx": "The prefix is invalid.",
+ "bs-pagetemplates-nooldtpl": "The old template could not be found.",
+ "bs-pagetemplates-tpl-edited": "The changes have been saved.",
+ "bs-pagetemplates-dberror": "A database error occurred.",
+ "bs-pagetemplates-tpl-deleted": "The template has been deleted.",
+ "bs-pagetemplates-general-section": "General",
+ "bs-pagetemplates-choose-template": "This page doesn't exist yet. You
can create a new page. If you don't want to do that, click the back button of
your browser to return to the last page visited. \n\nYou can choose
{{PLURAL:$1||one of}} the following {{PLURAL:$1|template|templates}}:",
+ "bs-pagetemplates-pref-excludens": "Do not show templates in these
namespaces:",
+ "bs-pagetemplates-pref-forcenamespace": "Force target namespace",
+ "bs-pagetemplates-pref-hideifnotintargetns": "Hide template if the page
is not to be created in the target namespace",
+ "bs-pagetemplates-headerlabel": "Label",
+ "bs-pagetemplates-headertargetnamespace": "Namespace",
+ "bs-pagetemplates-tipeditdetails": "Edit template",
+ "bs-pagetemplates-tipdeletetemplate": "Delete template",
+ "bs-pagetemplates-tipaddtemplate": "Add template",
+ "bs-pagetemplates-label-tpl": "Template name",
+ "bs-pagetemplates-label-desc": "Description",
+ "bs-pagetemplates-label-targetns": "Namespace",
+ "bs-pagetemplates-label-tplns": "Template namespace",
+ "bs-pagetemplates-label-article": "Template",
+ "bs-pagetemplates-confirm-deletetpl": "Are you sure you want to delete
this template?"
+}
diff --git a/PageTemplates/i18n/qqq.json b/PageTemplates/i18n/qqq.json
new file mode 100644
index 0000000..4bdd2fe
--- /dev/null
+++ b/PageTemplates/i18n/qqq.json
@@ -0,0 +1,40 @@
+{
+ "@metadata": {
+ "authors": [
+ "Stephan Muggli <[email protected]>"
+ ]
+ },
+ "bs-pagetemplates-desc": "Used in
[[Special:Wiki_Admin&mode=ExtensionInfo]], description of page templates
extension",
+ "prefs-pagetemplates": "Used in
[[Special:Wiki_Admin&mode=Preferences]], headline for avatars section in
preferences.\n{{Identical|Page templates}}",
+ "bs-pagetemplates-empty-page": "Anchor text for empty page",
+ "bs-pagetemplates-empty-page-desc": "Text for start with an empty
page.",
+ "bs-pagetemplatesadmin-label": "Anchor text in admin tab for page
templates \n {{Identical|Page templates}}",
+ "bs-pagetemplates-tpl-desc-toolong": "Text for the description is too
long. Please use a maximum of 255 characters.",
+ "bs-pagetemplates-tpl-label-toolong": "Text for the label is to long.
Please use a maximum of 255 characters.",
+ "bs-pagetemplates-tpl-label-empty": "Text for please enter a label.",
+ "bs-pagetemplates-tpl-name-toolong": "Text for the template name is to
long. Please use a maximum of 255 characters.",
+ "bs-pagetemplates-tpl-name-empty": "Text for please enter a template
name.",
+ "bs-pagetemplates-no-id": "Text for please enter a page to be used as
template.",
+ "bs-pagetemplates-tpl-added": "Text for the template has been added.",
+ "bs-pagetemplates-invalid_pfx": "Text for the prefix is invalid.",
+ "bs-pagetemplates-nooldtpl": "Text for the old template could not be
found.",
+ "bs-pagetemplates-tpl-edited": "Text for the changes have been saved.",
+ "bs-pagetemplates-dberror": "Text for a database error occurred.",
+ "bs-pagetemplates-tpl-deleted": "Text for the template has been
deleted.",
+ "bs-pagetemplates-general-section": "Headline for general",
+ "bs-pagetemplates-choose-template": "text for this page doesn't exist
yet. You can create a new page. If you don't want to do that, click the back
button of your browser to return to the last page visited. \n\nYou can choose
{{PLURAL:$1||one of}} the following {{PLURAL:$1|template|templates}}: \n $1 is
the number of templates use it for PLURAL distinction",
+ "bs-pagetemplates-pref-excludens": "Option in
[[Special:Wiki_Admin&mode=Preferences]], label for do not show templates in
these namespaces:",
+ "bs-pagetemplates-pref-forcenamespace": "Option in
[[Special:Wiki_Admin&mode=Preferences]], checkbox label for force target
namespace",
+ "bs-pagetemplates-pref-hideifnotintargetns": "Option in
[[Special:Wiki_Admin&mode=Preferences]], checkbox label for hide template if
the page is not to be created in the target namespace",
+ "bs-pagetemplates-headerlabel": "Label for label",
+ "bs-pagetemplates-headertargetnamespace": "Label for namespace",
+ "bs-pagetemplates-tipeditdetails": "Text for edit template",
+ "bs-pagetemplates-tipdeletetemplate": "Text for delete template",
+ "bs-pagetemplates-tipaddtemplate": "Text for add template",
+ "bs-pagetemplates-label-tpl": "Label for template name",
+ "bs-pagetemplates-label-desc": "Label for description",
+ "bs-pagetemplates-label-targetns": "Label for namespace",
+ "bs-pagetemplates-label-tplns": "Label for template namespace",
+ "bs-pagetemplates-label-article": "Label for template",
+ "bs-pagetemplates-confirm-deletetpl": "Text for are you sure you want
to delete this template?"
+}
diff --git a/PageTemplates/languages/PageTemplates.i18n.php
b/PageTemplates/languages/PageTemplates.i18n.php
index c254cbd..6834868 100644
--- a/PageTemplates/languages/PageTemplates.i18n.php
+++ b/PageTemplates/languages/PageTemplates.i18n.php
@@ -1,134 +1,35 @@
<?php
/**
- * Internationalisation file for PageTemplates
+ * This is a backwards-compatibility shim, generated by:
+ *
https://git.wikimedia.org/blob/mediawiki%2Fcore.git/HEAD/maintenance%2FgenerateJsonI18n.php
*
- * Part of BlueSpice for MediaWiki
+ * Beginning with MediaWiki 1.23, translation strings are stored in json files,
+ * and the EXTENSION.i18n.php file only exists to provide compatibility with
+ * older releases of MediaWiki. For more information about this migration, see:
+ * https://www.mediawiki.org/wiki/Requests_for_comment/Localisation_format
*
- * @author Stephan Muggli <[email protected]>
- * @package BlueSpice_Extensions
- * @subpackage PageTemplates
- * @copyright Copyright (C) 2012 Hallo Welt! - Medienwerkstatt GmbH, All
rights reserved.
- * @license http://www.gnu.org/copyleft/gpl.html GNU Public License v2 or
later
- * @filesource
+ * This shim maintains compatibility back to MediaWiki 1.17.
*/
-
$messages = array();
+if ( !function_exists( 'wfJsonI18nShim672216f6cbd46fc7' ) ) {
+ function wfJsonI18nShim672216f6cbd46fc7( $cache, $code, &$cachedData ) {
+ $codeSequence = array_merge( array( $code ),
$cachedData['fallbackSequence'] );
+ foreach ( $codeSequence as $csCode ) {
+ $fileName = dirname( __FILE__ ) .
"/../i18n/$csCode.json";
+ if ( is_readable( $fileName ) ) {
+ $data = FormatJson::decode( file_get_contents(
$fileName ), true );
+ foreach ( array_keys( $data ) as $key ) {
+ if ( $key === '' || $key[0] === '@' ) {
+ unset( $data[$key] );
+ }
+ }
+ $cachedData['messages'] = array_merge( $data,
$cachedData['messages'] );
+ }
-$messages['de'] = array(
- 'bs-pagetemplates-desc' => 'Es können vorgefertigte Seitenvorlagen
angelegt werden.',
- 'prefs-pagetemplates' => 'Seitenvorlagen',
- 'bs-pagetemplates-empty-page' => 'Leere Seite',
- 'bs-pagetemplates-empty-page-desc' => 'Beginne mit einer leeren Seite.',
- 'bs-pagetemplatesadmin-label' => 'Seitenvorlagen',
- 'bs-pagetemplates-tpl-desc-toolong' => 'Die Beschreibung ist zu lang.
Gib maximal 255 Zeichen an!',
- 'bs-pagetemplates-tpl-label-toolong' => 'Der Titel ist zu lang. Gib
maximal 255 Zeichen an!',
- 'bs-pagetemplates-tpl-label-empty' => 'Bitte gib einen Titel ein.',
- 'bs-pagetemplates-tpl-name-toolong' => 'Der Name der Vorlage ist zu
lang. Gib maximal 255 Zeichen ein.',
- 'bs-pagetemplates-tpl-name-empty' => 'Bitte gib eine Vorlage an.',
- 'bs-pagetemplates-no-id' => 'Bitte gib eine Seite an, die als Vorlage
verwendet werden soll.',
- 'bs-pagetemplates-tpl-added' => 'Das Template wurde eingetragen.',
- 'bs-pagetemplates-nooldtpl' => 'Das ursprüngliche Template wurde
nicht gefunden.',
- 'bs-pagetemplates-tpl-edited' => 'Die Änderungen wurden übernommen.',
- 'bs-pagetemplates-dberror' => 'Es ist ein Datenbankfehler aufgetreten.',
- 'bs-pagetemplates-tpl-deleted' => 'Das Template wurde gelöscht.',
- 'bs-pagetemplates-general-section' => 'Allgemein',
- 'bs-pagetemplates-choose-template' => "Diese Seite existiert noch
nicht. Du kannst hier einen neuen Artikel verfassen. Falls Du nichts eingeben
möchtest, klicke auf den Zurück-Button des Browsers, um zu der letzten Seite
zurückzukehren.\n\nDu kannst aus einer dieser Vorlagen auswählen:",
- 'bs-pagetemplates-pref-excludens' => 'In diesen Namensräumen keine
Vorlagen anzeigen:',
- 'bs-pagetemplates-pref-forcenamespace' => 'Ziel-Namensraum erzwingen',
- 'bs-pagetemplates-pref-hideifnotintargetns' => 'Vorlage verstecken,
wenn die Seite nicht im Zielnamensraum angelegt wird',
- 'bs-pagetemplates-headerlabel' => 'Name',
- 'bs-pagetemplates-headertargetnamespace' => 'Namensraum',
- 'bs-pagetemplates-tipeditdetails' => 'Vorlage bearbeiten',
- 'bs-pagetemplates-tipdeletetemplate' => 'Vorlage löschen',
- 'bs-pagetemplates-tipaddtemplate' => 'Vorlage hinzufügen',
- 'bs-pagetemplates-label-tpl' => 'Name',
- 'bs-pagetemplates-label-desc' => 'Beschreibung',
- 'bs-pagetemplates-label-targetns' => 'Namensraum',
- 'bs-pagetemplates-label-tplns' => 'Vorlagen Namensraum',
- 'bs-pagetemplates-label-article' => 'Vorlage',
- 'bs-pagetemplates-confirm-deletetpl' => 'Bist du sicher, dass du diese
Vorlage löschen willst?'
-);
+ $cachedData['deps'][] = new FileDependency( $fileName );
+ }
+ return true;
+ }
-$messages['de-formal'] = array(
- 'bs-pagetemplates-empty-page-desc' => 'Beginnen Sie mit einer leeren
Seite.',
- 'bs-pagetemplates-tpl-desc-toolong' => 'Die Beschreibung ist zu lang.
Geben Sie maximal 255 Zeichen an!',
- 'bs-pagetemplates-tpl-label-toolong' => 'Der Titel ist zu lang. Geben
Sie maximal 255 Zeichen an!',
- 'bs-pagetemplates-tpl-label-empty' => 'Bitte geben Sie einen Titel
ein.',
- 'bs-pagetemplates-tpl-name-toolong' => 'Der Name der Vorlage ist zu
lang. Geben Sie maximal 255 Zeichen ein.',
- 'bs-pagetemplates-tpl-name-empty' => 'Bitte geben Sie eine Vorlage an.',
- 'bs-pagetemplates-no-id' => 'Bitte geben Sie eine Seite an, die als
Vorlage verwendet werden soll.',
- 'bs-pagetemplates-choose-template' => "Diese Seite existiert noch
nicht. Sie können hier einen neuen Artikel verfassen. Falls Sie nichts eingeben
möchten, klicken auf den Zurück-Button des Browsers, um zu der letzten Seite
zurückzukehren.\n\nSie können aus einer dieser Vorlagen auswählen:",
- 'bs-pagetemplates-confirm-deletetpl' => 'Sind Sie sicher, dass Sie
diese Vorlage löschen wollen?',
-);
-
-$messages['en'] = array(
- 'bs-pagetemplates-desc' => 'Displays a list of templates marked as page
templates.',
- 'prefs-pagetemplates' => 'Page templates',
- 'bs-pagetemplates-empty-page' => 'Empty page',
- 'bs-pagetemplates-empty-page-desc' => 'Start with an empty page.',
- 'bs-pagetemplatesadmin-label' => 'Page templates',
- 'bs-pagetemplates-tpl-desc-toolong' => 'The description is too long.
Please use a maximum of 255 characters.',
- 'bs-pagetemplates-tpl-label-toolong' => 'The label is too long. Please
use a maximum of 255 characters.',
- 'bs-pagetemplates-tpl-label-empty' => 'Please enter a label.',
- 'bs-pagetemplates-tpl-name-toolong' => 'The template name is too long.
Please use a maximum of 255 characters.',
- 'bs-pagetemplates-tpl-name-empty' => 'Please enter a template name.',
- 'bs-pagetemplates-no-id' => 'Please enter an article to be used as
template.',
- 'bs-pagetemplates-tpl-added' => 'The template has been added.',
- 'bs-pagetemplates-invalid_pfx' => 'The prefix is invalid.',
- 'bs-pagetemplates-nooldtpl' => 'The old template could not be found.',
- 'bs-pagetemplates-tpl-edited' => 'The changes have been saved.',
- 'bs-pagetemplates-dberror' => 'A database error occurred.',
- 'bs-pagetemplates-tpl-deleted' => 'The template has been deleted.',
- 'bs-pagetemplates-general-section' => 'General',
- 'bs-pagetemplates-choose-template' => "This page doesn't exist yet. You
can create a new page. If you don\'t want to do that, click the back button of
your browser to return to the last page visited. \n\nYou can choose from one of
the following templates:",
- 'bs-pagetemplates-pref-excludens' => 'Do not show templates in these
namespaces:',
- 'bs-pagetemplates-pref-forcenamespace' => 'Force target namespace',
- 'bs-pagetemplates-pref-hideifnotintargetns' => 'Hide template if the
article is not to be created in target namespace',
- 'bs-pagetemplates-headerlabel' => 'Label',
- 'bs-pagetemplates-headertargetnamespace' => 'Namespace',
- 'bs-pagetemplates-tipeditdetails' => 'Edit template',
- 'bs-pagetemplates-tipdeletetemplate' => 'Delete template',
- 'bs-pagetemplates-tipaddtemplate' => 'Add template',
- 'bs-pagetemplates-label-tpl' => 'Template name',
- 'bs-pagetemplates-label-desc' => 'Description',
- 'bs-pagetemplates-label-targetns' => 'Namespace',
- 'bs-pagetemplates-label-tplns' => 'Template namespace',
- 'bs-pagetemplates-label-article' => 'Template',
- 'bs-pagetemplates-confirm-deletetpl' => 'Are you sure, you want delete
this template?'
-);
-
-$messages['qqq'] = array(
- 'bs-pagetemplates-desc' => 'Used in
[[Special:Wiki_Admin&mode=ExtensionInfo]], description of page templates
extension.',
- 'prefs-pagetemplates' => "Used in
[[Special:Wiki_Admin&mode=Preferences]], headline for avatars section in
preferences.\n{{Identical|Page Templates}}",
- 'bs-pagetemplates-empty-page' => 'Anchor text for empty page',
- 'bs-pagetemplates-empty-page-desc' => 'Text for start with an empty
page.',
- 'bs-pagetemplatesadmin-label' => "Anchor text in admin tab for page
templates \n {{Identical|Page Templates}}",
- 'bs-pagetemplates-tpl-desc-toolong' => 'Text for the description is too
long. Please use a maximum of 255 characters.',
- 'bs-pagetemplates-tpl-label-toolong' => 'Text for the label is to long.
Please use a maximum of 255 characters.',
- 'bs-pagetemplates-tpl-label-empty' => 'Text for please enter a label.',
- 'bs-pagetemplates-tpl-name-toolong' => 'Text for the template name is
to long. Please use a maximum of 255 characters.',
- 'bs-pagetemplates-tpl-name-empty' => 'Text for please enter a template
name.',
- 'bs-pagetemplates-no-id' => 'Text for please enter an article to be
used as template.',
- 'bs-pagetemplates-tpl-added' => 'Text for the template has been added.',
- 'bs-pagetemplates-invalid_pfx' => 'Text for the prefix is invalid.',
- 'bs-pagetemplates-nooldtpl' => 'Text for the old template could not be
found.',
- 'bs-pagetemplates-tpl-edited' => 'Text for the changes have been
saved.',
- 'bs-pagetemplates-dberror' => 'Text for a database error occurred.',
- 'bs-pagetemplates-tpl-deleted' => 'Text for the template has been
deleted.',
- 'bs-pagetemplates-general-section' => 'Headline for general',
- 'bs-pagetemplates-choose-template' => "text for this page doesn't exist
yet. You can create a new page. If you don't want to do that, click the back
button of your browser to return to the last page visited. \n\nYou can choose
from one of the following templates:",
- 'bs-pagetemplates-pref-excludens' => 'Option in
[[Special:Wiki_Admin&mode=Preferences]], label for do not show templates in
these namespaces:',
- 'bs-pagetemplates-pref-forcenamespace' => 'Option in
[[Special:Wiki_Admin&mode=Preferences]], checkbox label for force target
namespace',
- 'bs-pagetemplates-pref-hideifnotintargetns' => 'Option in
[[Special:Wiki_Admin&mode=Preferences]], checkbox label for hide template if
the article is not to be created in target namespace',
- 'bs-pagetemplates-headerlabel' => 'Label for label',
- 'bs-pagetemplates-headertargetnamespace' => 'Label for namespace',
- 'bs-pagetemplates-tipeditdetails' => 'Text for edit template',
- 'bs-pagetemplates-tipdeletetemplate' => 'Text for delete template',
- 'bs-pagetemplates-tipaddtemplate' => 'Text for add template',
- 'bs-pagetemplates-label-tpl' => 'Label for template name',
- 'bs-pagetemplates-label-desc' => 'Label for description',
- 'bs-pagetemplates-label-targetns' => 'Label for namespace',
- 'bs-pagetemplates-label-tplns' => 'Label for template namespace',
- 'bs-pagetemplates-label-article' => 'Label for template',
- 'bs-pagetemplates-confirm-deletetpl' => 'Text for are you sure, you
want delete this template?'
-);
\ No newline at end of file
+ $GLOBALS['wgHooks']['LocalisationCacheRecache'][] =
'wfJsonI18nShim672216f6cbd46fc7';
+}
--
To view, visit https://gerrit.wikimedia.org/r/140098
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: I5d147a9db396d4823b2ea86868bea8ca0e34a234
Gerrit-PatchSet: 2
Gerrit-Project: mediawiki/extensions/BlueSpiceExtensions
Gerrit-Branch: master
Gerrit-Owner: Smuggli <[email protected]>
Gerrit-Reviewer: Mglaser <[email protected]>
Gerrit-Reviewer: Pigpen <[email protected]>
Gerrit-Reviewer: Raimond Spekking <[email protected]>
Gerrit-Reviewer: Robert Vogel <[email protected]>
Gerrit-Reviewer: Siebrand <[email protected]>
Gerrit-Reviewer: Smuggli <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits