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) {
|
if(keys > 0) {
|
||||||
output += (formattedKeys == 1.0 ? $T("%@ key") : $T("%@ keys")).replace('%@', formattedKeys.toLocaleString(locale))
|
output += (formattedKeys == 1.0 ? $T("%@ key") : $T("%@ keys")).replace('%@', formattedKeys.toLocaleString(locale))
|
||||||
} else {
|
} else {
|
||||||
output += `${(+toFixed(metal, 2)).toLocaleString(locale)} ref`
|
output += $T("%@ ref").replace('%@', (+toFixed(metal, 2)).toLocaleString(locale))
|
||||||
}
|
}
|
||||||
const currencyFormatter = new Intl.NumberFormat(locale, {
|
const currencyFormatter = new Intl.NumberFormat(locale, {
|
||||||
minimumFractionDigits: 2,
|
minimumFractionDigits: 2,
|
||||||
|
|||||||
@@ -10,6 +10,7 @@ module.exports = {
|
|||||||
|
|
||||||
// Price strings
|
// Price strings
|
||||||
"Data unavailable": "Data unavailable", // sourced from AppleGlot
|
"Data unavailable": "Data unavailable", // sourced from AppleGlot
|
||||||
|
"%@ ref": "%@ ref",
|
||||||
"%@ key": "%@ key",
|
"%@ key": "%@ key",
|
||||||
"%@ keys": "%@ keys",
|
"%@ keys": "%@ keys",
|
||||||
|
|
||||||
|
|||||||
@@ -10,6 +10,7 @@ module.exports = {
|
|||||||
|
|
||||||
// Price strings
|
// Price strings
|
||||||
"Data unavailable": "Datos no disponibles", // sourced from AppleGlot
|
"Data unavailable": "Datos no disponibles", // sourced from AppleGlot
|
||||||
|
"%@ ref": "%@ ref",
|
||||||
"%@ key": "%@ llave",
|
"%@ key": "%@ llave",
|
||||||
"%@ keys": "%@ llaves",
|
"%@ keys": "%@ llaves",
|
||||||
|
|
||||||
|
|||||||
@@ -10,6 +10,7 @@ module.exports = {
|
|||||||
|
|
||||||
// Price strings
|
// Price strings
|
||||||
"Data unavailable": "データがありません", // sourced from AppleGlot
|
"Data unavailable": "データがありません", // sourced from AppleGlot
|
||||||
|
"%@ ref": "%@精錬メタル",
|
||||||
"%@ key": "%@ key",
|
"%@ key": "%@ key",
|
||||||
"%@ keys": "%@ keys",
|
"%@ keys": "%@ keys",
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user