GUI: U32: Use Common::U32String::format where necessary and GUIError to u32
- Where necessary as in, where translated messages are used. - GUIErrorMessage now takes in U32String - error messages across some engines use U32Strings. they are changed because they show a message dialog.
This commit is contained in:
parent
1ca1712b4d
commit
e22b32abfe
48 changed files with 133 additions and 133 deletions
|
@ -229,7 +229,7 @@ void FilesPageHandler::handle(Client &client) {
|
|||
replace(response, "{create_directory_desc}", _("Type new directory name:").encode());
|
||||
replace(response, "{upload_file_desc}", _("Select a file to upload:").encode());
|
||||
replace(response, "{or_upload_directory_desc}", _("Or select a directory (works in Chrome only):").encode());
|
||||
replace(response, "{index_of_directory}", Common::String::format("%s %s", _("Index of").encode().c_str(), encodeHtmlEntities(getDisplayPath(client.queryParameter("path")))));
|
||||
replace(response, "{index_of_directory}", Common::String::format("%s %s", _("Index of").encode().c_str(), encodeHtmlEntities(getDisplayPath(client.queryParameter("path"))).c_str()));
|
||||
replace(response, "{content}", content);
|
||||
LocalWebserver::setClientGetHandler(client, response);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue