summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2018-08-26 22:55:45 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2018-08-26 22:55:45 +0900
commit64ebe0c13bbb28e638d32d624f11be29e7cdb5ce (patch)
tree904f1843587158aab2092f6a9d6f62c4cf13f77a
parent85278cadecf3d63a6a50e42c070b308ace065a50 (diff)
downloadtdeio-gopher-64ebe0c13bbb28e638d32d624f11be29e7cdb5ce.tar.gz
tdeio-gopher-64ebe0c13bbb28e638d32d624f11be29e7cdb5ce.zip
Fixed messages building and translations.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
-rw-r--r--CMakeLists.txt2
-rw-r--r--po/CMakeLists.txt65
-rwxr-xr-xpo/Messages.sh2
-rw-r--r--po/ar/CMakeLists.txt2
-rw-r--r--po/ar/tdeio-gopher.po (renamed from po/ar/tdeio_gopher.po)0
-rw-r--r--po/bg/CMakeLists.txt2
-rw-r--r--po/bg/tdeio-gopher.po (renamed from po/bg/tdeio_gopher.po)0
-rw-r--r--po/br/CMakeLists.txt2
-rw-r--r--po/br/tdeio-gopher.po (renamed from po/br/tdeio_gopher.po)0
-rw-r--r--po/bs/CMakeLists.txt2
-rw-r--r--po/bs/tdeio-gopher.po (renamed from po/bs/tdeio_gopher.po)0
-rw-r--r--po/ca/CMakeLists.txt2
-rw-r--r--po/ca/tdeio-gopher.po (renamed from po/ca/tdeio_gopher.po)0
-rw-r--r--po/ca@valencia/CMakeLists.txt2
-rw-r--r--po/ca@valencia/tdeio-gopher.po (renamed from po/ca@valencia/tdeio_gopher.po)0
-rw-r--r--po/cs/CMakeLists.txt2
-rw-r--r--po/cs/tdeio-gopher.po (renamed from po/cs/tdeio_gopher.po)0
-rw-r--r--po/cy/CMakeLists.txt2
-rw-r--r--po/cy/tdeio-gopher.po (renamed from po/cy/tdeio_gopher.po)0
-rw-r--r--po/da/CMakeLists.txt2
-rw-r--r--po/da/tdeio-gopher.po (renamed from po/da/tdeio_gopher.po)0
-rw-r--r--po/de/CMakeLists.txt2
-rw-r--r--po/de/tdeio-gopher.po (renamed from po/de/tdeio_gopher.po)0
-rw-r--r--po/el/CMakeLists.txt2
-rw-r--r--po/el/tdeio-gopher.po (renamed from po/el/tdeio_gopher.po)0
-rw-r--r--po/en_GB/CMakeLists.txt2
-rw-r--r--po/en_GB/tdeio-gopher.po (renamed from po/en_GB/tdeio_gopher.po)0
-rw-r--r--po/eo/CMakeLists.txt2
-rw-r--r--po/eo/tdeio-gopher.po (renamed from po/eo/tdeio_gopher.po)0
-rw-r--r--po/es/CMakeLists.txt2
-rw-r--r--po/es/tdeio-gopher.po (renamed from po/es/tdeio_gopher.po)0
-rw-r--r--po/et/CMakeLists.txt2
-rw-r--r--po/et/tdeio-gopher.po (renamed from po/et/tdeio_gopher.po)0
-rw-r--r--po/fi/CMakeLists.txt2
-rw-r--r--po/fi/tdeio-gopher.po (renamed from po/fi/tdeio_gopher.po)0
-rw-r--r--po/fr/CMakeLists.txt2
-rw-r--r--po/fr/tdeio-gopher.po (renamed from po/fr/tdeio_gopher.po)0
-rw-r--r--po/ga/CMakeLists.txt2
-rw-r--r--po/ga/tdeio-gopher.po (renamed from po/ga/tdeio_gopher.po)0
-rw-r--r--po/gl/CMakeLists.txt2
-rw-r--r--po/gl/tdeio-gopher.po (renamed from po/gl/tdeio_gopher.po)0
-rw-r--r--po/hr/CMakeLists.txt2
-rw-r--r--po/hr/tdeio-gopher.po (renamed from po/hr/tdeio_gopher.po)0
-rw-r--r--po/hu/CMakeLists.txt2
-rw-r--r--po/hu/tdeio-gopher.po (renamed from po/hu/tdeio_gopher.po)0
-rw-r--r--po/is/CMakeLists.txt2
-rw-r--r--po/is/tdeio-gopher.po (renamed from po/is/tdeio_gopher.po)0
-rw-r--r--po/it/CMakeLists.txt2
-rw-r--r--po/it/tdeio-gopher.po (renamed from po/it/tdeio_gopher.po)0
-rw-r--r--po/ja/CMakeLists.txt2
-rw-r--r--po/ja/tdeio-gopher.po (renamed from po/ja/tdeio_gopher.po)0
-rw-r--r--po/ka/CMakeLists.txt2
-rw-r--r--po/ka/tdeio-gopher.po (renamed from po/ka/tdeio_gopher.po)0
-rw-r--r--po/km/CMakeLists.txt2
-rw-r--r--po/km/tdeio-gopher.po (renamed from po/km/tdeio_gopher.po)0
-rw-r--r--po/lt/CMakeLists.txt2
-rw-r--r--po/lt/tdeio-gopher.po (renamed from po/lt/tdeio_gopher.po)0
-rw-r--r--po/lv/CMakeLists.txt2
-rw-r--r--po/lv/tdeio-gopher.po (renamed from po/lv/tdeio_gopher.po)0
-rwxr-xr-xpo/messages.sh63
-rw-r--r--po/ms/CMakeLists.txt2
-rw-r--r--po/ms/tdeio-gopher.po (renamed from po/ms/tdeio_gopher.po)0
-rw-r--r--po/nb/CMakeLists.txt2
-rw-r--r--po/nb/tdeio-gopher.po (renamed from po/nb/tdeio_gopher.po)0
-rw-r--r--po/nds/CMakeLists.txt2
-rw-r--r--po/nds/tdeio-gopher.po (renamed from po/nds/tdeio_gopher.po)0
-rw-r--r--po/nl/CMakeLists.txt2
-rw-r--r--po/nl/tdeio-gopher.po (renamed from po/nl/tdeio_gopher.po)0
-rw-r--r--po/nn/CMakeLists.txt2
-rw-r--r--po/nn/tdeio-gopher.po (renamed from po/nn/tdeio_gopher.po)0
-rw-r--r--po/pa/CMakeLists.txt2
-rw-r--r--po/pa/tdeio-gopher.po (renamed from po/pa/tdeio_gopher.po)0
-rw-r--r--po/pl/CMakeLists.txt2
-rw-r--r--po/pl/tdeio-gopher.po (renamed from po/pl/tdeio_gopher.po)0
-rw-r--r--po/pt/CMakeLists.txt2
-rw-r--r--po/pt/tdeio-gopher.po (renamed from po/pt/tdeio_gopher.po)0
-rw-r--r--po/pt_BR/CMakeLists.txt2
-rw-r--r--po/pt_BR/tdeio-gopher.po (renamed from po/pt_BR/tdeio_gopher.po)0
-rw-r--r--po/ro/CMakeLists.txt2
-rw-r--r--po/ro/tdeio-gopher.po (renamed from po/ro/tdeio_gopher.po)0
-rw-r--r--po/ru/CMakeLists.txt2
-rw-r--r--po/ru/tdeio-gopher.po (renamed from po/ru/tdeio_gopher.po)0
-rw-r--r--po/rw/CMakeLists.txt2
-rw-r--r--po/rw/tdeio-gopher.po (renamed from po/rw/tdeio_gopher.po)0
-rw-r--r--po/sk/CMakeLists.txt2
-rw-r--r--po/sk/tdeio-gopher.po (renamed from po/sk/tdeio_gopher.po)0
-rw-r--r--po/sv/CMakeLists.txt2
-rw-r--r--po/sv/tdeio-gopher.po (renamed from po/sv/tdeio_gopher.po)0
-rw-r--r--po/ta/CMakeLists.txt2
-rw-r--r--po/ta/tdeio-gopher.po (renamed from po/ta/tdeio_gopher.po)0
-rw-r--r--po/tr/CMakeLists.txt2
-rw-r--r--po/tr/tdeio-gopher.po (renamed from po/tr/tdeio_gopher.po)0
-rw-r--r--po/ug/CMakeLists.txt2
-rw-r--r--po/ug/tdeio-gopher.po (renamed from po/ug/tdeio_gopher.po)0
-rw-r--r--po/uk/CMakeLists.txt2
-rw-r--r--po/uk/tdeio-gopher.po (renamed from po/uk/tdeio_gopher.po)0
-rw-r--r--po/zh_CN/CMakeLists.txt2
-rw-r--r--po/zh_CN/tdeio-gopher.po (renamed from po/zh_CN/tdeio_gopher.po)0
-rw-r--r--po/zh_TW/CMakeLists.txt2
-rw-r--r--po/zh_TW/tdeio-gopher.po (renamed from po/zh_TW/tdeio_gopher.po)0
100 files changed, 81 insertions, 147 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 0f2f584..5f3f062 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -68,7 +68,7 @@ set( CMAKE_MODULE_LINKER_FLAGS "-Wl,--no-undefined" )
add_subdirectory( src )
tde_conditional_add_subdirectory( BUILD_DOC doc )
-#tde_conditional_add_subdirectory( BUILD_TRANSLATIONS po )
+tde_conditional_add_subdirectory( BUILD_TRANSLATIONS po )
##### write configure files #####################
diff --git a/po/CMakeLists.txt b/po/CMakeLists.txt
index ff57573..a1762f1 100644
--- a/po/CMakeLists.txt
+++ b/po/CMakeLists.txt
@@ -1,48 +1,17 @@
-add_subdirectory( ar )
-add_subdirectory( bg )
-add_subdirectory( br )
-add_subdirectory( bs )
-add_subdirectory( ca )
-add_subdirectory( ca@valencia )
-add_subdirectory( cs )
-add_subdirectory( cy )
-add_subdirectory( da )
-add_subdirectory( de )
-add_subdirectory( el )
-add_subdirectory( en_GB )
-add_subdirectory( eo )
-add_subdirectory( es )
-add_subdirectory( et )
-add_subdirectory( fi )
-add_subdirectory( fr )
-add_subdirectory( ga )
-add_subdirectory( gl )
-add_subdirectory( hr )
-add_subdirectory( hu )
-add_subdirectory( is )
-add_subdirectory( it )
-add_subdirectory( ja )
-add_subdirectory( ka )
-add_subdirectory( km )
-add_subdirectory( lt )
-add_subdirectory( lv )
-add_subdirectory( ms )
-add_subdirectory( nb )
-add_subdirectory( nds )
-add_subdirectory( nl )
-add_subdirectory( nn )
-add_subdirectory( pa )
-add_subdirectory( pl )
-add_subdirectory( pt )
-add_subdirectory( pt_BR )
-add_subdirectory( ro )
-add_subdirectory( ru )
-add_subdirectory( rw )
-add_subdirectory( sk )
-add_subdirectory( sv )
-add_subdirectory( ta )
-add_subdirectory( tr )
-add_subdirectory( ug )
-add_subdirectory( uk )
-add_subdirectory( zh_CN )
-add_subdirectory( zh_TW )
+#################################################
+#
+# (C) 2011 Timothy Pearson
+# kb9vqf (AT) pearsoncomputing.net
+#
+# Improvements and feedback are welcome
+#
+# This file is released under GPL >= 2
+#
+#################################################
+
+file( GLOB_RECURSE po_files RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} tdeio-gopher.po )
+
+foreach( _po ${po_files} )
+ get_filename_component( _lang ${_po} PATH )
+ tde_create_translation( FILES ${_po} LANG ${_lang} )
+endforeach( )
diff --git a/po/Messages.sh b/po/Messages.sh
deleted file mode 100755
index 28f3143..0000000
--- a/po/Messages.sh
+++ /dev/null
@@ -1,2 +0,0 @@
-#! /usr/bin/env bash
-$XGETTEXT *.cpp -o $podir/tdeio_gopher.pot
diff --git a/po/ar/CMakeLists.txt b/po/ar/CMakeLists.txt
deleted file mode 100644
index cff9f39..0000000
--- a/po/ar/CMakeLists.txt
+++ /dev/null
@@ -1,2 +0,0 @@
-file(GLOB _po_files *.po)
-GETTEXT_PROCESS_PO_FILES( ar ALL INSTALL_DESTINATION ${LOCALE_INSTALL_DIR} ${_po_files} )
diff --git a/po/ar/tdeio_gopher.po b/po/ar/tdeio-gopher.po
index b571a73..b571a73 100644
--- a/po/ar/tdeio_gopher.po
+++ b/po/ar/tdeio-gopher.po
diff --git a/po/bg/CMakeLists.txt b/po/bg/CMakeLists.txt
deleted file mode 100644
index 9f428aa..0000000
--- a/po/bg/CMakeLists.txt
+++ /dev/null
@@ -1,2 +0,0 @@
-file(GLOB _po_files *.po)
-GETTEXT_PROCESS_PO_FILES( bg ALL INSTALL_DESTINATION ${LOCALE_INSTALL_DIR} ${_po_files} )
diff --git a/po/bg/tdeio_gopher.po b/po/bg/tdeio-gopher.po
index 63173ce..63173ce 100644
--- a/po/bg/tdeio_gopher.po
+++ b/po/bg/tdeio-gopher.po
diff --git a/po/br/CMakeLists.txt b/po/br/CMakeLists.txt
deleted file mode 100644
index 9abbf83..0000000
--- a/po/br/CMakeLists.txt
+++ /dev/null
@@ -1,2 +0,0 @@
-file(GLOB _po_files *.po)
-GETTEXT_PROCESS_PO_FILES( br ALL INSTALL_DESTINATION ${LOCALE_INSTALL_DIR} ${_po_files} )
diff --git a/po/br/tdeio_gopher.po b/po/br/tdeio-gopher.po
index e95f036..e95f036 100644
--- a/po/br/tdeio_gopher.po
+++ b/po/br/tdeio-gopher.po
diff --git a/po/bs/CMakeLists.txt b/po/bs/CMakeLists.txt
deleted file mode 100644
index 32c74c5..0000000
--- a/po/bs/CMakeLists.txt
+++ /dev/null
@@ -1,2 +0,0 @@
-file(GLOB _po_files *.po)
-GETTEXT_PROCESS_PO_FILES( bs ALL INSTALL_DESTINATION ${LOCALE_INSTALL_DIR} ${_po_files} )
diff --git a/po/bs/tdeio_gopher.po b/po/bs/tdeio-gopher.po
index 9b5729e..9b5729e 100644
--- a/po/bs/tdeio_gopher.po
+++ b/po/bs/tdeio-gopher.po
diff --git a/po/ca/CMakeLists.txt b/po/ca/CMakeLists.txt
deleted file mode 100644
index 53c898a..0000000
--- a/po/ca/CMakeLists.txt
+++ /dev/null
@@ -1,2 +0,0 @@
-file(GLOB _po_files *.po)
-GETTEXT_PROCESS_PO_FILES( ca ALL INSTALL_DESTINATION ${LOCALE_INSTALL_DIR} ${_po_files} )
diff --git a/po/ca/tdeio_gopher.po b/po/ca/tdeio-gopher.po
index 7f5315b..7f5315b 100644
--- a/po/ca/tdeio_gopher.po
+++ b/po/ca/tdeio-gopher.po
diff --git a/po/ca@valencia/CMakeLists.txt b/po/ca@valencia/CMakeLists.txt
deleted file mode 100644
index b8d8b07..0000000
--- a/po/ca@valencia/CMakeLists.txt
+++ /dev/null
@@ -1,2 +0,0 @@
-file(GLOB _po_files *.po)
-GETTEXT_PROCESS_PO_FILES( ca@valencia ALL INSTALL_DESTINATION ${LOCALE_INSTALL_DIR} ${_po_files} )
diff --git a/po/ca@valencia/tdeio_gopher.po b/po/ca@valencia/tdeio-gopher.po
index 7f5315b..7f5315b 100644
--- a/po/ca@valencia/tdeio_gopher.po
+++ b/po/ca@valencia/tdeio-gopher.po
diff --git a/po/cs/CMakeLists.txt b/po/cs/CMakeLists.txt
deleted file mode 100644
index 4512e66..0000000
--- a/po/cs/CMakeLists.txt
+++ /dev/null
@@ -1,2 +0,0 @@
-file(GLOB _po_files *.po)
-GETTEXT_PROCESS_PO_FILES( cs ALL INSTALL_DESTINATION ${LOCALE_INSTALL_DIR} ${_po_files} )
diff --git a/po/cs/tdeio_gopher.po b/po/cs/tdeio-gopher.po
index 7c7df16..7c7df16 100644
--- a/po/cs/tdeio_gopher.po
+++ b/po/cs/tdeio-gopher.po
diff --git a/po/cy/CMakeLists.txt b/po/cy/CMakeLists.txt
deleted file mode 100644
index bb5b924..0000000
--- a/po/cy/CMakeLists.txt
+++ /dev/null
@@ -1,2 +0,0 @@
-file(GLOB _po_files *.po)
-GETTEXT_PROCESS_PO_FILES( cy ALL INSTALL_DESTINATION ${LOCALE_INSTALL_DIR} ${_po_files} )
diff --git a/po/cy/tdeio_gopher.po b/po/cy/tdeio-gopher.po
index 5653b97..5653b97 100644
--- a/po/cy/tdeio_gopher.po
+++ b/po/cy/tdeio-gopher.po
diff --git a/po/da/CMakeLists.txt b/po/da/CMakeLists.txt
deleted file mode 100644
index d1793c4..0000000
--- a/po/da/CMakeLists.txt
+++ /dev/null
@@ -1,2 +0,0 @@
-file(GLOB _po_files *.po)
-GETTEXT_PROCESS_PO_FILES( da ALL INSTALL_DESTINATION ${LOCALE_INSTALL_DIR} ${_po_files} )
diff --git a/po/da/tdeio_gopher.po b/po/da/tdeio-gopher.po
index 9ad741d..9ad741d 100644
--- a/po/da/tdeio_gopher.po
+++ b/po/da/tdeio-gopher.po
diff --git a/po/de/CMakeLists.txt b/po/de/CMakeLists.txt
deleted file mode 100644
index 2346309..0000000
--- a/po/de/CMakeLists.txt
+++ /dev/null
@@ -1,2 +0,0 @@
-file(GLOB _po_files *.po)
-GETTEXT_PROCESS_PO_FILES( de ALL INSTALL_DESTINATION ${LOCALE_INSTALL_DIR} ${_po_files} )
diff --git a/po/de/tdeio_gopher.po b/po/de/tdeio-gopher.po
index caff1aa..caff1aa 100644
--- a/po/de/tdeio_gopher.po
+++ b/po/de/tdeio-gopher.po
diff --git a/po/el/CMakeLists.txt b/po/el/CMakeLists.txt
deleted file mode 100644
index dd59b1a..0000000
--- a/po/el/CMakeLists.txt
+++ /dev/null
@@ -1,2 +0,0 @@
-file(GLOB _po_files *.po)
-GETTEXT_PROCESS_PO_FILES( el ALL INSTALL_DESTINATION ${LOCALE_INSTALL_DIR} ${_po_files} )
diff --git a/po/el/tdeio_gopher.po b/po/el/tdeio-gopher.po
index 1eb0501..1eb0501 100644
--- a/po/el/tdeio_gopher.po
+++ b/po/el/tdeio-gopher.po
diff --git a/po/en_GB/CMakeLists.txt b/po/en_GB/CMakeLists.txt
deleted file mode 100644
index c53bd3b..0000000
--- a/po/en_GB/CMakeLists.txt
+++ /dev/null
@@ -1,2 +0,0 @@
-file(GLOB _po_files *.po)
-GETTEXT_PROCESS_PO_FILES( en_GB ALL INSTALL_DESTINATION ${LOCALE_INSTALL_DIR} ${_po_files} )
diff --git a/po/en_GB/tdeio_gopher.po b/po/en_GB/tdeio-gopher.po
index 33b2aca..33b2aca 100644
--- a/po/en_GB/tdeio_gopher.po
+++ b/po/en_GB/tdeio-gopher.po
diff --git a/po/eo/CMakeLists.txt b/po/eo/CMakeLists.txt
deleted file mode 100644
index 4119520..0000000
--- a/po/eo/CMakeLists.txt
+++ /dev/null
@@ -1,2 +0,0 @@
-file(GLOB _po_files *.po)
-GETTEXT_PROCESS_PO_FILES( eo ALL INSTALL_DESTINATION ${LOCALE_INSTALL_DIR} ${_po_files} )
diff --git a/po/eo/tdeio_gopher.po b/po/eo/tdeio-gopher.po
index f822309..f822309 100644
--- a/po/eo/tdeio_gopher.po
+++ b/po/eo/tdeio-gopher.po
diff --git a/po/es/CMakeLists.txt b/po/es/CMakeLists.txt
deleted file mode 100644
index 6e120d6..0000000
--- a/po/es/CMakeLists.txt
+++ /dev/null
@@ -1,2 +0,0 @@
-file(GLOB _po_files *.po)
-GETTEXT_PROCESS_PO_FILES( es ALL INSTALL_DESTINATION ${LOCALE_INSTALL_DIR} ${_po_files} )
diff --git a/po/es/tdeio_gopher.po b/po/es/tdeio-gopher.po
index c042281..c042281 100644
--- a/po/es/tdeio_gopher.po
+++ b/po/es/tdeio-gopher.po
diff --git a/po/et/CMakeLists.txt b/po/et/CMakeLists.txt
deleted file mode 100644
index 3bd0392..0000000
--- a/po/et/CMakeLists.txt
+++ /dev/null
@@ -1,2 +0,0 @@
-file(GLOB _po_files *.po)
-GETTEXT_PROCESS_PO_FILES( et ALL INSTALL_DESTINATION ${LOCALE_INSTALL_DIR} ${_po_files} )
diff --git a/po/et/tdeio_gopher.po b/po/et/tdeio-gopher.po
index 072f7d4..072f7d4 100644
--- a/po/et/tdeio_gopher.po
+++ b/po/et/tdeio-gopher.po
diff --git a/po/fi/CMakeLists.txt b/po/fi/CMakeLists.txt
deleted file mode 100644
index f5e43fe..0000000
--- a/po/fi/CMakeLists.txt
+++ /dev/null
@@ -1,2 +0,0 @@
-file(GLOB _po_files *.po)
-GETTEXT_PROCESS_PO_FILES( fi ALL INSTALL_DESTINATION ${LOCALE_INSTALL_DIR} ${_po_files} )
diff --git a/po/fi/tdeio_gopher.po b/po/fi/tdeio-gopher.po
index 2ad7f1f..2ad7f1f 100644
--- a/po/fi/tdeio_gopher.po
+++ b/po/fi/tdeio-gopher.po
diff --git a/po/fr/CMakeLists.txt b/po/fr/CMakeLists.txt
deleted file mode 100644
index 423b4ca..0000000
--- a/po/fr/CMakeLists.txt
+++ /dev/null
@@ -1,2 +0,0 @@
-file(GLOB _po_files *.po)
-GETTEXT_PROCESS_PO_FILES( fr ALL INSTALL_DESTINATION ${LOCALE_INSTALL_DIR} ${_po_files} )
diff --git a/po/fr/tdeio_gopher.po b/po/fr/tdeio-gopher.po
index 95cbd7b..95cbd7b 100644
--- a/po/fr/tdeio_gopher.po
+++ b/po/fr/tdeio-gopher.po
diff --git a/po/ga/CMakeLists.txt b/po/ga/CMakeLists.txt
deleted file mode 100644
index 92e492d..0000000
--- a/po/ga/CMakeLists.txt
+++ /dev/null
@@ -1,2 +0,0 @@
-file(GLOB _po_files *.po)
-GETTEXT_PROCESS_PO_FILES( ga ALL INSTALL_DESTINATION ${LOCALE_INSTALL_DIR} ${_po_files} )
diff --git a/po/ga/tdeio_gopher.po b/po/ga/tdeio-gopher.po
index bf2a380..bf2a380 100644
--- a/po/ga/tdeio_gopher.po
+++ b/po/ga/tdeio-gopher.po
diff --git a/po/gl/CMakeLists.txt b/po/gl/CMakeLists.txt
deleted file mode 100644
index 327956c..0000000
--- a/po/gl/CMakeLists.txt
+++ /dev/null
@@ -1,2 +0,0 @@
-file(GLOB _po_files *.po)
-GETTEXT_PROCESS_PO_FILES( gl ALL INSTALL_DESTINATION ${LOCALE_INSTALL_DIR} ${_po_files} )
diff --git a/po/gl/tdeio_gopher.po b/po/gl/tdeio-gopher.po
index d421e3e..d421e3e 100644
--- a/po/gl/tdeio_gopher.po
+++ b/po/gl/tdeio-gopher.po
diff --git a/po/hr/CMakeLists.txt b/po/hr/CMakeLists.txt
deleted file mode 100644
index c50ac14..0000000
--- a/po/hr/CMakeLists.txt
+++ /dev/null
@@ -1,2 +0,0 @@
-file(GLOB _po_files *.po)
-GETTEXT_PROCESS_PO_FILES( hr ALL INSTALL_DESTINATION ${LOCALE_INSTALL_DIR} ${_po_files} )
diff --git a/po/hr/tdeio_gopher.po b/po/hr/tdeio-gopher.po
index c31a54c..c31a54c 100644
--- a/po/hr/tdeio_gopher.po
+++ b/po/hr/tdeio-gopher.po
diff --git a/po/hu/CMakeLists.txt b/po/hu/CMakeLists.txt
deleted file mode 100644
index 15c9205..0000000
--- a/po/hu/CMakeLists.txt
+++ /dev/null
@@ -1,2 +0,0 @@
-file(GLOB _po_files *.po)
-GETTEXT_PROCESS_PO_FILES( hu ALL INSTALL_DESTINATION ${LOCALE_INSTALL_DIR} ${_po_files} )
diff --git a/po/hu/tdeio_gopher.po b/po/hu/tdeio-gopher.po
index 4881450..4881450 100644
--- a/po/hu/tdeio_gopher.po
+++ b/po/hu/tdeio-gopher.po
diff --git a/po/is/CMakeLists.txt b/po/is/CMakeLists.txt
deleted file mode 100644
index 80ba07b..0000000
--- a/po/is/CMakeLists.txt
+++ /dev/null
@@ -1,2 +0,0 @@
-file(GLOB _po_files *.po)
-GETTEXT_PROCESS_PO_FILES( is ALL INSTALL_DESTINATION ${LOCALE_INSTALL_DIR} ${_po_files} )
diff --git a/po/is/tdeio_gopher.po b/po/is/tdeio-gopher.po
index c90a7de..c90a7de 100644
--- a/po/is/tdeio_gopher.po
+++ b/po/is/tdeio-gopher.po
diff --git a/po/it/CMakeLists.txt b/po/it/CMakeLists.txt
deleted file mode 100644
index e4837ce..0000000
--- a/po/it/CMakeLists.txt
+++ /dev/null
@@ -1,2 +0,0 @@
-file(GLOB _po_files *.po)
-GETTEXT_PROCESS_PO_FILES( it ALL INSTALL_DESTINATION ${LOCALE_INSTALL_DIR} ${_po_files} )
diff --git a/po/it/tdeio_gopher.po b/po/it/tdeio-gopher.po
index 88db5df..88db5df 100644
--- a/po/it/tdeio_gopher.po
+++ b/po/it/tdeio-gopher.po
diff --git a/po/ja/CMakeLists.txt b/po/ja/CMakeLists.txt
deleted file mode 100644
index cf3d814..0000000
--- a/po/ja/CMakeLists.txt
+++ /dev/null
@@ -1,2 +0,0 @@
-file(GLOB _po_files *.po)
-GETTEXT_PROCESS_PO_FILES( ja ALL INSTALL_DESTINATION ${LOCALE_INSTALL_DIR} ${_po_files} )
diff --git a/po/ja/tdeio_gopher.po b/po/ja/tdeio-gopher.po
index 4722fbf..4722fbf 100644
--- a/po/ja/tdeio_gopher.po
+++ b/po/ja/tdeio-gopher.po
diff --git a/po/ka/CMakeLists.txt b/po/ka/CMakeLists.txt
deleted file mode 100644
index 91a2432..0000000
--- a/po/ka/CMakeLists.txt
+++ /dev/null
@@ -1,2 +0,0 @@
-file(GLOB _po_files *.po)
-GETTEXT_PROCESS_PO_FILES( ka ALL INSTALL_DESTINATION ${LOCALE_INSTALL_DIR} ${_po_files} )
diff --git a/po/ka/tdeio_gopher.po b/po/ka/tdeio-gopher.po
index 34e0a0c..34e0a0c 100644
--- a/po/ka/tdeio_gopher.po
+++ b/po/ka/tdeio-gopher.po
diff --git a/po/km/CMakeLists.txt b/po/km/CMakeLists.txt
deleted file mode 100644
index 4936b9d..0000000
--- a/po/km/CMakeLists.txt
+++ /dev/null
@@ -1,2 +0,0 @@
-file(GLOB _po_files *.po)
-GETTEXT_PROCESS_PO_FILES( km ALL INSTALL_DESTINATION ${LOCALE_INSTALL_DIR} ${_po_files} )
diff --git a/po/km/tdeio_gopher.po b/po/km/tdeio-gopher.po
index 551518d..551518d 100644
--- a/po/km/tdeio_gopher.po
+++ b/po/km/tdeio-gopher.po
diff --git a/po/lt/CMakeLists.txt b/po/lt/CMakeLists.txt
deleted file mode 100644
index 5995d97..0000000
--- a/po/lt/CMakeLists.txt
+++ /dev/null
@@ -1,2 +0,0 @@
-file(GLOB _po_files *.po)
-GETTEXT_PROCESS_PO_FILES( lt ALL INSTALL_DESTINATION ${LOCALE_INSTALL_DIR} ${_po_files} )
diff --git a/po/lt/tdeio_gopher.po b/po/lt/tdeio-gopher.po
index 998de4b..998de4b 100644
--- a/po/lt/tdeio_gopher.po
+++ b/po/lt/tdeio-gopher.po
diff --git a/po/lv/CMakeLists.txt b/po/lv/CMakeLists.txt
deleted file mode 100644
index be5f0d0..0000000
--- a/po/lv/CMakeLists.txt
+++ /dev/null
@@ -1,2 +0,0 @@
-file(GLOB _po_files *.po)
-GETTEXT_PROCESS_PO_FILES( lv ALL INSTALL_DESTINATION ${LOCALE_INSTALL_DIR} ${_po_files} )
diff --git a/po/lv/tdeio_gopher.po b/po/lv/tdeio-gopher.po
index 9fcb821..9fcb821 100644
--- a/po/lv/tdeio_gopher.po
+++ b/po/lv/tdeio-gopher.po
diff --git a/po/messages.sh b/po/messages.sh
new file mode 100755
index 0000000..c6fd829
--- /dev/null
+++ b/po/messages.sh
@@ -0,0 +1,63 @@
+#!/bin/sh
+
+# Inspired by Makefile.common from coolo
+# this script is used to update the .po files
+
+# To update the translations, you will need a specific gettext
+# patched for kde and a lot of patience, tenacity, luck, time ..
+
+
+# I guess one should only update the .po files when all .cpp files
+# are generated (after a make or scons)
+#
+
+SRCDIR=../src
+TIPSDIR=$SRCDIR/appdata
+
+TDEDIR=`tde-config --prefix`
+EXTRACTRC=extractrc
+KDEPOT=`tde-config --prefix`/include/tde/kde.pot
+XGETTEXT="xgettext -C -ki18n -ktr2i18n -kI18N_NOOP -ktranslate -kaliasLocale -x $KDEPOT "
+
+## check that kde.pot is available
+if ! test -e $KDEPOT; then
+ echo "$KDEPOT does not exist, there may be something wrong with your installation!"
+ XGETTEXT="xgettext -C -ki18n -ktr2i18n -kI18N_NOOP -ktranslate -kaliasLocale "
+fi
+
+## extract the strings
+echo "extracting the strings"
+
+echo -e 'i18n("_: NAME OF TRANSLATORS\\n"\n"Your names")\ni18n("_: EMAIL OF TRANSLATORS\\n"\n"Your emails")' > $SRCDIR/_translatorinfo.cpp
+
+## bad hack to get strings from *.ui files
+# Armin Straub <linux@arminstraub.de>
+UIC="uic -tr i18n"
+TMPHACK="$SRCDIR/tmphack"
+mkdir $TMPHACK || exit 1
+for F in "$SRCDIR/"*.ui; do
+ echo ".. preparing $F"
+ FN=$TMPHACK/$(basename "$F")
+ $UIC "$F" > "$FN.h" && $UIC -impl "$FN.h" "$F" > "$FN.cpp"
+done
+tdeconfig_compiler -d $TMPHACK $SRCDIR/*.kcfg $SRCDIR/*.kcfgc
+## bad hack to get strings from *.ui files
+
+$XGETTEXT `find $SRCDIR -name "*.cpp"` -o tdeio_gopher.pot
+
+## bad hack to get strings from *.ui files
+rm -rf "$TMPHACK"
+## bad hack to get strings from *.ui files
+
+# remove the intermediate files
+rm -f $SRCDIR/_translatorinfo.cpp
+
+## now merge the .po files ..
+echo "merging the .po files"
+
+for i in `ls *.po`; do
+ msgmerge $i tdeio_gopher.pot -o $i || exit 1
+done
+
+## finished
+echo "Done"
diff --git a/po/ms/CMakeLists.txt b/po/ms/CMakeLists.txt
deleted file mode 100644
index 6e11404..0000000
--- a/po/ms/CMakeLists.txt
+++ /dev/null
@@ -1,2 +0,0 @@
-file(GLOB _po_files *.po)
-GETTEXT_PROCESS_PO_FILES( ms ALL INSTALL_DESTINATION ${LOCALE_INSTALL_DIR} ${_po_files} )
diff --git a/po/ms/tdeio_gopher.po b/po/ms/tdeio-gopher.po
index 4018ffd..4018ffd 100644
--- a/po/ms/tdeio_gopher.po
+++ b/po/ms/tdeio-gopher.po
diff --git a/po/nb/CMakeLists.txt b/po/nb/CMakeLists.txt
deleted file mode 100644
index 6086150..0000000
--- a/po/nb/CMakeLists.txt
+++ /dev/null
@@ -1,2 +0,0 @@
-file(GLOB _po_files *.po)
-GETTEXT_PROCESS_PO_FILES( nb ALL INSTALL_DESTINATION ${LOCALE_INSTALL_DIR} ${_po_files} )
diff --git a/po/nb/tdeio_gopher.po b/po/nb/tdeio-gopher.po
index 6535a7a..6535a7a 100644
--- a/po/nb/tdeio_gopher.po
+++ b/po/nb/tdeio-gopher.po
diff --git a/po/nds/CMakeLists.txt b/po/nds/CMakeLists.txt
deleted file mode 100644
index dafa907..0000000
--- a/po/nds/CMakeLists.txt
+++ /dev/null
@@ -1,2 +0,0 @@
-file(GLOB _po_files *.po)
-GETTEXT_PROCESS_PO_FILES( nds ALL INSTALL_DESTINATION ${LOCALE_INSTALL_DIR} ${_po_files} )
diff --git a/po/nds/tdeio_gopher.po b/po/nds/tdeio-gopher.po
index 0946ba6..0946ba6 100644
--- a/po/nds/tdeio_gopher.po
+++ b/po/nds/tdeio-gopher.po
diff --git a/po/nl/CMakeLists.txt b/po/nl/CMakeLists.txt
deleted file mode 100644
index b312828..0000000
--- a/po/nl/CMakeLists.txt
+++ /dev/null
@@ -1,2 +0,0 @@
-file(GLOB _po_files *.po)
-GETTEXT_PROCESS_PO_FILES( nl ALL INSTALL_DESTINATION ${LOCALE_INSTALL_DIR} ${_po_files} )
diff --git a/po/nl/tdeio_gopher.po b/po/nl/tdeio-gopher.po
index 76980be..76980be 100644
--- a/po/nl/tdeio_gopher.po
+++ b/po/nl/tdeio-gopher.po
diff --git a/po/nn/CMakeLists.txt b/po/nn/CMakeLists.txt
deleted file mode 100644
index abc4794..0000000
--- a/po/nn/CMakeLists.txt
+++ /dev/null
@@ -1,2 +0,0 @@
-file(GLOB _po_files *.po)
-GETTEXT_PROCESS_PO_FILES( nn ALL INSTALL_DESTINATION ${LOCALE_INSTALL_DIR} ${_po_files} )
diff --git a/po/nn/tdeio_gopher.po b/po/nn/tdeio-gopher.po
index 28c3a3c..28c3a3c 100644
--- a/po/nn/tdeio_gopher.po
+++ b/po/nn/tdeio-gopher.po
diff --git a/po/pa/CMakeLists.txt b/po/pa/CMakeLists.txt
deleted file mode 100644
index 4c189af..0000000
--- a/po/pa/CMakeLists.txt
+++ /dev/null
@@ -1,2 +0,0 @@
-file(GLOB _po_files *.po)
-GETTEXT_PROCESS_PO_FILES( pa ALL INSTALL_DESTINATION ${LOCALE_INSTALL_DIR} ${_po_files} )
diff --git a/po/pa/tdeio_gopher.po b/po/pa/tdeio-gopher.po
index 93c89a0..93c89a0 100644
--- a/po/pa/tdeio_gopher.po
+++ b/po/pa/tdeio-gopher.po
diff --git a/po/pl/CMakeLists.txt b/po/pl/CMakeLists.txt
deleted file mode 100644
index 64107bd..0000000
--- a/po/pl/CMakeLists.txt
+++ /dev/null
@@ -1,2 +0,0 @@
-file(GLOB _po_files *.po)
-GETTEXT_PROCESS_PO_FILES( pl ALL INSTALL_DESTINATION ${LOCALE_INSTALL_DIR} ${_po_files} )
diff --git a/po/pl/tdeio_gopher.po b/po/pl/tdeio-gopher.po
index 8dc9a81..8dc9a81 100644
--- a/po/pl/tdeio_gopher.po
+++ b/po/pl/tdeio-gopher.po
diff --git a/po/pt/CMakeLists.txt b/po/pt/CMakeLists.txt
deleted file mode 100644
index 6916d85..0000000
--- a/po/pt/CMakeLists.txt
+++ /dev/null
@@ -1,2 +0,0 @@
-file(GLOB _po_files *.po)
-GETTEXT_PROCESS_PO_FILES( pt ALL INSTALL_DESTINATION ${LOCALE_INSTALL_DIR} ${_po_files} )
diff --git a/po/pt/tdeio_gopher.po b/po/pt/tdeio-gopher.po
index 2ca6a65..2ca6a65 100644
--- a/po/pt/tdeio_gopher.po
+++ b/po/pt/tdeio-gopher.po
diff --git a/po/pt_BR/CMakeLists.txt b/po/pt_BR/CMakeLists.txt
deleted file mode 100644
index 27b7a7a..0000000
--- a/po/pt_BR/CMakeLists.txt
+++ /dev/null
@@ -1,2 +0,0 @@
-file(GLOB _po_files *.po)
-GETTEXT_PROCESS_PO_FILES( pt_BR ALL INSTALL_DESTINATION ${LOCALE_INSTALL_DIR} ${_po_files} )
diff --git a/po/pt_BR/tdeio_gopher.po b/po/pt_BR/tdeio-gopher.po
index 7b47518..7b47518 100644
--- a/po/pt_BR/tdeio_gopher.po
+++ b/po/pt_BR/tdeio-gopher.po
diff --git a/po/ro/CMakeLists.txt b/po/ro/CMakeLists.txt
deleted file mode 100644
index 8c08a20..0000000
--- a/po/ro/CMakeLists.txt
+++ /dev/null
@@ -1,2 +0,0 @@
-file(GLOB _po_files *.po)
-GETTEXT_PROCESS_PO_FILES( ro ALL INSTALL_DESTINATION ${LOCALE_INSTALL_DIR} ${_po_files} )
diff --git a/po/ro/tdeio_gopher.po b/po/ro/tdeio-gopher.po
index b62419c..b62419c 100644
--- a/po/ro/tdeio_gopher.po
+++ b/po/ro/tdeio-gopher.po
diff --git a/po/ru/CMakeLists.txt b/po/ru/CMakeLists.txt
deleted file mode 100644
index 231fa14..0000000
--- a/po/ru/CMakeLists.txt
+++ /dev/null
@@ -1,2 +0,0 @@
-file(GLOB _po_files *.po)
-GETTEXT_PROCESS_PO_FILES( ru ALL INSTALL_DESTINATION ${LOCALE_INSTALL_DIR} ${_po_files} )
diff --git a/po/ru/tdeio_gopher.po b/po/ru/tdeio-gopher.po
index eab29f8..eab29f8 100644
--- a/po/ru/tdeio_gopher.po
+++ b/po/ru/tdeio-gopher.po
diff --git a/po/rw/CMakeLists.txt b/po/rw/CMakeLists.txt
deleted file mode 100644
index 79d40db..0000000
--- a/po/rw/CMakeLists.txt
+++ /dev/null
@@ -1,2 +0,0 @@
-file(GLOB _po_files *.po)
-GETTEXT_PROCESS_PO_FILES( rw ALL INSTALL_DESTINATION ${LOCALE_INSTALL_DIR} ${_po_files} )
diff --git a/po/rw/tdeio_gopher.po b/po/rw/tdeio-gopher.po
index 6b73a4c..6b73a4c 100644
--- a/po/rw/tdeio_gopher.po
+++ b/po/rw/tdeio-gopher.po
diff --git a/po/sk/CMakeLists.txt b/po/sk/CMakeLists.txt
deleted file mode 100644
index 9b6d1b3..0000000
--- a/po/sk/CMakeLists.txt
+++ /dev/null
@@ -1,2 +0,0 @@
-file(GLOB _po_files *.po)
-GETTEXT_PROCESS_PO_FILES( sk ALL INSTALL_DESTINATION ${LOCALE_INSTALL_DIR} ${_po_files} )
diff --git a/po/sk/tdeio_gopher.po b/po/sk/tdeio-gopher.po
index ae1f1ff..ae1f1ff 100644
--- a/po/sk/tdeio_gopher.po
+++ b/po/sk/tdeio-gopher.po
diff --git a/po/sv/CMakeLists.txt b/po/sv/CMakeLists.txt
deleted file mode 100644
index 852709c..0000000
--- a/po/sv/CMakeLists.txt
+++ /dev/null
@@ -1,2 +0,0 @@
-file(GLOB _po_files *.po)
-GETTEXT_PROCESS_PO_FILES( sv ALL INSTALL_DESTINATION ${LOCALE_INSTALL_DIR} ${_po_files} )
diff --git a/po/sv/tdeio_gopher.po b/po/sv/tdeio-gopher.po
index b92acad..b92acad 100644
--- a/po/sv/tdeio_gopher.po
+++ b/po/sv/tdeio-gopher.po
diff --git a/po/ta/CMakeLists.txt b/po/ta/CMakeLists.txt
deleted file mode 100644
index 62cb904..0000000
--- a/po/ta/CMakeLists.txt
+++ /dev/null
@@ -1,2 +0,0 @@
-file(GLOB _po_files *.po)
-GETTEXT_PROCESS_PO_FILES( ta ALL INSTALL_DESTINATION ${LOCALE_INSTALL_DIR} ${_po_files} )
diff --git a/po/ta/tdeio_gopher.po b/po/ta/tdeio-gopher.po
index f7d0709..f7d0709 100644
--- a/po/ta/tdeio_gopher.po
+++ b/po/ta/tdeio-gopher.po
diff --git a/po/tr/CMakeLists.txt b/po/tr/CMakeLists.txt
deleted file mode 100644
index 9687fc3..0000000
--- a/po/tr/CMakeLists.txt
+++ /dev/null
@@ -1,2 +0,0 @@
-file(GLOB _po_files *.po)
-GETTEXT_PROCESS_PO_FILES( tr ALL INSTALL_DESTINATION ${LOCALE_INSTALL_DIR} ${_po_files} )
diff --git a/po/tr/tdeio_gopher.po b/po/tr/tdeio-gopher.po
index c2fb91c..c2fb91c 100644
--- a/po/tr/tdeio_gopher.po
+++ b/po/tr/tdeio-gopher.po
diff --git a/po/ug/CMakeLists.txt b/po/ug/CMakeLists.txt
deleted file mode 100644
index b639607..0000000
--- a/po/ug/CMakeLists.txt
+++ /dev/null
@@ -1,2 +0,0 @@
-file(GLOB _po_files *.po)
-GETTEXT_PROCESS_PO_FILES( ug ALL INSTALL_DESTINATION ${LOCALE_INSTALL_DIR} ${_po_files} )
diff --git a/po/ug/tdeio_gopher.po b/po/ug/tdeio-gopher.po
index 3c644b6..3c644b6 100644
--- a/po/ug/tdeio_gopher.po
+++ b/po/ug/tdeio-gopher.po
diff --git a/po/uk/CMakeLists.txt b/po/uk/CMakeLists.txt
deleted file mode 100644
index 451208b..0000000
--- a/po/uk/CMakeLists.txt
+++ /dev/null
@@ -1,2 +0,0 @@
-file(GLOB _po_files *.po)
-GETTEXT_PROCESS_PO_FILES( uk ALL INSTALL_DESTINATION ${LOCALE_INSTALL_DIR} ${_po_files} )
diff --git a/po/uk/tdeio_gopher.po b/po/uk/tdeio-gopher.po
index d35730c..d35730c 100644
--- a/po/uk/tdeio_gopher.po
+++ b/po/uk/tdeio-gopher.po
diff --git a/po/zh_CN/CMakeLists.txt b/po/zh_CN/CMakeLists.txt
deleted file mode 100644
index 64885b9..0000000
--- a/po/zh_CN/CMakeLists.txt
+++ /dev/null
@@ -1,2 +0,0 @@
-file(GLOB _po_files *.po)
-GETTEXT_PROCESS_PO_FILES( zh_CN ALL INSTALL_DESTINATION ${LOCALE_INSTALL_DIR} ${_po_files} )
diff --git a/po/zh_CN/tdeio_gopher.po b/po/zh_CN/tdeio-gopher.po
index 2409e7e..2409e7e 100644
--- a/po/zh_CN/tdeio_gopher.po
+++ b/po/zh_CN/tdeio-gopher.po
diff --git a/po/zh_TW/CMakeLists.txt b/po/zh_TW/CMakeLists.txt
deleted file mode 100644
index 4934573..0000000
--- a/po/zh_TW/CMakeLists.txt
+++ /dev/null
@@ -1,2 +0,0 @@
-file(GLOB _po_files *.po)
-GETTEXT_PROCESS_PO_FILES( zh_TW ALL INSTALL_DESTINATION ${LOCALE_INSTALL_DIR} ${_po_files} )
diff --git a/po/zh_TW/tdeio_gopher.po b/po/zh_TW/tdeio-gopher.po
index 77db3e1..77db3e1 100644
--- a/po/zh_TW/tdeio_gopher.po
+++ b/po/zh_TW/tdeio-gopher.po