Commit 8bc03b6f authored by Chris Allegretta's avatar Chris Allegretta
Browse files

main() - Added ENABLE_NLS check around gettext stuff

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@524 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
No related merge requests found
Showing with 4 additions and 0 deletions
+4 -0
...@@ -8,6 +8,8 @@ CVS code - ...@@ -8,6 +8,8 @@ CVS code -
do_justify() do_justify()
- If the keystroke after the justify is not the unjustify key, - If the keystroke after the justify is not the unjustify key,
blank the statsubar (bug reported by Neil Parks). blank the statsubar (bug reported by Neil Parks).
main()
- Added ENABLE_NLS check around gettext stuff.
- de.po: - de.po:
- Translation updates by Florian König. - Translation updates by Florian König.
- fi.po: - fi.po:
......
...@@ -2142,10 +2142,12 @@ int main(int argc, char *argv[]) ...@@ -2142,10 +2142,12 @@ int main(int argc, char *argv[])
SET(FOLLOW_SYMLINKS); SET(FOLLOW_SYMLINKS);
#ifndef NANO_SMALL #ifndef NANO_SMALL
#ifdef ENABLE_NLS
setlocale(LC_ALL, ""); setlocale(LC_ALL, "");
bindtextdomain(PACKAGE, LOCALEDIR); bindtextdomain(PACKAGE, LOCALEDIR);
textdomain(PACKAGE); textdomain(PACKAGE);
#endif #endif
#endif
#ifdef HAVE_GETOPT_LONG #ifdef HAVE_GETOPT_LONG
while ((optchr = getopt_long(argc, argv, "?T:RVbcefhiklmpr:s:tvwxz", while ((optchr = getopt_long(argc, argv, "?T:RVbcefhiklmpr:s:tvwxz",
......
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