[balsa/wip/gmime3: 65/197] Fix translator comments in .ui files
- From: Peter Bloomfield <peterb src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [balsa/wip/gmime3: 65/197] Fix translator comments in .ui files
- Date: Wed, 23 May 2018 21:17:50 +0000 (UTC)
commit 29b5ca5a99aa4fef3df0b4b206a19ed2c1bed080
Author: Piotr Drąg <piotrdrag gmail com>
Date: Mon Aug 28 17:35:16 2017 +0200
Fix translator comments in .ui files
Move them to proper “comments” attributes and remove apostrophes
that choke intltool (see https://bugs.launchpad.net/intltool/+bug/1497715).
ui/ab-main.ui | 4 +++-
ui/main-window.ui | 2 +-
2 files changed, 4 insertions(+), 2 deletions(-)
---
diff --git a/ui/ab-main.ui b/ui/ab-main.ui
index 9f00e14..f530dc5 100644
--- a/ui/ab-main.ui
+++ b/ui/ab-main.ui
@@ -5,7 +5,9 @@
<section>
<submenu>
<attribute name='label'
- translatable='yes'>_New</attribute>
+ translatable='yes'
+ context='address book'
+ comments='Translators: main menu item - New address book'>_New</attribute>
<item>
<attribute name='label'
translatable='yes'>_VCard Address Book (GnomeCard)</attribute>
diff --git a/ui/main-window.ui b/ui/main-window.ui
index 35553b5..487aede 100644
--- a/ui/main-window.ui
+++ b/ui/main-window.ui
@@ -1,7 +1,7 @@
<interface>
<menu id='app-menu'>
<submenu>
- <attribute name='label' translatable='yes'>_New</attribute>
+ <attribute name='label' translatable='yes' context='appmenu' comments='Translators: app menu item -
New message or mailbox'>_New</attribute>
<section>
<item>
<attribute name='label' translatable='yes'>_Message</attribute>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]