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,
|
||||
|
||||
@@ -10,6 +10,7 @@ module.exports = {
|
||||
|
||||
// Price strings
|
||||
"Data unavailable": "Data unavailable", // sourced from AppleGlot
|
||||
"%@ ref": "%@ ref",
|
||||
"%@ key": "%@ key",
|
||||
"%@ keys": "%@ keys",
|
||||
|
||||
|
||||
@@ -10,6 +10,7 @@ module.exports = {
|
||||
|
||||
// Price strings
|
||||
"Data unavailable": "Datos no disponibles", // sourced from AppleGlot
|
||||
"%@ ref": "%@ ref",
|
||||
"%@ key": "%@ llave",
|
||||
"%@ keys": "%@ llaves",
|
||||
|
||||
|
||||
@@ -10,6 +10,7 @@ module.exports = {
|
||||
|
||||
// Price strings
|
||||
"Data unavailable": "データがありません", // sourced from AppleGlot
|
||||
"%@ ref": "%@精錬メタル",
|
||||
"%@ key": "%@ key",
|
||||
"%@ keys": "%@ keys",
|
||||
|
||||
|
||||
Reference in New Issue
Block a user