mirror of
https://github.com/wekan/wekan.git
synced 2026-11-05 01:20:07 -05:00
Repair executable examples in Veps filter help without closing language review
On 2026-09-14 restore exact source comparison, escaping and Boolean examples. Positive and negative regression checks preserve the open Veps language queue; Finnish prose remains awaiting repair. Thanks to xet7 !
This commit is contained in:
1 parent
afc5d988be
commit
d0c2470946
3 files changed
+15
-1
No files matched your search
@@ -61,3 +61,10 @@ These provide native field terminology and inflected forms; they do not
|
||||
prove a complete Sum Of Fields At Top Of List translation. Mathematical
|
||||
Sum and the top-of-list position still need separate evidence and grammar
|
||||
review. Preserve all three concepts when repairing that label.
|
||||
|
||||
Syntax repair applied **2026-09-14**: restored the comparison operator,
|
||||
source escape example, control-character group, quoted field/value example
|
||||
and parenthesized Boolean example. Regression coverage checks every canonical
|
||||
English executable example and explicitly asserts the Veps language queue
|
||||
remains open. Finnish prose is still awaiting full translation; this repair
|
||||
is not entered as a completed wrong-language correction.
|
||||
@@ -729,7 +729,7 @@
|
||||
"filter-to-selection": "Suodata valintaan",
|
||||
"other-filters-label": "Muut suodattimet",
|
||||
"advanced-filter-label": "Edistynyt suodatin",
|
||||
"advanced-filter-description": "Edistynyt suodatin mahdollistaa merkkijonon, joka sisältää seuraavat operaattorit: == != <= >= && || ( ) Operaattorien välissä käytetään välilyöntiä. Voit suodattaa kaikki mukautetut kentät kirjoittamalla niiden nimet ja arvot. Esimerkiksi: Field1 == Value1. Huom: Jos kentillä tai arvoilla on välilyöntejä, sinun on sijoitettava ne yksittäisiin lainausmerkkeihin. Esimerkki: 'Kenttä 1' == 'Arvo 1'. Voit hypätä yksittäisen kontrollimerkkien (' \\\\/) yli käyttämällä \\\\. Esimerkki: Field1 = I\\\\'m. Voit myös yhdistää useita ehtoja. Esimerkiksi: F1 == V1 || F1 == V2. Yleensä kaikki operaattorit tulkitaan vasemmalta oikealle. Voit muuttaa järjestystä asettamalla sulkuja. Esimerkiksi: F1 == V1 && (F2 == V2 || F2 == V3). Voit myös etsiä tekstikentistä regexillä: F1 == /Tes.*/i",
|
||||
"advanced-filter-description": "Edistynyt suodatin mahdollistaa merkkijonon, joka sisältää seuraavat operaattorit: == != <= >= && || ( ) Operaattorien välissä käytetään välilyöntiä. Voit suodattaa kaikki mukautetut kentät kirjoittamalla niiden nimet ja arvot. Esimerkiksi: Field1 == Value1. Huom: Jos kentillä tai arvoilla on välilyöntejä, sinun on sijoitettava ne yksittäisiin lainausmerkkeihin. Esimerkki: 'Field 1' == 'Value 1'. Voit hypätä yksittäisen kontrollimerkkien (' \\/) yli käyttämällä \\\\. Esimerkki: Field1 == I\\'m. Voit myös yhdistää useita ehtoja. Esimerkiksi: F1 == V1 || F1 == V2. Yleensä kaikki operaattorit tulkitaan vasemmalta oikealle. Voit muuttaa järjestystä asettamalla sulkuja. Esimerkiksi: F1 == V1 && ( F2 == V2 || F2 == V3 ). Voit myös etsiä tekstikentistä regexillä: F1 == /Tes.*/i",
|
||||
"text-contains-trigger-label": "Umbhalo ozofunwa",
|
||||
"text-contains-trigger-description": "Iyahambisana lapho ikhadi lidalwa, noma isihloko noma incazelo yalo ishintshwa, futhi umbhalo omusha unalokhu (akunandaba nosayizi wezinhlamvu).",
|
||||
"fullname": "Koko nimi",
|
||||
|
||||
@@ -25,6 +25,13 @@ const examples = ['== != <= >= && || ( )', 'Field1 == Value1', "'Field 1' == 'Va
|
||||
assert.doesNotMatch(data['import-board-instruction-trello'], /In your Trello board/);
|
||||
}
|
||||
}
|
||||
// Syntax-only repair: Finnish prose remains an open Veps language finding.
|
||||
const vepsHelp = read('ve-PP')['advanced-filter-description'];
|
||||
for (const example of examples) {
|
||||
assert.ok(vepsHelp.includes(example), `Veps: exact executable example ${example}`);
|
||||
}
|
||||
assert.ok(result.pendingByLocale['ve-PP'] > 0, 'Veps language review stays open');
|
||||
assert.ok(!vepsHelp.includes("Field1 = I"), 'Veps: reject malformed comparison');
|
||||
assert.match(read('lt')['advanced-filter-description'], /Išplėstinis filtras/);
|
||||
assert.match(read('mn')['advanced-filter-description'], /Нарийвчилсан шүүлтүүр/);
|
||||
assert.match(read('el')['advanced-filter-description'], /προηγμένο φίλτρο/);
|
||||
|
||||
Reference in new issue
Block a user