Facepunch / garrysmod-issues

Garry's Mod issue tracker
147 stars 56 forks source link

NiceTime translations #4690

Open Blueberryy opened 4 years ago

Blueberryy commented 4 years ago

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

Kefta commented 4 years ago

What?

viral32111 commented 4 years ago

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? ¯\(ツ)\\/¯

Blueberryy commented 4 years ago

yeah

GitSparTV commented 4 years ago

It's so language dependent. You also have to make plural suffix for each language. Just make your own version for your server.