[gnome-maps] ui: Add translator comments to tooltips
- From: Piotr Drąg <piotrdrag src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-maps] ui: Add translator comments to tooltips
- Date: Thu, 22 Jun 2017 15:26:14 +0000 (UTC)
commit 63c10b6be53d5f4679cbfa41d11d4598f0ff70fe
Author: Piotr Drąg <piotrdrag gmail com>
Date: Thu Jun 22 17:24:21 2017 +0200
ui: Add translator comments to tooltips
Translator comments like these massively ease translating.
data/ui/main-window.ui | 10 +++++-----
data/ui/map-bubble.ui | 8 ++++----
data/ui/place-bubble.ui | 4 ++--
data/ui/route-entry.ui | 2 +-
data/ui/shape-layer-row.ui | 2 +-
data/ui/transit-leg-row.ui | 4 ++--
6 files changed, 15 insertions(+), 15 deletions(-)
---
diff --git a/data/ui/main-window.ui b/data/ui/main-window.ui
index b2449da..411ee21 100644
--- a/data/ui/main-window.ui
+++ b/data/ui/main-window.ui
@@ -20,7 +20,7 @@
<property name="can-focus">True</property>
<property name="valign">center</property>
<property name="action-name">win.goto-user-location</property>
- <property name="tooltip-text" translatable="yes">Go to current location</property>
+ <property name="tooltip-text" translatable="yes" comments="Translators: This is a tooltip">Go to
current location</property>
<style>
<class name="image-button"/>
</style>
@@ -41,7 +41,7 @@
<property name="visible">True</property>
<property name="can-focus">True</property>
<property name="valign">center</property>
- <property name="tooltip-text" translatable="yes">Choose map type</property>
+ <property name="tooltip-text" translatable="yes" comments="Translators: This is a
tooltip">Choose map type</property>
<style>
<class name="image-button"/>
</style>
@@ -60,7 +60,7 @@
<property name="can-focus">True</property>
<property name="valign">center</property>
<property name="action-name">win.toggle-sidebar</property>
- <property name="tooltip-text" translatable="yes">Toggle route planner</property>
+ <property name="tooltip-text" translatable="yes" comments="Translators: This is a
tooltip">Toggle route planner</property>
<style>
<class name="image-button"/>
</style>
@@ -81,7 +81,7 @@
<property name="visible">True</property>
<property name="can-focus">True</property>
<property name="valign">center</property>
- <property name="tooltip-text" translatable="yes">Toggle favorites</property>
+ <property name="tooltip-text" translatable="yes" comments="Translators: This is a
tooltip">Toggle favorites</property>
<style>
<class name="image-button"/>
</style>
@@ -101,7 +101,7 @@
<object class="GtkButton" id="printRouteButton">
<property name="name">print-route</property>
<property name="can-focus">True</property>
- <property name="tooltip-text" translatable="yes">Print Route</property>
+ <property name="tooltip-text" translatable="yes" comments="Translators: This is a tooltip">Print
Route</property>
<property name="action-name">win.print-route</property>
<property name="valign">center</property>
<style>
diff --git a/data/ui/map-bubble.ui b/data/ui/map-bubble.ui
index 3f7d961..a6bb785 100644
--- a/data/ui/map-bubble.ui
+++ b/data/ui/map-bubble.ui
@@ -52,7 +52,7 @@
<property name="visible">False</property>
<property name="can_focus">True</property>
<property name="receives_default">False</property>
- <property name="tooltip-text" translatable="yes">Add to new route</property>
+ <property name="tooltip-text" translatable="yes" comments="Translators: This is a
tooltip">Add to new route</property>
<child>
<object class="GtkImage" id="bubble-route-button-image">
<property name="visible">True</property>
@@ -69,7 +69,7 @@
<property name="visible">False</property>
<property name="can_focus">True</property>
<property name="receives_default">False</property>
- <property name="tooltip-text" translatable="yes">Open with another application</property>
+ <property name="tooltip-text" translatable="yes" comments="Translators: This is a
tooltip">Open with another application</property>
<child>
<object class="GtkImage" id="bubble-send-to-button-image">
<property name="visible">True</property>
@@ -86,7 +86,7 @@
<property name="visible">False</property>
<property name="can_focus">True</property>
<property name="receives_default">False</property>
- <property name="tooltip-text" translatable="yes">Mark as favorite</property>
+ <property name="tooltip-text" translatable="yes" comments="Translators: This is a
tooltip">Mark as favorite</property>
<child>
<object class="GtkImage" id="bubble-favorite-button-image">
<property name="name">bubble-favorite-button-image</property>
@@ -105,7 +105,7 @@
<property name="can_focus">True</property>
<property name="receives_default">False</property>
<property name="use_underline">True</property>
- <property name="tooltip-text" translatable="yes">Check in here</property>
+ <property name="tooltip-text" translatable="yes" comments="Translators: This is a
tooltip">Check in here</property>
</object>
</child>
</object>
diff --git a/data/ui/place-bubble.ui b/data/ui/place-bubble.ui
index a8c00ea..afa06c0 100644
--- a/data/ui/place-bubble.ui
+++ b/data/ui/place-bubble.ui
@@ -46,7 +46,7 @@
<property name="can_focus">True</property>
<property name="valign">GTK_ALIGN_START</property>
<property name="halign">GTK_ALIGN_CENTER</property>
- <property name="tooltip-text" translatable="yes">Edit on OpenStreetMap</property>
+ <property name="tooltip-text" translatable="yes" comments="Translators: This is a
tooltip">Edit on OpenStreetMap</property>
<child>
<object class="GtkImage">
<property name="visible">True</property>
@@ -70,7 +70,7 @@
<property name="can_focus">True</property>
<property name="valign">GTK_ALIGN_START</property>
<property name="halign">GTK_ALIGN_CENTER</property>
- <property name="tooltip-text" translatable="yes">Show more information</property>
+ <property name="tooltip-text" translatable="yes" comments="Translators: This is a
tooltip">Show more information</property>
<child>
<object class="GtkImage">
<property name="visible">True</property>
diff --git a/data/ui/route-entry.ui b/data/ui/route-entry.ui
index 40bd08f..b186e45 100644
--- a/data/ui/route-entry.ui
+++ b/data/ui/route-entry.ui
@@ -17,7 +17,7 @@
<property name="margin-start">13</property>
<property name="width-request">16</property>
<property name="icon-name">maps-point-end-symbolic</property>
- <property name="tooltip-text" translatable="yes">Drag to change order of the route</property>
+ <property name="tooltip-text" translatable="yes" comments="Translators: This is a tooltip">Drag
to change order of the route</property>
</object>
</child>
</object>
diff --git a/data/ui/shape-layer-row.ui b/data/ui/shape-layer-row.ui
index 63094e1..0a2ad8d 100644
--- a/data/ui/shape-layer-row.ui
+++ b/data/ui/shape-layer-row.ui
@@ -16,7 +16,7 @@
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">False</property>
- <property name="tooltip-text" translatable="yes">Toggle visible</property>
+ <property name="tooltip-text" translatable="yes" comments="Translators: This is a
tooltip">Toggle visible</property>
<child>
<object class="GtkImage" id="visibleImage">
<property name="visible">True</property>
diff --git a/data/ui/transit-leg-row.ui b/data/ui/transit-leg-row.ui
index a35919b..6a6f215 100644
--- a/data/ui/transit-leg-row.ui
+++ b/data/ui/transit-leg-row.ui
@@ -120,7 +120,7 @@
<object class="GtkButton" id="collapsButton">
<property name="visible">True</property>
<property name="can-focus">True</property>
- <property name="tooltip-text" translatable="yes">Hide intermediate stops and
information</property>
+ <property name="tooltip-text" translatable="yes" comments="Translators: This is a
tooltip">Hide intermediate stops and information</property>
<style>
<class name="small-circular"/>
</style>
@@ -194,7 +194,7 @@
<object class="GtkButton" id="expandButton">
<property name="visible">True</property>
<property name="can-focus">True</property>
- <property name="tooltip-text" translatable="yes">Show intermediate stops and
information</property>
+ <property name="tooltip-text" translatable="yes" comments="Translators: This is a
tooltip">Show intermediate stops and information</property>
<style>
<class name="small-circular"/>
</style>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]