Add TranslationProvider

This commit is contained in:
Matthias Mailänder
2023-04-13 17:14:01 +03:00
committed by Matthias Mailänder
parent a065e6a47c
commit 68eec52cef
66 changed files with 384 additions and 333 deletions

View File

@@ -51,10 +51,10 @@ namespace OpenRA.Mods.Common.Scripting.Global
}
}
return Context.World.Map.Translate(text, argumentDictionary);
return TranslationProvider.GetString(text, argumentDictionary);
}
return Context.World.Map.Translate(text);
return TranslationProvider.GetString(text);
}
}
}