[eog] Add translator context and comment to a split sentence
- From: Felix Riemann <friemann src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [eog] Add translator context and comment to a split sentence
- Date: Sat, 3 Sep 2011 15:39:08 +0000 (UTC)
commit 781e314d5af64fb94c3b5da8c99a8215b10e72dc
Author: Felix Riemann <friemann gnome org>
Date: Sat Sep 3 17:28:10 2011 +0200
Add translator context and comment to a split sentence
The sentence has a GtkSpinButton injected in the middle making it
difficult to translate for some languages, as one part of the label
could end up empty. This adds translation contexts to the labels to
avoid possible ambiguities and an expaining comment.
https://bugzilla.gnome.org/show_bug.cgi?id=654548
data/eog-preferences-dialog.ui | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/data/eog-preferences-dialog.ui b/data/eog-preferences-dialog.ui
index 87b2f44..961075c 100644
--- a/data/eog-preferences-dialog.ui
+++ b/data/eog-preferences-dialog.ui
@@ -469,7 +469,7 @@
<object class="GtkLabel" id="label36">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="label" translatable="yes">_Switch image after:</property>
+ <property name="label" translatable="yes" context="PrefDlgSlideSwitchPrefix" comments="I18N: This sentence will be displayed before a GtkSpinButton to select a number of seconds in eog's preferences dialog. The context is applied to avoid ambiguity with possible similar translations. See bug 654548 for details.">_Switch image after:</property>
<property name="use_underline">True</property>
<property name="mnemonic_widget">seconds_spin</property>
</object>
@@ -499,7 +499,7 @@
<object class="GtkLabel" id="label18">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="label" translatable="yes">seconds</property>
+ <property name="label" translatable="yes" context="PrefDlgSlideSwitchPostfix" comments="I18N: This sentence will be displayed after a GtkSpinButton to select a number of seconds in eog's preferences dialog. The context is applied to avoid ambiguity with possible similar translations. See bug 654548 for details.">seconds</property>
</object>
<packing>
<property name="expand">False</property>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]