Graphic Attributes: tidy helpers, split tests, translate the palette

- The hatch pattern picker takes its messages as one PatternPickerMessages
  struct instead of eight arguments.
- The palette's fill index is keyed on the scene's geometry epoch alone;
  epochs are unique across scenes, so the scene address is not needed.
- The ribbon lineweight handler is an on_ribbon_lineweight_changed method,
  used by the palette instead of a recursive update() call.
- The 430-line palette test is split into eight focused tests with shared
  helpers; no checks were dropped.
- Palette, gradient editor, prompts, messages and undo labels go through
  t!/tf!. The 33 new strings are in a graphic-attributes Fluent group in
  all 21 locales; "[Yes / No] <Yes>", ByLayer and ByBlock stay English.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01VgkJN8DEojuPTumAXLHotu
This commit is contained in:
Claude committed 2026-10-07 18:38:04 +00:00
1 parent 119131ee10
commit c21a1e6538
28 files changed
+1060 -482

No files matched your search

+35
View File
@@ -5616,3 +5616,38 @@ style-manager =
.center-of-text-overline = Центр текста с надчёркиванием
.block-extents = Габариты блока
.base-point = Базовая точка
graphic-attributes =
.title = Графические атрибуты
.set-all-bylayer = Задать всем атрибутам ByLayer
.set-all-byblock = Задать всем атрибутам ByBlock
.remove-bylayer-byblock = Убрать ByLayer / ByBlock
.create-layer-active-settings = Создать слой с текущими настройками
.fills-on-current-layer = Создавать заливки на текущем слое
.edit-hatch = Редактировать штриховку
.edit-gradient = Редактировать градиент
.close-open-object = Выбранный объект разомкнут. Замкнуть его перед созданием заливки? [Yes / No] <Yes>
.close-open-objects = Выбранные объекты разомкнуты (__ocs_fmt_0__). Замкнуть их перед созданием заливки? [Yes / No] <Yes>
.enter-new-layer-name = Введите имя нового слоя:
.invalid-layer-name = Графические атрибуты: введите допустимое имя слоя без <>/\":;?*|,=`.
.layer-exists = Графические атрибуты: слой "__ocs_fmt_0__" уже существует.
.layer-not-created = Графические атрибуты: не удалось создать слой.
.layer-created = Создан слой "__ocs_fmt_0__" с текущими графическими атрибутами.
.gradient-fill-locked = Градиентная заливка: заливка находится на заблокированном слое.
.select-closed-objects = Сначала выберите один или несколько замкнутых объектов.
.locked-objects-skipped = Графические атрибуты: объекты на заблокированном слое (__ocs_fmt_0__) не изменены.
.no-hatch-pattern = Графические атрибуты: нет доступного образца штриховки.
.associated-fill-locked = Графические атрибуты: связанная заливка находится на заблокированном слое.
.one-unsupported = Графические атрибуты: 1 неподдерживаемый объект не изменён.
.unsupported-skipped = Графические атрибуты: неподдерживаемые объекты (__ocs_fmt_0__) не изменены.
.fill-transparency = Прозрачность заливки
.line-linetype = Тип линий
.line-transparency = Прозрачность линий
.cylindrical-short = Цил.
.spherical-short = Сфер.
.hemispherical-short = Полусф.
.invert-gradient = Инвертировать градиент
.tone = Тон
.reset-angle = Сбросить угол
.one-color = Один цвет
.two-colors = Два цвета