diff options
author | Fedja Beader <fedja@protonmail.ch> | 2025-06-23 20:10:02 +0000 |
---|---|---|
committer | Fedja Beader <fedja@protonmail.ch> | 2025-06-23 20:10:02 +0000 |
commit | b0052ff6b29c0f8222b7b9b659e2750b2470fb18 (patch) | |
tree | aa2499e93cf3297d4a0f47510eeec3db10801dd6 | |
parent | 6942ff9c8b71d432cefd0a7e904165611670d058 (diff) | |
download | manaplus-b0052ff6b29c0f8222b7b9b659e2750b2470fb18.tar.gz manaplus-b0052ff6b29c0f8222b7b9b659e2750b2470fb18.tar.bz2 manaplus-b0052ff6b29c0f8222b7b9b659e2750b2470fb18.tar.xz manaplus-b0052ff6b29c0f8222b7b9b659e2750b2470fb18.zip |
Clarify that sort by type also sorts by slot
depends on !192
****
mana/plus!197
-rw-r--r-- | src/gui/models/sortlistmodelbuy.h | 4 | ||||
-rw-r--r-- | src/gui/models/sortlistmodelinv.h | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/src/gui/models/sortlistmodelbuy.h b/src/gui/models/sortlistmodelbuy.h index 19e6ee8d9..8d5b316ae 100644 --- a/src/gui/models/sortlistmodelbuy.h +++ b/src/gui/models/sortlistmodelbuy.h @@ -28,7 +28,7 @@ #include "utils/gettext.h" -static const char *const SORT_NAME_BUY[8] = +static const char *const SORT_NAME_BUY[] = { // TRANSLATORS: buy dialog sort type. N_("unsorted"), @@ -45,7 +45,7 @@ static const char *const SORT_NAME_BUY[8] = // TRANSLATORS: buy dialog sort type. N_("by amount"), // TRANSLATORS: buy dialog sort type. - N_("by type") + N_("by type & slot"), }; class SortListModelBuy final : public ListModel diff --git a/src/gui/models/sortlistmodelinv.h b/src/gui/models/sortlistmodelinv.h index 9ed661aa6..fdd6cdb50 100644 --- a/src/gui/models/sortlistmodelinv.h +++ b/src/gui/models/sortlistmodelinv.h @@ -27,7 +27,7 @@ #include "utils/gettext.h" -static const char *const SORT_NAME_INVENTORY[7] = +static const char *const SORT_NAME_INVENTORY[] = { // TRANSLATORS: inventory sort mode N_("default"), @@ -42,7 +42,7 @@ static const char *const SORT_NAME_INVENTORY[7] = // TRANSLATORS: inventory sort mode N_("by amount"), // TRANSLATORS: inventory sort mode - N_("by type") + N_("by type & slot"), }; class SortListModelInv final : public ListModel |