diff --git a/src/App.axaml.cs b/src/App.axaml.cs index 69917120..f1676fa3 100644 --- a/src/App.axaml.cs +++ b/src/App.axaml.cs @@ -191,6 +191,10 @@ namespace SourceGit var fmt = Current.FindResource($"Text.{key}") as string; if (string.IsNullOrWhiteSpace(fmt)) return $"Text.{key}"; + + if (args == null || args.Length == 0) + return fmt; + return string.Format(fmt, args); }