Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Do not translate chat box commands. #6815

Merged
merged 1 commit into from
Nov 15, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading