mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
Add clientside translations.
This commit is contained in:
parent
b28af0ed07
commit
b24e6433df
21 changed files with 629 additions and 46 deletions
|
@ -650,6 +650,7 @@ ChatBackend::ChatBackend():
|
|||
void ChatBackend::addMessage(std::wstring name, std::wstring text)
|
||||
{
|
||||
// Note: A message may consist of multiple lines, for example the MOTD.
|
||||
text = translate_string(text);
|
||||
WStrfnd fnd(text);
|
||||
while (!fnd.at_end())
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue