Skip to content

Commit

Permalink
Use title case for preferences and keyboard shortcuts
Browse files Browse the repository at this point in the history
  • Loading branch information
JohanG-75 committed Jun 24, 2024
1 parent 6315831 commit c9316f0
Show file tree
Hide file tree
Showing 2 changed files with 37 additions and 37 deletions.
28 changes: 14 additions & 14 deletions data/preferences-dialog.ui
Original file line number Diff line number Diff line change
Expand Up @@ -11,67 +11,67 @@
<property name="visible">True</property>
<child>
<object class="AdwSwitchRow" id="show_timer">
<property name="title" translatable="yes" context="general preferences">Show timer and pause buttons</property>
<property name="title" translatable="yes" context="General Preferences">Timer and Pause Buttons</property>
<property name="visible">True</property>
</object>
</child>
<child>
<object class="AdwSwitchRow" id="show_possibilities">
<property name="title" translatable="yes" context="general preferences">Show earmark possibilities</property>
<object class="AdwSwitchRow" id="number_picker_second_click">
<property name="title" translatable="yes" context="General Preferences">Number Picker on Second Click</property>
<property name="visible">True</property>
</object>
</child>
<child>
<object class="AdwSwitchRow" id="number_picker_second_click">
<property name="title" translatable="yes" context="general preferences">Show number picker on second click</property>
<object class="AdwSwitchRow" id="autoclean_earmarks">
<property name="title" translatable="yes" context="General Preferences">Automatically Clean Earmarks</property>
<property name="visible">True</property>
</object>
</child>
<child>
<object class="AdwSwitchRow" id="autoclean_earmarks">
<property name="title" translatable="yes" context="general preferences">Automatically clean earmarks</property>
<object class="AdwSwitchRow" id="show_possibilities">
<property name="title" translatable="yes" context="General Preferences">Show Earmark Possibilities</property>
<property name="visible">True</property>
</object>
</child>
</object>
</child>
<child>
<object class="AdwPreferencesGroup">
<property name="title" translatable="yes" context="preferences dialog">Warnings</property>
<property name="title" translatable="yes" context="Preferences Dialog">Warnings</property>
<property name="visible">True</property>
<child>
<object class="AdwSwitchRow" id="simple_warnings">
<property name="title" translatable="yes" context="warning preferences">Check against solution</property>
<property name="title" translatable="yes" context="Warning Preferences">Check Against Solution</property>
<property name="visible">True</property>
</object>
</child>
<child>
<object class="AdwSwitchRow" id="show_earmark_warnings">
<property name="title" translatable="yes" context="warning preferences">Show earmark warnings</property>
<property name="title" translatable="yes" context="Warning Preferences">Earmark Warnings</property>
<property name="visible">True</property>
</object>
</child>
</object>
</child>
<child>
<object class="AdwPreferencesGroup">
<property name="title" translatable="yes" context="preferences dialog">Highlighter</property>
<property name="title" translatable="yes" context="Preferences Dialog">Highlighter</property>
<property name="visible">True</property>
<child>
<object class="AdwSwitchRow" id="highlight_numbers">
<property name="title" translatable="yes" context="highlighter preferences">Highlight matching numbers</property>
<property name="title" translatable="yes" context="Highlighter Preferences">Highlight Matching Numbers</property>
<property name="visible">True</property>
</object>
</child>
<child>
<object class="AdwSwitchRow" id="highlight_row_column">
<property name="title" translatable="yes" context="highlighter preferences">Highlight row and column</property>
<property name="title" translatable="yes" context="Highlighter Preferences">Highlight Row and Column</property>
<property name="visible">True</property>
</object>
</child>
<child>
<object class="AdwSwitchRow" id="highlight_block">
<property name="title" translatable="yes" context="highlighter preferences">Highlight block</property>
<property name="title" translatable="yes" context="Highlighter Preferences">Highlight Block</property>
<property name="visible">True</property>
</object>
</child>
Expand Down
46 changes: 23 additions & 23 deletions data/shortcuts-window.ui
Original file line number Diff line number Diff line change
Expand Up @@ -8,136 +8,136 @@
<property name="max-height">12</property>
<child>
<object class="GtkShortcutsGroup">
<property name="title" translatable="yes" context="shortcuts window">Game</property>
<property name="title" translatable="yes" context="Shortcuts Window">Game</property>
<child>
<object class="GtkShortcutsShortcut">
<property name="accelerator">w a s d</property>
<property name="title" translatable="yes" context="shortcuts window">Move</property>
<property name="title" translatable="yes" context="Shortcuts Window">Move</property>
</object>
</child>
<child>
<object class="GtkShortcutsShortcut">
<property name="accelerator">Up Left Down Right</property>
<property name="title" translatable="yes" context="shortcuts window">Move</property>
<property name="title" translatable="yes" context="Shortcuts Window">Move</property>
</object>
</child>
<child>
<object class="GtkShortcutsShortcut">
<property name="accelerator">&lt;ctrl&gt;1...9</property>
<property name="title" translatable="yes" context="shortcuts window">Earmarks</property>
<property name="title" translatable="yes" context="Shortcuts Window">Earmarks</property>
</object>
</child>
<child>
<object class="GtkShortcutsShortcut">
<property name="accelerator">0 BackSpace Delete</property>
<property name="title" translatable="yes" context="shortcuts window">Clear Cell</property>
<property name="title" translatable="yes" context="Shortcuts Window">Clear Cell</property>
</object>
</child>
<child>
<object class="GtkShortcutsShortcut">
<property name="accelerator">u &lt;ctrl&gt;z</property>
<property name="title" translatable="yes" context="shortcuts window">Undo</property>
<property name="title" translatable="yes" context="Shortcuts Window">Undo</property>
</object>
</child>
<child>
<object class="GtkShortcutsShortcut">
<property name="accelerator">r &lt;shift&gt;&lt;ctrl&gt;z</property>
<property name="title" translatable="yes" context="shortcuts window">Redo</property>
<property name="title" translatable="yes" context="Shortcuts Window">Redo</property>
</object>
</child>
<child>
<object class="GtkShortcutsShortcut">
<property name="accelerator">p</property>
<property name="title" translatable="yes" context="shortcuts window">Pause</property>
<property name="title" translatable="yes" context="Shortcuts Window">Pause</property>
</object>
</child>
<child>
<object class="GtkShortcutsShortcut">
<property name="accelerator">e</property>
<property name="title" translatable="yes" context="shortcuts window">Earmarks Mode</property>
<property name="title" translatable="yes" context="Shortcuts Window">Earmark Mode</property>
</object>
</child>
<child>
<object class="GtkShortcutsShortcut">
<property name="accelerator">Return space</property>
<property name="title" translatable="yes" context="shortcuts window">Number Picker</property>
<property name="title" translatable="yes" context="Shortcuts Window">Number Picker</property>
</object>
</child>
<child>
<object class="GtkShortcutsShortcut">
<property name="accelerator">&lt;ctrl&gt;Pointer_Left</property>
<property name="title" translatable="yes" context="shortcuts window">Earmark Picker</property>
<property name="title" translatable="yes" context="Shortcuts Window">Earmark Picker</property>
</object>
</child>
</object>
</child>
<child>
<object class="GtkShortcutsGroup">
<property name="title" translatable="yes" context="shortcuts window">Window</property>
<property name="title" translatable="yes" context="Shortcuts Window">Window</property>
<child>
<object class="GtkShortcutsShortcut">
<property name="accelerator">&lt;ctrl&gt;w</property>
<property name="title" translatable="yes" context="shortcuts window">Warnings</property>
<property name="title" translatable="yes" context="Shortcuts Window">Warnings</property>
</object>
</child>
<child>
<object class="GtkShortcutsShortcut">
<property name="accelerator">&lt;ctrl&gt;h</property>
<property name="title" translatable="yes" context="shortcuts window">Highlighter</property>
<property name="title" translatable="yes" context="Shortcuts Window">Highlighter</property>
</object>
</child>
<child>
<object class="GtkShortcutsShortcut">
<property name="accelerator">&lt;ctrl&gt;r</property>
<property name="title" translatable="yes" context="shortcuts window">Reset</property>
<property name="title" translatable="yes" context="Shortcuts Window">Reset</property>
</object>
</child>
<child>
<object class="GtkShortcutsShortcut">
<property name="accelerator">&lt;ctrl&gt;n</property>
<property name="title" translatable="yes" context="shortcuts window">New Game</property>
<property name="title" translatable="yes" context="Shortcuts Window">New Game</property>
</object>
</child>
<child>
<object class="GtkShortcutsShortcut">
<property name="accelerator">&lt;ctrl&gt;p</property>
<property name="title" translatable="yes" context="shortcuts window">Print</property>
<property name="title" translatable="yes" context="Shortcuts Window">Print</property>
</object>
</child>
<child>
<object class="GtkShortcutsShortcut">
<property name="accelerator">&lt;ctrl&gt;comma</property>
<property name="title" translatable="yes" context="shortcuts window">Preferences</property>
<property name="title" translatable="yes" context="Shortcuts Window">Preferences</property>
</object>
</child>
<child>
<object class="GtkShortcutsShortcut">
<property name="accelerator">&lt;ctrl&gt;question</property>
<property name="title" translatable="yes" context="shortcuts window">Keyboard Shortcuts</property>
<property name="title" translatable="yes" context="Shortcuts Window">Keyboard Shortcuts</property>
</object>
</child>
<child>
<object class="GtkShortcutsShortcut">
<property name="accelerator">&lt;ctrl&gt;q</property>
<property name="title" translatable="yes" context="shortcuts window">Quit</property>
<property name="title" translatable="yes" context="Shortcuts Window">Quit</property>
</object>
</child>
<child>
<object class="GtkShortcutsShortcut">
<property name="accelerator">F1</property>
<property name="title" translatable="yes" context="shortcuts window">Help</property>
<property name="title" translatable="yes" context="Shortcuts Window">Help</property>
</object>
</child>
<child>
<object class="GtkShortcutsShortcut">
<property name="accelerator">F10</property>
<property name="title" translatable="yes" context="shortcuts window">Menu</property>
<property name="title" translatable="yes" context="Shortcuts Window">Menu</property>
</object>
</child>
<child>
<object class="GtkShortcutsShortcut">
<property name="accelerator">F11 f</property>
<property name="title" translatable="yes" context="shortcuts window">Fullscreen</property>
<property name="title" translatable="yes" context="Shortcuts Window">Fullscreen</property>
</object>
</child>
</object>
Expand Down

0 comments on commit c9316f0

Please sign in to comment.