[Xfce4-commits] <thunar:master> Move manual translations to docs/manual/po.

Nick Schermer noreply at xfce.org
Fri Aug 27 17:54:01 CEST 2010


Updating branch refs/heads/master
         to acac4deaee7a7b64d287b091dd955fb10e0f2e0a (commit)
       from b21cdffbcf0836504f3cc5fdbf0fe0fabf007caa (commit)

commit acac4deaee7a7b64d287b091dd955fb10e0f2e0a
Author: Nick Schermer <nick at xfce.org>
Date:   Fri Aug 27 17:43:45 2010 +0200

    Move manual translations to docs/manual/po.
    
    Transifex like this location better and it also makes
    sence to hold the translations close the the original xml
    file.

 Makefile.am                            |    1 -
 configure.in.in                        |    2 +-
 docs/manual/Makefile.am                |   15 ++++++++-------
 {po-doc => docs/manual/po}/Makefile.am |    0
 {po-doc => docs/manual/po}/Thunar.pot  |    0
 {po-doc => docs/manual/po}/bn.po       |    0
 {po-doc => docs/manual/po}/ca.po       |    0
 {po-doc => docs/manual/po}/da.po       |    0
 {po-doc => docs/manual/po}/es.po       |    0
 {po-doc => docs/manual/po}/eu.po       |    0
 {po-doc => docs/manual/po}/fr.po       |    0
 {po-doc => docs/manual/po}/gl.po       |    0
 {po-doc => docs/manual/po}/it.po       |    0
 {po-doc => docs/manual/po}/ja.po       |    0
 {po-doc => docs/manual/po}/nl.po       |    0
 {po-doc => docs/manual/po}/pl.po       |    0
 {po-doc => docs/manual/po}/ru.po       |    0
 {po-doc => docs/manual/po}/tr.po       |    0
 {po-doc => docs/manual/po}/ug.po       |    0
 {po-doc => docs/manual/po}/zh_CN.po    |    0
 {po-doc => docs/manual/po}/zh_TW.po    |    0
 21 files changed, 9 insertions(+), 9 deletions(-)

diff --git a/Makefile.am b/Makefile.am
index fd08989..ec569b5 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -21,7 +21,6 @@ SUBDIRS =								\
 	icons								\
 	pixmaps								\
 	po								\
-	po-doc								\
 	tdb								\
 	thunarx								\
 	thunar								\
diff --git a/configure.in.in b/configure.in.in
index fcc6d19..520c8d1 100644
--- a/configure.in.in
+++ b/configure.in.in
@@ -268,6 +268,7 @@ docs/manual/images/Makefile
 docs/manual/images/fr/Makefile
 docs/manual/images/ja/Makefile
 docs/manual/images/pl/Makefile
+docs/manual/po/Makefile
 docs/papers/Makefile
 docs/reference/Makefile
 docs/reference/thunarx/Makefile
@@ -288,7 +289,6 @@ plugins/thunar-tpa/Makefile
 plugins/thunar-uca/Makefile
 plugins/thunar-wallpaper/Makefile
 po/Makefile.in
-po-doc/Makefile
 tdb/Makefile
 tdb/tdbconfig.h
 thunar/Makefile
diff --git a/docs/manual/Makefile.am b/docs/manual/Makefile.am
index e72f52d..1dcfcb8 100644
--- a/docs/manual/Makefile.am
+++ b/docs/manual/Makefile.am
@@ -1,9 +1,10 @@
 SUBDIRS = \
-	images
+	images \
+	po
 
 STYLESHEET = $(PACKAGE)-html.xsl
 DOCUMENT = $(PACKAGE).xml
-LINGUAS = $(shell cd $(top_srcdir)/po-doc && echo `/bin/ls *.po | sed 's,[.]po,,g'`)
+LINGUAS = $(shell cd $(srcdir)/po && echo `/bin/ls *.po | sed 's,[.]po,,g'`)
 ALL_LINGUAS = C $(LINGUAS)
 
 # install the html files to the destdir
@@ -45,11 +46,11 @@ if GENERATE_DOCUMENTATION
 
 # regenerate po(t) files
 update-po:
-	rm -f $(top_srcdir)/po-doc/$(GETTEXT_PACKAGE).pot; \
-	$(XML2PO) -o $(top_srcdir)/po-doc/$(GETTEXT_PACKAGE).pot $(srcdir)/$(DOCUMENT); \
+	rm -f $(srcdir)/po/$(GETTEXT_PACKAGE).pot; \
+	$(XML2PO) -o $(srcdir)/po/$(GETTEXT_PACKAGE).pot $(srcdir)/$(DOCUMENT); \
 	for lang in $(LINGUAS); do \
-		pofile=$(top_srcdir)/po-doc/$$lang.po; \
-		$(XML2PO) -u $(top_srcdir)/po-doc/$$lang.po $(srcdir)/$(DOCUMENT); \
+		pofile=$(srcdir)/po/$$lang.po; \
+		$(XML2PO) -u $(srcdir)/po/$$lang.po $(srcdir)/$(DOCUMENT); \
 	done
 
 # build the translated help files
@@ -58,7 +59,7 @@ doc-build.stamp: $(srcdir)/$(DOCUMENT) $(srcdir)/$(STYLESHEET)
 	rm -rf $(srcdir)/html; \
 	echo; \
 	for lang in $(ALL_LINGUAS); do \
-		pofile=$(top_srcdir)/po-doc/$$lang.po; \
+		pofile=$(srcdir)/po/$$lang.po; \
 		echo "*** Generating $$lang documentation"; \
 		if test x"$$lang" = x"C"; then \
 			cp $(srcdir)/$(DOCUMENT) xgen-doc; \
diff --git a/po-doc/Makefile.am b/docs/manual/po/Makefile.am
similarity index 100%
rename from po-doc/Makefile.am
rename to docs/manual/po/Makefile.am
diff --git a/po-doc/Thunar.pot b/docs/manual/po/Thunar.pot
similarity index 100%
rename from po-doc/Thunar.pot
rename to docs/manual/po/Thunar.pot
diff --git a/po-doc/bn.po b/docs/manual/po/bn.po
similarity index 100%
rename from po-doc/bn.po
rename to docs/manual/po/bn.po
diff --git a/po-doc/ca.po b/docs/manual/po/ca.po
similarity index 100%
rename from po-doc/ca.po
rename to docs/manual/po/ca.po
diff --git a/po-doc/da.po b/docs/manual/po/da.po
similarity index 100%
rename from po-doc/da.po
rename to docs/manual/po/da.po
diff --git a/po-doc/es.po b/docs/manual/po/es.po
similarity index 100%
rename from po-doc/es.po
rename to docs/manual/po/es.po
diff --git a/po-doc/eu.po b/docs/manual/po/eu.po
similarity index 100%
rename from po-doc/eu.po
rename to docs/manual/po/eu.po
diff --git a/po-doc/fr.po b/docs/manual/po/fr.po
similarity index 100%
rename from po-doc/fr.po
rename to docs/manual/po/fr.po
diff --git a/po-doc/gl.po b/docs/manual/po/gl.po
similarity index 100%
rename from po-doc/gl.po
rename to docs/manual/po/gl.po
diff --git a/po-doc/it.po b/docs/manual/po/it.po
similarity index 100%
rename from po-doc/it.po
rename to docs/manual/po/it.po
diff --git a/po-doc/ja.po b/docs/manual/po/ja.po
similarity index 100%
rename from po-doc/ja.po
rename to docs/manual/po/ja.po
diff --git a/po-doc/nl.po b/docs/manual/po/nl.po
similarity index 100%
rename from po-doc/nl.po
rename to docs/manual/po/nl.po
diff --git a/po-doc/pl.po b/docs/manual/po/pl.po
similarity index 100%
rename from po-doc/pl.po
rename to docs/manual/po/pl.po
diff --git a/po-doc/ru.po b/docs/manual/po/ru.po
similarity index 100%
rename from po-doc/ru.po
rename to docs/manual/po/ru.po
diff --git a/po-doc/tr.po b/docs/manual/po/tr.po
similarity index 100%
rename from po-doc/tr.po
rename to docs/manual/po/tr.po
diff --git a/po-doc/ug.po b/docs/manual/po/ug.po
similarity index 100%
rename from po-doc/ug.po
rename to docs/manual/po/ug.po
diff --git a/po-doc/zh_CN.po b/docs/manual/po/zh_CN.po
similarity index 100%
rename from po-doc/zh_CN.po
rename to docs/manual/po/zh_CN.po
diff --git a/po-doc/zh_TW.po b/docs/manual/po/zh_TW.po
similarity index 100%
rename from po-doc/zh_TW.po
rename to docs/manual/po/zh_TW.po



More information about the Xfce4-commits mailing list