{= # TRANSLATORS: Translate the values in quotes on the next few lines, and do not translate the rest of the file string page_title = "All Options"; string command_line_category = "Command Line Options"; string preferences_category = "Preferences"; string profile_category = "Profile Options"; volatile.option_label_label = "Option name"; volatile.option_name_label = "Command-line name"; volatile.option_shortcut_label = "Command-line shortcut"; volatile.option_short_description_label = "Description"; # NO TRANSLATION NEEDED BELOW THIS POINT include("util"); start_docs_page(page_title); subroutine(display_options(string thisnode, bool subtable), ( debug_message("node: " . thisnode . "\n"); # Add the header if this is the top if (!subtable) then ( # Start the table "
$volatile.option_label_label | \n"); expand("$volatile.option_short_description_label | \n"); # "$volatile.option_name_label | \n"; # "$volatile.option_shortcut_label | \n"; "
\n"; string label_node = "lang_options." . trimmed_option_name . ".label"; debug_message("label_node: " . label_node . "\n"); if (node_exists(label_node)) then ( debug_message("Label exists in lang_options\n"); docs_option_link(full_option_name); ) else ( "no label"; ); " | \n"; # Add the short description "\n";
string short_description_node = "lang_options." . trimmed_option_name . ".short_description";
if (node_exists(short_description_node)) then (
expand($(short_description_node));
)
else (
"no short description";
);
" \n"; # Start the command-line info "\n"; # Add the node name " \n"; expand("$volatile.option_name_label:\n"); expand(" $command_line_option_name ");
# Add the shortcut
string shortcut_node = "option_info." . trimmed_option_name . ".shortcut";
if (node_exists(shortcut_node)) then (
"\n"; expand("$volatile.option_shortcut_label:\n"); " " . $(shortcut_node) . " ";
);
# Finish the command line info
"\n";
# Finish the description cell
" | \n";
# End the row
"