From 1d216d0b4f8fcee01a96765a2214520301d38433 Mon Sep 17 00:00:00 2001 From: Drew Weymouth Date: Sun, 21 Jul 2024 16:40:10 -0700 Subject: [PATCH] rm extra translation --- res/translations/en.json | 1 - ui/util/util.go | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/res/translations/en.json b/res/translations/en.json index 4d23a89..2fb5581 100644 --- a/res/translations/en.json +++ b/res/translations/en.json @@ -99,7 +99,6 @@ "No radio stations available": "No radio stations available", "None": "None", "none": "none", - "(none)": "(none)", "none selected": "none selected", "OK": "OK", "optional": "optional", diff --git a/ui/util/util.go b/ui/util/util.go index 3867479..b479288 100644 --- a/ui/util/util.go +++ b/ui/util/util.go @@ -206,7 +206,7 @@ func DisplayReleaseType(releaseTypes mediaprovider.ReleaseTypes) string { func NewRatingSubmenu(onSetRating func(int)) *fyne.MenuItem { newRatingMenuItem := func(rating int) *fyne.MenuItem { - label := lang.L("(none)") + label := fmt.Sprintf("(%s)", lang.L("none")) if rating > 0 { label = strconv.Itoa(rating) }