|
|
||
|
The translation file looks like this:
return {
[0] = function(c) return c == 1 and 1 or 2 end, -- plural
["traced %d instruction"] = {"traced %d instruction", "traced %d
instructions"}, -- src\editor\debugger.lua
}
The pluralization rules are stored in the
language file itself and can be tweaked in any way you prefer.
The translated files for those curious are here:
https://github.com/pkulchenko/ZeroBraneStudio/tree/master/cfg/i18n
Paul.