Commit Graph

38 Commits

Author SHA1 Message Date
YuSanka
3c1008f226 Localization: Localization of units used for time and used filament estimation (part of #10568)
+ Added "ExtrusionRole.cpp" to localization/list.txt to revert localization for the extrusion roles
 + Updated POT
2023-05-26 12:44:36 +02:00
YuSanka
f9de995f9e Remove '_utf8' makro.
(Initially, it was used because of using of boost::format for localized lines. But now It's better to use format and formal_wxstr functions)

+ Fixed missed marks for localization
+ Added missed filed to localization to the list.txt
2023-03-23 22:55:38 +01:00
Lukas Matena
472090a54d Fix: file containing localization was missing in list.txt 2023-03-23 22:55:38 +01:00
YuSanka
73810cd262 Localization: Updated POT-file
+ Deleted redundant localization markers for empty strings
+ Community dictionaries are updated from new POT
2023-01-31 11:15:06 +01:00
YuSanka
41eaff1482 Merge remote-tracking branch 'origin/master' into ys_cut 2022-05-10 11:10:51 +02:00
YuSanka
0869f49124 Localization: Update for list.txt 2022-05-09 17:04:10 +02:00
YuSanka
94f3aaacd4 Cut WIP: Undo/Redo implementation 2022-05-02 12:44:47 +02:00
YuSanka
34d9fbdc35 Fixes for localization of the PrusaSlicer - 2.4.0
* Added some missed phrases.
* Added some missed files to the list.txt
* Fix for https://github.com/prusa3d/PrusaSlicer/issues/7114 - Reword of the "Ask for unsaved changes..."

* Fix for https://github.com/prusa3d/PrusaSlicer/issues/7542 - Added localization for default buttons Yes/No
  Note: For some default buttons/labels/dialogs/... is used localization in wxWidgets.
        But dictionaries have to contain this strings, otherwise texts wouldn't be localized.
        "wxWidgets/local" contains dictionaries for all this default phrases.
        So, a copy of this field is added as a "wx_local" field to the "resources/localization" field.
        And a "gettext_concat_wx_po_with_po" script is written to concatenate strings from wx_local/lang_code.po to resources/localization/lang_code/PrusaSlicer_lang_code.po.
        So, to create a MO file from updated PO we have to execute "gettext_concat_wx_po_with_po" and only then execute a "gettext_po_to_mo" script.
2022-01-04 16:31:27 +01:00
YuSanka
080e80a4d6 Localization: Next improvements: CS, IT, ES, DE, ES, FR 2021-12-10 17:28:36 +01:00
Vojtech Bubnik
303de63a90 Localization:
Renamed PrusaSlicer_pt_br.po to pt_BR.po
Added one libslic3r file to lists.txt
2021-12-04 06:05:13 +01:00
YuSanka
091f946340 Localization: Updated POT 2021-10-05 16:31:04 +02:00
Oleksandra Yushchenko
e002f0066f
Ys code refactoring (#6227)
* GUI_ObjectList code refactoring:
The MenuFactory structure contains functions related to the context menu and bitmaps used to different volume types.
The SettingsFactory structure contains functions to getting overridden options, its bundles and bitmaps used to setting categories.

Fixed bugs/crashes:
1. Add object -> Add Settings from 3D scene -> Right click on object => Part's Settings list instead of object's
   (Same behavior if something else but Object is selected in ObjectList)
2. Add settings to the part -> Change part type to the "Support Blocker/Enforcer" -> Settings disappears (it's OK) but =>
   Save Project -> Open project => Support Blocker/Enforcer has a settings
3. Add part for object -> Change type of part -> Change monitor DPI -> old type icon appears
4. Select all instances in ObjectList -> Context menu in 3D scene -> Add Settings -> Select some category -> Crash

* ObjectLayers: Fixed a crash on re-scaling, when some layer range is selected

* Fixed OSX build

* Added menu item "Split to Objects" for multipart objects

+ Fixed bug: Add 2 parts,
             Add some settings for one part
             Delete part without settings => Single part object without settings, but settings are applied for the object.

+ Next refactoring: use same menu for Plater and ObjectList
2021-03-15 10:04:45 +01:00
YuSanka
d962d431c0 Localization:
* added missed phrases
* fixed some phrases
* updated POT-file and PO/MO-files for the CZ-translation
2020-11-12 21:35:39 +01:00
Vojtech Bubnik
027ab4fb02 GUI initialization extracted from PrusaSlicer.cpp to GUI_Init.cpp/hpp.
Implemented try/catch blocks for Slic3r exceptions and std::exceptions
with GUI error reporting. This is extremely important to report
corruption of PrusaSlicer.ini.
2020-10-22 16:28:55 +02:00
YuSanka
11b6d4bcf5 Localization: Updated POT and List.txt
+ SavePresetDialog class is extracted from the PresetComboBoxes.cpp the the separate files
2020-10-19 14:18:02 +02:00
YuSanka
455f36119a Localization: Updated PrusaSlicer.pot and list.txt
+ added missed icons
2020-02-06 20:37:12 +01:00
YuSanka
0da4cb29b5 Localization improvements: added NL translation
+ to the list.txt added ObjectDataViewModel.cpp
2020-02-04 13:42:23 +01:00
YuSanka
5ff8ae955b Implemented editing for extruder of existing ToolChangeCode tick
+ Code refactoring: DoubleSlider is extracted from wxExtensions
2020-01-23 16:11:21 +01:00
Spencer Owen
e7b835dc52 Add Astrobox to Print Host options 2020-01-06 03:37:35 -05:00
YuSanka
ee71f83939 Localization improvements:
* fixed "\n" at the end of phrases
 + updated list of files to localization
 + new PrusaSlicer.pot
 + Japanese localization
2019-12-04 11:14:13 +01:00
Stephan Reichhelm
6089cadc4e + add new flashair class to localization 2019-11-04 12:53:48 +01:00
bubnikv
2dbbfdac11 Refreshed the translation file. 2019-08-30 11:38:05 +02:00
bubnikv
ab361fc0e7 Refreshed dictionaries with keys from GUI_ObjectLayers.cpp 2019-08-29 14:10:10 +02:00
bubnikv
048ed74318 Another round of translation adjustments. 2019-08-28 15:12:55 +02:00
bubnikv
cd35fd9b34 Refreshed the dictionaries.
Introduced a new localization macro L_CONTEXT(string, context)
to define context dependent translations.

The only strings - "Top" and "Bottom" were already using context, but
until now the context had to be added to the PrusaSlicer.pot file
manually, while the context is being generated automatically now.
2019-08-27 17:14:03 +02:00
YuSanka
5804473171 Localization improvements
New list.txt and POT
2019-05-10 11:50:11 +02:00
YuSanka
ed8b1a7ecb Localization: Updated dictionaries 2019-04-09 16:54:31 +02:00
YuSanka
1a474ea282 L10n improvements 2019-01-21 12:34:28 +01:00
Enrico Turri
ab587babb9 Merge branch 'master' of https://github.com/prusa3d/Slic3r into time_estimate 2018-06-26 12:20:41 +02:00
YuSanka
5da3986e22 Updated POT-file 2018-06-26 11:17:40 +02:00
bubnikv
02d4f3e14d Provide a callback to libslic3r to translate texts.
Moved the "translate" functions to namespaces to avoid clashes
between the code in libslic3r and Slic3r GUI projects.
2018-06-20 18:33:46 +02:00
Lukas Matena
dc9a46b269 Updated POT file (added PresetUpdater.cpp and FirmwareDialog.cpp, changed keys in WipeTowerDialog.cpp) 2018-06-11 13:44:40 +02:00
YuSanka
16d5faac20 Preparations to the localization update & new Slic3rPE.pot 2018-05-02 16:06:35 +02:00
Vojtech Kral
c88d2780ce Octoprint (#796)
* Octoprint: GUI for CA file, improvements

* Octoprint: Add GUI for Bonjour lookup, bugfixes

* Octoprint: Bonjour browser: Cleanup Perl interaction

* Octoprint: Bonjour: Perform several broadcast, UI fixes

* Octoprint: Add files to localization list

* Http: Disable CA File setting on SSL backends that don't support it
2018-03-15 18:06:26 +01:00
Vojtech Kral
bd61c233a5 CMake target to generate the main pot file (#786) 2018-03-12 20:38:47 +01:00
bubnikv
5ea584280c Merge remote-tracking branch 'remotes/origin/gui_improvements' 2018-03-05 12:12:40 +01:00
YuSanka
541b51c524 Merge dictionaries from the upstream Slic3r. Update existing dictionaries according to new Slic3rPE.pot 2018-02-28 15:44:45 +01:00
YuSanka
bcc68ca450 Added Slic3rPE.pot and list.txt to localization. 2018-02-26 08:31:07 +01:00