forked from forgejo/forgejo
[I18N] Improve translatability of archived labels
Allow any position and writing style of `(Archived)`.
This commit is contained in:
parent
4b09dd11ec
commit
cab47bbb0e
2 changed files with 2 additions and 1 deletions
|
@ -137,7 +137,7 @@ func RenderLabel(ctx context.Context, locale translation.Locale, label *issues_m
|
|||
|
||||
if label.IsArchived() {
|
||||
archivedCSSClass = "archived-label"
|
||||
description = fmt.Sprintf("(%s) %s", locale.TrString("archived"), description)
|
||||
description = locale.TrString("repo.issues.archived_label_description", description)
|
||||
}
|
||||
|
||||
if labelScope == "" {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue