s3 net: i18n support for net conf
[metze/samba/wip.git] / source3 / po / genmsg
index 08d5bd222f8617ab025b2eaa8f522e6987c7f395..cbc2722e4bc7f6c84d418f587919f7f36bf1a7ac 100755 (executable)
@@ -3,7 +3,7 @@
 #
 #   This program is free software; you can redistribute it and/or modify
 #   it under the terms of the GNU General Public License as published by
-#   the Free Software Foundation; either version 2 of the License, or
+#   the Free Software Foundation; either version 3 of the License, or
 #   (at your option) any later version.
 #
 #   This program is distributed in the hope that it will be useful,
 #   GNU General Public License for more details.
 #
 #   You should have received a copy of the GNU General Public License
-#   along with this program; if not, write to the Free Software
-#   Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+#   along with this program; if not, see <http://www.gnu.org/licenses/>.
 #
-
-FILES='../web/swat.c ../web/statuspage.c ../param/loadparm.c'
-LANGS='en ja tr pl fr de it'
+NET_FILES="../utils/net.c ../utils/net_ads.c ../utils/net_ads_gpo.c"
+NET_FILES="${NET_FILES} ../utils/net_afs.c ../utils/net_cache.c"
+NET_FILES="${NET_FILES} ../utils/net_conf.c"
+FILES="../web/swat.c ../web/statuspage.c ../param/loadparm.c ${NET_FILES}"
+LANGS='en ja tr pl fr de it ru'
 
 XGETTEXT=xgettext
 MSGMERGE=msgmerge
@@ -31,7 +32,7 @@ $XGETTEXT --default-domain="i18n_swat" \
   $FILES
 
 for lang in $LANGS; do
-  echo -n $lang
+  printf "%s" "$lang"
   mv ${lang}.msg ${lang}.msg.old
   $MSGMERGE --width=${WIDTH} ${lang}.msg.old i18n_swat.po -o ${lang}.msg
 done