garrysmod-issues
garrysmod-issues copied to clipboard
NiceTime translations
This should be rewritten to get translated by gmod localization system https://github.com/Facepunch/garrysmod/blob/master/garrysmod/lua/includes/extensions/string.lua#L184
What?
I'm guessing they are asking if the "seconds"/"minutes"/"hours"/etc output of string.NiceTime() will be auto-translated into the current language when called on the client? ¯\_(ツ)_/¯
yeah
It's so language dependent. You also have to make plural suffix for each language. Just make your own version for your server.