Hi Thanks for the great scid software!
Here is a patch to show the tip of the day in configured language when there is already a translation available. I simply added tips to the list of global variables in function setLanguage in file tcl/language.tcl. Bye Matthias
>From 8183cd05b4835d8a55c15cfa69c8a5187fc8be47 Mon Sep 17 00:00:00 2001 From: Matthias Vogl <mv+s...@xn--mtys-5nac.de> Date: Sun, 3 Feb 2019 10:33:53 +0100 Subject: [PATCH] show tip of the day in configured language if translation is available --- tcl/language.tcl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tcl/language.tcl b/tcl/language.tcl index 221ab29..21176d1 100644 --- a/tcl/language.tcl +++ b/tcl/language.tcl @@ -144,7 +144,7 @@ proc tr {tag {lang ""}} { # ################################################################################ proc setLanguage {} { - global menuLabel menuUnder helpTitle helpText + global menuLabel menuUnder helpTitle helpText tips set lang $::language if { $::translatePieces } { -- 2.11.0
_______________________________________________ Scid-users mailing list Scid-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/scid-users