Skip to content

Commit

Permalink
feat add zhCN locale string (#9)
Browse files Browse the repository at this point in the history
  • Loading branch information
pangolp authored Jul 20, 2023
1 parent b44c3dc commit 813a430
Show file tree
Hide file tree
Showing 4 changed files with 31 additions and 3 deletions.
2 changes: 1 addition & 1 deletion data/sql/db-world/base/npc_promotion_acore_string.sql
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ SET @ENTRY:=40000;

DELETE FROM `acore_string` WHERE `entry`=@ENTRY;
INSERT INTO `acore_string` (`entry`, `content_default`, `locale_koKR`, `locale_frFR`, `locale_deDE`, `locale_zhCN`, `locale_zhTW`, `locale_esES`, `locale_esMX`, `locale_ruRU`) VALUES
(@ENTRY, "This server is running the |cff4CFF00Npc Promotion |rmodule.", NULL, NULL, NULL, NULL, NULL, "Este servidor está utilizando |cff4CFF00 mod-npc-promotion |r.", "Este servidor está utilizando |cff4CFF00 mod-npc-promotion |r.", NULL);
(@ENTRY, "This server is running the |cff4CFF00Npc Promotion |rmodule.", NULL, NULL, NULL, "已启用 |cff4CFF00直升服务NPC |r模块.", NULL, "Este servidor está utilizando |cff4CFF00 mod-npc-promotion |r.", "Este servidor está utilizando |cff4CFF00 mod-npc-promotion |r.", NULL);
4 changes: 4 additions & 0 deletions data/sql/db-world/base/npc_promotion_creature_template.sql
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,7 @@ SET @MODELID1:=22234;
DELETE FROM `creature_template` WHERE `entry`=@ENTRY;
INSERT INTO `creature_template` (`entry`, `difficulty_entry_1`, `difficulty_entry_2`, `difficulty_entry_3`, `KillCredit1`, `KillCredit2`, `modelid1`, `modelid2`, `modelid3`, `modelid4`, `name`, `subname`, `IconName`, `gossip_menu_id`, `minlevel`, `maxlevel`, `exp`, `faction`, `npcflag`, `speed_walk`, `speed_run`, `speed_swim`, `speed_flight`, `detection_range`, `scale`, `rank`, `dmgschool`, `DamageModifier`, `BaseAttackTime`, `RangeAttackTime`, `BaseVariance`, `RangeVariance`, `unit_class`, `unit_flags`, `unit_flags2`, `dynamicflags`, `family`, `trainer_type`, `trainer_spell`, `trainer_class`, `trainer_race`, `type`, `type_flags`, `lootid`, `pickpocketloot`, `skinloot`, `PetSpellDataId`, `VehicleId`, `mingold`, `maxgold`, `AIName`, `MovementType`, `HoverHeight`, `HealthModifier`, `ManaModifier`, `ArmorModifier`, `ExperienceModifier`, `RacialLeader`, `movementId`, `RegenHealth`, `mechanic_immune_mask`, `spell_school_immune_mask`, `flags_extra`, `ScriptName`, `VerifiedBuild`) VALUES
(@ENTRY, 0, 0, 0, 0, 0, @MODELID1, 0, 0, 0, @NAME, @SUBNAME, NULL, @GOSSIP, 83, 83, 0, 35, 1, 1, 1, 0, 0, 20, 2, 0, 0, 0, 0, 0, 1, 1, 1, 768, 2048, 0, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 0, '', 0, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 'npc_promocion', 12340);

DELETE FROM `creature_template_locale` WHERE `entry`=@ENTRY;
INSERT INTO `creature_template_locale` (`entry`, `locale`, `Name`, `Title`, `VerifiedBuild`) VALUES
(@ENTRY, "zhCN", "新人伴手礼", "直升服务", 18019);
24 changes: 23 additions & 1 deletion data/sql/db-world/base/npc_promotion_gossip_menu_option.sql
Original file line number Diff line number Diff line change
Expand Up @@ -48,4 +48,26 @@ INSERT INTO `gossip_menu_option_locale` (`MenuID`, `OptionID`, `Locale`, `Option
(@MENUID, 18, "esES", "DRUIDA CASTER", ""),
(@MENUID, 19, "esES", "DRUIDA MELEE", ""),
(@MENUID, 20, "esES", "CERRAR MENU", ""),
(@MENUID, 21, "esES", "IR A DALARAN", "");
(@MENUID, 21, "esES", "IR A DALARAN", ""),
(@MENUID, 0, "zhCN", "坦克战士", ""),
(@MENUID, 1, "zhCN", "输出战士", ""),
(@MENUID, 2, "zhCN", "坦克骑士", ""),
(@MENUID, 3, "zhCN", "治疗骑士", ""),
(@MENUID, 4, "zhCN", "输出骑士", ""),
(@MENUID, 5, "zhCN", "猎人", ""),
(@MENUID, 6, "zhCN", "盗贼", ""),
(@MENUID, 7, "zhCN", "治疗牧师", ""),
(@MENUID, 8, "zhCN", "法系牧师", ""),
(@MENUID, 9, "zhCN", "坦克死亡骑士", ""),
(@MENUID, 10, "zhCN", "输出死亡骑士", ""),
(@MENUID, 11, "zhCN", "法系萨满", ""),
(@MENUID, 12, "zhCN", "近战萨满", ""),
(@MENUID, 13, "zhCN", "治疗萨满", ""),
(@MENUID, 14, "zhCN", "法师", ""),
(@MENUID, 15, "zhCN", "术士", ""),
(@MENUID, 16, "zhCN", "坦克德鲁伊", ""),
(@MENUID, 17, "zhCN", "治疗德鲁伊", ""),
(@MENUID, 18, "zhCN", "法系德鲁伊", ""),
(@MENUID, 19, "zhCN", "近战德鲁伊", ""),
(@MENUID, 20, "zhCN", "关闭菜单", ""),
(@MENUID, 21, "zhCN", "前往达拉然", "");
4 changes: 3 additions & 1 deletion data/sql/db-world/base/npc_promotion_npc_text.sql
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,6 @@ INSERT INTO `npc_text` (`ID`, `text0_0`, `text0_1`, `BroadcastTextID0`, `lang0`,

DELETE FROM `npc_text_locale` WHERE `ID`=@ID;
INSERT INTO `npc_text_locale` (`ID`, `Locale`, `Text0_0`, `Text0_1`, `Text1_0`, `Text1_1`, `Text2_0`, `Text2_1`, `Text3_0`, `Text3_1`, `Text4_0`, `Text4_1`, `Text5_0`, `Text5_1`, `Text6_0`, `Text6_1`, `Text7_0`, `Text7_1`) VALUES
(@ID, "esES", "Saludos, $n$B$BBienvenido a AzerothCore Server. Mi trabajo consiste en darte una promoción. Pero elije bien, porque el número es limitado. Una vez que elijas el personaje, selecciona la especialización. Pero medítalo bien antes de elegir. Podría ser tu única elección.$B$BSi solamente cuentas con la opción de cerrar el menú, puede ser por 2 razones. Tu clase no está habilitada (para balancear mejor el servidor) o ya recibiste la promoción con otro personaje/s y superaste el límite permitido.", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "");
(@ID, "esES", "Saludos, $n$B$BBienvenido a AzerothCore Server. Mi trabajo consiste en darte una promoción. Pero elije bien, porque el número es limitado. Una vez que elijas el personaje, selecciona la especialización. Pero medítalo bien antes de elegir. Podría ser tu única elección.$B$BSi solamente cuentas con la opción de cerrar el menú, puede ser por 2 razones. Tu clase no está habilitada (para balancear mejor el servidor) o ya recibiste la promoción con otro personaje/s y superaste el límite permitido.", "", "", "", "", "", "", "", "", "", "", "", "", "", "", ""),
(@ID, "esMX", "Saludos, $n$B$BBienvenido a AzerothCore Server. Mi trabajo consiste en darte una promoción. Pero elije bien, porque el número es limitado. Una vez que elijas el personaje, selecciona la especialización. Pero medítalo bien antes de elegir. Podría ser tu única elección.$B$BSi solamente cuentas con la opción de cerrar el menú, puede ser por 2 razones. Tu clase no está habilitada (para balancear mejor el servidor) o ya recibiste la promoción con otro personaje/s y superaste el límite permitido.", "", "", "", "", "", "", "", "", "", "", "", "", "", "", ""),
(@ID, "zhCN", "欢迎你,$n$B$B您好,欢迎来到魔兽世界,我的工作是为您提供直升服务。但是请明智选择,因为数量有限。一旦您选择了角色,请选择专业。在选择之前,请仔细思考。这可能是您唯一的选择。$B$B如果您只能选择关闭菜单,则有两个原因。您的职业未启用(以更好地平衡服务器),或者您已经使用其他角色/超过了允许的限制。", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "");

0 comments on commit 813a430

Please sign in to comment.