소스 검색

语法气泡优化

bhikkhu-kosalla-china 4 년 전
부모
커밋
db23d328f6
5개의 변경된 파일46개의 추가작업 그리고 21개의 파일을 삭제
  1. 34 18
      app/dict/grm_abbr.php
  2. 2 2
      app/studio/js/render.js
  3. 7 1
      app/users_guide/zh-cn/grammar_abl.md
  4. 1 0
      app/users_guide/zh-cn/grammar_vinaya.md
  5. 2 0
      app/users_guide/zh-cn/grammar_vism.md

+ 34 - 18
app/dict/grm_abbr.php

@@ -11,6 +11,16 @@ define("GRM_ABBR",[
 	["dictid"=>2,"abbr"=>",na)","replace"=>"nt"],
 	["dictid"=>2,"abbr"=>"(ti)","replace"=>"ti"],
 	["dictid"=>2,"abbr"=>"(kri)","replace"=>"verb"],
+	["dictid"=>35,"abbr"=>"(thī)","replace"=>"f"],
+	["dictid"=>35,"abbr"=>"(thī,","replace"=>"f"],
+	["dictid"=>35,"abbr"=>",thī)","replace"=>"f"],
+	["dictid"=>35,"abbr"=>"(pa)","replace"=>"m"],
+	["dictid"=>35,"abbr"=>"(pu,","replace"=>"m"],
+	["dictid"=>35,"abbr"=>"(na)","replace"=>"nt"],
+	["dictid"=>35,"abbr"=>"(na,","replace"=>"nt"],
+	["dictid"=>35,"abbr"=>",na)","replace"=>"nt"],
+	["dictid"=>35,"abbr"=>"(ti)","replace"=>"ti"],
+	["dictid"=>35,"abbr"=>"(kri)","replace"=>"verb"],
 	["dictid"=>4,"abbr"=>"【过】","replace"=>"aor"],
 	["dictid"=>4,"abbr"=>"【过分】","replace"=>"pp"],
 	["dictid"=>4,"abbr"=>"【现分】","replace"=>"ppr"],
@@ -58,6 +68,7 @@ define("GRM_ABBR",[
 	["dictid"=>1,"abbr"=>"loc.","replace"=>"loc"],
 	["dictid"=>1,"abbr"=>"opt.","replace"=>"opt"],
 	["dictid"=>1,"abbr"=>"adv.","replace"=>"adv"],
+	["dictid"=>1,"abbr"=>"grd.","replace"=>"fpp"],
 	["dictid"=>1,"abbr"=>"Sk.","replace"=>"sk"],
 	["dictid"=>1,"abbr"=>"cf.","replace"=>"cf"],
 	["dictid"=>1,"abbr"=>"pp.","replace"=>"pp"],
@@ -82,6 +93,7 @@ define("GRM_ABBR",[
 	["dictid"=>8,"abbr"=>"loc.","replace"=>"loc"],
 	["dictid"=>8,"abbr"=>"opt.","replace"=>"opt"],
 	["dictid"=>8,"abbr"=>"adv.","replace"=>"adv"],
+	["dictid"=>8,"abbr"=>"grd.","replace"=>"fpp"],
 	["dictid"=>8,"abbr"=>"Sk.","replace"=>"sk"],
 	["dictid"=>8,"abbr"=>"cf.","replace"=>"cf"],
 	["dictid"=>8,"abbr"=>"pp.","replace"=>"pp"],
@@ -108,11 +120,11 @@ define("GRM_ABBR",[
 	["dictid"=>3,"abbr"=>"pl.","replace"=>"pl"],
 	["dictid"=>3,"abbr"=>"sg.","replace"=>"sg"],
 	["dictid"=>3,"abbr"=>"pp.","replace"=>"pp"],
-	["dictid"=>3,"abbr"=>"adj.","replace"=>"adj"],
-	["dictid"=>3,"abbr"=>"m.","replace"=>"m"],
-	["dictid"=>3,"abbr"=>"f.","replace"=>"f"],
-	["dictid"=>3,"abbr"=>"n.","replace"=>"nt"],
-	["dictid"=>3,"abbr"=>"a.","replace"=>"adj"],
+	["dictid"=>3,"abbr"=>"[adj.]","replace"=>"adj"],
+	["dictid"=>3,"abbr"=>"[m.]","replace"=>"m"],
+	["dictid"=>3,"abbr"=>"[f.]","replace"=>"f"],
+	["dictid"=>3,"abbr"=>"[n.]","replace"=>"nt"],
+	["dictid"=>3,"abbr"=>"[a.]","replace"=>"adj"],
 	["dictid"=>6,"abbr"=>"imper.","replace"=>"imp"],
 	["dictid"=>6,"abbr"=>"denom.","replace"=>"denom"],
 	["dictid"=>6,"abbr"=>"prp.","replace"=>"prp"],
@@ -143,27 +155,31 @@ define("GRM_ABBR",[
 	["dictid"=>6,"abbr"=>"f.","replace"=>"f"],
 	["dictid"=>6,"abbr"=>"n.","replace"=>"nt"],
 	["dictid"=>6,"abbr"=>"子音","replace"=>"consonant"],
+	["dictid"=>15,"abbr"=>"Vism.","replace"=>"vism"],
+	["dictid"=>15,"abbr"=>"Vin.","replace"=>"vinaya"],
 	["dictid"=>15,"abbr"=>"aor.","replace"=>"aor"],
-	["dictid"=>15,"abbr"=>"ger.","replace"=>"ger"],
-	["dictid"=>15,"abbr"=>"nom.","replace"=>"nom"],
-	["dictid"=>15,"abbr"=>"acc.","replace"=>"acc"],
-	["dictid"=>15,"abbr"=>"voc.","replace"=>"voc"],
-	["dictid"=>15,"abbr"=>"abl.","replace"=>"abl"],
-	["dictid"=>15,"abbr"=>"instr.","replace"=>"inst"],
-	["dictid"=>15,"abbr"=>"inst.","replace"=>"inst"],
-	["dictid"=>15,"abbr"=>"dat.","replace"=>"dat"],
-	["dictid"=>15,"abbr"=>"gen.","replace"=>"gen"],
-	["dictid"=>15,"abbr"=>"loc.","replace"=>"loc"],
+	["dictid"=>15,"abbr"=>"Ger.","replace"=>"ger"],
+	["dictid"=>15,"abbr"=>"Nom.","replace"=>"nom"],
+	["dictid"=>15,"abbr"=>"Acc.","replace"=>"acc"],
+	["dictid"=>15,"abbr"=>"Voc.","replace"=>"voc"],
+	["dictid"=>15,"abbr"=>"Abl.","replace"=>"abl"],
+	["dictid"=>15,"abbr"=>"Instr.","replace"=>"inst"],
+	["dictid"=>15,"abbr"=>"Inst.","replace"=>"inst"],
+	["dictid"=>15,"abbr"=>"Dat.","replace"=>"dat"],
+	["dictid"=>15,"abbr"=>"Gen.","replace"=>"gen"],
+	["dictid"=>15,"abbr"=>"Loc.","replace"=>"loc"],
 	["dictid"=>15,"abbr"=>"opt.","replace"=>"opt"],
 	["dictid"=>15,"abbr"=>"adv.","replace"=>"adv"],
+	["dictid"=>15,"abbr"=>"Sk.","replace"=>"sk"],
 	["dictid"=>15,"abbr"=>"cf.","replace"=>"cf"],
 	["dictid"=>15,"abbr"=>"pl.","replace"=>"pl"],
 	["dictid"=>15,"abbr"=>"sg.","replace"=>"sg"],
 	["dictid"=>15,"abbr"=>"pp.","replace"=>"pp"],
-	["dictid"=>15,"abbr"=>"m.","replace"=>"m"],
+	["dictid"=>15,"abbr"=>"m.)","replace"=>"m"],
 	["dictid"=>15,"abbr"=>"f.","replace"=>"f"],
-	["dictid"=>15,"abbr"=>"n.","replace"=>"nt"],
-	["dictid"=>15,"abbr"=>"a.","replace"=>"adj"],
+	["dictid"=>15,"abbr"=>"nt.","replace"=>"nt"],
+	["dictid"=>15,"abbr"=>"nt.","replace"=>"nt"],
+	["dictid"=>15,"abbr"=>"(adj.)","replace"=>"adj"],
 	["dictid"=>18,"abbr"=>"BSk.","replace"=>"bsk"],	
 	["dictid"=>18,"abbr"=>"Bsk.","replace"=>"bsk"],	
 	["dictid"=>18,"abbr"=>"aor.","replace"=>"aor"],

+ 2 - 2
app/studio/js/render.js

@@ -2342,7 +2342,7 @@ function renderWordDetailByElement_edit_a(xmlElement) {
 		renderMeaning = renderMeaning.replace(/\]/g, "</span>");
 		//格位公式结束
 		if (sMean.length == 0) {
-			renderMeaning = "<span class='word_space_holder'>meaning</span>";
+			renderMeaning = "<span class='word_space_holder'>"+gLocal.gui.meaning+"</span>";
 		}
 		//渲染下拉菜单
 		_txtOutDetail += "<div class='mean'>";
@@ -2431,7 +2431,7 @@ function renderWordDetailByElement_edit_a(xmlElement) {
 			currOM = sOm;
 		}
 		if (currOM.length == 0) {
-			currOM = "<span class='word_space_holder''>part mean</span>";
+			currOM = "<span class='word_space_holder''>"+gLocal.gui.partmeaning+"</span>";
 		}
 
 		_txtOutDetail += currOM;

+ 7 - 1
app/users_guide/zh-cn/grammar_abl.md

@@ -4,4 +4,10 @@
 |-|-|-|
 |巴利|——|Nissakka-vacana\(常见于注释书\)<br>pañcamī-vibhatti\(常见于语法书\)|
 |汉|**来源**|来源格<br>离格<br>夺格<br>从格<br>第五变格|
-|英|**abl.**|ablative case|
+|英|**abl.**|ablative case|
+
+## 常见用法:
+>表达动作之**所由**
+>1. 表达动作的**起点**:从**何处**发生
+>2. 表达动作发生的**原因、起源**:从**何因**发生 
+>>——《简明实用文法》

+ 1 - 0
app/users_guide/zh-cn/grammar_vinaya.md

@@ -0,0 +1 @@
+# 律藏

+ 2 - 0
app/users_guide/zh-cn/grammar_vism.md

@@ -0,0 +1,2 @@
+# 清净道论
+visuddhimagga