[chore] Remove leftover debug print (#9080)

This commit is contained in:
Frans de Jonge
2022-05-07 18:38:26 +02:00
committed by GitHub
parent 8da18d403b
commit a8db251bd8

View File

@@ -217,7 +217,6 @@ function GetText_mt.__index.changeLang(new_lang)
plurals = "n == 1 ? 0 : (n == 2) ? 1 : (n > 10 && n % 10 == 0) ? 2 : 3"
end
-- Hardcoded workaround for Latvian.
print(plurals)
if plurals == "n % 10 == 0 || n % 100 >= 11 && n % 100 <= 19) ? 0 : ((n % 10 == 1 && n % 100 != 11) ? 1 : 2" then
plurals = "n % 10 == 0 || n % 100 >= 11 && n % 100 <= 19 ? 0 : (n % 10 == 1 && n % 100 != 11) ? 1 : 2"
end