Updating branch refs/heads/master
to 28a65b26661262b3d04100e8457cc959f9c86f3a (commit)
from e5470123188ca119c517c72ad49c05bc74bbe682 (commit)
commit 28a65b26661262b3d04100e8457cc959f9c86f3a
Author: Stefan Ott <[email protected]>
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 <[email protected]>
+dnl 2006-2011 Stefan Ott <[email protected]>
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],
[[email protected]])
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
_______________________________________________
Xfce4-commits mailing list
[email protected]
http://foo-projects.org/mailman/listinfo/xfce4-commits