http://www.mediawiki.org/wiki/Special:Code/MediaWiki/97493
Revision: 97493
Author: mkroetzsch
Date: 2011-09-19 13:55:36 +0000 (Mon, 19 Sep 2011)
Log Message:
-----------
fixed bug 30990 (also in comments); may need further care in some languages
Modified Paths:
--------------
trunk/extensions/SemanticMediaWiki/languages/SMW_Language.php
trunk/extensions/SemanticMediaWiki/languages/SMW_LanguageEn.php
trunk/extensions/SemanticMediaWiki/languages/SMW_LanguageZh_cn.php
trunk/extensions/SemanticMediaWiki/languages/SMW_LanguageZh_tw.php
Modified: trunk/extensions/SemanticMediaWiki/languages/SMW_Language.php
===================================================================
--- trunk/extensions/SemanticMediaWiki/languages/SMW_Language.php
2011-09-19 13:49:05 UTC (rev 97492)
+++ trunk/extensions/SemanticMediaWiki/languages/SMW_Language.php
2011-09-19 13:55:36 UTC (rev 97493)
@@ -56,7 +56,8 @@
'Code' => '_cod',
'Boolean' => '_boo',
'Number' => '_num',
- 'Geographic coordinate' => '_geo',
+ 'Geographic coordinates'=> '_geo',
+ 'Geographic coordinate' => '_geo', // deprecated, see Bug 30990
'Temperature' => '_tem',
'Quantity' => '_qty',
'Date' => '_dat',
Modified: trunk/extensions/SemanticMediaWiki/languages/SMW_LanguageEn.php
===================================================================
--- trunk/extensions/SemanticMediaWiki/languages/SMW_LanguageEn.php
2011-09-19 13:49:05 UTC (rev 97492)
+++ trunk/extensions/SemanticMediaWiki/languages/SMW_LanguageEn.php
2011-09-19 13:55:36 UTC (rev 97493)
@@ -32,7 +32,7 @@
'_cod' => 'Code', // name of the (source) code type
'_boo' => 'Boolean', // name of the boolean type
'_num' => 'Number', // name for the datatype of numbers
- '_geo' => 'Geographic coordinate', // name of the geocoord type
+ '_geo' => 'Geographic coordinates', // name of the geocoord type
'_tem' => 'Temperature', // name of the temperature type
'_dat' => 'Date', // name of the datetime (calendar) type
'_ema' => 'Email', // name of the email type
@@ -49,6 +49,7 @@
'Integer' => '_num',
'Enumeration' => '_str',
'Phone number' => '_tel',
+ 'Geographic coordinate' => '_geo'
);
protected $m_SpecialProperties = array(
Modified: trunk/extensions/SemanticMediaWiki/languages/SMW_LanguageZh_cn.php
===================================================================
--- trunk/extensions/SemanticMediaWiki/languages/SMW_LanguageZh_cn.php
2011-09-19 13:49:05 UTC (rev 97492)
+++ trunk/extensions/SemanticMediaWiki/languages/SMW_LanguageZh_cn.php
2011-09-19 13:55:36 UTC (rev 97493)
@@ -31,7 +31,7 @@
'_cod' => 'Code', // name of the (source) code type //TODO:
translate
'_boo' => '布林', // 'Boolean', // name of the boolean type
'_num' => '数字', // 'Number', // name for the datatype of
numbers
- '_geo' => '地理学的座标', // 'Geographic coordinate', // name of
the geocoord type
+ '_geo' => '地理学的座标', // 'Geographic coordinates', // name of
the geocoord type
'_tem' => '温度', // 'Temperature', // name of the temperature
type
'_dat' => '日期', // 'Date', // name of the datetime (calendar)
type
'_ema' => 'Email', // 'Email', // name of the email type
Modified: trunk/extensions/SemanticMediaWiki/languages/SMW_LanguageZh_tw.php
===================================================================
--- trunk/extensions/SemanticMediaWiki/languages/SMW_LanguageZh_tw.php
2011-09-19 13:49:05 UTC (rev 97492)
+++ trunk/extensions/SemanticMediaWiki/languages/SMW_LanguageZh_tw.php
2011-09-19 13:55:36 UTC (rev 97493)
@@ -29,7 +29,7 @@
'_cod' => 'Code', // name of the (source) code type //TODO:
translate
'_boo' => '布林', // 'Boolean', // name of the boolean type
'_num' => '數字', // 'Number', // name for the datatype of
numbers
- '_geo' => '地理學的座標', // 'Geographic coordinate', // name of
the geocoord type
+ '_geo' => '地理學的座標', // 'Geographic coordinates', // name of
the geocoord type
'_tem' => '溫度', // 'Temperature', // name of the temperature
type
'_dat' => '日期', // 'Date', // name of the datetime (calendar)
type
'_ema' => 'Email', // 'Email', // name of the email type
_______________________________________________
MediaWiki-CVS mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs