Skip to content

Commit 36170c5

Browse files
committed
Rephrase editor message shown on invalid main sector / spawnpoint and add a translator note to not translate "main" in both cases
1 parent 755cbb4 commit 36170c5

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

src/editor/editor.cpp

+8-2
Original file line numberDiff line numberDiff line change
@@ -1028,11 +1028,17 @@ Editor::check_save_prerequisites(const std::function<void ()>& callback) const
10281028
{
10291029
if (!sector_valid)
10301030
{
1031-
Dialog::show_message(_("Couldn't find a \"main\" sector.\nPlease change the name of the sector where\nyou'd like the player to start to \"main\""));
1031+
/*
1032+
l10n: When translating this message, please keep "main" untranslated (the game expects the name of the sector to be "main").
1033+
*/
1034+
Dialog::show_message(_("Couldn't find a sector with the name \"main\".\nPlease change the name of the sector where\nyou'd like the player to start to \"main\""));
10321035
}
10331036
else if (!spawnpoint_valid)
10341037
{
1035-
Dialog::show_message(_("Couldn't find a \"main\" spawnpoint.\n Please change the name of the spawnpoint where\nyou'd like the player to start to \"main\""));
1038+
/*
1039+
l10n: When translating this message, please keep "main" untranslated (the game expects the name of the spawnpoint to be "main").
1040+
*/
1041+
Dialog::show_message(_("Couldn't find a spawnpoint with the name \"main\".\nPlease change the name of the spawnpoint where\nyou'd like the player to start to \"main\""));
10361042
}
10371043
}
10381044

0 commit comments

Comments
 (0)