Misc/Fixups

* fix text vars in tooltips for missing entities
 * fix notice in weapon GS calculation
 * reduce tooltip max width slightly to prevent overlap with secondary tooltip
This commit is contained in:
Sarjuuk
2023-04-05 02:46:47 +02:00
parent e0a3c44776
commit 02239b4f74
5 changed files with 13 additions and 11 deletions

View File

@@ -3185,7 +3185,7 @@ UNLOCK TABLES;
LOCK TABLES `aowow_dbversion` WRITE;
/*!40000 ALTER TABLE `aowow_dbversion` DISABLE KEYS */;
INSERT INTO `aowow_dbversion` VALUES (1679679566,0,NULL,NULL);
INSERT INTO `aowow_dbversion` VALUES (1680717297,0,NULL,NULL);
/*!40000 ALTER TABLE `aowow_dbversion` ENABLE KEYS */;
UNLOCK TABLES;

View File

@@ -68,12 +68,12 @@ if (typeof $WowheadPower == "undefined") {
CURSOR_VSPACE = 15,
_LANG = {
0: { achievementComplete: "Achievement earned by $1 on $2/$3/$4", loading: "Loading…", noResponse: "No response from server :(", notFound: "%s Not Found" },
2: { achievementComplete: "Haut-fait reçu par $1 le $2/$3/$4", loading: "Chargement…", noResponse: "Pas de réponse du serveur :(", notFound: "%s non trouvé" },
3: { achievementComplete: "Erfolg wurde von $1 am $3.$2.$4 errungen", loading: "Lädt…", noResponse: "Keine Antwort vom Server :(", notFound: "%s nicht gefunden" },
4: { achievementComplete: "$1在$2/$3/$4上获得成就", loading: "正在载入…", noResponse: "服务器没有响应 :(", notFound: "%s未找到" },
8: { achievementComplete: "$1 получил(а) это достижение $2/$3/$4", loading: "Загрузка…", noResponse: "Нет ответа от сервера :(", notFound: "%s не найдено" },
6: { achievementComplete: "Logro conseguido por $1 el $2/$3/$4", loading: "Cargando…", noResponse: "No hay respuesta del servidor :(", notFound: "%s no encontrado/a" },
0: { achievementComplete: "Achievement earned by $1 on $2/$3/$4", loading: "Loading…", noResponse: "No response from server :(", notFound: "$1 Not Found" },
2: { achievementComplete: "Haut-fait reçu par $1 le $2/$3/$4", loading: "Chargement…", noResponse: "Pas de réponse du serveur :(", notFound: "$1 non trouvé" },
3: { achievementComplete: "Erfolg wurde von $1 am $3.$2.$4 errungen", loading: "Lädt…", noResponse: "Keine Antwort vom Server :(", notFound: "$1 nicht gefunden" },
4: { achievementComplete: "$1在$2/$3/$4上获得成就", loading: "正在载入…", noResponse: "服务器没有响应 :(", notFound: "$1未找到" },
8: { achievementComplete: "$1 получил(а) это достижение $2/$3/$4", loading: "Загрузка…", noResponse: "Нет ответа от сервера :(", notFound: "$1 не найдено" },
6: { achievementComplete: "Logro conseguido por $1 el $2/$3/$4", loading: "Cargando…", noResponse: "No hay respuesta del servidor :(", notFound: "$1 no encontrado/a" },
},
LOOKUPS = {
1: [npcs, "npc", "NPC" ],
@@ -878,3 +878,4 @@ if (typeof $WowheadPower == "undefined") {
init();
}
};

View File

@@ -1 +1 @@
UPDATE `aowow_dbversion` SET `build` = CONCAT(IFNULL(`sql`, ''), ' spell');
UPDATE `aowow_dbversion` SET `sql` = CONCAT(IFNULL(`sql`, ''), ' spell');

View File

@@ -0,0 +1 @@
UPDATE `aowow_dbversion` SET `build` = CONCAT(IFNULL(`build`, ''), ' power');

View File

@@ -1912,7 +1912,7 @@ $WH.Tooltip = {
set: function(text, text2) {
var _ = $WH.Tooltip.tooltip;
_.style.maxWidth = '350px';
_.style.maxWidth = '320px';
// _.style.width = '550px';
_.style.left = '-2323px';
_.style.top = '-2323px';
@@ -1933,7 +1933,7 @@ $WH.Tooltip = {
$WH.Tooltip.showSecondary = true;
var _ = $WH.Tooltip.tooltip2;
_.style.maxWidth = '350px';
_.style.maxWidth = '320px';
// _.style.width = '550px';
_.style.left = '-2323px';
_.style.top = '-2323px';