Repository navigation
Drawings: apply a drawing template, or save the open drawing as one (#19035) #19036
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
CamWight
wants to merge
56
commits into
tangency-labs:main
Choose a base branch
from
CamWight:drawing-templates-19035
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+1,572
−111
Open
Changes from all commits
Commits
Show all changes
56 commits
Select commit
Hold shift + click to select a range
2ef4393
Drawings: a Drawing Settings window for projection, font, line group …
CamWight ca243c7
Drawing Settings: the font's note is looked up on a worker, not in a …
CamWight 126b6b6
Drawings: apply a drawing template, or save the open drawing as one (…
CamWight 7d4b8f7
Drawings: delete a whole drawing from its right-click menu (#19039)
CamWight d18ad1a
Merge main into #19036: drawing row menu, editor entry, Add Sheet win…
CamWight b4277fc
Merge main into #19040: drawing row menu, sheet row clicks, Add Sheet…
CamWight db40713
Merge main into the Drawing Settings window
CamWight 200b4c8
Delete Drawing: the drawing's panels close only after the delete succ…
CamWight bf1f30c
Apply Drawing Template: a template file picked again is read again
CamWight 2f56196
Drawing Settings stays open beside the right panel; the attribution r…
CamWight 556a1f8
Merge main into the Drawing Settings window
CamWight 48d7b20
Merge main into #19040: glossary entries and the pending German and K…
CamWight d3b8156
Merge main into the Drawing Settings window
CamWight a5dfc28
Merge #19040's main merge into #19036: template lists, glossary and t…
CamWight c7ab6ec
Drawing Settings: the File-row test runs the row's action, as main's …
CamWight fac495e
Merge main into #19040: main's ribbon row menu and the kernel interfa…
CamWight 026e9c5
Merge #19040's new main merge into #19036
CamWight de73e8d
Drawings: picking a view leaves Apply Drawing Template open
CamWight 167b86c
Drawings: Delete Drawing opens the next drawing in the picker
CamWight 0fe397b
Drawings: test what undo does after Delete Drawing opens the next one
CamWight 27e643b
Merge #19049's head c7ab6ec1bf into #19040
CamWight ae17018
Merge #19040's head 27e643ba2e into prep-19036
CamWight 941f2e3
Drawings: Apply Drawing Template stays open beside Drawing Settings, …
CamWight c75374b
Drawings: a view picked while Apply Drawing Template is open shows it…
CamWight faaab85
Merge remote-tracking branch 'origin/main' into HEAD
bherbruck 3262b67
Feature window tests: the operation check reads the window's new inputs
CamWight b8bafd2
Merge main d7a409e86c into #19036's head
CamWight 32cdf9c
Merge main d7a409e86c into #19040's head
CamWight 57a378f
Merge #19049's head 3262b670ef into #19036's head
CamWight 1173833
Merge #19049's head 3262b670ef into #19040's head
CamWight fe95fda
Drawings: the Delete Drawing undo tests go to Design as the workspace…
CamWight 763752a
Drawings: Delete Drawing closes the drawing's panels, and deleting th…
CamWight 976a2fc
Drawings: the refused Delete Drawing test also holds the sheet's sett…
CamWight 611a6e0
Merge main into the drawing settings window (#19049)
CamWight a46e031
Merge #19049's head 611a6e0925 (main with #23380's menus) into #19040…
CamWight 045b248
Merge #19049's head 611a6e0925 (main with #23380's menus) into #19036…
CamWight d448baa
Fit the File menu test to main's menu rows (#19049)
CamWight 9483c2e
Merge #19049's head d448baa26c (the File menu test on main's menu row…
CamWight 36e7cd6
Merge #19049's head d448baa26c (the File menu test on main's menu row…
CamWight 7ffa83b
Merge #19040's head 9483c2e2bf (Delete Drawing after #19049's close_p…
CamWight fc1f5ee
Drawings: the open-next delete test also covers a next drawing with n…
CamWight 2c29eb2
Merge #19040's head fc1f5ee91c (the open-next test's no-Sheet-view ca…
CamWight 7365141
Merge main f212f122aa into #19040
CamWight 6ba7c37
Drawing Settings: its messages read with tr!, as main now does
CamWight fe7dcca
Merge main 33fd69bcd4 into #19049
CamWight 643285a
Merge #19049's head fe7dccaf35 (main 33fd69bcd4, messages on tr!) int…
CamWight a762ee6
Merge main bf6c37a1f1 into #19049
CamWight e41a5b7
Merge #19049's head a762ee617c (main bf6c37a1f1) into #19040
CamWight eeb77ab
Merge #19040's head e41a5b785b (main bf6c37a1f1) into #19036
CamWight 9353bb1
Merge main 6a57d08a2c into drawing-settings-window-19048
CamWight 4f3b9f1
Merge main 6a57d08a2c into drawing-delete-drawing-19039
CamWight 3bae909
Merge main 6a57d08a2c into drawing-templates-19035
CamWight 39f77cd
Merge #19049's head 9353bb1b06 (main 6a57d08a2c) into #19040
CamWight 166b4e0
Merge #19040's head 39f77cd274 (main 6a57d08a2c) into #19036
CamWight 03aa221
Merge main 0cd36f5a03 into drawing-templates-19035
CamWight 294636a
Merge remote-tracking branch 'origin/main' into unb1426x/pr-19036
bherbruck File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,26 @@ | ||
| { | ||
| "ar": { | ||
| "ui.drawing_browser.delete_confirm": "حذف {name} وجميع أوراقها؟" | ||
| }, | ||
| "de": { | ||
| "ui.drawing_browser.delete_confirm": "{name} mit allen Blättern löschen?" | ||
| }, | ||
| "en": { | ||
| "ui.drawing_browser.delete_confirm": "Delete {name} and all its sheets?" | ||
| }, | ||
| "he": { | ||
| "ui.drawing_browser.delete_confirm": "למחוק את {name} ואת כל הגיליונות שלו?" | ||
| }, | ||
| "ja": { | ||
| "ui.drawing_browser.delete_confirm": "{name} とすべてのシートを削除しますか?" | ||
| }, | ||
| "ko": { | ||
| "ui.drawing_browser.delete_confirm": "{name}과 모든 시트를 삭제할까요?" | ||
| }, | ||
| "vi": { | ||
| "ui.drawing_browser.delete_confirm": "Xóa {name} và tất cả các tờ của bản vẽ này?" | ||
| }, | ||
| "zh": { | ||
| "ui.drawing_browser.delete_confirm": "删除 {name} 及其所有图纸?" | ||
| } | ||
| } | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,98 @@ | ||
| { | ||
| "en": { | ||
| "ui.drawing_settings.deferred": "Deferred", | ||
| "ui.drawing_settings.deferred_help": "Deferred views keep their last lines until the drawing is updated.", | ||
| "ui.drawing_settings.drawing_immediate": "Drawing changes apply immediately. Each change is one drawing undo step.", | ||
| "ui.drawing_settings.font": "Font", | ||
| "ui.drawing_settings.language": "Language", | ||
| "ui.drawing_settings.language_help": "The language of the drawing's text. It picks the fonts for scripts the drawing's font lacks.", | ||
| "ui.drawing_settings.line_group": "Line group", | ||
| "ui.drawing_settings.line_group_help": "ISO 128 line widths, named by the wide line. A sheet or a view may choose its own.", | ||
| "ui.drawing_settings.projection": "Projection", | ||
| "ui.drawing_settings.updates": "Updates" | ||
| }, | ||
| "ar": { | ||
| "ui.drawing_settings.deferred": "مؤجل", | ||
| "ui.drawing_settings.deferred_help": "تحتفظ المساقط المؤجلة بخطوطها الأخيرة حتى تحديث اللوحة.", | ||
| "ui.drawing_settings.drawing_immediate": "تُطبّق تغييرات اللوحة فورًا. كل تغيير خطوة تراجع واحدة.", | ||
| "ui.drawing_settings.font": "الخط", | ||
| "ui.drawing_settings.language": "اللغة", | ||
| "ui.drawing_settings.language_help": "لغة نص اللوحة. تختار الخطوط للأنظمة الكتابية التي يفتقر إليها خط اللوحة.", | ||
| "ui.drawing_settings.line_group": "مجموعة الخطوط", | ||
| "ui.drawing_settings.line_group_help": "عروض الخطوط وفق ISO 128، مسمّاة بالخط العريض. يمكن للورقة أو المسقط اختيار مجموعة خاصة.", | ||
| "ui.drawing_settings.projection": "الإسقاط", | ||
| "ui.drawing_settings.updates": "التحديث" | ||
| }, | ||
| "de": { | ||
| "ui.drawing_settings.deferred": "Aufgeschoben", | ||
| "ui.drawing_settings.deferred_help": "Aufgeschobene Ansichten behalten ihre letzten Linien, bis die Zeichnung aktualisiert wird.", | ||
| "ui.drawing_settings.drawing_immediate": "Zeichnungsänderungen gelten sofort. Jede Änderung ist ein Rückgängig-Schritt.", | ||
| "ui.drawing_settings.font": "Schrift", | ||
| "ui.drawing_settings.language": "Sprache", | ||
| "ui.drawing_settings.language_help": "Die Sprache des Zeichnungstexts. Sie wählt die Schriften für Schriftsysteme, die der Zeichnungsschrift fehlen.", | ||
| "ui.drawing_settings.line_group": "Liniengruppe", | ||
| "ui.drawing_settings.line_group_help": "Linienbreiten nach ISO 128, benannt nach der breiten Linie. Ein Blatt oder eine Ansicht kann eine eigene wählen.", | ||
| "ui.drawing_settings.projection": "Projektion", | ||
| "ui.drawing_settings.updates": "Aktualisierung" | ||
| }, | ||
| "he": { | ||
| "ui.drawing_settings.deferred": "דחוי", | ||
| "ui.drawing_settings.deferred_help": "מבטים דחויים שומרים על הקווים האחרונים שלהם עד שהשרטוט מתעדכן.", | ||
| "ui.drawing_settings.drawing_immediate": "שינויים בשרטוט חלים מיד. כל שינוי הוא צעד ביטול אחד.", | ||
| "ui.drawing_settings.font": "גופן", | ||
| "ui.drawing_settings.language": "שפה", | ||
| "ui.drawing_settings.language_help": "שפת הטקסט בשרטוט. היא בוחרת גופנים לכתבים שחסרים בגופן השרטוט.", | ||
| "ui.drawing_settings.line_group": "קבוצת קווים", | ||
| "ui.drawing_settings.line_group_help": "עובי קווים לפי ISO 128, בשם הקו העבה. גיליון או מבט יכולים לבחור קבוצה משלהם.", | ||
| "ui.drawing_settings.projection": "הטלה", | ||
| "ui.drawing_settings.updates": "עדכון" | ||
| }, | ||
| "ja": { | ||
| "ui.drawing_settings.deferred": "保留", | ||
| "ui.drawing_settings.deferred_help": "保留中のビューは、図面を更新するまで最後の線を保ちます。", | ||
| "ui.drawing_settings.drawing_immediate": "図面の変更はすぐに適用されます。変更ごとに元に戻せます。", | ||
| "ui.drawing_settings.font": "フォント", | ||
| "ui.drawing_settings.language": "言語", | ||
| "ui.drawing_settings.language_help": "図面の文字の言語です。図面のフォントにない文字体系のフォントを選びます。", | ||
| "ui.drawing_settings.line_group": "線グループ", | ||
| "ui.drawing_settings.line_group_help": "ISO 128 の線の太さで、太線の幅で呼びます。シートやビューは独自に選べます。", | ||
| "ui.drawing_settings.projection": "投影法", | ||
| "ui.drawing_settings.updates": "更新" | ||
| }, | ||
| "ko": { | ||
| "ui.drawing_settings.deferred": "지연", | ||
| "ui.drawing_settings.deferred_help": "지연된 뷰는 도면을 업데이트할 때까지 마지막 선을 유지합니다.", | ||
| "ui.drawing_settings.drawing_immediate": "도면 변경은 즉시 적용됩니다. 각 변경은 한 번에 실행 취소할 수 있습니다.", | ||
| "ui.drawing_settings.font": "글꼴", | ||
| "ui.drawing_settings.language": "언어", | ||
| "ui.drawing_settings.language_help": "도면 텍스트의 언어입니다. 도면 글꼴에 없는 문자 체계의 글꼴을 고릅니다.", | ||
| "ui.drawing_settings.line_group": "선 그룹", | ||
| "ui.drawing_settings.line_group_help": "ISO 128 선 굵기로, 굵은 선의 굵기로 부릅니다. 시트나 뷰는 따로 고를 수 있습니다.", | ||
| "ui.drawing_settings.projection": "투영법", | ||
| "ui.drawing_settings.updates": "업데이트" | ||
| }, | ||
| "vi": { | ||
| "ui.drawing_settings.deferred": "Hoãn lại", | ||
| "ui.drawing_settings.deferred_help": "Các hình chiếu hoãn lại giữ nét cuối cùng cho đến khi bản vẽ được cập nhật.", | ||
| "ui.drawing_settings.drawing_immediate": "Thay đổi bản vẽ được áp dụng ngay. Mỗi thay đổi là một bước hoàn tác.", | ||
| "ui.drawing_settings.font": "Phông chữ", | ||
| "ui.drawing_settings.language": "Ngôn ngữ", | ||
| "ui.drawing_settings.language_help": "Ngôn ngữ của chữ trên bản vẽ. Nó chọn phông cho các hệ chữ mà phông của bản vẽ không có.", | ||
| "ui.drawing_settings.line_group": "Nhóm nét", | ||
| "ui.drawing_settings.line_group_help": "Độ dày nét theo ISO 128, đặt tên theo nét đậm. Một tờ hoặc một hình chiếu có thể chọn riêng.", | ||
| "ui.drawing_settings.projection": "Phép chiếu", | ||
| "ui.drawing_settings.updates": "Cập nhật" | ||
| }, | ||
| "zh": { | ||
| "ui.drawing_settings.deferred": "延迟", | ||
| "ui.drawing_settings.deferred_help": "延迟的视图保留最后的线条,直到绘图更新。", | ||
| "ui.drawing_settings.drawing_immediate": "绘图更改立即生效。每次更改都是一个绘图撤销步骤。", | ||
| "ui.drawing_settings.font": "字体", | ||
| "ui.drawing_settings.language": "语言", | ||
| "ui.drawing_settings.language_help": "绘图文字的语言。它为绘图字体缺少的文字选择字体。", | ||
| "ui.drawing_settings.line_group": "线宽组", | ||
| "ui.drawing_settings.line_group_help": "ISO 128 线宽,以粗线宽度命名。图纸或视图可以另选。", | ||
| "ui.drawing_settings.projection": "投影法", | ||
| "ui.drawing_settings.updates": "更新" | ||
| } | ||
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,74 @@ | ||
| { | ||
| "ar": { | ||
| "ui.drawing_template.built_in": "القوالب المدمجة", | ||
| "ui.drawing_template.changes": "ستتغير {sheet} لتطابق القالب.", | ||
| "ui.drawing_template.file": "ملف قالب…", | ||
| "ui.drawing_template.lost": "سيُحذف النص المكتوب من: {cells}", | ||
| "ui.drawing_template.saved": "تم حفظ القالب {path}", | ||
| "ui.drawing_template.stay": "تبقى المساقط في مواضعها.", | ||
| "ui.drawing_template.unchanged": "تستخدم هذه اللوحة هذا القالب بالفعل." | ||
| }, | ||
| "de": { | ||
| "ui.drawing_template.built_in": "Integrierte Vorlagen", | ||
| "ui.drawing_template.changes": "{sheet} wird an die Vorlage angepasst.", | ||
| "ui.drawing_template.file": "Vorlagendatei…", | ||
| "ui.drawing_template.lost": "Eingegebener Text entfällt in: {cells}", | ||
| "ui.drawing_template.saved": "Vorlage gespeichert: {path}", | ||
| "ui.drawing_template.stay": "Die Ansichten bleiben an ihrer Position.", | ||
| "ui.drawing_template.unchanged": "Diese Zeichnung verwendet diese Vorlage bereits." | ||
| }, | ||
| "en": { | ||
| "ui.drawing_template.built_in": "Built-in templates", | ||
| "ui.drawing_template.changes": "{sheet} changes to match the template.", | ||
| "ui.drawing_template.file": "Template file…", | ||
| "ui.drawing_template.lost": "Typed text is dropped from: {cells}", | ||
| "ui.drawing_template.saved": "Saved template {path}", | ||
| "ui.drawing_template.stay": "Views stay where they are.", | ||
| "ui.drawing_template.unchanged": "This drawing already uses this template." | ||
| }, | ||
| "he": { | ||
| "ui.drawing_template.built_in": "תבניות מובנות", | ||
| "ui.drawing_template.changes": "{sheet} ישתנה כדי להתאים לתבנית.", | ||
| "ui.drawing_template.file": "קובץ תבנית…", | ||
| "ui.drawing_template.lost": "הטקסט שהוקלד יוסר מ: {cells}", | ||
| "ui.drawing_template.saved": "התבנית נשמרה: {path}", | ||
| "ui.drawing_template.stay": "המבטים נשארים במקומם.", | ||
| "ui.drawing_template.unchanged": "השרטוט הזה כבר משתמש בתבנית הזו." | ||
| }, | ||
| "ja": { | ||
| "ui.drawing_template.built_in": "組み込みテンプレート", | ||
| "ui.drawing_template.changes": "{sheet} はテンプレートに合わせて変更されます。", | ||
| "ui.drawing_template.file": "テンプレートファイル…", | ||
| "ui.drawing_template.lost": "入力したテキストが削除されるセル: {cells}", | ||
| "ui.drawing_template.saved": "テンプレートを保存しました: {path}", | ||
| "ui.drawing_template.stay": "ビューの位置は変わりません。", | ||
| "ui.drawing_template.unchanged": "この図面はすでにこのテンプレートを使用しています。" | ||
| }, | ||
| "ko": { | ||
| "ui.drawing_template.built_in": "기본 제공 템플릿", | ||
| "ui.drawing_template.changes": "{sheet}이(가) 템플릿에 맞게 바뀝니다.", | ||
| "ui.drawing_template.file": "템플릿 파일…", | ||
| "ui.drawing_template.lost": "입력한 텍스트가 삭제되는 칸: {cells}", | ||
| "ui.drawing_template.saved": "템플릿을 저장했습니다: {path}", | ||
| "ui.drawing_template.stay": "뷰의 위치는 바뀌지 않습니다.", | ||
| "ui.drawing_template.unchanged": "이 도면은 이미 이 템플릿을 사용합니다." | ||
| }, | ||
| "vi": { | ||
| "ui.drawing_template.built_in": "Mẫu có sẵn", | ||
| "ui.drawing_template.changes": "{sheet} sẽ thay đổi theo mẫu.", | ||
| "ui.drawing_template.file": "Tệp mẫu…", | ||
| "ui.drawing_template.lost": "Văn bản đã nhập sẽ bị bỏ khỏi: {cells}", | ||
| "ui.drawing_template.saved": "Đã lưu mẫu {path}", | ||
| "ui.drawing_template.stay": "Các hình chiếu sẽ giữ nguyên vị trí.", | ||
| "ui.drawing_template.unchanged": "Bản vẽ này đã dùng mẫu này." | ||
| }, | ||
| "zh": { | ||
| "ui.drawing_template.built_in": "内置模板", | ||
| "ui.drawing_template.changes": "{sheet} 将按模板更改。", | ||
| "ui.drawing_template.file": "模板文件…", | ||
| "ui.drawing_template.lost": "以下单元格中输入的文字将被删除:{cells}", | ||
| "ui.drawing_template.saved": "已保存模板 {path}", | ||
| "ui.drawing_template.stay": "视图保持原有位置。", | ||
| "ui.drawing_template.unchanged": "此绘图已在使用此模板。" | ||
| } | ||
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1 @@ | ||
| | assets/locales/pending/drawing-delete-drawing.json | SolidCraft contributors | Original delete-drawing menu and confirmation labels and translations | MIT OR Apache-2.0 | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1 @@ | ||
| | assets/locales/pending/drawing-settings-window.json | SolidCraft contributors | Original Drawing Settings window labels and translations | MIT OR Apache-2.0 | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1 @@ | ||
| | assets/locales/pending/drawing-templates.json | SolidCraft contributors | Original drawing template window labels and translations | MIT OR Apache-2.0 | |
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.