Module:Percent/l10n

From Terraria Wiki
Jump to navigation Jump to search
Important.svg
CAUTION: Terraria Wiki code is complex!!!
If you want to use this code on another wiki, wiki.gg staff are not able to assist you.
Please consider picking a different wiki to adapt code from, or making your own templates!
Remember that content on a wiki is more important than fancy formatting.

No documentation subpage exists yet for this module. Create one now.


return {
	['en'] = {
		['percentage_format'] = '%s%%', -- '%s' is the number, '%%' is a literal percentage sign
		['decimal_separator'] = '.',
	},
	['de'] = {
		['percentage_format'] = '%s %%', -- non-breaking space between number and percentage sign
		['decimal_separator'] = ',',
	},
	['fr'] = {
		['percentage_format'] = '%s %%', -- non-breaking space between number and percentage sign
		['decimal_separator'] = ',',
	},
	['id'] = {
		['decimal_separator'] = ',',
	},
	['ru'] = {
		-- for 'percentage_format': if we want to use GOST, then it must be '%s %%' (non-breaking space between number and percentage sign)
		['decimal_separator'] = ',',
	},
	['tr'] = {
		['percentage_format'] = '%%%s', -- percentage sign in front of the number
		['decimal_separator'] = ',',
	},
	['uk'] = {
		['decimal_separator'] = ',',
	},
}