[I18N] Improve translatability of archived labels
Allow any position and writing style of `(Archived)`.
(cherry picked from commit cab47bbb0e
)
This commit is contained in:
parent
4ef8b139f2
commit
b068d193d0
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 == "" {
|
||||
|
|
|
@ -1628,6 +1628,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…
Add table
Reference in a new issue