Tooltips/CombatRatings

* modenize interactive rating string
This commit is contained in:
Sarjuuk
2024-05-03 21:00:21 +02:00
parent 5f4c62644d
commit 5bb277bf2f
7 changed files with 7 additions and 7 deletions

View File

@@ -907,7 +907,7 @@ abstract class Util
if (!in_array($type, array(ITEM_MOD_DEFENSE_SKILL_RATING, ITEM_MOD_EXPERTISE_RATING))) if (!in_array($type, array(ITEM_MOD_DEFENSE_SKILL_RATING, ITEM_MOD_EXPERTISE_RATING)))
$result .= '%'; $result .= '%';
return sprintf(Lang::item('ratingString'), '<!--rtg%'.$type.'-->'.$result, '<!--lvl-->'.$level); return Lang::item('ratingString', [$type, $result, $level]);
} }
public static function powerUseLocale($domain = 'www') public static function powerUseLocale($domain = 'www')

View File

@@ -1799,7 +1799,7 @@ $lang = array(
'block' => "%s Blocken", 'block' => "%s Blocken",
'charges' => "%d |4Aufladung:Aufladungen;", 'charges' => "%d |4Aufladung:Aufladungen;",
'locked' => "Verschlossen", 'locked' => "Verschlossen",
'ratingString' => "%s&nbsp;@&nbsp;L%s", 'ratingString' => '<!--rtg%%%1$d-->%2$.2F%%&nbsp;@&nbsp;Lvl<!--lvl-->%3$d',
'heroic' => "Heroisch", 'heroic' => "Heroisch",
'startQuest' => "Dieser Gegenstand startet eine Quest", 'startQuest' => "Dieser Gegenstand startet eine Quest",
'bagSlotString' => '%1$d Platz %2$s', 'bagSlotString' => '%1$d Platz %2$s',

View File

@@ -1799,7 +1799,7 @@ $lang = array(
'block' => "%s Block", // SHIELD_BLOCK_TEMPLATE 'block' => "%s Block", // SHIELD_BLOCK_TEMPLATE
'charges' => "%d |4Charge:Charges;", // ITEM_SPELL_CHARGES 'charges' => "%d |4Charge:Charges;", // ITEM_SPELL_CHARGES
'locked' => "Locked", // LOCKED 'locked' => "Locked", // LOCKED
'ratingString' => "%s&nbsp;@&nbsp;L%s", 'ratingString' => '<!--rtg%%%1$d-->%2$.2F%%&nbsp;@&nbsp;L<!--lvl-->%3$d',
'heroic' => "Heroic", // ITEM_HEROIC 'heroic' => "Heroic", // ITEM_HEROIC
'startQuest' => "This Item Begins a Quest", // ITEM_STARTS_QUEST 'startQuest' => "This Item Begins a Quest", // ITEM_STARTS_QUEST
'bagSlotString' => "%d Slot %s", // CONTAINER_SLOTS 'bagSlotString' => "%d Slot %s", // CONTAINER_SLOTS

View File

@@ -1799,7 +1799,7 @@ $lang = array(
'block' => "%s bloqueo", 'block' => "%s bloqueo",
'charges' => "%d |4carga:cargas;", 'charges' => "%d |4carga:cargas;",
'locked' => "Cerrado", 'locked' => "Cerrado",
'ratingString' => "%s&nbsp;@&nbsp;L%s", 'ratingString' => '<!--rtg%%%1$d-->%2$.2F%%&nbsp;@&nbsp;L<!--lvl-->%3$d',
'heroic' => "Heroico", 'heroic' => "Heroico",
'startQuest' => "Este objeto inicia una misión", 'startQuest' => "Este objeto inicia una misión",
'bagSlotString' => '%2$s de %1$d casillas', 'bagSlotString' => '%2$s de %1$d casillas',

View File

@@ -1799,7 +1799,7 @@ $lang = array(
'block' => "Bloquer : %s", 'block' => "Bloquer : %s",
'charges' => "%d |4charge:charges;", 'charges' => "%d |4charge:charges;",
'locked' => "Verrouillé", 'locked' => "Verrouillé",
'ratingString' => "%s&nbsp;@&nbsp;L%s", 'ratingString' => '<!--rtg%%%1$d-->%2$.2F%%&nbsp;au&nbsp;niveau&nbsp;<!--lvl-->%3$d',
'heroic' => "Héroïque", 'heroic' => "Héroïque",
'startQuest' => "Cet objet permet de lancer une quête", 'startQuest' => "Cet objet permet de lancer une quête",
'bagSlotString' => '%2$s %1$d |4emplacement:emplacements;', 'bagSlotString' => '%2$s %1$d |4emplacement:emplacements;',

View File

@@ -1799,7 +1799,7 @@ $lang = array(
'block' => "Блок: %s", 'block' => "Блок: %s",
'charges' => "%d |4заряд:заряда:зарядов;", 'charges' => "%d |4заряд:заряда:зарядов;",
'locked' => "Заперто", 'locked' => "Заперто",
'ratingString' => "%s&nbsp;@&nbsp;L%s", 'ratingString' => '<!--rtg%%%1$d-->%2$.2F%%&nbsp;на&nbsp;<!--lvl-->%3$d&nbsp;ур.',
'heroic' => "Героический", 'heroic' => "Героический",
'startQuest' => "Этот предмет позволяет получить задание.", 'startQuest' => "Этот предмет позволяет получить задание.",
'bagSlotString' => '%2$s (%1$d |4ячейка:ячейки:ячеек;)', 'bagSlotString' => '%2$s (%1$d |4ячейка:ячейки:ячеек;)',

View File

@@ -1798,7 +1798,7 @@ $lang = array(
'block' => "%d格挡", 'block' => "%d格挡",
'charges' => "%d次", 'charges' => "%d次",
'locked' => "已锁", 'locked' => "已锁",
'ratingString' => "%s&nbsp;@&nbsp;L%s", 'ratingString' => '<!--rtg%%%1$d-->%2$.2F%%&nbsp;@&nbsp;Lvl<!--lvl-->%3$d',
'heroic' => "英雄级别", 'heroic' => "英雄级别",
'startQuest' => "该物品将触发一个任务", 'startQuest' => "该物品将触发一个任务",
'bagSlotString' => "%d格%s", 'bagSlotString' => "%d格%s",