Dropdown value is translated

main
Bob Mottram 2021-08-05 20:25:31 +01:00
parent e9d93bef90
commit 935c838a79
1 changed files with 1 additions and 1 deletions

View File

@ -371,7 +371,7 @@ def htmlNewPost(cssCache: {}, mediaInstance: bool, translate: {},
if translate.get(category): if translate.get(category):
translatedCategory = translate[category] translatedCategory = translate[category]
extraFields += ' <option value="' + \ extraFields += ' <option value="' + \
category + '">' + \ translatedCategory + '">' + \
translatedCategory + '</option>' translatedCategory + '</option>'
extraFields += '<br>' extraFields += '<br>'
extraFields += \ extraFields += \