Skip to content

Commit

Permalink
fix(DB/acore_string) Replace %u with {}
Browse files Browse the repository at this point in the history
  • Loading branch information
pangolp committed Oct 26, 2024
1 parent f061cbc commit 9ebb921
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 14 deletions.
8 changes: 4 additions & 4 deletions data/sql/db-world/updates/mod_individual_xp_acore_string.sql
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@ INSERT INTO `acore_string` (`entry`, `content_default`, `locale_koKR`, `locale_f
(@ENTRY+0, 'This server is running the |cff4CFF00IndividualXpRate |rmodule.', '', '', '', '', '', 'Este servidor está ejecutando el módulo |cff4CFF00 mod-individual-xp.', 'Este servidor está ejecutando el módulo |cff4CFF00 mod-individual-xp.', ''),
(@ENTRY+1, '[XP] The Individual XP module is deactivated.', '', '', '', '', '', '[XP] El módulo XP individual está desactivado.', '[XP] El módulo XP individual está desactivado.', ''),
(@ENTRY+2, '[XP] Your Individual XP is currently disabled. Use .xp enable to re-enable it.', '', '', '', '', '', '[XP] Su XP individual está actualmente desactivado. Utilice .xp enable para volver a activarlo.', '[XP] Su XP individual está actualmente desactivado. Utilice .xp enable para volver a activarlo.', ''),
(@ENTRY+3, '[XP] Your current XP rate is %u.', '', '', '', '', '', '[XP] Su experiencia actual es %u.', '[XP] su experiencia actual es %u.', ''),
(@ENTRY+4, '[XP] The maximum rate limit is %u.', '', '', '', '', '', '[XP] El límite máximo de XP es %u.', '[XP] El límite máximo de XP es %u.', ''),
(@ENTRY+3, '[XP] Your current XP rate is {}.', '', '', '', '', '', '[XP] Su experiencia actual es {}.', '[XP] su experiencia actual es {}.', ''),
(@ENTRY+4, '[XP] The maximum rate limit is {}.', '', '', '', '', '', '[XP] El límite máximo de XP es {}.', '[XP] El límite máximo de XP es {}.', ''),
(@ENTRY+5, '[XP] The minimum rate limit is 1.', '', '', '', '', '', '[XP] El límite mínimo de XP es 1.', '[XP] El límite mínimo de XP es 1.', ''),
(@ENTRY+6, '[XP] You have updated your XP rate to %u.', '', '', '', '', '', '[XP] Has actualizado tu XP a %u', '[XP] Has actualizado tu XP a %u', ''),
(@ENTRY+6, '[XP] You have updated your XP rate to {}.', '', '', '', '', '', '[XP] Has actualizado tu XP a {}', '[XP] Has actualizado tu XP a {}', ''),
(@ENTRY+7, '[XP] You have disabled your XP gain.', '', '', '', '', '', '[XP] Has desactivado tu ganancia de XP.', '[XP] Has desactivado tu ganancia de XP.', ''),
(@ENTRY+8, '[XP] You have enabled your XP gain.', '', '', '', '', '', '[XP] Has activado tu ganancia de XP.', '[XP] Has activado tu ganancia de XP.', ''),
(@ENTRY+9, '[XP] You have restored your XP rate to the default value of %u.', '', '', '', '', '', '[XP] Has restaurado tu tasa de XP al valor por defecto de %u.', '[XP] Has restaurado tu tasa de XP al valor por defecto de %u.', '');
(@ENTRY+9, '[XP] You have restored your XP rate to the default value of {}.', '', '', '', '', '', '[XP] Has restaurado tu tasa de XP al valor por defecto de {}.', '[XP] Has restaurado tu tasa de XP al valor por defecto de {}.', '');
20 changes: 10 additions & 10 deletions src/Individual_XP.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -34,16 +34,16 @@ class IndividualXPConf : public WorldScript

enum IndividualXPAcoreString
{
ACORE_STRING_CREDIT = 35411,
ACORE_STRING_MODULE_DISABLED,
ACORE_STRING_RATES_DISABLED,
ACORE_STRING_COMMAND_VIEW,
ACORE_STRING_MAX_RATE,
ACORE_STRING_MIN_RATE,
ACORE_STRING_COMMAND_SET,
ACORE_STRING_COMMAND_DISABLED,
ACORE_STRING_COMMAND_ENABLED,
ACORE_STRING_COMMAND_DEFAULT
ACORE_STRING_CREDIT = 35411,
ACORE_STRING_MODULE_DISABLED = 35412,
ACORE_STRING_RATES_DISABLED = 35413,
ACORE_STRING_COMMAND_VIEW = 35414,
ACORE_STRING_MAX_RATE = 35415,
ACORE_STRING_MIN_RATE = 35416,
ACORE_STRING_COMMAND_SET = 35417,
ACORE_STRING_COMMAND_DISABLED = 35418,
ACORE_STRING_COMMAND_ENABLED = 35419,
ACORE_STRING_COMMAND_DEFAULT = 35420
};

class IndividualXpAnnounce : public PlayerScript
Expand Down

0 comments on commit 9ebb921

Please sign in to comment.