Explorar el Código

MMO-22102:多语言---繁体支持

wangyh hace 3 años
padre
commit
21f971c07e
Se han modificado 1 ficheros con 7 adiciones y 6 borrados
  1. 7 6
      convert.sh

+ 7 - 6
convert.sh

@@ -1,12 +1,13 @@
 export LANG=zh_CN.UTF-8@cjknarrow
 unset LC_ALL
-find 策划脚本/ -name '*.xml' | while read n 
-do
-    bin/opencc -i "$n" -o "$n" -c bin/s2t.json&
-done
 
-find 工具库文件/client_csv_config -name '*.csv' | while read n 
+./生成多语言CSV.exe
+rm 工具库文件/client_csv_config/cnT/* || echo ok
+cp 工具库文件/client_csv_config/cnS/*.csv 工具库文件/client_csv_config/cnT/ 
+mv 工具库文件/client_csv_config/*.csv 工具库文件/client_csv_config/cnT/ 
+find 工具库文件/client_csv_config/cnT/ -name '*.csv' | while read n 
 do
-    bin/opencc -i "$n" -o "$n" -c bin/s2t.json&
+    echo $n
+    bin/opencc -i "$n" -o "$n" -c bin/s2twp.json
 done