fix(refedit): write the whole definition back to an xref, keep a .bak

REFCLOSE Save on an xref replaced the referenced file's model space with
the working set alone. With the Nested selection method the objects that
were not checked out stay in the definition, but they were deleted from
the file on disk. Write back every object of the saved definition, and
copy the file to .bak first when ISAVEBAK is on, as a drawing save does.

Also translate the new REFEDIT prompts into the other 20 locales; the
catalog test requires every locale.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Hakan SevenandClaude Opus 5.5 committed 2026-10-14 08:51:23 +03:00
1 parent 7e763080cb
commit 1eda5cd22d
21 files changed
+658 -3

No files matched your search

+32
View File
@@ -6456,3 +6456,35 @@ view-background =
.help = Sets the background a named view shows when it is restored.
.image-files = Image files
.select-image = Select Background Image
ref-edit =
.select-reference = Wybierz odnośnik:
.reference-not-found = Nie znaleziono odnośnika.
.not-valid-reference = Obiekt nie jest prawidłowym odnośnikiem
.one-entity-added = Dodano 1 obiekt
.nesting-level = Wybierz poziom zagnieżdżenia [Ok/Następny] <Następny>:
.selection-method = Podaj metodę wyboru obiektów [Wszystkie/Zagnieżdżone] <Wszystkie>:
.select-nested = Wybierz zagnieżdżone obiekty:
.display-attdefs = Wyświetlić definicje atrybutów [Tak/Nie] <Nie>:
.zero-items-selected = Wybrano 0 elementów
.one-item-selected = Wybrano 1 element
.items-selected = Wybrano elementów: __ocs_fmt_0__
.refset-option = Podaj opcję [Dodaj/Usuń] <Dodaj>:
.refclose-option = Podaj opcję [Zapisz/Odrzuć zmiany odnośnika] <Zapisz>:
.not-checked-out = ** Polecenie niedozwolone, dopóki odnośnik nie jest edytowany poleceniem REFEDIT **
.already-checked-out = ** Polecenie niedozwolone, __ocs_fmt_0__ jest już edytowany **
.transfer-objects = Przenoszenie obiektów między zbiorem roboczym RefEdit a rysunkiem głównym...
.added-to-working-set = Dodano do zbioru roboczego: __ocs_fmt_0__
.removed-from-working-set = Usunięto ze zbioru roboczego: __ocs_fmt_0__
.one-object-added = Dodano 1 obiekt do __ocs_fmt_0__
.objects-added = Dodano __ocs_fmt_0__ obiektów do __ocs_fmt_1__
.one-object-removed = Usunięto 1 obiekt z __ocs_fmt_0__
.objects-removed = Usunięto __ocs_fmt_0__ obiektów z __ocs_fmt_1__
.one-xref-instance = Zaktualizowano 1 wystąpienie odnośnika
.xref-instances = Zaktualizowano wystąpień odnośnika: __ocs_fmt_0__
.one-block-instance = Zaktualizowano 1 wystąpienie bloku
.block-instances = Zaktualizowano wystąpień bloku: __ocs_fmt_0__
.redefined-reloaded = Przedefiniowano i ponownie wczytano __ocs_fmt_0__.
.redefined = Przedefiniowano __ocs_fmt_0__.
.ok = Ok
.nested = Zagnieżdżone