inserted a "wait" statement in the dig, forge, lock and open functions;
replaced soft with hard tabs to maintain code standard;
spelling standardization (canceled to cancelled);
zenity warning function changes;
fixed missing dots.
About Update "1"
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 "2"
My previous PR #465 (merged) used soft tabs, because my editor uses soft tabs, but gtomb itself uses hard tabs. Now uniform.
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"
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"
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 "2"
My previous PR #465 (merged) used soft tabs, because my editor uses soft tabs, but gtomb itself uses hard tabs. Now uniform.
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"
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 "5"
Self explanatory.