Overview
Comment: | utils: Properly translate plurals |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA3-256: |
9ee403e4fcfc853fc0ceaea02dce6cb6 |
User & Date: | js on 2020-04-12 22:28:01 |
Other Links: | manifest | tags |
Context
2020-04-13
| ||
15:48 | OFLocale: Allow plural scripting in fallback check-in: 8a0c5ed345 user: js tags: trunk | |
2020-04-12
| ||
22:28 | utils: Properly translate plurals check-in: 9ee403e4fc user: js tags: trunk | |
22:09 | OFLocale: Switch to infix notation check-in: fe77fef5ec user: js tags: trunk | |
Changes
Modified src/OFLocale.m from [12259d9f0f] to [040819af75].
︙ | |||
111 112 113 114 115 116 117 118 119 120 121 122 123 124 | 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 | + | /* Substitute variables and convert to RPN first */ tokens = [OFMutableArray array]; operators = [OFMutableArray array]; for (OFString *token in [condition componentsSeparatedByString: @" " options: OF_STRING_SKIP_EMPTY]) { unsigned precedence; of_unichar_t c; if ([token isEqual: @"("]) { [operators addObject: @"("]; continue; } if ([token isEqual: @")"]) { |
︙ | |||
158 159 160 161 162 163 164 | 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 | - + - | [operators removeLastObject]; } [operators addObject: token]; continue; } |
︙ |
Modified utils/ofarc/lang/de.json from [277b513dff] to [d777ea4bdf].
︙ | |||
64 65 66 67 68 69 70 | 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 | - + + + + + + + - - + + + + + + + + + + + + + + | "cannot_list_gz": "Kann Dateien eines .gz-Archivs nicht auflisten!", "cannot_extract_specific_file_from_gz": [ "Kann keine spezifische Datei aus einem .gz-Archiv entpacken!" ], "cannot_print_specific_file_from_gz": [ "Kann keine spezifische Datei aus einem .gz-Archiv ausgeben!" ], |
︙ |
Modified utils/ofhttp/lang/de.json from [9f2302952b] to [dae75765a1].
︙ | |||
75 76 77 78 79 80 81 | 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 | - + + + + + + - + + + + + + | "download_done": "Fertig!", "invalid_url": "%[prog]: Ungültige URL: <%[url]>!", "invalid_scheme": "%[prog]: Ungültiges Schema: <%[url]>!", "type_unknown": "unbekannt", "size_gib": "%[num] GiB", "size_mib": "%[num] MiB", "size_kib": "%[num] KiB", |