mirror of
https://github.com/wekan/wekan.git
synced 2026-11-04 17:10:08 -05:00
Validate restored Basque generic card movement predicate
Retain the complete singular temporal clause after checking the actual generic movement row and native EHU dictionary and Euskadi grammar evidence. Directional fragments and live browser review remain open. Thanks to xet7.
This commit is contained in:
1 parent
ccbcabd91e
commit
aba731e822
2 files changed
+15
No files matched your search
@@ -24982,5 +24982,11 @@
|
||||
"key": "color-peachpuff",
|
||||
"value": "préssec",
|
||||
"reason": "Retain native Valencian peach color label: actual palette is pale peach #ffdab9, with no separate competing peach key. Native Valencian color usage attests préssec; this is a descriptive UI color label, not a claim that native sources standardize the CSS keyword."
|
||||
},
|
||||
{
|
||||
"locale": "eu",
|
||||
"key": "r-is-moved",
|
||||
"value": "lekuz aldatzen denean",
|
||||
"reason": "Retained after checking the actual generic board movement trigger: Txartel bat lekuz aldatzen denean. EHU EEH leku entry section 16 attests lekuz aldatu and temporal lekuz aldatzen garenean; Euskadi native grammar section 13.1 explains -ENEAN and singular gelditzen denean. Singular card changes location is the complete generic temporal predicate; this row inserts no separate copula or destination noun. Other directional fragments and live browser review remain open."
|
||||
}
|
||||
]
|
||||
@@ -67,3 +67,12 @@ for (const action of ['r-added-to', 'r-removed-from', 'r-checked',
|
||||
assert.ok(sentence.includes(read('th')[action]));
|
||||
}
|
||||
console.log('Basque rule grammar: actual trigger wiring, linking-verb omission and other-locale preservation checked; full fluency/browser execution remain open');
|
||||
|
||||
// The generic movement trigger is a complete singular temporal clause.
|
||||
// This does not certify the separate added/removed/directional fragments.
|
||||
const boardTriggers = fs.readFileSync(path.join(root, 'client/components/rules/triggers/boardTriggers.jade'), 'utf8');
|
||||
const genericMove = boardTriggers.split('div.trigger-item#trigger-three')[1].split('div.trigger-item#trigger-four')[0];
|
||||
assert.match(genericMove, /r-when-a-card[\s\S]*?r-is-moved/);
|
||||
assert.doesNotMatch(genericMove, /ruleTriggerCopula|r-a-card|r-moved-to|r-moved-from/);
|
||||
assert.equal([eu['r-when-a-card'], eu['r-is-moved']].join(' '), 'Txartel bat lekuz aldatzen denean');
|
||||
assert.doesNotMatch(eu['r-is-moved'], /\bes\b|\bis\b/, 'retain native temporal predicate rather than Spanish or English');
|
||||
Reference in new issue
Block a user