浏览代码

Merge pull request #53 from kghbln/master

Fix for I18n as well as adding German translation
Jamie Thingelstad 11 年之前
父节点
当前提交
22bb897b25
共有 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';