Skip to content

Commit

Permalink
Do not translate chat box commands.
Browse files Browse the repository at this point in the history
  • Loading branch information
nelchael authored and AJenbo committed Nov 15, 2023
1 parent 48d0b9d commit 43cc74c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 26 deletions.
10 changes: 5 additions & 5 deletions Source/control.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -550,11 +550,11 @@ std::string TextCmdLevelSeed(const std::string_view parameter)
}

std::vector<TextCmdItem> TextCmdList = {
{ N_("/help"), N_("Prints help overview or help for a specific command."), N_("[command]"), &TextCmdHelp },
{ N_("/arena"), N_("Enter a PvP Arena."), N_("<arena-number>"), &TextCmdArena },
{ N_("/arenapot"), N_("Gives Arena Potions."), N_("<number>"), &TextCmdArenaPot },
{ N_("/inspect"), N_("Inspects stats and equipment of another player."), N_("<player name>"), &TextCmdInspect },
{ N_("/seedinfo"), N_("Show seed infos for current level."), "", &TextCmdLevelSeed },
{ "/help", N_("Prints help overview or help for a specific command."), N_("[command]"), &TextCmdHelp },
{ "/arena", N_("Enter a PvP Arena."), N_("<arena-number>"), &TextCmdArena },
{ "/arenapot", N_("Gives Arena Potions."), N_("<number>"), &TextCmdArenaPot },
{ "/inspect", N_("Inspects stats and equipment of another player."), N_("<player name>"), &TextCmdInspect },
{ "/seedinfo", N_("Show seed infos for current level."), "", &TextCmdLevelSeed },
};

bool CheckTextCommand(const std::string_view text)
Expand Down
22 changes: 1 addition & 21 deletions Translations/pl.po
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
msgid ""
msgstr ""
"Project-Id-Version: DevilutionX\n"
"POT-Creation-Date: 2023-11-14 21:28+0100\n"
"POT-Creation-Date: 2023-11-14 21:46+0100\n"
"PO-Revision-Date: \n"
"Last-Translator: \n"
"Language-Team: \n"
Expand Down Expand Up @@ -1098,10 +1098,6 @@ msgstr ""
msgid "Inspecting player: "
msgstr ""

#: Source/control.cpp:553
msgid "/help"
msgstr "/help"

#: Source/control.cpp:553
msgid "Prints help overview or help for a specific command."
msgstr ""
Expand All @@ -1110,10 +1106,6 @@ msgstr ""
msgid "[command]"
msgstr "[polecenie]"

#: Source/control.cpp:554
msgid "/arena"
msgstr "/arena"

#: Source/control.cpp:554
msgid "Enter a PvP Arena."
msgstr ""
Expand All @@ -1122,10 +1114,6 @@ msgstr ""
msgid "<arena-number>"
msgstr "<numer-areny>"

#: Source/control.cpp:555
msgid "/arenapot"
msgstr "/arenapot"

#: Source/control.cpp:555
msgid "Gives Arena Potions."
msgstr ""
Expand All @@ -1134,10 +1122,6 @@ msgstr ""
msgid "<number>"
msgstr "<liczba>"

#: Source/control.cpp:556
msgid "/inspect"
msgstr "/inspect"

#: Source/control.cpp:556
msgid "Inspects stats and equipment of another player."
msgstr ""
Expand All @@ -1146,10 +1130,6 @@ msgstr ""
msgid "<player name>"
msgstr "<nazwa gracza>"

#: Source/control.cpp:557
msgid "/seedinfo"
msgstr "/seedinfo"

#: Source/control.cpp:557
msgid "Show seed infos for current level."
msgstr ""
Expand Down

0 comments on commit 43cc74c

Please sign in to comment.