Files
transmission/gtk/transmission-ui.xml
Charles Kerr 850d2a277f refactor: use snake_case for action names in GTK client (#8008)
* refactor use snake_case for action names in GTK app

* refactor: remove tr_quark_convert() use
2025-12-25 14:01:23 -06:00

498 lines
21 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<interface>
<requires lib="gtk+" version="3.24"/>
<menu id="main_window_menu">
<submenu>
<attribute name="label" translatable="true">_File</attribute>
<section>
<item>
<attribute name="action">win.open_torrent</attribute>
<attribute name="icon">document-open</attribute>
<attribute name="label" translatable="yes">_Open</attribute>
<attribute name="accel">&lt;control&gt;O</attribute>
<attribute name="tooltip" translatable="yes">Open a torrent</attribute>
</item>
<item>
<attribute name="action">win.open_torrent_from_url</attribute>
<attribute name="icon">document-open</attribute>
<attribute name="label" translatable="yes">Open _URL…</attribute>
<attribute name="accel">&lt;control&gt;U</attribute>
<attribute name="tooltip" translatable="yes">Open URL…</attribute>
</item>
<item>
<attribute name="action">win.new_torrent</attribute>
<attribute name="icon">document-new</attribute>
<attribute name="accel">&lt;control&gt;N</attribute>
<attribute name="label" translatable="yes">_New…</attribute>
</item>
</section>
<section>
<item>
<attribute name="action">win.start_all_torrents</attribute>
<attribute name="icon">media-playback-start</attribute>
<attribute name="label" translatable="yes">_Start All</attribute>
<attribute name="tooltip" translatable="yes">Start all torrents</attribute>
</item>
<item>
<attribute name="action">win.pause_all_torrents</attribute>
<attribute name="icon">media-playback-pause</attribute>
<attribute name="label" translatable="yes">_Pause All</attribute>
<attribute name="tooltip" translatable="yes">Pause all torrents</attribute>
</item>
</section>
<section>
<item>
<attribute name="action">win.quit</attribute>
<attribute name="icon">application-exit</attribute>
<attribute name="accel">&lt;control&gt;Q</attribute>
<attribute name="label" translatable="yes">_Quit</attribute>
</item>
</section>
</submenu>
<submenu>
<attribute name="label" translatable="true">_Edit</attribute>
<section>
<item>
<attribute name="action">win.select_all</attribute>
<attribute name="icon">edit-select-all</attribute>
<attribute name="label" translatable="yes">Select _All</attribute>
<attribute name="accel">&lt;control&gt;A</attribute>
</item>
<item>
<attribute name="action">win.deselect_all</attribute>
<attribute name="label" translatable="yes">Dese_lect All</attribute>
<attribute name="accel">&lt;shift&gt;&lt;control&gt;A</attribute>
</item>
</section>
<section>
<item>
<attribute name="action">win.edit_preferences</attribute>
<attribute name="icon">preferences-system</attribute>
<attribute name="label" translatable="yes">_Preferences</attribute>
</item>
</section>
</submenu>
<submenu>
<attribute name="label" translatable="true">_Torrent</attribute>
<section>
<item>
<attribute name="action">win.show_torrent_properties</attribute>
<attribute name="icon">document-properties</attribute>
<attribute name="label" translatable="yes">_Properties</attribute>
<attribute name="accel">&lt;alt&gt;Return</attribute>
<attribute name="tooltip" translatable="yes">Torrent properties</attribute>
</item>
<item>
<attribute name="action">win.open_torrent_folder</attribute>
<attribute name="icon">document-open</attribute>
<attribute name="label" translatable="yes">Open Fold_er</attribute>
<attribute name="accel">&lt;control&gt;E</attribute>
</item>
</section>
<section>
<item>
<attribute name="action">win.torrent_start</attribute>
<attribute name="icon">media-playback-start</attribute>
<attribute name="label" translatable="yes">_Start</attribute>
<attribute name="accel">&lt;control&gt;S</attribute>
<attribute name="tooltop" translatable="yes">Start torrent</attribute>
</item>
<item>
<attribute name="action">win.torrent_start_now</attribute>
<attribute name="icon">media-playback-start</attribute>
<attribute name="label" translatable="yes">Start _Now</attribute>
<attribute name="accel">&lt;shift&gt;&lt;control&gt;S</attribute>
<attribute name="tooltop" translatable="yes">Start torrent now</attribute>
</item>
<item>
<attribute name="action">win.torrent_reannounce</attribute>
<attribute name="icon">network-workgroup</attribute>
<attribute name="label" translatable="yes">Ask Tracker for _More Peers</attribute>
</item>
<submenu>
<attribute name="label" translatable="true">_Queue</attribute>
<section>
<item>
<attribute name="action">win.queue_move_top</attribute>
<attribute name="icon">go-top</attribute>
<attribute name="label" translatable="yes">Move to _Top</attribute>
</item>
<item>
<attribute name="action">win.queue_move_up</attribute>
<attribute name="icon">go-up</attribute>
<attribute name="label" translatable="yes">Move _Up</attribute>
</item>
<item>
<attribute name="action">win.queue_move_down</attribute>
<attribute name="icon">go-down</attribute>
<attribute name="label" translatable="yes">Move _Down</attribute>
</item>
<item>
<attribute name="action">win.queue_move_bottom</attribute>
<attribute name="icon">go-bottom</attribute>
<attribute name="label" translatable="yes">Move to _Bottom</attribute>
</item>
</section>
</submenu>
<item>
<attribute name="action">win.torrent_stop</attribute>
<attribute name="icon">media-playback-pause</attribute>
<attribute name="label" translatable="yes">_Pause</attribute>
<attribute name="accel">&lt;control&gt;P</attribute>
<attribute name="tooltip" translatable="yes">Pause torrent</attribute>
</item>
</section>
<section>
<item>
<attribute name="action">win.relocate_torrent</attribute>
<attribute name="label" translatable="yes">Set _Location…</attribute>
</item>
<item>
<attribute name="action">win.torrent_verify</attribute>
<attribute name="label" translatable="yes">_Verify Local Data</attribute>
<attribute name="accel">&lt;control&gt;V</attribute>
</item>
<item>
<attribute name="action">win.copy_magnet_link_to_clipboard</attribute>
<attribute name="icon">edit-copy</attribute>
<attribute name="label" translatable="yes">Copy _Magnet Link to Clipboard</attribute>
</item>
</section>
<section>
<item>
<attribute name="action">win.remove_torrent</attribute>
<attribute name="icon">list-remove</attribute>
<attribute name="label" translatable="yes">Remove torrent</attribute>
<attribute name="accel">Delete</attribute>
</item>
<item>
<attribute name="action">win.delete_torrent</attribute>
<attribute name="icon">edit-delete</attribute>
<attribute name="label" translatable="yes">_Delete Files and Remove</attribute>
<attribute name="accel">&lt;shift&gt;Delete</attribute>
</item>
</section>
</submenu>
<submenu>
<attribute name="label" translatable="true">_View</attribute>
<section>
<item>
<attribute name="action">win.compact_view</attribute>
<attribute name="label" translatable="yes">_Compact View</attribute>
<attribute name="accel">&lt;alt&gt;C</attribute>
</item>
</section>
<section>
<item>
<attribute name="action">win.show_toolbar</attribute>
<attribute name="label" translatable="yes">_Toolbar</attribute>
</item>
<item>
<attribute name="action">win.show_filterbar</attribute>
<attribute name="label" translatable="yes">_Filterbar</attribute>
</item>
<item>
<attribute name="action">win.show_statusbar</attribute>
<attribute name="label" translatable="yes">_Statusbar</attribute>
</item>
</section>
<section>
<item>
<attribute name="action">win.sort_torrents</attribute>
<attribute name="label" translatable="yes">Sort by _Activity</attribute>
<attribute name="target">sort_by_activity</attribute>
</item>
<item>
<attribute name="action">win.sort_torrents</attribute>
<attribute name="label" translatable="yes">Sort by A_ge</attribute>
<attribute name="target">sort_by_age</attribute>
</item>
<item>
<attribute name="action">win.sort_torrents</attribute>
<attribute name="label" translatable="yes">Sort by _Name</attribute>
<attribute name="target">sort_by_name</attribute>
</item>
<item>
<attribute name="action">win.sort_torrents</attribute>
<attribute name="label" translatable="yes">Sort by _Progress</attribute>
<attribute name="target">sort_by_progress</attribute>
</item>
<item>
<attribute name="action">win.sort_torrents</attribute>
<attribute name="label" translatable="yes">Sort by _Queue</attribute>
<attribute name="target">sort_by_queue</attribute>
</item>
<item>
<attribute name="action">win.sort_torrents</attribute>
<attribute name="label" translatable="yes">Sort by Rati_o</attribute>
<attribute name="target">sort_by_ratio</attribute>
</item>
<item>
<attribute name="action">win.sort_torrents</attribute>
<attribute name="label" translatable="yes">Sort by Si_ze</attribute>
<attribute name="target">sort_by_size</attribute>
</item>
<item>
<attribute name="action">win.sort_torrents</attribute>
<attribute name="label" translatable="yes">Sort by Stat_e</attribute>
<attribute name="target">sort_by_state</attribute>
</item>
<item>
<attribute name="action">win.sort_torrents</attribute>
<attribute name="label" translatable="yes">Sort by Time _Left</attribute>
<attribute name="target">sort_by_time_left</attribute>
</item>
</section>
<section>
<item>
<attribute name="action">win.sort_reversed</attribute>
<attribute name="label" translatable="yes">Re_verse Sort Order</attribute>
</item>
</section>
</submenu>
<submenu>
<attribute name="label" translatable="true">_Help</attribute>
<section>
<item>
<attribute name="action">win.toggle_message_log</attribute>
<attribute name="label" translatable="yes">Message _Log</attribute>
</item>
<item>
<attribute name="action">win.show_stats</attribute>
<attribute name="label" translatable="yes">_Statistics</attribute>
</item>
</section>
<section>
<item>
<attribute name="action">win.donate</attribute>
<attribute name="label" translatable="yes">_Donate</attribute>
</item>
</section>
<section>
<item>
<attribute name="action">win.help</attribute>
<attribute name="icon">help-browser</attribute>
<attribute name="label" translatable="yes">_Contents</attribute>
<attribute name="accel">F1</attribute>
</item>
<item>
<attribute name="action">win.show_about_dialog</attribute>
<attribute name="icon">help-about</attribute>
<attribute name="label" translatable="yes">_About</attribute>
</item>
</section>
</submenu>
</menu>
<menu id="main_window_popup">
<section>
<item>
<attribute name="action">win.show_torrent_properties</attribute>
<attribute name="icon">document-properties</attribute>
<attribute name="label" translatable="yes">_Properties</attribute>
<attribute name="accel">&lt;alt&gt;Return</attribute>
<attribute name="tooltip" translatable="yes">Torrent properties</attribute>
</item>
<item>
<attribute name="action">win.open_torrent_folder</attribute>
<attribute name="icon">document-open</attribute>
<attribute name="label" translatable="yes">Open Fold_er</attribute>
<attribute name="accel">&lt;control&gt;E</attribute>
</item>
</section>
<section>
<submenu>
<attribute name="label" translatable="true">_Sort Torrents By</attribute>
<section>
<item>
<attribute name="action">win.sort_torrents</attribute>
<attribute name="label" translatable="yes">Sort by _Activity</attribute>
<attribute name="target">sort_by_activity</attribute>
</item>
<item>
<attribute name="action">win.sort_torrents</attribute>
<attribute name="label" translatable="yes">Sort by A_ge</attribute>
<attribute name="target">sort_by_age</attribute>
</item>
<item>
<attribute name="action">win.sort_torrents</attribute>
<attribute name="label" translatable="yes">Sort by _Name</attribute>
<attribute name="target">sort_by_name</attribute>
</item>
<item>
<attribute name="action">win.sort_torrents</attribute>
<attribute name="label" translatable="yes">Sort by _Progress</attribute>
<attribute name="target">sort_by_progress</attribute>
</item>
<item>
<attribute name="action">win.sort_torrents</attribute>
<attribute name="label" translatable="yes">Sort by _Queue</attribute>
<attribute name="target">sort_by_queue</attribute>
</item>
<item>
<attribute name="action">win.sort_torrents</attribute>
<attribute name="label" translatable="yes">Sort by Rati_o</attribute>
<attribute name="target">sort_by_ratio</attribute>
</item>
<item>
<attribute name="action">win.sort_torrents</attribute>
<attribute name="label" translatable="yes">Sort by Si_ze</attribute>
<attribute name="target">sort_by_size</attribute>
</item>
<item>
<attribute name="action">win.sort_torrents</attribute>
<attribute name="label" translatable="yes">Sort by Stat_e</attribute>
<attribute name="target">sort_by_state</attribute>
</item>
<item>
<attribute name="action">win.sort_torrents</attribute>
<attribute name="label" translatable="yes">Sort by Time _Left</attribute>
<attribute name="target">sort_by_time_left</attribute>
</item>
</section>
<section>
<item>
<attribute name="action">win.sort_reversed</attribute>
<attribute name="label" translatable="yes">Re_verse Sort Order</attribute>
</item>
</section>
</submenu>
</section>
<section>
<item>
<attribute name="action">win.torrent_start</attribute>
<attribute name="icon">media-playback-start</attribute>
<attribute name="label" translatable="yes">_Start</attribute>
<attribute name="accel">&lt;control&gt;S</attribute>
<attribute name="tooltop" translatable="yes">Start torrent</attribute>
</item>
<item>
<attribute name="action">win.torrent_start_now</attribute>
<attribute name="icon">media-playback-start</attribute>
<attribute name="label" translatable="yes">Start _Now</attribute>
<attribute name="accel">&lt;shift&gt;&lt;control&gt;S</attribute>
<attribute name="tooltop" translatable="yes">Start torrent now</attribute>
</item>
<item>
<attribute name="action">win.torrent_reannounce</attribute>
<attribute name="icon">network-workgroup</attribute>
<attribute name="label" translatable="yes">Ask Tracker for _More Peers</attribute>
</item>
<submenu>
<attribute name="label" translatable="true">_Queue</attribute>
<section>
<item>
<attribute name="action">win.queue_move_top</attribute>
<attribute name="icon">go-top</attribute>
<attribute name="label" translatable="yes">Move to _Top</attribute>
</item>
<item>
<attribute name="action">win.queue_move_up</attribute>
<attribute name="icon">go-up</attribute>
<attribute name="label" translatable="yes">Move _Up</attribute>
</item>
<item>
<attribute name="action">win.queue_move_down</attribute>
<attribute name="icon">go-down</attribute>
<attribute name="label" translatable="yes">Move _Down</attribute>
</item>
<item>
<attribute name="action">win.queue_move_bottom</attribute>
<attribute name="icon">go-bottom</attribute>
<attribute name="label" translatable="yes">Move to _Bottom</attribute>
</item>
</section>
</submenu>
<item>
<attribute name="action">win.torrent_stop</attribute>
<attribute name="icon">media-playback-pause</attribute>
<attribute name="label" translatable="yes">_Pause</attribute>
<attribute name="accel">&lt;control&gt;P</attribute>
<attribute name="tooltip" translatable="yes">Pause torrent</attribute>
</item>
</section>
<section>
<item>
<attribute name="action">win.relocate_torrent</attribute>
<attribute name="label" translatable="yes">Set _Location…</attribute>
</item>
<item>
<attribute name="action">win.torrent_verify</attribute>
<attribute name="label" translatable="yes">_Verify Local Data</attribute>
<attribute name="accel">&lt;control&gt;V</attribute>
</item>
<item>
<attribute name="action">win.copy_magnet_link_to_clipboard</attribute>
<attribute name="icon">edit-copy</attribute>
<attribute name="label" translatable="yes">Copy _Magnet Link to Clipboard</attribute>
</item>
</section>
<section>
<item>
<attribute name="action">win.remove_torrent</attribute>
<attribute name="icon">list-remove</attribute>
<attribute name="label" translatable="yes">Remove torrent</attribute>
<attribute name="accel">Delete</attribute>
</item>
<item>
<attribute name="action">win.delete_torrent</attribute>
<attribute name="icon">edit-delete</attribute>
<attribute name="label" translatable="yes">_Delete Files and Remove</attribute>
<attribute name="accel">&lt;shift&gt;Delete</attribute>
</item>
</section>
</menu>
<menu id="icon-popup">
<section>
<item>
<attribute name="action">win.toggle_main_window</attribute>
<attribute name="label" translatable="yes">_Show Transmission</attribute>
</item>
</section>
<section>
<item>
<attribute name="action">win.open_torrent</attribute>
<attribute name="icon">document-open</attribute>
<attribute name="label" translatable="yes">_Open</attribute>
<attribute name="tooltip" translatable="yes">Open a torrent</attribute>
</item>
<item>
<attribute name="action">win.open_torrent_from_url</attribute>
<attribute name="icon">document-open</attribute>
<attribute name="label" translatable="yes">Open _URL…</attribute>
<attribute name="accel"></attribute>
<attribute name="tooltip" translatable="yes">Open URL…</attribute>
</item>
</section>
<section>
<item>
<attribute name="action">win.pause_all_torrents</attribute>
<attribute name="icon">media-playback-pause</attribute>
<attribute name="label" translatable="yes">_Pause All</attribute>
<attribute name="tooltip" translatable="yes">Pause all torrents</attribute>
</item>
<item>
<attribute name="action">win.start_all_torrents</attribute>
<attribute name="icon">media-playback-start</attribute>
<attribute name="label" translatable="yes">_Start All</attribute>
<attribute name="tooltip" translatable="yes">Start all torrents</attribute>
</item>
</section>
<section>
<item>
<attribute name="action">win.alt_speed_enabled</attribute>
<attribute name="label" translatable="yes">Enable Alternative Speed _Limits</attribute>
</item>
</section>
<section>
<item>
<attribute name="action">win.quit</attribute>
<attribute name="icon">application-exit</attribute>
<attribute name="label" translatable="yes">_Quit</attribute>
</item>
</section>
</menu>
</interface>