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 = Selezionare il riferimento:
.reference-not-found = Riferimento non trovato.
.not-valid-reference = L'oggetto non è un riferimento valido
.one-entity-added = 1 entità aggiunta
.nesting-level = Selezionare il livello di nidificazione [Ok/Successivo] <Successivo>:
.selection-method = Immettere il metodo di selezione oggetti [Tutti/Nidificati] <Tutti>:
.select-nested = Selezionare gli oggetti nidificati:
.display-attdefs = Visualizzare le definizioni di attributo [Sì/No] <No>:
.zero-items-selected = 0 elementi selezionati
.one-item-selected = 1 elemento selezionato
.items-selected = __ocs_fmt_0__ elementi selezionati
.refset-option = Immettere un'opzione [Aggiungi/Rimuovi] <Aggiungi>:
.refclose-option = Immettere un'opzione [Salva/Annulla modifiche al riferimento] <Salva>:
.not-checked-out = ** Comando non consentito se non è in modifica un riferimento con REFEDIT **
.already-checked-out = ** Comando non consentito, __ocs_fmt_0__ è già in modifica **
.transfer-objects = Trasferisci oggetti tra il gruppo di lavoro RefEdit e il disegno host...
.added-to-working-set = __ocs_fmt_0__ aggiunti al gruppo di lavoro
.removed-from-working-set = __ocs_fmt_0__ rimossi dal gruppo di lavoro
.one-object-added = 1 oggetto aggiunto a __ocs_fmt_0__
.objects-added = __ocs_fmt_0__ oggetti aggiunti a __ocs_fmt_1__
.one-object-removed = 1 oggetto rimosso da __ocs_fmt_0__
.objects-removed = __ocs_fmt_0__ oggetti rimossi da __ocs_fmt_1__
.one-xref-instance = 1 istanza di xrif aggiornata
.xref-instances = __ocs_fmt_0__ istanze di xrif aggiornate
.one-block-instance = 1 istanza di blocco aggiornata
.block-instances = __ocs_fmt_0__ istanze di blocco aggiornate
.redefined-reloaded = __ocs_fmt_0__ ridefinito e ricaricato.
.redefined = __ocs_fmt_0__ ridefinito.
.ok = Ok
.nested = Nidificati