Commit Graph
77 Commits
Author SHA1 Message Date
YuSanka bcc68ca450 Added Slic3rPE.pot and list.txt to localization. 2018-02-26 08:31:07 +01:00
YuSanka 4c90e2bbc6 Rename localization guide to emphasize markdown format 2018-02-25 22:45:31 +01:00
YuSanka b5d96e4ed6 Update localization guide 2018-02-25 22:41:28 +01:00
YuSanka 1948daec53 Added Manual for Localization 2018-02-23 15:10:36 +01:00
YuSanka d61295eb10 Added Preferences files 2018-02-23 14:55:27 +01:00
YuSanka 3e09e93037 Updated POfile for CS 2018-02-23 14:54:08 +01:00
YuSanka baa5726532 All project is ready to localization.
* Macro _LC is changed to _CHB. [to put translated string into std::string correctly]
* Macro _LS is changed to L.    [to mark string to translation]
* Standard wxWidgets macro _() is used for translation now.
* Updated POfile for EN
2018-02-23 14:25:49 +01:00
YuSanka cec12e203a Plater.pm is marked by L() to localization. 2018-02-22 15:13:07 +01:00
YuSanka bc97184c63 Fixed #735 & PresetHints.cpp is marked to localization
* Macro _LC is created to put translated string into std::string correctly.
* Macro _LU8 is changed to function L_str.
* Created function from_u8
2018-02-22 14:19:41 +01:00
YuSanka 3d805a0f43 PreferencesDialog moved to C++ part 2018-02-22 11:12:29 +01:00
YuSanka 916378097c MainFrame.pm is marked by L() to localization. 2018-02-21 13:44:42 +01:00
YuSanka faca2d027b Updated Slic3rPE.mo for CS & UK localization 2018-02-20 14:22:25 +01:00
YuSanka bb7ec485f7 Updated Slic3rPE.mo for CS localization 2018-02-20 13:39:39 +01:00
YuSanka 23f96e30c3 Fixed wrong saving of "percent or millimeters" parameters 2018-02-20 12:30:13 +01:00
YuSanka 6ad38f80fb Language configuration is saved now in AppConfig instead of wxConfig. 2018-02-20 08:58:46 +01:00
YuSanka f5ae470e5e Completed translation to Ukrainian.
* Signs of degree are returned to UTF-8 in PrintConfig.
* Changed _LU8 macro. It's translated now like string explicitly specified as a string is already in UTF-8 encoding.
2018-02-19 15:32:22 +01:00
YuSanka c6ff5ccbf4 Updated TextCtrl::BUILD() 2018-02-19 09:15:15 +01:00
YuSanka 867e867cdd Merge remote-tracking branch 'origin/master' into gui_translate_to_cpp 2018-02-19 08:41:41 +01:00
YuSanka f330eb9567 Fixed set_value() bug. Fixed Infill density.
* Got rid of try/catch at PointCtrl::set_value().
* Optimized localization: got rid of redundant macro _LU8(s).
2018-02-19 00:01:11 +01:00
YuSanka 4d9eac0750 Fix porting Tab.title() from cpp to Perl 2018-02-16 15:49:18 +01:00
YuSanka 12b9a513c1 Escape from try/catch in Tab and OptionsGroup
* Deleted  macro _LU8 from GUI.hpp. It's used only in Option class now.
* Added macro _LS to mark string used at localization (It returns same string)
2018-02-16 15:41:33 +01:00
YuSanka 53006384d5 Fixed converting of Unicode codepoint (\uXXXX) into a character in Perl. 2018-02-16 10:29:28 +01:00
YuSanka 1167458acd Fixed converting of Unicode codepoint (\uXXXX) into a character in Perl. 2018-02-16 09:38:03 +01:00
YuSanka 7014902341 Updated *.po & *.mo files for EN & CS 2018-02-15 18:30:48 +01:00
YuSanka 59cee4a3aa Thanks @stelgenhof Corrected units of measure that had exponents displayed with caret. 2018-02-15 18:06:37 +01:00
YuSanka e0933786e3 Marked string used at localization.
* Correct save changed color
2018-02-15 17:30:33 +01:00
YuSanka 39fae3777c Marked all informative strings by macros _L and _LU8. 2018-02-13 16:05:53 +01:00
YuSanka 752d089814 Fixed Issue #478 2018-02-13 13:39:20 +01:00
YuSanka 77bac4c17a Fixed wrong filling of TextControl, when value is double. 2018-02-12 15:29:21 +01:00
YuSanka badeb2f64c Save language preset.
* Added global variable g_local_dir to get "localization" directory.
* Chage/Set language works correctly now.
* Probably, fixed work on Linux
2018-02-12 08:57:32 +01:00
YuSanka d18a200b0f Fix biuld on Linux a OSX 2018-02-09 12:07:59 +01:00
YuSanka abcfd5bad9 Implemented Application recreate after changing of language.
* Implementation of C++ to Perl callbacks from menu item Localization.
* Added global variable g_tabs_list to control existing Tabs.
2018-02-09 11:04:34 +01:00
YuSanka 143f9d7d84 Added missing po-files 2018-02-08 10:59:43 +01:00
YuSanka 43aa1680cb Added menu item for selection of application language from the list of installed languages.
* m_Local and its functions moved to GUI.cpp.
* Strings in some files(GUI.cpp, Tab.cpp, Tab.hpp & Field.cpp) marked by _L() macro.
* Updated mo-files for En and Uk languages.
2018-02-08 10:58:13 +01:00
YuSanka 28115a847c First steps for implementing localization
* Created mo-files for Ukrainian and English languages
* For this moment it works only on BedShapeDialog.
2018-02-07 17:13:52 +01:00
YuSanka 407f50a66f Deleted on more EVT_NOTEBOOK_PAGE_CHANGE hangling of TabPanel 2018-02-06 14:53:38 +01:00
YuSanka 6bff67a865 First experiments with wxLocale 2018-02-05 16:12:16 +01:00
YuSanka a72184684c Fix compilation on Linux and OSX 2018-02-05 12:49:23 +01:00
YuSanka 2d3c2dc595 Fix of #696 in cpp's Tabs,
using changes from commit 36bbd6a
2018-02-05 11:03:13 +01:00
YuSanka d9521fe733 One more try to fix compilation on OSX 2018-02-01 12:09:09 +01:00
YuSanka e375a0d5ac Try fix compilation on OSX 2018-02-01 10:39:27 +01:00
YuSanka 46c39d6ef7 Try fix compilation on OSX 2018-02-01 10:24:12 +01:00
YuSanka 33280b7069 Next try fix compilation on OSX 2018-02-01 10:01:05 +01:00
YuSanka d414c6e118 Fix compilation on OSX & Linux 2018-02-01 09:29:07 +01:00
YuSanka 733c85936b Eliminated the g-code pop up text description
(switch Enable of Tooltip to false,
when clicking mouse left button inside the control).
2018-01-31 16:46:17 +01:00
YuSanka 54dbc916a8 Fixed strange behavior of Text- and Spin- control on KillFocus event 2018-01-31 14:59:44 +01:00
YuSanka 667ffa6101 Added changes missing from the previous commit. 2018-01-30 12:13:55 +01:00
YuSanka 7d29a7b45a BedShapeDialog and Bed_2D (as a part of it) are completed.
Added new_scale function to Polyline.
Fixed small bug in PointCtrl.
Extended change_opt_value for coPoints case.
2018-01-30 12:10:12 +01:00
YuSanka f90ea5060d Fixed performance of preset switching. 2018-01-27 17:39:00 +01:00
YuSanka 8c7a56d4ea Eliminated the g-code pop up text description.
Fixed correct writing of TextCtrl values.
2018-01-27 14:21:16 +01:00
YuSanka 6ef5e6bd3d Deleted Perl's Tabs,
but still printer preset switching work very slowly.
2018-01-26 03:24:01 +01:00
YuSanka 4056978731 Implementation of C++ to Perl callbacks from Browse & Test buttons. 2018-01-26 01:44:34 +01:00
YuSanka 4d234e90ae Some modifications:
- Added no_controller to create_preset_tab().
- Small changes in Tab"Setting" constructor.
2018-01-25 21:45:39 +01:00
YuSanka fced9a85ec Merge remote-tracking branch 'origin/master' into gui_translate_to_cpp 2018-01-25 13:59:15 +01:00
YuSanka f0b035059a Merge with bibnikv.
Added some functions to TabIface.
Added BedShapeDialog & Bed2D classes.
Added new_scale to Polygon.
In class Field: Point renamed to PointCtrl and added set_value for PointCtrl, extended get_value for Choice.
2018-01-25 13:46:04 +01:00
YuSanka bd113ea882 Extended load_config and deleted call of CallAfter,
because of in some cases it causes undate() function to be recalled again.
2018-01-18 16:36:26 +01:00
YuSanka 5162cddd5e Added SavePresetWindow dialog. 2018-01-18 11:45:25 +01:00
YuSanka d6568f9ce7 To Tab added functions to save/delete/upload presets...
Changed m_options OptionsGroup from const t_optiondef_map& to std::map<t_config_option_key, Option>.
2018-01-16 16:28:01 +01:00
YuSanka 636af8933c Added class ogStaticText to the static text shown among the options.
Fixed bugs in Tab.
2018-01-15 12:13:05 +01:00
YuSanka 8e0cd35c23 Merge remote-tracking branch 'origin/master' into gui_translate_to_cpp 2018-01-14 21:58:21 +01:00
YuSanka bd02174f40 Fixed a bug in "on_change_OG" 2018-01-14 21:52:55 +01:00
YuSanka 2809b4b2b5 Added "update", "update_serial_ports" & "extruders_count_changed" for TabPrinter.
Extended "build" for TabPrinter.
2018-01-12 17:16:59 +01:00
YuSanka d3b4dbf8bc Added "update" for TabFilament.
Added "reload_compatible_printers_widget" and extended "load_key_value" for Tab.
Extended "change_opt_value" in GIU
2018-01-12 12:41:13 +01:00
YuSanka 3567981089 Complited "update" for TabPrint.
!->It's one unresolved problem - dlg->ShowModal() call update().
Added "get_field" at Tab & Page.
Extended "change_opt_value"
Extended "get_value" to Choise.
2018-01-11 10:33:17 +01:00
YuSanka 129bd898cd Extended "get_value" to Choice & TextCtrl fields.
Extended "change_opt_value".
2018-01-09 13:52:01 +01:00
YuSanka 59432d50ff To OptionsGroup added "reload_config" to reload configurations after changes in any fields & "get_config_value" to get current option value from config.
In Field extended "set_value" to Choice.
In PrintConfig added default_value to "post_process".
2018-01-09 09:41:07 +01:00
YuSanka 16458e070a get_option moved from Tab to ConfigOptionsGroup and extended. Added change_opt_value to changing option value in config 2018-01-07 18:41:40 +01:00
YuSanka e62c17bddf "on_change" function call correctly work now. Start adding of Tab::update().
It's need to think about config->set_key_value(...): at cpp side it's non-trivial.
2018-01-05 15:11:33 +01:00
YuSanka f8a48f5c13 Start adding functions to work with presets 2018-01-03 10:12:42 +01:00
YuSanka 72d1f51146 Correct adding of extruder_pages 2018-01-02 12:50:27 +01:00
YuSanka 838a0885fe Fixed code review issues 2017-12-26 23:04:54 +01:00
YuSanka 61247fe8d3 Filling the Filament's and Printer's Tabs. Finished. It's need to adding functions to work with presets 2017-12-26 18:12:05 +01:00
YuSanka 67f2469e70 Filling the Print's Tab. Finished. It's need to adding functions to work with presets 2017-12-26 18:12:05 +01:00
YuSanka 281fd26e06 Filling the Print's Tab. Continued. All Controls are on they own places. It's need to adding only SideWidget 2017-12-26 18:12:04 +01:00
YuSanka 67b9b1b273 Filling the Print's Tab. Continued. All labels are on they own places, but still without Controls 2017-12-26 18:12:04 +01:00
YuSanka d60fac42d6 Start filling the Print's Tab, using @lordofhyphens's Optionsgroup 2017-12-26 18:12:04 +01:00
YuSanka c5e21c1fbf First steps 2017-12-26 18:12:03 +01:00