Commit Graph
51 Commits
Author SHA1 Message Date
Leonardo Zide baae697960 Fix in-place submodel editing context and navigation
In-place editing could use the tab model's step and focus, lose its active
state after switching tabs, or resolve a nested instance through the wrong
parent. Entering before the final animation key also moved geometry when
drilling into a child.

Use the edited model for step controls, step edits, visibility, and focus
coordinates. Restore that editing target when returning to its tab, include
animation keys and finite hide steps in the last step, and retain the
selected instance path and transforms during nested editing.

Show the editing path only during in-place edits, with links to ancestors
and a close control to return to the tab model. Stack Find/Replace beneath
it and preserve full names in accessible text and tooltips. Add translated
source entries without changing existing translations.

Add a regression test for final-key tracking through time and key edits.
Validated with the macOS Qt 6 application build, all 8 Qt Test cases, and
51 focused checks against the compiled application for steps, tab switching,
focus status, breadcrumbs, and Find/Replace layout. Visually checked the
viewport overlay and its placement during nested editing.
2026-10-24 12:39:25 -07:00
Leonardo Zide c9f473b1bf Add fading outlines for new-piece highlights
Highlight newly added pieces with the configured highlight color in outline
mode, and widen outlines with an outward opacity falloff. Keep highlight
coverage independent of selection in the existing mask so overlap preserves
selection and focus priority, and limit the obscured fill to selection.
Skip selection visibility and occluder draws in highlight-only scenes while
retaining colored-edge fallback for line meshes and unsupported views.

Rename the shared preference to Highlight Style throughout the UI, renderer,
and persisted settings without migrating the previous key. Update contextual
help and translation catalogs, preserving existing translations and leaving
new text unfinished. Name the selection-only mask draw DrawSelectionMask.

Validation: macOS debug build; desktop OpenGL checks for fading, focus colors,
selection/highlight overlap, occlusion, transparency, MSAA, and edge fallback;
preference round trips; compilation of all nine translation catalogs.

Fixes #461
2026-10-23 23:49:46 -07:00
Leonardo Zide 688859b120 Localize numeric displays and HTML export labels
Format UI measurements, snap angles, ladder increments, edge-color values, Preferences labels, counts, and step/page labels using the widget locale without grouping. Preserve numeric table sorting with stored count values and trim localized zero digits correctly. Give float/double formatting and float parsing explicit helper names.

Mark HTML export titles, navigation, alternate text, and credits for translation, escape translated text, and declare UTF-8 output. Keep numbers in HTML, piece-list images, and print/PDF output in ASCII. Include the pending command-status translation drafts in all eight language catalogs, preserving their unfinished review status.

Validation: macOS Qt debug build, display and count-sorting checks across ten locales, all three HTML layouts with test translations under an Arabic numeric locale, and ASCII print/image checks. All eight catalogs pass XML, changed-placeholder, and lrelease validation.
2026-10-23 14:17:52 -07:00
Leonardo Zide d7dde4906c Add translation drafts for dialog and contextual help
Fill the 490 empty entries in each non-English catalog so the new help and labels are available in all eight languages. Preserve existing translations and mark generated text unfinished with translator comments for subsequent human review.

Preserve placeholders, rich text, links, and category-search syntax. Validate all catalogs with lrelease and verify all 3,920 new compiled translations at runtime, including unfinished drafts under the current build policy.
2026-10-22 21:41:15 -07:00
Leonardo Zide 7829c6f5fe Add contextual help to docks and toolbars
Provide contextual descriptions and F1 access for the five docks and main toolbars, including accessible property labels and keyframe controls. Handle chooser shortcuts across popup boundaries so help follows the focused control.

Register What's This as a customizable command in the Help menu and centralize command descriptions in lcCommand for translation during action creation. Refresh catalogs while preserving existing translations and review status.
2026-10-22 21:28:16 -07:00
Leonardo Zide 306520badc Complete preferences and chooser help coverage
Add Help/F1 support to Preferences, Render Log, Blender Add-on Reset, and the piece and custom color choosers. Share help routing between dialogs and menu-embedded widgets while preserving chooser selections and shortcut recording.

Explain all Preferences controls, link labels to their fields, and correct the Color Theme label buddy. Make Blender reset cancellation preserve pending edits and retain Apply availability after an accepted reset. Refresh catalogs while keeping existing translations and new strings unfinished.

Validation: debug build, all seven Preferences tabs, 85 field F1 routes, label buddies, F1 shortcut recording, native chooser menu Help/Escape, reset Cancel/Apply behavior, layouts, and catalog preservation checks passed.
2026-10-22 17:48:06 -07:00
Leonardo Zide 9de05347ce Add help for model information, categories, colors, and updates
Provide contextual Help/F1 descriptions and label buddies in Model Properties, Category, Edge Colors, About, and Check for Updates. Explain category expression operators, prefixes, and grouping with examples available from both Help and the Keywords field.

Retain Help when update results rebuild the dialog buttons. Document both edge-color modes and the parent Preferences workflow, and make About system information keyboard-selectable. Refresh catalogs without changing existing translations or reviewing new strings.

Validation: debug build; five-dialog Help/F1, Escape, layouts and buddy checks; both edge-color modes; update response states; category syntax examples; and translation preservation checks passed.
2026-10-22 17:01:41 -07:00
Leonardo Zide 0f50a6913b Add contextual help to render settings and grouping dialogs
Provide Help/F1 entry points, control descriptions, and label buddies for POV-Ray settings, both Blender importer forms, object selection, and grouping. Make the POV-Ray button row span the form so Help aligns with the dialog margin.

Use complete translated Show Paths and Hide Paths labels when toggling Blender paths. Refresh catalogs while preserving existing translations and leaving new text unfinished.

Validation: debug build, five-dialog runtime Help/F1 and Escape checks, TN/MM field and label coverage, translated path toggling, button-row layout, and catalog preservation checks passed.
2026-10-22 16:51:47 -07:00
Leonardo Zide faaa64d5fe Add help for minifigures, palettes, and inventory imports
Explain piece selection, template persistence, palette management, and online inventory imports with tooltips and contextual Help/F1 support. Link minifigure labels to their selectors and give unlabeled controls accessible names. Rename the inventory dialog to Import Set Inventory to describe its action.

Show None for initially omitted minifigure pieces so selectors agree with the preview. Refresh catalogs while preserving existing translations and leaving new help untranslated.

Validation: debug build, all 17 initial minifigure selections, 47 generated controls, 17 label buddies, eight F1 routes, Help/Escape behavior, and catalog preservation checks passed.
2026-10-22 16:33:21 -07:00
Leonardo Zide 8b9f70f45b Fix HTML image transparency and extend dialog help
HTML export saved its transparency option without passing it to image
rendering. Select a transparent clear background when enabled and preserve
the configured background with fully opaque pixels when disabled. Keep the
existing background behavior for other step-image and Save Image callers.

Add tooltips, contextual overviews, and Help/F1 support to HTML Export,
Submodels, and all three Render modes. Link field labels to matching help
and explain export scope, file output, model management, and render controls.

Refresh catalog keys and locations while preserving existing translations
and review status. Leave the 56 new strings untranslated for the later
translation pass.

Validation: Qt 6.10 debug build; 16 actual PNG exports covering two steps,
solid/gradient backgrounds, transparency on/off, tiled rendering, background
colors, retained geometry, and unchanged Save Image behavior; dialog Help/F1,
Escape, label-buddy and visual layout checks; catalog coverage for 2,170
active source messages; git diff --check.
2026-10-22 16:15:47 -07:00
Leonardo Zide 554c1d28a7 Add contextual help to Array and Save Image dialogs
Explain array counts, offsets, rotations, image dimensions, file naming,
and step ranges with translated tooltips and contextual help. Give both
dialogs a standard Help button and dialog-scoped F1 support that falls back
from the focused control through its parent groups to the overview.

Link image field labels to their buddies and share tooltip and field help
text. Add accessible names for unlabeled controls. Document the writing and
maintenance conventions, with concise guidance in the existing AGENTS.md.

Refresh all eight language catalogs while preserving existing translations
and review status. The 62 new help and accessibility strings remain
unfinished pending translation.

Validation: Qt 6.10 debug build; runtime checks for seven F1 routes, Help,
Escape, dialog state, spin-box focus, and five label buddies with matching
help; visual layout inspection; catalog coverage for all 2,118 active source
messages and existing translation preservation; git diff --check.
2026-10-22 15:14:11 -07:00
Leonardo Zide 5f3bfbf9fa Use consistent message severities and simplify ordinary dialogs
Show recoverable rendering, export, library, and network failures as warnings.
Default Blender messages to Warning, keep renderer startup failures Critical,
and remove the duplicate Blender installation failure dialog.

Replace 28 ordinary Blender helper calls with QMessageBox statics while
retaining specialized dialogs with informative text, details, or update
preferences. Preserve confirmation buttons and defaults and suppress static
startup/export messages without a main window. Rename the failed-result
helper to ShowResultError and refresh catalog locations and retired strings.

Validation: Qt 6.10 debug build; catalog coverage for all 2,056 active messages
and existing translation preservation; git diff --check.
2026-10-22 12:29:30 -07:00
Leonardo Zide 557c5276bd Use action-specific message box titles
Replace generic application and error titles with the operation that triggered
the message. Reuse translated dialog titles for validation and render errors,
preserve the current submodel naming action, and label edge-color prompts.

Require callers of the shared Blender message helper to provide a title so
installation, updates, extraction, settings, and output messages identify
their action instead of falling back to a product name.

Refresh all eight language catalogs and supply new title translations as
unfinished drafts with provenance comments. Preserve existing translations
and their review status, with drafts still included in release catalogs.

Validation: Qt 6.10 debug build; source and catalog coverage for all 2,058
active messages; existing translation preservation and generic-title checks;
runtime translation and plural checks; git diff --check.
2026-10-22 12:15:34 -07:00
Leonardo Zide b2463083f1 Standardize UI capitalization and punctuation
Use consistent capitalization for labels, dialog titles, acronyms, and
product names. Correct question-mark spacing, sentence boundaries, missing
punctuation, and run-together sentences in prompts and Blender messages.

Refresh the language catalogs without discarding existing translations.
Retain previous source text and mark affected translations unfinished so
translators can review the wording changes while drafts remain visible.

Validation: Qt 6.10 debug build, catalog source coverage and preservation
checks, runtime translation and plural checks, and git diff --check.
2026-10-22 12:05:23 -07:00
Leonardo Zide bcb6545464 Fix runtime localization and refresh translation catalogs
Translate Blender defaults after translators are installed and give the
spinner its own translation context. Translate remaining page and minifigure
labels, and use Qt numerus messages for count-dependent text. Embed an English
plural catalog so missing locale translations still have correct singular
and plural forms.

Refresh all eight language catalogs and fill missing translations as
unfinished drafts with provenance comments. Preserve existing translation
text, placeholders, markup, internal identifiers, and combo/filter syntax.
Keep nonempty unfinished translations visible in release catalogs.

Validation: Qt 6.10 debug build; warning-free lupdate extraction; active
catalog keys match all 2,044 source messages; catalog integrity checks;
runtime checks of spinner and 228 Blender default strings plus 472 plural,
draft visibility, placeholder, and English fallback cases.
2026-10-22 11:34:56 -07:00
Leonardo Zide 66d98fd3a7 Standardize piece terminology and English UI strings
UI labels mixed part and piece terminology, several messages left asset and file names unquoted, and Blender preferences contained British spellings and typos.

Use piece terminology throughout displayed text, quote names and paths in messages and tooltips, and standardize US English spelling. Keep status-bar names and the properties-dialog title unquoted. Update translation source keys while preserving existing translations, settings keys, and external format names.

Validation: macOS Qt 6.10 Debug build passed without warnings; XML, translation-key, placeholder, and whitespace checks passed.
2026-10-22 10:49:59 -07:00
Leonardo Zide 8e2490c4ba Open LDraw and LDD projects without waiting for meshes
Queue model geometry builds and mesh conversion on workers so project opening can return after parsing. Keep complete-asset waits for previews and output, and show project loading progress in the status bar.

Preserve live pieces when project names overlap, restore mappings after failed loads, and include detached pieces in buffer and stud-style updates.
2026-09-27 10:59:34 -07:00
Leonardo Zide 2171a3cfba Move Sets Database dialog. 2026-05-03 15:00:07 -07:00
Leonardo Zide 80ea68245c Move Select Dialog. 2026-05-02 16:06:27 -07:00
Leonardo Zide 664429f635 Move Image Dialog files. 2026-05-02 15:51:08 -07:00
Leonardo Zide 6ee89e743c Move HTML dialog files. 2026-05-02 15:08:13 -07:00
Leonardo Zide bc61124f50 Remove the Q prefix from dialog classes. 2026-04-29 20:43:00 -07:00
Leonardo Zide 4939ad2c31 Renamed lcUpdateDialog. 2026-03-30 22:50:17 -07:00
Leonardo Zide 9ccf245373 Renamed the lcEditGroupsDialog class. 2026-03-30 22:33:23 -07:00
Leonardo Zide ad661e9848 Fixed typo. Fixes #790. 2024-04-27 17:30:48 -07:00
Trevor SANDY 8cfadc804d Made light type/shape immutable. 2023-08-13 15:50:00 +02:00
Leonardo Zide 2f034c1763 Updated file names. 2023-05-15 21:12:08 -07:00
Leonardo Zide bda1acf7a5 Updated to coding standards. 2023-05-15 21:02:17 -07:00
Leonardo Zide fb961d2cab Moved model list dialog. 2023-04-29 20:10:50 -07:00
Leonardo Zide 2b16b75d75 Fixed translation files after renames. 2023-04-29 20:06:06 -07:00
Alfonso Ruzafa 2c28bb3b52 update es translation 2023-04-26 22:44:42 +02:00
Alfonso Ruzafa 3fa2781626 update non-es ts files 2022-05-16 21:37:32 +02:00
cansecogpc 9949e342db Lupdated languages files and almost complete Spanish translation updated 2021-02-26 15:07:03 +01:00
Johannes Sixt 94965d8196 Fix German translations around "set inventory".
The menu entry Import->Set Inventory was translated incorrectly. Fix that.
And while we are here, replace the anglicism "set" by "Bausatz" everywhere
and fix a few glitches in the inventory dialog's texts.
2020-05-23 20:00:21 +02:00
Thomas Cujé 90726f612e Update translation files 2019-03-12 12:17:09 -07:00
Thomas Cujé 477dc1c616 Improve render dialog. Fixes #160
- improved layout
- shows errors correctly
- shows rendering progress
2019-03-10 01:17:24 +01:00
Thomas Cujé 3b92aea559 Add auto-load for most recent file. Relates #216 2019-03-10 01:17:24 +01:00
Thomas Cujé 4e086f0ffa Improve German translation 2019-03-10 01:17:24 +01:00
Thomas Cujé d9f995b3a2 Add separate button to select archive library. Fixes #239 2019-03-10 01:17:24 +01:00
Thomas Cujé 9278ef030c Improve German translation 2019-03-05 19:37:56 +01:00
Thomas Cujé fd29f37d11 Let QT translate keyboard shortcuts. Fixes #308
This way QT also translates default UI buttons like yes, no, ok, cancel,
ect...
2019-03-03 11:32:27 +01:00
Thomas Cujé 465ef49a54 Replace http with https links 2019-03-01 20:29:49 +01:00
Thomas Cujé de995b260d Mark leocad.org URL in about as non-translateable 2019-03-01 20:29:49 +01:00
Thomas Cujé fb78a807c9 Improve German translation 2019-03-01 20:29:49 +01:00
Thomas Cujé de621dd736 Updated translation files and improved German translations (#307)
* Update translations (lupdate)

* Improve German translation
2019-02-28 16:19:15 -08:00
Leonardo Zide 930492ad24 Replaced http with https. 2018-03-21 16:47:00 -07:00
jschwender 778e2f2d90 Update leocad_pt.ts (#211)
Updated translation.
2018-03-13 18:44:12 -07:00
jschwender 57460bfb29 Update leocad_de.ts (#209)
Updated German translation.
2018-03-13 18:41:32 -07:00
jschwender 2aeafba32c Update leocad_de.ts (#207)
Updated German translation.
2018-02-28 14:07:49 -08:00
Leonardo Zide 6fce1ce1b3 Updated translation files. 2018-02-27 15:24:34 -08:00