Save Edit Tool Version 0.4.0 - Language Update π©
What's Changed???
π Localization & UI Improvements
β¨ New Features
Translation System Enhancements
- Complete translation coverage: All toast notifications now support localization
- Added 25+ new translation keys for user feedback messages
- New language support: Added French, German, Spanish, English
- Dynamic translation parameters: Toast notifications now support dynamic data (error messages, counts, percentages)
UI Improvements
- Refactored "Move Mods" dialog to use
openModalMultiwith dropdown selection - Improved "Copy Controls" dialog with better profile selection UX
- Profile selection now shows clear formatting:
Profile Name [path]
π Bug Fixes
Critical Fixes
-
Fixed locales folder not bundled in production builds
- Added
"resources": ["locales"]totauri.conf.json - Translations now work correctly in installed applications
- Added
-
Fixed
handleCopyControlsfunction reference error- Removed incorrect
()fromwindow.handleCopyControls = handleCopyControls() - Function is now properly callable from
tools.js
- Removed incorrect
Path Resolution
- Improved locales folder detection in
translator.rs- Now checks multiple standard locations (
./locales,./resources/locales) - Robust fallback handling regardless of installation method
- Now checks multiple standard locations (
Translation Consistency
- Replaced hardcoded German backend messages with translation keys in:
handleCopyControlshandleMoveMods
- Improved error handling in
showLanguagePicker
π Translation Keys Added
New keys for comprehensive localization:
- Profile management:
profile_loaded_select_save,profile_load_error,profile_renamed_success - Save operations:
save_loaded_success,save_load_error,scan_saves_error - Money/XP editing:
money_saved_success,xp_saved_success,money_save_error,xp_save_error - Profile operations:
copying_controls,copy_controls_success,moving_mods_wait,move_mods_success - Error handling:
no_profile_selected,invalid_profile_selection,generic_error_prefix - Language picker:
load_languages_error
π§ Technical Changes
- Verified backend stability with
cargo check(all tests passing) - Refactored modal system to use
openModalMultifor better consistency - Improved error handling across profile management functions
π Supported Languages
- English (en) β¨ NEW
- German (de) β¨ NEW
- French (fr) β¨ NEW
- Italian (it) β¨ NEW
What's Changed
- Bumped to version 0.3.2 - Merged Copy Controls to Move Modifications by @xLieferant in #52
- Version 0.4.0 Language updater by @xLieferant in #54
- Bumped Version to final 0.4.0 by @xLieferant in #55
Full Changelog: 0.3.1...0.4.0