|
13 | 13 | tag: number-sets |
14 | 14 | match: "count(*)=2 and *[2][.='+' or .='-']" |
15 | 15 | replace: |
16 | | - # SWEDISH: This test, to see if "the" is supposed to be added or not, is removed from the Swedish translations, as it is not applicable. |
| 16 | + # NORWEGIAN: Removed test for verbosity |
17 | 17 | #- test: |
18 | 18 | #if: "$Verbosity!='Terse'" |
19 | 19 | #then: |
|
100 | 100 | if: "$Verbosity!='Terse'" |
101 | 101 | then: [T: "evaluert i"] # phrase(results were 'evaluated at' a given point) |
102 | 102 | else: [T: "i"] |
103 | | - # SWEDISH: Added a verbosity setting test to allow a shorter form. |
| 103 | + # SWEDISH/NORWEGIAN: Added a verbosity setting test to allow a shorter form. |
104 | 104 | - pause: auto |
105 | 105 | - x: "*[2]" |
106 | 106 |
|
|
118 | 118 | - x: "*[3]" |
119 | 119 | - pause: short |
120 | 120 | - T: "og" # phrase(this result is 'minus the same expression evaluated at' an earlier point) |
121 | | - # SWEDISH: Removed the expansion of the expression, keeping the output closer to what is actually shown visually. |
122 | | - - test: |
123 | | - if: "$Verbosity!='Terse'" |
124 | | - then: [T: "nedre verdi"] # phrase(results were 'evaluated at' a given point) |
125 | | - else: [T: "nedre verdi"] |
| 121 | + - T: "nedre verdi" |
| 122 | + # SWEDISH/NORWEGIAN: Removed the expansion of the expression, keeping the output closer to what is actually shown visually. |
126 | 123 | - pause: short |
127 | | - # SWEDISH: Added a verbosity setting test to allow a shorter form. |
128 | 124 | - x: "*[2]" |
129 | 125 |
|
130 | 126 | - name: permutation |
|
136 | 132 | - T: "elementer av" # phrase(the solution involves several 'permutations of' values) |
137 | 133 | - x: "*[1]" |
138 | 134 |
|
139 | | -# NORWEGIAN: Removed test for Verbosity |
| 135 | +# NORWEGIAN: Removed test for verbosity |
140 | 136 | - name: intervals |
141 | 137 | tag: [open-interval, open-closed-interval, closed-interval, closed-open-interval] |
142 | 138 | match: "count(*)=2" |
143 | 139 | replace: |
144 | | - # SWEDISH: The translate function doesn't work for non-English. Used the solution below instead. |
| 140 | + # SWEDISH/NORWEGIAN: The translate function doesn't work for non-English. Used the solution below instead. |
145 | 141 | - test: |
146 | 142 | - if: "self::m:open-interval" |
147 | 143 | then: [T: "det åpne intervallet"] |
|
339 | 335 | if: "$Verbosity='Terse'" |
340 | 336 | then: [T: "sin"] # phrase('sin' is the abbreviation for sine) |
341 | 337 | else: [T: "sinus"] # phrase(the 'sine' of the angle) |
342 | | - # SWEDISH: Added short form. |
| 338 | + # SWEDISH/NORWEGIAN: Added short form. |
343 | 339 |
|
344 | 340 | - name: cos |
345 | 341 | tag: mi |
|
391 | 387 | then: [T: "cotan"] # phrase(find the 'cotangent' in a right-angle triangle) |
392 | 388 | else: [T: "cotangens"] # phrase(the 'cotangent' is the reciprocal of the tangent) |
393 | 389 |
|
394 | | -# NORWEGIAN: Removed tests for Verbosity. We don't say "sin hype" and "sinh" sounds like "sin" |
| 390 | +# NORWEGIAN: Removed tests for verbosity. We don't say "sin hype" etc., and "sinh" sounds like "sin" |
395 | 391 | - name: sinh |
396 | 392 | tag: mi |
397 | 393 | match: ".='sinh'" |
|
469 | 465 | then: [T: "exp"] # phrase('exp' means exponential function) |
470 | 466 | else: [T: "eksponensialfunksjonen"] # phrase('exponential' function) #Norwegian: Spelled wrong for correct pronunciation |
471 | 467 |
|
472 | | -# NORWEGIAN: Added this rule from English version, but removed test for Verbosity. |
| 468 | +# NORWEGIAN: Added this rule from English version, but removed test for verbosity. |
473 | 469 | - name: covariance |
474 | 470 | tag: mi |
475 | 471 | match: ".='Cov'" |
476 | 472 | replace: |
477 | 473 | - bookmark: "@id" |
478 | 474 | - T: "kovarians" |
479 | | - #- test: |
480 | | - #if: "$Verbosity='Terse'" |
481 | | - #then: [t: "Cov"] # phrase('Cov' is shorthand for the covariance function) |
482 | | - #else: [t: "covariance"] # phrase('covariance' function) |
483 | 475 |
|
484 | 476 | - # handle both log and ln |
485 | 477 | name: log |
|
501 | 493 | - if: "$Verbosity!='Verbose'" |
502 | 494 | then: [spell: "'lg'"] # phrase(the 'lg' of x) |
503 | 495 | else: [T: "tier-logaritmen"] |
504 | | - # SWEDISH: We have added the term "lg" for the logarithm with base 10. Also added a verbosity test for long and short form. |
| 496 | + # SWEDISH/NORWEGIAN: We have added the term "lg" for the logarithm with base 10. Also added a verbosity test for long and short form. |
505 | 497 | - else_if: "$Verbosity!='Verbose'" |
506 | 498 | then: [spell: "'ln'"] |
507 | 499 | else: [T: "den naturlige logaritmen"] # phrase(the 'natural log' function is used in mathematics) |
|
632 | 624 |
|
633 | 625 |
|
634 | 626 | # simpler reading methods for special case matrices |
635 | | -# NORWEGIAN: Added these tests from the English version. |
| 627 | +# NORWEGIAN: Added these rules from the English. |
636 | 628 | - name: zero-matrix |
637 | 629 | tag: matrix |
638 | 630 | # select all the non-zero entries -- if there are none of them, then it is a zero matrix |
|
846 | 838 | if: "$Verbosity='Terse'" |
847 | 839 | then: [pause: short] |
848 | 840 |
|
| 841 | +#NORWEGIAN: Added from English. Not tested |
849 | 842 | - name: dimension-by |
850 | 843 | tag: mrow |
851 | 844 | match: dimension-product |
|
0 commit comments