{"payload":{"feedbackUrl":"https://github.com/orgs/community/discussions/53140","repo":{"id":749447517,"defaultBranch":"main","name":"_AutodriveTranslationTool","ownerLogin":"JanPanthera","currentUserCanPush":false,"isFork":false,"isEmpty":false,"createdAt":"2024-01-28T16:06:14.000Z","ownerAvatar":"https://avatars.githubusercontent.com/u/20288289?v=4","public":true,"private":false,"isOrgOwned":false},"refInfo":{"name":"","listCacheKey":"v0:1712410568.0","currentOid":""},"activityList":{"items":[{"before":"23f1894fed67b24c87fbd05ce30d74cec3e89ad3","after":"f9b5e464510cc6c90ae02dae0901e916835ea3f3","ref":"refs/heads/dev_JanPanthera","pushedAt":"2024-06-04T09:25:52.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"JanPanthera","name":"Jan Görl","path":"/JanPanthera","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/20288289?s=80&v=4"},"commit":{"message":"Updated imports, added new features, and improved localization\n\nIn this commit, several changes have been made to improve the project's structure and functionality. The `hidden_imports` list in `create_exe.py` was updated to include additional modules. The log level in `main.py` was changed from DEBUG to WARNING, and exception handling was added. Import statements in several files were updated to include the full path to the `LocKeys` module. A new `Setting` class and a reset button were added to `options_frame_gui.py`. Import paths in several files were updated to include the full path from the project root. Methods in `options_frame_logic.py` were updated to handle theme changes. The `_initialize_window` method in `auto_drive_translation_tool.py` was updated to handle color themes. The `ColorThemes` class in `constants.py` was removed and replaced with direct list definitions. New localization keys were added in `loc_keys.py`. A `setup.py` file, `update_package.bat` file, and `test.py` file were added for packaging, updating, and testing the project. An empty `__init__.py` file was added to the project root to indicate it is a Python package.","shortMessageHtmlLink":"Updated imports, added new features, and improved localization"}},{"before":"01661b4e12855a2296f73affd96d9843dc03fb7c","after":"23f1894fed67b24c87fbd05ce30d74cec3e89ad3","ref":"refs/heads/dev_JanPanthera","pushedAt":"2024-04-15T13:06:21.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"JanPanthera","name":"Jan Görl","path":"/JanPanthera","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/20288289?s=80&v=4"},"commit":{"message":"Removed on_language_updated methods across multiple classes\n\nRemoved the `on_language_updated` method and related calls from several classes including `DictionaryFrame`, `DictionaryFrameLogic`, `OptionsFrame`, `OptionsFrameLogic`, `TranslationFrame`, and `TranslationFrameLogic`. Also removed the call to `on_language_updated` method in the `AutoDriveTranslationTool` class. This suggests a change in the handling of language updates, possibly moving towards a more efficient approach.","shortMessageHtmlLink":"Removed on_language_updated methods across multiple classes"}},{"before":"8244ef0244a47c49a1973e66ac6580aa684e8d15","after":"01661b4e12855a2296f73affd96d9843dc03fb7c","ref":"refs/heads/dev_JanPanthera","pushedAt":"2024-04-15T12:22:02.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"JanPanthera","name":"Jan Görl","path":"/JanPanthera","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/20288289?s=80&v=4"},"commit":{"message":"Implemented new localization system and refactored UI\n\nA new localization system has been implemented across the application. In `create_loc_keys.py`, a script was added to generate localization keys from a JSON file. `tree_view_controls.py` now includes a `TreeViewControls` class for managing tree view widget controls, with a method for updating localization. `auto_drive_translation_tool.py` has been updated to use the new localization system, and a `LoadingFrame` class was added for initialization loading screens. The application now uses a new tab management system. `constants.py` has new constants for the application icon, frame IDs, and localization keys, and a `ColorThemes` class for managing color themes. `loc_keys.py` was added to store localization keys. The import statement in `translator.py` has been modified to include `LocKeys` from `src.core.loc_keys`. The `Translator` class has been refactored to use the new localization system, with hardcoded translation keys replaced with calls to `get_localized_string` method on `LocKeys.TranslationScript` constants. The localization of the message in the `_output` method has been moved to the caller.","shortMessageHtmlLink":"Implemented new localization system and refactored UI"}},{"before":"58d5cbf4f18c27797768fe1adc335cc4809e0e66","after":"8244ef0244a47c49a1973e66ac6580aa684e8d15","ref":"refs/heads/dev_JanPanthera","pushedAt":"2024-04-15T12:18:02.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"JanPanthera","name":"Jan Görl","path":"/JanPanthera","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/20288289?s=80&v=4"},"commit":{"message":"Refactor localization and update control handling in TranslationFrame classes\n\nThis commit includes significant changes to the `TranslationFrame`, `TranslationFrameGui`, and `TranslationFrameLogic` classes. The `app_instance` parameter was removed from their `__init__` methods, indicating a shift away from application instance dependency. Localization handling was also refactored, with the removal of `localization_manager` and `loc` attributes from `TranslationFrame` and `TranslationFrameGui` classes, and the `localization_manager` attribute and parameter from `TranslationFrameLogic` and `Translator` instances respectively.\n\nThe `on_language_updated` method in `TranslationFrame` class was simplified, no longer taking parameters or checking for \"lang_update\" event. The `input_controls` and `dict_controls` in `TranslationFrame` class were changed from dictionary access to attribute access, suggesting a change in control handling.\n\nThe `_create_tree_view_controls` method was removed from `TranslationFrameGui` class and replaced with `TreeViewControls` class, indicating a refactoring towards using a separate class for tree view controls. Localization for `CustomCTKButton` instances was also updated, replacing `btn_text` and `tooltip_text` parameters with localized strings.\n\nLastly, the `update_localization` method calls were removed from `_on_language_updated` method in `TranslationFrameLogic` class, suggesting a different approach to handling localization updates for these components.","shortMessageHtmlLink":"Refactor localization and update control handling in TranslationFrame…"}},{"before":"bbcb29a5a5f9863559f6fa930bc34a2dd3124696","after":"58d5cbf4f18c27797768fe1adc335cc4809e0e66","ref":"refs/heads/dev_JanPanthera","pushedAt":"2024-04-15T12:16:55.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"JanPanthera","name":"Jan Görl","path":"/JanPanthera","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/20288289?s=80&v=4"},"commit":{"message":"Refactor localization in OptionsFrame and related classes\n\nThis commit includes several changes aimed at improving the organization, maintainability, and readability of the localization code in the `OptionsFrame`, `OptionsFrameGui`, and `OptionsFrameLogic` classes.\n\nThe `app_instance` and `localization_manager` dependencies were removed from `OptionsFrame` and `OptionsFrameGui` to reduce coupling. The `on_language_updated` method in both classes was simplified for better readability.\n\nLocalization keys were moved to a new `LocKeys` module, and `OptionsFrameGui` was refactored to use these keys instead of hard-coded strings.\n\nIn `OptionsFrameLogic`, the `Localizer` class was adopted for localization, and the method for setting the active language was refactored to use the `Localizer` and `Locales` classes. This resulted in more consistent and understandable code.","shortMessageHtmlLink":"Refactor localization in OptionsFrame and related classes"}},{"before":"74d1c5bd6ca152c234aaf361df7f2b621af79404","after":"bbcb29a5a5f9863559f6fa930bc34a2dd3124696","ref":"refs/heads/dev_JanPanthera","pushedAt":"2024-04-15T12:15:56.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"JanPanthera","name":"Jan Görl","path":"/JanPanthera","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/20288289?s=80&v=4"},"commit":{"message":"Refactor DictionaryFrame classes and improve localization support\n\nRefactored `DictionaryFrame`, `DictionaryFrameGui`, and `DictionaryFrameLogic` classes by removing dependencies on the application instance and localization manager. Updated `DictionaryFrameGui` and `DictionaryFrameLogic` classes to use localization keys instead of hardcoded strings for GUI elements and popup messages, improving support for multiple languages. Also, refactored `DictionaryFrameGui` to use `TreeViewControls` class for creating tree view control buttons. Updated `DictionaryFrame` and `DictionaryFrameLogic` to modify the `on_language_updated` method's behavior.","shortMessageHtmlLink":"Refactor DictionaryFrame classes and improve localization support"}},{"before":"8aba0173ed81e512ad908e42b489d6be5cb5b2ad","after":"74d1c5bd6ca152c234aaf361df7f2b621af79404","ref":"refs/heads/dev_JanPanthera","pushedAt":"2024-04-15T12:13:23.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"JanPanthera","name":"Jan Görl","path":"/JanPanthera","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/20288289?s=80&v=4"},"commit":{"message":"`Add new translations and remove old localization files`\n\nThis commit includes several significant changes related to the localization of the application. New key-value pairs have been added to the `de_DE.json`, `en_US.json`, `es_ES.json`, `fr_FR.json`, and `it_IT.json` files, providing comprehensive translations for various UI elements, messages, and tooltips in German, English, Spanish, French, and Italian respectively. The structure of these JSON files is hierarchical, with nested objects representing different sections of the application.\n\nA large number of German translations have been removed from the `locale_de.json` file. The entire content of `locale_en.json`, `locale_fr.json`, `locale_it.json`, and `locale_ru.json` files has been removed, suggesting a removal of specific language support or localization feature from the application.\n\nA new file `ru_RU.json` has been added, containing new Russian translations for the application, organized into different sections. Each section contains translations for various UI elements, messages, tooltips, and scripts relevant to that section.","shortMessageHtmlLink":"Add new translations and remove old localization files"}},{"before":null,"after":"8aba0173ed81e512ad908e42b489d6be5cb5b2ad","ref":"refs/heads/dev_JanPanthera","pushedAt":"2024-04-06T13:36:08.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"JanPanthera","name":"Jan Görl","path":"/JanPanthera","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/20288289?s=80&v=4"},"commit":{"message":"`Refactor Logger and remove profiling and dictionary files`\n\nRemoved `template_dictionary.dic` and profiling related code from `main.py`. The `LoggerConfig` object creation is now inside the `Logger` object creation, simplifying the code and reducing the number of lines. The `log_directory` parameter in `LoggerConfig` has been updated to reflect the new directory for log files. The removal of `template_dictionary.dic` suggests a change in handling translations.","shortMessageHtmlLink":"Refactor Logger and remove profiling and dictionary files"}},{"before":"8aba0173ed81e512ad908e42b489d6be5cb5b2ad","after":null,"ref":"refs/heads/dev_JanPanthera","pushedAt":"2024-04-06T13:35:48.000Z","pushType":"branch_deletion","commitsCount":0,"pusher":{"login":"JanPanthera","name":"Jan Görl","path":"/JanPanthera","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/20288289?s=80&v=4"}},{"before":"3ee24c1778765c0ed215634a77e064fffcea97a9","after":"cfae80c7fe4c0a0467126ced348b7f4e9f99cc4a","ref":"refs/heads/main","pushedAt":"2024-04-06T13:33:22.000Z","pushType":"pr_merge","commitsCount":8,"pusher":{"login":"JanPanthera","name":"Jan Görl","path":"/JanPanthera","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/20288289?s=80&v=4"},"commit":{"message":"Merge pull request #14 from JanPanthera/dev_JanPanthera\n\nDev jan panthera","shortMessageHtmlLink":"Merge pull request #14 from JanPanthera/dev_JanPanthera"}},{"before":"61733c95086d5d70df16833fddf8d4a666c2dac5","after":"8aba0173ed81e512ad908e42b489d6be5cb5b2ad","ref":"refs/heads/dev_JanPanthera","pushedAt":"2024-04-06T13:32:56.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"JanPanthera","name":"Jan Görl","path":"/JanPanthera","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/20288289?s=80&v=4"},"commit":{"message":"`Refactor Logger and remove profiling and dictionary files`\n\nRemoved `template_dictionary.dic` and profiling related code from `main.py`. The `LoggerConfig` object creation is now inside the `Logger` object creation, simplifying the code and reducing the number of lines. The `log_directory` parameter in `LoggerConfig` has been updated to reflect the new directory for log files. The removal of `template_dictionary.dic` suggests a change in handling translations.","shortMessageHtmlLink":"Refactor Logger and remove profiling and dictionary files"}},{"before":"be0dc60e1d1c77bd617e97e2539669d75bb9d864","after":"61733c95086d5d70df16833fddf8d4a666c2dac5","ref":"refs/heads/dev_JanPanthera","pushedAt":"2024-04-06T13:32:20.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"JanPanthera","name":"Jan Görl","path":"/JanPanthera","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/20288289?s=80&v=4"},"commit":{"message":"Update .gitignore file\n\nUpdated the `.gitignore` file to ignore changes in certain directories and a file, and to track changes in two specific files. The directories `/AutoDriveTranslationTool/_input/*`, `/AutoDriveTranslationTool/_output/*`, and the file `/AutoDriveTranslationTool/config/custom_config.ini` have been added to the ignore list. The file paths `/AutoDriveTranslationTool/_input/map_name/AutoDrive_config.xml` and `/AutoDriveTranslationTool/dist/AutoDriveTranslationTool.zip` have been removed from the ignore list.","shortMessageHtmlLink":"Update .gitignore file"}},{"before":"60da18b3f47fabcea8c181b67e5186478588a25f","after":"be0dc60e1d1c77bd617e97e2539669d75bb9d864","ref":"refs/heads/dev_JanPanthera","pushedAt":"2024-04-05T12:52:20.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"JanPanthera","name":"Jan Görl","path":"/JanPanthera","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/20288289?s=80&v=4"},"commit":{"message":"Add translations for new output directory button\n\nAdded new translations to the `locale_de.json` and `locale_en.json` files. A new key-value pair `\"tf_btn_open_output_dir_tt\"` was added to the `translation_frame` object in both files. The corresponding values are `\"Den Ausgabeordner öffnen.\"` and `\"Open the output directory.\"` respectively. These changes are related to a new feature that allows users to open the output directory.","shortMessageHtmlLink":"Add translations for new output directory button"}},{"before":"0a129e3a7ddef873e638abd4a133d9a10fcf8c22","after":"60da18b3f47fabcea8c181b67e5186478588a25f","ref":"refs/heads/dev_JanPanthera","pushedAt":"2024-04-05T12:50:39.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"JanPanthera","name":"Jan Görl","path":"/JanPanthera","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/20288289?s=80&v=4"},"commit":{"message":"Updated GUI and refactored code in dictionary frame modules\n\nIn this commit, we made several updates to the `dictionary_frame.py`, `dictionary_frame_gui.py`, and `dictionary_frame_logic.py` files. We imported the `os` module and the `ConfigHandler` and `ConfigKeyList` classes from `GuiFramework.utilities.config` in `dictionary_frame.py`. We also added new callback functions to the `DictionaryFrame` class for new GUI buttons.\n\nIn `dictionary_frame_gui.py`, we modified the grid configuration of the dictionary edit frame and the dictionary files frame to accommodate new GUI elements. We renamed the `file_tree_view` attribute to `dictionaries_file_tree_view` and added a new attribute `dictionaries_file_tree_view_controls` to the `DictionaryFrameGui` class. We also removed the `_construct_frame` and `_configure_grid` methods and added a new method `_create_tree_view_controls`.\n\nIn `dictionary_frame_logic.py`, we updated all references to `file_tree_view` to `dictionaries_file_tree_view`. Lastly, in `translation_frame_gui.py`, we modified the `FileTreeView` instances for input files and dictionaries to disallow folder selection and swapped the order of the translate button and the open output directory button.","shortMessageHtmlLink":"Updated GUI and refactored code in dictionary frame modules"}},{"before":"9e6708582ca97551c80663324f5705aac7746f6d","after":"0a129e3a7ddef873e638abd4a133d9a10fcf8c22","ref":"refs/heads/dev_JanPanthera","pushedAt":"2024-04-04T18:55:05.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"JanPanthera","name":"Jan Görl","path":"/JanPanthera","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/20288289?s=80&v=4"},"commit":{"message":"`Added output directory button and updated UI theme`\n\n Added a new button to open the output directory in `translation_frame.py` and `translation_frame_gui.py`. The new button, `btn_open_output_dir`, is configured with a tooltip text and a localization function. Also, the `btn_translate` button was modified by removing the spread operator from `btn_properties` and setting the properties explicitly. In `config_setup.py`, the `ui_color_theme` value was updated from \"Blue\" to \"Ad-green\" in the \"AppearanceSettings\" dictionary.","shortMessageHtmlLink":"Added output directory button and updated UI theme"}},{"before":"ac8e5e9738720145efd7a6d26a692003c73889aa","after":"9e6708582ca97551c80663324f5705aac7746f6d","ref":"refs/heads/dev_JanPanthera","pushedAt":"2024-04-04T18:28:24.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"JanPanthera","name":"Jan Görl","path":"/JanPanthera","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/20288289?s=80&v=4"},"commit":{"message":"Updated executable creation with new imports and features\n\nIn this commit, several changes have been made to enhance the executable creation process. New imports have been added at the beginning of the file, including `pathlib.Path`, `PyInstaller.utils.hooks.collect_dynamic_libs`, and `GuiFramework.utilities.executable_creator.ExecutableCreator`. A new variable `binary_dependencies` has been added to the `create_exe` function to collect dynamic libraries from the \"glfw\" directory. The `ExecutableCreator` instance `exe_creator` has been updated with new parameters. A new list `hidden_imports` has been added and iterated over to add each item as a hidden import to the `exe_creator` instance. The `set_icon` method has been called on the `exe_creator` instance to set the icon. A loop has been added to iterate over `binary_dependencies` and add each binary file to the executable using the `add_data_file` method. Finally, the `create_executable` method is called on the `exe_creator` instance to create the executable file.","shortMessageHtmlLink":"Updated executable creation with new imports and features"}},{"before":"ddab4900245442d2fe90e7cc9f7562dbe3e49af5","after":"ac8e5e9738720145efd7a6d26a692003c73889aa","ref":"refs/heads/dev_JanPanthera","pushedAt":"2024-04-04T18:27:29.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"JanPanthera","name":"Jan Görl","path":"/JanPanthera","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/20288289?s=80&v=4"},"commit":{"message":"`Update method calls and root_marker parameters`\n\nModified `_on_reset_window_size_button` and `_on_reset_window_pos_button` methods in `OptionsFrameLogic` class to call `get` method before splitting. Also, updated `root_marker` parameter in `FileOps.resolve_development_path` method calls in `ConfigSetup` class from `\"main.py\"` to `\"AutoDriveTranslationTool\"`.","shortMessageHtmlLink":"Update method calls and root_marker parameters"}},{"before":"958f02f68c3d848c315960a8cd43fa1e51f31b9e","after":"3ee24c1778765c0ed215634a77e064fffcea97a9","ref":"refs/heads/main","pushedAt":"2024-04-04T16:58:42.000Z","pushType":"pr_merge","commitsCount":50,"pusher":{"login":"JanPanthera","name":"Jan Görl","path":"/JanPanthera","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/20288289?s=80&v=4"},"commit":{"message":"Merge pull request #13 from JanPanthera/dev_JanPanthera\n\nDev jan panthera","shortMessageHtmlLink":"Merge pull request #13 from JanPanthera/dev_JanPanthera"}},{"before":"2917008b3582105d82b248a5d618b139f7669588","after":"ddab4900245442d2fe90e7cc9f7562dbe3e49af5","ref":"refs/heads/dev_JanPanthera","pushedAt":"2024-04-04T16:57:59.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"JanPanthera","name":"Jan Görl","path":"/JanPanthera","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/20288289?s=80&v=4"},"commit":{"message":"Refactor and enhance exception handling and localization\n\nIn this commit, several changes have been made across multiple files. In `main.py`, the `run()` method of the `AutoDriveTranslationTool` instance is now more robust with the addition of a try-except block. `dictionary_frame.py` and `dictionary_frame_logic.py` have seen changes to improve the handling of language updates, with the latter also having a modified import statement.\n\n`options_frame_logic.py` has undergone significant refactoring, with a new `window` attribute in the `__init__` method, simplified methods for resetting settings, a new helper method for updating checkboxes, and improved localization. Lastly, `translation_frame_logic.py` has seen a change in the elements updated by the `_on_language_updated` method.","shortMessageHtmlLink":"Refactor and enhance exception handling and localization"}},{"before":"d6527d078caefb32e2d85ce2414ee3e22d2fa7a1","after":"2917008b3582105d82b248a5d618b139f7669588","ref":"refs/heads/dev_JanPanthera","pushedAt":"2024-04-03T17:48:19.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"JanPanthera","name":"Jan Görl","path":"/JanPanthera","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/20288289?s=80&v=4"},"commit":{"message":"Updated main.py with import changes and profiling code\n\nUpdated the import statements in `main.py` to include `cProfile`, `pstats`, and `FileOps` from `GuiFramework.utilities.file_ops`. The `main()` function has been restructured, moving the instantiation and running of `AutoDriveTranslationTool` before the `try` block, which now only contains a `pass` statement. The `if __name__ == \"__main__\":` block has been updated with commented-out profiling code for the `main()` function using `cProfile` and `pstats`, which sorts statistics by cumulative time, prints them, and dumps them to 'profiling_stats.prof'.","shortMessageHtmlLink":"Updated main.py with import changes and profiling code"}},{"before":"fa1c6eccb82c6c93a5926e0a85a81e493f8de674","after":"d6527d078caefb32e2d85ce2414ee3e22d2fa7a1","ref":"refs/heads/dev_JanPanthera","pushedAt":"2024-04-03T17:47:43.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"JanPanthera","name":"Jan Görl","path":"/JanPanthera","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/20288289?s=80&v=4"},"commit":{"message":"`Added sleep module and updated GUI tasks`\n\n` `\n\n`Added the 'from time import sleep' module to auto_drive_translation_tool.py to pause program execution. Commented out the creation of the LanguagesFrame object and the addition of the 'tab_languages' tab to the tabs dictionary. Added lines to update the GUI window and the translation_frame GUI instance. Also added a line to pause the program for 1 second, potentially allowing the GUI to update before continuing execution.`","shortMessageHtmlLink":"Added sleep module and updated GUI tasks"}},{"before":"d4a65497aae2781021ab2658aa94581b352fb64d","after":"fa1c6eccb82c6c93a5926e0a85a81e493f8de674","ref":"refs/heads/dev_JanPanthera","pushedAt":"2024-04-03T17:39:44.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"JanPanthera","name":"Jan Görl","path":"/JanPanthera","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/20288289?s=80&v=4"},"commit":{"message":"Updated German translations and refactored locale_de.json\n\nUpdated and added new key-value pairs for German translations in locale_de.json. The changes primarily include translations for UI elements and messages related to a custom popup message box, dictionary file operations, and language operations. Improved clarity and correctness of existing translations, such as the tooltip for the translate button. Removed the tooltip section and the languages_frame section as these translations are no longer needed. Significantly updated the structure of the dictionaries_frame section with new keys for various operations and their tooltips.","shortMessageHtmlLink":"Updated German translations and refactored locale_de.json"}},{"before":"100c35a4263bc48dc7bc72159a0bdb6251906700","after":"d4a65497aae2781021ab2658aa94581b352fb64d","ref":"refs/heads/dev_JanPanthera","pushedAt":"2024-04-03T17:38:30.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"JanPanthera","name":"Jan Görl","path":"/JanPanthera","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/20288289?s=80&v=4"},"commit":{"message":"Refactor locale_en.json and update key names\n\nUpdated the locale_en.json file by replacing \"messages\" and \"tooltip\" sections with \"custom_popup_message_box\" and a new \"messages\" section. The new sections contain button labels and messages for a custom popup message box and similar messages to the ones that were removed, but with slightly different key names. Replaced \"languages_frame\" section with a \"dictionaries_frame\" section, which includes button labels and tooltips for a dictionaries frame. Renamed some keys and added new ones in the \"dictionaries_frame\" section. Removed some keys in the \"options_frame\" section.","shortMessageHtmlLink":"Refactor locale_en.json and update key names"}},{"before":"3f1d34dc4472e109abe300d55d21ffa5578b73ac","after":"100c35a4263bc48dc7bc72159a0bdb6251906700","ref":"refs/heads/dev_JanPanthera","pushedAt":"2024-04-03T17:36:36.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"JanPanthera","name":"Jan Görl","path":"/JanPanthera","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/20288289?s=80&v=4"},"commit":{"message":"Expanded filename validation and added new methods in DictionaryCreator\n\nExpanded the set of valid characters for file names in `dictionary_creator.py` to include the period ('.') character. Removed the `create` class method from the `DictionaryCreator` class. Added three new static methods: `create_dic_from_file`, `create_dic_from_text`, and `create_default_dic` to the `DictionaryCreator` class. These methods handle file creation from different sources and validate file names. Updated the `_validate_file_name` static method to use `FileOps.validate_file_name` for invalid character detection and raise an `InvalidFileNameError` for any invalid characters.","shortMessageHtmlLink":"Expanded filename validation and added new methods in DictionaryCreator"}},{"before":"8b173dfbda3c32991d7919dbcf35b321542f7eab","after":"3f1d34dc4472e109abe300d55d21ffa5578b73ac","ref":"refs/heads/dev_JanPanthera","pushedAt":"2024-04-03T17:35:32.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"JanPanthera","name":"Jan Görl","path":"/JanPanthera","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/20288289?s=80&v=4"},"commit":{"message":"Updated TranslationFrame classes and message keys\n\nUpdated the `TranslationFrame`, `TranslationFrameGui`, and `TranslationFrameLogic` classes. Removed temporary test translation buttons and renamed methods in `TranslationFrame`. Updated `FileTreeView` instances in `TranslationFrameGui`. Changed message and button text keys in `TranslationFrameLogic`.","shortMessageHtmlLink":"Updated TranslationFrame classes and message keys"}},{"before":"522a1395438079d474774364cf52139ce3b8a331","after":"8b173dfbda3c32991d7919dbcf35b321542f7eab","ref":"refs/heads/dev_JanPanthera","pushedAt":"2024-04-03T17:29:45.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"JanPanthera","name":"Jan Görl","path":"/JanPanthera","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/20288289?s=80&v=4"},"commit":{"message":"Refactor DictionaryFrame classes and move dictionary_frame_gui.py\n\nThis commit includes a major refactor of the `DictionaryFrame`, `DictionaryFrameGui`, and `DictionaryFrameLogic` classes. The `DictionaryFrame` class now configures callbacks for dictionary frame widgets using a dictionary mapping. The `DictionaryFrameGui` class has been updated to create and configure the dictionary edit frame and the dictionary files frame with renamed methods and replaced instances. The `DictionaryFrameLogic` class has been updated to handle the logic for the dictionary frame with new methods and removed attributes.\n\nAdditionally, the `dictionary_frame_gui.py` file has been moved to the `AutoDriveTranslationTool/src/components/dictionary_frame/` directory with updated import statements. The `CustomCTKButton`, `CustomTooltip` classes and `FONT_ICON_BIG` constant have been imported from new locations.\n\nNew classes like `CustomPopupMessageBox`, `DictionaryCreator`, and `FileOps` have been used for creating popup message boxes, dictionaries from text, and performing file operations respectively. The `InvalidFileNameError` exception has been caught and handled.","shortMessageHtmlLink":"Refactor DictionaryFrame classes and move dictionary_frame_gui.py"}},{"before":"6e174a2f1a4d83e5f60d4088b5172f5649aab820","after":"522a1395438079d474774364cf52139ce3b8a331","ref":"refs/heads/dev_JanPanthera","pushedAt":"2024-03-24T21:23:09.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"JanPanthera","name":"Jan Görl","path":"/JanPanthera","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/20288289?s=80&v=4"},"commit":{"message":"Refactor UI and enhance internationalization support\n\nThis commit includes several changes aimed at refactoring the application's UI and enhancing its internationalization support. New key-value pairs for translations have been added to `locale_de.json` and `locale_en.json` files, and some keys and their corresponding translations have been renamed. The `FONT_FAMILY` in `constants.py` has been changed from \"Consolas\" to \"Arial\", and a list of UI languages has been defined. Several event constants related to different UI actions have been removed from the same file. In `config_setup.py`, the configuration setup for the application has been modified, with sections for dropdown UI themes, color themes, and languages moved from \"DropdownSettings\" to \"AppearanceSettings\". Two new parameters `init_from_file` and `save_to_file` have been added to these configurations, both set to `False`.","shortMessageHtmlLink":"Refactor UI and enhance internationalization support"}},{"before":"6afc7bf35d4fa422eebdd74ff808893d5a4f8854","after":"6e174a2f1a4d83e5f60d4088b5172f5649aab820","ref":"refs/heads/dev_JanPanthera","pushedAt":"2024-03-24T21:21:05.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"JanPanthera","name":"Jan Görl","path":"/JanPanthera","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/20288289?s=80&v=4"},"commit":{"message":"Refactor options frame and logic, enhance localization\n\nThis commit includes a significant refactor of the `options_frame.py`, `options_frame_gui.py`, and `options_frame_logic.py` files. The import statements have been updated to include new classes and remove unused ones. The `setup_callbacks` method has been renamed to `_setup_callbacks` and its implementation has been updated to use a widget-command map. The `on_language_updated` method has been updated to call a method in the logic instance when the language is updated.\n\nThe `create_gui`, `create_window_settings_frame`, `create_ui_appearance_frame`, and `create_translation_settings_frame` methods in `options_frame_gui.py` have been updated to use new methods and classes for grid configuration and widget creation. New `_construct_frame` and `_configure_grid` methods have been added to `options_frame_gui.py`.\n\nThe `OptionsFrameLogic` class has been updated to remove the `EventManager` import and the `_setup_event_handlers` method, suggesting a refactoring of the event-driven architecture. The scoping and management of `ctk.BooleanVar` and `ctk.StringVar` instances and the window instance have been updated. A new `_on_language_updated` method has been added to update the localization for various components of the options frame.","shortMessageHtmlLink":"Refactor options frame and logic, enhance localization"}},{"before":"a5d552782aae05a20802b92d8584b1bf9c997a81","after":"6afc7bf35d4fa422eebdd74ff808893d5a4f8854","ref":"refs/heads/dev_JanPanthera","pushedAt":"2024-03-24T21:19:14.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"JanPanthera","name":"Jan Görl","path":"/JanPanthera","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/20288289?s=80&v=4"},"commit":{"message":"Refactor translation_frame_gui.py and update language handling\n\nSignificant refactoring has been done in `translation_frame_gui.py` with the addition of new methods `_construct_frame` and `_configure_grid` to streamline GUI creation. The `TranslationFrameGui` class has been updated to use these new methods, and the `button_command_map` variable has been renamed to `widget_command_map` with two new entries for testing language translation.\n\nThe `TranslationFrameLogic` class in `translation_frame_logic.py` has been updated with the removal of `_on_validate_output_files` and `_on_find_missing_translations` methods and the addition of a new `_on_language_updated` method for updating language-related components.\n\nImport statements in `translation_frame_gui.py` have been updated and a new import for `Optional` from `typing` has been added. The `btn_translate` and `btn_clear_console` buttons are now created using the `CustomCTKButton` class.\n\nThe `_create_tree_view_controls` method has been refactored to generate and return a dictionary of tree view control buttons using the `CustomCTKButton` class. Some code related to the removed methods in `translation_frame_logic.py` has been commented out for potential future use.","shortMessageHtmlLink":"Refactor translation_frame_gui.py and update language handling"}},{"before":"4860fb380608b45548cb7bc615316b152ae93d74","after":"a5d552782aae05a20802b92d8584b1bf9c997a81","ref":"refs/heads/dev_JanPanthera","pushedAt":"2024-03-24T21:18:17.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"JanPanthera","name":"Jan Görl","path":"/JanPanthera","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/20288289?s=80&v=4"},"commit":{"message":"Removed event handling from dictionary and languages frames\n\nRemoved import statements related to event constants and EventManager from `dictionary_frame.py`, `dictionary_frame_logic.py`, `languages_frame.py`, and `languages_frame_logic.py`, indicating these are no longer used. Also removed `event_widget_map` dictionary and the loop that configures widget commands from `_setup_callbacks` methods in these files, suggesting widgets are no longer associated with specific events. The `_setup_event_handlers` methods have been removed from `dictionary_frame_logic.py` and `languages_frame_logic.py`, indicating these classes are no longer handling events. Added `pass` statement to `_setup_callbacks` and `on_language_updated` methods as placeholders for future code.","shortMessageHtmlLink":"Removed event handling from dictionary and languages frames"}}],"hasNextPage":true,"hasPreviousPage":false,"activityType":"all","actor":null,"timePeriod":"all","sort":"DESC","perPage":30,"cursor":"djE6ks8AAAAEW9PmtwA","startCursor":null,"endCursor":null}},"title":"Activity · JanPanthera/_AutodriveTranslationTool"}