ux: use localized text instead of hard-coded string annotated (#1305)

This commit is contained in:
leo 2025-05-13 13:01:15 +08:00
parent afc8a772dd
commit 142ee5a327
No known key found for this signature in database
2 changed files with 9 additions and 10 deletions

View file

@ -29,14 +29,13 @@ namespace SourceGit.Commands
continue;
var name = subs[0].Substring(10);
var message = subs[5].Trim();
tags.Add(new Models.Tag()
{
Name = name,
IsAnnotated = subs[1].Equals("tag", StringComparison.Ordinal),
SHA = string.IsNullOrEmpty(subs[3]) ? subs[2] : subs[3],
CreatorDate = ulong.Parse(subs[4]),
Message = string.IsNullOrEmpty(message) ? name : message,
Message = subs[5].Trim(),
});
}