|
674 | 674 | then: [T: "den naturlige logaritmen"] # phrase(the 'natural log' of x) |
675 | 675 | else: [SPELL: "'ln'"] |
676 | 676 |
|
677 | | -# Norwegian: The preference MultiLineLabel = none is handled differently than it is for English. |
678 | 677 | - name: ClearSpeak-multi-line |
679 | 678 | tag: [piecewise, system-of-equations, lines] # these are ignored in favor of the ClearSpeak prefs |
680 | 679 | match: "." |
|
691 | 690 | - if: "($ClearSpeak_MultiLineLabel = 'Auto' and self::m:piecewise) or $ClearSpeak_MultiLineLabel = 'Case'" |
692 | 691 | then: |
693 | 692 | - test: |
694 | | - - if: "$LineCount > 1 and $ClearSpeak_MultiLineLabel != 'None'" |
| 693 | + - if: "$LineCount > 1" |
695 | 694 | then: [T: "tilfeller"] |
696 | 695 | else: [T: "tilfelle"] # phrase(this is the first 'case' of three cases) |
697 | | - - else_if: "$ClearSpeak_MultiLineLabel = 'Auto' or $ClearSpeak_MultiLineLabel = 'Line'" # already dealt with Auto/Case |
| 696 | + - else_if: "$ClearSpeak_MultiLineLabel = 'Auto' or $ClearSpeak_MultiLineLabel = 'Line' or $ClearSpeak_MultiLineLabel = 'None'" # already dealt with Auto/Case |
698 | 697 | then: |
699 | 698 | - test: |
700 | | - - if: "$LineCount > 1 and $ClearSpeak_MultiLineLabel != 'None'" |
| 699 | + - if: "$LineCount > 1" |
701 | 700 | then: [T: "rader"] # phrase(this is the first 'line' of three lines) |
702 | 701 | else: [T: "rad"] # phrase(this is the first 'line' of three lines) |
703 | 702 | - else_if: "$ClearSpeak_MultiLineLabel = 'Constraint'" |
704 | 703 | then: |
705 | 704 | - test: |
706 | | - - if: "$LineCount > 1 and $ClearSpeak_MultiLineLabel != 'None'" |
| 705 | + - if: "$LineCount > 1" |
707 | 706 | then: [T: "betingelser"] # phrase(this is the first 'constraint' of three constraints) |
708 | 707 | else: [T: "betingelse"] # phrase(this is the first 'constraint' of three constraints) |
709 | 708 | - else_if: "$ClearSpeak_MultiLineLabel = 'Equation'" |
710 | 709 | then: |
711 | 710 | - test: |
712 | | - - if: "$LineCount > 1 and $ClearSpeak_MultiLineLabel != 'None'" |
| 711 | + - if: "$LineCount > 1" |
713 | 712 | then: [T: "likninger"] # phrase(this is the first 'equation' of three equations) |
714 | 713 | else: [T: "likning"] # phrase(this is the first 'equation' of three equations) |
715 | 714 | - else_if: "$ClearSpeak_MultiLineLabel = 'Row'" |
716 | 715 | then: |
717 | 716 | - test: |
718 | | - - if: "$LineCount > 1 and $ClearSpeak_MultiLineLabel != 'None'" |
| 717 | + - if: "$LineCount > 1" |
719 | 718 | then: [T: "rader"] # phrase(this is the first 'row' of three rows) |
720 | 719 | else: [T: "rad"] # phrase(this is the first 'row' of three rows) |
721 | 720 | - else_if: "$ClearSpeak_MultiLineLabel = 'Step'" |
722 | 721 | then: |
723 | 722 | - test: |
724 | | - - if: "$LineCount > 1 and $ClearSpeak_MultiLineLabel != 'None'" |
| 723 | + - if: "$LineCount > 1" |
725 | 724 | then: [T: "steg"] # phrase(this is the first 'step' of three steps) |
726 | 725 | else: [T: "steg"] # phrase(this is the first 'step' of three steps) |
727 | 726 | # SWEDISH/NORWEGIAN: Every expression had to be inflected separately. |
|
0 commit comments