Just fixes

This commit is contained in:
2025-06-05 07:12:18 +02:00
parent bf83fc2c24
commit 3370a11f00
15 changed files with 205 additions and 30 deletions
+4 -4
View File
@@ -5,13 +5,13 @@ function getGreeting() {
datetoday.setTime(timenow);
var thehour = datetoday.getHours();
if (thehour >= 2 && thehour < 12) display = "morning";
else if (thehour >= 12 && thehour <=17) display = "afternoon";
else display = "evening"
if (thehour >= 2 && thehour < 12) display = qsTr("morning");
else if (thehour >= 12 && thehour <=17) display = qsTr("afternoon");
else display = qsTr("evening")
var greeting = ("Good " + display + "!");
var greeting = (qsTr("Good")+" " + display + "!");
return greeting//document.write(greeting);
}