r35970 - in /desktop/unstable/gnome-system-log/debian: changelog org.debian.pkexec.gnome-system-log.policy org.debian.pkexec.gnome-system-log.policy.in po-up/ po-up/debian.pot rules

biebl at users.alioth.debian.org biebl at users.alioth.debian.org
Mon Oct 15 15:36:38 UTC 2012


Author: biebl
Date: Mon Oct 15 15:36:37 2012
New Revision: 35970

URL: http://svn.debian.org/wsvn/pkg-gnome/?sc=1&rev=35970
Log:
Mark the strings in debian/org.debian.pkexec.gnome-system-log.policy as
translatable and setup debian/rules to handle the translation process
(copied from gnome-menus). New translations should be added to the
debian/po-up/ directory, updates can be done via "debian/rules update-po".

Added:
    desktop/unstable/gnome-system-log/debian/org.debian.pkexec.gnome-system-log.policy.in
      - copied, changed from r35962, desktop/unstable/gnome-system-log/debian/org.debian.pkexec.gnome-system-log.policy
    desktop/unstable/gnome-system-log/debian/po-up/
    desktop/unstable/gnome-system-log/debian/po-up/debian.pot
Removed:
    desktop/unstable/gnome-system-log/debian/org.debian.pkexec.gnome-system-log.policy
Modified:
    desktop/unstable/gnome-system-log/debian/changelog
    desktop/unstable/gnome-system-log/debian/rules

Modified: desktop/unstable/gnome-system-log/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-gnome/desktop/unstable/gnome-system-log/debian/changelog?rev=35970&op=diff
==============================================================================
--- desktop/unstable/gnome-system-log/debian/changelog [utf-8] (original)
+++ desktop/unstable/gnome-system-log/debian/changelog [utf-8] Mon Oct 15 15:36:37 2012
@@ -1,3 +1,12 @@
+gnome-system-log (3.4.1-3) UNRELEASED; urgency=low
+
+  * Mark the strings in debian/org.debian.pkexec.gnome-system-log.policy as
+    translatable and setup debian/rules to handle the translation process
+    (copied from gnome-menus). New translations should be added to the
+    debian/po-up/ directory, updates can be done via "debian/rules update-po".
+
+ -- Michael Biebl <biebl at debian.org>  Fri, 12 Oct 2012 17:21:34 +0200
+
 gnome-system-log (3.4.1-2) unstable; urgency=low
 
   [ Jeremy Bicha ]

Copied: desktop/unstable/gnome-system-log/debian/org.debian.pkexec.gnome-system-log.policy.in (from r35962, desktop/unstable/gnome-system-log/debian/org.debian.pkexec.gnome-system-log.policy)
URL: http://svn.debian.org/wsvn/pkg-gnome/desktop/unstable/gnome-system-log/debian/org.debian.pkexec.gnome-system-log.policy.in?rev=35970&op=diff
==============================================================================
--- desktop/unstable/gnome-system-log/debian/org.debian.pkexec.gnome-system-log.policy [utf-8] (original)
+++ desktop/unstable/gnome-system-log/debian/org.debian.pkexec.gnome-system-log.policy.in [utf-8] Mon Oct 15 15:36:37 2012
@@ -5,8 +5,8 @@
 <policyconfig>
 
   <action id="org.debian.pkexec.gnome-system-log.run">
-    <description>Run gnome-system-log</description>
-    <message>Authentication is required to view system logs</message>
+    <_description>Run gnome-system-log</_description>
+    <_message>Authentication is required to view system logs</_message>
     <defaults>
       <allow_any>no</allow_any>
       <allow_inactive>no</allow_inactive>

Added: desktop/unstable/gnome-system-log/debian/po-up/debian.pot
URL: http://svn.debian.org/wsvn/pkg-gnome/desktop/unstable/gnome-system-log/debian/po-up/debian.pot?rev=35970&op=file
==============================================================================
--- desktop/unstable/gnome-system-log/debian/po-up/debian.pot (added)
+++ desktop/unstable/gnome-system-log/debian/po-up/debian.pot [utf-8] Mon Oct 15 15:36:37 2012
@@ -1,0 +1,26 @@
+# SOME DESCRIPTIVE TITLE.
+# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
+# This file is distributed under the same license as the PACKAGE package.
+# FIRST AUTHOR <EMAIL at ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2012-10-15 17:04+0200\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL at ADDRESS>\n"
+"Language-Team: LANGUAGE <LL at li.org>\n"
+"Language: \n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=CHARSET\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: ../../debian/org.debian.pkexec.gnome-system-log.policy.in.h:1
+msgid "Run gnome-system-log"
+msgstr ""
+
+#: ../../debian/org.debian.pkexec.gnome-system-log.policy.in.h:2
+msgid "Authentication is required to view system logs"
+msgstr ""

Modified: desktop/unstable/gnome-system-log/debian/rules
URL: http://svn.debian.org/wsvn/pkg-gnome/desktop/unstable/gnome-system-log/debian/rules?rev=35970&op=diff
==============================================================================
--- desktop/unstable/gnome-system-log/debian/rules [utf-8] (original)
+++ desktop/unstable/gnome-system-log/debian/rules [utf-8] Mon Oct 15 15:36:37 2012
@@ -9,3 +9,21 @@
 
 DEB_CONFIGURE_EXTRA_FLAGS += --enable-zlib \
                              --disable-scrollkeeper
+
+INFILES := $(wildcard debian/*.policy.in)
+OUTFILES := $(INFILES:.policy.in=.policy)
+
+build/gnome-system-log:: $(OUTFILES)
+
+%.policy: %.policy.in
+	intltool-merge -x debian/po-up $< $@
+
+clean::
+	rm -f $(OUTFILES)
+
+update-po::
+	ls $(INFILES) | sed 's#^#../#' >debian/po-up/POTFILES.in
+	cd debian/po-up && intltool-update -g debian --pot && \
+		for i in *.po; do intltool-update -g debian --dist $${i%.po}; done
+	rm -f debian/po-up/POTFILES.in
+




More information about the pkg-gnome-commits mailing list