Просмотр исходного кода

Fix for I18n as well as adding German translation

kghbln 11 лет назад
Родитель
Сommit
413b456b19
2 измененных файлов с 16 добавлено и 8 удалено
  1. 11 3
      Foreground.i18n.php
  2. 5 5
      foreground.php

+ 11 - 3
Foreground.i18n.php

@@ -1,7 +1,7 @@
 <?php
 
 /**
- * Internationalization file for skin Laravel.
+ * Internationalization file for skin Foreground.
  *
  * @file
  * @ingroup Skins
@@ -14,5 +14,13 @@ $messages = array();
  */
 $messages['en'] = array(
 	'skinname-foreground' => 'Foreground',
-	'foreground-desc' => 'A MediaWiki skin that focuses on putting your content in the foreground.'
-);
+	'foreground-desc' => 'Provides a skin that focuses on putting your content in the foreground'
+);
+
+/** German (Deutsch)
+ * @author Kghbln
+ */
+$messages['de'] = array(
+	'skinname-foreground' => 'Foreground',
+	'foreground-desc' => 'Stellt eine Benutzeroberfläche bereit, die die Inhalte des Wikis betont'
+);

+ 5 - 5
foreground.php

@@ -16,11 +16,11 @@ if( ! defined( 'MEDIAWIKI' ))
 
 
 $wgExtensionCredits['skin'][] = array(
-    'path'			 => __FILE__,
-    'name'			 => 'Foreground',
-    'url'			 => 'http://foreground.wikiwonders.net/',
-    'author'		 => 'WikiWonders',
-    'descriptionmsg' => 'A MediaWiki skin that focuses on putting your content in the foreground.',
+	'path'		 => __FILE__,
+	'name'		 => 'Foreground',
+	'url'		 => 'http://foreground.wikiwonders.net/',
+	'author'	 => 'WikiWonders',
+	'descriptionmsg' => 'foreground-desc',
 );
 
 $wgValidSkinNames['foreground'] = 'Foreground';