Rename Fluent-related code to be more precise.
This commit is contained in:
@@ -334,11 +334,11 @@ namespace OpenRA.Mods.Common.UpdateRules
|
||||
return string.Join("\n", messages.Select(m => prefix + $" {separator} {m.Replace("\n", "\n " + prefix)}"));
|
||||
}
|
||||
|
||||
public static bool IsAlreadyTranslated(string translation)
|
||||
public static bool IsAlreadyExtracted(string key)
|
||||
{
|
||||
if (translation == translation.ToLowerInvariant() && translation.Any(c => c == '-') && translation.All(c => c != ' '))
|
||||
if (key == key.ToLowerInvariant() && key.Any(c => c == '-') && key.All(c => c != ' '))
|
||||
{
|
||||
Console.WriteLine($"Skipping {translation} because it is already translated.");
|
||||
Console.WriteLine($"Skipping {key} because it is already extracted.");
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user