[gnome-taquin] Improve a shortcut documentation.
- From: Arnaud B. <arnaudb src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-taquin] Improve a shortcut documentation.
- Date: Sun, 3 May 2020 21:00:20 +0000 (UTC)
commit fed1588fad3cd71338bffcf1d3660f66c00ce710
Author: Arnaud Bonatti <arnaud bonatti gmail com>
Date: Sun May 3 22:57:30 2020 +0200
Improve a shortcut documentation.
Closes !8.
data/ui/help-overlay.ui | 36 ++++++++++++++++++++++++++++++++++++
1 file changed, 36 insertions(+)
---
diff --git a/data/ui/help-overlay.ui b/data/ui/help-overlay.ui
index c7f1a15..e2ea455 100644
--- a/data/ui/help-overlay.ui
+++ b/data/ui/help-overlay.ui
@@ -25,10 +25,12 @@
<child>
<object class="GtkShortcutsGroup">
<property name="visible">True</property>
+ <!-- Translators: in the Keyboard Shortcuts window, name of a section; contains “Start new game”
and “Go back” -->
<property name="title" translatable="yes" context="shortcut window">During game
selection</property>
<child>
<object class="GtkShortcutsShortcut">
<property name="visible">True</property>
+ <!-- Translators: in the Keyboard Shortcuts window, section "During game selection" -->
<property name="title" translatable="yes" context="shortcut window">Start new game</property>
<property name="accelerator"><Primary><Shift>n</property>
</object>
@@ -36,6 +38,7 @@
<child>
<object class="GtkShortcutsShortcut">
<property name="visible">True</property>
+ <!-- Translators: in the Keyboard Shortcuts window, section "During game selection" -->
<property name="title" translatable="yes" context="shortcut window">Go back</property>
<property name="accelerator">Escape</property>
</object>
@@ -45,10 +48,12 @@
<child>
<object class="GtkShortcutsGroup">
<property name="visible">True</property>
+ <!-- Translators: in the Keyboard Shortcuts window, name of a section; contains “New game”,
“Restart game” and “Undo last move” -->
<property name="title" translatable="yes" context="shortcut window">During a game</property>
<child>
<object class="GtkShortcutsShortcut">
<property name="visible">True</property>
+ <!-- Translators: in the Keyboard Shortcuts window, section "During a game" -->
<property name="title" translatable="yes" context="shortcut window">New game</property>
<property name="accelerator"><Primary>n</property>
</object>
@@ -56,6 +61,7 @@
<child>
<object class="GtkShortcutsShortcut">
<property name="visible">True</property>
+ <!-- Translators: in the Keyboard Shortcuts window, section "During a game" -->
<property name="title" translatable="yes" context="shortcut window">Restart game</property>
<property name="accelerator"><Primary><Shift>n</property>
</object>
@@ -63,19 +69,30 @@
<child>
<object class="GtkShortcutsShortcut">
<property name="visible">True</property>
+ <!-- Translators: in the Keyboard Shortcuts window, section "During a game" -->
<property name="title" translatable="yes" context="shortcut window">Undo last move</property>
<property name="accelerator"><Primary>z</property>
</object>
</child>
+ <child>
+ <object class="GtkShortcutsShortcut">
+ <property name="visible">False</property>
+ <!-- Translators: in the Keyboard Shortcuts window, section "During a game" -->
+ <property name="title" translatable="yes" context="shortcut window">Toggle game
menu</property>
+ <property name="accelerator"><Primary>F10</property>
+ </object>
+ </child>
</object>
</child>
<child>
<object class="GtkShortcutsGroup">
<property name="visible">True</property>
+ <!-- Translators: in the Keyboard Shortcuts window, name of a section; contains shortcuts
specific to the 15-Puzzle game -->
<property name="title" translatable="yes" context="shortcut window">15-Puzzle</property>
<child>
<object class="GtkShortcutsShortcut">
<property name="visible">True</property>
+ <!-- Translators: in the Keyboard Shortcuts window, section "15-Puzzle" -->
<property name="title" translatable="yes" context="shortcut window">Select tile to push
on</property>
<property name="accelerator">Left Right Up Down</property>
</object>
@@ -83,6 +100,7 @@
<child>
<object class="GtkShortcutsShortcut">
<property name="visible">True</property>
+ <!-- Translators: in the Keyboard Shortcuts window, section "15-Puzzle" -->
<property name="title" translatable="yes" context="shortcut window">Push on selected
tile</property>
<property name="accelerator">Return space</property>
</object>
@@ -92,10 +110,12 @@
<child>
<object class="GtkShortcutsGroup">
<property name="visible">True</property>
+ <!-- Translators: in the Keyboard Shortcuts window, name of a section; contains shortcuts
specific to the 16-Puzzle game -->
<property name="title" translatable="yes" context="shortcut window">16-Puzzle</property>
<child>
<object class="GtkShortcutsShortcut">
<property name="visible">True</property>
+ <!-- Translators: in the Keyboard Shortcuts window, section "16-Puzzle" -->
<property name="title" translatable="yes" context="shortcut window">Change selected
column</property>
<property name="accelerator">Left Right</property>
</object>
@@ -103,6 +123,7 @@
<child>
<object class="GtkShortcutsShortcut">
<property name="visible">True</property>
+ <!-- Translators: in the Keyboard Shortcuts window, section "16-Puzzle" -->
<property name="title" translatable="yes" context="shortcut window">Change selected
row</property>
<property name="accelerator">Up Down</property>
</object>
@@ -110,6 +131,7 @@
<child>
<object class="GtkShortcutsShortcut">
<property name="visible">True</property>
+ <!-- Translators: in the Keyboard Shortcuts window, section "16-Puzzle" -->
<property name="title" translatable="yes" context="shortcut window">Swipe selected
row</property>
<property name="accelerator"><Shift>Left <Shift>Right</property>
</object>
@@ -117,6 +139,7 @@
<child>
<object class="GtkShortcutsShortcut">
<property name="visible">True</property>
+ <!-- Translators: in the Keyboard Shortcuts window, section "16-Puzzle" -->
<property name="title" translatable="yes" context="shortcut window">Swipe selected
column</property>
<property name="accelerator"><Shift>Up <Shift>Down</property>
</object>
@@ -126,10 +149,20 @@
<child>
<object class="GtkShortcutsGroup">
<property name="visible">True</property>
+ <!-- Translators: in the Keyboard Shortcuts window, name of a section; contains generic
shortcuts like F1, F10, etc. -->
<property name="title" translatable="yes" context="shortcut window">Generic</property>
<child>
<object class="GtkShortcutsShortcut">
<property name="visible">True</property>
+ <!-- Translators: in the Keyboard Shortcuts window, section "Generic" -->
+ <property name="title" translatable="yes" context="shortcut window">Toggle main
menu</property>
+ <property name="accelerator">F10</property> <!-- “Menu” also work, but not in Reversi;
probably better to keep it as an easter egg -->
+ </object>
+ </child>
+ <child>
+ <object class="GtkShortcutsShortcut">
+ <property name="visible">True</property>
+ <!-- Translators: in the Keyboard Shortcuts window, section "Generic" -->
<property name="title" translatable="yes" context="shortcut window">Keyboard
shortcuts</property>
<property name="accelerator"><Primary>question <Primary>F1</property>
</object>
@@ -137,6 +170,7 @@
<child>
<object class="GtkShortcutsShortcut">
<property name="visible">True</property>
+ <!-- Translators: in the Keyboard Shortcuts window, section "Generic" -->
<property name="title" translatable="yes" context="shortcut window">Help</property>
<property name="accelerator">F1</property>
</object>
@@ -144,6 +178,7 @@
<child>
<object class="GtkShortcutsShortcut">
<property name="visible">True</property>
+ <!-- Translators: in the Keyboard Shortcuts window, section "Generic" -->
<property name="title" translatable="yes" context="shortcut window">About</property>
<property name="accelerator"><Shift>F1</property>
</object>
@@ -151,6 +186,7 @@
<child>
<object class="GtkShortcutsShortcut">
<property name="visible">True</property>
+ <!-- Translators: in the Keyboard Shortcuts window, section "Generic" -->
<property name="title" translatable="yes" context="shortcut window">Quit</property>
<property name="accelerator"><Primary>q</property>
</object>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]