trypost/lang/zh/common.php
Paulo Castellano d8149ef058
Remove the automations module (#333)
* Remove the automations module

Drops the visual workflow builder end to end: actions, node runners,
commands, jobs, models, observers, policy, resources, requests, routes,
broadcast channel, scheduler entries, Horizon supervisor, Vue pages and
components, canvas undo/redo history, CodeEditor, translations, factories
and tests.

A new migration rewrites posts.created_via = 'automation' to 'web' and
drops the five automation tables. The CreatedVia::Automation enum case is
removed. The 2026-08-21 social-account identity migration now skips its
automation node repointing when the automations table no longer exists,
so it stays re-runnable after the drop.

Orphaned dependencies removed: simplepie/simplepie, @vue-flow/*,
codemirror and @codemirror/*.

* Drop the orphaned common.beta translation key

* Remove automation leftovers: ResolvableUrl rule, feed fixtures, useShortcut, nav badge

* Drop the unused chart wrapper and @unovis packages

* Address review: keep the shipped migration untouched, drop the dead previewOnly chain

- Restore 2026_08_21 migration to exactly what production ran; the
  rehearsal test now recreates the automations table it expects instead.
- Mark the drop migration's down() irreversible like its siblings.
- Simplify DropAutomationTablesMigrationTest to the sibling shape.
- Remove previewOnly / aiGenerateVariants: the only caller that set the
  prop was the deleted automation Generate node.
- Run pint over lang/*/common.php after the beta key removal.

* Exercise the drop migration against the real automation tables and their FKs

* Drop DuplicateIdentityRehearsalTest: it re-ran a frozen migration that reads the removed automations table
2026-09-05 11:03:23 -03:00

68 lines
1.8 KiB
PHP

<?php
declare(strict_types=1);
return [
'back' => '返回',
'confirm_modal' => [
'cannot_be_undone' => '此操作无法撤销。',
'type' => '输入',
'to_confirm' => '以确认。',
'copy_to_clipboard' => '复制到剪贴板',
'delete_keyword' => '删除',
],
'photo_upload' => [
'upload' => '上传',
'uploading' => '上传中…',
'remove' => '移除照片',
'hint' => '推荐:正方形图片,最大 2 MB。',
'crop_title' => '裁剪图片',
'crop_description' => '选择要保留的区域。',
'crop_hint' => '拖动以移动,拖动边角可调整大小。',
'crop_save' => '保存',
'crop_cancel' => '取消',
'crop_error' => '无法加载此图片。请尝试其他文件。',
],
'timezone' => [
'select' => '选择时区',
'search' => '搜索时区…',
'empty' => '未找到时区',
],
'just_now' => '刚刚',
'date_picker' => [
'label' => '日期选择器',
'select' => '选择日期',
],
'date_range_picker' => [
'placeholder' => '选择日期范围',
'today' => '今天',
'yesterday' => '昨天',
'last_7_days' => '过去 7 天',
'last_30_days' => '过去 30 天',
'last_3_months' => '过去 3 个月',
'last_6_months' => '过去 6 个月',
'last_12_months' => '过去 12 个月',
'this_month' => '本月',
'last_month' => '上月',
'year_to_date' => '今年至今',
'last_year' => '去年',
],
'cancel' => '取消',
'clear' => '清除',
'close' => '关闭',
'loading_more' => '加载更多…',
'actions' => [
'copy' => '复制',
'copied' => '已复制',
'copy_failed' => '复制到剪贴板失败',
],
];