diff --git a/Rules/Languages/ja/SharedRules/default.yaml b/Rules/Languages/ja/SharedRules/default.yaml
index d57b6895..97d5dc15 100644
--- a/Rules/Languages/ja/SharedRules/default.yaml
+++ b/Rules/Languages/ja/SharedRules/default.yaml
@@ -127,7 +127,7 @@
- t: "ルート"
- test:
if: "$Verbosity!='Terse'"
- then: [t: "の"] # phrase("the root 'of' x")
+ then: [t: "オブ"] # phrase("the root 'of' x")
- x: "*[1]"
- pause: short
- test:
@@ -145,7 +145,7 @@
- t: "根指数" # phrase("the 'root with index' 3 of 5")
- x: "*[1]"
- pause: short
- - t: "の" # phrase("the root 'of' x")
+ - t: "オブ" # phrase("the root 'of' x")
- x: "*[2]"
- pause: short
- test:
@@ -636,7 +636,7 @@
match: .
replace:
- x: "*[1]"
- - t: "の" # phrase(the sine 'of' x )
+ - t: "オブ" # phrase(the sine 'of' x )
- pause: auto
- x: "*[position() > 1]"
@@ -736,7 +736,7 @@
- test:
if: "$Verbosity != 'Terse' and not(contains(@data-intent-property, ':literal:')) and
not(count(*)=2 and (IsInDefinition(*[1], 'TrigFunctionNames') or IsInDefinition(name(.), 'TerseFunctionNames')) and IsNode(*[2], 'simple'))"
- then: [t: "の", pause: auto] # phrase(sine 'of' 5)
+ then: [t: "オブ", pause: auto] # phrase(sine 'of' 5)
- insert:
nodes: "*"
replace:
diff --git a/Rules/Languages/ja/unicode.yaml b/Rules/Languages/ja/unicode.yaml
index a5cd4ef9..a9695882 100644
--- a/Rules/Languages/ja/unicode.yaml
+++ b/Rules/Languages/ja/unicode.yaml
@@ -309,7 +309,7 @@
preceding-sibling::*[1][IsInDefinition(., 'GeometryShapes')] or
(@data-changed='added' and ancestor-or-self::*[contains(@data-intent-property, ':literal:')])
)"
- then: [t: "の"]
+ then: [t: "オブ"]
- "": [t: ""] # 0x2062
- "": [t: ""] # 0x2063
- "": [t: "および"] # 0x2064
diff --git a/tests/Languages/ja/ja.rs b/tests/Languages/ja/ja.rs
index b56ebcbb..d9cea0a3 100644
--- a/tests/Languages/ja/ja.rs
+++ b/tests/Languages/ja/ja.rs
@@ -109,7 +109,7 @@ fn negative_number() -> Result<()> {
fn gradient() -> Result<()> {
let expr = "";
test_prefs("ja", "SimpleSpeak", vec![("Verbosity", "Terse")], expr, "デル 大文字 f")?;
- test_prefs("ja", "SimpleSpeak", vec![("Verbosity", "Verbose")], expr, "勾配 の 大文字 f")?;
+ test_prefs("ja", "SimpleSpeak", vec![("Verbosity", "Verbose")], expr, "勾配 オブ 大文字 f")?;
return Ok(());
}
@@ -195,7 +195,7 @@ fn subscript() -> Result<()> {
#[test]
fn sine_function() -> Result<()> {
let expr = "";
- test("ja", "SimpleSpeak", expr, "サイン の x")?;
+ test("ja", "SimpleSpeak", expr, "サイン オブ x")?;
return Ok(());
}