1
0
mirror of https://github.com/irssi/irssi.git synced 2024-09-01 04:14:16 -04:00

NLS support should work without gnome now.

git-svn-id: http://svn.irssi.org/repos/irssi/trunk@71 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
Timo Sirainen 1999-11-03 20:05:16 +00:00 committed by cras
parent 919a6a8ac5
commit d23d35fc30
3 changed files with 28 additions and 4 deletions

View File

@ -1,3 +1,9 @@
src/irc-base/network.c
src/irc-base/args.c
src/irc-extra/plugins.c
src/ui-common/ui-common.c
src/ui-common/ui-formats.c
src/ui-common/ui-printtext.c
src/gui-gnome/channels-newdata.c
src/gui-gnome/dialog-about.c
src/gui-gnome/dialog-channels.c

View File

@ -80,15 +80,15 @@ msgstr "Kyll
msgid "No"
msgstr "Ei"
#: src/gui-gnome/dialog-channels.c:429 src/gui-gnome/dialog-notifylist.c:231
#: src/gui-gnome/dialog-channels.c:427 src/gui-gnome/dialog-notifylist.c:231
msgid "Joined"
msgstr "Liittynyt"
#: src/gui-gnome/dialog-channels.c:429
#: src/gui-gnome/dialog-channels.c:427
msgid "Autojoin"
msgstr "Liity automaattisesti"
msgstr "Liity autom."
#: src/gui-gnome/dialog-channels.c:429 src/gui-gnome/setup-ircnets.c:137
#: src/gui-gnome/dialog-channels.c:427 src/gui-gnome/setup-ircnets.c:137
#: src/gui-gnome/setup-ircnets.c:188
msgid "IRC network"
msgstr "IRC verkko"

18
src/nls.h Normal file
View File

@ -0,0 +1,18 @@
#ifdef ENABLE_NLS
# include <libintl.h>
# define _(String) gettext (String)
# ifdef gettext_noop
# define N_(String) gettext_noop (String)
# else
# define N_(String) (String)
# endif
#else
/* Stubs that do something close enough. */
# define textdomain(String) (String)
# define gettext(String) (String)
# define dgettext(Domain,Message) (Message)
# define dcgettext(Domain,Message,Type) (Message)
# define bindtextdomain(Domain,Directory) (Domain)
# define _(String) (String)
# define N_(String) (String)
#endif