Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 7 additions & 4 deletions app/i18n.sync.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion app/slices/common/i18n/locales/ru.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
"how_eyebrow": "Как это работает",
"how_title": "От шаблона до диалога за три шага",
"step": "Шаг {number}",
"cta_title": "Ваше стадо ждёт.",
"cta_title": "Ваш агент ждёт.",
"cta_lede": "Откройте панель, выберите агента и начните диалог.",
"cta_button": "Открыть панель →"
},
Expand Down
2 changes: 1 addition & 1 deletion app/slices/template/components/template/Provider.vue
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<template>
<div v-if="pending">Loading template...</div>
<div v-if="pending">{{ $t('item.loading') }}</div>
<div v-else-if="template">
<h2 class="text-xl font-bold">{{ template.name }}</h2>
<p class="text-muted-foreground">{{ template.description }}</p>
Expand Down
6 changes: 3 additions & 3 deletions app/slices/template/components/templateList/Provider.vue
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<template>
<div>
<h1 class="text-2xl font-bold mb-6">Templates</h1>
<div v-if="pending">Loading templates...</div>
<h1 class="text-2xl font-bold mb-6">{{ $t('list.title') }}</h1>
<div v-if="pending">{{ $t('list.loading') }}</div>
<div v-else-if="templates?.length" class="grid gap-4 md:grid-cols-2">
<div
v-for="tmpl in templates"
Expand All @@ -13,7 +13,7 @@
<p class="text-xs mt-2">{{ tmpl.image }}</p>
</div>
</div>
<div v-else class="text-muted-foreground">No templates available.</div>
<div v-else class="text-muted-foreground">{{ $t('list.empty') }}</div>
</div>
</template>

Expand Down
17 changes: 13 additions & 4 deletions app/slices/template/i18n/locales/en.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,15 @@
{
"templates": "Templates",
"template_name": "Template Name",
"template_image": "Docker Image",
"template_description": "Description"
"list": {
"title": "Templates",
"loading": "Loading templates...",
"empty": "No templates available."
},
"item": {
"loading": "Loading template..."
},
"field": {
"name": "Template Name",
"image": "Docker Image",
"description": "Description"
}
}
17 changes: 13 additions & 4 deletions app/slices/template/i18n/locales/ru.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,15 @@
{
"templates": "Шаблоны",
"template_name": "Название шаблона",
"template_image": "Docker-образ",
"template_description": "Описание"
"list": {
"title": "Шаблоны",
"loading": "Загрузка шаблонов...",
"empty": "Нет доступных шаблонов."
},
"item": {
"loading": "Загрузка шаблона..."
},
"field": {
"name": "Имя шаблона",
"image": "Образ Docker",
"description": "Описание"
}
}
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "ranch",
"version": "0.3.32",
"version": "0.3.33",
"private": true,
"packageManager": "bun@1.2.12",
"workspaces": [
Expand Down
Loading