Add TranslationProvider
This commit is contained in:
committed by
Matthias Mailänder
parent
a065e6a47c
commit
68eec52cef
@@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user