Commit Graph

7266 Commits

Author SHA1 Message Date
Pavel Roskin
528e77efc0 * mcserv.c (get_client): Fix gcc 4 warning. 2005-11-11 02:31:46 +00:00
Pavel Roskin
0e653491c1 * choosesyntax.c: Make undeclared functions static.
* editmenu.c: Likewise.
* usermap.c: Likewise.
2005-11-11 02:26:04 +00:00
Pavel Roskin
ebe155fc92 * smbfs.c: Remove redundant ipzero declaration. 2005-11-11 02:22:02 +00:00
Pavel Roskin
056c1da206 Use $RPMBUILD to find the rpm architecture. 2005-11-11 02:21:08 +00:00
Pavel Roskin
f52a3276cc * configure.ac: Catch unexpanded MC_* macros. 2005-11-11 02:03:55 +00:00
Pavel Roskin
0418637b54 Actually remove MC_ASM_LABELS. 2005-11-11 01:57:10 +00:00
Pavel Roskin
f493d843a0 * m4/*.m4: Update to the macros provided by gettext 0.14.3.
* m4/Makefile.am: Update the list of the *.m4 files.
2005-11-11 01:52:16 +00:00
Pavel Roskin
f3aa417af7 * configure.ac: Use AC_GNU_SOURCE, which prevents redefining
_GNU_SOURCE.  Bump Autoconf version to 2.54, where AC_GNU_SOURCE
appeared.
Reported by Leonard den Ottolander <leonard@den.ottolander.nl>
2005-11-11 01:40:18 +00:00
Pavel Roskin
40e26a8530 * configure.ac: Use gettext 0.14.3.
* acinclude.m4 (MC_ASM_LABELS): Remove, it's not needed with
recent versions of gettext.
2005-11-11 01:14:51 +00:00
Pavel Roskin
685ec466c2 * acinclude.m4 (MC_ASM_LABELS): Make the test function global
and move its definition above main().  That's closer to what
gettext is actually doing.
2005-11-10 23:37:21 +00:00
Pavel Roskin
7b3b03f9db * glibcompat.c: Move Q_ back ...
* util.c: ... here.  Q_ is not defined by just including glib.h.
The glib implementation doesn't strip prefix from translations,
so it's not suitable for us.  Finally, it makes man2hlp depend
on libintl.
Reported by Leonard den Ottolander <leonard@den.ottolander.nl>
2005-11-03 02:18:38 +00:00
Roland Illig
a0aa9fd9d4 Reverted the addition of the check for libintl_gettext in -lintl. It
didn't help.
2005-11-02 22:26:19 +00:00
Leonard den Ottolander
894b343f90 * main.c (directory_history_add): Fix invalid directory preselection on cd. 2005-11-02 11:50:51 +00:00
Pavel Roskin
16881947d3 * Syntax: Highlight Kbuild as a makefile. 2005-10-31 21:21:15 +00:00
Pavel Roskin
9932d29be7 * Syntax: Move makefile.syntax before pascal.syntax so that
Makefile.inc is highlighted as a makefile.
2005-10-31 21:13:49 +00:00
Leonard den Ottolander
0c2b46643d * fish.c (fish_dir_load, fish_linear_start): Get numerical gid/uids from ls to
avoid wrong parsing of user/group names containging white space.
2005-10-19 11:34:56 +00:00
Roland Illig
13684ebcd7 Added many empty lines to make reading easier. 2005-10-12 15:50:43 +00:00
Leonard den Ottolander
149afcc3b7 * vfs/ftpfs.c (ftpfs_command): Fix "Nowhere to fallback to" warning caused
by fallback to active mode after inactivity.
2005-10-09 21:25:29 +00:00
Pavel Roskin
da6ee30252 * man2hlp.c (main): Fix using 0 instead of NULL. 2005-10-08 04:55:06 +00:00
Pavel Roskin
528e392458 * widget.c (listbox_fwd): Eliminate forward inline declaration. 2005-10-08 04:52:42 +00:00
Roland Illig
b415dc87b9 * configure.ac: Include -lintl if it is needed for
libintl_gettext(). Needed for NetBSD-1.6.2.
2005-10-07 01:15:05 +00:00
Pavel Roskin
9241d649c4 Fix plural rule. Revert translation for "%s bytes" - it was correct. 2005-10-06 20:01:01 +00:00
Leonard den Ottolander
a31c7331fa * po/nl.po: Do not use prefix in Q_() strings. 2005-10-06 19:59:31 +00:00
Pavel Roskin
1806fa0c8e Updates from Jindrich Novy <jnovy@redhat.com> 2005-10-06 16:05:51 +00:00
Leonard den Ottolander
3f84882f5b po/nl.po: Updated Dutch translation. 2005-10-04 21:55:09 +00:00
Leonard den Ottolander
cd2061a883 * edit/editcmd.c (edit_replace_dialog): Replace duplicate hotkey.
* po/*.po: Update changed string.
2005-10-04 21:15:06 +00:00
Leonard den Ottolander
79567ed4a1 view.c (search): Fix backward regex search off by one. 2005-10-04 21:07:20 +00:00
Pavel Roskin
7d9bf6f403 Rename gettext_ui to Q_ for glib compatibility. 2005-10-04 15:22:35 +00:00
Pavel Roskin
b67c6d2a9b * Makevars: Rename gettext_ui to Q_ for glib compatibility. 2005-10-04 15:22:01 +00:00
Pavel Roskin
01f571f1d2 * util.c (gettext_ui): Rename to Q_() for glib compatibility,
move ...
* glibcompat.c: ... here.  Adjust all callers.
2005-10-04 15:20:10 +00:00
Pavel Roskin
3baac40355 Updates from Jindrich Novy <jnovy@redhat.com>
Add plural rules.
2005-10-04 14:41:51 +00:00
Pavel Roskin
8c7b6d7126 Remove all fuzzy marks. All fuzzy translations were actually pretty reasonable. 2005-10-04 02:30:32 +00:00
Pavel Roskin
b04257de82 Translate new ngettext strings in screen.c. 2005-10-03 23:38:33 +00:00
Pavel Roskin
0f46bb2632 * screen.c (display_mini_info): Use ngettext(). 2005-10-03 23:37:51 +00:00
Pavel Roskin
0ee9f65155 Add plural rules. Translate block/blocks properly. 2005-10-03 21:16:12 +00:00
Pavel Roskin
76c21d9dfe * configure.ac: Require gettext with ngettext support. It's
already used in src/info.c.
2005-10-03 21:00:22 +00:00
Pavel Roskin
28b68a1092 autopoint does version checking already - remove our check. 2005-09-28 22:10:52 +00:00
Pavel Roskin
f5e125e5d7 Remove support for gettext 0.10.x - it's too old and lacks ngettext(). 2005-09-28 21:58:52 +00:00
Pavel Roskin
bc9ae64cab * acinclude.m4: Remove gettext 0.10.x compatibility. 2005-09-28 21:49:05 +00:00
Leonard den Ottolander
9ac5ed8d4e * key.c (xmouse_get_event): Catch GPM_DRAG event.
* mouse.c (enable_mouse, disable_mouse): Update printed escape sequence.
2005-09-28 17:21:53 +00:00
Roland Illig
4972324b16 * extfs/iso9660.in: Ignore error messages from locale(1), as it
does not exist on OpenBSD. Reported by q# on mc-devel.
2005-09-26 15:07:00 +00:00
Roland Illig
290b842c86 * utilvfs.h (vfs_parse_filetype, vfs_parse_fileperms,
vfs_parse_filemode): Rewrote the functions to parse Unix file
	modes.
	* utilvfs.c: Likewise.
	* fish.c: Using the new parsing functions.
2005-09-26 11:10:24 +00:00
Roland Illig
aac7ac441a Added Plural-Forms header. 2005-09-21 22:54:07 +00:00
Roland Illig
508aeef716 Anton Chumak did the Ukrainian translation, too. 2005-09-21 22:28:54 +00:00
Roland Illig
ba28c02f49 Anton Chumak updated the Ukrainian translation. 2005-09-21 22:28:17 +00:00
Leonard den Ottolander
a621fb9b67 * execute.c (do_execute): Flush stdout after printing the command to be
executed.
2005-09-17 12:08:19 +00:00
Leonard den Ottolander
13d8512c37 * util.c: Indentation cleanup (function result types on different lines
then function names).
2005-09-17 12:01:04 +00:00
Leonard den Ottolander
2319ac0f7b * file.c (make_symlink): Fix off by one in symlink creation. 2005-09-17 11:45:13 +00:00
Leonard den Ottolander
b2952be541 * util.c (diff_two_paths): Abort when second symlink can't be resolved
(fixes segfault).
2005-09-17 11:40:31 +00:00
Andrew V. Samoilov
8491ac0c7d * samba/lib/util.c (tab_depth): Remove.
* samba/include/byteorder.h: Remove all macroces with tab_depth().
        * vfs/samba/lib/util_sock.c: Comment out read_smb_length(),
        send_null_session_msg(), send_one_packet(), send_smd()
        and read_smb_length().
        * vfs/samba/libsmb/nmblib.c: Comment out copy_nmb_packet(),
        copy_dgram_packet(), copy_packet() and nmb_name_equal().
2005-09-15 12:07:17 +00:00