feat(changelog): wire up History tab to /changelog endpoint + diff modal
This commit is contained in:
@@ -398,6 +398,31 @@ i18n
|
||||
'history.revert': 'Откатить к v{{v}}',
|
||||
'history.revertConfirm': 'Откатить к v{{v}}? Создастся новая активная версия.',
|
||||
'history.singleVersionHint': 'Это единственная версия. Кнопки «Сравнить» и «Откатить» появятся, когда у записи будет более одной версии.',
|
||||
// === Changelog (schema timeline + diff) ===
|
||||
'changelog.empty.title': 'История пуста',
|
||||
'changelog.empty.description': 'Изменения схемы и события workflow появятся здесь.',
|
||||
'changelog.viewDiff': 'Сравнить',
|
||||
'changelog.recordsAffected_one': '{{count}} запись',
|
||||
'changelog.recordsAffected_few': '{{count}} записи',
|
||||
'changelog.recordsAffected_many': '{{count}} записей',
|
||||
'changelog.diff.title': 'Изменения схемы',
|
||||
'changelog.diff.before': 'До',
|
||||
'changelog.diff.after': 'После',
|
||||
'changelog.diff.beforeEmpty': '— (первоначальное создание словаря)',
|
||||
'changelog.diff.afterEmpty': '— (нет proposed schema для этого события)',
|
||||
'changelog.diff.added': 'Добавлены',
|
||||
'changelog.diff.removed': 'Удалены',
|
||||
'changelog.diff.changed': 'Изменены',
|
||||
'changelog.diff.by': 'автор',
|
||||
'changelog.kind.definition_create': 'Создан словарь',
|
||||
'changelog.kind.definition_update': 'Изменена схема',
|
||||
'changelog.kind.draft_create': 'Черновик создан',
|
||||
'changelog.kind.draft_review': 'Отправлен на ревью',
|
||||
'changelog.kind.draft_approve': 'Одобрен',
|
||||
'changelog.kind.draft_reject': 'Отклонён',
|
||||
'changelog.kind.draft_changes_requested': 'Запрошены правки',
|
||||
'changelog.kind.draft_publish': 'Опубликован',
|
||||
'changelog.kind.draft_withdraw': 'Отозван',
|
||||
// === Lineage (dict-relationships-v2 Phase 1) ===
|
||||
'lineage.usedBy.title': 'На этот словарь ссылаются',
|
||||
'lineage.usedBy.count_one': '{{count}} связь',
|
||||
@@ -913,6 +938,30 @@ i18n
|
||||
'history.revert': 'Revert to v{{v}}',
|
||||
'history.revertConfirm': 'Revert to v{{v}}? A new active version will be created.',
|
||||
'history.singleVersionHint': 'This is the only version. Compare and Revert actions will appear once the record has more than one version.',
|
||||
// === Changelog (schema timeline + diff) ===
|
||||
'changelog.empty.title': 'No history yet',
|
||||
'changelog.empty.description': 'Schema changes and workflow events will appear here.',
|
||||
'changelog.viewDiff': 'Compare',
|
||||
'changelog.recordsAffected_one': '{{count}} record',
|
||||
'changelog.recordsAffected_other': '{{count}} records',
|
||||
'changelog.diff.title': 'Schema changes',
|
||||
'changelog.diff.before': 'Before',
|
||||
'changelog.diff.after': 'After',
|
||||
'changelog.diff.beforeEmpty': '— (dictionary creation, no prior state)',
|
||||
'changelog.diff.afterEmpty': '— (no proposed schema for this event)',
|
||||
'changelog.diff.added': 'Added',
|
||||
'changelog.diff.removed': 'Removed',
|
||||
'changelog.diff.changed': 'Changed',
|
||||
'changelog.diff.by': 'by',
|
||||
'changelog.kind.definition_create': 'Dictionary created',
|
||||
'changelog.kind.definition_update': 'Schema updated',
|
||||
'changelog.kind.draft_create': 'Draft created',
|
||||
'changelog.kind.draft_review': 'Sent for review',
|
||||
'changelog.kind.draft_approve': 'Approved',
|
||||
'changelog.kind.draft_reject': 'Rejected',
|
||||
'changelog.kind.draft_changes_requested': 'Changes requested',
|
||||
'changelog.kind.draft_publish': 'Published',
|
||||
'changelog.kind.draft_withdraw': 'Withdrawn',
|
||||
// === Lineage (dict-relationships-v2 Phase 1) ===
|
||||
'lineage.usedBy.title': 'Used by',
|
||||
'lineage.usedBy.count_one': '{{count}} reference',
|
||||
|
||||
Reference in New Issue
Block a user