Added french translation for WeeChat

This commit is contained in:
Sebastien Helleu 2003-10-11 12:45:59 +00:00
parent c6a53ea8ee
commit 384b8780b0
8 changed files with 10412 additions and 2 deletions

48
po/Makefile Normal file
View File

@ -0,0 +1,48 @@
# Copyright (c) 2003 FlashCode <flashcode@flashtux.org>
#
# 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
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# 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., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
#
all:
@echo "Usage: make init => create new template (weechat.pot)"
@echo " make update => update translations with new messages from sources"
@echo " make install => compile and install all translations"
@echo " make clean => delete all binary and backup files"
init:
@cd ../src; \
xgettext -o ../po/weechat.pot --keyword=_ --keyword=N_ --msgid-bugs-address=flashcode@flashtux.org --msgstr-prefix `find -name "*.h"` `find -name "*.c"`
update:
cd ../src; \
xgettext -o /tmp/temp1.po --keyword=_ --keyword=N_ --msgid-bugs-address=flashcode@flashtux.org `find -name "*.h"` `find -name "*.c"`; \
sed s/charset=CHARSET/charset=iso-8859-1/ /tmp/temp1.po >/tmp/temp2.po; \
cd ../po; \
for fichier in *.po; do \
msgmerge -U $$fichier /tmp/temp2.po; \
done
install:
@for fichier in *.po; do \
echo "Creating binary: $$fichier => weechat.mo..."; \
msgfmt -o weechat.mo $$fichier; \
REP=$${fichier%%.po}; \
echo "Copying weechat.mo (from $$fichier) to /usr/share/locale/$$REP/LC_MESSAGES"; \
cp -f weechat.mo /usr/share/locale/$$REP/LC_MESSAGES/ ; \
done
rm -f ./weechat.mo
clean:
rm -f ./*.mo ./*.po~

2600
po/fr.po Normal file

File diff suppressed because it is too large Load Diff

2557
po/weechat.pot Normal file

File diff suppressed because it is too large Load Diff

View File

@ -491,7 +491,7 @@ irc_cmd_recv_nick (t_irc_server *server, char *host, char *arguments)
COLOR_WIN_CHAT_NICK,
"%s", host);
gui_printf_color (ptr_channel->window,
COLOR_WIN_CHAT, " is ");
COLOR_WIN_CHAT, _(" is "));
}
gui_printf_color (ptr_channel->window,
COLOR_WIN_CHAT,

48
weechat/po/Makefile Normal file
View File

@ -0,0 +1,48 @@
# Copyright (c) 2003 FlashCode <flashcode@flashtux.org>
#
# 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
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# 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., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
#
all:
@echo "Usage: make init => create new template (weechat.pot)"
@echo " make update => update translations with new messages from sources"
@echo " make install => compile and install all translations"
@echo " make clean => delete all binary and backup files"
init:
@cd ../src; \
xgettext -o ../po/weechat.pot --keyword=_ --keyword=N_ --msgid-bugs-address=flashcode@flashtux.org --msgstr-prefix `find -name "*.h"` `find -name "*.c"`
update:
cd ../src; \
xgettext -o /tmp/temp1.po --keyword=_ --keyword=N_ --msgid-bugs-address=flashcode@flashtux.org `find -name "*.h"` `find -name "*.c"`; \
sed s/charset=CHARSET/charset=iso-8859-1/ /tmp/temp1.po >/tmp/temp2.po; \
cd ../po; \
for fichier in *.po; do \
msgmerge -U $$fichier /tmp/temp2.po; \
done
install:
@for fichier in *.po; do \
echo "Creating binary: $$fichier => weechat.mo..."; \
msgfmt -o weechat.mo $$fichier; \
REP=$${fichier%%.po}; \
echo "Copying weechat.mo (from $$fichier) to /usr/share/locale/$$REP/LC_MESSAGES"; \
cp -f weechat.mo /usr/share/locale/$$REP/LC_MESSAGES/ ; \
done
rm -f ./weechat.mo
clean:
rm -f ./*.mo ./*.po~

2600
weechat/po/fr.po Normal file

File diff suppressed because it is too large Load Diff

2557
weechat/po/weechat.pot Normal file

File diff suppressed because it is too large Load Diff

View File

@ -491,7 +491,7 @@ irc_cmd_recv_nick (t_irc_server *server, char *host, char *arguments)
COLOR_WIN_CHAT_NICK,
"%s", host);
gui_printf_color (ptr_channel->window,
COLOR_WIN_CHAT, " is ");
COLOR_WIN_CHAT, _(" is "));
}
gui_printf_color (ptr_channel->window,
COLOR_WIN_CHAT,