fix(history): подсказка и Button-стайл когда у записи 1 версия

This commit is contained in:
Александр Зимин
2026-05-12 08:57:44 +00:00
parent bdf16daee8
commit 7192aed71c
2 changed files with 22 additions and 4 deletions
+2
View File
@@ -397,6 +397,7 @@ i18n
'history.compare': 'Сравнить с текущим',
'history.revert': 'Откатить к v{{v}}',
'history.revertConfirm': 'Откатить к v{{v}}? Создастся новая активная версия.',
'history.singleVersionHint': 'Это единственная версия. Кнопки «Сравнить» и «Откатить» появятся, когда у записи будет более одной версии.',
// === Lineage (dict-relationships-v2 Phase 1) ===
'lineage.usedBy.title': 'На этот словарь ссылаются',
'lineage.usedBy.count_one': '{{count}} связь',
@@ -911,6 +912,7 @@ i18n
'history.compare': 'Compare with current',
'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.',
// === Lineage (dict-relationships-v2 Phase 1) ===
'lineage.usedBy.title': 'Used by',
'lineage.usedBy.count_one': '{{count}} reference',