Jelajahi Sumber

多语言优化

Bhikkhu-Kosalla 5 tahun lalu
induk
melakukan
bac67a0def

File diff ditekan karena terlalu besar
+ 2 - 2
app/dict/README.md


+ 1 - 1
app/public/lang/default.json

@@ -195,7 +195,7 @@
 		"need_inform": "without informing other Bhikkhu ",
 		"new": "New",
 		"new_account": "New Account",
-		"new_project": "New Project",
+		"new_project": "New Word by Word Analysis",
 		"new_revision": "New Revision",
 		"new_technic_term": "New Technic Term",
 		"newheading": "Text Editor",

+ 1 - 1
app/public/lang/en.json

@@ -195,7 +195,7 @@
 		"need_inform": "without informing other Bhikkhu ",
 		"new": "New",
 		"new_account": "New Account",
-		"new_project": "New Project",
+		"new_project": "New Word by Word Analysis",
 		"new_revision": "New Revision",
 		"new_technic_term": "New Technic Term",
 		"newheading": "Text Editor",

+ 1 - 1
app/public/lang/my.json

@@ -195,7 +195,7 @@
 		"need_inform": "without informing other Bhikkhu ",
 		"new": "New",
 		"new_account": "New Account",
-		"new_project": "New Project",
+		"new_project": "New Word by Word Analysis",
 		"new_revision": "New Revision",
 		"new_technic_term": "New Technic Term",
 		"newheading": "Text Editor",

+ 3 - 2
app/public/lang/zh-cn.json

@@ -196,7 +196,7 @@
 		"need_inform": "未告知其他比库",
 		"new": "新建",
 		"new_account": "注册",
-		"new_project": "新建工程",
+		"new_project": "新建逐词解析",
 		"new_revision": "新版本",
 		"new_technic_term": "新建术语",
 		"newheading": "内容编辑",
@@ -522,7 +522,7 @@
 		"channel": "版本风格",
 		"channels": "版本风格列表",
 		"like": "赞",
-		"blank": "空白",
+		"blank": "",
 		"vocabulary_list": "词汇列表",
 		"private": "私享",
 		"private_note": "仅自己可见,不支持订阅,不可搜索",
@@ -616,6 +616,7 @@
 		"watching_course": "关注的课程",
 		"searching_instruction": "查词指南",
 		"dict_searching_placehold": "单词里面添加“+”可分别查看查询结果",
+		"": "",
 		"": ""
 	},
 	"grammastr": [

+ 2 - 2
app/public/lang/zh-tw.json

@@ -196,7 +196,7 @@
 		"need_inform": "未告知其他同伴",
 		"new": "新建",
 		"new_account": "註冊",
-		"new_project": "新建工程",
+		"new_project": "新建逐詞解析",
 		"new_revision": "新版本",
 		"new_technic_term": "新建術語",
 		"newheading": "內容編輯",
@@ -522,7 +522,7 @@
 		"channel": "版本風格",
 		"channels": "版本風格列錶",
 		"like": "贊",
-		"blank": "空白",
+		"blank": "",
 		"vocabulary_list": "詞彙列錶",
 		"private": "私享",
 		"private_note": "僅自己可見,不推訂閱,不可搜尋",

+ 7 - 7
app/studio/project.php

@@ -324,7 +324,7 @@ switch ($op) {
             if (!isset($_POST["title"])) {
                 $thisFileName = basename(__FILE__);
                 echo "<div class='fun_block'>";
-                echo "<h2>New Document 新建文档</h2>";
+                echo "<h2>{$_local->gui->new_project}</h2>";
                 echo "<form action=\"{$thisFileName}\" method=\"post\">";
                 echo "<input type='hidden' name='op' value='{$op}'/>";
                 echo "<input type='hidden' name='data' value='{$data}'/>";
@@ -362,10 +362,10 @@ switch ($op) {
                     echo '<div class="title" style="flex:2;padding-bottom:5px;">';
                     if ($FetchWBW == 0) {
                         echo $_local->gui->blank;
-                        echo "<a>快捷编辑</a>";
+                        echo "&nbsp;<a></a>";//快捷编辑?
                     } else {
                         echo $FetchWBW . $_local->gui->para;
-                        echo "<a href='../studio/editor.php?op=openchannal&book=$book&para={$paraList}&channal={$row["id"]}'>open</a>";
+                        echo "&nbsp;<a href='../studio/editor.php?op=openchannal&book=$book&para={$paraList}&channal={$row["id"]}'>{$_local->gui->open}</a>";
                     }
                     echo '</div>';
 
@@ -390,10 +390,10 @@ switch ($op) {
                 }
                 echo '<div class="file_list_row" style="padding:5px;">';
 
-                echo '<div class="pd-10"  style="max-width:2em;flex:1;">New Channal 新建频道</div>';
-                echo '<div class="title" style="flex:3;padding-bottom:5px;">';
+                echo '<div class="pd-10"  style="max-width:7em;flex:1;">'.$_local->gui->new.'&nbsp;'.$_local->gui->channel.'</div>';
+                echo '<div class="title" style="flex:3;padding-bottom:5px;display:none;">';
                 echo '在studio中新建版本风格</div>';
-                echo '<div class="author"  style="flex:1;padding-bottom:5px;"><button>New 新建</button></div>';
+                echo '<div class="author"  style="flex:1;padding-bottom:5px;"><button>'.$_local->gui->new.'</button></div>';
 
                 echo '</div>';
                 echo "</div>";
@@ -408,7 +408,7 @@ switch ($op) {
 
                 echo "</select>";
                 echo "</fieldset>";
-                echo "<input type=\"submit\" value='Create 建立'>";
+                echo "<input type=\"submit\" value='{$_local->gui->create_now}'>";
                 echo "<input type='hidden' name='format' value='db'>";
                 echo "</form>";
                 echo "</div>";

Beberapa file tidak ditampilkan karena terlalu banyak file yang berubah dalam diff ini