From 2bb54a30b64bd5b52601f014065766d8892b849f Mon Sep 17 00:00:00 2001 From: Lauri Ojansivu Date: Mon, 14 Sep 2026 18:54:29 +0300 Subject: [PATCH] Retain restored Basque movement direction labels --- docs/Features/Translations/Basque-Review.md | 28 +++++++++++++++++++++ releases/translations/audited-reviews.json | 12 +++++++++ tests/basqueRuleTriggerGrammar.test.cjs | 15 +++++++++++ 3 files changed, 55 insertions(+) diff --git a/docs/Features/Translations/Basque-Review.md b/docs/Features/Translations/Basque-Review.md index e21feb6812..d9f7326aff 100644 --- a/docs/Features/Translations/Basque-Review.md +++ b/docs/Features/Translations/Basque-Review.md @@ -121,3 +121,31 @@ Focused exact-subject, both assembled actions, copula-negative and actual row wiring checks pass. All 4,171 unchanged reviews and 234-locale completeness checks pass. One restored finding is retained: 9 restored and 288 pending remain. Browser execution and broader language review remain open. + +## 2026-09-14 — Restored movement conditions retained + +`r-moved-to` = Eramaten denean hona: and `r-moved-from` = Eramaten denean +hemendik: are retained. The actual board trigger row assembles Txartel bat, +this conditional action, and a separately labeled zerrenda name field. +The colon introduces that field, so these are directional UI fragments rather +than an attempt to inflect the later user-entered list name. Eramaten denean +expresses when a card is moved; destination and origin remain different. +No extra da copula is inserted by the Basque rule grammar helper. + +[EHU eraman entry](https://www.ehu.eus/eeh/cgi/bila?h=eraman) supplies eraman / +eramaten and its carrying/movement sense. [EHU hona entry](https://www.ehu.eus/eeh/cgi/bila?h=hona) +defines the directional adverb as leku honetara. Both pages were fetched +and decoded using their declared ISO-8859-1 encoding; browser-tool decoding +failed, not the underlying source fetch. The hemendik headword search did +not return a dictionary entry and is not claimed as evidence. +[Native GNOME Boxes instructions](https://teams.pages.gitlab.gnome.org/Websites/help.gnome.org/gnome-boxes/create.html.eu) +use Sortu makina birtual bat hemendik: before separate source choices. +That attests the colon/source-field construction, not the full WeKan clause. + +The full current UI fragments were reviewed against their control layout and +trigger handler: moved-to supplies the destination list and leaves oldListName +as wildcard; moved-from supplies oldListName from the selected list. Exact +restored values, distinct directions, composed label/copula-negative and +actual option/handler mapping checks are added. No locale value changes. +Broader native style and running-browser verification remain open; this +acceptance is limited to these directional fragments, not other named subjects. diff --git a/releases/translations/audited-reviews.json b/releases/translations/audited-reviews.json index 3d1813a90c..da677f24b3 100644 --- a/releases/translations/audited-reviews.json +++ b/releases/translations/audited-reviews.json @@ -25024,5 +25024,17 @@ "key": "r-when-a-item", "value": "Kontrol-zerrendako elementu bat", "reason": "Retain singular generic checklist-item subject in actual check/uncheck rows. Native software references support list-item terminology; assembled generic temporal clauses use no redundant copula. Named-item order and browser review remain open." + }, + { + "locale": "eu", + "key": "r-moved-to", + "value": "Eramaten denean hona:", + "reason": "Retain restored Basque movement condition: eramaten denean is the temporal passive clause, hona/hemendik distinguish destination/origin, and the colon introduces the separate list field. EHU native direction terminology and GNOME source-field usage support this actual UI construction; broader/browser review is not claimed." + }, + { + "locale": "eu", + "key": "r-moved-from", + "value": "Eramaten denean hemendik:", + "reason": "Retain restored Basque movement condition: eramaten denean is the temporal passive clause, hona/hemendik distinguish destination/origin, and the colon introduces the separate list field. EHU native direction terminology and GNOME source-field usage support this actual UI construction; broader/browser review is not claimed." } ] diff --git a/tests/basqueRuleTriggerGrammar.test.cjs b/tests/basqueRuleTriggerGrammar.test.cjs index 34e274b8bc..4dcee378a5 100644 --- a/tests/basqueRuleTriggerGrammar.test.cjs +++ b/tests/basqueRuleTriggerGrammar.test.cjs @@ -122,3 +122,18 @@ for (const action of ['r-checked', 'r-unchecked']) { assert.equal(sentence, `Kontrol-zerrendako elementu bat ${action === 'r-checked' ? 'Markatzen' : 'Desmarkatzen'} denean`); assert.doesNotMatch(sentence, /\bes\b|\bda\b/); } + +assert.equal(eu['r-moved-to'], 'Eramaten denean hona:'); +assert.equal(eu['r-moved-from'], 'Eramaten denean hemendik:'); +assert.notEqual(eu['r-moved-to'], eu['r-moved-from']); +for (const key of ['r-moved-to', 'r-moved-from']) { + const label = [eu['r-when-a-card'], eu[key], eu['r-list'], '[Demo]'].join(' '); + assert.match(label, /^Txartel bat Eramaten denean (hona|hemendik): zerrenda \[Demo\]$/); + assert.doesNotMatch(label, /\bda\b|\bis\b|\bes\b/); +} +const moveTemplate = fs.readFileSync(path.join(root, 'client/components/rules/triggers/boardTriggers.jade'), 'utf8'); +assert.match(moveTemplate, /option\(value="moved-to"\) \{\{_'r-moved-to'\}\}/); +assert.match(moveTemplate, /option\(value="moved-from"\) \{\{_'r-moved-from'\}\}/); +const moveHandler = fs.readFileSync(path.join(root, 'client/components/rules/triggers/boardTriggers.js'), 'utf8'); +assert.match(moveHandler, /actionSelected === 'moved-to'[\s\S]*?oldListName: '\*'/); +assert.match(moveHandler, /actionSelected === 'moved-from'[\s\S]*?oldListName: listName/);