mattermost-mobile-upstream/assets/base/i18n
Guillermo Vayá 5cb2fbedb8 feat(drafts): Phase 3.3 — composer race guards + fail-closed BoR send guard
Guard the composer against draft resurrection now that removeDraft enqueues a
durable DELETE, and fail closed on unreconstructable burn-on-read sends.

- Add per-composer editor_guard module (keyed by serverUrl:channelId:rootId):
  tracks genuine unsaved edits + a generation bumped on Send/Delete. Shared by
  the save site and the invalidation sites; avoids prop-drilling.
- post_input: route blur/background/unmount through guardedSave, which no-ops
  when the editor is clean and discards its write (via a captured-generation
  staleness check) if Send/Delete invalidated the editor mid-save. Genuine
  typing marks dirty; an external/remote value change resets the baseline clean;
  unmount clears the entry.
- draft_handler.clearDraft and deleteDraftConfirmation invalidate the editor so a
  pending lifecycle save cannot recreate a just-sent/deleted draft.
- handleDraftUpdate discards stale markdown-image metadata when the editor
  generation changed during the async parse.
- handle_send_message: fail-closed burn-on-read guard on both send paths — an
  enabled BoR send with invalid/missing durations shows a localized error, keeps
  the draft, and never creates a downgraded plain post. Adds one en.json string.

Checks: npm run tsc clean; eslint --quiet clean; 126 Jest tests pass (editor
guard, handle_send_message incl. BoR fail-closed, draft actions, draft utils).

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-07-27 17:38:30 +02:00
..
am.json integrating WIP languages 2023-10-03 14:52:02 +02:00
ar-SA.json Added translation using Weblate (Arabic (Saudi Arabia)) 2025-01-27 18:12:49 +01:00
ar.json Translations update from Mattermost Weblate (#9717) 2026-04-27 13:11:29 +00:00
be.json Update translation files (#9776) 2026-05-22 15:45:07 +00:00
bg.json Update translation files (#9776) 2026-05-22 15:45:07 +00:00
bn.json Translations update from Mattermost Weblate (#9717) 2026-04-27 13:11:29 +00:00
br.json Translations update from Mattermost Weblate (#9717) 2026-04-27 13:11:29 +00:00
ca.json Translations update from Mattermost Weblate (#9717) 2026-04-27 13:11:29 +00:00
cs.json Update translation files (#9776) 2026-05-22 15:45:07 +00:00
da.json Translations update from Mattermost Weblate (#9855) 2026-06-17 17:10:42 -03:00
de.json Update translation files (#9776) 2026-05-22 15:45:07 +00:00
el.json Update translation files (#9776) 2026-05-22 15:45:07 +00:00
en_AU.json Update translation files (#9776) 2026-05-22 15:45:07 +00:00
en.json feat(drafts): Phase 3.3 — composer race guards + fail-closed BoR send guard 2026-07-27 17:38:30 +02:00
es.json Update translation files (#9776) 2026-05-22 15:45:07 +00:00
et.json integrating WIP languages 2023-10-03 14:52:02 +02:00
eu.json Translations update from Mattermost Weblate (#9717) 2026-04-27 13:11:29 +00:00
fa.json Update translation files (#9776) 2026-05-22 15:45:07 +00:00
fi.json Update translation files (#9776) 2026-05-22 15:45:07 +00:00
fil.json integrating WIP languages 2023-10-03 14:52:02 +02:00
fr.json Update translation files (#9776) 2026-05-22 15:45:07 +00:00
fy.json Update translation files (#9776) 2026-05-22 15:45:07 +00:00
gl.json Translations update from Mattermost Weblate (#9717) 2026-04-27 13:11:29 +00:00
gu.json Translations update from Mattermost Weblate (#9717) 2026-04-27 13:11:29 +00:00
he.json Update translation files (#9776) 2026-05-22 15:45:07 +00:00
hi.json Translations update from Mattermost Weblate (#9717) 2026-04-27 13:11:29 +00:00
hr.json Update translation files (#9776) 2026-05-22 15:45:07 +00:00
hu.json Translations update from Mattermost Weblate (#9855) 2026-06-17 17:10:42 -03:00
id.json Update translation files (#9776) 2026-05-22 15:45:07 +00:00
is.json integrating WIP languages 2023-10-03 14:52:02 +02:00
it.json Update translation files (#9776) 2026-05-22 15:45:07 +00:00
ja.json Update translation files (#9776) 2026-05-22 15:45:07 +00:00
ka.json Translations update from Mattermost Weblate (#9747) 2026-05-11 12:54:28 +00:00
kk_Latn.json Translations update from Mattermost Weblate (#9717) 2026-04-27 13:11:29 +00:00
kk.json Translations update from Mattermost Weblate (#9717) 2026-04-27 13:11:29 +00:00
km.json Translations update from Mattermost Weblate (#9717) 2026-04-27 13:11:29 +00:00
ko.json Update translation files (#9776) 2026-05-22 15:45:07 +00:00
la.json integrating WIP languages 2023-10-03 14:52:02 +02:00
lo.json Translations update from Mattermost Weblate (#9717) 2026-04-27 13:11:29 +00:00
lt.json Update translation files (#9776) 2026-05-22 15:45:07 +00:00
lv.json Update translation files 2023-10-10 12:06:20 +00:00
mk.json Translations update from Mattermost Weblate (#9717) 2026-04-27 13:11:29 +00:00
ml.json Update translation files (#9776) 2026-05-22 15:45:07 +00:00
mn.json Translations update from Mattermost Weblate (#9717) 2026-04-27 13:11:29 +00:00
nb_NO.json Update translation files (#9776) 2026-05-22 15:45:07 +00:00
ne.json Update translation files (#9776) 2026-05-22 15:45:07 +00:00
nl.json Translations update from Mattermost Weblate (#9855) 2026-06-17 17:10:42 -03:00
pl.json Translations update from Mattermost Weblate (#9855) 2026-06-17 17:10:42 -03:00
pr.json integrating WIP languages 2023-10-03 14:52:02 +02:00
pt-BR.json Update translation files (#9776) 2026-05-22 15:45:07 +00:00
pt.json Update translation files (#9776) 2026-05-22 15:45:07 +00:00
ro.json Update translation files (#9776) 2026-05-22 15:45:07 +00:00
ru.json Translations update from Mattermost Weblate (#9855) 2026-06-17 17:10:42 -03:00
si.json Translations update from Mattermost Weblate (#9717) 2026-04-27 13:11:29 +00:00
sl.json Update translation files (#9776) 2026-05-22 15:45:07 +00:00
sq.json Update translation files (#9776) 2026-05-22 15:45:07 +00:00
sr.json Translations update from Mattermost Weblate (#9717) 2026-04-27 13:11:29 +00:00
sv.json Translations update from Mattermost Weblate (#9855) 2026-06-17 17:10:42 -03:00
th.json Translations update from Mattermost Weblate (#9717) 2026-04-27 13:11:29 +00:00
tr.json Update translation files (#9776) 2026-05-22 15:45:07 +00:00
uk.json Translations update from Mattermost Weblate (#9855) 2026-06-17 17:10:42 -03:00
vi.json Update translation files (#9776) 2026-05-22 15:45:07 +00:00
zh-CN.json Translations update from Mattermost Weblate (#9855) 2026-06-17 17:10:42 -03:00
zh-TW.json Update translation files (#9776) 2026-05-22 15:45:07 +00:00