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
@@ -6454,3 +6454,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 = Vyberte referenci:
.reference-not-found = Reference nebyla nalezena.
.not-valid-reference = Objekt není platná reference
.one-entity-added = Přidána 1 entita
.nesting-level = Vyberte úroveň vnoření [Ok/Další] <Další>:
.selection-method = Zadejte metodu výběru objektů [Vše/Vnořené] <Vše>:
.select-nested = Vyberte vnořené objekty:
.display-attdefs = Zobrazit definice atributů [Ano/Ne] <Ne>:
.zero-items-selected = Vybráno 0 položek
.one-item-selected = Vybrána 1 položka
.items-selected = Vybráno položek: __ocs_fmt_0__
.refset-option = Zadejte možnost [Přidat/Odebrat] <Přidat>:
.refclose-option = Zadejte možnost [Uložit/Zahodit změny reference] <Uložit>:
.not-checked-out = ** Příkaz není povolen, dokud není reference upravována příkazem REFEDIT **
.already-checked-out = ** Příkaz není povolen, __ocs_fmt_0__ je již upravována **
.transfer-objects = Přenos objektů mezi pracovní sadou RefEdit a hostitelským výkresem...
.added-to-working-set = Přidáno do pracovní sady: __ocs_fmt_0__
.removed-from-working-set = Odebráno z pracovní sady: __ocs_fmt_0__
.one-object-added = 1 objekt přidán do __ocs_fmt_0__
.objects-added = __ocs_fmt_0__ objektů přidáno do __ocs_fmt_1__
.one-object-removed = 1 objekt odebrán z __ocs_fmt_0__
.objects-removed = __ocs_fmt_0__ objektů odebráno z __ocs_fmt_1__
.one-xref-instance = Aktualizována 1 instance xref
.xref-instances = Aktualizováno instancí xref: __ocs_fmt_0__
.one-block-instance = Aktualizována 1 instance bloku
.block-instances = Aktualizováno instancí bloku: __ocs_fmt_0__
.redefined-reloaded = __ocs_fmt_0__ předefinován a znovu načten.
.redefined = __ocs_fmt_0__ předefinován.
.ok = Ok
.nested = Vnořené