From 946e1a29be8bc5be2b2bb41d78800994a37f87c4 Mon Sep 17 00:00:00 2001 From: Lauri Ojansivu Date: Mon, 14 Sep 2026 18:56:06 +0300 Subject: [PATCH] Retain Basque generic member and attachment subjects --- docs/Features/Translations/Basque-Review.md | 22 +++++++++++++++++++++ releases/translations/audited-reviews.json | 12 +++++++++++ tests/basqueRuleTriggerGrammar.test.cjs | 15 ++++++++++++++ 3 files changed, 49 insertions(+) diff --git a/docs/Features/Translations/Basque-Review.md b/docs/Features/Translations/Basque-Review.md index e183280481..8105197c5a 100644 --- a/docs/Features/Translations/Basque-Review.md +++ b/docs/Features/Translations/Basque-Review.md @@ -152,3 +152,25 @@ acceptance is limited to these directional fragments, not other named subjects. All 4,173 unchanged reviews and 234-locale completeness pass. Two restored findings are retained; 7 restored and 283 pending findings remain overall. + +## 2026-09-14 — Generic member and attachment subjects retained + +Restored `r-when-a-member` = Kide bat and `r-when-a-attach` = Eranskin bat +are retained. The generic rows use an indefinite singular subject followed +by add/remove temporal predicates and a colon introducing the card field. +Bat follows the noun and preserves one unspecified member/attachment. +The resulting control labels were reviewed for both actions; they do not +insert an extra copula. Named subjects have a different construction and +are not accepted by this review. + +[EHU kide](https://www.ehu.eus/eeh/cgi/bila?h=kide) defines membership in a +group; [EHU eranskin](https://www.ehu.eus/eeh/cgi/bila?h=eranskin) defines +something attached to something else. Both were directly fetched and decoded +as declared ISO-8859-1. [Official council description](https://www.osakidetza.euskadi.eus/zibersegurtasunaren-euskal-agentziaren-administrazio-kontseilua/webosk00-oskcon/eu/) +uses kide bat for an individual member. [GNOME Evolution documentation](https://help.gnome.org/evolution/mail-attachments-sending.html.eu) +uses eranskinak for file attachments and explains the attached file copy. +Its untranslated English instructions are not native terminology evidence. + +Exact subjects, both assembled action labels, copula negatives and actual +row wiring checks pass. Browser and broader style review remain open. +No translations change; two restored findings are retained. diff --git a/releases/translations/audited-reviews.json b/releases/translations/audited-reviews.json index da677f24b3..d35b681abe 100644 --- a/releases/translations/audited-reviews.json +++ b/releases/translations/audited-reviews.json @@ -25036,5 +25036,17 @@ "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." + }, + { + "locale": "eu", + "key": "r-when-a-member", + "value": "Kide bat", + "reason": "Retain restored indefinite singular Basque subject after EHU noun definitions, native member/software-attachment usage and actual generic add/remove row composition review. Named-subject and browser review are not inferred." + }, + { + "locale": "eu", + "key": "r-when-a-attach", + "value": "Eranskin bat", + "reason": "Retain restored indefinite singular Basque subject after EHU noun definitions, native member/software-attachment usage and actual generic add/remove row composition review. Named-subject and browser review are not inferred." } ] diff --git a/tests/basqueRuleTriggerGrammar.test.cjs b/tests/basqueRuleTriggerGrammar.test.cjs index 4dcee378a5..9a78498d7c 100644 --- a/tests/basqueRuleTriggerGrammar.test.cjs +++ b/tests/basqueRuleTriggerGrammar.test.cjs @@ -137,3 +137,18 @@ 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/); + +for (const [subject, noun, added, removed] of [ + ['r-when-a-member', 'Kide bat', 'r-added-to', 'r-removed-from'], + ['r-when-a-attach', 'Eranskin bat', 'r-attachment-added-to', 'r-attachment-removed-from'], +]) { + assert.equal(eu[subject], noun); + for (const [action, direction] of [[added, 'Gehitzen denean hona:'], [removed, 'Kentzen denean hemendik:']]) { + const text = [eu[subject], eu[action], eu['r-a-card']].join(' '); + assert.equal(text, `${noun} ${direction} txartel bat`); + assert.doesNotMatch(text, /\bda\b|\bis\b|\bes\b/); + } +} +const cardTriggerTemplate = fs.readFileSync(path.join(root, 'client/components/rules/triggers/cardTriggers.jade'), 'utf8'); +assert.match(cardTriggerTemplate, /r-when-a-member[\s\S]*?gen-member-action[\s\S]*?r-added-to[\s\S]*?r-removed-from/); +assert.match(cardTriggerTemplate, /r-when-a-attach[\s\S]*?attach-action[\s\S]*?r-attachment-added-to[\s\S]*?r-attachment-removed-from/);