[balsa] Fix translator comments in .ui files
- From: Piotr Drąg <piotrdrag src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [balsa] Fix translator comments in .ui files
- Date: Mon, 28 Aug 2017 15:38:42 +0000 (UTC)
commit a095a4dba96759a49684bd959828529bb9c4ed63
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 | 3 +--
2 files changed, 3 insertions(+), 4 deletions(-)
---
diff --git a/ui/ab-main.ui b/ui/ab-main.ui
index d82245f..f530dc5 100644
--- a/ui/ab-main.ui
+++ b/ui/ab-main.ui
@@ -4,10 +4,10 @@
<attribute name='label' translatable='yes'>_File</attribute>
<section>
<submenu>
- <!-- Translators: main menu item "New" address book -->
<attribute name='label'
translatable='yes'
- context='address book'>_New</attribute>
+ 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 e6e85db..487aede 100644
--- a/ui/main-window.ui
+++ b/ui/main-window.ui
@@ -1,8 +1,7 @@
<interface>
<menu id='app-menu'>
<submenu>
- <!-- Translators: app menu item "New" message or mailbox -->
- <attribute name='label' translatable='yes' context='appmenu'>_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]