From 6b6d57c22ec1e677d365034713ae363fa08209af Mon Sep 17 00:00:00 2001 From: "Maksym Hryzodub [DREAM]" Date: Wed, 19 Aug 2026 17:21:38 +0300 Subject: [PATCH 1/3] feat(app): extract the template slice into i18n, en+ru (CLEAN-40) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Last slice of the app console: the list heading, both loading states and the empty state. The flat placeholder keys became list.* / item.* / field.*, and the field labels — for the agent form that doesn't exist yet — kept their translations rather than being dropped. With this, a scan of app/slices finds no hardcoded user-visible text left. The three remaining hits are deliberate: Enter and Shift+Enter are key caps, and the third is a word inside a code comment. Verified: nuxt typecheck and nuxt build clean, i18n:check green over 6 slice/locale pairs. Co-Authored-By: Claude Opus 5 (1M context) --- app/i18n.sync.json | 11 +++++++---- .../template/components/template/Provider.vue | 2 +- .../components/templateList/Provider.vue | 6 +++--- app/slices/template/i18n/locales/en.json | 17 +++++++++++++---- app/slices/template/i18n/locales/ru.json | 17 +++++++++++++---- 5 files changed, 37 insertions(+), 16 deletions(-) diff --git a/app/i18n.sync.json b/app/i18n.sync.json index 53fe6813..6a5b79e5 100644 --- a/app/i18n.sync.json +++ b/app/i18n.sync.json @@ -140,10 +140,13 @@ "steps.template_title": "21a2714bf862" }, "template:ru": { - "template_description": "526e0087cc3f", - "template_image": "140d5d5895d7", - "template_name": "f95e97c2f767", - "templates": "56b564b75c7f" + "field.description": "526e0087cc3f", + "field.image": "140d5d5895d7", + "field.name": "f95e97c2f767", + "item.loading": "f687834dd2b9", + "list.empty": "805cbc51a3bd", + "list.loading": "8b31692427de", + "list.title": "56b564b75c7f" }, "user/auth:ru": { "account.closed_body": "0be53513ddac", diff --git a/app/slices/template/components/template/Provider.vue b/app/slices/template/components/template/Provider.vue index abb552b4..a8d18981 100644 --- a/app/slices/template/components/template/Provider.vue +++ b/app/slices/template/components/template/Provider.vue @@ -1,5 +1,5 @@