_msg: Debug
This commit is contained in:
parent
08935e109a
commit
04edfff25e
6
qsgen2
6
qsgen2
@ -48,15 +48,13 @@ ${language}
|
|||||||
|
|
||||||
if (${globaldebug}); then
|
if (${globaldebug}); then
|
||||||
qsconfig=$( cat $(pwd)/config | grep -v \# | awk '{print substr($0, index($0, " ") + 1)}' )
|
qsconfig=$( cat $(pwd)/config | grep -v \# | awk '{print substr($0, index($0, " ") + 1)}' )
|
||||||
echo "_qsgen2_msg_9"
|
echo "Content of Config file"
|
||||||
for qslines in ${qsconfig}
|
for qslines in ${qsconfig}
|
||||||
do
|
do
|
||||||
echo "${yellow}${qslines}${end}"
|
echo "${yellow}${qslines}${end}"
|
||||||
done
|
done
|
||||||
fi
|
fi
|
||||||
|
|
||||||
exit
|
|
||||||
|
|
||||||
function _msg() {
|
function _msg() {
|
||||||
local type=$1
|
local type=$1
|
||||||
shift # Remove the first argument so $@ now contains only message keys or parts
|
shift # Remove the first argument so $@ now contains only message keys or parts
|
||||||
@ -98,6 +96,8 @@ function _msg() {
|
|||||||
printf "%s\n" "$full_msg"
|
printf "%s\n" "$full_msg"
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
|
echo "Debugging full_msg: $full_msg"
|
||||||
}
|
}
|
||||||
|
|
||||||
function _version() {
|
function _version() {
|
||||||
|
Loading…
Reference in New Issue
Block a user