Added language translation for doom.

This commit is contained in:
Storm Dragon
2024-08-26 04:19:50 -04:00
parent 614094ad2b
commit 1452f5d926
2 changed files with 50 additions and 5 deletions

View File

@ -271,6 +271,7 @@ help() {
echo "${configFile%/*}/settings.conf"
echo "The syntax is variable=\"value\""
echo
echo "doomLanguage=\"en\" # 2 letter language code for translation."
echo "ipfsGateway=\"https://gateway.pinata.cloud\" # Gateway to be used for ipfs downloads."
echo "noCache=\"true\" # Do not keep downloaded items in the cache."
echo "spd_module=\<module_name>\" # set speech-dispatcher module."
@ -484,6 +485,7 @@ if [[ -r "${configFile%/*}/settings.conf" ]]; then
source "${configFile%/*}/settings.conf"
fi
unset noCache
export doomLanguage="${doomLanguage:-en}"
export ipfsGateway="${ipfsGateway:-https://gateway.pinata.cloud}"
export spd_module="${spd_module:+ -o ${spd_module}}"
export spd_pitch="${spd_pitch:+ -p ${spd_pitch}}"