You've already forked tf2wikipricing
l10n: translate ref
This commit is contained in:
@@ -14,7 +14,7 @@ export function formatPrice(keys: number, metal: number, keyPrice: number, local
|
||||
if(keys > 0) {
|
||||
output += (formattedKeys == 1.0 ? $T("%@ key") : $T("%@ keys")).replace('%@', formattedKeys.toLocaleString(locale))
|
||||
} else {
|
||||
output += `${(+toFixed(metal, 2)).toLocaleString(locale)} ref`
|
||||
output += $T("%@ ref").replace('%@', (+toFixed(metal, 2)).toLocaleString(locale))
|
||||
}
|
||||
const currencyFormatter = new Intl.NumberFormat(locale, {
|
||||
minimumFractionDigits: 2,
|
||||
|
||||
Reference in New Issue
Block a user