Added new language files to the project. These files contain a list of messages used in the application. The messages are used to display information to the user, such as status updates, error messages, and prompts. The files are named `promenne1.txt`, `promenne2.txt`, `raw_comments.cfg`, `raw_echo.cfg`, and `raw_msg.cfg`.
🆕 feat(lang): add new language files
Added new language files to support localization of the application. The new files include `raw_printf.cfg`, `strings.cfg`, `strings0.cfg`, `strings1.cfg`, and `strings2.cfg`. These files contain translations for various messages and prompts used in the application. The addition of these files will allow users to use the application in their preferred language.
🗑️ chore(translate.sh): remove translate.sh script
The translate.sh script has been removed from the repository as it is no longer needed. The script was used to automatically translate base language strings and add them into the various translations, remove duplicate strings, and rearrange them alphabetically. However, the script is no longer being used and has been removed.
The changes in this commit include reorganizing the language configuration file to improve readability and removing unused or unnecessary messages. Some messages were also renamed to better reflect their purpose. The commit also includes minor changes such as fixing typos and removing unnecessary whitespace.
🌐 chore(lang): update language files
The commit updates the language files for the DistroHopper application. The changes include adding new translations, updating existing translations, and fixing typos. The commit also removes some unused translations.
🌐 feat(lang): add Spanish and French translations
This commit adds Spanish and French translations to the project. The new files are located in the lang directory and contain translations for various messages and prompts used throughout the application. The addition of these translations will allow users who speak Spanish or French to use the application in their native language.
✨ feat(dh): improve user messages
The commit fixes a typo in the message variable name. The commit also improves user messages by making them more descriptive and user-friendly. The messages now provide more context and instructions to the user, making it easier for them to understand what is happening and what actions they need to take.
The variable TERMINAL has been renamed to terminal to improve consistency with the naming conventions. The change has been made in multiple places in the code.
✨ feat(dh): add support for multiple package managers
The dependencies_install function has been refactored to use separate functions for each package manager. This makes it easier to add support for new package managers in the future. Support for apt, pacman, xbps, and dnf has been added. This improves the flexibility of the script as it can now be used on a wider range of systems.
The icon path for the hop icon was not set correctly in some parts of the code. The variable $icon_file was not defined, so the icon path was not being set correctly. The correct path is now set to $DH_ICON_DIR/hop.svg.
The Gitmoji badge was added to the README.md and docs/README.md files to improve the visual appeal of the repository and to indicate the use of Gitmoji in commit messages.
feat(dh): add TOOL_set_default_terminal function to set default terminal emulator
refactor(dh): rename TOOL_distrohopper_translate to TOOL_dh_translate
refactor(dh): replace hardcoded strings with variables in the dh script
refactor(lang): improve language translations and remove unnecessary escape characters
chore(lang): update language files formatting and translations
fix(dh): comment out unused export statements
fix(dh): fix typo in message string
fix(dh): fix typo in language directory name
fix(dh): fix typo in copying translation to system directory
refactor(dh): remove unused function WIP2
refactor(dh): rename function WIP to distrohopper_gui
refactor(dh): rename variable lang to LANGUAGE
refactor(dh): rename variable DH_CONFIG_DIR to DH_CONFIG_DIR_PATH
refactor(dh): rename variable DH_ICON_DIR to DH_ICON_DIR_PATH
refactor(dh): rename variable VMS_DIR to VM_DIR_PATH
refactor(dh): rename variable TERMINAL to DEFAULT_TERMINAL
refactor(dh): rename variable replace to REPLACE_CHAR
refactor(dh): rename variable portable_prefix to PORTABLE_PREFIX
refactor(dh): rename variable TMP_DIR to TEMP_DIR_PATH