replaced soft with hard tabs to maintain code standard;
inserted a "wait" statement in the dig, forge, lock and open functions;
spelling standardization (canceled to cancelled);
simplified the call to MONMORT icon inside zenity functions;
zenity warning function changes;
fixed missing dots.
About Update "1"
My previous PR #465 (merged) used soft tabs, because my editor uses soft tabs, but gtomb itself uses hard tabs. Now uniform.
About Update "2"
Some messages like Success: Tour tomb has been dug in ... was appearing BEFORE the tomb was actually dug. With a wait statement the message appears AFTER the tomb has been created. Similar situations occurred in forge, lock and open functions.
About Update "3"
Most of text is in english British, Canadian, Australian (cancelled) but a few times "cancelled" appears spelled as "canceled" (USA english).
About Update "4"
Transformed --window-icon="$MONMORT" into a variable Icon="--window-icon="$MONMORT"". Zenity functions now just call the variable: $Icon. Text/code economy and easier to update.
About Update "5"
Just a simplification. All warning messages but one, have title "Warning", that one had title "gtomb". I have moved title to inside the function.
About Update "1"
My previous PR #465 (merged) used soft tabs, because my editor uses soft tabs, but gtomb itself uses hard tabs. Now uniform.
About Update "2"
Some messages like
Success: Tour tomb has been dug in ...
was appearing BEFORE the tomb was actually dug. With await
statement the message appears AFTER the tomb has been created. Similar situations occurred in forge, lock and open functions.About Update "3"
Most of text is in english British, Canadian, Australian (cancelled) but a few times "cancelled" appears spelled as "canceled" (USA english).
About Update "4"
Transformed
--window-icon="$MONMORT"
into a variableIcon="--window-icon="$MONMORT""
. Zenity functions now just call the variable:$Icon
. Text/code economy and easier to update.About Update "5"
Just a simplification. All warning messages but one, have title "Warning", that one had title "gtomb". I have moved title to inside the function.
About Update "6"
Self explanatory.