✨ 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.
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