mirror of
https://github.com/irssi/irssi.git
synced 2024-12-04 14:46:39 -05:00
nl_langinfo() was a bad idea, don't use it.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@948 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
parent
ffda311287
commit
a5e46bad36
@ -25,8 +25,7 @@ ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig --no-reexec \
|
||||
$libtool_flags --disable-static --output=libtool-static --no-verify $ac_aux_dir/ltmain.sh $lt_target \
|
||||
|| { echo "configure: error: libtool configure failed" 1>&2; exit 1; }
|
||||
|
||||
AC_CHECK_HEADERS(string.h stdlib.h unistd.h dirent.h sys/ioctl.h)
|
||||
AC_CHECK_HEADERS(libintl.h langinfo.h)
|
||||
AC_CHECK_HEADERS(string.h stdlib.h unistd.h dirent.h sys/ioctl.h libintl.h)
|
||||
|
||||
# check posix headers..
|
||||
AC_CHECK_HEADERS(sys/time.h sys/utsname.h regex.h)
|
||||
|
8
po/de.po
8
po/de.po
@ -6,7 +6,7 @@
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: Irssi 0.7.23\n"
|
||||
"POT-Creation-Date: 2000-12-03 07:31+0200\n"
|
||||
"POT-Creation-Date: 2000-12-03 08:38+0200\n"
|
||||
"PO-Revision-Date: 1999-12-01 10:35-0200\n"
|
||||
"Last-Translator: Thomas Heinen <cochi@uni-paderborn.de>\n"
|
||||
"Language-Team: Brazilian Portuguese <ldp-br@bazar.conectiva.com.br>\n"
|
||||
@ -102,6 +102,10 @@ msgid ""
|
||||
"%s"
|
||||
msgstr ""
|
||||
|
||||
#: src/fe-common/core/fe-settings.c:259
|
||||
msgid "Y"
|
||||
msgstr ""
|
||||
|
||||
#: src/fe-common/core/fe-settings.c:279
|
||||
msgid "Overwrite config (y/N)?"
|
||||
msgstr ""
|
||||
@ -139,7 +143,7 @@ msgstr "Bitte Nickname angeben"
|
||||
msgid "Specify host name to use"
|
||||
msgstr "Bitte Nickname angeben"
|
||||
|
||||
#: src/fe-text/irssi.c:235
|
||||
#: src/fe-text/irssi.c:239
|
||||
msgid "Can't initialize screen handling, quitting.\n"
|
||||
msgstr ""
|
||||
|
||||
|
11
po/fr.po
11
po/fr.po
@ -6,7 +6,7 @@
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: irssi-0.7.23\n"
|
||||
"POT-Creation-Date: 2000-12-03 07:31+0200\n"
|
||||
"POT-Creation-Date: 2000-12-03 08:38+0200\n"
|
||||
"PO-Revision-Date: 2000-01-26 16:33+0100\n"
|
||||
"Last-Translator: Julien Boulnois <jboulnois@free.fr>\n"
|
||||
"Language-Team: LANGUAGE <LL@li.org>\n"
|
||||
@ -102,6 +102,10 @@ msgid ""
|
||||
"%s"
|
||||
msgstr ""
|
||||
|
||||
#: src/fe-common/core/fe-settings.c:259
|
||||
msgid "Y"
|
||||
msgstr "Y"
|
||||
|
||||
#: src/fe-common/core/fe-settings.c:279
|
||||
msgid "Overwrite config (y/N)?"
|
||||
msgstr ""
|
||||
@ -139,7 +143,7 @@ msgstr "Sp
|
||||
msgid "Specify host name to use"
|
||||
msgstr "Sp<53>écifiez un nick <20>à utiliser"
|
||||
|
||||
#: src/fe-text/irssi.c:235
|
||||
#: src/fe-text/irssi.c:239
|
||||
msgid "Can't initialize screen handling, quitting.\n"
|
||||
msgstr ""
|
||||
|
||||
@ -1039,9 +1043,6 @@ msgstr "derniers messages priv
|
||||
#~ msgid "X"
|
||||
#~ msgstr "X"
|
||||
|
||||
#~ msgid "Y"
|
||||
#~ msgstr "Y"
|
||||
|
||||
#~ msgid "Default window"
|
||||
#~ msgstr "Fen<65>être par défaut"
|
||||
|
||||
|
11
po/pl.po
11
po/pl.po
@ -6,7 +6,7 @@
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: PACKAGE VERSION\n"
|
||||
"POT-Creation-Date: 2000-12-03 07:31+0200\n"
|
||||
"POT-Creation-Date: 2000-12-03 08:38+0200\n"
|
||||
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
||||
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
||||
"Language-Team: LANGUAGE <LL@li.org>\n"
|
||||
@ -96,6 +96,10 @@ msgid ""
|
||||
"%s"
|
||||
msgstr ""
|
||||
|
||||
#: src/fe-common/core/fe-settings.c:259
|
||||
msgid "Y"
|
||||
msgstr "Y"
|
||||
|
||||
#: src/fe-common/core/fe-settings.c:279
|
||||
msgid "Overwrite config (y/N)?"
|
||||
msgstr ""
|
||||
@ -132,7 +136,7 @@ msgstr ""
|
||||
msgid "Specify host name to use"
|
||||
msgstr ""
|
||||
|
||||
#: src/fe-text/irssi.c:235
|
||||
#: src/fe-text/irssi.c:239
|
||||
msgid "Can't initialize screen handling, quitting.\n"
|
||||
msgstr ""
|
||||
|
||||
@ -984,9 +988,6 @@ msgstr ""
|
||||
#~ msgid "X"
|
||||
#~ msgstr "X"
|
||||
|
||||
#~ msgid "Y"
|
||||
#~ msgstr "Y"
|
||||
|
||||
#~ msgid "Default window"
|
||||
#~ msgstr "Domy¶lne okno"
|
||||
|
||||
|
@ -6,7 +6,7 @@
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: irssi 0.7.23\n"
|
||||
"POT-Creation-Date: 2000-12-03 07:31+0200\n"
|
||||
"POT-Creation-Date: 2000-12-03 08:38+0200\n"
|
||||
"PO-Revision-Date: 2000-02-10 09:50-0200\n"
|
||||
"Last-Translator: Frédéric L. W. Meunier <fredlwm@olympiquedemarseille.org>\n"
|
||||
"Language-Team: Brazilian Portuguese <ldp-br@bazar.conectiva.com.br>\n"
|
||||
@ -103,6 +103,10 @@ msgid ""
|
||||
"%s"
|
||||
msgstr ""
|
||||
|
||||
#: src/fe-common/core/fe-settings.c:259
|
||||
msgid "Y"
|
||||
msgstr ""
|
||||
|
||||
#: src/fe-common/core/fe-settings.c:279
|
||||
msgid "Overwrite config (y/N)?"
|
||||
msgstr ""
|
||||
@ -140,7 +144,7 @@ msgstr "Espeficar nick para usar"
|
||||
msgid "Specify host name to use"
|
||||
msgstr "Espeficar nick para usar"
|
||||
|
||||
#: src/fe-text/irssi.c:235
|
||||
#: src/fe-text/irssi.c:239
|
||||
msgid "Can't initialize screen handling, quitting.\n"
|
||||
msgstr ""
|
||||
|
||||
|
8
po/sv.po
8
po/sv.po
@ -6,7 +6,7 @@
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: irssi 0.7.95\n"
|
||||
"POT-Creation-Date: 2000-12-03 07:31+0200\n"
|
||||
"POT-Creation-Date: 2000-12-03 08:38+0200\n"
|
||||
"PO-Revision-Date: 2000-08-14 01:51+0200\n"
|
||||
"Last-Translator: Per von Zweigbergk <pvz@iname.com>\n"
|
||||
"Language-Team: Per von Zweigbergh <pvz@iname.com>\n"
|
||||
@ -107,6 +107,10 @@ msgstr ""
|
||||
"Ignorerade felaktigheter i tema:\n"
|
||||
"%s"
|
||||
|
||||
#: src/fe-common/core/fe-settings.c:259
|
||||
msgid "Y"
|
||||
msgstr ""
|
||||
|
||||
#: src/fe-common/core/fe-settings.c:279
|
||||
msgid "Overwrite config (y/N)?"
|
||||
msgstr ""
|
||||
@ -143,7 +147,7 @@ msgstr "V
|
||||
msgid "Specify host name to use"
|
||||
msgstr "Välj vilket värdnamn du vill använda"
|
||||
|
||||
#: src/fe-text/irssi.c:235
|
||||
#: src/fe-text/irssi.c:239
|
||||
msgid "Can't initialize screen handling, quitting.\n"
|
||||
msgstr "Ett skärmhanteringsinitieringsfel uppstod, avslutar.\n"
|
||||
|
||||
|
@ -256,7 +256,7 @@ static void settings_save_fe(const char *fname)
|
||||
|
||||
static void settings_save_confirm(const char *line, char *fname)
|
||||
{
|
||||
if (regexp_match(line, nl_langinfo(YESEXPR)))
|
||||
if (g_strncasecmp(line, _("Y"), 1) == 0)
|
||||
settings_save_fe(fname);
|
||||
g_free(fname);
|
||||
}
|
||||
|
@ -12,15 +12,6 @@
|
||||
# else
|
||||
# define N_(String) (String)
|
||||
# endif
|
||||
|
||||
# ifdef HAVE_LANGINFO_H
|
||||
# include <langinfo.h>
|
||||
# else
|
||||
# define nl_langinfo(x) x
|
||||
# endif
|
||||
# ifndef YESEXPR
|
||||
# define YESEXPR "^[yY]"
|
||||
# endif
|
||||
#else
|
||||
/* Stubs that do something close enough. */
|
||||
# define textdomain(String) (String)
|
||||
|
@ -51,6 +51,7 @@ CORE_SOURCES = \
|
||||
common/Rawlog.xs \
|
||||
common/Server.xs \
|
||||
common/Settings.xs \
|
||||
common/Themes.xs \
|
||||
common/Window.xs \
|
||||
common/Irssi.xs \
|
||||
common/Irssi.pm \
|
||||
|
Loading…
Reference in New Issue
Block a user