Skip to content

Commit

Permalink
Add labels for index-type settings
Browse files Browse the repository at this point in the history
  • Loading branch information
Athozus committed Dec 5, 2023
1 parent bebb7a8 commit 802f9f7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion locale/mail.fr.tr
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ Read=Lire
Automatic marking read=Lu automatique
Chat notifications=Notifications dans le tchat
Date format=Format de la date
Default sorting direction=
Default sorting direction=Direction de tri par défaut
Default sorting field=Champ de tri par défaut
HUD notifications=Notifications ATH
Mark a message as read when opened=Marquer un message comme lu lorsqu'il est ouvert
Expand Down
3 changes: 3 additions & 0 deletions ui/settings.lua
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,9 @@ function mail.show_settings(name)
local dataset_str = table.concat(formatted_dataset, ",")
local dataset_selected_id = field_default
formspec = formspec .. [[
label[]] .. x .. "," .. y .. ";" .. data.label .. "]"
y = y + 0.4
formspec = formspec .. [[
dropdown[]] .. x .. "," .. y .. ";3,0.5;" .. setting .. ";" ..
dataset_str .. [[;]] .. dataset_selected_id .. [[;true]
]]
Expand Down

0 comments on commit 802f9f7

Please sign in to comment.