r23757 - gnucash/trunk - Make Gnome appdata file translatable (or try to...).

Cristian Marchi cmarchi at code.gnucash.org
Fri Jan 24 16:08:30 EST 2014


Author: cmarchi
Date: 2014-01-24 16:08:30 -0500 (Fri, 24 Jan 2014)
New Revision: 23757
Trac: http://svn.gnucash.org/trac/changeset/23757

Added:
   gnucash/trunk/src/gnome/gnucash.appdata.xml.in
Removed:
   gnucash/trunk/src/gnome/gnucash.appdata.xml
Modified:
   gnucash/trunk/make-gnucash-potfiles.in
   gnucash/trunk/po/POTFILES.in
   gnucash/trunk/src/gnome/Makefile.am
Log:
Make Gnome appdata file translatable (or try to...).

Modified: gnucash/trunk/make-gnucash-potfiles.in
===================================================================
--- gnucash/trunk/make-gnucash-potfiles.in	2014-01-24 19:35:17 UTC (rev 23756)
+++ gnucash/trunk/make-gnucash-potfiles.in	2014-01-24 21:08:30 UTC (rev 23757)
@@ -56,6 +56,7 @@
 }
 
 # These are also added, even though they are outside of src/
+print "src/gnome/gnucash.appdata.xml.in\n";
 print "src/gnome/gnucash.desktop.in.in\n";
 print "src/libqof/qof/gnc-date.c\n";
 print "src/libqof/qof/qofbookslots.h\n";

Modified: gnucash/trunk/po/POTFILES.in
===================================================================
--- gnucash/trunk/po/POTFILES.in	2014-01-24 19:35:17 UTC (rev 23756)
+++ gnucash/trunk/po/POTFILES.in	2014-01-24 21:08:30 UTC (rev 23757)
@@ -523,6 +523,7 @@
 src/report/stylesheets/gnc-plugin-stylesheets.c
 src/report/utility-reports/gncmod-utility-reports.c
 src/tax/us/gncmod-tax-us.c
+src/gnome/gnucash.appdata.xml.in
 src/gnome/gnucash.desktop.in.in
 src/libqof/qof/gnc-date.c
 src/libqof/qof/qofbookslots.h

Modified: gnucash/trunk/src/gnome/Makefile.am
===================================================================
--- gnucash/trunk/src/gnome/Makefile.am	2014-01-24 19:35:17 UTC (rev 23756)
+++ gnucash/trunk/src/gnome/Makefile.am	2014-01-24 21:08:30 UTC (rev 23757)
@@ -72,8 +72,9 @@
 appicondir = $(datadir)/pixmaps
 
 appdatadir = $(datadir)/appdata
-appdata_files = gnucash.appdata.xml
-appdata_DATA = $(appdata_files)
+appdata_in_files = gnucash.appdata.xml.in
+appdata_DATA = $(appdata_in_files:.xml.in=.xml)
+ at INTLTOOL_XML_RULE@
 
 noinst_HEADERS = \
   assistant-acct-period.h \

Deleted: gnucash/trunk/src/gnome/gnucash.appdata.xml
===================================================================
--- gnucash/trunk/src/gnome/gnucash.appdata.xml	2014-01-24 19:35:17 UTC (rev 23756)
+++ gnucash/trunk/src/gnome/gnucash.appdata.xml	2014-01-24 21:08:30 UTC (rev 23757)
@@ -1,34 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<application>
- <id type="desktop">gnucash.desktop</id>
- <licence>CC0</licence>
- <description>
-  <p>
-   GnuCash is a program for personal and small-business financial-accounting.
-  </p>
-  <p>
-   Designed to be easy to use, yet powerful and flexible, GnuCash allows you
-   to track bank accounts, stocks, income and expenses. As quick
-   and intuitive to use as a checkbook register, it is based on professional
-   accounting principles like double-entry accounting to ensure balanced books
-   and accurate reports. 
-  </p>
-  <p>With GnuCash you can (but are not limited to):</p>
-  <ul>
-   <li>Keep track of your day to day personal income and expenses</li>
-   <li>Manage your stock, bond and mutual fund accounts with ease</li>
-   <li>Keep your small business' accounting up to date</li>
-   <li>Create accurate reports and graphs from your financial data</li>
-   <li>Set up scheduled transactions to avoid repeated data entry</li>
-   <li>QIF/OFX/HBCI Import, Transaction Matching</li>
-   <li>Perform financial calculations, such as a loan repayment</li>
-  </ul>
- </description>
- <screenshots>
-  <screenshot type="default" width="1049" height="590">http://www.gnucash.org/images/features/feature_accounts_lg.png</screenshot>
-  <screenshot width="1049" height="590">http://www.gnucash.org/images/features/feature_register_lg.png</screenshot>
-  <screenshot width="1049" height="590">http://www.gnucash.org/images/features/feature_bar_chart_lg.png</screenshot>
- </screenshots>
- <url type="homepage">http://www.gnucash.org/</url>
- <updatecontact>gnucash-devel at gnucash.org</updatecontact>
-</application>

Added: gnucash/trunk/src/gnome/gnucash.appdata.xml.in
===================================================================
--- gnucash/trunk/src/gnome/gnucash.appdata.xml.in	                        (rev 0)
+++ gnucash/trunk/src/gnome/gnucash.appdata.xml.in	2014-01-24 21:08:30 UTC (rev 23757)
@@ -0,0 +1,34 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<application>
+ <id type="desktop">gnucash.desktop</id>
+ <licence>CC0</licence>
+ <description>
+  <_p>
+   GnuCash is a program for personal and small-business financial-accounting.
+  </_p>
+  <_p>
+   Designed to be easy to use, yet powerful and flexible, GnuCash allows you
+   to track bank accounts, stocks, income and expenses. As quick
+   and intuitive to use as a checkbook register, it is based on professional
+   accounting principles like double-entry accounting to ensure balanced books
+   and accurate reports. 
+  </_p>
+  <_p>With GnuCash you can (but are not limited to):</_p>
+  <ul>
+   <_li>Keep track of your day to day personal income and expenses</_li>
+   <_li>Manage your stock, bond and mutual fund accounts with ease</_li>
+   <_li>Keep your small business' accounting up to date</_li>
+   <_li>Create accurate reports and graphs from your financial data</_li>
+   <_li>Set up scheduled transactions to avoid repeated data entry</_li>
+   <_li>QIF/OFX/HBCI Import, Transaction Matching</_li>
+   <_li>Perform financial calculations, such as a loan repayment</_li>
+  </ul>
+ </description>
+ <screenshots>
+  <screenshot type="default" width="1049" height="590">http://www.gnucash.org/images/features/feature_accounts_lg.png</screenshot>
+  <screenshot width="1049" height="590">http://www.gnucash.org/images/features/feature_register_lg.png</screenshot>
+  <screenshot width="1049" height="590">http://www.gnucash.org/images/features/feature_bar_chart_lg.png</screenshot>
+ </screenshots>
+ <url type="homepage">http://www.gnucash.org/</url>
+ <updatecontact>gnucash-devel at gnucash.org</updatecontact>
+</application>



More information about the gnucash-changes mailing list