Skip to content

armgit / Kooha

Public Imported from GitHub
0

Elegantly record your screen

misc: add context on shortcut window translatables

Dave Patrick Cabertod38e6bf25891
diff --git a/data/resources/ui/shortcuts.ui b/data/resources/ui/shortcuts.ui
index 83beec1..d4cc89e 100644
--- a/data/resources/ui/shortcuts.ui
+++ b/data/resources/ui/shortcuts.ui
@@ -7,76 +7,82 @@
<property name="section-name">shortcuts</property>
<child>
<object class="GtkShortcutsGroup">
- <property name="title" translatable="yes">General</property>
+ <property name="title" translatable="yes" context="shortcut window">General</property>
<child>
<object class="GtkShortcutsShortcut">
+ <property name="title" translatable="yes" context="shortcut window">Open Menu</property>
<property name="accelerator">F10</property>
- <property name="title" translatable="yes">Open Menu</property>
</object>
</child>
<child>
<object class="GtkShortcutsShortcut">
+ <property name="title" translatable="yes" context="shortcut window">Show Preferences</property>
<property name="action-name">app.show-preferences</property>
- <property name="title" translatable="yes">Show Preferences</property>
</object>
</child>
<child>
<object class="GtkShortcutsShortcut">
+ <property name="title" translatable="yes" context="shortcut window">Show Shortcuts</property>
<property name="action-name">win.show-help-overlay</property>
- <property name="title" translatable="yes">Show Shortcuts</property>
</object>
</child>
<child>
<object class="GtkShortcutsShortcut">
+ <property name="title" translatable="yes" context="shortcut window">Close Window</property>
+ <property name="action-name">window.close</property>
+ </object>
+ </child>
+ <child>
+ <object class="GtkShortcutsShortcut">
+ <property name="title" translatable="yes" context="shortcut window">Quit</property>
<property name="action-name">app.quit</property>
- <property name="title" translatable="yes">Quit</property>
</object>
</child>
</object>
</child>
<child>
<object class="GtkShortcutsGroup">
- <property name="title" translatable="yes">Recording</property>
+ <property name="title" translatable="yes" context="shortcut window">Recording</property>
<child>
<object class="GtkShortcutsShortcut">
+ <property name="title" translatable="yes" context="shortcut window">Toggle Record</property>
<property name="action-name">win.toggle-record</property>
- <property name="title" translatable="yes">Toggle Record</property>
</object>
</child>
<child>
<object class="GtkShortcutsShortcut">
<property name="visible">False</property>
+ <property name="title" translatable="yes" context="shortcut window">Toggle Pause</property>
<property name="action-name">win.toggle-pause</property>
- <property name="title" translatable="yes">Toggle Pause</property>
</object>
</child>
<child>
<object class="GtkShortcutsShortcut">
+ <property name="title" translatable="yes" context="shortcut window">Cancel Record</property>
<property name="action-name">win.cancel-record</property>
- <property name="title" translatable="yes">Cancel Record</property>
</object>
</child>
</object>
</child>
<child>
<object class="GtkShortcutsGroup">
- <property name="title" translatable="yes">Settings</property>
+ <property name="title" translatable="yes" context="shortcut window">Settings</property>
<child>
<object class="GtkShortcutsShortcut">
+ <property name="title" translatable="yes" context="shortcut window">Toggle Desktop Audio</property>
<property name="action-name">win.record-desktop-audio</property>
- <property name="title" translatable="yes">Toggle Desktop Audio</property>
</object>
</child>
<child>
<object class="GtkShortcutsShortcut">
+ <property name="title" translatable="yes" context="shortcut window">Toggle Microphone</property>
<property name="action-name">win.record-microphone</property>
- <property name="title" translatable="yes">Toggle Microphone</property>
</object>
</child>
<child>
<object class="GtkShortcutsShortcut">
+ <property name="title" translatable="yes" context="shortcut window">Toggle Pointer</property>
<property name="action-name">win.show-pointer</property>
- <property name="title" translatable="yes">Toggle Pointer</property>
</object>
</child>
</object>