[Xfce4-commits] <xfce4-radio-plugin:master> Drop po/LINGUAS and auto-generate the list of languages in autogen.sh
Stefan Ott
noreply at xfce.org
Fri Mar 11 23:06:01 CET 2011
Updating branch refs/heads/master
to 28a65b26661262b3d04100e8457cc959f9c86f3a (commit)
from e5470123188ca119c517c72ad49c05bc74bbe682 (commit)
commit 28a65b26661262b3d04100e8457cc959f9c86f3a
Author: Stefan Ott <stefan at ott.net>
Date: Fri Mar 11 22:55:08 2011 +0100
Drop po/LINGUAS and auto-generate the list of languages in autogen.sh
NEWS | 4 +++-
autogen.sh | 2 +-
configure.in.in | 4 ++--
po/LINGUAS | 2 --
4 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/NEWS b/NEWS
index 81e93fa..8cceb46 100644
--- a/NEWS
+++ b/NEWS
@@ -1,9 +1,11 @@
Get the latest version of this plugin at http://goodies.xfce.org/
===============================================================================
-v0.4.5 (xx xxx 2010):
+v0.4.5 (11 Mar 2011):
=====================
* Changed the license to GPLv3
+ * Automatically generate the list of supported languages
+ * Translation updates
v0.4.4 (04 Nov 2010):
=====================
diff --git a/autogen.sh b/autogen.sh
index ae8d79b..f962b54 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -20,7 +20,7 @@ EOF
touch ChangeLog
-linguas=`sed -e '/^#/d' po/LINGUAS`
+linguas=$(ls po/*.po 2>/dev/null | awk 'BEGIN {FS="[./]"; ORS=" "} {print $2}')
sed -e "s/@LINGUAS@/${linguas}/g" \
< "configure.in.in" > "configure.in"
diff --git a/configure.in.in b/configure.in.in
index 11e85bf..b00b903 100644
--- a/configure.in.in
+++ b/configure.in.in
@@ -2,10 +2,10 @@ dnl configure.ac
dnl
dnl xfce4-radio-plugin - <Plugin for xfce4-panel>
dnl
-dnl 2006-2010 Stefan Ott <stefan at ott.net>
+dnl 2006-2011 Stefan Ott <stefan at ott.net>
dnl
-m4_define([radio_plugin_version],[0.4.4])
+m4_define([radio_plugin_version],[0.4.5])
AC_INIT([xfce4-radio-plugin], [radio_plugin_version],
[xfce-goodies-dev at lists.berlios.de])
diff --git a/po/LINGUAS b/po/LINGUAS
deleted file mode 100644
index dbeecbe..0000000
--- a/po/LINGUAS
+++ /dev/null
@@ -1,2 +0,0 @@
-# set of available languages (in alphabetic order)
-ar ast ca cs da de en_GB es eu fr gl hu id it ja lv nl pl pt_BR pt ru sq sv tr uk ur ur_PK zh_CN zh_TW
More information about the Xfce4-commits
mailing list