2017-03-05 11:46:27 +00:00
|
|
|
local order = {
|
|
|
|
["KOMenu:menu_buttons"] = {
|
|
|
|
"setting",
|
|
|
|
"tools",
|
|
|
|
"search",
|
|
|
|
"main",
|
|
|
|
},
|
|
|
|
setting = {
|
2017-08-17 17:34:36 +00:00
|
|
|
"filemanager_display_mode",
|
2017-03-05 11:46:27 +00:00
|
|
|
"show_hidden_files",
|
2018-01-13 22:38:53 +00:00
|
|
|
"items_per_page",
|
2017-03-05 11:46:27 +00:00
|
|
|
"----------------------------",
|
|
|
|
"sort_by",
|
|
|
|
"reverse_sorting",
|
|
|
|
"----------------------------",
|
2017-08-14 11:15:12 +00:00
|
|
|
"start_with",
|
2017-03-05 11:46:27 +00:00
|
|
|
"screensaver",
|
|
|
|
"----------------------------",
|
|
|
|
-- common settings
|
|
|
|
-- those that don't exist will simply be skipped during menu gen
|
|
|
|
"frontlight", -- if Device:hasFrontlight()
|
|
|
|
"night_mode",
|
|
|
|
"----------------------------",
|
|
|
|
"network",
|
|
|
|
"screen",
|
|
|
|
"save_document",
|
|
|
|
"----------------------------",
|
|
|
|
"language",
|
2017-08-15 17:54:02 +00:00
|
|
|
"time",
|
2017-03-05 11:46:27 +00:00
|
|
|
-- end common settings
|
|
|
|
},
|
|
|
|
tools = {
|
|
|
|
"calibre_wireless_connection",
|
|
|
|
"evernote",
|
|
|
|
"statistics",
|
2017-05-30 07:51:19 +00:00
|
|
|
"storage_stat",
|
2017-03-05 11:46:27 +00:00
|
|
|
"cloud_storage",
|
2017-03-27 04:42:58 +00:00
|
|
|
"read_timer",
|
2017-05-08 20:15:42 +00:00
|
|
|
"news_downloader",
|
2017-06-24 07:55:31 +00:00
|
|
|
"----------------------------",
|
|
|
|
"more_plugins",
|
2017-03-05 11:46:27 +00:00
|
|
|
"----------------------------",
|
|
|
|
"advanced_settings",
|
|
|
|
"developer_options",
|
|
|
|
},
|
2017-06-24 07:55:31 +00:00
|
|
|
more_plugins = {
|
|
|
|
"auto_frontlight",
|
|
|
|
"frontlight_gesture_controller",
|
|
|
|
"battery_statistics",
|
|
|
|
"synchronize_time",
|
|
|
|
"keep_alive",
|
|
|
|
"terminal",
|
|
|
|
"storage_stat",
|
|
|
|
},
|
2017-03-05 11:46:27 +00:00
|
|
|
search = {
|
|
|
|
"dictionary_lookup",
|
2017-10-07 20:13:46 +00:00
|
|
|
"dictionary_lookup_history",
|
2017-08-22 15:24:31 +00:00
|
|
|
"dictionary_settings",
|
2017-07-03 06:29:11 +00:00
|
|
|
"----------------------------",
|
2017-05-12 16:28:42 +00:00
|
|
|
"wikipedia_lookup",
|
2017-12-17 12:02:08 +00:00
|
|
|
"wikipedia_history",
|
2017-08-22 15:24:31 +00:00
|
|
|
"wikipedia_settings",
|
2017-05-12 16:28:42 +00:00
|
|
|
"----------------------------",
|
2017-03-05 11:46:27 +00:00
|
|
|
"find_book_in_calibre_catalog",
|
|
|
|
"find_file",
|
|
|
|
"----------------------------",
|
2017-04-06 12:56:40 +00:00
|
|
|
"goodreads",
|
2017-03-05 11:46:27 +00:00
|
|
|
"opds_catalog",
|
|
|
|
},
|
|
|
|
main = {
|
|
|
|
"history",
|
|
|
|
"open_last_document",
|
|
|
|
"----------------------------",
|
2017-09-03 13:40:50 +00:00
|
|
|
"system_statistics",
|
|
|
|
"----------------------------",
|
2017-05-14 16:43:08 +00:00
|
|
|
"ota_update", --[[ if Device:isKindle() or Device:isKobo() or
|
|
|
|
Device:isPocketBook() or Device:isAndroid() ]]--
|
2017-03-05 11:46:27 +00:00
|
|
|
"version",
|
|
|
|
"help",
|
2017-05-14 16:43:08 +00:00
|
|
|
"----------------------------",
|
2017-09-03 13:40:50 +00:00
|
|
|
"exit_menu",
|
2017-03-05 11:46:27 +00:00
|
|
|
},
|
2017-04-03 21:52:47 +00:00
|
|
|
help = {
|
2017-04-15 12:45:56 +00:00
|
|
|
"quickstart_guide",
|
|
|
|
"----------------------------",
|
2017-04-03 21:52:47 +00:00
|
|
|
"report_bug",
|
|
|
|
"----------------------------",
|
|
|
|
"about",
|
|
|
|
},
|
2017-09-03 13:40:50 +00:00
|
|
|
exit_menu = {
|
|
|
|
"restart_koreader",
|
|
|
|
"----------------------------",
|
|
|
|
"sleep", -- if Device:isKindle() or Device:isKobo()
|
|
|
|
"poweroff", -- if Device:isKobo()
|
|
|
|
"reboot", -- if Device:isKobo()
|
|
|
|
"----------------------------",
|
|
|
|
"exit",
|
|
|
|
}
|
2017-03-05 11:46:27 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
return order
|