Jeremy Newman : rename zh_CN to zh-cn

Jeremy Newman jnewman at winehq.org
Thu Jan 31 11:17:58 CST 2013


Module: website
Branch: master
Commit: faa55d7055a855ed701958ba9cf8fdb55d4b68fb
URL:    http://source.winehq.org/git/website.git/?a=commit;h=faa55d7055a855ed701958ba9cf8fdb55d4b68fb

Author: Jeremy Newman <jnewman at codeweavers.com>
Date:   Thu Jan 31 11:15:28 2013 -0600

rename zh_CN to zh-cn

---

 images/lang/{zh.png => zh-cn.png}              |  Bin 494 -> 494 bytes
 include/data.php                               |    8 ++++----
 templates/{zh_CN => zh-cn}/about.template      |    0
 templates/{zh_CN => zh-cn}/download.template   |    0
 templates/{zh_CN => zh-cn}/global/404.template |    0
 templates/{zh_CN => zh-cn}/help.template       |    0
 templates/{zh_CN => zh-cn}/home.template       |    0
 templates/{zh_CN => zh-cn}/lang.template       |    0
 templates/{zh_CN => zh-cn}/news.template       |    0
 templates/{zh_CN => zh-cn}/search.template     |    0
 10 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/images/lang/zh.png b/images/lang/zh-cn.png
similarity index 100%
rename from images/lang/zh.png
rename to images/lang/zh-cn.png
diff --git a/include/data.php b/include/data.php
index 1422f4f..92cf10d 100644
--- a/include/data.php
+++ b/include/data.php
@@ -64,10 +64,10 @@ class data
                                                'name'   => 'Türkçe',
                                                'change' => 'Lisan Değiştir'
                                               ),
-				 'zh_CN' => array(
-					       'name'	=> '简体中文',
-					       'change'	=> '选择语言'
-					      )
+                                 'zh-cn' => array(
+                                               'name'   => '简体中文',
+                                               'change' => '选择语言'
+					                          )
                                 );
     }
 }
diff --git a/templates/zh_CN/about.template b/templates/zh-cn/about.template
similarity index 100%
rename from templates/zh_CN/about.template
rename to templates/zh-cn/about.template
diff --git a/templates/zh_CN/download.template b/templates/zh-cn/download.template
similarity index 100%
rename from templates/zh_CN/download.template
rename to templates/zh-cn/download.template
diff --git a/templates/zh_CN/global/404.template b/templates/zh-cn/global/404.template
similarity index 100%
rename from templates/zh_CN/global/404.template
rename to templates/zh-cn/global/404.template
diff --git a/templates/zh_CN/help.template b/templates/zh-cn/help.template
similarity index 100%
rename from templates/zh_CN/help.template
rename to templates/zh-cn/help.template
diff --git a/templates/zh_CN/home.template b/templates/zh-cn/home.template
similarity index 100%
rename from templates/zh_CN/home.template
rename to templates/zh-cn/home.template
diff --git a/templates/zh_CN/lang.template b/templates/zh-cn/lang.template
similarity index 100%
rename from templates/zh_CN/lang.template
rename to templates/zh-cn/lang.template
diff --git a/templates/zh_CN/news.template b/templates/zh-cn/news.template
similarity index 100%
rename from templates/zh_CN/news.template
rename to templates/zh-cn/news.template
diff --git a/templates/zh_CN/search.template b/templates/zh-cn/search.template
similarity index 100%
rename from templates/zh_CN/search.template
rename to templates/zh-cn/search.template




More information about the wine-cvs mailing list