l10n: translate ref

This commit is contained in:
xenticore
2025-03-29 00:00:52 -04:00
parent 0a52bca229
commit 04845d6bbf
4 changed files with 4 additions and 1 deletions

View File

@@ -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,

View File

@@ -10,6 +10,7 @@ module.exports = {
// Price strings
"Data unavailable": "Data unavailable", // sourced from AppleGlot
"%@ ref": "%@ ref",
"%@ key": "%@ key",
"%@ keys": "%@ keys",

View File

@@ -10,6 +10,7 @@ module.exports = {
// Price strings
"Data unavailable": "Datos no disponibles", // sourced from AppleGlot
"%@ ref": "%@ ref",
"%@ key": "%@ llave",
"%@ keys": "%@ llaves",

View File

@@ -10,6 +10,7 @@ module.exports = {
// Price strings
"Data unavailable": "データがありません", // sourced from AppleGlot
"%@ ref": "%@精錬メタル",
"%@ key": "%@ key",
"%@ keys": "%@ keys",