Skip to content
10 changes: 5 additions & 5 deletions Rules/Languages/zh/tw/SharedRules/default.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -131,17 +131,17 @@
- test:
if: "$Verbosity!='Terse'"
then: [T: ""] # phrase("'the' root of x")
- T: "根指數" # phrase("the root of x 'with index' 5")
- x: "*[2]"
- T: "根號"
- T: "開方次數" # phrase("the root of x 'with index' 5")
- x: "*[1]"
- pause: short
- test:
if: "$Verbosity!='Terse'"
then: [T: ""] # phrase("the root 'of' x")
- x: "*[2]"
- x: "*[1]"
- pause: short
- test:
if: "not(IsNode(*[2],'leaf'))"
if: "not(IsNode(*[1],'leaf'))"
then: [T: "結束根號"] # phrase("root of x 'end root symbol'")


Expand Down Expand Up @@ -406,7 +406,7 @@
- NumColumns: "count(*[1]/*) - IfThenElse(*/self::m:mlabeledtr, 1, 0)"
match: "."
replace:
- T: "" # phrase(the 'table with' 3 rows)
- T: "表格有" # phrase(the 'table with' 3 rows)
- x: count(*)
- test:
if: count(*)=1
Expand Down
4 changes: 2 additions & 2 deletions Rules/Languages/zh/tw/SharedRules/geometry.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,12 @@
- test:
if: "$Verbosity='Verbose'"
then:
- T: "向量" # phrase('the ray from' A to B)
- T: "射線" # phrase('the ray from' A to B)
- x: "*[1]"
- T: "到" # phrase(the ray from A 'to' B)
- x: "*[2]"
else:
- T: "向量" # phrase(the 'ray'A B)
- T: "射線" # phrase(the 'ray'A B)
- x: "*[1]"
- x: "*[2]"

Expand Down
2 changes: 1 addition & 1 deletion Rules/Languages/zh/tw/SimpleSpeak_Rules.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
tag: root
match: "."
replace:
- T: "根號"
- T: ""
- x: "*[1]"
- test:
if: "$Verbosity!='Terse'"
Expand Down
40 changes: 20 additions & 20 deletions Rules/Languages/zh/tw/definitions.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -48,28 +48,28 @@
}

- NavigationParts: {
"large-op": "base; lower limit; upper limit",
"mfrac": "numerator;denominator",
"fraction": "numerator;denominator",
"msqrt": "root",
"square-root": "root",
"mroot": "root;root index",
"root": "root;root index",
"msub": "base;subscript",
"sub": "base;subscript",
"msup": "base;superscript",
"say-super": "base;superscript",
"skip-super": "base;superscript",
"power": "base;exponent",
"msubsup": "base;subscript;superscript",
"munder": "base;under limit",
"mover": "base;upper limit",
"munderover": "base;under limit;upper limit",
"large-op": "基底; 下限; 上限",
"mfrac": "分子;分母",
"fraction": "分子;分母",
"msqrt": "根號",
"square-root": "根號",
"mroot": "根號;根指數",
"root": "根號;根指數",
"msub": "基底;下標",
"sub": "基底;下標",
"msup": "基底;上標",
"say-super": "基底;上標",
"skip-super": "基底;上標",
"power": "基底;指數",
"msubsup": "基底;下標;上標",
"munder": "基底;下限",
"mover": "基底;上限",
"munderover": "基底;下限;上限",

# words for moving into and out of one of the parts (e.g., "move right 'out of' numerator, 'in' denominator")
# it's a hack to put them here, but at least they are grouped with the other navigation parts
"in": "in",
"out": "out of",
"in": "進入",
"out": "離開",
}


Expand All @@ -90,7 +90,7 @@
"g": "克",
"m": "米", # British spelling works for US also
"mol": "莫耳",
"s": "秒", "″": "秒", "\"": "秒", "sec": "秒", # "sec" not actually legal
"s": "秒", "sec": "秒", # "sec" not actually legal

# derived units
"Bq": "貝克",
Expand Down
Loading
Loading