forked from 1b-agent/opencadstudio-upstream
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>