mirror of
https://github.com/wesnoth/wesnoth
synced 2025-04-25 11:57:19 +00:00
Fix formatting of invalid characters for #2043.
This commit is contained in:
parent
44ed26dd00
commit
a4e7cb01e8
@ -158,8 +158,8 @@ bool addons_client::upload_addon(const std::string& id, std::string& response_me
|
||||
vgettext("The add-on <i>$addon_title</i> has an invalid file or directory "
|
||||
"name and cannot be published. "
|
||||
|
||||
"File or directory names may not contain whitespace, control characters or any of the following characters: '" * / : < > ? \\ | ~'. "
|
||||
"It also may not contain '..' end with '.' or be longer than 255 characters."
|
||||
"File or directory names may not contain '..' or end with '.' or be longer than 255 characters. "
|
||||
"It also may not contain whitespace, control characters, or any of the following characters:\n\n' * / : < > ? \\ | ~"
|
||||
, i18n_symbols);
|
||||
this->last_error_data_ = font::escape_text(utils::join(badnames, "\n"));
|
||||
return false;
|
||||
|
Loading…
x
Reference in New Issue
Block a user