bhikkhu-kosalla-china 4 anni fa
parent
commit
14fa51aa5c

+ 24 - 9
app/channal/channal.js

@@ -42,10 +42,23 @@ function my_channal_list() {
 					let html = "";
 					let result = JSON.parse(data);
 					let key = 1;
+					//表头
+					html += '<div class="file_list_row" style="padding:5px;">';
+					html += '<div style="max-width:2em;flex:1;"><input type="checkbox" /></div>';
+					html += "<div style='flex:0.5;'>No.</div>";
+					html += "<div style='flex:2;'>" + gLocal.gui.title + "</div>";
+					html += "<div style='flex:2;'>" + gLocal.gui.owner + "</div>";
+					html += "<div style='flex:1;'>" + gLocal.gui.privacy + "</div>";
+					html += "<div style='flex:1;'>" + gLocal.gui.permission + "</a></div>";
+					html += "<div style='flex:1;'>" + gLocal.gui.edit + "</a></div>";
+					html += "<div style='flex:1;'>" + gLocal.gui.collaborate + "</div>";
+					html += "</div>";
+					//列表
+					
 					for (const iterator of result) {
 						html += '<div class="file_list_row" style="padding:5px;">';
 						html += '<div style="max-width:2em;flex:1;"><input type="checkbox" /></div>';
-						html += "<div style='flex:1;'>" + key++ + "</div>";
+						html += "<div style='flex:0.5;'>" + key++ + "</div>";
 						html += "<div style='flex:2;'>";
 						html += "<guide url='../channal/card.php' gid='" + iterator.id + "'>";
 						html += iterator.name;
@@ -61,11 +74,11 @@ function my_channal_list() {
 						}
 
 						html += "</div>";
-						html += "<div style='flex:2;'>";
+						html += "<div style='flex:1;'>";
 						let arrStatus = [
 							{ id: 0, string: gLocal.gui.disable },
-							{ id: 10, string: gLocal.gui.private },
-							{ id: 30, string: gLocal.gui.public },
+							{ id: 10, string: "🔐"+gLocal.gui.private },
+							{ id: 30, string: "🌐"+gLocal.gui.public },
 						];
 						for (const status of arrStatus) {
 							if (parseInt(iterator.status) == status.id) {
@@ -82,6 +95,8 @@ function my_channal_list() {
 								html += "</div>";
 								html += "<div style='flex:1;'>";
 								html += "</div>";
+								html += "<div style='flex:1;'>";
+								html += "</div>";
 								break;
 							case 20:
 								html += "<div style='flex:1;'>";
@@ -91,9 +106,9 @@ function my_channal_list() {
 								html +=
 									"<a href='../channal/my_channal_edit.php?id=" +
 									iterator.id +
-									"'>" +
+									"'>✏️" +
 									gLocal.gui.edit +
-									"</a>";
+									"</a></div><div style='flex:1;'>";
 								html += "</div>";
 								break;
 							case 30:
@@ -104,10 +119,10 @@ function my_channal_list() {
 								html +=
 									"<a href='../channal/my_channal_edit.php?id=" +
 									iterator.id +
-									"'>" +
+									"'>✏️" +
 									gLocal.gui.edit +
-									"</a>";
-								html += " <a onclick=\"channel_share('" + iterator.id + "')\">Share</a>";
+									"</a></div><div style='flex:1;'>";
+								html += " <a onclick=\"channel_share('" + iterator.id + "')\">🔑"+gLocal.gui.share_to+"</a>";
 								html += "</div>";
 
 								break;

+ 4 - 3
app/public/lang/default.json

@@ -45,7 +45,7 @@
 		"click_word_to": "click word to ",
 		"code_convert": "Code Convertor",
 		"color": "Color",
-		"column_compare": "column",
+		"column_compare": "Up&nbsp;&&nbsp;Down",
 		"commentary": "Commentary",
 		"completely_delete": "completely delete",
 		"computer": "Computer",
@@ -261,7 +261,7 @@
 		"revision_mode": "Revision Mode",
 		"round_1": "Round ",
 		"round_2": "&nbsp;dictionary",
-		"row_compare": "row",
+		"row_compare": "Left&nbsp;&&nbsp;Right",
 		"same_word": "same words",
 		"saṃvacchara": "saṃvacchara",
 		"sandhi": "Sandhi",
@@ -593,7 +593,7 @@
 		"person": "Person",
 		"write": "Write",
 		"sub_group": "Project",
-		"your": "Your",
+		"your": "Yours",
 		"status": "status",
 		"in_recycle_bin": "in&nbsp;recycle-bin",
 		"cover": "cover",
@@ -630,6 +630,7 @@
 		"next_line": "new line",
 		"link": "sambandha",
 		"co_channel": "collaborative channels",
+		"permission": "permission",
 		"": ""
 	},
 	"grammastr": [

+ 4 - 3
app/public/lang/en.json

@@ -45,7 +45,7 @@
 		"click_word_to": "click word to ",
 		"code_convert": "Code Convert",
 		"color": "Color",
-		"column_compare": "column",
+		"column_compare": "Up&nbsp;&&nbsp;Down",
 		"commentary": "Commentary",
 		"completely_delete": "completely delete",
 		"computer": "Computer",
@@ -261,7 +261,7 @@
 		"revision_mode": "Revision Mode",
 		"round_1": "Round ",
 		"round_2": "&nbsp;dictionary",
-		"row_compare": "row",
+		"row_compare": "Left&nbsp;&&nbsp;Right",
 		"same_word": "same words",
 		"saṃvacchara": "saṃvacchara",
 		"sandhi": "Sandhi",
@@ -592,7 +592,7 @@
 		"person": "Person",
 		"write": "Write",
 		"sub_group": "Project",
-		"your": "Your",
+		"your": "Yours",
 		"status": "status",
 		"in_recycle_bin": "in&nbsp;recycle-bin",
 		"cover": "cover",
@@ -629,6 +629,7 @@
 		"next_line": "new line",
 		"link": "link",
 		"co_channel": "collaborative channels",
+		"permission": "permission",
 		"": ""
 	},
 	"grammastr": [

+ 35 - 34
app/public/lang/my.json

@@ -45,7 +45,7 @@
 		"click_word_to": "click word to ",
 		"code_convert": "Code Convert",
 		"color": "Color",
-		"column_compare": "column",
+		"column_compare": "Up&nbsp;&&nbsp;Down",
 		"commentary": "Commentary",
 		"completely_delete": "completely delete",
 		"computer": "Computer",
@@ -261,7 +261,7 @@
 		"revision_mode": "Revision Mode",
 		"round_1": "Round ",
 		"round_2": "&nbsp;dictionary",
-		"row_compare": "row",
+		"row_compare": "Left&nbsp;&&nbsp;Right",
 		"same_word": "same words",
 		"saṃvacchara": "သံဝစ္ဆရ",
 		"sandhi": "Sandhi",
@@ -592,7 +592,7 @@
 		"person": "Person",
 		"write": "Write",
 		"sub_group": "Project",
-		"your": "Your",
+		"your": "Yours",
 		"status": "status",
 		"in_recycle_bin": "in&nbsp;recycle-bin",
 		"cover": "cover",
@@ -629,6 +629,7 @@
 		"next_line": "new line",
 		"link": "link",
 		"co_channel": "collaborative channels",
+		"permission": "permission",
 		"": ""
 	},
 	"grammastr": [
@@ -666,35 +667,35 @@
 		},
 		{
 			"id": ".nom.",
-			"value": "ပစ္စတ္တ"
+			"value": "ပ"
 		},
 		{
 			"id": ".acc.",
-			"value": "ဥပယောဂ"
+			"value": "ဒု"
 		},
 		{
 			"id": ".inst.",
-			"value": "ကရဏ"
+			"value": ""
 		},
 		{
 			"id": ".dat.",
-			"value": "သမ္ပဒာန"
+			"value": ""
 		},
 		{
 			"id": ".abl.",
-			"value": "နိသ္သက္က"
+			"value": "မီ"
 		},
 		{
 			"id": ".gen.",
-			"value": "သာမိ"
+			"value": ""
 		},
 		{
 			"id": ".loc.",
-			"value": "ဘုမ္မ"
+			"value": ""
 		},
 		{
 			"id": ".voc.",
-			"value": "အာမန္တန"
+			"value": "အာ"
 		},
 		{
 			"id": ".imp.",
@@ -726,27 +727,27 @@
 		},
 		{
 			"id": ".1p.",
-			"value": "အမ္ဟ"
+			"value": "ဥတ္တရပုရိသ"
 		},
 		{
 			"id": ".2p.",
-			"value": "တုမ္ဟ"
+			"value": "မဇ္ဈိမပုရိသ"
 		},
 		{
 			"id": ".3p.",
-			"value": ""
+			"value": "ပဌမပုရိသ"
 		},
 		{
 			"id": ".ger.",
-			"value": "Ger."
+			"value": "တွာ"
 		},
 		{
 			"id": ".abs.",
-			"value": "Abs."
+			"value": "တွာ"
 		},
 		{
 			"id": ".inf.",
-			"value": "Inf."
+			"value": "တုံ"
 		},
 		{
 			"id": ".pf.",
@@ -762,7 +763,7 @@
 		},
 		{
 			"id": ".prp.",
-			"value": "prp."
+			"value": "မာနန္တ"
 		},
 		{
 			"id": ".prpa.",
@@ -794,7 +795,7 @@
 		},
 		{
 			"id": ".fpp.",
-			"value": "fpp."
+			"value": "ကိစ္စ"
 		},
 		{
 			"id": ".grd.",
@@ -834,7 +835,7 @@
 		},
 		{
 			"id": ".v:ind.",
-			"value": "က္ရိယာ:ဗ္ယ"
+			"value": "ကြိ၊ဝိ"
 		},
 		{
 			"id": ".adv.",
@@ -930,7 +931,7 @@
 		},
 		{
 			"id": ".end.",
-			"value": "case end."
+			"value": "ဝိဘတ္တိ"
 		},
 		{
 			"id": "_un_auto_factormean_",
@@ -952,15 +953,15 @@
 		},
 		{
 			"id": ".v.",
-			"value": "က္ရိယာ"
+			"value": "ကြိ"
 		},
 		{
 			"id": ".ind.",
-			"value": "ဗ္ယ"
+			"value": "ဗ"
 		},
 		{
 			"id": ".v:ind.",
-			"value": "က္ရိယာ:ဗ္ယ"
+			"value": "ကြိ၊ဝိ"
 		},
 		{
 			"id": ".adj.",
@@ -972,11 +973,11 @@
 		},
 		{
 			"id": ".pron.",
-			"value": "pron."
+			"value": "သဗ္ဗနာမ"
 		},
 		{
 			"id": ".num.",
-			"value": "num."
+			"value": "နာမ"
 		},
 		{
 			"id": ".un.",
@@ -988,27 +989,27 @@
 		},
 		{
 			"id": ".pron:base.",
-			"value": "pron:base."
+			"value": "လိင်္ဂ"
 		},
 		{
 			"id": ".adj:base.",
-			"value": "adj:base."
+			"value": "လိင်္ဂ"
 		},
 		{
 			"id": ".n:base.",
-			"value": "n:base."
+			"value": "လိင်္ဂ"
 		},
 		{
 			"id": ".ti:base.",
-			"value": "ti:base."
+			"value": "လိင်္ဂ"
 		},
 		{
 			"id": ".num:base.",
-			"value": "num:base."
+			"value": "လိင်္ဂ"
 		},
 		{
 			"id": ".pre.",
-			"value": "prefix."
+			"value": "ဥပသဂ္ဂ"
 		},
 		{
 			"id": ".root.",
@@ -1016,7 +1017,7 @@
 		},
 		{
 			"id": ".suf.",
-			"value": "suffix."
+			"value": "ပစ္စယ"
 		},
 		{
 			"id": ".end.",
@@ -1024,7 +1025,7 @@
 		},
 		{
 			"id": ".v:base.",
-			"value": "v:base."
+			"value": "ဝိဘတ္တိ"
 		}
 	],
 	"formula": [

+ 4 - 3
app/public/lang/si.json

@@ -45,7 +45,7 @@
 		"click_word_to": "click word to ",
 		"code_convert": "කේතය පරිවර්තනය ",
 		"color": "වර්ණය",
-		"column_compare": "column",
+		"column_compare": "Up&nbsp;&&nbsp;Down",
 		"commentary": "Commentary",
 		"completely_delete": "completely delete",
 		"computer": "පරිගණකය",
@@ -265,7 +265,7 @@
 		"revision_mode": "පුනරීක්ෂණය ක්‍රමය",
 		"round_1": "Round ",
 		"round_2": "&nbsp;dictionary “",
-		"row_compare": "row",
+		"row_compare": "Left&nbsp;&&nbsp;Right",
 		"same_word": "same words",
 		"saṃvacchara": "සංවච්ඡ‍ර",
 		"sandhi": "සන්ධි ",
@@ -597,7 +597,7 @@
 		"person": "Person",
 		"write": "Write",
 		"sub_group": "Project",
-		"your": "Your",
+		"your": "Yours",
 		"status": "status",
 		"in_recycle_bin": "in&nbsp;recycle-bin",
 		"cover": "cover",
@@ -634,6 +634,7 @@
 		"next_line": "new line",
 		"link": "link",
 		"co_channel": "collaborative channels",
+		"permission": "permission",
 		"": ""
 	},
 	"grammastr": [

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

@@ -45,7 +45,7 @@
 		"click_word_to": "点词",
 		"code_convert": "巴利编码转换器",
 		"color": "颜色",
-		"column_compare": "纵向",
+		"column_compare": "上下",
 		"commentary": "注疏",
 		"completely_delete": "彻底删除",
 		"computer": "电脑",
@@ -262,7 +262,7 @@
 		"revision_mode": "修订模式",
 		"round_1": "第",
 		"round_2": "轮",
-		"row_compare": "横向",
+		"row_compare": "左右",
 		"same_word": "个相同单词",
 		"saṃvacchara": "年",
 		"sandhi": "连读词显示",
@@ -595,7 +595,7 @@
 		"person": "个人",
 		"write": "可编辑",
 		"sub_group": "项目",
-		"your": "你的",
+		"your": "你自己的",
 		"status": "状态",
 		"in_recycle_bin": "在回收站中",
 		"cover": "封面",
@@ -632,6 +632,7 @@
 		"next_line": "换行",
 		"link": "关联",
 		"co_channel": "协作版本",
+		"permission": "权限",
 		"": ""
 	},
 	"grammastr": [

+ 4 - 3
app/public/lang/zh-tw.json

@@ -45,7 +45,7 @@
 		"click_word_to": "點詞",
 		"code_convert": "巴利編碼轉換器",
 		"color": "顏色",
-		"column_compare": "縱嚮",
+		"column_compare": "上下",
 		"commentary": "註疏",
 		"completely_delete": "永久移除",
 		"computer": "電腦",
@@ -262,7 +262,7 @@
 		"revision_mode": "修訂模式",
 		"round_1": "第",
 		"round_2": "輪",
-		"row_compare": "橫嚮",
+		"row_compare": "左右",
 		"same_word": "個相同單詞",
 		"saṃvacchara": "年",
 		"sandhi": "黏音詞顯示",
@@ -594,7 +594,7 @@
 		"person": "個人",
 		"write": "可編輯",
 		"sub_group": "項目",
-		"your": "你的",
+		"your": "你自己的",
 		"status": "狀態",
 		"in_recycle_bin": "在回收站中",
 		"cover": "封麵",
@@ -631,6 +631,7 @@
 		"next_line": "換行",
 		"link": "關聯",
 		"co_channel": "協作版本",
+		"permission": "權限",
 		"": ""
 	},
 	"grammastr": [

+ 4 - 4
app/reader/right_tool_bar.php

@@ -57,14 +57,14 @@
 }
 	</style>
 			<select name="direction" onchange='setDirection(this)' >
-			<option value="row">横向</option>
-			<option value="column">纵向</option>
+			<option value="row"><?php echo $_local->gui->row_compare; ?></option>
+			<option value="column"><?php echo $_local->gui->column_compare; ?></option>
 		</select>
 <?php
 		if($_mode == "read"){
 			echo "<select onchange='setDisplay(this)'>";
-			echo "<option value='para'>逐段</option>";
-			echo "<option value='sent'>逐句</option>";
+			echo "<option value='para'>{$_local->gui->each_paragraph}</option>";
+			echo "<option value='sent'>{$_local->gui->each_sentence}</option>";
 			echo "</select>";
 		}
 		if($_mode == "read"){