trypost/lang/uk/workspaces.php

51 lines
3.1 KiB
PHP
Raw Normal View History

Add Ukrainian as a supported platform language (#219) * Default AI content language to Ukrainian * Keep English as the default content language * refactor: update content language handling in workspace creation - Changed the default content language in CreateWorkspace to inherit the app's locale instead of defaulting to English. - Updated related tests to reflect this change, ensuring that the content language aligns with the application's current locale settings. - Cleaned up unnecessary code in the BrandTab component for better readability. * Add Ukrainian as a full platform UI locale. Wire uk into languages config with complete lang/uk translations and restore ContentLanguage↔UI parity checks. Co-authored-by: Cursor <cursoragent@cursor.com> * Wire Ukrainian into dayjs and locale coverage tests. Import the uk dayjs locale with Monday week-start and cover uk/uk-UA in brand autofill and SetLocale assertions. Co-authored-by: Cursor <cursoragent@cursor.com> * Harden Ukrainian UI and AI content-language coverage. Cover generator/reviewer/humanizer/image prompts, workspace pickers, persona labels, UI locale switch, and README for uk as a first-class platform language. Co-authored-by: Cursor <cursoragent@cursor.com> * Add Ukrainian Pinterest form strings after main merge. Restore lang/uk posts.php key parity for the new pin title and destination link fields. Co-authored-by: Cursor <cursoragent@cursor.com> * List every supported UI language in the README. Replace the abbreviated multi-language blurb with the full locale set from config. Co-authored-by: Cursor <cursoragent@cursor.com> --------- Co-authored-by: Paulo Castellano <paulo@castellanos.llc> Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-05 22:45:30 +00:00
<?php
declare(strict_types=1);
return [
'title' => 'Робочі простори',
'select_title' => 'Ваші робочі простори',
'select_description' => 'Виберіть робочий простір, щоб продовжити',
'current' => 'Поточний',
'connections' => ':count підключень',
'posts' => ':count постів',
'create' => [
'page_title' => 'Створіть свій робочий простір',
'title' => 'Налаштуйте робочий простір',
'description' => 'Розкажіть трохи про себе або свій проєкт. Ми використаємо це, щоб адаптувати AI-пости під ваш стиль.',
'website' => 'Вебсайт',
'website_placeholder' => 'https://yourbrand.com',
'autofill' => 'Заповнити з вебсайту',
'autofill_missing_url' => 'Спочатку введіть URL.',
'autofill_success' => 'Інформацію про бренд завантажено.',
'autofill_error' => 'Не вдалося автозаповнити. Ви можете заповнити поля вручну.',
'autofill_errors' => [
'unreachable' => 'Не вдалося отримати доступ до цього вебсайту (:reason).',
'http_status' => 'Вебсайт повернув неочікуваний статус (:status).',
'invalid_scheme' => 'Підтримуються лише URL з http та https.',
'missing_host' => 'У URL відсутній хост.',
'unresolvable_host' => 'Не вдалося розв’язати хост (:host).',
'private_network' => 'URL, що вказують на приватні мережі, не дозволені.',
],
'logo_captured' => 'Логотип отримано з вашого вебсайту.',
'name' => 'Назва робочого простору',
'name_placeholder' => 'напр. Acme Inc',
'brand_description' => 'Опис бренду',
'brand_description_placeholder' => 'Чим займається ваш бренд?',
'content_language' => 'Мова контенту',
'content_language_description' => 'AI-підписи будуть написані цією мовою.',
'brand_color' => 'Колір бренду',
'background_color' => 'Колір фону',
'text_color' => 'Колір тексту',
'submit' => 'Створити робочий простір',
'success' => 'Робочий простір створено. Підключіть соціальний акаунт, щоб почати публікувати.',
],
'cannot_delete_last' => 'Ви не можете видалити свій єдиний робочий простір. Скасуйте підписку в налаштуваннях оплати, щоб закрити обліковий запис.',
'flash' => [
'deleted' => 'Робочий простір успішно видалено.',
],
];