Commit 6ee004db authored by Rafaël Carré's avatar Rafaël Carré

language update

- update scripts
- complete french translation (100%)
- move gnome po files into one directory
- update po files to current state
parent 5f8faba8
......@@ -4,26 +4,26 @@ DOMAIN=sflphone-client-gnome
POFILES=\
fr/fr.po \
es/es.po \
de/de.po \
zh_CN/zh_CN.po \
zh_HK/zh_HK.po \
ru/ru.po \
it/it.po \
pt_BR/pt_BR.po \
da/da.po
fr.po \
es.po \
de.po \
zh_CN.po \
zh_HK.po \
ru.po \
it.po \
pt_BR.po \
da.po
MOFILES=\
fr/fr.mo \
es/es.mo \
de/de.mo \
zh_CN/zh_CN.mo \
zh_HK/zh_HK.mo \
ru/ru.mo \
it/it.mo \
pt_BR/pt_BR.mo \
da/da.mo
fr.mo \
es.mo \
de.mo \
zh_CN.mo \
zh_HK.mo \
ru.mo \
it.mo \
pt_BR.mo \
da.mo
MSGFMT=msgfmt
......@@ -39,10 +39,10 @@ SUFFIXES=.po .mo
$(MSGFMT) -o $@ $<
install-data-local: $(MOFILES)
@catalogs='$(MOFILES)'; \
catalogs='$(MOFILES)'; \
for i in $$catalogs; do \
destdir=$(locale_installdir); \
lang=`echo $$i | cut -d / -f1`; \
lang=`echo $$i | sed 's/\.mo//'`; \
$(mkinstalldirs) $(locale_installdir)/$$lang/LC_MESSAGES; \
$(INSTALL_DATA) $$i $(locale_installdir)/$$lang/LC_MESSAGES/$(DOMAIN).mo; \
echo "installing $$i as $(locale_installdir)/$$lang/LC_MESSAGES/$(DOMAIN).mo"; \
......
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
......@@ -95,7 +95,7 @@ eel_gconf_handle_error (GError **error)
g_return_val_if_fail (error != NULL, FALSE);
if (*error != NULL) {
g_warning (_ ("GConf error:\n %s"), (*error)->message);
g_warning ("GConf error: %s\n", (*error)->message);
g_error_free (*error);
*error = NULL;
......
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
for fichier in `find . -name *.po `
do
locale=`echo $fichier | cut -d / -f2`
cp $fichier ../sflphone-client-gnome/po/$locale/$locale.po
echo "$fichier copied to ../sflphone-client-gnome/po/$locale/$locale.po"
done
cp *.po ../gnome/po
for fichier in `find . -name sflphone.po `
for i in *.po
do
locale=`echo $fichier | cut -d / -f2`
cp $fichier ../sflphone-client-kde/po/$locale/sflphone-client-kde.po
echo "$fichier copied to ../sflphone-client-kde/po/$locale/sflphone-client-kde.po"
locale=`echo $i | cut -d. -f1`
cp -v $i ../kde/po/$locale/sflphone-client-kde.po
done
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
......@@ -2,7 +2,7 @@
# Merge sflphone template into the existing po files
for fichier in `find . -name *.po`
for file in `find . -name *.po`
do
msgmerge --update $fichier sflphone.pot
msgmerge --update $file sflphone.pot
done
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
......@@ -2,5 +2,5 @@
# Parse the GNOME client only to build the langage template
xgettext --from-code=utf-8 --language=C -k_ -kN_ -kc_:1c,2 -kn_:1,2 -ktr2i18n -ktr2i18n:2c,1 -kki18nc:1c,2 -kki18n -ki18n -ki18nc:1c,2 -o sflphone.pot ../sflphone-client-gnome/src/*.c ../sflphone-client-gnome/src/dbus/*.c ../sflphone-client-gnome/src/config/*.c ../sflphone-client-gnome/src/contacts/*.c ../sflphone-client-gnome/src/icons/*.c ../sflphone-client-gnome/src/widget/*.c
xgettext --from-code=utf-8 --language=C -k_ -kN_ -kc_:1c,2 -kn_:1,2 -ktr2i18n -ktr2i18n:2c,1 -kki18nc:1c,2 -kki18n -ki18n -ki18nc:1c,2 -o sflphone.pot `find ../gnome/src -name \*.c`
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment