1
0
Fork 0
mirror of https://github.com/transmission/transmission synced 2024-12-30 19:46:56 +00:00
transmission/gtk/transmission-ui.xml
Mike Gelfand b41501eeb8
Switch to Gtk::Builder for all UI in GTK client (#3781)
* Move CSS definitions to resources

* Add Gtk::Builder helpers

* Switch StatsDialog to Gtk::Builder

* Switch RelocateDialog to Gtk::Builder

* Switch OptionsDialog to Gtk::Builder

* Switch MakeDialog to Gtk::Builder

* Switch FilterBar to Gtk::Builder

* Switch MainWindow to Gtk::Builder

* Switch MessageLogWindow to Gtk::Builder

* Switch DetailsDialog to Gtk::Builder

* Switch PrefsDialog to Gtk::Builder

* Fixup translatable strings

Since this branch was brewing for a while, changes happened in the meantime.
2022-09-08 01:25:04 +03:00

497 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>