Skip to content

Commit 3eea785

Browse files
Changes in navigate.yaml
1 parent 5ba6f22 commit 3eea785

File tree

2 files changed

+26
-26
lines changed

2 files changed

+26
-26
lines changed

Rules/Languages/nb/SharedRules/default.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -128,14 +128,14 @@
128128
match: "."
129129
replace:
130130
- T: "rottegn"
131-
- T: "med indeks" # phrase("the root of x 'with index' 5")
132-
- x: "*[1]"
131+
- T: "med grad" # phrase("the root of x 'with index' 5")
132+
- x: "*[2]"
133133
# SWEDISH: Check if the order of base and index is correct!
134134
- pause: short
135135
- test:
136136
if: "$Verbosity!='Terse'"
137137
then: [T: "av"] # phrase("the root 'of' x")
138-
- x: "*[2]"
138+
- x: "*[1]"
139139
- pause: short
140140
- test:
141141
if: "not(IsNode(*[2],'leaf'))"

Rules/Languages/nb/navigate.yaml

Lines changed: 23 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -410,7 +410,7 @@
410410
if: "$MatchCounter = 0 and $NavVerbosity != 'Terse'"
411411
then: [T: "utzoomet hele veien", pause: "medium"] # phrase('zoomed out all the the way')
412412
- with:
413-
variables: [Move2D: "'forlater'", Child2D: "."]
413+
variables: [Move2D: "'ut av'", Child2D: "."] #Should it be "forlater"?
414414
replace: [x: ".."]
415415
- with:
416416
variables: [MatchCounter: "$MatchCounter + 1"]
@@ -505,7 +505,7 @@
505505
then: [x: ".."] # auto-zoom: move out a level and retry
506506
else:
507507
- with:
508-
variables: [Move2D: "'forlater'", Child2D: "."]
508+
variables: [Move2D: "'ut av'", Child2D: "."] #Should it be "forlater"?
509509
replace: [x: ".."]
510510
- test:
511511
if: "parent::m:mtd"
@@ -597,7 +597,7 @@
597597
- "$NavCommand='MoveColumnStart' or $NavCommand='MoveColumnEnd' or"
598598
- "$NavCommand='ReadCellCurrent'"
599599
replace:
600-
- T: "ikke i tabellen" # phrase('not in table')
600+
- T: "ikke i tabell" # phrase('not in table')
601601
- pause: long
602602
- set_variables: [SpeakExpression: "'false'"]
603603

@@ -628,7 +628,7 @@
628628
else:
629629
- set_variables: [NavNode: "preceding-sibling::*[1]/*[1]/@id"]
630630
else:
631-
- T: "ingen tidligere kolonner" # phrase('no previous column' in the table)
631+
- T: "ingen foregående kolonner" # phrase('no previous column' in the table)
632632
- set_variables: [SpeakExpression: "'false'"]
633633

634634
- name: move-cell-next
@@ -694,7 +694,7 @@
694694
else:
695695
- set_variables: [NavNode: "../preceding-sibling::*[1]/*[$Column]/*[1]/@id"]
696696
else:
697-
- T: "ingen tidligere rader" # phrase('no previous row' in the table)
697+
- T: "ingen foregående rader" # phrase('no previous row' in the table)
698698
- set_variables: [SpeakExpression: "'false'"]
699699

700700
- name: move-cell-down
@@ -760,7 +760,7 @@
760760
else:
761761
- set_variables: [NavNode: "preceding-sibling::*[1]/@id"]
762762
else:
763-
- T: "ingen tidligere rader" # phrase('no previous row' in the table)
763+
- T: "ingen foregående rader" # phrase('no previous row' in the table)
764764
- set_variables: [SpeakExpression: "'false'"]
765765

766766
- name: move-cell-down
@@ -806,7 +806,7 @@
806806
- test:
807807
if: "$NavVerbosity = 'Verbose'"
808808
then:
809-
- T: "les aktuell verdi" # phrase('read current entry' in the table)
809+
- T: "les nåværende verdi" # phrase('read current entry' in the table)
810810
- pause: medium
811811
- test:
812812
if: "$NavVerbosity != 'Terse'"
@@ -818,7 +818,7 @@
818818
- pause: short
819819
- set_variables: [NavNode: "$MTD[1]/*[1]/@id"]
820820
else:
821-
- T: "ikke i tabellen" # phrase('not in table' or matrix)
821+
- T: "ikke i tabell" # phrase('not in table' or matrix)
822822
- pause: long
823823
- set_variables: [SpeakExpression: "'false'"]
824824

@@ -1058,7 +1058,7 @@
10581058
then:
10591059
- x: "ancestor::m:mtd[1]" # try again on an mtd node
10601060
else:
1061-
- T: "ikke i tabellen" # phrase('not in table' or matrix)
1061+
- T: "ikke i tabell" # phrase('not in table' or matrix)
10621062
- pause: long
10631063
- set_variables: [SpeakExpression: "'false'"]
10641064

@@ -1147,7 +1147,7 @@
11471147
then:
11481148
- T: "kan ikke gå til høyre" # phrase('cannot move right')
11491149
- with:
1150-
variables: [Move2D: "'end of'", Child2D: "$EdgeNode/*[last()]"]
1150+
variables: [Move2D: "'end of'", Child2D: "$EdgeNode/*[last()]"] #Should "end of" be translated?
11511151
replace: [x: "$EdgeNode"]
11521152
- pause: long
11531153
- set_variables: [SpeakExpression: "'false'"]
@@ -1207,7 +1207,7 @@
12071207
replace: [x: ".."]
12081208
else:
12091209
- with:
1210-
variables: [Move2D: "'forlater'", Child2D: "."]
1210+
variables: [Move2D: "'ut av'", Child2D: "."] #Should it be "forlater"?
12111211
replace: [x: ".."]
12121212
- test:
12131213
if: "following-sibling::*"
@@ -1311,7 +1311,7 @@
13111311
if: "preceding-sibling::* and following-sibling::*[1][name(.)='none']"
13121312
then:
13131313
- with:
1314-
variables: [Move2D: "'forlater'", Child2D: "."]
1314+
variables: [Move2D: "'ut av'", Child2D: "."] #Should it be "forlater"?
13151315
replace: [x: ".."]
13161316
- with:
13171317
variables: [MatchCounter: "$MatchCounter + 1"]
@@ -1387,7 +1387,7 @@
13871387
then:
13881388
- T: "kan ikke gå til venstre" # phrase('cannot move left' in expression)
13891389
- with:
1390-
variables: [Move2D: "'end of'", Child2D: "$EdgeNode/*[1]"]
1390+
variables: [Move2D: "'end of'", Child2D: "$EdgeNode/*[1]"] #Should "end of" be translated?
13911391
replace: [x: "$EdgeNode"]
13921392
- pause: long
13931393

@@ -1449,7 +1449,7 @@
14491449
replace: [x: ".."]
14501450
else:
14511451
- with:
1452-
variables: [Move2D: "'forlater'", Child2D: "."]
1452+
variables: [Move2D: "'ut av'", Child2D: "."] #Should it be "forlater"?
14531453
replace: [x: ".."]
14541454
- test:
14551455
if: "preceding-sibling::*"
@@ -1556,7 +1556,7 @@
15561556
if: "count(preceding-sibling::*) > 2 and preceding-sibling::*[1][name(.)='none']"
15571557
then:
15581558
- with:
1559-
variables: [Move2D: "'forlater'", Child2D: "."]
1559+
variables: [Move2D: "'ut av'", Child2D: "."] #Should it be "forlater"?
15601560
replace: [x: ".."]
15611561
- with:
15621562
variables: [MatchCounter: "$MatchCounter + 1"]
@@ -1613,14 +1613,14 @@
16131613
- test:
16141614
- if: "$NavMode = 'Enhanced'"
16151615
then:
1616-
- T: "symbol" # phrase(a mathematical 'character')
1616+
- T: "symbolmodus" # phrase(a mathematical 'character')
16171617
- set_variables: [NavMode: "'Character'", ReadZoomLevel: "1"]
16181618
- else_if: "$NavMode = 'Character'"
16191619
then:
1620-
- T: "forenklet måte" # phrase(a 'simple' way to do something)
1620+
- T: "forenklet modus" # phrase(a 'simple' way to do something)
16211621
- set_variables: [NavMode: "'Simple'", ReadZoomLevel: "1"]
16221622
- else:
1623-
- T: "utvidet måte" # phrase(an 'enhanced' way to do something)
1623+
- T: "utvidet modus" # phrase(an 'enhanced' way to do something)
16241624
- set_variables: [NavMode: "'Enhanced'", ReadZoomLevel: "-1"]
16251625
# - T: "läge" # phrase(a simple 'mode' of use)
16261626
# SWEDISH: Removed the ending "mode" string and added "läge" to the previous strings, for grammatical purposes.
@@ -1639,14 +1639,14 @@
16391639
- test:
16401640
- if: "$NavMode = 'Enhanced'"
16411641
then:
1642-
- T: "forenklet måte" # phrase(an 'simple' way to do something)
1642+
- T: "forenklet modus" # phrase(an 'simple' way to do something)
16431643
- set_variables: [NavMode: "'Simple'", ReadZoomLevel: "1"]
16441644
- else_if: "$NavMode = 'Character'"
16451645
then:
1646-
- T: "utvidet måte" # phrase(an 'enhanced' way to do something)
1646+
- T: "utvidet modus" # phrase(an 'enhanced' way to do something)
16471647
- set_variables: [NavMode: "'Enhanced'", ReadZoomLevel: "-1"]
16481648
- else:
1649-
- T: "symbol" # phrase(a mathematical 'character')
1649+
- T: "symbolmodus" # phrase(a mathematical 'character')
16501650
- set_variables: [NavMode: "'Character'", ReadZoomLevel: "1"]
16511651
# - T: "användningsläge" # phrase(a simple 'mode' of use)
16521652
# SWEDISH: Removed the ending "mode" string and added "läge" to the previous strings, for grammatical purposes.
@@ -1683,7 +1683,7 @@
16831683
- if: "$NavCommand = 'ReadCurrent'"
16841684
then: [T: "les"] # phrase('read' next entry in table)
16851685
else: [T: "beskriv"] # phrase('describe' next entry in table)
1686-
- T: "aktuelt" # phrase('current' entry in table)
1686+
- T: "nåværende" # phrase('current' entry in table)
16871687
- set_variables: [NavNode: "@id"]
16881688
- pause: long
16891689

@@ -1719,7 +1719,7 @@
17191719
- test:
17201720
if: "$NavVerbosity != 'Terse'"
17211721
then:
1722-
- T: "sett plassholder" # phrase('set placeholder' to the value)
1722+
- T: "angi plassholder" # phrase('set placeholder' to the value)
17231723
- x: "$PlaceMarkerIndex"
17241724
- pause: long
17251725
- set_variables: [NavNode: "@id"]

0 commit comments

Comments
 (0)