[gnome-calculator] Add context to translatable strings in the keyboard shortcuts window
- From: Piotr Drąg <piotrdrag src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-calculator] Add context to translatable strings in the keyboard shortcuts window
- Date: Wed, 19 Oct 2016 16:37:42 +0000 (UTC)
commit c27ccc15cd7f0896513dd0c365bdda1c2c86fe64
Author: Piotr Drąg <piotrdrag gmail com>
Date: Wed Oct 19 18:36:21 2016 +0200
Add context to translatable strings in the keyboard shortcuts window
As noted on https://wiki.gnome.org/Initiatives/GnomeGoals/ShortcutWindows
data/math-shortcuts.ui | 44 ++++++++++++++++++++++----------------------
1 files changed, 22 insertions(+), 22 deletions(-)
---
diff --git a/data/math-shortcuts.ui b/data/math-shortcuts.ui
index 01c4e4c..79d56b0 100644
--- a/data/math-shortcuts.ui
+++ b/data/math-shortcuts.ui
@@ -12,26 +12,26 @@
<child>
<object class="GtkShortcutsGroup">
<property name="visible">1</property>
- <property name="title" translatable="yes">General</property>
+ <property name="title" translatable="yes" context="shortcut window">General</property>
<child>
<object class="GtkShortcutsShortcut">
<property name="visible">1</property>
<property name="accelerator"><ctrl>n</property>
- <property name="title" translatable="yes">Open a new window</property>
+ <property name="title" translatable="yes" context="shortcut window">Open a new
window</property>
</object>
</child>
<child>
<object class="GtkShortcutsShortcut">
<property name="visible">1</property>
<property name="accelerator">F1</property>
- <property name="title" translatable="yes">Open help</property>
+ <property name="title" translatable="yes" context="shortcut window">Open help</property>
</object>
</child>
<child>
<object class="GtkShortcutsShortcut">
<property name="visible">1</property>
<property name="accelerator"><ctrl>q</property>
- <property name="title" translatable="yes">Quit the application</property>
+ <property name="title" translatable="yes" context="shortcut window">Quit the
application</property>
</object>
</child>
</object>
@@ -39,40 +39,40 @@
<child>
<object class="GtkShortcutsGroup">
<property name="visible">1</property>
- <property name="title" translatable="yes">Switching modes</property>
+ <property name="title" translatable="yes" context="shortcut window">Switching modes</property>
<child>
<object class="GtkShortcutsShortcut">
<property name="visible">1</property>
<property name="accelerator"><alt>b</property>
- <property name="title" translatable="yes">Switch to Basic mode</property>
+ <property name="title" translatable="yes" context="shortcut window">Switch to Basic
mode</property>
</object>
</child>
<child>
<object class="GtkShortcutsShortcut">
<property name="visible">1</property>
<property name="accelerator"><alt>a</property>
- <property name="title" translatable="yes">Switch to Advanced mode</property>
+ <property name="title" translatable="yes" context="shortcut window">Switch to Advanced
mode</property>
</object>
</child>
<child>
<object class="GtkShortcutsShortcut">
<property name="visible">1</property>
<property name="accelerator"><alt>f</property>
- <property name="title" translatable="yes">Switch to Financial mode</property>
+ <property name="title" translatable="yes" context="shortcut window">Switch to Financial
mode</property>
</object>
</child>
<child>
<object class="GtkShortcutsShortcut">
<property name="visible">1</property>
<property name="accelerator"><alt>p</property>
- <property name="title" translatable="yes">Switch to Programming mode</property>
+ <property name="title" translatable="yes" context="shortcut window">Switch to Programming
mode</property>
</object>
</child>
<child>
<object class="GtkShortcutsShortcut">
<property name="visible">1</property>
<property name="accelerator"><alt>k</property>
- <property name="title" translatable="yes">Switch to Keyboard mode</property>
+ <property name="title" translatable="yes" context="shortcut window">Switch to Keyboard
mode</property>
</object>
</child>
</object>
@@ -80,47 +80,47 @@
<child>
<object class="GtkShortcutsGroup">
<property name="visible">1</property>
- <property name="title" translatable="yes">Keyboard entry</property>
+ <property name="title" translatable="yes" context="shortcut window">Keyboard entry</property>
<child>
<object class="GtkShortcutsShortcut">
<property name="visible">1</property>
<property name="accelerator">asterisk</property>
- <property name="title" translatable="yes">Multiply (×)</property>
+ <property name="title" translatable="yes" context="shortcut window">Multiply (×)</property>
</object>
</child>
<child>
<object class="GtkShortcutsShortcut">
<property name="visible">1</property>
<property name="accelerator">slash</property>
- <property name="title" translatable="yes">Divide (÷)</property>
+ <property name="title" translatable="yes" context="shortcut window">Divide (÷)</property>
</object>
</child>
<child>
<object class="GtkShortcutsShortcut">
<property name="visible">1</property>
<property name="accelerator"><ctrl>R</property>
- <property name="title" translatable="yes">Square root (√)</property>
+ <property name="title" translatable="yes" context="shortcut window">Square root
(√)</property>
</object>
</child>
<child>
<object class="GtkShortcutsShortcut">
<property name="visible">1</property>
<property name="accelerator"><ctrl>I</property>
- <property name="title" translatable="yes">Inverse</property>
+ <property name="title" translatable="yes" context="shortcut window">Inverse</property>
</object>
</child>
<child>
<object class="GtkShortcutsShortcut">
<property name="visible">1</property>
<property name="accelerator"><ctrl>P</property>
- <property name="title" translatable="yes">Pi (π)</property>
+ <property name="title" translatable="yes" context="shortcut window">Pi (π)</property>
</object>
</child>
<child>
<object class="GtkShortcutsShortcut">
<property name="visible">1</property>
<property name="accelerator"><ctrl>E</property>
- <property name="title" translatable="yes">Enter numbers in scientific format</property>
+ <property name="title" translatable="yes" context="shortcut window">Enter numbers in
scientific format</property>
</object>
</child>
</object>
@@ -128,33 +128,33 @@
<child>
<object class="GtkShortcutsGroup">
<property name="visible">1</property>
- <property name="title" translatable="yes">Programming mode</property>
+ <property name="title" translatable="yes" context="shortcut window">Programming mode</property>
<child>
<object class="GtkShortcutsShortcut">
<property name="visible">1</property>
<property name="accelerator"><ctrl>B</property>
- <property name="title" translatable="yes">Switch to binary</property>
+ <property name="title" translatable="yes" context="shortcut window">Switch to
binary</property>
</object>
</child>
<child>
<object class="GtkShortcutsShortcut">
<property name="visible">1</property>
<property name="accelerator"><ctrl>O</property>
- <property name="title" translatable="yes">Switch to octal</property>
+ <property name="title" translatable="yes" context="shortcut window">Switch to
octal</property>
</object>
</child>
<child>
<object class="GtkShortcutsShortcut">
<property name="visible">1</property>
<property name="accelerator"><ctrl>D</property>
- <property name="title" translatable="yes">Switch to decimal</property>
+ <property name="title" translatable="yes" context="shortcut window">Switch to
decimal</property>
</object>
</child>
<child>
<object class="GtkShortcutsShortcut">
<property name="visible">1</property>
<property name="accelerator"><ctrl>H</property>
- <property name="title" translatable="yes">Switch to hexadecimal</property>
+ <property name="title" translatable="yes" context="shortcut window">Switch to
hexadecimal</property>
</object>
</child>
</object>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]