diff options
Diffstat (limited to 'src/gui/models/magicschoolmodel.h')
-rw-r--r-- | src/gui/models/magicschoolmodel.h | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/src/gui/models/magicschoolmodel.h b/src/gui/models/magicschoolmodel.h index 7237b5eec..96a433cf6 100644 --- a/src/gui/models/magicschoolmodel.h +++ b/src/gui/models/magicschoolmodel.h @@ -1,11 +1,11 @@ /* - * The ManaPlus Client + * The ManaVerse Client * Copyright (C) 2009 The Mana World Development Team * Copyright (C) 2009-2010 Andrei Karas * Copyright (C) 2011-2020 The ManaPlus Developers - * Copyright (C) 2020-2023 The ManaVerse Developers + * Copyright (C) 2020-2025 The ManaVerse Developers * - * This file is part of The ManaPlus Client. + * This file is part of The ManaVerse Client. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -30,7 +30,7 @@ #include "localconsts.h" -const char *MAGIC_SCHOOL_TEXT[6] = +const char *MAGIC_SCHOOL_TEXT[] = { // TRANSLATORS: magic school N_("General Magic"), @@ -43,7 +43,9 @@ const char *MAGIC_SCHOOL_TEXT[6] = // TRANSLATORS: magic school N_("Nature Magic"), // TRANSLATORS: magic school - N_("Astral Magic") + N_("Astral Magic"), + // TRANSLATORS: magic school + N_("Dark Magic"), }; class MagicSchoolModel final : public ListModel @@ -57,7 +59,7 @@ class MagicSchoolModel final : public ListModel int getNumberOfElements() override final { - return 6; + return NUM_ELEMENTS(MAGIC_SCHOOL_TEXT); } std::string getElementAt(int i) override final |