mirror of
https://github.com/oSoWoSo/DistroHopper.git
synced 2024-08-14 22:46:53 +00:00
zenobit
62a51945e0
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.
51 lines
2.2 KiB
INI
51 lines
2.2 KiB
INI
1:#!/usr/bin/env bash
|
|
2:# shellcheck disable=1078,1079,1091,2027,2034
|
|
4:# shellcheck source=/dev/null
|
|
75: #export "VMS_DIR" "DH_CONFIG_DIR" "DH_ICON_DIR" "terminal" "replace" "portable_prefix"
|
|
79: # shellcheck source=distrohopper.conf
|
|
82: #export "portable_prefix"
|
|
85:# installation ---------------------------------------------------------
|
|
96: # DEBUG mod
|
|
97: #bash -x ./dh 2>&1 | tee output.log
|
|
98: #progname="${progname
|
|
101: #GTK_THEME="alt-dialog"
|
|
109: #export "DH_CONFIG_DIR" "DH_CONFIG" "replace" "DH_ICON_DIR" "PATH_PREFIX" "TMP_DIR" "terminal"
|
|
111: # Set traps to catch the signals and exit gracefully
|
|
151: comment='Quickly download, create and run VM of any#TODO operating system.'
|
|
171: # Find the current distribution and install dependecies
|
|
206: # quickget also to config directory for adding new distros...
|
|
231:# basic ----------------------------------------------------------------
|
|
245: # for files in "$VMS_DIR"/*; do
|
|
246: # if [ ! -e *.conf ]; then
|
|
247: # echo $"No .conf files found"
|
|
248: # return
|
|
249: # fi
|
|
252: continue # skip processing distrohopper.conf
|
|
255: # Use fuzzy matching to find the best matching icon file (ready to run VMs)
|
|
258: # If no icon was found, try shorter name (ready to run VMs)
|
|
268: comment='Quickly download, create and run VM of any#TODO operating system.'
|
|
281: # get supported VMs
|
|
297: # Check if there are editions
|
|
323: #define functions for buttons
|
|
354: --field="Push!!Push changed quickget to quickemu project #todo"
|
|
364: # posible
|
|
403: # Check if there are any VMs
|
|
404: if [ ${#vms[@]} -eq 0 ]; then
|
|
408: # Print the names of the available VMs
|
|
411: # Action prompt
|
|
498:# more -----------------------------------------------------------------
|
|
503: # shellcheck disable=2154
|
|
506: # shellcheck disable=2086
|
|
517:#32
|
|
521:#184+
|
|
525:#262+
|
|
535:#1052+
|
|
552: #TODO
|
|
553: # Get the name of the script from the command line argument
|
|
555: # Get a list of all the function names in the script
|
|
557: # Sort the function names alphabetically
|
|
559: # Loop through the sorted function names and print the function definitions
|
|
562: # Print the function definition to stdout
|
|
657:# run ------------------------------------------------------------------
|
|
661: if [[ $# -eq 0 ]]; then
|
|
666: while [[ $# -gt 0 ]]
|