Add translation for UI message in source comments

This commit is contained in:
Petar Kapriš 2024-07-15 19:44:54 +02:00
parent 62c969b015
commit 73fde0698c

View file

@ -169,7 +169,7 @@ func DrawWall() {
Wall.Clear() Wall.Clear()
w, h := Wall.Size() w, h := Wall.Size()
if w < maxMonthWidth+2*smallGap || h < maxMonthHeight+2*smallGap+titleHeight { if w < maxMonthWidth+2*smallGap || h < maxMonthHeight+2*smallGap+titleHeight {
wrappedText("Екран је премали за календар.", Wall, DefStyle) wrappedText("Екран је премали за календар.", Wall, DefStyle) // The screen is too small for the calender
return return
} }
monthsWide = (w - 2*smallGap + largeGap) / (maxMonthWidth + largeGap) monthsWide = (w - 2*smallGap + largeGap) / (maxMonthWidth + largeGap)