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
@@ -6469,3 +6469,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 = حدد المرجع:
.reference-not-found = لم يتم العثور على المرجع.
.not-valid-reference = الكائن ليس مرجعًا صالحًا
.one-entity-added = تمت إضافة كيان واحد
.nesting-level = حدد مستوى التداخل [موافق/التالي] <التالي>:
.selection-method = أدخل طريقة تحديد الكائنات [الكل/متداخلة] <الكل>:
.select-nested = حدد الكائنات المتداخلة:
.display-attdefs = عرض تعريفات السمات [نعم/لا] <لا>:
.zero-items-selected = تم تحديد 0 عنصر
.one-item-selected = تم تحديد عنصر واحد
.items-selected = تم تحديد __ocs_fmt_0__ عنصر
.refset-option = أدخل خيارًا [إضافة/إزالة] <إضافة>:
.refclose-option = أدخل خيارًا [حفظ/تجاهل تغييرات المرجع] <حفظ>:
.not-checked-out = ** الأمر غير مسموح ما لم يتم تحرير مرجع باستخدام الأمر REFEDIT **
.already-checked-out = ** الأمر غير مسموح، __ocs_fmt_0__ قيد التحرير بالفعل **
.transfer-objects = نقل الكائنات بين مجموعة عمل RefEdit والرسم المضيف...
.added-to-working-set = تمت إضافة __ocs_fmt_0__ إلى مجموعة العمل
.removed-from-working-set = تمت إزالة __ocs_fmt_0__ من مجموعة العمل
.one-object-added = تمت إضافة كائن واحد إلى __ocs_fmt_0__
.objects-added = تمت إضافة __ocs_fmt_0__ كائن إلى __ocs_fmt_1__
.one-object-removed = تمت إزالة كائن واحد من __ocs_fmt_0__
.objects-removed = تمت إزالة __ocs_fmt_0__ كائن من __ocs_fmt_1__
.one-xref-instance = تم تحديث نسخة xref واحدة
.xref-instances = تم تحديث __ocs_fmt_0__ نسخة xref
.one-block-instance = تم تحديث نسخة كتلة واحدة
.block-instances = تم تحديث __ocs_fmt_0__ نسخة كتلة
.redefined-reloaded = تمت إعادة تعريف __ocs_fmt_0__ وإعادة تحميله.
.redefined = تمت إعادة تعريف __ocs_fmt_0__.
.ok = موافق
.nested = متداخلة