Rename Fluent *GetString methods to GetMessage.

This commit is contained in:
Paul Chote
2024-10-19 13:09:40 +01:00
committed by Gustas
parent 09063d23da
commit 67254e0b39
104 changed files with 396 additions and 396 deletions

View File

@@ -112,15 +112,15 @@ namespace OpenRA
}
}
public string GetString(string key, object[] args = null)
public string GetMessage(string key, object[] args = null)
{
if (!TryGetString(key, out var message, args))
if (!TryGetMessage(key, out var message, args))
message = key;
return message;
}
public bool TryGetString(string key, out string value, object[] args = null)
public bool TryGetMessage(string key, out string value, object[] args = null)
{
if (key == null)
throw new ArgumentNullException(nameof(key));