mirror of
https://github.com/Sarjuuk/aowow.git
synced 2025-11-29 15:58:16 +08:00
Tooltips/CombatRatings
* modenize interactive rating string
This commit is contained in:
@@ -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')
|
||||||
|
|||||||
@@ -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 @ L%s",
|
'ratingString' => '<!--rtg%%%1$d-->%2$.2F%% @ 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',
|
||||||
|
|||||||
@@ -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 @ L%s",
|
'ratingString' => '<!--rtg%%%1$d-->%2$.2F%% @ 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
|
||||||
|
|||||||
@@ -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 @ L%s",
|
'ratingString' => '<!--rtg%%%1$d-->%2$.2F%% @ 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',
|
||||||
|
|||||||
@@ -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 @ L%s",
|
'ratingString' => '<!--rtg%%%1$d-->%2$.2F%% au niveau <!--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;',
|
||||||
|
|||||||
@@ -1799,7 +1799,7 @@ $lang = array(
|
|||||||
'block' => "Блок: %s",
|
'block' => "Блок: %s",
|
||||||
'charges' => "%d |4заряд:заряда:зарядов;",
|
'charges' => "%d |4заряд:заряда:зарядов;",
|
||||||
'locked' => "Заперто",
|
'locked' => "Заперто",
|
||||||
'ratingString' => "%s @ L%s",
|
'ratingString' => '<!--rtg%%%1$d-->%2$.2F%% на <!--lvl-->%3$d ур.',
|
||||||
'heroic' => "Героический",
|
'heroic' => "Героический",
|
||||||
'startQuest' => "Этот предмет позволяет получить задание.",
|
'startQuest' => "Этот предмет позволяет получить задание.",
|
||||||
'bagSlotString' => '%2$s (%1$d |4ячейка:ячейки:ячеек;)',
|
'bagSlotString' => '%2$s (%1$d |4ячейка:ячейки:ячеек;)',
|
||||||
|
|||||||
@@ -1798,7 +1798,7 @@ $lang = array(
|
|||||||
'block' => "%d格挡",
|
'block' => "%d格挡",
|
||||||
'charges' => "%d次",
|
'charges' => "%d次",
|
||||||
'locked' => "已锁",
|
'locked' => "已锁",
|
||||||
'ratingString' => "%s @ L%s",
|
'ratingString' => '<!--rtg%%%1$d-->%2$.2F%% @ Lvl<!--lvl-->%3$d',
|
||||||
'heroic' => "英雄级别",
|
'heroic' => "英雄级别",
|
||||||
'startQuest' => "该物品将触发一个任务",
|
'startQuest' => "该物品将触发一个任务",
|
||||||
'bagSlotString' => "%d格%s",
|
'bagSlotString' => "%d格%s",
|
||||||
|
|||||||
Reference in New Issue
Block a user