mirror of
https://github.com/mt-mods/mail.git
synced 2025-03-15 06:01:25 +00:00
Move sorting fields settings to new Fields settings group
This commit is contained in:
parent
dc9c4f86b7
commit
19be2d46a2
1 changed files with 7 additions and 6 deletions
|
@ -26,11 +26,11 @@ mail.settings = {
|
||||||
label = S("Show CC/BCC in different color")
|
label = S("Show CC/BCC in different color")
|
||||||
},
|
},
|
||||||
defaultsortfield = {
|
defaultsortfield = {
|
||||||
type = "index", default = 3, group = "message_list", index = 3,
|
type = "index", default = 3, group = "box_fields", index = 1,
|
||||||
label = S("Default sorting field"), dataset = { S("From/To"), S("Subject"), S("Date") }
|
label = S("Default sorting field"), dataset = { S("From/To"), S("Subject"), S("Date") }
|
||||||
},
|
},
|
||||||
defaultsortdirection = {
|
defaultsortdirection = {
|
||||||
type = "index", default = 1, group = "message_list", index = 4,
|
type = "index", default = 1, group = "box_fields", index = 2,
|
||||||
label = S("Default sorting direction"), dataset = { S("Ascending"), S("Descending") }
|
label = S("Default sorting direction"), dataset = { S("Ascending"), S("Descending") }
|
||||||
},
|
},
|
||||||
trash_move_enable = {
|
trash_move_enable = {
|
||||||
|
@ -52,10 +52,11 @@ mail.settings = {
|
||||||
}
|
}
|
||||||
|
|
||||||
mail.settings_groups = {
|
mail.settings_groups = {
|
||||||
{ name = "notifications", label = S("Notifications")},
|
{ name = "notifications", label = S("Notifications"), index = 1, parent = 0},
|
||||||
{ name = "message_list", label = S("Message list")},
|
{ name = "message_list", label = S("Message list"), index = 2, parent = 0},
|
||||||
{ name = "spam", label = S("Spam")},
|
{ name = "box_fields", label = S("Fields"), index = 1, parent = "message_list"},
|
||||||
{ name = "other", label = S("Other")}
|
{ name = "spam", label = S("Spam"), index = 3, parent = 0},
|
||||||
|
{ name = "other", label = S("Other"), index = 4, parent = 0}
|
||||||
}
|
}
|
||||||
|
|
||||||
for s, d in pairs(mail.settings) do
|
for s, d in pairs(mail.settings) do
|
||||||
|
|
Loading…
Add table
Reference in a new issue