mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-11-22 13:25:36 +03:00
[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 == "" {
|
||||
|
|
|
@ -1627,6 +1627,7 @@ issues.label_modify = Edit label
|
|||
issues.label_deletion = Delete label
|
||||
issues.label_deletion_desc = Deleting a label removes it from all issues. Continue?
|
||||
issues.label_deletion_success = The label has been deleted.
|
||||
issues.archived_label_description = (Archived) %s
|
||||
issues.label.filter_sort.alphabetically = Alphabetically
|
||||
issues.label.filter_sort.reverse_alphabetically = Reverse alphabetically
|
||||
issues.label.filter_sort.by_size = Smallest size
|
||||
|
|
Loading…
Reference in a new issue