Merge branch '3997_cleanup'

* 3997_cleanup: (35 commits)
  tests: add .gitignore
  Fix .gitignore
  Update po/*.po files.
  tests: editcmd__edit_complete_word_cmd.c: override mc_refresh()
  (dir_list_reload): refactoring.
  (dir_list_load): get rid of goto.
  Refactoring of directory read visualization.
  Add dir_list callback to visualize of directory reading.
  (dir_list_load): show error message outside of this function.
  (handle_path): change parameters type from int* to gboolean*.
  (handle_dirent): change parameters type from int* to gboolean*.
  lib/tty/tty-internal.h: fix typo.
  (tty_init): remove stuff that SLang_init_tty() already done.
  (tty_init): clarify screen size limitation.
  src/filemanager/layout.c: fix coding style.
  (save_panel_dir): minor refactoring.
  File manager: refactoring of MSG_RESIZE handling.
  diffviewer: refactoring of MSG_RESIZE handling.
  mcviewer: refactoring of MSG_RESIZE handling.
  mcedit: refactoring of MSG_RESIZE handling.
  ...
This commit is contained in:
Andrew Borodin 2019-09-01 20:15:01 +03:00
commit 37bea39742
103 changed files with 2883 additions and 1774 deletions

2
.gitignore vendored
View File

@ -46,3 +46,5 @@ make.log
make.clang
make.gcc
make.tcc
tests/src/editor/test-data.txt
tests/src/vfs/extfs/helpers-list/data/config.sh

View File

@ -2,48 +2,48 @@ Version 4.8.23
- Core
* Modify "File exists" query dialog (#3935):
* change layout
* rename "Update" button to "If older"
* add new "If smaller" button": overwrite file with smaller one
* add "Don't overwrite with zero length file" checkbox
* Speed up of large directory structures delete (#3958)
* Support key binding for menu (#212)
* Modify "File exists" query dialog (#3935):
- change layout
- rename "Update" button to "If older"
- add new "If smaller" button": overwrite file with smaller one
- add "Don't overwrite with zero length file" checkbox
* Speed up of large directory structures delete (#3958)
* Support key binding for menu (#212)
- Editor
* Expanded syntax highlighting rules (#3975):
* expanded file name regexp for sh.syntax
* use ini.syntax for systemd cofiguration files
* Syntax updates:
* shell (#3981)
* ebuild (#3988)
* RPM spec (#3991)
* Expanded syntax highlighting rules (#3975):
- expanded file name regexp for sh.syntax
- use ini.syntax for systemd cofiguration files
* Syntax updates:
- shell (#3981)
- ebuild (#3988)
- RPM spec (#3991)
- Viewer
* Quick one-off backwards search with N. New action SearchOppositeContinue for key bind (default is shift-n) (#3452)
* Quick one-off backwards search with N. New action SearchOppositeContinue for key bind (default is shift-n) (#3452)
- Misc
* Code cleanup (#3955)
* Use Geeqie (a fork of GQview) as main image viewer, fallback to GQview (#3962)
* File highlighting updates (#3966)
* .go, .s: highlight as source
* .m4v: highlighting as media
* New skins:
* featured-plus: featured skin with alternative directory and file select/mark colors (#3973)
* Code cleanup (#3955)
* Use Geeqie (a fork of GQview) as main image viewer, fallback to GQview (#3962)
* File highlighting updates (#3966)
- .go, .s: highlight as source
- .m4v: highlighting as media
* New skins:
- featured-plus: featured skin with alternative directory and file select/mark colors (#3973)
- Fixes
* Compilation fail on AIX (#3960)
* Incorrect file version sort (#3965, #3905)
* Garbage in the hardlink error creation message window (#3990)
* Cannot shell, or FTP, or SFTP link when the file panel is tree, or info, or quick view (#3948)
* Failed gpm connect attempt ... for vc /dev/tty0 (#3208, #3614)
* Incorrect include/editor order in mc.ext (#3965)
* mcedit: incorrect C/C++ syntax highlighting in some cases (#3487)
* Unknown type name 'sighandler_t' on Illumos (#3971)
* Compilation fail on AIX (#3960)
* Incorrect file version sort (#3965, #3905)
* Garbage in the hardlink error creation message window (#3990)
* Cannot shell, or FTP, or SFTP link when the file panel is tree, or info, or quick view (#3948)
* Failed gpm connect attempt ... for vc /dev/tty0 (#3208, #3614)
* Incorrect include/editor order in mc.ext (#3965)
* mcedit: incorrect C/C++ syntax highlighting in some cases (#3487)
* Unknown type name 'sighandler_t' on Illumos (#3971)
Version 4.8.22

View File

@ -4120,6 +4120,10 @@ don't need to quote those characters in the middle of the command line.
On the other hand, you cannot use them to change selection when the
command line is not empty.
.TP
.I alternate_plus_minus
If true, use '+', '\-', '\\' and '*' keys normally. For select/unselect,
use 'M\-+', 'M\--' and 'M\-*'.
.TP
.I show_output_starts_shell
This variable only works if you are not using the subshell support.
When you use the C\-o keystroke to go back to the user screen, if this

View File

@ -4482,6 +4482,12 @@ router). Эта опция работает только в том случае,
использовать эти символы для таких операций, если командная строка не
пуста.
.PP
.I alternate_plus_minus
.IP
Если установлена, символы '+', '\-', '\\' and '*' обрабатываются обычным образом.
Чтобы выбрать файлы, отменить или инвертировать выбор, используйте 'M\-+', 'M\--'
и 'M\-*' соответственно.
.PP
.I show_output_starts_shell
.IP
Эта переменная работает только в том случае, когда не включена поддержка

View File

@ -253,7 +253,7 @@ typedef struct
#endif /* !ENABLE_SUBSHELL */
/* This flag is set by xterm detection routine in function main() */
/* It is used by function view_other_cmd() */
/* It is used by function toggle_subshell() */
gboolean xterm_flag;
/* disable x11 support */

View File

@ -1,5 +1,5 @@
#ifndef MC_CONFIG_H
#define MC_CONFIG_H
#ifndef MC__CONFIG_H
#define MC__CONFIG_H
#include "lib/vfs/vfs.h" /* vfs_path_t */
@ -23,6 +23,8 @@ typedef struct mc_config_t
/*** global variables defined in .c file *********************************************************/
extern int num_history_items_recorded;
/*** declarations of public functions ************************************************************/
/* mcconfig/common.c: */
@ -30,89 +32,87 @@ typedef struct mc_config_t
mc_config_t *mc_config_init (const gchar * ini_path, gboolean read_only);
void mc_config_deinit (mc_config_t * mc_config);
gboolean mc_config_del_key (mc_config_t *, const char *, const gchar *);
gboolean mc_config_del_group (mc_config_t *, const char *);
gboolean mc_config_has_param (const mc_config_t * mc_config, const char *group,
const gchar * param);
gboolean mc_config_has_group (mc_config_t * mc_config, const char *group);
gboolean mc_config_has_param (const mc_config_t *, const char *, const gchar *);
gboolean mc_config_has_group (mc_config_t *, const char *);
gboolean mc_config_del_key (mc_config_t * mc_config, const char *group, const gchar * param);
gboolean mc_config_del_group (mc_config_t * mc_config, const char *group);
gboolean mc_config_read_file (mc_config_t * mc_config, const gchar * ini_path, gboolean read_only,
gboolean remove_empty);
gboolean mc_config_save_file (mc_config_t * config, GError ** error);
gboolean mc_config_save_to_file (mc_config_t * config, const gchar * filename, GError ** error);
gboolean mc_config_save_file (mc_config_t * config, GError ** mcerror);
gboolean mc_config_save_to_file (mc_config_t * mc_config, const gchar * ini_path,
GError ** mcerror);
/* mcconfig/get.c: */
gchar **mc_config_get_groups (const mc_config_t * mc_config, gsize * len);
gchar **mc_config_get_keys (const mc_config_t * mc_config, const gchar * group, gsize * len);
gchar *mc_config_get_string (mc_config_t *, const gchar *, const gchar *, const gchar *);
gchar *mc_config_get_string_raw (const mc_config_t *, const gchar *, const gchar *, const gchar *);
gboolean mc_config_get_bool (mc_config_t *, const gchar *, const gchar *, gboolean);
int mc_config_get_int (mc_config_t *, const gchar *, const gchar *, int);
gchar *mc_config_get_string (mc_config_t * mc_config, const gchar * group, const gchar * param,
const gchar * def);
gchar *mc_config_get_string_raw (mc_config_t * mc_config, const gchar * group, const gchar * param,
const gchar * def);
gboolean mc_config_get_bool (mc_config_t * mc_config, const gchar * group, const gchar * param,
gboolean def);
int mc_config_get_int (mc_config_t * mc_config, const gchar * group, const gchar * param, int def);
gchar **mc_config_get_string_list (mc_config_t * mc_config, const gchar * group,
const gchar * param, gsize * length);
gboolean *mc_config_get_bool_list (mc_config_t *, const gchar *, const gchar *, gsize *);
int *mc_config_get_int_list (mc_config_t *, const gchar *, const gchar *, gsize *);
gboolean *mc_config_get_bool_list (mc_config_t * mc_config, const gchar * group,
const gchar * param, gsize * length);
int *mc_config_get_int_list (mc_config_t * mc_config, const gchar * group, const gchar * param,
gsize * length);
/* mcconfig/set.c: */
void mc_config_set_string_raw (mc_config_t *, const gchar *, const gchar *, const gchar *);
void mc_config_set_string_raw_value (mc_config_t *, const gchar *, const gchar *, const gchar *);
void mc_config_set_string (const mc_config_t *, const gchar *, const gchar *, const gchar *);
void mc_config_set_bool (mc_config_t *, const gchar *, const gchar *, gboolean);
void mc_config_set_int (mc_config_t *, const gchar *, const gchar *, int);
void mc_config_set_string_raw (mc_config_t * mc_config, const gchar * group, const gchar * param,
const gchar * value);
void mc_config_set_string_raw_value (mc_config_t * mc_config, const gchar * group,
const gchar * param, const gchar * value);
void mc_config_set_string (mc_config_t * mc_config, const gchar * group, const gchar * param,
const gchar * value);
void mc_config_set_bool (mc_config_t * mc_config, const gchar * group, const gchar * param,
gboolean value);
void mc_config_set_int (mc_config_t * mc_config, const gchar * group, const gchar * param,
int value);
void
mc_config_set_string_list (mc_config_t *, const gchar *,
const gchar *, const gchar * const[], gsize);
void mc_config_set_bool_list (mc_config_t *, const gchar *, const gchar *, gboolean[], gsize);
void mc_config_set_int_list (mc_config_t *, const gchar *, const gchar *, int[], gsize);
/* mcconfig/dialog.c: */
void mc_config_show_dialog (void);
mc_config_set_string_list (mc_config_t * mc_config, const gchar * group, const gchar * param,
const gchar * const value[], gsize length);
void mc_config_set_bool_list (mc_config_t * mc_config, const gchar * group, const gchar * param,
gboolean value[], gsize length);
void mc_config_set_int_list (mc_config_t * mc_config, const gchar * group, const gchar * param,
int value[], gsize length);
/* mcconfig/paths.c: */
void mc_config_init_config_paths (GError ** error);
void mc_config_deinit_config_paths (void);
gboolean mc_config_migrate_from_old_place (GError ** error, char **msg);
const char *mc_config_get_data_path (void);
const char *mc_config_get_cache_path (void);
const char *mc_config_get_path (void);
const char *mc_config_get_home_dir (void);
const char *mc_config_get_path (void);
char *mc_config_get_full_path (const char *config_name);
vfs_path_t *mc_config_get_full_vpath (const char *config_name);
gboolean mc_config_migrate_from_old_place (GError ** mcerror, char **msg);
/* mcconfig/history.h */
/* read history to the mc_config, but don't save config to file */
GList *mc_config_history_get (const char *name);
/* load history from the mc_config */
GList *mc_config_history_load (mc_config_t * cfg, const char *name);
/* save history to the mc_config, but don't save config to file */
void mc_config_history_save (mc_config_t * cfg, const char *name, GList * h);
/*** inline functions ****************************************************************************/
#endif
#endif /* MC__CONFIG_H */

View File

@ -4,6 +4,7 @@ noinst_LTLIBRARIES = libmcconfig.la
libmcconfig_la_SOURCES = \
common.c \
get.c \
history.c \
set.c \
paths.c

View File

@ -30,18 +30,20 @@
#include "lib/global.h"
#include "lib/vfs/vfs.h" /* mc_stat */
#include "lib/util.h"
#include "lib/mcconfig.h"
/*** global variables **************************************************/
/*** global variables ****************************************************************************/
/*** file scope macro definitions **************************************/
/*** file scope macro definitions ****************************************************************/
/*** file scope type declarations **************************************/
/*** file scope type declarations ****************************************************************/
/*** file scope variables **********************************************/
/*** file scope variables ************************************************************************/
/*** file scope functions **********************************************/
/* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */
/* --------------------------------------------------------------------------------------------- */
/*** file scope functions ************************************************************************/
/* --------------------------------------------------------------------------------------------- */
static gboolean
mc_config_new_or_override_file (mc_config_t * mc_config, const gchar * ini_path, GError ** mcerror)
@ -80,6 +82,7 @@ mc_config_new_or_override_file (mc_config_t * mc_config, const gchar * ini_path,
(cur_written = mc_write (fd, (const void *) written_data, total_written)) > 0;
written_data += cur_written, total_written -= cur_written)
;
mc_close (fd);
g_free (data);
@ -94,9 +97,9 @@ mc_config_new_or_override_file (mc_config_t * mc_config, const gchar * ini_path,
return TRUE;
}
/* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */
/*** public functions **************************************************/
/* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */
/* --------------------------------------------------------------------------------------------- */
/*** public functions ****************************************************************************/
/* --------------------------------------------------------------------------------------------- */
mc_config_t *
mc_config_init (const gchar * ini_path, gboolean read_only)
@ -105,7 +108,6 @@ mc_config_init (const gchar * ini_path, gboolean read_only)
struct stat st;
mc_config = g_try_malloc0 (sizeof (mc_config_t));
if (mc_config == NULL)
return NULL;
@ -115,6 +117,7 @@ mc_config_init (const gchar * ini_path, gboolean read_only)
g_free (mc_config);
return NULL;
}
if (ini_path == NULL)
return mc_config;
@ -140,7 +143,7 @@ mc_config_init (const gchar * ini_path, gboolean read_only)
return mc_config;
}
/* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */
/* --------------------------------------------------------------------------------------------- */
void
mc_config_deinit (mc_config_t * mc_config)
@ -153,51 +156,51 @@ mc_config_deinit (mc_config_t * mc_config)
}
}
/* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */
/* --------------------------------------------------------------------------------------------- */
gboolean
mc_config_has_param (const mc_config_t * mc_config, const char *group, const gchar * param)
{
if (!mc_config || !group || !param)
if (mc_config == NULL || group == NULL || param == NULL)
return FALSE;
return g_key_file_has_key (mc_config->handle, group, param, NULL);
}
/* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */
/* --------------------------------------------------------------------------------------------- */
gboolean
mc_config_has_group (mc_config_t * mc_config, const char *group)
{
if (!mc_config || !group)
if (mc_config == NULL || group == NULL)
return FALSE;
return g_key_file_has_group (mc_config->handle, group);
}
/* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */
/* --------------------------------------------------------------------------------------------- */
gboolean
mc_config_del_key (mc_config_t * mc_config, const char *group, const gchar * param)
{
if (!mc_config || !group || !param)
if (mc_config == NULL || group == NULL || param == NULL)
return FALSE;
return g_key_file_remove_key (mc_config->handle, group, param, NULL);
}
/* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */
/* --------------------------------------------------------------------------------------------- */
gboolean
mc_config_del_group (mc_config_t * mc_config, const char *group)
{
if (!mc_config || !group)
if (mc_config == NULL || group == NULL)
return FALSE;
return g_key_file_remove_group (mc_config->handle, group, NULL);
}
/* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */
/* --------------------------------------------------------------------------------------------- */
gboolean
mc_config_read_file (mc_config_t * mc_config, const gchar * ini_path, gboolean read_only,
@ -247,7 +250,7 @@ mc_config_read_file (mc_config_t * mc_config, const gchar * ini_path, gboolean r
return ok;
}
/* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */
/* --------------------------------------------------------------------------------------------- */
gboolean
mc_config_save_file (mc_config_t * mc_config, GError ** mcerror)
@ -260,7 +263,7 @@ mc_config_save_file (mc_config_t * mc_config, GError ** mcerror)
return mc_config_new_or_override_file (mc_config, mc_config->ini_path, mcerror);
}
/* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */
/* --------------------------------------------------------------------------------------------- */
gboolean
mc_config_save_to_file (mc_config_t * mc_config, const gchar * ini_path, GError ** mcerror)
@ -271,7 +274,6 @@ mc_config_save_to_file (mc_config_t * mc_config, const gchar * ini_path, GError
return FALSE;
return mc_config_new_or_override_file (mc_config, ini_path, mcerror);
}
/* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */
/* --------------------------------------------------------------------------------------------- */

View File

@ -24,19 +24,26 @@
#include "lib/global.h"
#include "lib/strutil.h"
#include "lib/mcconfig.h"
/*** global variables **************************************************/
/*** global variables ****************************************************************************/
/*** file scope macro definitions **************************************/
/*** file scope macro definitions ****************************************************************/
/*** file scope type declarations **************************************/
/*** file scope type declarations ****************************************************************/
/*** file scope variables **********************************************/
/*** file scope variables ************************************************************************/
/*** file scope functions **********************************************/
/*** file scope functions ************************************************************************/
/*** public functions **************************************************/
/* --------------------------------------------------------------------------------------------- */
/*** file scope functions ************************************************************************/
/* --------------------------------------------------------------------------------------------- */
/* --------------------------------------------------------------------------------------------- */
/*** public functions ****************************************************************************/
/* --------------------------------------------------------------------------------------------- */
gchar **
mc_config_get_groups (const mc_config_t * mc_config, gsize * len)
@ -56,7 +63,7 @@ mc_config_get_groups (const mc_config_t * mc_config, gsize * len)
return ret;
}
/* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */
/* --------------------------------------------------------------------------------------------- */
gchar **
mc_config_get_keys (const mc_config_t * mc_config, const gchar * group, gsize * len)
@ -76,7 +83,7 @@ mc_config_get_keys (const mc_config_t * mc_config, const gchar * group, gsize *
return ret;
}
/* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */
/* --------------------------------------------------------------------------------------------- */
gchar *
mc_config_get_string (mc_config_t * mc_config, const gchar * group,
@ -87,7 +94,7 @@ mc_config_get_string (mc_config_t * mc_config, const gchar * group,
gchar *ret;
estr_t conv_res;
if (!mc_config || !group || !param)
if (mc_config == NULL || group == NULL || param == NULL)
return g_strdup (def);
if (!mc_config_has_param (mc_config, group, param))
@ -123,15 +130,15 @@ mc_config_get_string (mc_config_t * mc_config, const gchar * group,
return g_string_free (buffer, FALSE);
}
/* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */
/* --------------------------------------------------------------------------------------------- */
gchar *
mc_config_get_string_raw (const mc_config_t * mc_config, const gchar * group,
mc_config_get_string_raw (mc_config_t * mc_config, const gchar * group,
const gchar * param, const gchar * def)
{
gchar *ret;
if (!mc_config || !group || !param)
if (mc_config == NULL || group == NULL || param == NULL)
return g_strdup (def);
if (!mc_config_has_param (mc_config, group, param))
@ -146,12 +153,12 @@ mc_config_get_string_raw (const mc_config_t * mc_config, const gchar * group,
return ret != NULL ? ret : g_strdup (def);
}
/* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */
/* --------------------------------------------------------------------------------------------- */
gboolean
mc_config_get_bool (mc_config_t * mc_config, const gchar * group, const gchar * param, gboolean def)
{
if (!mc_config || !group || !param)
if (mc_config == NULL || group == NULL || param == NULL)
return def;
if (!mc_config_has_param (mc_config, group, param))
@ -163,12 +170,12 @@ mc_config_get_bool (mc_config_t * mc_config, const gchar * group, const gchar *
return g_key_file_get_boolean (mc_config->handle, group, param, NULL);
}
/* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */
/* --------------------------------------------------------------------------------------------- */
int
mc_config_get_int (mc_config_t * mc_config, const gchar * group, const gchar * param, int def)
{
if (!mc_config || !group || !param)
if (mc_config == NULL || group == NULL || param == NULL)
return def;
if (!mc_config_has_param (mc_config, group, param))
@ -180,41 +187,40 @@ mc_config_get_int (mc_config_t * mc_config, const gchar * group, const gchar * p
return g_key_file_get_integer (mc_config->handle, group, param, NULL);
}
/* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */
/* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */
/* --------------------------------------------------------------------------------------------- */
gchar **
mc_config_get_string_list (mc_config_t * mc_config, const gchar * group,
const gchar * param, gsize * length)
{
if (!mc_config || !group || !param)
if (mc_config == NULL || group == NULL || param == NULL)
return NULL;
return g_key_file_get_string_list (mc_config->handle, group, param, length, NULL);
}
/* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */
/* --------------------------------------------------------------------------------------------- */
gboolean *
mc_config_get_bool_list (mc_config_t * mc_config, const gchar * group,
const gchar * param, gsize * length)
{
if (!mc_config || !group || !param)
if (mc_config == NULL || group == NULL || param == NULL)
return NULL;
return g_key_file_get_boolean_list (mc_config->handle, group, param, length, NULL);
}
/* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */
/* --------------------------------------------------------------------------------------------- */
int *
mc_config_get_int_list (mc_config_t * mc_config, const gchar * group,
const gchar * param, gsize * length)
{
if (!mc_config || !group || !param)
if (mc_config == NULL || group == NULL || param == NULL)
return NULL;
return g_key_file_get_integer_list (mc_config->handle, group, param, length, NULL);
}
/* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */
/* --------------------------------------------------------------------------------------------- */

219
lib/mcconfig/history.c Normal file
View File

@ -0,0 +1,219 @@
/*
Widgets for the Midnight Commander
Copyright (C) 1994-2019
Free Software Foundation, Inc.
Authors:
Radek Doulik, 1994, 1995
Miguel de Icaza, 1994, 1995
Jakub Jelinek, 1995
Andrej Borsenkow, 1996
Norbert Warmuth, 1997
Andrew Borodin <aborodin@vmail.ru>, 2009-2019
This file is part of the Midnight Commander.
The Midnight Commander 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 3 of the License,
or (at your option) any later version.
The Midnight Commander 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, see <http://www.gnu.org/licenses/>.
*/
/** \file history.c
* \brief Source: save and load history
*/
#include <config.h>
#include <stdlib.h>
#include <sys/types.h>
#include "lib/global.h"
#include "lib/fileloc.h" /* MC_HISTORY_FILE */
#include "lib/strutil.h"
#include "lib/util.h" /* list_append_unique */
#include "lib/mcconfig.h"
/*** global variables ****************************************************************************/
/* how much history items are used */
int num_history_items_recorded = 60;
/*** file scope macro definitions ****************************************************************/
/*** file scope type declarations ****************************************************************/
/*** file scope variables ************************************************************************/
/* --------------------------------------------------------------------------------------------- */
/*** file scope functions ************************************************************************/
/* --------------------------------------------------------------------------------------------- */
/* --------------------------------------------------------------------------------------------- */
/*** public functions ****************************************************************************/
/* --------------------------------------------------------------------------------------------- */
/**
* Load the history from the ${XDG_CACHE_HOME}/mc/history file.
* It is called with the widgets history name and returns the GList list.
*/
GList *
mc_config_history_get (const char *name)
{
GList *hist = NULL;
char *profile;
mc_config_t *cfg;
if (num_history_items_recorded == 0) /* this is how to disable */
return NULL;
if (name == NULL || *name == '\0')
return NULL;
profile = mc_config_get_full_path (MC_HISTORY_FILE);
cfg = mc_config_init (profile, TRUE);
hist = mc_config_history_load (cfg, name);
mc_config_deinit (cfg);
g_free (profile);
return hist;
}
/* --------------------------------------------------------------------------------------------- */
/**
* Load history from the mc_config
*/
GList *
mc_config_history_load (mc_config_t * cfg, const char *name)
{
size_t i;
GList *hist = NULL;
char **keys;
size_t keys_num = 0;
GIConv conv = INVALID_CONV;
GString *buffer;
if (name == NULL || *name == '\0')
return NULL;
/* get number of keys */
keys = mc_config_get_keys (cfg, name, &keys_num);
g_strfreev (keys);
/* create charset conversion handler to convert strings
from utf-8 to system codepage */
if (!mc_global.utf8_display)
conv = str_crt_conv_from ("UTF-8");
buffer = g_string_sized_new (64);
for (i = 0; i < keys_num; i++)
{
char key[BUF_TINY];
char *this_entry;
g_snprintf (key, sizeof (key), "%lu", (unsigned long) i);
this_entry = mc_config_get_string_raw (cfg, name, key, "");
if (this_entry == NULL)
continue;
if (conv == INVALID_CONV)
hist = list_append_unique (hist, this_entry);
else
{
g_string_set_size (buffer, 0);
if (str_convert (conv, this_entry, buffer) == ESTR_FAILURE)
hist = list_append_unique (hist, this_entry);
else
{
hist = list_append_unique (hist, g_strndup (buffer->str, buffer->len));
g_free (this_entry);
}
}
}
g_string_free (buffer, TRUE);
if (conv != INVALID_CONV)
str_close_conv (conv);
/* return pointer to the last entry in the list */
return g_list_last (hist);
}
/* --------------------------------------------------------------------------------------------- */
/**
* Save history to the mc_config, but don't save config to file
*/
void
mc_config_history_save (mc_config_t * cfg, const char *name, GList * h)
{
GIConv conv = INVALID_CONV;
GString *buffer;
int i;
if (name == NULL || *name == '\0' || h == NULL)
return;
/* go to end of list */
h = g_list_last (h);
/* go back 60 places */
for (i = 0; (i < num_history_items_recorded - 1) && (h->prev != NULL); i++)
h = g_list_previous (h);
if (name != NULL)
mc_config_del_group (cfg, name);
/* create charset conversion handler to convert strings
from system codepage to UTF-8 */
if (!mc_global.utf8_display)
conv = str_crt_conv_to ("UTF-8");
buffer = g_string_sized_new (64);
/* dump history into profile */
for (i = 0; h != NULL; h = g_list_next (h))
{
char key[BUF_TINY];
char *text = (char *) h->data;
/* We shouldn't have null entries, but let's be sure */
if (text == NULL)
continue;
g_snprintf (key, sizeof (key), "%d", i++);
if (conv == INVALID_CONV)
mc_config_set_string_raw (cfg, name, key, text);
else
{
g_string_set_size (buffer, 0);
if (str_convert (conv, text, buffer) == ESTR_FAILURE)
mc_config_set_string_raw (cfg, name, key, text);
else
mc_config_set_string_raw (cfg, name, key, buffer->str);
}
}
g_string_free (buffer, TRUE);
if (conv != INVALID_CONV)
str_close_conv (conv);
}
/* --------------------------------------------------------------------------------------------- */

View File

@ -127,6 +127,7 @@ static const struct
};
#endif /* MC_HOMEDIR_XDG */
/* --------------------------------------------------------------------------------------------- */
/*** file scope functions *********************************************************************** */
/* --------------------------------------------------------------------------------------------- */
@ -150,12 +151,11 @@ mc_config_init_one_config_path (const char *path_base, const char *subdir, GErro
mc_return_val_if_error (mcerror, FALSE);
full_path = g_build_filename (path_base, subdir, (char *) NULL);
if (g_file_test (full_path, G_FILE_TEST_EXISTS))
{
if (g_file_test (full_path, G_FILE_TEST_IS_DIR))
{
config_dir_present = TRUE;
}
else
{
fprintf (stderr, "%s %s\n", _("FATAL: not a directory:"), full_path);
@ -199,7 +199,6 @@ mc_config_copy (const char *old_name, const char *new_name, GError ** mcerror)
if (g_file_test (old_name, G_FILE_TEST_IS_DIR))
{
GDir *dir;
const char *dir_name;
@ -255,6 +254,7 @@ mc_config_fix_migrated_rules (void)
rename (old_name, new_name);
g_free (new_name);
}
g_free (old_name);
}
}
@ -405,6 +405,7 @@ mc_config_get_home_dir (void)
if (homedir == NULL || *homedir == '\0')
homedir = g_get_home_dir ();
}
return homedir;
}
@ -445,6 +446,7 @@ mc_config_migrate_from_old_place (GError ** mcerror, char **msg)
for (rule_index = 0; mc_config_files_reference[rule_index].old_filename != NULL; rule_index++)
{
char *old_name;
if (*mc_config_files_reference[rule_index].old_filename == '\0')
continue;
@ -462,6 +464,7 @@ mc_config_migrate_from_old_place (GError ** mcerror, char **msg)
mc_config_copy (old_name, new_name, mcerror);
g_free (new_name);
}
g_free (old_name);
}
@ -501,14 +504,11 @@ mc_config_get_full_path (const char *config_name)
mc_config_init_config_paths (NULL);
for (rule_index = 0; mc_config_files_reference[rule_index].old_filename != NULL; rule_index++)
{
if (strcmp (config_name, mc_config_files_reference[rule_index].new_filename) == 0)
{
return g_build_filename (*mc_config_files_reference[rule_index].new_basedir,
mc_config_files_reference[rule_index].new_filename,
(char *) NULL);
}
}
return NULL;
}
@ -530,6 +530,7 @@ mc_config_get_full_vpath (const char *config_name)
ret_vpath = vfs_path_from_str (str_path);
g_free (str_path);
return ret_vpath;
}

View File

@ -24,18 +24,20 @@
#include "lib/global.h"
#include "lib/strutil.h"
#include "lib/mcconfig.h"
/*** global variables **************************************************/
/*** global variables ****************************************************************************/
/*** file scope macro definitions **************************************/
/*** file scope macro definitions ****************************************************************/
/*** file scope type declarations **************************************/
/*** file scope type declarations ****************************************************************/
/*** file scope variables **********************************************/
/*** file scope variables ************************************************************************/
/*** file scope functions **********************************************/
/* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */
/* --------------------------------------------------------------------------------------------- */
/*** file scope functions ************************************************************************/
/* --------------------------------------------------------------------------------------------- */
static gchar *
mc_config_normalize_before_save (const gchar * value)
@ -65,109 +67,91 @@ mc_config_normalize_before_save (const gchar * value)
return g_string_free (buffer, FALSE);
}
/* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */
/*** public functions **************************************************/
/* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */
/* --------------------------------------------------------------------------------------------- */
/*** public functions ****************************************************************************/
/* --------------------------------------------------------------------------------------------- */
void
mc_config_set_string_raw (mc_config_t * mc_config, const gchar * group,
const gchar * param, const gchar * value)
{
if (!mc_config || !group || !param || !value)
return;
g_key_file_set_string (mc_config->handle, group, param, value);
if (mc_config != NULL && group != NULL && param != NULL && value != NULL)
g_key_file_set_string (mc_config->handle, group, param, value);
}
/* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */
/* --------------------------------------------------------------------------------------------- */
void
mc_config_set_string_raw_value (mc_config_t * mc_config, const gchar * group,
const gchar * param, const gchar * value)
{
if (!mc_config || !group || !param || !value)
return;
g_key_file_set_value (mc_config->handle, group, param, value);
if (mc_config != NULL && group != NULL && param != NULL && value != NULL)
g_key_file_set_value (mc_config->handle, group, param, value);
}
/* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */
/* --------------------------------------------------------------------------------------------- */
void
mc_config_set_string (const mc_config_t * mc_config, const gchar * group,
mc_config_set_string (mc_config_t * mc_config, const gchar * group,
const gchar * param, const gchar * value)
{
gchar *buffer;
if (mc_config != NULL && group != NULL && param != NULL && value != NULL)
{
gchar *buffer;
if (!mc_config || !group || !param || !value)
return;
buffer = mc_config_normalize_before_save (value);
g_key_file_set_string (mc_config->handle, group, param, buffer);
g_free (buffer);
buffer = mc_config_normalize_before_save (value);
g_key_file_set_string (mc_config->handle, group, param, buffer);
g_free (buffer);
}
}
/* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */
/* --------------------------------------------------------------------------------------------- */
void
mc_config_set_bool (mc_config_t * mc_config, const gchar * group,
const gchar * param, gboolean value)
{
if (!mc_config || !group || !param)
return;
g_key_file_set_boolean (mc_config->handle, group, param, value);
if (mc_config != NULL && group != NULL && param != NULL)
g_key_file_set_boolean (mc_config->handle, group, param, value);
}
/* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */
/* --------------------------------------------------------------------------------------------- */
void
mc_config_set_int (mc_config_t * mc_config, const gchar * group, const gchar * param, int value)
{
if (!mc_config || !group || !param)
return;
g_key_file_set_integer (mc_config->handle, group, param, value);
if (mc_config != NULL && group != NULL && param != NULL)
g_key_file_set_integer (mc_config->handle, group, param, value);
}
/* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */
/* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */
/* --------------------------------------------------------------------------------------------- */
void
mc_config_set_string_list (mc_config_t * mc_config, const gchar * group,
const gchar * param, const gchar * const value[], gsize length)
{
if (!mc_config || !group || !param || !value || length == 0)
return;
g_key_file_set_string_list (mc_config->handle, group, param, value, length);
if (mc_config != NULL && group != NULL && param != NULL && value != NULL && length != 0)
g_key_file_set_string_list (mc_config->handle, group, param, value, length);
}
/* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */
/* --------------------------------------------------------------------------------------------- */
void
mc_config_set_bool_list (mc_config_t * mc_config, const gchar * group,
const gchar * param, gboolean value[], gsize length)
{
if (!mc_config || !group || !param || !value || length == 0)
return;
g_key_file_set_boolean_list (mc_config->handle, group, param, value, length);
if (mc_config != NULL && group != NULL && param != NULL && value != NULL && length != 0)
g_key_file_set_boolean_list (mc_config->handle, group, param, value, length);
}
/* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */
/* --------------------------------------------------------------------------------------------- */
void
mc_config_set_int_list (mc_config_t * mc_config, const gchar * group,
const gchar * param, int value[], gsize length)
{
if (!mc_config || !group || !param || !value || length == 0)
return;
g_key_file_set_integer_list (mc_config->handle, group, param, value, length);
if (mc_config != NULL && group != NULL && param != NULL && value != NULL && length != 0)
g_key_file_set_integer_list (mc_config->handle, group, param, value, length);
}
/* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */
/* --------------------------------------------------------------------------------------------- */

View File

@ -193,7 +193,7 @@ mc_deserialize_str (const char prefix, const char *data, GError ** error)
*/
char *
mc_serialize_config (const mc_config_t * data, GError ** error)
mc_serialize_config (mc_config_t * data, GError ** error)
{
gchar **groups, **group_iterator;
GString *buffer;

View File

@ -19,7 +19,7 @@
char *mc_serialize_str (const char prefix, const char *data, GError ** error);
char *mc_deserialize_str (const char prefix, const char *data, GError ** error);
char *mc_serialize_config (const mc_config_t * data, GError ** error);
char *mc_serialize_config (mc_config_t * data, GError ** error);
mc_config_t *mc_deserialize_config (const char *data, GError ** error);
/*** inline functions ****************************************************************************/

View File

@ -1,6 +1,6 @@
/** \file tty-internal.h
* \brief Header: internal suff of the terminal controlling library
* \brief Header: internal stuff of the terminal controlling library
*/
#ifndef MC__TTY_INTERNAL_H

View File

@ -282,10 +282,15 @@ tty_init (gboolean mouse_enable, gboolean is_xterm)
* string such as "linux" or "xterm" S-Lang will go on, but the
* terminal size and several other variables won't be initialized
* (as of S-Lang 1.4.4). Detect it and abort. Also detect extremely
* small, large and negative screen dimensions.
* small screen dimensions.
*/
if ((COLS < 10) || (LINES < 5)
|| (COLS > SLTT_MAX_SCREEN_COLS) || (LINES > SLTT_MAX_SCREEN_ROWS))
#if SLANG_VERSION < 20303
/* Beginning from pre2.3.3-8 (55f58798c267d76a1b93d0d916027b71a10ac1ee),
these limitations were eliminated. */
|| (COLS > SLTT_MAX_SCREEN_COLS) || (LINES > SLTT_MAX_SCREEN_ROWS)
#endif
)
{
fprintf (stderr,
_("Screen size %dx%d is not supported.\n"
@ -300,23 +305,7 @@ tty_init (gboolean mouse_enable, gboolean is_xterm)
if (mc_global.tty.ugly_line_drawing)
SLtt_Has_Alt_Charset = 0;
/* If SLang uses fileno(stderr) for terminal input MC will hang
if we call SLang_getkey between calls to open_error_pipe and
close_error_pipe, e.g. when we do a growing view of an gzipped
file. */
if (SLang_TT_Read_FD == fileno (stderr))
SLang_TT_Read_FD = fileno (stdin);
if (tcgetattr (SLang_TT_Read_FD, &new_mode) == 0)
{
#ifdef VDSUSP
new_mode.c_cc[VDSUSP] = NULL_VALUE; /* to ignore ^Y */
#endif
#ifdef VLNEXT
new_mode.c_cc[VLNEXT] = NULL_VALUE; /* to ignore ^V */
#endif
tcsetattr (SLang_TT_Read_FD, TCSADRAIN, &new_mode);
}
tcgetattr (SLang_TT_Read_FD, &new_mode);
tty_reset_prog_mode ();
load_terminfo_keys ();

View File

@ -43,6 +43,7 @@
#include "lib/fileloc.h" /* MC_HISTORY_FILE */
#include "lib/event.h" /* mc_event_raise() */
#include "lib/util.h" /* MC_PTR_FREE */
#include "lib/mcconfig.h" /* num_history_items_recorded */
#include "lib/widget.h"
#include "lib/widget/mouse.h"
@ -603,36 +604,6 @@ dlg_widget_set_position (gpointer data, gpointer user_data)
widget_set_size (c, y, x, lines, cols);
}
/* --------------------------------------------------------------------------------------------- */
static void
dlg_adjust_position (widget_pos_flags_t pos_flags, int *y, int *x, int *lines, int *cols)
{
if ((pos_flags & WPOS_FULLSCREEN) != 0)
{
*y = 0;
*x = 0;
*lines = LINES;
*cols = COLS;
}
else
{
if ((pos_flags & WPOS_CENTER_HORZ) != 0)
*x = (COLS - *cols) / 2;
if ((pos_flags & WPOS_CENTER_VERT) != 0)
*y = (LINES - *lines) / 2;
if ((pos_flags & WPOS_TRYUP) != 0)
{
if (*y > 3)
*y -= 2;
else if (*y == 3)
*y = 2;
}
}
}
/* --------------------------------------------------------------------------------------------- */
/*** public functions ****************************************************************************/
/* --------------------------------------------------------------------------------------------- */
@ -711,7 +682,7 @@ dlg_set_size (WDialog * h, int lines, int cols)
{
int x = 0, y = 0;
dlg_adjust_position (WIDGET (h)->pos_flags, &y, &x, &lines, &cols);
widget_adjust_position (WIDGET (h)->pos_flags, &y, &x, &lines, &cols);
dlg_set_position (h, y, x, lines, cols);
}
@ -770,7 +741,7 @@ dlg_create (gboolean modal, int y1, int x1, int lines, int cols, widget_pos_flag
new_d = g_new0 (WDialog, 1);
w = WIDGET (new_d);
dlg_adjust_position (pos_flags, &y1, &x1, &lines, &cols);
widget_adjust_position (pos_flags, &y1, &x1, &lines, &cols);
widget_init (w, y1, x1, lines, cols, (callback != NULL) ? callback : dlg_default_callback,
mouse_callback);
w->pos_flags = pos_flags;

View File

@ -10,7 +10,7 @@
Jakub Jelinek, 1995
Andrej Borsenkow, 1996
Norbert Warmuth, 1997
Andrew Borodin <aborodin@vmail.ru>, 2009, 2010, 2011, 2012, 2013
Andrew Borodin <aborodin@vmail.ru>, 2009-2019
This file is part of the Midnight Commander.
@ -29,33 +29,23 @@
*/
/** \file history.c
* \brief Source: save, load and show history
* \brief Source: show history
*/
#include <config.h>
#include <errno.h>
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include <sys/types.h>
#include <sys/stat.h>
#include "lib/global.h"
#include "lib/tty/tty.h" /* LINES, COLS */
#include "lib/mcconfig.h" /* for history loading and saving */
#include "lib/fileloc.h"
#include "lib/strutil.h"
#include "lib/util.h" /* list_append_unique */
#include "lib/widget.h"
#include "lib/keybind.h" /* CK_* */
/*** global variables ****************************************************************************/
/* how much history items are used */
int num_history_items_recorded = 60;
/*** file scope macro definitions ****************************************************************/
#define B_VIEW (B_USER + 1)
@ -189,159 +179,6 @@ history_release_item (history_descriptor_t * hd, WLEntry * le)
/*** public functions ****************************************************************************/
/* --------------------------------------------------------------------------------------------- */
/**
* Load the history from the ${XDG_CACHE_HOME}/mc/history file.
* It is called with the widgets history name and returns the GList list.
*/
GList *
history_get (const char *input_name)
{
GList *hist = NULL;
char *profile;
mc_config_t *cfg;
if (num_history_items_recorded == 0) /* this is how to disable */
return NULL;
if ((input_name == NULL) || (*input_name == '\0'))
return NULL;
profile = mc_config_get_full_path (MC_HISTORY_FILE);
cfg = mc_config_init (profile, TRUE);
hist = history_load (cfg, input_name);
mc_config_deinit (cfg);
g_free (profile);
return hist;
}
/* --------------------------------------------------------------------------------------------- */
/**
* Load history from the mc_config
*/
GList *
history_load (mc_config_t * cfg, const char *name)
{
size_t i;
GList *hist = NULL;
char **keys;
size_t keys_num = 0;
GIConv conv = INVALID_CONV;
GString *buffer;
if (name == NULL || *name == '\0')
return NULL;
/* get number of keys */
keys = mc_config_get_keys (cfg, name, &keys_num);
g_strfreev (keys);
/* create charset conversion handler to convert strings
from utf-8 to system codepage */
if (!mc_global.utf8_display)
conv = str_crt_conv_from ("UTF-8");
buffer = g_string_sized_new (64);
for (i = 0; i < keys_num; i++)
{
char key[BUF_TINY];
char *this_entry;
g_snprintf (key, sizeof (key), "%lu", (unsigned long) i);
this_entry = mc_config_get_string_raw (cfg, name, key, "");
if (this_entry == NULL)
continue;
if (conv == INVALID_CONV)
hist = list_append_unique (hist, this_entry);
else
{
g_string_set_size (buffer, 0);
if (str_convert (conv, this_entry, buffer) == ESTR_FAILURE)
hist = list_append_unique (hist, this_entry);
else
{
hist = list_append_unique (hist, g_strndup (buffer->str, buffer->len));
g_free (this_entry);
}
}
}
g_string_free (buffer, TRUE);
if (conv != INVALID_CONV)
str_close_conv (conv);
/* return pointer to the last entry in the list */
return g_list_last (hist);
}
/* --------------------------------------------------------------------------------------------- */
/**
* Save history to the mc_config, but don't save config to file
*/
void
history_save (mc_config_t * cfg, const char *name, GList * h)
{
GIConv conv = INVALID_CONV;
GString *buffer;
int i;
if (name == NULL || *name == '\0' || h == NULL)
return;
/* go to end of list */
h = g_list_last (h);
/* go back 60 places */
for (i = 0; (i < num_history_items_recorded - 1) && (h->prev != NULL); i++)
h = g_list_previous (h);
if (name != NULL)
mc_config_del_group (cfg, name);
/* create charset conversion handler to convert strings
from system codepage to UTF-8 */
if (!mc_global.utf8_display)
conv = str_crt_conv_to ("UTF-8");
buffer = g_string_sized_new (64);
/* dump history into profile */
for (i = 0; h != NULL; h = g_list_next (h))
{
char key[BUF_TINY];
char *text = (char *) h->data;
/* We shouldn't have null entries, but let's be sure */
if (text == NULL)
continue;
g_snprintf (key, sizeof (key), "%d", i++);
if (conv == INVALID_CONV)
mc_config_set_string_raw (cfg, name, key, text);
else
{
g_string_set_size (buffer, 0);
if (str_convert (conv, text, buffer) == ESTR_FAILURE)
mc_config_set_string_raw (cfg, name, key, text);
else
mc_config_set_string_raw (cfg, name, key, buffer->str);
}
}
g_string_free (buffer, TRUE);
if (conv != INVALID_CONV)
str_close_conv (conv);
}
/* --------------------------------------------------------------------------------------------- */
void
history_descriptor_init (history_descriptor_t * hd, int y, int x, GList * history, int current)
{

View File

@ -1,13 +1,11 @@
/** \file lib/widget/history.h
* \brief Header: save, load and show history
* \brief Header: show history
*/
#ifndef MC__WIDGET_HISTORY_H
#define MC__WIDGET_HISTORY_H
#include "lib/mcconfig.h" /* mc_config_t */
/*** typedefs(not structures) and defined constants **********************************************/
/* forward declarations */
@ -41,22 +39,11 @@ typedef struct history_descriptor_t
/*** global variables defined in .c file *********************************************************/
extern int num_history_items_recorded;
/*** declarations of public functions ************************************************************/
/* read history to the mc_config, but don't save config to file */
GList *history_get (const char *input_name);
/* load history from the mc_config */
GList *history_load (mc_config_t * cfg, const char *name);
/* save history to the mc_config, but don't save config to file */
void history_save (mc_config_t * cfg, const char *name, GList * h);
void history_descriptor_init (history_descriptor_t * hd, int y, int x, GList * history,
int current);
/* for repositioning of history dialog we should pass widget to this
* function, as position of history dialog depends on widget's position */
void history_show (history_descriptor_t * hd);
/*** inline functions ****************************************************************************/

View File

@ -49,6 +49,7 @@
#include "lib/keybind.h" /* global_keymap_t */
#include "lib/widget.h"
#include "lib/event.h" /* mc_event_raise() */
#include "lib/mcconfig.h" /* mc_config_history_*() */
#include "input_complete.h"
@ -842,7 +843,7 @@ input_load_history (const gchar * event_group_name, const gchar * event_name,
(void) event_group_name;
(void) event_name;
in->history.list = history_load (ev->cfg, in->history.name);
in->history.list = mc_config_history_load (ev->cfg, in->history.name);
in->history.current = in->history.list;
if (in->init_from_history)
@ -876,7 +877,7 @@ input_save_history (const gchar * event_group_name, const gchar * event_name,
push_history (in, in->buffer);
if (in->history.changed)
history_save (ev->cfg, in->history.name, in->history.list);
mc_config_history_save (ev->cfg, in->history.name, in->history.list);
in->history.changed = FALSE;
}

View File

@ -935,14 +935,15 @@ destroy_menu (menu_t * menu)
/* --------------------------------------------------------------------------------------------- */
WMenuBar *
menubar_new (int y, int x, int cols, GList * menu, gboolean visible)
menubar_new (GList * menu, gboolean visible)
{
WMenuBar *menubar;
Widget *w;
menubar = g_new0 (WMenuBar, 1);
w = WIDGET (menubar);
widget_init (w, y, x, 1, cols, menubar_callback, menubar_mouse_callback);
widget_init (w, 0, 0, 1, COLS, menubar_callback, menubar_mouse_callback);
w->pos_flags = WPOS_KEEP_HORZ | WPOS_KEEP_TOP;
/* initially, menubar is not selectable */
widget_set_options (w, WOP_SELECTABLE, FALSE);
w->options |= WOP_TOP_SELECT;

View File

@ -48,7 +48,7 @@ menu_t *create_menu (const char *name, GList * entries, const char *help_node);
void menu_set_name (menu_t * menu, const char *name);
void destroy_menu (menu_t * menu);
WMenuBar *menubar_new (int y, int x, int cols, GList * menu, gboolean visible);
WMenuBar *menubar_new (GList * menu, gboolean visible);
void menubar_set_menu (WMenuBar * menubar, GList * menu);
void menubar_add_menu (WMenuBar * menubar, menu_t * menu);
void menubar_arrange (WMenuBar * menubar);

View File

@ -329,6 +329,36 @@ widget_set_state (Widget * w, widget_state_t state, gboolean enable)
/* --------------------------------------------------------------------------------------------- */
void
widget_adjust_position (widget_pos_flags_t pos_flags, int *y, int *x, int *lines, int *cols)
{
if ((pos_flags & WPOS_FULLSCREEN) != 0)
{
*y = 0;
*x = 0;
*lines = LINES;
*cols = COLS;
}
else
{
if ((pos_flags & WPOS_CENTER_HORZ) != 0)
*x = (COLS - *cols) / 2;
if ((pos_flags & WPOS_CENTER_VERT) != 0)
*y = (LINES - *lines) / 2;
if ((pos_flags & WPOS_TRYUP) != 0)
{
if (*y > 3)
*y -= 2;
else if (*y == 3)
*y = 2;
}
}
}
/* --------------------------------------------------------------------------------------------- */
void
widget_set_size (Widget * widget, int y, int x, int lines, int cols)
{

View File

@ -180,6 +180,7 @@ cb_ret_t widget_default_callback (Widget * w, Widget * sender, widget_msg_t msg,
void *data);
void widget_set_options (Widget * w, widget_options_t options, gboolean enable);
cb_ret_t widget_set_state (Widget * w, widget_state_t state, gboolean enable);
void widget_adjust_position (widget_pos_flags_t pos_flags, int *y, int *x, int *lines, int *cols);
void widget_set_size (Widget * widget, int y, int x, int lines, int cols);
/* select color for widget in dependance of state */
void widget_selectcolor (Widget * w, gboolean focused, gboolean hotkey);

8
misc/.gitignore vendored
View File

@ -1 +1,9 @@
mc.ext
ext.d/doc.sh
ext.d/misc.sh
ext.d/text.sh
ext.d/web.sh
mc.charsets
mc.menu
mcedit.menu
syntax/Syntax

View File

@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Midnight Commander\n"
"Report-Msgid-Bugs-To: http://www.midnight-commander.org/\n"
"POT-Creation-Date: 2019-06-16 20:10+0200\n"
"POT-Creation-Date: 2019-09-01 20:04+0300\n"
"PO-Revision-Date: 2019-03-02 12:55+0000\n"
"Last-Translator: Piotr Drąg <piotrdrag@gmail.com>\n"
"Language-Team: Azerbaijani (http://www.transifex.com/mc/mc/language/az/)\n"
@ -459,6 +459,15 @@ msgstr ""
msgid "The TERM environment variable is unset!\n"
msgstr "TERM dəyişəni bildirilməyib!\n"
msgid "Cannot create pipe for SIGWINCH"
msgstr ""
msgid "Cannot configure write end of SIGWINCH pipe"
msgstr ""
msgid "Cannot configure read end of SIGWINCH pipe"
msgstr ""
#, c-format
msgid ""
"Screen size %dx%d is not supported.\n"
@ -1284,6 +1293,9 @@ msgstr ""
msgid "&Close"
msgstr ""
msgid "&History..."
msgstr ""
msgid "Save &as..."
msgstr ""
@ -1712,6 +1724,11 @@ msgstr ""
msgid "The shell is already running a command"
msgstr ""
msgid ""
"Not an xterm or Linux console;\n"
"the panels cannot be toggled."
msgstr ""
msgid "Type 'exit' to return to the Midnight Commander"
msgstr ""
@ -2261,11 +2278,6 @@ msgid ""
"to use this command"
msgstr ""
msgid ""
"Not an xterm or Linux console;\n"
"the panels cannot be toggled."
msgstr ""
#, c-format
msgid "'%s' is not a symbolic link"
msgstr ""
@ -2328,9 +2340,6 @@ msgid ""
"%s"
msgstr ""
msgid "Cannot read directory contents"
msgstr ""
msgid "Parameter"
msgstr ""
@ -3198,6 +3207,9 @@ msgstr ""
msgid "Command &history"
msgstr ""
msgid "Viewed/edited files hi&story"
msgstr ""
msgid "Di&rectory hotlist"
msgstr ""
@ -3423,6 +3435,9 @@ msgstr ""
msgid "Do you really want to execute?"
msgstr ""
msgid "Cannot read directory contents"
msgstr ""
msgid "User supplied format looks invalid, reverting to default."
msgstr ""
"İstifadəçi tərəfindən bildirlən şəkillandirmə düzgün deyil, əsasa keçirəm."

View File

@ -12,7 +12,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Midnight Commander\n"
"Report-Msgid-Bugs-To: http://www.midnight-commander.org/\n"
"POT-Creation-Date: 2019-06-16 20:10+0200\n"
"POT-Creation-Date: 2019-09-01 20:04+0300\n"
"PO-Revision-Date: 2019-06-16 17:59+0000\n"
"Last-Translator: Yury V. Zaytsev <yury@shurup.com>\n"
"Language-Team: Belarusian (http://www.transifex.com/mc/mc/language/be/)\n"
@ -491,6 +491,16 @@ msgstr "Shift"
msgid "The TERM environment variable is unset!\n"
msgstr "Зменную асяроддзя «TERM» не вызначылі!\n"
#, fuzzy
msgid "Cannot create pipe for SIGWINCH"
msgstr "Немагчыма стварыць паток каналу"
msgid "Cannot configure write end of SIGWINCH pipe"
msgstr ""
msgid "Cannot configure read end of SIGWINCH pipe"
msgstr ""
#, c-format
msgid ""
"Screen size %dx%d is not supported.\n"
@ -1374,6 +1384,10 @@ msgstr "Новы(&N)"
msgid "&Close"
msgstr "Закрыць(&C)"
#, fuzzy
msgid "&History..."
msgstr "Гісторыя"
msgid "Save &as..."
msgstr "Захаваць як(&A)…"
@ -1810,6 +1824,13 @@ msgstr "Немагчыма атрымаць лакальную копію «%s»
msgid "The shell is already running a command"
msgstr "Абалонка ўжо выконвае загад"
msgid ""
"Not an xterm or Linux console;\n"
"the panels cannot be toggled."
msgstr ""
"Гэта не xterm альбо кансоль Linux;\n"
"панэлі немагчыма выключыць."
msgid "Type 'exit' to return to the Midnight Commander"
msgstr "Увядзіце «exit», каб вярнуцца ў Midnight Commander"
@ -2369,13 +2390,6 @@ msgstr ""
"Каб выканаць загад, патрэбна, каб абедзве панэлі\n"
"адлюстроўваліся спісамі"
msgid ""
"Not an xterm or Linux console;\n"
"the panels cannot be toggled."
msgstr ""
"Гэта не xterm альбо кансоль Linux;\n"
"панэлі немагчыма выключыць."
#, c-format
msgid "'%s' is not a symbolic link"
msgstr "«%s» не з’яўляецца сімвалічнай спасылкай"
@ -2442,9 +2456,6 @@ msgstr ""
"Немагчыма перайсці ў «%s»\n"
"%s"
msgid "Cannot read directory contents"
msgstr "Немагчыма прачытаць змесціва каталога"
msgid "Parameter"
msgstr "Параметр"
@ -3397,6 +3408,9 @@ msgstr "Памеры каталогаў(&I)"
msgid "Command &history"
msgstr "Гісторыя загадаў(&H)"
msgid "Viewed/edited files hi&story"
msgstr ""
msgid "Di&rectory hotlist"
msgstr "Спіс каталогаў(&R)"
@ -3626,6 +3640,9 @@ msgstr "Не абіраць"
msgid "Do you really want to execute?"
msgstr "Сапраўды выканаць?"
msgid "Cannot read directory contents"
msgstr "Немагчыма прачытаць змесціва каталога"
msgid "User supplied format looks invalid, reverting to default."
msgstr "Вяртаем да прадвызначанага: здаецца, карыстальнік падаў хібны фармат."

View File

@ -11,7 +11,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Midnight Commander\n"
"Report-Msgid-Bugs-To: http://www.midnight-commander.org/\n"
"POT-Creation-Date: 2019-06-16 20:10+0200\n"
"POT-Creation-Date: 2019-09-01 20:04+0300\n"
"PO-Revision-Date: 2019-03-02 12:55+0000\n"
"Last-Translator: Piotr Drąg <piotrdrag@gmail.com>\n"
"Language-Team: Bulgarian (http://www.transifex.com/mc/mc/language/bg/)\n"
@ -487,6 +487,16 @@ msgstr "Shift"
msgid "The TERM environment variable is unset!\n"
msgstr "Променливата TERM не е установена!\n"
#, fuzzy
msgid "Cannot create pipe for SIGWINCH"
msgstr "Не могат да се създадат потоци на канала"
msgid "Cannot configure write end of SIGWINCH pipe"
msgstr ""
msgid "Cannot configure read end of SIGWINCH pipe"
msgstr ""
#, c-format
msgid ""
"Screen size %dx%d is not supported.\n"
@ -1357,6 +1367,10 @@ msgstr "&Нов"
msgid "&Close"
msgstr "&Затваряне"
#, fuzzy
msgid "&History..."
msgstr "История"
msgid "Save &as..."
msgstr "Запис &като..."
@ -1793,6 +1807,13 @@ msgstr "Не може да се добие локално копие от %s"
msgid "The shell is already running a command"
msgstr "Обвивката вече изпълнява команда"
msgid ""
"Not an xterm or Linux console;\n"
"the panels cannot be toggled."
msgstr ""
" Не е xterm или Линукс конзола;\n"
"панелите не могат да бъдат показвани/скривани."
msgid "Type 'exit' to return to the Midnight Commander"
msgstr "Напишете 'exit', за да се върнете в Midnight Commander-а"
@ -2352,13 +2373,6 @@ msgstr ""
"Двата панела би трябвало да бъдат в\n"
"списъчен режим, за да можете да използвате тази команда"
msgid ""
"Not an xterm or Linux console;\n"
"the panels cannot be toggled."
msgstr ""
" Не е xterm или Линукс конзола;\n"
"панелите не могат да бъдат показвани/скривани."
#, c-format
msgid "'%s' is not a symbolic link"
msgstr "'%s' не е символичен линк"
@ -2425,9 +2439,6 @@ msgstr ""
"Не може да се chdir в \"%s\"\n"
"%s"
msgid "Cannot read directory contents"
msgstr "Не може да се прочете съдържанието на директорията"
msgid "Parameter"
msgstr "Параметър"
@ -3380,6 +3391,9 @@ msgstr "Показване на &размерите на директориит
msgid "Command &history"
msgstr "Командна &история"
msgid "Viewed/edited files hi&story"
msgstr ""
msgid "Di&rectory hotlist"
msgstr "Списък за бърз достъп до дире&ктории"
@ -3605,6 +3619,9 @@ msgstr "Деселектиране"
msgid "Do you really want to execute?"
msgstr "Наистина ли искате на изпълните това?"
msgid "Cannot read directory contents"
msgstr "Не може да се прочете съдържанието на директорията"
msgid "User supplied format looks invalid, reverting to default."
msgstr "Потребителският формат изглежда невалиден, връщам се към стандартния."

View File

@ -16,7 +16,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Midnight Commander\n"
"Report-Msgid-Bugs-To: http://www.midnight-commander.org/\n"
"POT-Creation-Date: 2019-06-16 20:10+0200\n"
"POT-Creation-Date: 2019-09-01 20:04+0300\n"
"PO-Revision-Date: 2019-03-24 14:13+0000\n"
"Last-Translator: Antoni Bella Pérez <antonibella5@yahoo.com>\n"
"Language-Team: Catalan (http://www.transifex.com/mc/mc/language/ca/)\n"
@ -493,6 +493,16 @@ msgstr "Maj"
msgid "The TERM environment variable is unset!\n"
msgstr "La variable d'entorn TERM no està definida!\n"
#, fuzzy
msgid "Cannot create pipe for SIGWINCH"
msgstr "No s'han pogut crear fluxos de la canonada"
msgid "Cannot configure write end of SIGWINCH pipe"
msgstr ""
msgid "Cannot configure read end of SIGWINCH pipe"
msgstr ""
#, c-format
msgid ""
"Screen size %dx%d is not supported.\n"
@ -1382,6 +1392,10 @@ msgstr "&Nou"
msgid "&Close"
msgstr "Tan&ca"
#, fuzzy
msgid "&History..."
msgstr "Historial"
msgid "Save &as..."
msgstr "Desa com &a..."
@ -1818,6 +1832,13 @@ msgstr "No s'ha pogut obtenir una còpia local de %s"
msgid "The shell is already running a command"
msgstr "La shell ja està executant una ordre"
msgid ""
"Not an xterm or Linux console;\n"
"the panels cannot be toggled."
msgstr ""
"No feu servir ni xterm ni una consola Linux.\n"
"No podreu alternar entre els plafons."
msgid "Type 'exit' to return to the Midnight Commander"
msgstr "Escriviu «exit» per tornar al Midnight Commander"
@ -2377,13 +2398,6 @@ msgstr ""
"Ambdós plafons han d'estar en el mode de llistat\n"
"per usar aquesta ordre"
msgid ""
"Not an xterm or Linux console;\n"
"the panels cannot be toggled."
msgstr ""
"No feu servir ni xterm ni una consola Linux.\n"
"No podreu alternar entre els plafons."
#, c-format
msgid "'%s' is not a symbolic link"
msgstr "«%s» no és un enllaç simbòlic"
@ -2450,9 +2464,6 @@ msgstr ""
"No s'ha pogut fer chdir a «%s»\n"
"%s"
msgid "Cannot read directory contents"
msgstr "No s'ha pogut llegir el contingut del directori"
msgid "Parameter"
msgstr "Paràmetre"
@ -3408,6 +3419,9 @@ msgstr "Mostra les m&ides dels directoris"
msgid "Command &history"
msgstr "&Historial de les ordres"
msgid "Viewed/edited files hi&story"
msgstr ""
msgid "Di&rectory hotlist"
msgstr "Favorits dels di&rectoris"
@ -3633,6 +3647,9 @@ msgstr "No seleccionis"
msgid "Do you really want to execute?"
msgstr "Realment el voleu executar?"
msgid "Cannot read directory contents"
msgstr "No s'ha pogut llegir el contingut del directori"
msgid "User supplied format looks invalid, reverting to default."
msgstr ""
"El format facilitat per l'usuari sembla que no és vàlid, s'està tornant al "

View File

@ -13,7 +13,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Midnight Commander\n"
"Report-Msgid-Bugs-To: http://www.midnight-commander.org/\n"
"POT-Creation-Date: 2019-06-16 20:10+0200\n"
"POT-Creation-Date: 2019-09-01 20:04+0300\n"
"PO-Revision-Date: 2019-03-03 09:55+0000\n"
"Last-Translator: Pavel Borecki <pavel.borecki@gmail.com>\n"
"Language-Team: Czech (http://www.transifex.com/mc/mc/language/cs/)\n"
@ -490,6 +490,16 @@ msgstr "Shift"
msgid "The TERM environment variable is unset!\n"
msgstr "Proměnná prostředí TERM není nastavena!\n"
#, fuzzy
msgid "Cannot create pipe for SIGWINCH"
msgstr "Nelze vytvořit sekvence příkazů (pipe streams)"
msgid "Cannot configure write end of SIGWINCH pipe"
msgstr ""
msgid "Cannot configure read end of SIGWINCH pipe"
msgstr ""
#, c-format
msgid ""
"Screen size %dx%d is not supported.\n"
@ -1373,6 +1383,10 @@ msgstr "&Nový"
msgid "&Close"
msgstr "&Zavřít"
#, fuzzy
msgid "&History..."
msgstr "Historie"
msgid "Save &as..."
msgstr "Uložit j&ako…"
@ -1810,6 +1824,13 @@ msgstr "Nedaří se získat místní kopii souboru %s"
msgid "The shell is already running a command"
msgstr "V shellu je už spuštěný příkaz"
msgid ""
"Not an xterm or Linux console;\n"
"the panels cannot be toggled."
msgstr ""
"Toto není xterm nebo linuxová konzola;\n"
"panely nelze přepnout."
msgid "Type 'exit' to return to the Midnight Commander"
msgstr "Do Midnight Commander se vrátíte zadáním příkazu „exit“"
@ -2369,13 +2390,6 @@ msgstr ""
"Pro použití tohoto příkazu je třeba, aby\n"
"oba panely zobrazovaly seznam souborů"
msgid ""
"Not an xterm or Linux console;\n"
"the panels cannot be toggled."
msgstr ""
"Toto není xterm nebo linuxová konzola;\n"
"panely nelze přepnout."
#, c-format
msgid "'%s' is not a symbolic link"
msgstr "„%s“ není symbolický odkaz"
@ -2444,9 +2458,6 @@ msgstr ""
"Nedaří se přejít do složky „%s“\n"
"%s"
msgid "Cannot read directory contents"
msgstr "Nedaří se načíst obsah složky"
msgid "Parameter"
msgstr "Parametr"
@ -3405,6 +3416,9 @@ msgstr "Zobrazit velikost&i složek"
msgid "Command &history"
msgstr "&Historie příkazů"
msgid "Viewed/edited files hi&story"
msgstr ""
msgid "Di&rectory hotlist"
msgstr "&Rychlý přístup ke složkám"
@ -3634,6 +3648,9 @@ msgstr "Zrušit výběr"
msgid "Do you really want to execute?"
msgstr "Opravdu chcete spustit?"
msgid "Cannot read directory contents"
msgstr "Nedaří se načíst obsah složky"
msgid "User supplied format looks invalid, reverting to default."
msgstr "Chybný formát zadaný uživatelem, náhradně bude použit výchozí."

View File

@ -13,7 +13,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Midnight Commander\n"
"Report-Msgid-Bugs-To: http://www.midnight-commander.org/\n"
"POT-Creation-Date: 2019-06-16 20:10+0200\n"
"POT-Creation-Date: 2019-09-01 20:04+0300\n"
"PO-Revision-Date: 2019-03-04 17:03+0000\n"
"Last-Translator: scootergrisen\n"
"Language-Team: Danish (http://www.transifex.com/mc/mc/language/da/)\n"
@ -488,6 +488,16 @@ msgstr "Skift"
msgid "The TERM environment variable is unset!\n"
msgstr "TERM-miljøvariabelen er ikke sat!\n"
#, fuzzy
msgid "Cannot create pipe for SIGWINCH"
msgstr "Kan ikke oprette datakanalstrømme"
msgid "Cannot configure write end of SIGWINCH pipe"
msgstr ""
msgid "Cannot configure read end of SIGWINCH pipe"
msgstr ""
#, c-format
msgid ""
"Screen size %dx%d is not supported.\n"
@ -1371,6 +1381,10 @@ msgstr "&Ny"
msgid "&Close"
msgstr "&Luk"
#, fuzzy
msgid "&History..."
msgstr "Historik"
msgid "Save &as..."
msgstr "Gem &som..."
@ -1807,6 +1821,13 @@ msgstr "Kan ikke hente en lokal kopi af %s"
msgid "The shell is already running a command"
msgstr "Skallen kører allerede en kommando"
msgid ""
"Not an xterm or Linux console;\n"
"the panels cannot be toggled."
msgstr ""
"Ikke en xterm eller Linuxkonsol;\n"
"panelerne kan ikke skiftes."
msgid "Type 'exit' to return to the Midnight Commander"
msgstr "Skriv 'exit' for at vende tilbage til Midnight Commander"
@ -2367,13 +2388,6 @@ msgstr ""
"Begge paneler skal være i listeformat\n"
"for at bruge denne kommando"
msgid ""
"Not an xterm or Linux console;\n"
"the panels cannot be toggled."
msgstr ""
"Ikke en xterm eller Linuxkonsol;\n"
"panelerne kan ikke skiftes."
#, c-format
msgid "'%s' is not a symbolic link"
msgstr "'%s' er ikke en symbolsk henvisning"
@ -2440,9 +2454,6 @@ msgstr ""
"Kan ikke chdir til »%s«\n"
"%s"
msgid "Cannot read directory contents"
msgstr "Kan ikke læse mappeindhold"
msgid "Parameter"
msgstr "Parameter"
@ -3397,6 +3408,9 @@ msgstr "Vis &mappestørrelser"
msgid "Command &history"
msgstr "Kommando&historik"
msgid "Viewed/edited files hi&story"
msgstr ""
msgid "Di&rectory hotlist"
msgstr "&Mappehotlist"
@ -3622,6 +3636,9 @@ msgstr "Fravælg"
msgid "Do you really want to execute?"
msgstr "Ønsker du virkelig at køre?"
msgid "Cannot read directory contents"
msgstr "Kan ikke læse mappeindhold"
msgid "User supplied format looks invalid, reverting to default."
msgstr "Brugerdefineret format ser ugyldigt ud, bruger standard."

View File

@ -19,7 +19,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Midnight Commander\n"
"Report-Msgid-Bugs-To: http://www.midnight-commander.org/\n"
"POT-Creation-Date: 2019-06-16 20:10+0200\n"
"POT-Creation-Date: 2019-09-01 20:04+0300\n"
"PO-Revision-Date: 2019-04-20 21:08+0000\n"
"Last-Translator: Mr.Update\n"
"Language-Team: German (http://www.transifex.com/mc/mc/language/de/)\n"
@ -499,6 +499,16 @@ msgstr "Umschalt"
msgid "The TERM environment variable is unset!\n"
msgstr "Die TERM-Variable ist nicht gesetzt!\n"
#, fuzzy
msgid "Cannot create pipe for SIGWINCH"
msgstr "Kann Pipe-Stream nicht erstellen"
msgid "Cannot configure write end of SIGWINCH pipe"
msgstr ""
msgid "Cannot configure read end of SIGWINCH pipe"
msgstr ""
#, c-format
msgid ""
"Screen size %dx%d is not supported.\n"
@ -1388,6 +1398,10 @@ msgstr "&Neu"
msgid "&Close"
msgstr "&Schließen"
#, fuzzy
msgid "&History..."
msgstr "Chronik"
msgid "Save &as..."
msgstr "Speichern &unter..."
@ -1824,6 +1838,13 @@ msgstr "Kann lokale Kopie von %s nicht erstellen"
msgid "The shell is already running a command"
msgstr "Die Shell führt bereits einen Befehl aus"
msgid ""
"Not an xterm or Linux console;\n"
"the panels cannot be toggled."
msgstr ""
"Weder xterm noch Linux-Konsole;\n"
"die Panels können nicht ausgetauscht werden."
msgid "Type 'exit' to return to the Midnight Commander"
msgstr "Geben Sie 'exit' ein, um zum Midnight Commander zurückzukehren"
@ -2382,13 +2403,6 @@ msgstr ""
"Beide Panels sollten für diesen Befehl\n"
"im Listenmodus sein"
msgid ""
"Not an xterm or Linux console;\n"
"the panels cannot be toggled."
msgstr ""
"Weder xterm noch Linux-Konsole;\n"
"die Panels können nicht ausgetauscht werden."
#, c-format
msgid "'%s' is not a symbolic link"
msgstr "'%s' ist kein symbolischer Link"
@ -2455,9 +2469,6 @@ msgstr ""
"Kann nicht ins Verzeichnis \"%s\" wechseln\n"
"%s"
msgid "Cannot read directory contents"
msgstr "Kann Verzeichnis nicht lesen"
msgid "Parameter"
msgstr "Parameter"
@ -3414,6 +3425,9 @@ msgstr "Verze&ichnisgrößen anzeigen"
msgid "Command &history"
msgstr "Befehlsc&hronik"
msgid "Viewed/edited files hi&story"
msgstr ""
msgid "Di&rectory hotlist"
msgstr "Ve&rzeichnis-Hotlist"
@ -3639,6 +3653,9 @@ msgstr "Deselektieren"
msgid "Do you really want to execute?"
msgstr "Möchten Sie wirklich ausführen?"
msgid "Cannot read directory contents"
msgstr "Kann Verzeichnis nicht lesen"
msgid "User supplied format looks invalid, reverting to default."
msgstr "Benutzerdefiniertes Format sieht ungültig aus, benutze Standard."

View File

@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Midnight Commander\n"
"Report-Msgid-Bugs-To: http://www.midnight-commander.org/\n"
"POT-Creation-Date: 2019-06-16 20:10+0200\n"
"POT-Creation-Date: 2019-09-01 20:04+0300\n"
"PO-Revision-Date: 2015-02-26 09:48+0000\n"
"Last-Translator: Piotr Drąg <piotrdrag@gmail.com>\n"
"Language-Team: German (Switzerland) (http://www.transifex.com/projects/p/mc/"
@ -459,6 +459,15 @@ msgstr ""
msgid "The TERM environment variable is unset!\n"
msgstr ""
msgid "Cannot create pipe for SIGWINCH"
msgstr ""
msgid "Cannot configure write end of SIGWINCH pipe"
msgstr ""
msgid "Cannot configure read end of SIGWINCH pipe"
msgstr ""
#, c-format
msgid ""
"Screen size %dx%d is not supported.\n"
@ -1282,6 +1291,9 @@ msgstr ""
msgid "&Close"
msgstr ""
msgid "&History..."
msgstr ""
msgid "Save &as..."
msgstr ""
@ -1710,6 +1722,11 @@ msgstr ""
msgid "The shell is already running a command"
msgstr ""
msgid ""
"Not an xterm or Linux console;\n"
"the panels cannot be toggled."
msgstr ""
msgid "Type 'exit' to return to the Midnight Commander"
msgstr ""
@ -2259,11 +2276,6 @@ msgid ""
"to use this command"
msgstr ""
msgid ""
"Not an xterm or Linux console;\n"
"the panels cannot be toggled."
msgstr ""
#, c-format
msgid "'%s' is not a symbolic link"
msgstr ""
@ -2326,9 +2338,6 @@ msgid ""
"%s"
msgstr ""
msgid "Cannot read directory contents"
msgstr ""
msgid "Parameter"
msgstr ""
@ -3196,6 +3205,9 @@ msgstr ""
msgid "Command &history"
msgstr ""
msgid "Viewed/edited files hi&story"
msgstr ""
msgid "Di&rectory hotlist"
msgstr ""
@ -3421,6 +3433,9 @@ msgstr ""
msgid "Do you really want to execute?"
msgstr ""
msgid "Cannot read directory contents"
msgstr ""
msgid "User supplied format looks invalid, reverting to default."
msgstr ""

View File

@ -12,7 +12,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Midnight Commander\n"
"Report-Msgid-Bugs-To: http://www.midnight-commander.org/\n"
"POT-Creation-Date: 2019-06-16 20:10+0200\n"
"POT-Creation-Date: 2019-09-01 20:04+0300\n"
"PO-Revision-Date: 2019-03-02 12:55+0000\n"
"Last-Translator: Piotr Drąg <piotrdrag@gmail.com>\n"
"Language-Team: Greek (http://www.transifex.com/mc/mc/language/el/)\n"
@ -476,6 +476,16 @@ msgstr "Shift"
msgid "The TERM environment variable is unset!\n"
msgstr ""
#, fuzzy
msgid "Cannot create pipe for SIGWINCH"
msgstr "Αδυναμία δημιουργία καταλόγου %s"
msgid "Cannot configure write end of SIGWINCH pipe"
msgstr ""
msgid "Cannot configure read end of SIGWINCH pipe"
msgstr ""
#, c-format
msgid ""
"Screen size %dx%d is not supported.\n"
@ -1312,6 +1322,10 @@ msgstr "&Νέο"
msgid "&Close"
msgstr "&Κλείσιμο"
#, fuzzy
msgid "&History..."
msgstr "Ιστορικό"
msgid "Save &as..."
msgstr "Αποθήκευση &ως..."
@ -1742,6 +1756,11 @@ msgstr ""
msgid "The shell is already running a command"
msgstr "Το κέλυφος τρέχει ήδη μια εντολή"
msgid ""
"Not an xterm or Linux console;\n"
"the panels cannot be toggled."
msgstr ""
msgid "Type 'exit' to return to the Midnight Commander"
msgstr ""
@ -2295,11 +2314,6 @@ msgid ""
"to use this command"
msgstr ""
msgid ""
"Not an xterm or Linux console;\n"
"the panels cannot be toggled."
msgstr ""
#, c-format
msgid "'%s' is not a symbolic link"
msgstr ""
@ -2366,9 +2380,6 @@ msgstr ""
"Αδυναμία chdir σε \"%s\"\n"
"%s"
msgid "Cannot read directory contents"
msgstr "Αδυναμία ανάγνωσης περιεχομένων καταλόγου"
msgid "Parameter"
msgstr "Παράμετρος"
@ -3290,6 +3301,9 @@ msgstr "Εμ&φάνιση μεγεθών καταλόγων"
msgid "Command &history"
msgstr "&Ιστορικό εντολών"
msgid "Viewed/edited files hi&story"
msgstr ""
msgid "Di&rectory hotlist"
msgstr ""
@ -3515,6 +3529,9 @@ msgstr "Αποεπιλογή"
msgid "Do you really want to execute?"
msgstr "Σίγουρα θέλετε να γίνει εκτέλεση;"
msgid "Cannot read directory contents"
msgstr "Αδυναμία ανάγνωσης περιεχομένων καταλόγου"
msgid "User supplied format looks invalid, reverting to default."
msgstr ""

View File

@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Midnight Commander\n"
"Report-Msgid-Bugs-To: http://www.midnight-commander.org/\n"
"POT-Creation-Date: 2019-06-16 20:10+0200\n"
"POT-Creation-Date: 2019-09-01 20:04+0300\n"
"PO-Revision-Date: 2019-03-02 12:55+0000\n"
"Last-Translator: Piotr Drąg <piotrdrag@gmail.com>\n"
"Language-Team: English (United Kingdom) (http://www.transifex.com/mc/mc/"
@ -469,6 +469,16 @@ msgstr ""
msgid "The TERM environment variable is unset!\n"
msgstr ""
#, fuzzy
msgid "Cannot create pipe for SIGWINCH"
msgstr "Cannot create %s directory"
msgid "Cannot configure write end of SIGWINCH pipe"
msgstr ""
msgid "Cannot configure read end of SIGWINCH pipe"
msgstr ""
#, c-format
msgid ""
"Screen size %dx%d is not supported.\n"
@ -1292,6 +1302,9 @@ msgstr ""
msgid "&Close"
msgstr ""
msgid "&History..."
msgstr ""
msgid "Save &as..."
msgstr ""
@ -1720,6 +1733,11 @@ msgstr ""
msgid "The shell is already running a command"
msgstr ""
msgid ""
"Not an xterm or Linux console;\n"
"the panels cannot be toggled."
msgstr ""
msgid "Type 'exit' to return to the Midnight Commander"
msgstr ""
@ -2269,11 +2287,6 @@ msgid ""
"to use this command"
msgstr ""
msgid ""
"Not an xterm or Linux console;\n"
"the panels cannot be toggled."
msgstr ""
#, c-format
msgid "'%s' is not a symbolic link"
msgstr ""
@ -2336,9 +2349,6 @@ msgid ""
"%s"
msgstr ""
msgid "Cannot read directory contents"
msgstr ""
msgid "Parameter"
msgstr ""
@ -3206,6 +3216,9 @@ msgstr ""
msgid "Command &history"
msgstr ""
msgid "Viewed/edited files hi&story"
msgstr ""
msgid "Di&rectory hotlist"
msgstr ""
@ -3431,6 +3444,9 @@ msgstr ""
msgid "Do you really want to execute?"
msgstr ""
msgid "Cannot read directory contents"
msgstr ""
msgid "User supplied format looks invalid, reverting to default."
msgstr ""

View File

@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Midnight Commander\n"
"Report-Msgid-Bugs-To: http://www.midnight-commander.org/\n"
"POT-Creation-Date: 2019-06-16 20:10+0200\n"
"POT-Creation-Date: 2019-09-01 20:04+0300\n"
"PO-Revision-Date: 2019-06-01 18:41+0000\n"
"Last-Translator: Keith Bowes <zooplah@gmail.com>\n"
"Language-Team: Esperanto (http://www.transifex.com/mc/mc/language/eo/)\n"
@ -483,6 +483,16 @@ msgstr "Uskleca inversigilo"
msgid "The TERM environment variable is unset!\n"
msgstr "La medivariablo TERM ne estas valorizita!\n"
#, fuzzy
msgid "Cannot create pipe for SIGWINCH"
msgstr "Ne eblas krei duktajn fluojn"
msgid "Cannot configure write end of SIGWINCH pipe"
msgstr ""
msgid "Cannot configure read end of SIGWINCH pipe"
msgstr ""
#, c-format
msgid ""
"Screen size %dx%d is not supported.\n"
@ -1369,6 +1379,10 @@ msgstr "&Nova"
msgid "&Close"
msgstr "&Fermi"
#, fuzzy
msgid "&History..."
msgstr "Historio"
msgid "Save &as..."
msgstr "K&onservi kiel..."
@ -1805,6 +1819,13 @@ msgstr "Ne eblas atingi lokan kopion de %s"
msgid "The shell is already running a command"
msgstr "La ŝelo jam plenumas komandon"
msgid ""
"Not an xterm or Linux console;\n"
"the panels cannot be toggled."
msgstr ""
"Ne xterm-fenestron aŭ linuksan terminalon;\n"
"la flankojn oni ne povis inversigi."
msgid "Type 'exit' to return to the Midnight Commander"
msgstr "Tajpu \"exit\" por reiri al Midnight Commander"
@ -2364,13 +2385,6 @@ msgstr ""
"Ambaŭ flankoj estu en la lista reĝimo\n"
"por uzi ĉi tiun komandon"
msgid ""
"Not an xterm or Linux console;\n"
"the panels cannot be toggled."
msgstr ""
"Ne xterm-fenestron aŭ linuksan terminalon;\n"
"la flankojn oni ne povis inversigi."
#, c-format
msgid "'%s' is not a symbolic link"
msgstr "'%s' ne estas simbola ligilo"
@ -2437,9 +2451,6 @@ msgstr ""
"Ne eblas ŝanĝi dosierujon al \"%s\"\n"
"%s"
msgid "Cannot read directory contents"
msgstr "Ne eblas legi dosierujan enhavon"
msgid "Parameter"
msgstr "Parametro"
@ -3394,6 +3405,9 @@ msgstr "Montri dosierujajn g&randojn"
msgid "Command &history"
msgstr "Komanda &historio"
msgid "Viewed/edited files hi&story"
msgstr ""
msgid "Di&rectory hotlist"
msgstr "Dosieru&ja rapidolisto"
@ -3619,6 +3633,9 @@ msgstr "Malelekti"
msgid "Do you really want to execute?"
msgstr "Ĉu vi efekti volas plenumigi?"
msgid "Cannot read directory contents"
msgstr "Ne eblas legi dosierujan enhavon"
msgid "User supplied format looks invalid, reverting to default."
msgstr "Uzanto havigita formato aspektas nevalide, restarigante la aprioran."

View File

@ -13,7 +13,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Midnight Commander\n"
"Report-Msgid-Bugs-To: http://www.midnight-commander.org/\n"
"POT-Creation-Date: 2019-06-16 20:10+0200\n"
"POT-Creation-Date: 2019-09-01 20:04+0300\n"
"PO-Revision-Date: 2019-03-05 09:31+0000\n"
"Last-Translator: David Martin <dhmartina@yahoo.es>\n"
"Language-Team: Spanish (http://www.transifex.com/mc/mc/language/es/)\n"
@ -486,6 +486,16 @@ msgstr "Mayús"
msgid "The TERM environment variable is unset!\n"
msgstr "¡La variable de entorno TERM está sin definir!\n"
#, fuzzy
msgid "Cannot create pipe for SIGWINCH"
msgstr "Imposible crear flujo de tubería"
msgid "Cannot configure write end of SIGWINCH pipe"
msgstr ""
msgid "Cannot configure read end of SIGWINCH pipe"
msgstr ""
#, c-format
msgid ""
"Screen size %dx%d is not supported.\n"
@ -1374,6 +1384,10 @@ msgstr "&Nuevo"
msgid "&Close"
msgstr "&Cerrar"
#, fuzzy
msgid "&History..."
msgstr "Historia"
msgid "Save &as..."
msgstr "guar&Dar como..."
@ -1810,6 +1824,13 @@ msgstr "Imposible obtener una copia local de «%s»"
msgid "The shell is already running a command"
msgstr "El shell ya está ejecutando un comando"
msgid ""
"Not an xterm or Linux console;\n"
"the panels cannot be toggled."
msgstr ""
"No se está usando ni xterm ni la consola Linux.\n"
"Los paneles no pueden ser ocultados."
msgid "Type 'exit' to return to the Midnight Commander"
msgstr "Teclee «exit» para regresar a Midnight Commander"
@ -2369,13 +2390,6 @@ msgstr ""
"Ambos paneles deben estar en\n"
"modo listado para usar esta función"
msgid ""
"Not an xterm or Linux console;\n"
"the panels cannot be toggled."
msgstr ""
"No se está usando ni xterm ni la consola Linux.\n"
"Los paneles no pueden ser ocultados."
#, c-format
msgid "'%s' is not a symbolic link"
msgstr "«%s» no es un enlace simbólico"
@ -2442,9 +2456,6 @@ msgstr ""
"Imposible cambiar al directorio «%s»\n"
"%s"
msgid "Cannot read directory contents"
msgstr "Imposible leer directorio"
msgid "Parameter"
msgstr "Parámetro"
@ -3400,6 +3411,9 @@ msgstr "mostrar &Tamaños de los directorios"
msgid "Command &history"
msgstr "&Historia de órdenes"
msgid "Viewed/edited files hi&story"
msgstr ""
msgid "Di&rectory hotlist"
msgstr "&Favoritos..."
@ -3625,6 +3639,9 @@ msgstr "De-seleccionar grupo"
msgid "Do you really want to execute?"
msgstr "¿Realmente quiere ejecutar?"
msgid "Cannot read directory contents"
msgstr "Imposible leer directorio"
msgid "User supplied format looks invalid, reverting to default."
msgstr "Formato no parece válido. Recuperando el predeterminado."

View File

@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Midnight Commander\n"
"Report-Msgid-Bugs-To: http://www.midnight-commander.org/\n"
"POT-Creation-Date: 2019-06-16 20:10+0200\n"
"POT-Creation-Date: 2019-09-01 20:04+0300\n"
"PO-Revision-Date: 2019-03-05 18:33+0000\n"
"Last-Translator: Kristjan Räts <kristjanrats@gmail.com>\n"
"Language-Team: Estonian (http://www.transifex.com/mc/mc/language/et/)\n"
@ -484,6 +484,16 @@ msgstr "Klahv Shift"
msgid "The TERM environment variable is unset!\n"
msgstr "Keskkonnamuutujat TERM on määramata!\n"
#, fuzzy
msgid "Cannot create pipe for SIGWINCH"
msgstr "Nurjus toru voogude loomine"
msgid "Cannot configure write end of SIGWINCH pipe"
msgstr ""
msgid "Cannot configure read end of SIGWINCH pipe"
msgstr ""
#, c-format
msgid ""
"Screen size %dx%d is not supported.\n"
@ -1368,6 +1378,10 @@ msgstr "&Uus"
msgid "&Close"
msgstr "&Sulge"
#, fuzzy
msgid "&History..."
msgstr "Ajalugu"
msgid "Save &as..."
msgstr "Salvesta &kui..."
@ -1803,6 +1817,13 @@ msgstr "Kohaliku koopia hankimine %s'st nurjus"
msgid "The shell is already running a command"
msgstr "Kest on hõivatud käsu täitmisega"
msgid ""
"Not an xterm or Linux console;\n"
"the panels cannot be toggled."
msgstr ""
"Sa ei kasuta xtermi või Linuxi konsooli;\n"
"paneele ei saa kuvada/peita."
msgid "Type 'exit' to return to the Midnight Commander"
msgstr "Midnight Commanderisse tagasipöördumiseks sisesta 'exit'"
@ -2361,13 +2382,6 @@ msgstr ""
"Selle käsu kasutamiseks peaksid mõlemad\n"
"paneelid kuvama failide loendit"
msgid ""
"Not an xterm or Linux console;\n"
"the panels cannot be toggled."
msgstr ""
"Sa ei kasuta xtermi või Linuxi konsooli;\n"
"paneele ei saa kuvada/peita."
#, c-format
msgid "'%s' is not a symbolic link"
msgstr "\"%s\" ei ole nimeviit"
@ -2434,9 +2448,6 @@ msgstr ""
"Kataloogi \"%s\" sisenemine nurjus\n"
"%s"
msgid "Cannot read directory contents"
msgstr "Kataloogi sisu lugemine nurjus"
msgid "Parameter"
msgstr "Parameeter"
@ -3390,6 +3401,9 @@ msgstr "Kuva kataloogide &suurused"
msgid "Command &history"
msgstr "Käskude a&jalugu"
msgid "Viewed/edited files hi&story"
msgstr ""
msgid "Di&rectory hotlist"
msgstr "Katal&oogide kiirvalik"
@ -3615,6 +3629,9 @@ msgstr "Tühista valik"
msgid "Do you really want to execute?"
msgstr "Kas sa soovid tõesti käivitada?"
msgid "Cannot read directory contents"
msgstr "Kataloogi sisu lugemine nurjus"
msgid "User supplied format looks invalid, reverting to default."
msgstr "Kasutaja antud vormindus tundub vigane; kasutatakse vaikeväärtust."

View File

@ -9,7 +9,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Midnight Commander\n"
"Report-Msgid-Bugs-To: http://www.midnight-commander.org/\n"
"POT-Creation-Date: 2019-06-16 20:10+0200\n"
"POT-Creation-Date: 2019-09-01 20:04+0300\n"
"PO-Revision-Date: 2019-05-01 13:39+0000\n"
"Last-Translator: Iñigo Salvador Azurmendi <xalba@euskalnet.net>\n"
"Language-Team: Basque (http://www.transifex.com/mc/mc/language/eu/)\n"
@ -484,6 +484,16 @@ msgstr "Maius"
msgid "The TERM environment variable is unset!\n"
msgstr "TERM ingurune-aldagaia ezarri gabe dago!\n"
#, fuzzy
msgid "Cannot create pipe for SIGWINCH"
msgstr "Ezin dira sortu hodiko isuriak"
msgid "Cannot configure write end of SIGWINCH pipe"
msgstr ""
msgid "Cannot configure read end of SIGWINCH pipe"
msgstr ""
#, c-format
msgid ""
"Screen size %dx%d is not supported.\n"
@ -1371,6 +1381,10 @@ msgstr "&Berria"
msgid "&Close"
msgstr "It&xi"
#, fuzzy
msgid "&History..."
msgstr "Historia"
msgid "Save &as..."
msgstr "Gorde &honela..."
@ -1807,6 +1821,13 @@ msgstr "Ezin eskuratu ondokoaren bertako kopia bat: %s"
msgid "The shell is already running a command"
msgstr "Shell-a dagoeneko komando bat exekutate ari da"
msgid ""
"Not an xterm or Linux console;\n"
"the panels cannot be toggled."
msgstr ""
"Ez da xterm edo Linux kontsola;\n"
"panelak ezin dira ezkutatu."
msgid "Type 'exit' to return to the Midnight Commander"
msgstr "Tekleatu «exit» Midnight Commanderrera itzultzeko"
@ -2368,13 +2389,6 @@ msgstr ""
"Panel biak egon beharko lirateke zerrendatzeko\n"
"moduan komando hau erabiltzeko"
msgid ""
"Not an xterm or Linux console;\n"
"the panels cannot be toggled."
msgstr ""
"Ez da xterm edo Linux kontsola;\n"
"panelak ezin dira ezkutatu."
#, c-format
msgid "'%s' is not a symbolic link"
msgstr "'%s' ez da esteka sinbolikoa"
@ -2441,9 +2455,6 @@ msgstr ""
"Ezin da \"%s\" direktoriora aldatu\n"
"%s"
msgid "Cannot read directory contents"
msgstr "Direktorioaren edukia ezin irakurri"
msgid "Parameter"
msgstr "Parametroa"
@ -3401,6 +3412,9 @@ msgstr "E&rakutsi direktorioen neurriak"
msgid "Command &history"
msgstr "Ko&mandoen historia"
msgid "Viewed/edited files hi&story"
msgstr ""
msgid "Di&rectory hotlist"
msgstr "&Gogoko direktorioak"
@ -3626,6 +3640,9 @@ msgstr "Hautua kendu"
msgid "Do you really want to execute?"
msgstr "Beneta exekutatu nahi duzu?"
msgid "Cannot read directory contents"
msgstr "Direktorioaren edukia ezin irakurri"
msgid "User supplied format looks invalid, reverting to default."
msgstr "Erabiltzaileak emandako formatua baliogabea da, lehenetsira itzultzen."

View File

@ -12,7 +12,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Midnight Commander\n"
"Report-Msgid-Bugs-To: http://www.midnight-commander.org/\n"
"POT-Creation-Date: 2019-06-16 20:10+0200\n"
"POT-Creation-Date: 2019-09-01 20:04+0300\n"
"PO-Revision-Date: 2019-03-02 12:55+0000\n"
"Last-Translator: Piotr Drąg <piotrdrag@gmail.com>\n"
"Language-Team: Persian (http://www.transifex.com/mc/mc/language/fa/)\n"
@ -463,6 +463,15 @@ msgstr ""
msgid "The TERM environment variable is unset!\n"
msgstr ""
msgid "Cannot create pipe for SIGWINCH"
msgstr ""
msgid "Cannot configure write end of SIGWINCH pipe"
msgstr ""
msgid "Cannot configure read end of SIGWINCH pipe"
msgstr ""
#, c-format
msgid ""
"Screen size %dx%d is not supported.\n"
@ -1286,6 +1295,10 @@ msgstr "جدید"
msgid "&Close"
msgstr ""
#, fuzzy
msgid "&History..."
msgstr "تاریخچه"
msgid "Save &as..."
msgstr ""
@ -1714,6 +1727,11 @@ msgstr ""
msgid "The shell is already running a command"
msgstr "شل در حال اجرای فرمانی دیگر است"
msgid ""
"Not an xterm or Linux console;\n"
"the panels cannot be toggled."
msgstr ""
msgid "Type 'exit' to return to the Midnight Commander"
msgstr ""
@ -2263,11 +2281,6 @@ msgid ""
"to use this command"
msgstr ""
msgid ""
"Not an xterm or Linux console;\n"
"the panels cannot be toggled."
msgstr ""
#, c-format
msgid "'%s' is not a symbolic link"
msgstr ""
@ -2330,9 +2343,6 @@ msgid ""
"%s"
msgstr ""
msgid "Cannot read directory contents"
msgstr ""
msgid "Parameter"
msgstr "پارامتر"
@ -3200,6 +3210,9 @@ msgstr ""
msgid "Command &history"
msgstr ""
msgid "Viewed/edited files hi&story"
msgstr ""
msgid "Di&rectory hotlist"
msgstr ""
@ -3425,6 +3438,9 @@ msgstr ""
msgid "Do you really want to execute?"
msgstr ""
msgid "Cannot read directory contents"
msgstr ""
msgid "User supplied format looks invalid, reverting to default."
msgstr ""

View File

@ -10,7 +10,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Midnight Commander\n"
"Report-Msgid-Bugs-To: http://www.midnight-commander.org/\n"
"POT-Creation-Date: 2019-06-16 20:10+0200\n"
"POT-Creation-Date: 2019-09-01 20:04+0300\n"
"PO-Revision-Date: 2019-03-02 12:55+0000\n"
"Last-Translator: Piotr Drąg <piotrdrag@gmail.com>\n"
"Language-Team: Finnish (http://www.transifex.com/mc/mc/language/fi/)\n"
@ -468,6 +468,16 @@ msgstr "Vaihto"
msgid "The TERM environment variable is unset!\n"
msgstr ""
#, fuzzy
msgid "Cannot create pipe for SIGWINCH"
msgstr "Hakemiston %s luonti epäonnistui"
msgid "Cannot configure write end of SIGWINCH pipe"
msgstr ""
msgid "Cannot configure read end of SIGWINCH pipe"
msgstr ""
#, c-format
msgid ""
"Screen size %dx%d is not supported.\n"
@ -1293,6 +1303,10 @@ msgstr "&Uusi"
msgid "&Close"
msgstr "&Sulje"
#, fuzzy
msgid "&History..."
msgstr "Historia"
msgid "Save &as..."
msgstr "Tallenna &nimellä..."
@ -1721,6 +1735,11 @@ msgstr ""
msgid "The shell is already running a command"
msgstr ""
msgid ""
"Not an xterm or Linux console;\n"
"the panels cannot be toggled."
msgstr ""
msgid "Type 'exit' to return to the Midnight Commander"
msgstr ""
@ -2270,11 +2289,6 @@ msgid ""
"to use this command"
msgstr ""
msgid ""
"Not an xterm or Linux console;\n"
"the panels cannot be toggled."
msgstr ""
#, c-format
msgid "'%s' is not a symbolic link"
msgstr ""
@ -2337,9 +2351,6 @@ msgid ""
"%s"
msgstr ""
msgid "Cannot read directory contents"
msgstr ""
msgid "Parameter"
msgstr ""
@ -3207,6 +3218,9 @@ msgstr ""
msgid "Command &history"
msgstr ""
msgid "Viewed/edited files hi&story"
msgstr ""
msgid "Di&rectory hotlist"
msgstr ""
@ -3432,6 +3446,9 @@ msgstr ""
msgid "Do you really want to execute?"
msgstr ""
msgid "Cannot read directory contents"
msgstr ""
msgid "User supplied format looks invalid, reverting to default."
msgstr ""

View File

@ -17,7 +17,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Midnight Commander\n"
"Report-Msgid-Bugs-To: http://www.midnight-commander.org/\n"
"POT-Creation-Date: 2019-06-16 20:10+0200\n"
"POT-Creation-Date: 2019-09-01 20:04+0300\n"
"PO-Revision-Date: 2019-03-02 12:55+0000\n"
"Last-Translator: Piotr Drąg <piotrdrag@gmail.com>\n"
"Language-Team: French (http://www.transifex.com/mc/mc/language/fr/)\n"
@ -494,6 +494,16 @@ msgstr "Maj"
msgid "The TERM environment variable is unset!\n"
msgstr "La variable d'environnement TERM n'est pas définie !\n"
#, fuzzy
msgid "Cannot create pipe for SIGWINCH"
msgstr "Impossible de créer les flux des tubes"
msgid "Cannot configure write end of SIGWINCH pipe"
msgstr ""
msgid "Cannot configure read end of SIGWINCH pipe"
msgstr ""
#, c-format
msgid ""
"Screen size %dx%d is not supported.\n"
@ -1384,6 +1394,10 @@ msgstr "&Nouveau"
msgid "&Close"
msgstr "&Fermer"
#, fuzzy
msgid "&History..."
msgstr "Historique"
msgid "Save &as..."
msgstr "Enregi&strer sous..."
@ -1820,6 +1834,13 @@ msgstr "Impossible de récupérer une copie locale de %s "
msgid "The shell is already running a command"
msgstr " Le shell est déjà en train d'exécuter une commande "
msgid ""
"Not an xterm or Linux console;\n"
"the panels cannot be toggled."
msgstr ""
"N'est pas un xterm ou une console Linux;\n"
"les panneaux ne peuvent pas être activé."
msgid "Type 'exit' to return to the Midnight Commander"
msgstr "Tapez « exit » pour retourner à Midnight Commander"
@ -2379,13 +2400,6 @@ msgstr ""
"Les deux panneaux doivent être en mode liste\n"
"pour utiliser cette commande"
msgid ""
"Not an xterm or Linux console;\n"
"the panels cannot be toggled."
msgstr ""
"N'est pas un xterm ou une console Linux;\n"
"les panneaux ne peuvent pas être activé."
#, c-format
msgid "'%s' is not a symbolic link"
msgstr "« %s » n'est pas un lien symbolique"
@ -2452,9 +2466,6 @@ msgstr ""
"Ne peut aller dans le répertoire « %s »\n"
"%s"
msgid "Cannot read directory contents"
msgstr " Ne peut lire le contenu du répertoire"
msgid "Parameter"
msgstr "Paramètre"
@ -3405,6 +3416,9 @@ msgstr "Aff&icher la taille des rép."
msgid "Command &history"
msgstr "&Historique des commandes"
msgid "Viewed/edited files hi&story"
msgstr ""
msgid "Di&rectory hotlist"
msgstr "Liste des répe&rtoires favoris"
@ -3630,6 +3644,9 @@ msgstr "Désélectionner"
msgid "Do you really want to execute?"
msgstr "Voulez-vous vraiment l'exécuter ?"
msgid "Cannot read directory contents"
msgstr " Ne peut lire le contenu du répertoire"
msgid "User supplied format looks invalid, reverting to default."
msgstr ""
"Le format fourni par l'utilisateur semble invalide, revient aux valeurs par "

View File

@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Midnight Commander\n"
"Report-Msgid-Bugs-To: http://www.midnight-commander.org/\n"
"POT-Creation-Date: 2019-06-16 20:10+0200\n"
"POT-Creation-Date: 2019-09-01 20:04+0300\n"
"PO-Revision-Date: 2015-02-26 09:48+0000\n"
"Last-Translator: Piotr Drąg <piotrdrag@gmail.com>\n"
"Language-Team: French (Canada) (http://www.transifex.com/projects/p/mc/"
@ -459,6 +459,15 @@ msgstr ""
msgid "The TERM environment variable is unset!\n"
msgstr ""
msgid "Cannot create pipe for SIGWINCH"
msgstr ""
msgid "Cannot configure write end of SIGWINCH pipe"
msgstr ""
msgid "Cannot configure read end of SIGWINCH pipe"
msgstr ""
#, c-format
msgid ""
"Screen size %dx%d is not supported.\n"
@ -1282,6 +1291,9 @@ msgstr ""
msgid "&Close"
msgstr ""
msgid "&History..."
msgstr ""
msgid "Save &as..."
msgstr ""
@ -1710,6 +1722,11 @@ msgstr ""
msgid "The shell is already running a command"
msgstr ""
msgid ""
"Not an xterm or Linux console;\n"
"the panels cannot be toggled."
msgstr ""
msgid "Type 'exit' to return to the Midnight Commander"
msgstr ""
@ -2259,11 +2276,6 @@ msgid ""
"to use this command"
msgstr ""
msgid ""
"Not an xterm or Linux console;\n"
"the panels cannot be toggled."
msgstr ""
#, c-format
msgid "'%s' is not a symbolic link"
msgstr ""
@ -2326,9 +2338,6 @@ msgid ""
"%s"
msgstr ""
msgid "Cannot read directory contents"
msgstr ""
msgid "Parameter"
msgstr ""
@ -3196,6 +3205,9 @@ msgstr ""
msgid "Command &history"
msgstr ""
msgid "Viewed/edited files hi&story"
msgstr ""
msgid "Di&rectory hotlist"
msgstr ""
@ -3421,6 +3433,9 @@ msgstr ""
msgid "Do you really want to execute?"
msgstr ""
msgid "Cannot read directory contents"
msgstr ""
msgid "User supplied format looks invalid, reverting to default."
msgstr ""

View File

@ -12,7 +12,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Midnight Commander\n"
"Report-Msgid-Bugs-To: http://www.midnight-commander.org/\n"
"POT-Creation-Date: 2019-06-16 20:10+0200\n"
"POT-Creation-Date: 2019-09-01 20:04+0300\n"
"PO-Revision-Date: 2019-03-09 10:24+0000\n"
"Last-Translator: Miguel Anxo Bouzada <mbouzada@gmail.com>\n"
"Language-Team: Galician (http://www.transifex.com/mc/mc/language/gl/)\n"
@ -491,6 +491,16 @@ msgstr "Maiús"
msgid "The TERM environment variable is unset!\n"
msgstr "A variábel de contorno TERM está sen definir!\n"
#, fuzzy
msgid "Cannot create pipe for SIGWINCH"
msgstr "Non é posíbel crear a canalización de fluxos"
msgid "Cannot configure write end of SIGWINCH pipe"
msgstr ""
msgid "Cannot configure read end of SIGWINCH pipe"
msgstr ""
#, c-format
msgid ""
"Screen size %dx%d is not supported.\n"
@ -1378,6 +1388,10 @@ msgstr "&Novo"
msgid "&Close"
msgstr "&Pechar"
#, fuzzy
msgid "&History..."
msgstr "Historial"
msgid "Save &as..."
msgstr "Gardar &Como..."
@ -1814,6 +1828,13 @@ msgstr "Non é posíbel obter unha copia local de %s"
msgid "The shell is already running a command"
msgstr "O terminal xa esta executando unha orde"
msgid ""
"Not an xterm or Linux console;\n"
"the panels cannot be toggled."
msgstr ""
"Non se está usando nin xterm nin a consola Linux;\n"
"os paneis non se poden agochar."
msgid "Type 'exit' to return to the Midnight Commander"
msgstr "Escriba «exit» para volver ao Midnight Commander"
@ -2374,13 +2395,6 @@ msgstr ""
"Ambos os dous paneis deben estar en modo lista\n"
"para usar esta orde"
msgid ""
"Not an xterm or Linux console;\n"
"the panels cannot be toggled."
msgstr ""
"Non se está usando nin xterm nin a consola Linux;\n"
"os paneis non se poden agochar."
#, c-format
msgid "'%s' is not a symbolic link"
msgstr "«%s» non é unha ligazón simbólica"
@ -2447,9 +2461,6 @@ msgstr ""
"Non é posíbel cambiar ao directorio «%s»\n"
"%s"
msgid "Cannot read directory contents"
msgstr "Non é posíbel ler o contido do directorio"
msgid "Parameter"
msgstr "Parámetro"
@ -3405,6 +3416,9 @@ msgstr "Mostrar &Tamaño dos directorios"
msgid "Command &history"
msgstr "&Historial de ordes"
msgid "Viewed/edited files hi&story"
msgstr ""
msgid "Di&rectory hotlist"
msgstr "di&Rectorio de favoritos"
@ -3630,6 +3644,9 @@ msgstr "Desmarcar"
msgid "Do you really want to execute?"
msgstr "Confirma que quere executalo?"
msgid "Cannot read directory contents"
msgstr "Non é posíbel ler o contido do directorio"
msgid "User supplied format looks invalid, reverting to default."
msgstr "O formato semella non ser correcto. Recuperando o predeterminado."

View File

@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Midnight Commander\n"
"Report-Msgid-Bugs-To: http://www.midnight-commander.org/\n"
"POT-Creation-Date: 2019-06-16 20:10+0200\n"
"POT-Creation-Date: 2019-09-01 20:04+0300\n"
"PO-Revision-Date: 2019-03-02 12:55+0000\n"
"Last-Translator: Piotr Drąg <piotrdrag@gmail.com>\n"
"Language-Team: Croatian (http://www.transifex.com/mc/mc/language/hr/)\n"
@ -459,6 +459,15 @@ msgstr ""
msgid "The TERM environment variable is unset!\n"
msgstr ""
msgid "Cannot create pipe for SIGWINCH"
msgstr ""
msgid "Cannot configure write end of SIGWINCH pipe"
msgstr ""
msgid "Cannot configure read end of SIGWINCH pipe"
msgstr ""
#, c-format
msgid ""
"Screen size %dx%d is not supported.\n"
@ -1282,6 +1291,9 @@ msgstr ""
msgid "&Close"
msgstr ""
msgid "&History..."
msgstr ""
msgid "Save &as..."
msgstr ""
@ -1710,6 +1722,11 @@ msgstr ""
msgid "The shell is already running a command"
msgstr ""
msgid ""
"Not an xterm or Linux console;\n"
"the panels cannot be toggled."
msgstr ""
msgid "Type 'exit' to return to the Midnight Commander"
msgstr ""
@ -2259,11 +2276,6 @@ msgid ""
"to use this command"
msgstr ""
msgid ""
"Not an xterm or Linux console;\n"
"the panels cannot be toggled."
msgstr ""
#, c-format
msgid "'%s' is not a symbolic link"
msgstr ""
@ -2326,9 +2338,6 @@ msgid ""
"%s"
msgstr ""
msgid "Cannot read directory contents"
msgstr ""
msgid "Parameter"
msgstr ""
@ -3198,6 +3207,9 @@ msgstr ""
msgid "Command &history"
msgstr ""
msgid "Viewed/edited files hi&story"
msgstr ""
msgid "Di&rectory hotlist"
msgstr ""
@ -3425,6 +3437,9 @@ msgstr ""
msgid "Do you really want to execute?"
msgstr ""
msgid "Cannot read directory contents"
msgstr ""
msgid "User supplied format looks invalid, reverting to default."
msgstr ""

View File

@ -11,7 +11,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Midnight Commander\n"
"Report-Msgid-Bugs-To: http://www.midnight-commander.org/\n"
"POT-Creation-Date: 2019-06-16 20:10+0200\n"
"POT-Creation-Date: 2019-09-01 20:04+0300\n"
"PO-Revision-Date: 2019-03-02 12:55+0000\n"
"Last-Translator: Piotr Drąg <piotrdrag@gmail.com>\n"
"Language-Team: Hungarian (http://www.transifex.com/mc/mc/language/hu/)\n"
@ -478,6 +478,16 @@ msgstr "Shift"
msgid "The TERM environment variable is unset!\n"
msgstr "Nincs beállítva a TERM környezeti változó.\n"
#, fuzzy
msgid "Cannot create pipe for SIGWINCH"
msgstr "A(z) %s könyvtár nem létrehozható"
msgid "Cannot configure write end of SIGWINCH pipe"
msgstr ""
msgid "Cannot configure read end of SIGWINCH pipe"
msgstr ""
#, c-format
msgid ""
"Screen size %dx%d is not supported.\n"
@ -1359,6 +1369,10 @@ msgstr "&Új"
msgid "&Close"
msgstr "&Bezárás"
#, fuzzy
msgid "&History..."
msgstr "Előzmények"
msgid "Save &as..."
msgstr "Mentés m&ásként"
@ -1795,6 +1809,13 @@ msgstr "Nem sikerült behozni \"%s\" helyi másolatát"
msgid "The shell is already running a command"
msgstr "A parancsértelmező már futtat egy parancsot."
msgid ""
"Not an xterm or Linux console;\n"
"the panels cannot be toggled."
msgstr ""
"Nem Xterm vagy Linux-konzol;\n"
"a paneleket nem lehet kikapcsolni."
msgid "Type 'exit' to return to the Midnight Commander"
msgstr "Írjon \"exit\"-et a Midnight Commanderbe való visszatéréshez."
@ -2353,13 +2374,6 @@ msgstr ""
"Mindkét panelnak fájllista-módban kell lennie\n"
"ehhez a művelethez"
msgid ""
"Not an xterm or Linux console;\n"
"the panels cannot be toggled."
msgstr ""
"Nem Xterm vagy Linux-konzol;\n"
"a paneleket nem lehet kikapcsolni."
#, c-format
msgid "'%s' is not a symbolic link"
msgstr "\"%s\" nem szimbolikus link"
@ -2426,9 +2440,6 @@ msgstr ""
"Nem sikerült belépni a(z) \"%s\" könyvtárba.\n"
"%s"
msgid "Cannot read directory contents"
msgstr "Könyvtár tartalma nem olvasható"
msgid "Parameter"
msgstr "Paraméter"
@ -3378,6 +3389,9 @@ msgstr "Könyvtár&méret"
msgid "Command &history"
msgstr "Ko&rábbi parancsok"
msgid "Viewed/edited files hi&story"
msgstr ""
msgid "Di&rectory hotlist"
msgstr "Könyvtár-gyorslista"
@ -3603,6 +3617,9 @@ msgstr "Kijelölések megszüntetése"
msgid "Do you really want to execute?"
msgstr "Biztosan futtatni kívánja a programot?"
msgid "Cannot read directory contents"
msgstr "Könyvtár tartalma nem olvasható"
msgid "User supplied format looks invalid, reverting to default."
msgstr "A beállított formátum hibás; az alapértelmezés lép életbe."

View File

@ -10,7 +10,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Midnight Commander\n"
"Report-Msgid-Bugs-To: http://www.midnight-commander.org/\n"
"POT-Creation-Date: 2019-06-16 20:10+0200\n"
"POT-Creation-Date: 2019-09-01 20:04+0300\n"
"PO-Revision-Date: 2019-03-02 12:55+0000\n"
"Last-Translator: Piotr Drąg <piotrdrag@gmail.com>\n"
"Language-Team: Interlingua (http://www.transifex.com/mc/mc/language/ia/)\n"
@ -468,6 +468,15 @@ msgstr "Clave \"Shift\""
msgid "The TERM environment variable is unset!\n"
msgstr "Le variabile de ambiente TERM non es definite!\n"
msgid "Cannot create pipe for SIGWINCH"
msgstr ""
msgid "Cannot configure write end of SIGWINCH pipe"
msgstr ""
msgid "Cannot configure read end of SIGWINCH pipe"
msgstr ""
#, c-format
msgid ""
"Screen size %dx%d is not supported.\n"
@ -1302,6 +1311,10 @@ msgstr "&Nove"
msgid "&Close"
msgstr ""
#, fuzzy
msgid "&History..."
msgstr "Historia"
msgid "Save &as..."
msgstr "S&alveguardar como..."
@ -1730,6 +1743,11 @@ msgstr ""
msgid "The shell is already running a command"
msgstr ""
msgid ""
"Not an xterm or Linux console;\n"
"the panels cannot be toggled."
msgstr ""
msgid "Type 'exit' to return to the Midnight Commander"
msgstr ""
@ -2279,11 +2297,6 @@ msgid ""
"to use this command"
msgstr ""
msgid ""
"Not an xterm or Linux console;\n"
"the panels cannot be toggled."
msgstr ""
#, c-format
msgid "'%s' is not a symbolic link"
msgstr ""
@ -2346,9 +2359,6 @@ msgid ""
"%s"
msgstr ""
msgid "Cannot read directory contents"
msgstr ""
msgid "Parameter"
msgstr ""
@ -3216,6 +3226,9 @@ msgstr ""
msgid "Command &history"
msgstr ""
msgid "Viewed/edited files hi&story"
msgstr ""
msgid "Di&rectory hotlist"
msgstr ""
@ -3441,6 +3454,9 @@ msgstr ""
msgid "Do you really want to execute?"
msgstr ""
msgid "Cannot read directory contents"
msgstr ""
msgid "User supplied format looks invalid, reverting to default."
msgstr ""

View File

@ -10,7 +10,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Midnight Commander\n"
"Report-Msgid-Bugs-To: http://www.midnight-commander.org/\n"
"POT-Creation-Date: 2019-06-16 20:10+0200\n"
"POT-Creation-Date: 2019-09-01 20:04+0300\n"
"PO-Revision-Date: 2019-03-02 12:55+0000\n"
"Last-Translator: Piotr Drąg <piotrdrag@gmail.com>\n"
"Language-Team: Indonesian (http://www.transifex.com/mc/mc/language/id/)\n"
@ -477,6 +477,16 @@ msgstr "Shift"
msgid "The TERM environment variable is unset!\n"
msgstr "Environment variable TERM belum diset\n"
#, fuzzy
msgid "Cannot create pipe for SIGWINCH"
msgstr "Gagal membuat pipe streams"
msgid "Cannot configure write end of SIGWINCH pipe"
msgstr ""
msgid "Cannot configure read end of SIGWINCH pipe"
msgstr ""
#, c-format
msgid ""
"Screen size %dx%d is not supported.\n"
@ -1325,6 +1335,10 @@ msgstr ""
msgid "&Close"
msgstr ""
#, fuzzy
msgid "&History..."
msgstr "History"
msgid "Save &as..."
msgstr ""
@ -1753,6 +1767,11 @@ msgstr ""
msgid "The shell is already running a command"
msgstr ""
msgid ""
"Not an xterm or Linux console;\n"
"the panels cannot be toggled."
msgstr ""
msgid "Type 'exit' to return to the Midnight Commander"
msgstr ""
@ -2302,11 +2321,6 @@ msgid ""
"to use this command"
msgstr ""
msgid ""
"Not an xterm or Linux console;\n"
"the panels cannot be toggled."
msgstr ""
#, c-format
msgid "'%s' is not a symbolic link"
msgstr ""
@ -2369,9 +2383,6 @@ msgid ""
"%s"
msgstr ""
msgid "Cannot read directory contents"
msgstr ""
msgid "Parameter"
msgstr ""
@ -3237,6 +3248,9 @@ msgstr ""
msgid "Command &history"
msgstr ""
msgid "Viewed/edited files hi&story"
msgstr ""
msgid "Di&rectory hotlist"
msgstr ""
@ -3460,6 +3474,9 @@ msgstr ""
msgid "Do you really want to execute?"
msgstr ""
msgid "Cannot read directory contents"
msgstr ""
msgid "User supplied format looks invalid, reverting to default."
msgstr ""

View File

@ -11,7 +11,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Midnight Commander\n"
"Report-Msgid-Bugs-To: http://www.midnight-commander.org/\n"
"POT-Creation-Date: 2019-06-16 20:10+0200\n"
"POT-Creation-Date: 2019-09-01 20:04+0300\n"
"PO-Revision-Date: 2019-05-14 08:45+0200\n"
"Last-Translator: Marco Ciampa <ciampix@libero.it>\n"
"Language-Team: Italian (http://www.transifex.com/projects/p/mc/language/"
@ -485,6 +485,16 @@ msgstr "Maiusc"
msgid "The TERM environment variable is unset!\n"
msgstr "La variabile TERM non è definita!\n"
#, fuzzy
msgid "Cannot create pipe for SIGWINCH"
msgstr "Impossibile creare flussi pipe"
msgid "Cannot configure write end of SIGWINCH pipe"
msgstr ""
msgid "Cannot configure read end of SIGWINCH pipe"
msgstr ""
#, c-format
msgid ""
"Screen size %dx%d is not supported.\n"
@ -1370,6 +1380,10 @@ msgstr "&Nuovo"
msgid "&Close"
msgstr "&Chiudi"
#, fuzzy
msgid "&History..."
msgstr "Cronologia"
msgid "Save &as..."
msgstr "Sal&va come..."
@ -1806,6 +1820,13 @@ msgstr "Impossibile ricevere una copia locale di %s"
msgid "The shell is already running a command"
msgstr "La shell sta già eseguendo un comando"
msgid ""
"Not an xterm or Linux console;\n"
"the panels cannot be toggled."
msgstr ""
"Non è né un xterm né una console; \n"
"i pannelli non possono essere nascosti."
msgid "Type 'exit' to return to the Midnight Commander"
msgstr "Battere 'exit' per tornare al Midnight Commander"
@ -2366,13 +2387,6 @@ msgstr ""
"Entrambi i pannelli devono essere in\n"
"modalità lista per usare questo comando"
msgid ""
"Not an xterm or Linux console;\n"
"the panels cannot be toggled."
msgstr ""
"Non è né un xterm né una console; \n"
"i pannelli non possono essere nascosti."
#, c-format
msgid "'%s' is not a symbolic link"
msgstr "\"%s\" non è un coll. simbolico"
@ -2439,9 +2453,6 @@ msgstr ""
"Non posso entrare in \"%s\"\n"
"%s"
msgid "Cannot read directory contents"
msgstr "Impossibile leggere il contenuto della directory"
msgid "Parameter"
msgstr "Parametro"
@ -3396,6 +3407,9 @@ msgstr "Mostra dimensione d&irectory"
msgid "Command &history"
msgstr "Cro&nologia comandi"
msgid "Viewed/edited files hi&story"
msgstr ""
msgid "Di&rectory hotlist"
msgstr "&Directory di uso frequente"
@ -3621,6 +3635,9 @@ msgstr "Deseleziona"
msgid "Do you really want to execute?"
msgstr "Vuoi veramente eseguirlo?"
msgid "Cannot read directory contents"
msgstr "Impossibile leggere il contenuto della directory"
msgid "User supplied format looks invalid, reverting to default."
msgstr "Il formato utente fornito è errato, uso il default."

View File

@ -11,7 +11,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Midnight Commander\n"
"Report-Msgid-Bugs-To: http://www.midnight-commander.org/\n"
"POT-Creation-Date: 2019-06-16 20:10+0200\n"
"POT-Creation-Date: 2019-09-01 20:04+0300\n"
"PO-Revision-Date: 2019-03-02 12:55+0000\n"
"Last-Translator: Piotr Drąg <piotrdrag@gmail.com>\n"
"Language-Team: Japanese (http://www.transifex.com/mc/mc/language/ja/)\n"
@ -469,6 +469,16 @@ msgstr "Shift"
msgid "The TERM environment variable is unset!\n"
msgstr "環境変数 TERM がセットされていません\n"
#, fuzzy
msgid "Cannot create pipe for SIGWINCH"
msgstr "ディレクトリー %s が作成できません"
msgid "Cannot configure write end of SIGWINCH pipe"
msgstr ""
msgid "Cannot configure read end of SIGWINCH pipe"
msgstr ""
#, c-format
msgid ""
"Screen size %dx%d is not supported.\n"
@ -1294,6 +1304,9 @@ msgstr "新規(&N)"
msgid "&Close"
msgstr ""
msgid "&History..."
msgstr ""
msgid "Save &as..."
msgstr "別名で保存(&A)..."
@ -1724,6 +1737,11 @@ msgstr ""
msgid "The shell is already running a command"
msgstr ""
msgid ""
"Not an xterm or Linux console;\n"
"the panels cannot be toggled."
msgstr ""
msgid "Type 'exit' to return to the Midnight Commander"
msgstr ""
@ -2275,11 +2293,6 @@ msgid ""
"to use this command"
msgstr ""
msgid ""
"Not an xterm or Linux console;\n"
"the panels cannot be toggled."
msgstr ""
#, c-format
msgid "'%s' is not a symbolic link"
msgstr ""
@ -2344,9 +2357,6 @@ msgstr ""
"「%s」に移動できません\n"
"%s"
msgid "Cannot read directory contents"
msgstr ""
msgid "Parameter"
msgstr "パラメーター"
@ -3212,6 +3222,9 @@ msgstr ""
msgid "Command &history"
msgstr "コマンド履歴(&H)"
msgid "Viewed/edited files hi&story"
msgstr ""
msgid "Di&rectory hotlist"
msgstr ""
@ -3435,6 +3448,9 @@ msgstr "選択解除"
msgid "Do you really want to execute?"
msgstr "本当に実行しますか?"
msgid "Cannot read directory contents"
msgstr ""
msgid "User supplied format looks invalid, reverting to default."
msgstr "ユーザの指定した形式は不正なようです. デフォルトに戻します"

View File

@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Midnight Commander\n"
"Report-Msgid-Bugs-To: http://www.midnight-commander.org/\n"
"POT-Creation-Date: 2019-06-16 20:10+0200\n"
"POT-Creation-Date: 2019-09-01 20:04+0300\n"
"PO-Revision-Date: 2019-03-02 12:55+0000\n"
"Last-Translator: Piotr Drąg <piotrdrag@gmail.com>\n"
"Language-Team: Georgian (http://www.transifex.com/mc/mc/language/ka/)\n"
@ -459,6 +459,15 @@ msgstr "Shift"
msgid "The TERM environment variable is unset!\n"
msgstr ""
msgid "Cannot create pipe for SIGWINCH"
msgstr ""
msgid "Cannot configure write end of SIGWINCH pipe"
msgstr ""
msgid "Cannot configure read end of SIGWINCH pipe"
msgstr ""
#, c-format
msgid ""
"Screen size %dx%d is not supported.\n"
@ -1284,6 +1293,10 @@ msgstr "&ახალი"
msgid "&Close"
msgstr "დაკე&ტვა"
#, fuzzy
msgid "&History..."
msgstr "ისტორია"
msgid "Save &as..."
msgstr ""
@ -1712,6 +1725,11 @@ msgstr ""
msgid "The shell is already running a command"
msgstr ""
msgid ""
"Not an xterm or Linux console;\n"
"the panels cannot be toggled."
msgstr ""
msgid "Type 'exit' to return to the Midnight Commander"
msgstr ""
@ -2262,11 +2280,6 @@ msgid ""
"to use this command"
msgstr ""
msgid ""
"Not an xterm or Linux console;\n"
"the panels cannot be toggled."
msgstr ""
#, c-format
msgid "'%s' is not a symbolic link"
msgstr ""
@ -2329,9 +2342,6 @@ msgid ""
"%s"
msgstr ""
msgid "Cannot read directory contents"
msgstr ""
msgid "Parameter"
msgstr ""
@ -3199,6 +3209,9 @@ msgstr ""
msgid "Command &history"
msgstr ""
msgid "Viewed/edited files hi&story"
msgstr ""
msgid "Di&rectory hotlist"
msgstr ""
@ -3424,6 +3437,9 @@ msgstr ""
msgid "Do you really want to execute?"
msgstr ""
msgid "Cannot read directory contents"
msgstr ""
msgid "User supplied format looks invalid, reverting to default."
msgstr ""

View File

@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Midnight Commander\n"
"Report-Msgid-Bugs-To: http://www.midnight-commander.org/\n"
"POT-Creation-Date: 2019-06-16 20:10+0200\n"
"POT-Creation-Date: 2019-09-01 20:04+0300\n"
"PO-Revision-Date: 2019-03-02 12:55+0000\n"
"Last-Translator: Piotr Drąg <piotrdrag@gmail.com>\n"
"Language-Team: Kazakh (http://www.transifex.com/mc/mc/language/kk/)\n"
@ -459,6 +459,15 @@ msgstr ""
msgid "The TERM environment variable is unset!\n"
msgstr ""
msgid "Cannot create pipe for SIGWINCH"
msgstr ""
msgid "Cannot configure write end of SIGWINCH pipe"
msgstr ""
msgid "Cannot configure read end of SIGWINCH pipe"
msgstr ""
#, c-format
msgid ""
"Screen size %dx%d is not supported.\n"
@ -1282,6 +1291,9 @@ msgstr ""
msgid "&Close"
msgstr ""
msgid "&History..."
msgstr ""
msgid "Save &as..."
msgstr ""
@ -1710,6 +1722,11 @@ msgstr ""
msgid "The shell is already running a command"
msgstr ""
msgid ""
"Not an xterm or Linux console;\n"
"the panels cannot be toggled."
msgstr ""
msgid "Type 'exit' to return to the Midnight Commander"
msgstr ""
@ -2259,11 +2276,6 @@ msgid ""
"to use this command"
msgstr ""
msgid ""
"Not an xterm or Linux console;\n"
"the panels cannot be toggled."
msgstr ""
#, c-format
msgid "'%s' is not a symbolic link"
msgstr ""
@ -2326,9 +2338,6 @@ msgid ""
"%s"
msgstr ""
msgid "Cannot read directory contents"
msgstr ""
msgid "Parameter"
msgstr ""
@ -3196,6 +3205,9 @@ msgstr ""
msgid "Command &history"
msgstr ""
msgid "Viewed/edited files hi&story"
msgstr ""
msgid "Di&rectory hotlist"
msgstr ""
@ -3421,6 +3433,9 @@ msgstr ""
msgid "Do you really want to execute?"
msgstr ""
msgid "Cannot read directory contents"
msgstr ""
msgid "User supplied format looks invalid, reverting to default."
msgstr ""

View File

@ -11,7 +11,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Midnight Commander\n"
"Report-Msgid-Bugs-To: http://www.midnight-commander.org/\n"
"POT-Creation-Date: 2019-06-16 20:10+0200\n"
"POT-Creation-Date: 2019-09-01 20:04+0300\n"
"PO-Revision-Date: 2019-05-22 09:27+0000\n"
"Last-Translator: 이정희 <daemul72@gmail.com>\n"
"Language-Team: Korean (http://www.transifex.com/mc/mc/language/ko/)\n"
@ -483,6 +483,16 @@ msgstr "쉬프트"
msgid "The TERM environment variable is unset!\n"
msgstr "TERM 환경변수가 설정되어있지 않습니다!\n"
#, fuzzy
msgid "Cannot create pipe for SIGWINCH"
msgstr "파이프 데이터 스트림을 생성할 수 없음"
msgid "Cannot configure write end of SIGWINCH pipe"
msgstr ""
msgid "Cannot configure read end of SIGWINCH pipe"
msgstr ""
#, c-format
msgid ""
"Screen size %dx%d is not supported.\n"
@ -1366,6 +1376,10 @@ msgstr "신규(&N)"
msgid "&Close"
msgstr "닫기(&C)"
#, fuzzy
msgid "&History..."
msgstr "기록"
msgid "Save &as..."
msgstr "다른 이름으로 저장(&A)..."
@ -1801,6 +1815,13 @@ msgstr "%s의 로컬 복사본을 가져올 수 없음"
msgid "The shell is already running a command"
msgstr "셸이 이미 명령을 실행하고 있음"
msgid ""
"Not an xterm or Linux console;\n"
"the panels cannot be toggled."
msgstr ""
"XTerm 또는 Linux 콘솔이 아님;\n"
"패널을 전환할 수 없습니다."
msgid "Type 'exit' to return to the Midnight Commander"
msgstr "미드나잇 커맨더로 돌아가려면 'exit'를 입력하십시오."
@ -2360,13 +2381,6 @@ msgstr ""
"두 패널이 모두 목록 모드에 있어야 함\n"
"이 명령을 사용합니다."
msgid ""
"Not an xterm or Linux console;\n"
"the panels cannot be toggled."
msgstr ""
"XTerm 또는 Linux 콘솔이 아님;\n"
"패널을 전환할 수 없습니다."
#, c-format
msgid "'%s' is not a symbolic link"
msgstr "'%s'은(는) 심볼릭링크가 아님"
@ -2433,9 +2447,6 @@ msgstr ""
"\"%s\"로 디렉토리 변경할 수 없음\n"
"%s"
msgid "Cannot read directory contents"
msgstr "디렉터리 내용을 읽을 수 없습니다"
msgid "Parameter"
msgstr "매개변수"
@ -3388,6 +3399,9 @@ msgstr "디렉터리 크기 보기(&I)"
msgid "Command &history"
msgstr "명령 기록(&H)"
msgid "Viewed/edited files hi&story"
msgstr ""
msgid "Di&rectory hotlist"
msgstr "디렉터리 단축목록(&R)"
@ -3611,6 +3625,9 @@ msgstr "선택 해제"
msgid "Do you really want to execute?"
msgstr "정말로 실행하시겠습니까?"
msgid "Cannot read directory contents"
msgstr "디렉터리 내용을 읽을 수 없습니다"
msgid "User supplied format looks invalid, reverting to default."
msgstr "사용자가 제공한 형식이 잘못되어 기본값으로 되돌립니다."

View File

@ -12,7 +12,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Midnight Commander\n"
"Report-Msgid-Bugs-To: http://www.midnight-commander.org/\n"
"POT-Creation-Date: 2019-06-16 20:10+0200\n"
"POT-Creation-Date: 2019-09-01 20:04+0300\n"
"PO-Revision-Date: 2019-03-02 12:55+0000\n"
"Last-Translator: Piotr Drąg <piotrdrag@gmail.com>\n"
"Language-Team: Lithuanian (http://www.transifex.com/mc/mc/language/lt/)\n"
@ -490,6 +490,16 @@ msgstr ""
msgid "The TERM environment variable is unset!\n"
msgstr "Aplinkos kintamasis TERM nenustatytas!\n"
#, fuzzy
msgid "Cannot create pipe for SIGWINCH"
msgstr "Nepavyko sukurti %s aplanko"
msgid "Cannot configure write end of SIGWINCH pipe"
msgstr ""
msgid "Cannot configure read end of SIGWINCH pipe"
msgstr ""
#, c-format
msgid ""
"Screen size %dx%d is not supported.\n"
@ -1335,6 +1345,10 @@ msgstr "&Naujas"
msgid "&Close"
msgstr "&Uždaryti"
#, fuzzy
msgid "&History..."
msgstr "Istorija"
msgid "Save &as..."
msgstr "Įrašyti kaip..."
@ -1767,6 +1781,11 @@ msgstr ""
msgid "The shell is already running a command"
msgstr ""
msgid ""
"Not an xterm or Linux console;\n"
"the panels cannot be toggled."
msgstr ""
msgid "Type 'exit' to return to the Midnight Commander"
msgstr ""
@ -2320,11 +2339,6 @@ msgid ""
"to use this command"
msgstr ""
msgid ""
"Not an xterm or Linux console;\n"
"the panels cannot be toggled."
msgstr ""
#, c-format
msgid "'%s' is not a symbolic link"
msgstr ""
@ -2387,9 +2401,6 @@ msgid ""
"%s"
msgstr ""
msgid "Cannot read directory contents"
msgstr "Nepavyko perskaityti aplanko turinio"
msgid "Parameter"
msgstr "Parametras"
@ -3293,6 +3304,9 @@ msgstr "Rodyti aplankų dydžius"
msgid "Command &history"
msgstr "Komandų istorija"
msgid "Viewed/edited files hi&story"
msgstr ""
msgid "Di&rectory hotlist"
msgstr "Aplankų są&rašas"
@ -3522,6 +3536,9 @@ msgstr "Nebesirinkti"
msgid "Do you really want to execute?"
msgstr ""
msgid "Cannot read directory contents"
msgstr "Nepavyko perskaityti aplanko turinio"
msgid "User supplied format looks invalid, reverting to default."
msgstr "Vartotojo formatas atrodo netaisyklingai, grįžtu prie numatytojo."

View File

@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Midnight Commander\n"
"Report-Msgid-Bugs-To: http://www.midnight-commander.org/\n"
"POT-Creation-Date: 2019-06-16 20:10+0200\n"
"POT-Creation-Date: 2019-09-01 20:04+0300\n"
"PO-Revision-Date: 2019-03-02 12:55+0000\n"
"Last-Translator: Piotr Drąg <piotrdrag@gmail.com>\n"
"Language-Team: Latvian (http://www.transifex.com/mc/mc/language/lv/)\n"
@ -460,6 +460,15 @@ msgstr ""
msgid "The TERM environment variable is unset!\n"
msgstr "TERM mainīgais nav ieslēgts!\n"
msgid "Cannot create pipe for SIGWINCH"
msgstr ""
msgid "Cannot configure write end of SIGWINCH pipe"
msgstr ""
msgid "Cannot configure read end of SIGWINCH pipe"
msgstr ""
#, c-format
msgid ""
"Screen size %dx%d is not supported.\n"
@ -1285,6 +1294,9 @@ msgstr ""
msgid "&Close"
msgstr ""
msgid "&History..."
msgstr ""
msgid "Save &as..."
msgstr ""
@ -1713,6 +1725,11 @@ msgstr ""
msgid "The shell is already running a command"
msgstr ""
msgid ""
"Not an xterm or Linux console;\n"
"the panels cannot be toggled."
msgstr ""
msgid "Type 'exit' to return to the Midnight Commander"
msgstr ""
@ -2263,11 +2280,6 @@ msgid ""
"to use this command"
msgstr ""
msgid ""
"Not an xterm or Linux console;\n"
"the panels cannot be toggled."
msgstr ""
#, c-format
msgid "'%s' is not a symbolic link"
msgstr ""
@ -2330,9 +2342,6 @@ msgid ""
"%s"
msgstr ""
msgid "Cannot read directory contents"
msgstr ""
msgid "Parameter"
msgstr ""
@ -3202,6 +3211,9 @@ msgstr ""
msgid "Command &history"
msgstr ""
msgid "Viewed/edited files hi&story"
msgstr ""
msgid "Di&rectory hotlist"
msgstr ""
@ -3429,6 +3441,9 @@ msgstr ""
msgid "Do you really want to execute?"
msgstr ""
msgid "Cannot read directory contents"
msgstr ""
msgid "User supplied format looks invalid, reverting to default."
msgstr ""
"Lietotāja piedāvātais formāts izskatās nepareizs, atgriežamies pie noklusētā."

863
po/mc.pot

File diff suppressed because it is too large Load Diff

View File

@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Midnight Commander\n"
"Report-Msgid-Bugs-To: http://www.midnight-commander.org/\n"
"POT-Creation-Date: 2019-06-16 20:10+0200\n"
"POT-Creation-Date: 2019-09-01 20:04+0300\n"
"PO-Revision-Date: 2019-03-02 12:55+0000\n"
"Last-Translator: Piotr Drąg <piotrdrag@gmail.com>\n"
"Language-Team: Mongolian (http://www.transifex.com/mc/mc/language/mn/)\n"
@ -459,6 +459,15 @@ msgstr ""
msgid "The TERM environment variable is unset!\n"
msgstr "TERM хувьсагч утга аваагүй байна!\n"
msgid "Cannot create pipe for SIGWINCH"
msgstr ""
msgid "Cannot configure write end of SIGWINCH pipe"
msgstr ""
msgid "Cannot configure read end of SIGWINCH pipe"
msgstr ""
#, c-format
msgid ""
"Screen size %dx%d is not supported.\n"
@ -1284,6 +1293,9 @@ msgstr ""
msgid "&Close"
msgstr ""
msgid "&History..."
msgstr ""
msgid "Save &as..."
msgstr ""
@ -1712,6 +1724,11 @@ msgstr ""
msgid "The shell is already running a command"
msgstr ""
msgid ""
"Not an xterm or Linux console;\n"
"the panels cannot be toggled."
msgstr ""
msgid "Type 'exit' to return to the Midnight Commander"
msgstr ""
@ -2261,11 +2278,6 @@ msgid ""
"to use this command"
msgstr ""
msgid ""
"Not an xterm or Linux console;\n"
"the panels cannot be toggled."
msgstr ""
#, c-format
msgid "'%s' is not a symbolic link"
msgstr ""
@ -2328,9 +2340,6 @@ msgid ""
"%s"
msgstr ""
msgid "Cannot read directory contents"
msgstr "Хавтасны доторхыг уншиж чадсангүй"
msgid "Parameter"
msgstr ""
@ -3198,6 +3207,9 @@ msgstr ""
msgid "Command &history"
msgstr ""
msgid "Viewed/edited files hi&story"
msgstr ""
msgid "Di&rectory hotlist"
msgstr ""
@ -3423,6 +3435,9 @@ msgstr ""
msgid "Do you really want to execute?"
msgstr ""
msgid "Cannot read directory contents"
msgstr "Хавтасны доторхыг уншиж чадсангүй"
msgid "User supplied format looks invalid, reverting to default."
msgstr "Хэрэглэж байгаа формат буруу байна, тиймээс стандарт руугаа буцлаа."

View File

@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Midnight Commander\n"
"Report-Msgid-Bugs-To: http://www.midnight-commander.org/\n"
"POT-Creation-Date: 2019-06-16 20:10+0200\n"
"POT-Creation-Date: 2019-09-01 20:04+0300\n"
"PO-Revision-Date: 2019-03-02 12:55+0000\n"
"Last-Translator: Piotr Drąg <piotrdrag@gmail.com>\n"
"Language-Team: Norwegian Bokmål (http://www.transifex.com/mc/mc/language/"
@ -460,6 +460,15 @@ msgstr ""
msgid "The TERM environment variable is unset!\n"
msgstr "TERM miljøvariabelen er ikke satt!\n"
msgid "Cannot create pipe for SIGWINCH"
msgstr ""
msgid "Cannot configure write end of SIGWINCH pipe"
msgstr ""
msgid "Cannot configure read end of SIGWINCH pipe"
msgstr ""
#, c-format
msgid ""
"Screen size %dx%d is not supported.\n"
@ -1285,6 +1294,9 @@ msgstr ""
msgid "&Close"
msgstr ""
msgid "&History..."
msgstr ""
msgid "Save &as..."
msgstr ""
@ -1713,6 +1725,11 @@ msgstr ""
msgid "The shell is already running a command"
msgstr ""
msgid ""
"Not an xterm or Linux console;\n"
"the panels cannot be toggled."
msgstr ""
msgid "Type 'exit' to return to the Midnight Commander"
msgstr ""
@ -2262,11 +2279,6 @@ msgid ""
"to use this command"
msgstr ""
msgid ""
"Not an xterm or Linux console;\n"
"the panels cannot be toggled."
msgstr ""
#, c-format
msgid "'%s' is not a symbolic link"
msgstr ""
@ -2329,9 +2341,6 @@ msgid ""
"%s"
msgstr ""
msgid "Cannot read directory contents"
msgstr ""
msgid "Parameter"
msgstr ""
@ -3199,6 +3208,9 @@ msgstr ""
msgid "Command &history"
msgstr ""
msgid "Viewed/edited files hi&story"
msgstr ""
msgid "Di&rectory hotlist"
msgstr ""
@ -3424,6 +3436,9 @@ msgstr ""
msgid "Do you really want to execute?"
msgstr ""
msgid "Cannot read directory contents"
msgstr ""
msgid "User supplied format looks invalid, reverting to default."
msgstr "Oppgitt format ser ut til å være ugyldig. Går tilbake til standard."

View File

@ -14,7 +14,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Midnight Commander\n"
"Report-Msgid-Bugs-To: http://www.midnight-commander.org/\n"
"POT-Creation-Date: 2019-06-16 20:10+0200\n"
"POT-Creation-Date: 2019-09-01 20:04+0300\n"
"PO-Revision-Date: 2019-03-02 12:55+0000\n"
"Last-Translator: Piotr Drąg <piotrdrag@gmail.com>\n"
"Language-Team: Dutch (http://www.transifex.com/mc/mc/language/nl/)\n"
@ -488,6 +488,16 @@ msgstr "Shift"
msgid "The TERM environment variable is unset!\n"
msgstr "De TERM omgevingsvariabele is niet gezet!\n"
#, fuzzy
msgid "Cannot create pipe for SIGWINCH"
msgstr "Kan pipe streams niet aanmaken"
msgid "Cannot configure write end of SIGWINCH pipe"
msgstr ""
msgid "Cannot configure read end of SIGWINCH pipe"
msgstr ""
#, c-format
msgid ""
"Screen size %dx%d is not supported.\n"
@ -1368,6 +1378,10 @@ msgstr "&Nieuw"
msgid "&Close"
msgstr "&Sluiten"
#, fuzzy
msgid "&History..."
msgstr "Geschiedenis"
msgid "Save &as..."
msgstr "&Opslaan als..."
@ -1804,6 +1818,13 @@ msgstr "Er kan geen lokale kopie van %s worden opgehaald"
msgid "The shell is already running a command"
msgstr "De shell voert al een opdracht uit"
msgid ""
"Not an xterm or Linux console;\n"
"the panels cannot be toggled."
msgstr ""
"Geen xterm en geen Linux console; \n"
"de vensters kunnen niet geschakeld worden."
msgid "Type 'exit' to return to the Midnight Commander"
msgstr "Typ 'exit' om naar de Midnight Commander terug te keren"
@ -2364,13 +2385,6 @@ msgstr ""
"Beide panelen moeten in de listingsmodus\n"
"staan om dit commando te gebruiken"
msgid ""
"Not an xterm or Linux console;\n"
"the panels cannot be toggled."
msgstr ""
"Geen xterm en geen Linux console; \n"
"de vensters kunnen niet geschakeld worden."
#, c-format
msgid "'%s' is not a symbolic link"
msgstr "'%s' is geen symbolische link"
@ -2437,9 +2451,6 @@ msgstr ""
"Veranderen naar map \"%s\" mislukt \n"
"%s "
msgid "Cannot read directory contents"
msgstr "Kan mapinhoud niet lezen"
msgid "Parameter"
msgstr "Parameter"
@ -3392,6 +3403,9 @@ msgstr "Toon mappen&grootte"
msgid "Command &history"
msgstr "&Opdrachtengeschiedenis"
msgid "Viewed/edited files hi&story"
msgstr ""
msgid "Di&rectory hotlist"
msgstr "&Mappen hotslist"
@ -3617,6 +3631,9 @@ msgstr "Selectie wissen"
msgid "Do you really want to execute?"
msgstr "Wilt u die opdracht echt uitvoeren? "
msgid "Cannot read directory contents"
msgstr "Kan mapinhoud niet lezen"
msgid "User supplied format looks invalid, reverting to default."
msgstr ""
"Door gebruiker gedefinieerde formaat lijkt onjuist, gebruik de standaard."

View File

@ -9,7 +9,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Midnight Commander\n"
"Report-Msgid-Bugs-To: http://www.midnight-commander.org/\n"
"POT-Creation-Date: 2019-06-16 20:10+0200\n"
"POT-Creation-Date: 2019-09-01 20:04+0300\n"
"PO-Revision-Date: 2019-03-02 15:10+0000\n"
"Last-Translator: Piotr Drąg <piotrdrag@gmail.com>\n"
"Language-Team: Polish (http://www.transifex.com/mc/mc/language/pl/)\n"
@ -488,6 +488,16 @@ msgstr "Shift"
msgid "The TERM environment variable is unset!\n"
msgstr "Zmienna środowiskowa TERM nie jest ustawiona.\n"
#, fuzzy
msgid "Cannot create pipe for SIGWINCH"
msgstr "Nie można utworzyć strumieni potoku"
msgid "Cannot configure write end of SIGWINCH pipe"
msgstr ""
msgid "Cannot configure read end of SIGWINCH pipe"
msgstr ""
#, c-format
msgid ""
"Screen size %dx%d is not supported.\n"
@ -1378,6 +1388,10 @@ msgstr "&Nowy"
msgid "&Close"
msgstr "&Zamknij"
#, fuzzy
msgid "&History..."
msgstr "Historia"
msgid "Save &as..."
msgstr "Z&apisz jako…"
@ -1813,6 +1827,13 @@ msgstr "Nie można pobrać lokalnej kopii %s"
msgid "The shell is already running a command"
msgstr "Powłoka wykonuje już polecenie"
msgid ""
"Not an xterm or Linux console;\n"
"the panels cannot be toggled."
msgstr ""
"Panele mogą być przełączane tylko\n"
"na konsoli xterm lub Linux."
msgid "Type 'exit' to return to the Midnight Commander"
msgstr "Wpisanie „exit” powróci do programu Midnight Commander"
@ -2372,13 +2393,6 @@ msgstr ""
"Aby wykorzystać to polecenie, należy ustawić\n"
"oba okna na wyświetlanie listy plików"
msgid ""
"Not an xterm or Linux console;\n"
"the panels cannot be toggled."
msgstr ""
"Panele mogą być przełączane tylko\n"
"na konsoli xterm lub Linux."
#, c-format
msgid "'%s' is not a symbolic link"
msgstr "„%s” nie jest dowiązaniem symbolicznym"
@ -2445,9 +2459,6 @@ msgstr ""
"Nie można zmienić katalogu na „%s”\n"
"%s"
msgid "Cannot read directory contents"
msgstr "Nie można odczytać zawartości katalogu"
msgid "Parameter"
msgstr "Parametr"
@ -3408,6 +3419,9 @@ msgstr "Wyśw&ietl rozmiary katalogów"
msgid "Command &history"
msgstr "&Historia poleceń"
msgid "Viewed/edited files hi&story"
msgstr ""
msgid "Di&rectory hotlist"
msgstr "Lista pod&ręcznych katalogów"
@ -3637,6 +3651,9 @@ msgstr "Odznacz"
msgid "Do you really want to execute?"
msgstr "Na pewno wykonać?"
msgid "Cannot read directory contents"
msgstr "Nie można odczytać zawartości katalogu"
msgid "User supplied format looks invalid, reverting to default."
msgstr "Format użytkownika jest nieprawidłowy, przywrócono domyślny."

View File

@ -11,7 +11,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Midnight Commander\n"
"Report-Msgid-Bugs-To: http://www.midnight-commander.org/\n"
"POT-Creation-Date: 2019-06-16 20:10+0200\n"
"POT-Creation-Date: 2019-09-01 20:04+0300\n"
"PO-Revision-Date: 2019-03-05 11:24+0000\n"
"Last-Translator: Gilberto Jorge <gmj125@gmail.com>\n"
"Language-Team: Portuguese (http://www.transifex.com/mc/mc/language/pt/)\n"
@ -486,6 +486,16 @@ msgstr "Shift"
msgid "The TERM environment variable is unset!\n"
msgstr "A variável de ambiente TERM foi limpa!\n"
#, fuzzy
msgid "Cannot create pipe for SIGWINCH"
msgstr "Não é possível criar streams de pipes"
msgid "Cannot configure write end of SIGWINCH pipe"
msgstr ""
msgid "Cannot configure read end of SIGWINCH pipe"
msgstr ""
#, c-format
msgid ""
"Screen size %dx%d is not supported.\n"
@ -1374,6 +1384,10 @@ msgstr "&Novo"
msgid "&Close"
msgstr "&Fechar"
#, fuzzy
msgid "&History..."
msgstr "Histórico"
msgid "Save &as..."
msgstr "Guard&ar como..."
@ -1810,6 +1824,13 @@ msgstr "Não é possível obter uma copia local de %s"
msgid "The shell is already running a command"
msgstr "A shell já está a executar um comando"
msgid ""
"Not an xterm or Linux console;\n"
"the panels cannot be toggled."
msgstr ""
"Não é uma consola xterm ou Linux;\n"
"os painéis não podem ser comutados."
msgid "Type 'exit' to return to the Midnight Commander"
msgstr "Digite 'exit' para voltar ao Midnight Commander"
@ -2369,13 +2390,6 @@ msgstr ""
"Ambos os painéis deveriam estar no modo de listagem\n"
"para usar este comando"
msgid ""
"Not an xterm or Linux console;\n"
"the panels cannot be toggled."
msgstr ""
"Não é uma consola xterm ou Linux;\n"
"os painéis não podem ser comutados."
#, c-format
msgid "'%s' is not a symbolic link"
msgstr "'%s' não é uma ligação simbólica"
@ -2442,9 +2456,6 @@ msgstr ""
"Não é possível chdir para \"%s\"\n"
"%s"
msgid "Cannot read directory contents"
msgstr "Não é possível ler conteúdo do diretório"
msgid "Parameter"
msgstr "Parâmetro"
@ -3400,6 +3411,9 @@ msgstr "Mostrar tamanho de diretórios"
msgid "Command &history"
msgstr "&Histórico de comandos"
msgid "Viewed/edited files hi&story"
msgstr ""
msgid "Di&rectory hotlist"
msgstr "Hotlist de di&retórios"
@ -3625,6 +3639,9 @@ msgstr "Cancelar seleção"
msgid "Do you really want to execute?"
msgstr "Deseja mesmo executar?"
msgid "Cannot read directory contents"
msgstr "Não é possível ler conteúdo do diretório"
msgid "User supplied format looks invalid, reverting to default."
msgstr ""
"Formato indicado pelo utilizador parece inválido, a reverter para defeito."

View File

@ -13,7 +13,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Midnight Commander\n"
"Report-Msgid-Bugs-To: http://www.midnight-commander.org/\n"
"POT-Creation-Date: 2019-06-16 20:10+0200\n"
"POT-Creation-Date: 2019-09-01 20:04+0300\n"
"PO-Revision-Date: 2019-03-02 12:55+0000\n"
"Last-Translator: Piotr Drąg <piotrdrag@gmail.com>\n"
"Language-Team: Portuguese (Brazil) (http://www.transifex.com/mc/mc/language/"
@ -487,6 +487,16 @@ msgstr "Shift"
msgid "The TERM environment variable is unset!\n"
msgstr "A variável de ambiente TERM não foi definida!\n"
#, fuzzy
msgid "Cannot create pipe for SIGWINCH"
msgstr "Não é possível criar pipe streams"
msgid "Cannot configure write end of SIGWINCH pipe"
msgstr ""
msgid "Cannot configure read end of SIGWINCH pipe"
msgstr ""
#, c-format
msgid ""
"Screen size %dx%d is not supported.\n"
@ -1332,6 +1342,10 @@ msgstr "&Novo"
msgid "&Close"
msgstr "Fechar"
#, fuzzy
msgid "&History..."
msgstr "Histórico"
msgid "Save &as..."
msgstr "Salvar &como..."
@ -1766,6 +1780,13 @@ msgstr "Não foi possível adquirir uma cópia local de %s"
msgid "The shell is already running a command"
msgstr "A shell já está executando um comando"
msgid ""
"Not an xterm or Linux console;\n"
"the panels cannot be toggled."
msgstr ""
"Não é um xterm nem console linux;\n"
"Os paines não podem ser ativados."
msgid "Type 'exit' to return to the Midnight Commander"
msgstr ""
@ -2323,13 +2344,6 @@ msgstr ""
"Ambos painéis deveriam estar no modo de\n"
"listagem para usar este comando"
msgid ""
"Not an xterm or Linux console;\n"
"the panels cannot be toggled."
msgstr ""
"Não é um xterm nem console linux;\n"
"Os paines não podem ser ativados."
#, c-format
msgid "'%s' is not a symbolic link"
msgstr ""
@ -2392,9 +2406,6 @@ msgid ""
"%s"
msgstr ""
msgid "Cannot read directory contents"
msgstr ""
msgid "Parameter"
msgstr "Parâmetro"
@ -3324,6 +3335,9 @@ msgstr ""
msgid "Command &history"
msgstr ""
msgid "Viewed/edited files hi&story"
msgstr ""
msgid "Di&rectory hotlist"
msgstr ""
@ -3549,6 +3563,9 @@ msgstr "Desselecionar"
msgid "Do you really want to execute?"
msgstr ""
msgid "Cannot read directory contents"
msgstr ""
msgid "User supplied format looks invalid, reverting to default."
msgstr ""
"Formato disponibilizado pelo usuário parece inválido, voltando ao padrão."

View File

@ -15,7 +15,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Midnight Commander\n"
"Report-Msgid-Bugs-To: http://www.midnight-commander.org/\n"
"POT-Creation-Date: 2019-06-22 13:10+0200\n"
"POT-Creation-Date: 2019-09-01 20:04+0300\n"
"PO-Revision-Date: 2019-06-20 16:47+0000\n"
"Last-Translator: Nicolae Crefelean\n"
"Language-Team: Romanian (http://www.transifex.com/mc/mc/language/ro/)\n"
@ -490,6 +490,16 @@ msgstr "Shift"
msgid "The TERM environment variable is unset!\n"
msgstr "Variabila de mediu TERM nu este setată!\n"
#, fuzzy
msgid "Cannot create pipe for SIGWINCH"
msgstr "Nu pot crea fluxul filtrului"
msgid "Cannot configure write end of SIGWINCH pipe"
msgstr ""
msgid "Cannot configure read end of SIGWINCH pipe"
msgstr ""
#, c-format
msgid ""
"Screen size %dx%d is not supported.\n"
@ -1377,6 +1387,10 @@ msgstr "&Nou"
msgid "&Close"
msgstr "În&chide"
#, fuzzy
msgid "&History..."
msgstr "Istoric"
msgid "Save &as..."
msgstr "Salvează c&a..."
@ -1813,6 +1827,13 @@ msgstr "Nu se poate prelua o copie locală a %s"
msgid "The shell is already running a command"
msgstr "Terminalul deja rulează o comandă"
msgid ""
"Not an xterm or Linux console;\n"
"the panels cannot be toggled."
msgstr ""
"Nu este o consolă xterm sau Linux;\n"
"panourile nu pot fi comutate."
msgid "Type 'exit' to return to the Midnight Commander"
msgstr "Tastați `exit' pentru a reveni în Midnight Commander"
@ -2372,13 +2393,6 @@ msgstr ""
"Pentru a utiliza această comandă ambele\n"
"trebuie să fie în modul listare"
msgid ""
"Not an xterm or Linux console;\n"
"the panels cannot be toggled."
msgstr ""
"Nu este o consolă xterm sau Linux;\n"
"panourile nu pot fi comutate."
#, c-format
msgid "'%s' is not a symbolic link"
msgstr "'%s' nu este o legătură simbolică"
@ -2445,9 +2459,6 @@ msgstr ""
"Nu se poate chdir în \"%s\"\n"
"%s"
msgid "Cannot read directory contents"
msgstr "Nu pot citi conținutul dosarului"
msgid "Parameter"
msgstr "Parametru"
@ -3403,6 +3414,9 @@ msgstr "Arată mărimea dosarelor"
msgid "Command &history"
msgstr "&Istoric comenzi"
msgid "Viewed/edited files hi&story"
msgstr ""
msgid "Di&rectory hotlist"
msgstr "Listă rapidă de dosa&re"
@ -3630,6 +3644,9 @@ msgstr "Deselectează"
msgid "Do you really want to execute?"
msgstr "Chiar dorești să execuți?"
msgid "Cannot read directory contents"
msgstr "Nu pot citi conținutul dosarului"
msgid "User supplied format looks invalid, reverting to default."
msgstr ""
"Formatul furnizat de utilizator pare invalid, se revine la cel implicit"

View File

@ -26,7 +26,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Midnight Commander\n"
"Report-Msgid-Bugs-To: http://www.midnight-commander.org/\n"
"POT-Creation-Date: 2019-06-16 20:10+0200\n"
"POT-Creation-Date: 2019-09-01 20:04+0300\n"
"PO-Revision-Date: 2019-03-03 23:22+0000\n"
"Last-Translator: AlexL <loginov.alex.valer@gmail.com>\n"
"Language-Team: Russian (http://www.transifex.com/mc/mc/language/ru/)\n"
@ -505,6 +505,16 @@ msgstr "Shift"
msgid "The TERM environment variable is unset!\n"
msgstr "Переменная среды TERM не определена!\n"
#, fuzzy
msgid "Cannot create pipe for SIGWINCH"
msgstr "Не удалось создать потоки канала"
msgid "Cannot configure write end of SIGWINCH pipe"
msgstr ""
msgid "Cannot configure read end of SIGWINCH pipe"
msgstr ""
#, c-format
msgid ""
"Screen size %dx%d is not supported.\n"
@ -1394,6 +1404,10 @@ msgstr "&Новый"
msgid "&Close"
msgstr "&Закрыть"
#, fuzzy
msgid "&History..."
msgstr "История"
msgid "Save &as..."
msgstr "Сохранить &как..."
@ -1830,6 +1844,13 @@ msgstr "Невозможно получить локальную копию %s"
msgid "The shell is already running a command"
msgstr "Интерпретатор занят выполнением команды"
msgid ""
"Not an xterm or Linux console;\n"
"the panels cannot be toggled."
msgstr ""
"Это не xterm и не консоль Linux;\n"
"панели не могут быть отключены."
msgid "Type 'exit' to return to the Midnight Commander"
msgstr "Введите exit для возврата в Midnight Commander"
@ -2389,13 +2410,6 @@ msgstr ""
"Для выполнения этой команды\n"
"обе панели должны быть в режиме списка"
msgid ""
"Not an xterm or Linux console;\n"
"the panels cannot be toggled."
msgstr ""
"Это не xterm и не консоль Linux;\n"
"панели не могут быть отключены."
#, c-format
msgid "'%s' is not a symbolic link"
msgstr "%s не является символической ссылкой"
@ -2462,9 +2476,6 @@ msgstr ""
"Невозможно перейти в \"%s\"\n"
"%s"
msgid "Cannot read directory contents"
msgstr "Невозможно прочесть содержимое каталога"
msgid "Parameter"
msgstr "Параметр"
@ -3423,6 +3434,9 @@ msgstr "&Размеры каталогов"
msgid "Command &history"
msgstr "&История командной строки"
msgid "Viewed/edited files hi&story"
msgstr ""
msgid "Di&rectory hotlist"
msgstr "Каталоги &быстрого доступа"
@ -3652,6 +3666,9 @@ msgstr "Снять отметку"
msgid "Do you really want to execute?"
msgstr "Вы действительно хотите выполнить это?"
msgid "Cannot read directory contents"
msgstr "Невозможно прочесть содержимое каталога"
msgid "User supplied format looks invalid, reverting to default."
msgstr "Пользовательский формат выглядит неверным, возвращаю к стандартному."

View File

@ -14,7 +14,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Midnight Commander\n"
"Report-Msgid-Bugs-To: http://www.midnight-commander.org/\n"
"POT-Creation-Date: 2019-06-16 20:10+0200\n"
"POT-Creation-Date: 2019-09-01 20:04+0300\n"
"PO-Revision-Date: 2019-03-02 12:55+0000\n"
"Last-Translator: Piotr Drąg <piotrdrag@gmail.com>\n"
"Language-Team: Slovak (http://www.transifex.com/mc/mc/language/sk/)\n"
@ -483,6 +483,16 @@ msgstr "Shift"
msgid "The TERM environment variable is unset!\n"
msgstr "Premenná prostredia TERM nie je nastavená!\n"
#, fuzzy
msgid "Cannot create pipe for SIGWINCH"
msgstr "Nemožno vytvoriť toky rúry"
msgid "Cannot configure write end of SIGWINCH pipe"
msgstr ""
msgid "Cannot configure read end of SIGWINCH pipe"
msgstr ""
#, c-format
msgid ""
"Screen size %dx%d is not supported.\n"
@ -1369,6 +1379,10 @@ msgstr "&Nové"
msgid "&Close"
msgstr "&Zatvoriť"
#, fuzzy
msgid "&History..."
msgstr "História"
msgid "Save &as..."
msgstr "Uložiť &ako..."
@ -1805,6 +1819,13 @@ msgstr "Nemožno stiahnuť lokálnu kópiu %s"
msgid "The shell is already running a command"
msgstr "Shell už vykonáva príkaz"
msgid ""
"Not an xterm or Linux console;\n"
"the panels cannot be toggled."
msgstr ""
"Konzola nie je xterm alebo Linux;\n"
"nemožno prepnúť panely."
msgid "Type 'exit' to return to the Midnight Commander"
msgstr "Napísaním „exit“ sa vrátite do aplikácie Midnight Commander"
@ -2364,13 +2385,6 @@ msgstr ""
"Oba panely by mali byť v režime výpisu,\n"
"aby ste mohli použiť tento príkaz"
msgid ""
"Not an xterm or Linux console;\n"
"the panels cannot be toggled."
msgstr ""
"Konzola nie je xterm alebo Linux;\n"
"nemožno prepnúť panely."
#, c-format
msgid "'%s' is not a symbolic link"
msgstr "„%s“ nie je symbolický odkaz"
@ -2437,9 +2451,6 @@ msgstr ""
"Nemožno chdir do „%s“\n"
"%s"
msgid "Cannot read directory contents"
msgstr "Nepodarilo sa načítať obsah adresára"
msgid "Parameter"
msgstr "Parameter"
@ -3389,6 +3400,9 @@ msgstr "Zobraz&iť veľkosť adresárov"
msgid "Command &history"
msgstr "&História príkazov"
msgid "Viewed/edited files hi&story"
msgstr ""
msgid "Di&rectory hotlist"
msgstr "Hotlist ad&resára"
@ -3618,6 +3632,9 @@ msgstr "Zrušiť výber"
msgid "Do you really want to execute?"
msgstr "Skutočne chcete spustiť?"
msgid "Cannot read directory contents"
msgstr "Nepodarilo sa načítať obsah adresára"
msgid "User supplied format looks invalid, reverting to default."
msgstr ""
"Používateľom dodaný formát vyzerá byť neplatný, vraciam sa k predvolenému."

View File

@ -10,7 +10,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Midnight Commander\n"
"Report-Msgid-Bugs-To: http://www.midnight-commander.org/\n"
"POT-Creation-Date: 2019-06-16 20:10+0200\n"
"POT-Creation-Date: 2019-09-01 20:04+0300\n"
"PO-Revision-Date: 2019-03-02 12:55+0000\n"
"Last-Translator: Piotr Drąg <piotrdrag@gmail.com>\n"
"Language-Team: Slovenian (http://www.transifex.com/mc/mc/language/sl/)\n"
@ -469,6 +469,15 @@ msgstr "Shift"
msgid "The TERM environment variable is unset!\n"
msgstr "TERM okoljska spremenljivka ni nastavljena!\n"
msgid "Cannot create pipe for SIGWINCH"
msgstr ""
msgid "Cannot configure write end of SIGWINCH pipe"
msgstr ""
msgid "Cannot configure read end of SIGWINCH pipe"
msgstr ""
#, c-format
msgid ""
"Screen size %dx%d is not supported.\n"
@ -1294,6 +1303,9 @@ msgstr ""
msgid "&Close"
msgstr ""
msgid "&History..."
msgstr ""
msgid "Save &as..."
msgstr ""
@ -1722,6 +1734,11 @@ msgstr ""
msgid "The shell is already running a command"
msgstr ""
msgid ""
"Not an xterm or Linux console;\n"
"the panels cannot be toggled."
msgstr ""
msgid "Type 'exit' to return to the Midnight Commander"
msgstr ""
@ -2271,11 +2288,6 @@ msgid ""
"to use this command"
msgstr ""
msgid ""
"Not an xterm or Linux console;\n"
"the panels cannot be toggled."
msgstr ""
#, c-format
msgid "'%s' is not a symbolic link"
msgstr ""
@ -2338,9 +2350,6 @@ msgid ""
"%s"
msgstr ""
msgid "Cannot read directory contents"
msgstr "Ne morem prebrati vsebine imenika"
msgid "Parameter"
msgstr ""
@ -3212,6 +3221,9 @@ msgstr ""
msgid "Command &history"
msgstr ""
msgid "Viewed/edited files hi&story"
msgstr ""
msgid "Di&rectory hotlist"
msgstr ""
@ -3441,6 +3453,9 @@ msgstr ""
msgid "Do you really want to execute?"
msgstr ""
msgid "Cannot read directory contents"
msgstr "Ne morem prebrati vsebine imenika"
msgid "User supplied format looks invalid, reverting to default."
msgstr ""
"Uporabniško podano oblikovanje izgleda neveljavno, uporabljam privzeto."

View File

@ -9,7 +9,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Midnight Commander\n"
"Report-Msgid-Bugs-To: http://www.midnight-commander.org/\n"
"POT-Creation-Date: 2019-06-16 20:10+0200\n"
"POT-Creation-Date: 2019-09-01 20:04+0300\n"
"PO-Revision-Date: 2019-03-02 12:55+0000\n"
"Last-Translator: Piotr Drąg <piotrdrag@gmail.com>\n"
"Language-Team: Serbian (http://www.transifex.com/mc/mc/language/sr/)\n"
@ -477,6 +477,16 @@ msgstr "Помак"
msgid "The TERM environment variable is unset!\n"
msgstr "Променљива љуске „TERM“ је расподешена!\n"
#, fuzzy
msgid "Cannot create pipe for SIGWINCH"
msgstr "Не могу да направим токове спојке"
msgid "Cannot configure write end of SIGWINCH pipe"
msgstr ""
msgid "Cannot configure read end of SIGWINCH pipe"
msgstr ""
#, c-format
msgid ""
"Screen size %dx%d is not supported.\n"
@ -1360,6 +1370,10 @@ msgstr "&Нова"
msgid "&Close"
msgstr "&Затвори"
#, fuzzy
msgid "&History..."
msgstr "Историјат"
msgid "Save &as..."
msgstr "Сачувај &као..."
@ -1796,6 +1810,13 @@ msgstr "Не могу да довучем месни умножак „%s“"
msgid "The shell is already running a command"
msgstr "Шкољка већ извршава наредбу"
msgid ""
"Not an xterm or Linux console;\n"
"the panels cannot be toggled."
msgstr ""
"Није конзоа хтерминала или Линукса;\n"
"панели не могу бити промењени."
msgid "Type 'exit' to return to the Midnight Commander"
msgstr "Укуцајте „exit“ да се вратите Поноћном нареднику"
@ -2355,13 +2376,6 @@ msgstr ""
"Оба панела морају бити у режиму списка\n"
"за коришћење ове наредбе"
msgid ""
"Not an xterm or Linux console;\n"
"the panels cannot be toggled."
msgstr ""
"Није конзоа хтерминала или Линукса;\n"
"панели не могу бити промењени."
#, c-format
msgid "'%s' is not a symbolic link"
msgstr "„%s“ није симболичка веза"
@ -2428,9 +2442,6 @@ msgstr ""
"Не могу да пређем у директоријум „%s“\n"
"%s"
msgid "Cannot read directory contents"
msgstr "Не могу да прочитам садржај директоријума"
msgid "Parameter"
msgstr "Параметар"
@ -3377,6 +3388,9 @@ msgstr "Прикажи &величине директоријума"
msgid "Command &history"
msgstr "Историјат &наредби"
msgid "Viewed/edited files hi&story"
msgstr ""
msgid "Di&rectory hotlist"
msgstr "&Врући списак директоријума"
@ -3604,6 +3618,9 @@ msgstr "Поништите избор"
msgid "Do you really want to execute?"
msgstr "Да ли стварно желите да извршите?"
msgid "Cannot read directory contents"
msgstr "Не могу да прочитам садржај директоријума"
msgid "User supplied format looks invalid, reverting to default."
msgstr "Корисников запис изгледа да је неисправан, враћам на основно."

View File

@ -14,7 +14,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Midnight Commander\n"
"Report-Msgid-Bugs-To: http://www.midnight-commander.org/\n"
"POT-Creation-Date: 2019-06-16 20:10+0200\n"
"POT-Creation-Date: 2019-09-01 20:04+0300\n"
"PO-Revision-Date: 2019-03-02 12:55+0000\n"
"Last-Translator: Piotr Drąg <piotrdrag@gmail.com>\n"
"Language-Team: Swedish (http://www.transifex.com/mc/mc/language/sv/)\n"
@ -488,6 +488,16 @@ msgstr "Skift"
msgid "The TERM environment variable is unset!\n"
msgstr "Omgivningsvariablen TERM är inte satt!\n"
#, fuzzy
msgid "Cannot create pipe for SIGWINCH"
msgstr "Tunnelströmmar kunde inte skapas"
msgid "Cannot configure write end of SIGWINCH pipe"
msgstr ""
msgid "Cannot configure read end of SIGWINCH pipe"
msgstr ""
#, c-format
msgid ""
"Screen size %dx%d is not supported.\n"
@ -1374,6 +1384,10 @@ msgstr "&Ny"
msgid "&Close"
msgstr "S&täng"
#, fuzzy
msgid "&History..."
msgstr "Historik"
msgid "Save &as..."
msgstr "Spa&ra som..."
@ -1810,6 +1824,13 @@ msgstr "En lokal kopia av %s kunde inte hämtas"
msgid "The shell is already running a command"
msgstr "Skalet kör redan ett kommando"
msgid ""
"Not an xterm or Linux console;\n"
"the panels cannot be toggled."
msgstr ""
"Inte en xterm- eller linuxterminal;\n"
"panelerna kan inte slås av/på."
msgid "Type 'exit' to return to the Midnight Commander"
msgstr "Skriv 'exit' för att återvända till Midnight Commander"
@ -2369,13 +2390,6 @@ msgstr ""
"Båda panelerna måste vara i fillistläge\n"
"för att använda detta kommando"
msgid ""
"Not an xterm or Linux console;\n"
"the panels cannot be toggled."
msgstr ""
"Inte en xterm- eller linuxterminal;\n"
"panelerna kan inte slås av/på."
#, c-format
msgid "'%s' is not a symbolic link"
msgstr "'%s' är inte en symbolisk länk"
@ -2442,9 +2456,6 @@ msgstr ""
"Chdir till \"%s\" misslyckades\n"
"%s"
msgid "Cannot read directory contents"
msgstr "Kan inte läsa kataloginnehåll"
msgid "Parameter"
msgstr "Parameter"
@ -3395,6 +3406,9 @@ msgstr "V&isa katalogstorlekar"
msgid "Command &history"
msgstr "Kommando-&historik"
msgid "Viewed/edited files hi&story"
msgstr ""
msgid "Di&rectory hotlist"
msgstr "Katalog&favoriter"
@ -3620,6 +3634,9 @@ msgstr "Avmarkera"
msgid "Do you really want to execute?"
msgstr "Vill du verkligen exekvera?"
msgid "Cannot read directory contents"
msgstr "Kan inte läsa kataloginnehåll"
msgid "User supplied format looks invalid, reverting to default."
msgstr "Det angivna formatet ser ogiltigt ut, faller tillbaka till standard."

View File

@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Midnight Commander\n"
"Report-Msgid-Bugs-To: http://www.midnight-commander.org/\n"
"POT-Creation-Date: 2019-06-16 20:10+0200\n"
"POT-Creation-Date: 2019-09-01 20:04+0300\n"
"PO-Revision-Date: 2019-03-02 12:55+0000\n"
"Last-Translator: Piotr Drąg <piotrdrag@gmail.com>\n"
"Language-Team: Silesian (http://www.transifex.com/mc/mc/language/szl/)\n"
@ -459,6 +459,15 @@ msgstr ""
msgid "The TERM environment variable is unset!\n"
msgstr ""
msgid "Cannot create pipe for SIGWINCH"
msgstr ""
msgid "Cannot configure write end of SIGWINCH pipe"
msgstr ""
msgid "Cannot configure read end of SIGWINCH pipe"
msgstr ""
#, c-format
msgid ""
"Screen size %dx%d is not supported.\n"
@ -1282,6 +1291,9 @@ msgstr ""
msgid "&Close"
msgstr ""
msgid "&History..."
msgstr ""
msgid "Save &as..."
msgstr ""
@ -1710,6 +1722,11 @@ msgstr ""
msgid "The shell is already running a command"
msgstr ""
msgid ""
"Not an xterm or Linux console;\n"
"the panels cannot be toggled."
msgstr ""
msgid "Type 'exit' to return to the Midnight Commander"
msgstr ""
@ -2259,11 +2276,6 @@ msgid ""
"to use this command"
msgstr ""
msgid ""
"Not an xterm or Linux console;\n"
"the panels cannot be toggled."
msgstr ""
#, c-format
msgid "'%s' is not a symbolic link"
msgstr ""
@ -2326,9 +2338,6 @@ msgid ""
"%s"
msgstr ""
msgid "Cannot read directory contents"
msgstr ""
msgid "Parameter"
msgstr ""
@ -3198,6 +3207,9 @@ msgstr ""
msgid "Command &history"
msgstr ""
msgid "Viewed/edited files hi&story"
msgstr ""
msgid "Di&rectory hotlist"
msgstr ""
@ -3425,6 +3437,9 @@ msgstr ""
msgid "Do you really want to execute?"
msgstr ""
msgid "Cannot read directory contents"
msgstr ""
msgid "User supplied format looks invalid, reverting to default."
msgstr ""

View File

@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Midnight Commander\n"
"Report-Msgid-Bugs-To: http://www.midnight-commander.org/\n"
"POT-Creation-Date: 2019-06-16 20:10+0200\n"
"POT-Creation-Date: 2019-09-01 20:04+0300\n"
"PO-Revision-Date: 2019-03-02 12:55+0000\n"
"Last-Translator: Piotr Drąg <piotrdrag@gmail.com>\n"
"Language-Team: Tamil (http://www.transifex.com/mc/mc/language/ta/)\n"
@ -459,6 +459,15 @@ msgstr ""
msgid "The TERM environment variable is unset!\n"
msgstr ""
msgid "Cannot create pipe for SIGWINCH"
msgstr ""
msgid "Cannot configure write end of SIGWINCH pipe"
msgstr ""
msgid "Cannot configure read end of SIGWINCH pipe"
msgstr ""
#, c-format
msgid ""
"Screen size %dx%d is not supported.\n"
@ -1282,6 +1291,9 @@ msgstr ""
msgid "&Close"
msgstr ""
msgid "&History..."
msgstr ""
msgid "Save &as..."
msgstr ""
@ -1710,6 +1722,11 @@ msgstr ""
msgid "The shell is already running a command"
msgstr ""
msgid ""
"Not an xterm or Linux console;\n"
"the panels cannot be toggled."
msgstr ""
msgid "Type 'exit' to return to the Midnight Commander"
msgstr ""
@ -2259,11 +2276,6 @@ msgid ""
"to use this command"
msgstr ""
msgid ""
"Not an xterm or Linux console;\n"
"the panels cannot be toggled."
msgstr ""
#, c-format
msgid "'%s' is not a symbolic link"
msgstr ""
@ -2326,9 +2338,6 @@ msgid ""
"%s"
msgstr ""
msgid "Cannot read directory contents"
msgstr ""
msgid "Parameter"
msgstr ""
@ -3196,6 +3205,9 @@ msgstr ""
msgid "Command &history"
msgstr ""
msgid "Viewed/edited files hi&story"
msgstr ""
msgid "Di&rectory hotlist"
msgstr ""
@ -3421,6 +3433,9 @@ msgstr ""
msgid "Do you really want to execute?"
msgstr ""
msgid "Cannot read directory contents"
msgstr ""
msgid "User supplied format looks invalid, reverting to default."
msgstr ""

View File

@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Midnight Commander\n"
"Report-Msgid-Bugs-To: http://www.midnight-commander.org/\n"
"POT-Creation-Date: 2019-06-16 20:10+0200\n"
"POT-Creation-Date: 2019-09-01 20:04+0300\n"
"PO-Revision-Date: 2019-03-02 12:55+0000\n"
"Last-Translator: Piotr Drąg <piotrdrag@gmail.com>\n"
"Language-Team: Telugu (http://www.transifex.com/mc/mc/language/te/)\n"
@ -458,6 +458,15 @@ msgstr ""
msgid "The TERM environment variable is unset!\n"
msgstr ""
msgid "Cannot create pipe for SIGWINCH"
msgstr ""
msgid "Cannot configure write end of SIGWINCH pipe"
msgstr ""
msgid "Cannot configure read end of SIGWINCH pipe"
msgstr ""
#, c-format
msgid ""
"Screen size %dx%d is not supported.\n"
@ -1281,6 +1290,9 @@ msgstr ""
msgid "&Close"
msgstr ""
msgid "&History..."
msgstr ""
msgid "Save &as..."
msgstr ""
@ -1709,6 +1721,11 @@ msgstr ""
msgid "The shell is already running a command"
msgstr ""
msgid ""
"Not an xterm or Linux console;\n"
"the panels cannot be toggled."
msgstr ""
msgid "Type 'exit' to return to the Midnight Commander"
msgstr ""
@ -2258,11 +2275,6 @@ msgid ""
"to use this command"
msgstr ""
msgid ""
"Not an xterm or Linux console;\n"
"the panels cannot be toggled."
msgstr ""
#, c-format
msgid "'%s' is not a symbolic link"
msgstr ""
@ -2325,9 +2337,6 @@ msgid ""
"%s"
msgstr ""
msgid "Cannot read directory contents"
msgstr ""
msgid "Parameter"
msgstr ""
@ -3195,6 +3204,9 @@ msgstr ""
msgid "Command &history"
msgstr ""
msgid "Viewed/edited files hi&story"
msgstr ""
msgid "Di&rectory hotlist"
msgstr ""
@ -3420,6 +3432,9 @@ msgstr ""
msgid "Do you really want to execute?"
msgstr ""
msgid "Cannot read directory contents"
msgstr ""
msgid "User supplied format looks invalid, reverting to default."
msgstr ""

View File

@ -13,7 +13,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Midnight Commander\n"
"Report-Msgid-Bugs-To: http://www.midnight-commander.org/\n"
"POT-Creation-Date: 2019-06-16 20:10+0200\n"
"POT-Creation-Date: 2019-09-01 20:04+0300\n"
"PO-Revision-Date: 2019-03-02 12:55+0000\n"
"Last-Translator: Piotr Drąg <piotrdrag@gmail.com>\n"
"Language-Team: Turkish (http://www.transifex.com/mc/mc/language/tr/)\n"
@ -480,6 +480,16 @@ msgstr "Shift"
msgid "The TERM environment variable is unset!\n"
msgstr "TERM çevre değişkeni atanmamış!\n"
#, fuzzy
msgid "Cannot create pipe for SIGWINCH"
msgstr "Boru akışı oluşturulamadı"
msgid "Cannot configure write end of SIGWINCH pipe"
msgstr ""
msgid "Cannot configure read end of SIGWINCH pipe"
msgstr ""
#, c-format
msgid ""
"Screen size %dx%d is not supported.\n"
@ -1367,6 +1377,10 @@ msgstr "&Yeni"
msgid "&Close"
msgstr "&Kapat"
#, fuzzy
msgid "&History..."
msgstr "Geçmiş"
msgid "Save &as..."
msgstr "Farklı kaydet..."
@ -1805,6 +1819,13 @@ msgstr "`%s'in yerel kopyası alınamadı"
msgid "The shell is already running a command"
msgstr "Kabukta halen bir komut etkin"
msgid ""
"Not an xterm or Linux console;\n"
"the panels cannot be toggled."
msgstr ""
"Bir xterm ya da Linux konsolu değil;\n"
" Paneller değiştirilemez."
msgid "Type 'exit' to return to the Midnight Commander"
msgstr "Midnight Commander'a dönmek için 'exit' yazın"
@ -2365,13 +2386,6 @@ msgstr ""
"Bu komutu kullanabilmek için\n"
"iki pano da listeleme kipinde olmalıdır"
msgid ""
"Not an xterm or Linux console;\n"
"the panels cannot be toggled."
msgstr ""
"Bir xterm ya da Linux konsolu değil;\n"
" Paneller değiştirilemez."
#, c-format
msgid "'%s' is not a symbolic link"
msgstr "'%s' sembolik bağlantı değil"
@ -2438,9 +2452,6 @@ msgstr ""
" \"%s\" dizinine geçilemedi \n"
" %s "
msgid "Cannot read directory contents"
msgstr "Dizin içeriği okunamadı"
msgid "Parameter"
msgstr "Parametre"
@ -3390,6 +3401,9 @@ msgstr "diz&in boyutlarını göster"
msgid "Command &history"
msgstr "Komut Geçmişi"
msgid "Viewed/edited files hi&story"
msgstr ""
msgid "Di&rectory hotlist"
msgstr "Dizin listesi"
@ -3615,6 +3629,9 @@ msgstr "Seçme"
msgid "Do you really want to execute?"
msgstr "Gerçekten çalıştırmak istiyor musunuz?"
msgid "Cannot read directory contents"
msgstr "Dizin içeriği okunamadı"
msgid "User supplied format looks invalid, reverting to default."
msgstr "Kullanıcı tanımlı biçim geçersiz: öntanımlısı kullanılacak."

View File

@ -14,7 +14,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Midnight Commander\n"
"Report-Msgid-Bugs-To: http://www.midnight-commander.org/\n"
"POT-Creation-Date: 2019-06-16 20:10+0200\n"
"POT-Creation-Date: 2019-09-01 20:04+0300\n"
"PO-Revision-Date: 2019-05-01 18:12+0000\n"
"Last-Translator: Andriy Smilyanets <smile.andriy@gmail.com>\n"
"Language-Team: Ukrainian (http://www.transifex.com/mc/mc/language/uk/)\n"
@ -494,6 +494,16 @@ msgstr "Shift"
msgid "The TERM environment variable is unset!\n"
msgstr "Змінна середовища TERM не встановлена!\n"
#, fuzzy
msgid "Cannot create pipe for SIGWINCH"
msgstr "Не вдалося створити потоки каналу"
msgid "Cannot configure write end of SIGWINCH pipe"
msgstr ""
msgid "Cannot configure read end of SIGWINCH pipe"
msgstr ""
#, c-format
msgid ""
"Screen size %dx%d is not supported.\n"
@ -1377,6 +1387,10 @@ msgstr "&Новий"
msgid "&Close"
msgstr "&Закрити"
#, fuzzy
msgid "&History..."
msgstr "Історія"
msgid "Save &as..."
msgstr "Зберегти &як…"
@ -1812,6 +1826,13 @@ msgstr "Не вдалося отримати локальну копію %s"
msgid "The shell is already running a command"
msgstr "Інтерпретатор вже виконує команду"
msgid ""
"Not an xterm or Linux console;\n"
"the panels cannot be toggled."
msgstr ""
"Це не xterm і не консоль Linux.\n"
"Панелі не можна перемкнути. "
msgid "Type 'exit' to return to the Midnight Commander"
msgstr "Введіть 'exit', щоб повернутися до Midnight Commander"
@ -2370,13 +2391,6 @@ msgstr ""
"Для виконання цієї команди обидві панелі\n"
"повинні бути в режимі списку"
msgid ""
"Not an xterm or Linux console;\n"
"the panels cannot be toggled."
msgstr ""
"Це не xterm і не консоль Linux.\n"
"Панелі не можна перемкнути. "
#, c-format
msgid "'%s' is not a symbolic link"
msgstr "«%s» — не символьне посилання"
@ -2443,9 +2457,6 @@ msgstr ""
"Не вдалося змінити каталог на «%s»\n"
"%s "
msgid "Cannot read directory contents"
msgstr "Не вдалося отримати зміст каталога"
msgid "Parameter"
msgstr "Параметр"
@ -3402,6 +3413,9 @@ msgstr "Показати &розміри каталогів"
msgid "Command &history"
msgstr "&Історія команд"
msgid "Viewed/edited files hi&story"
msgstr ""
msgid "Di&rectory hotlist"
msgstr "&Гарячий список каталогів"
@ -3631,6 +3645,9 @@ msgstr "Зняти відмітку"
msgid "Do you really want to execute?"
msgstr "Справді виконати?"
msgid "Cannot read directory contents"
msgstr "Не вдалося отримати зміст каталога"
msgid "User supplied format looks invalid, reverting to default."
msgstr ""
"Формат користувача виглядає неправильним, використовується стандартний."

View File

@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Midnight Commander\n"
"Report-Msgid-Bugs-To: http://www.midnight-commander.org/\n"
"POT-Creation-Date: 2019-06-16 20:10+0200\n"
"POT-Creation-Date: 2019-09-01 20:04+0300\n"
"PO-Revision-Date: 2019-03-02 12:55+0000\n"
"Last-Translator: Piotr Drąg <piotrdrag@gmail.com>\n"
"Language-Team: Vietnamese (http://www.transifex.com/mc/mc/language/vi/)\n"
@ -459,6 +459,15 @@ msgstr ""
msgid "The TERM environment variable is unset!\n"
msgstr "Biến môi trườn TERM chưa được xác định!\n"
msgid "Cannot create pipe for SIGWINCH"
msgstr ""
msgid "Cannot configure write end of SIGWINCH pipe"
msgstr ""
msgid "Cannot configure read end of SIGWINCH pipe"
msgstr ""
#, c-format
msgid ""
"Screen size %dx%d is not supported.\n"
@ -1284,6 +1293,9 @@ msgstr ""
msgid "&Close"
msgstr ""
msgid "&History..."
msgstr ""
msgid "Save &as..."
msgstr ""
@ -1712,6 +1724,11 @@ msgstr ""
msgid "The shell is already running a command"
msgstr ""
msgid ""
"Not an xterm or Linux console;\n"
"the panels cannot be toggled."
msgstr ""
msgid "Type 'exit' to return to the Midnight Commander"
msgstr ""
@ -2261,11 +2278,6 @@ msgid ""
"to use this command"
msgstr ""
msgid ""
"Not an xterm or Linux console;\n"
"the panels cannot be toggled."
msgstr ""
#, c-format
msgid "'%s' is not a symbolic link"
msgstr ""
@ -2328,9 +2340,6 @@ msgid ""
"%s"
msgstr ""
msgid "Cannot read directory contents"
msgstr "Không đọc được nội dung thư mục"
msgid "Parameter"
msgstr ""
@ -3196,6 +3205,9 @@ msgstr ""
msgid "Command &history"
msgstr ""
msgid "Viewed/edited files hi&story"
msgstr ""
msgid "Di&rectory hotlist"
msgstr ""
@ -3419,6 +3431,9 @@ msgstr ""
msgid "Do you really want to execute?"
msgstr ""
msgid "Cannot read directory contents"
msgstr "Không đọc được nội dung thư mục"
msgid "User supplied format looks invalid, reverting to default."
msgstr ""
"Định dạng người dùng đưa ra có vẻ không thích hợp, chuyển lại thành mặc định."

View File

@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Midnight Commander\n"
"Report-Msgid-Bugs-To: http://www.midnight-commander.org/\n"
"POT-Creation-Date: 2019-06-16 20:10+0200\n"
"POT-Creation-Date: 2019-09-01 20:04+0300\n"
"PO-Revision-Date: 2019-03-02 12:55+0000\n"
"Last-Translator: Piotr Drąg <piotrdrag@gmail.com>\n"
"Language-Team: Walloon (http://www.transifex.com/mc/mc/language/wa/)\n"
@ -459,6 +459,15 @@ msgstr ""
msgid "The TERM environment variable is unset!\n"
msgstr "Li variåve d' evironmint TERM n' est nén metowe!\n"
msgid "Cannot create pipe for SIGWINCH"
msgstr ""
msgid "Cannot configure write end of SIGWINCH pipe"
msgstr ""
msgid "Cannot configure read end of SIGWINCH pipe"
msgstr ""
#, c-format
msgid ""
"Screen size %dx%d is not supported.\n"
@ -1282,6 +1291,9 @@ msgstr ""
msgid "&Close"
msgstr ""
msgid "&History..."
msgstr ""
msgid "Save &as..."
msgstr ""
@ -1710,6 +1722,11 @@ msgstr ""
msgid "The shell is already running a command"
msgstr ""
msgid ""
"Not an xterm or Linux console;\n"
"the panels cannot be toggled."
msgstr ""
msgid "Type 'exit' to return to the Midnight Commander"
msgstr ""
@ -2259,11 +2276,6 @@ msgid ""
"to use this command"
msgstr ""
msgid ""
"Not an xterm or Linux console;\n"
"the panels cannot be toggled."
msgstr ""
#, c-format
msgid "'%s' is not a symbolic link"
msgstr ""
@ -2326,9 +2338,6 @@ msgid ""
"%s"
msgstr ""
msgid "Cannot read directory contents"
msgstr ""
msgid "Parameter"
msgstr ""
@ -3196,6 +3205,9 @@ msgstr ""
msgid "Command &history"
msgstr ""
msgid "Viewed/edited files hi&story"
msgstr ""
msgid "Di&rectory hotlist"
msgstr ""
@ -3421,6 +3433,9 @@ msgstr ""
msgid "Do you really want to execute?"
msgstr ""
msgid "Cannot read directory contents"
msgstr ""
msgid "User supplied format looks invalid, reverting to default."
msgstr ""

View File

@ -17,7 +17,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Midnight Commander\n"
"Report-Msgid-Bugs-To: http://www.midnight-commander.org/\n"
"POT-Creation-Date: 2019-06-16 20:10+0200\n"
"POT-Creation-Date: 2019-09-01 20:04+0300\n"
"PO-Revision-Date: 2019-03-09 03:13+0000\n"
"Last-Translator: liushuyu011 <liushuyu011@gmail.com>\n"
"Language-Team: Chinese (China) (http://www.transifex.com/mc/mc/language/"
@ -490,6 +490,16 @@ msgstr "Shift 键"
msgid "The TERM environment variable is unset!\n"
msgstr "没有设置 TERM 环境变量!\n"
#, fuzzy
msgid "Cannot create pipe for SIGWINCH"
msgstr "无法创建管道数据流"
msgid "Cannot configure write end of SIGWINCH pipe"
msgstr ""
msgid "Cannot configure read end of SIGWINCH pipe"
msgstr ""
#, c-format
msgid ""
"Screen size %dx%d is not supported.\n"
@ -1372,6 +1382,10 @@ msgstr "新建(&N)"
msgid "&Close"
msgstr "关闭(&C)"
#, fuzzy
msgid "&History..."
msgstr "历史"
msgid "Save &as..."
msgstr "另存为(&A)..."
@ -1807,6 +1821,13 @@ msgstr "无法获取 %s 的本地副本"
msgid "The shell is already running a command"
msgstr "Shell 正在运行一个命令"
msgid ""
"Not an xterm or Linux console;\n"
"the panels cannot be toggled."
msgstr ""
"不是一个 xterm 或 Linux 控制台;\n"
"无法切换面板。"
msgid "Type 'exit' to return to the Midnight Commander"
msgstr "输入 'exit' 返回 Midnight Commander"
@ -2365,13 +2386,6 @@ msgstr ""
"若要使用该命令,\n"
"两个面板必需都处于列表视图模式"
msgid ""
"Not an xterm or Linux console;\n"
"the panels cannot be toggled."
msgstr ""
"不是一个 xterm 或 Linux 控制台;\n"
"无法切换面板。"
#, c-format
msgid "'%s' is not a symbolic link"
msgstr "“%s”不是一个符号链接"
@ -2438,9 +2452,6 @@ msgstr ""
"无法进入目录“%s”\n"
"%s"
msgid "Cannot read directory contents"
msgstr "无法读取目录内容"
msgid "Parameter"
msgstr "参数"
@ -3390,6 +3401,9 @@ msgstr "显示目录大小(&I)"
msgid "Command &history"
msgstr "命令历史(&H)"
msgid "Viewed/edited files hi&story"
msgstr ""
msgid "Di&rectory hotlist"
msgstr "目录活动列表(&R)"
@ -3613,6 +3627,9 @@ msgstr "取消选择"
msgid "Do you really want to execute?"
msgstr "您真的要执行吗?"
msgid "Cannot read directory contents"
msgstr "无法读取目录内容"
msgid "User supplied format looks invalid, reverting to default."
msgstr "用户提供的格式无效,回复到默认设置。"

View File

@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Midnight Commander\n"
"Report-Msgid-Bugs-To: http://www.midnight-commander.org/\n"
"POT-Creation-Date: 2019-06-16 20:10+0200\n"
"POT-Creation-Date: 2019-09-01 20:04+0300\n"
"PO-Revision-Date: 2019-03-02 12:55+0000\n"
"Last-Translator: Piotr Drąg <piotrdrag@gmail.com>\n"
"Language-Team: Chinese (Taiwan) (http://www.transifex.com/mc/mc/language/"
@ -460,6 +460,15 @@ msgstr ""
msgid "The TERM environment variable is unset!\n"
msgstr "環境變數 TERM 並未設定! \n"
msgid "Cannot create pipe for SIGWINCH"
msgstr ""
msgid "Cannot configure write end of SIGWINCH pipe"
msgstr ""
msgid "Cannot configure read end of SIGWINCH pipe"
msgstr ""
#, c-format
msgid ""
"Screen size %dx%d is not supported.\n"
@ -1285,6 +1294,9 @@ msgstr ""
msgid "&Close"
msgstr ""
msgid "&History..."
msgstr ""
msgid "Save &as..."
msgstr ""
@ -1713,6 +1725,11 @@ msgstr ""
msgid "The shell is already running a command"
msgstr ""
msgid ""
"Not an xterm or Linux console;\n"
"the panels cannot be toggled."
msgstr ""
msgid "Type 'exit' to return to the Midnight Commander"
msgstr ""
@ -2262,11 +2279,6 @@ msgid ""
"to use this command"
msgstr ""
msgid ""
"Not an xterm or Linux console;\n"
"the panels cannot be toggled."
msgstr ""
#, c-format
msgid "'%s' is not a symbolic link"
msgstr ""
@ -2329,9 +2341,6 @@ msgid ""
"%s"
msgstr ""
msgid "Cannot read directory contents"
msgstr ""
msgid "Parameter"
msgstr ""
@ -3197,6 +3206,9 @@ msgstr ""
msgid "Command &history"
msgstr ""
msgid "Viewed/edited files hi&story"
msgstr ""
msgid "Di&rectory hotlist"
msgstr ""
@ -3420,6 +3432,9 @@ msgstr ""
msgid "Do you really want to execute?"
msgstr ""
msgid "Cannot read directory contents"
msgstr ""
msgid "User supplied format looks invalid, reverting to default."
msgstr "使用者提供的格式似乎是錯誤的, 回復到預設值."

1
src/.gitignore vendored
View File

@ -6,3 +6,4 @@ Makefile
Makefile.in
mc.hlp
mc.hlp.??
man2hlp/man2hlp

View File

@ -50,10 +50,11 @@
#endif
#include "lib/event.h" /* mc_event_raise() */
#include "src/filemanager/cmd.h" /* edit_file_at_line(), view_other_cmd() */
#include "src/filemanager/cmd.h" /* edit_file_at_line() */
#include "src/filemanager/panel.h"
#include "src/filemanager/layout.h" /* Needed for get_current_index and get_other_panel */
#include "src/execute.h" /* toggle_subshell() */
#include "src/keybind-defaults.h"
#include "src/setup.h"
#include "src/history.h"
@ -2271,9 +2272,11 @@ dview_compute_split (WDiff * dview, int i)
static void
dview_compute_areas (WDiff * dview)
{
dview->height = LINES - 2;
dview->half1 = COLS / 2;
dview->half2 = COLS - dview->half1;
Widget *w = WIDGET (dview);
dview->height = w->lines - 1;
dview->half1 = w->cols / 2;
dview->half2 = w->cols - dview->half1;
dview_compute_split (dview, 0);
}
@ -3253,7 +3256,7 @@ dview_execute_cmd (WDiff * dview, long command)
dview->skip_cols = 0;
break;
case CK_Shell:
view_other_cmd ();
toggle_subshell ();
break;
case CK_Quit:
dview->view_quit = TRUE;
@ -3335,6 +3338,10 @@ dview_callback (Widget * w, Widget * sender, widget_msg_t msg, int parm, void *d
dview_update (dview);
return i;
case MSG_RESIZE:
dview_compute_areas (dview);
return MSG_HANDLED;
case MSG_DESTROY:
dview_save_options (dview);
dview_fini (dview);
@ -3374,23 +3381,6 @@ dview_mouse_callback (Widget * w, mouse_msg_t msg, mouse_event_t * event)
/* --------------------------------------------------------------------------------------------- */
static void
dview_adjust_size (WDialog * h)
{
WDiff *dview;
WButtonBar *bar;
/* Look up the viewer and the buttonbar, we assume only two widgets here */
dview = (WDiff *) find_widget_type (h, dview_callback);
bar = find_buttonbar (h);
widget_set_size (WIDGET (dview), 0, 0, LINES - 1, COLS);
widget_set_size (WIDGET (bar), LINES - 1, 0, 1, COLS);
dview_compute_areas (dview);
}
/* --------------------------------------------------------------------------------------------- */
static cb_ret_t
dview_dialog_callback (Widget * w, Widget * sender, widget_msg_t msg, int parm, void *data)
{
@ -3399,10 +3389,6 @@ dview_dialog_callback (Widget * w, Widget * sender, widget_msg_t msg, int parm,
switch (msg)
{
case MSG_RESIZE:
dview_adjust_size (h);
return MSG_HANDLED;
case MSG_ACTION:
/* Handle shortcuts. */
@ -3457,33 +3443,32 @@ diff_view (const char *file1, const char *file2, const char *label1, const char
WDiff *dview;
Widget *w;
WDialog *dview_dlg;
Widget *dw;
/* Create dialog and widgets, put them on the dialog */
dview_dlg =
dlg_create (FALSE, 0, 0, 1, 1, WPOS_FULLSCREEN, FALSE, NULL, dview_dialog_callback, NULL,
"[Diff Viewer]", NULL);
widget_want_tab (WIDGET (dview_dlg), TRUE);
dw = WIDGET (dview_dlg);
widget_want_tab (dw, TRUE);
dview = g_new0 (WDiff, 1);
w = WIDGET (dview);
widget_init (w, 0, 0, LINES - 1, COLS, dview_callback, dview_mouse_callback);
widget_init (w, dw->y, dw->x, dw->lines - 1, dw->cols, dview_callback, dview_mouse_callback);
w->options |= WOP_SELECTABLE;
add_widget_autopos (dview_dlg, w, WPOS_KEEP_ALL, NULL);
add_widget (dview_dlg, dview);
add_widget (dview_dlg, buttonbar_new (TRUE));
w = WIDGET (buttonbar_new (TRUE));
add_widget_autopos (dview_dlg, w, w->pos_flags, NULL);
dview_dlg->get_title = dview_get_title;
error = dview_init (dview, "-a", file1, file2, label1, label2, DATA_SRC_MEM); /* XXX binary diff? */
/* Please note that if you add another widget,
* you have to modify dview_adjust_size to
* be aware of it
*/
if (error == 0)
dlg_run (dview_dlg);
if (error != 0 || widget_get_state (WIDGET (dview_dlg), WST_CLOSED))
if (error != 0 || widget_get_state (dw, WST_CLOSED))
dlg_destroy (dview_dlg);
return error == 0 ? 1 : 0;

View File

@ -2806,7 +2806,7 @@ edit_search_cmd (WEdit * edit, gboolean again)
/* find last search string in history */
GList *history;
history = history_get (MC_HISTORY_SHARED_SEARCH);
history = mc_config_history_get (MC_HISTORY_SHARED_SEARCH);
if (history != NULL && history->data != NULL)
{
edit->last_search_string = (char *) history->data;

View File

@ -57,7 +57,8 @@
#include "src/keybind-defaults.h" /* keybind_lookup_keymap_command() */
#include "src/setup.h" /* home_dir */
#include "src/filemanager/cmd.h" /* view_other_cmd(), save_setup_cmd() */
#include "src/execute.h" /* toggle_subshell() */
#include "src/filemanager/cmd.h" /* save_setup_cmd() */
#include "src/learn.h" /* learn_keys() */
#include "src/args.h" /* mcedit_arg_t */
@ -177,31 +178,6 @@ edit_help (void)
mc_event_raise (MCEVENT_GROUP_CORE, "help", &event_data);
}
/* --------------------------------------------------------------------------------------------- */
/**
* Callback for the iteration of objects in the 'editors' array.
* Resize the editor window.
*
* @param data probably WEdit object
* @param user_data unused
*/
static void
edit_dialog_resize_cb (void *data, void *user_data)
{
Widget *w = WIDGET (data);
(void) user_data;
if (edit_widget_is_editor (w) && ((WEdit *) w)->fullscreen)
{
Widget *wh = WIDGET (w->owner);
w->lines = wh->lines - 2;
w->cols = wh->cols;
}
}
/* --------------------------------------------------------------------------------------------- */
/**
* Restore saved window size.
@ -467,7 +443,7 @@ edit_dialog_command_execute (WDialog * h, long command)
edit_refresh_cmd ();
break;
case CK_Shell:
view_other_cmd ();
toggle_subshell ();
break;
case CK_LearnKeys:
learn_keys ();
@ -770,8 +746,6 @@ edit_update_cursor (WEdit * edit, const mouse_event_t * event)
static cb_ret_t
edit_dialog_callback (Widget * w, Widget * sender, widget_msg_t msg, int parm, void *data)
{
WMenuBar *menubar;
WButtonBar *buttonbar;
WDialog *h = DIALOG (w);
switch (msg)
@ -787,15 +761,8 @@ edit_dialog_callback (Widget * w, Widget * sender, widget_msg_t msg, int parm, v
return MSG_HANDLED;
case MSG_RESIZE:
menubar = find_menubar (h);
buttonbar = find_buttonbar (h);
/* dlg_set_size() is surplus for this case */
w->lines = LINES;
w->cols = COLS;
widget_set_size (WIDGET (buttonbar), w->lines - 1, w->x, 1, w->cols);
widget_set_size (WIDGET (menubar), w->y, w->x, 1, w->cols);
menubar_arrange (menubar);
g_list_foreach (h->widgets, (GFunc) edit_dialog_resize_cb, NULL);
dlg_default_callback (w, NULL, MSG_RESIZE, 0, NULL);
menubar_arrange (find_menubar (h));
return MSG_HANDLED;
case MSG_ACTION:
@ -1221,6 +1188,7 @@ edit_files (const GList * files)
static gboolean made_directory = FALSE;
WDialog *edit_dlg;
WMenuBar *menubar;
Widget *w;
const GList *file;
gboolean ok = FALSE;
@ -1250,11 +1218,13 @@ edit_files (const GList * files)
edit_dlg->get_shortcut = edit_get_shortcut;
edit_dlg->get_title = edit_get_title;
menubar = menubar_new (0, 0, COLS, NULL, TRUE);
add_widget (edit_dlg, menubar);
menubar = menubar_new (NULL, TRUE);
w = WIDGET (menubar);
add_widget_autopos (edit_dlg, w, w->pos_flags, NULL);
edit_init_menu (menubar);
add_widget (edit_dlg, buttonbar_new (TRUE));
w = WIDGET (buttonbar_new (TRUE));
add_widget_autopos (edit_dlg, w, w->pos_flags, NULL);
for (file = files; file != NULL; file = g_list_next (file))
{
@ -1380,7 +1350,7 @@ edit_add_window (WDialog * h, int y, int x, int lines, int cols, const vfs_path_
w->callback = edit_callback;
w->mouse_callback = edit_mouse_callback;
add_widget (h, w);
add_widget_autopos (h, w, WPOS_KEEP_ALL, NULL);
edit_set_buttonbar (edit, find_buttonbar (h));
dlg_redraw (h);
@ -1516,18 +1486,25 @@ edit_handle_move_resize (WEdit * edit, long command)
void
edit_toggle_fullscreen (WEdit * edit)
{
Widget *w = WIDGET (edit);
edit->fullscreen = !edit->fullscreen;
edit->force = REDRAW_COMPLETELY;
if (!edit->fullscreen)
{
edit_restore_size (edit);
/* do not follow screen size on resize */
w->pos_flags = WPOS_KEEP_DEFAULT;
}
else
{
Widget *w = WIDGET (edit);
Widget *h = WIDGET (w->owner);
edit_save_size (edit);
widget_set_size (w, h->y + 1, h->x, h->lines - 2, h->cols);
/* follow screen size on resize */
w->pos_flags = WPOS_KEEP_ALL;
edit->force |= REDRAW_PAGE;
edit_update_screen (edit);
}

View File

@ -446,14 +446,26 @@ shell_execute (const char *command, int flags)
/* --------------------------------------------------------------------------------------------- */
void
toggle_panels (void)
toggle_subshell (void)
{
static gboolean message_flag = TRUE;
#ifdef ENABLE_SUBSHELL
vfs_path_t *new_dir_vpath = NULL;
#endif /* ENABLE_SUBSHELL */
SIG_ATOMIC_VOLATILE_T was_sigwinch = 0;
if (!(mc_global.tty.xterm_flag || mc_global.tty.console_flag != '\0'
|| mc_global.tty.use_subshell || output_starts_shell))
{
if (message_flag)
message (D_ERROR, MSG_ERROR,
_("Not an xterm or Linux console;\nthe panels cannot be toggled."));
message_flag = FALSE;
return;
}
channels_down ();
disable_mouse ();
disable_bracketed_paste ();

View File

@ -32,7 +32,7 @@ extern int pause_after_run;
void shell_execute (const char *command, int flags);
/* Handle toggling panels by Ctrl-O */
void toggle_panels (void);
void toggle_subshell (void);
/* Handle toggling panels by Ctrl-Z */
gboolean execute_suspend (const gchar * event_group_name, const gchar * event_name,

View File

@ -1060,7 +1060,7 @@ tree_box (const char *current_dir)
#ifdef ENABLE_VFS
void
configure_vfs (void)
configure_vfs_box (void)
{
char buffer2[BUF_TINY];
#ifdef ENABLE_VFS_FTP
@ -1151,7 +1151,7 @@ configure_vfs (void)
/* --------------------------------------------------------------------------------------------- */
char *
cd_dialog (void)
cd_box (void)
{
const Widget *w = CONST_WIDGET (current_panel);
char *my_str;
@ -1174,8 +1174,8 @@ cd_dialog (void)
/* --------------------------------------------------------------------------------------------- */
void
symlink_dialog (const vfs_path_t * existing_vpath, const vfs_path_t * new_vpath,
char **ret_existing, char **ret_new)
symlink_box (const vfs_path_t * existing_vpath, const vfs_path_t * new_vpath,
char **ret_existing, char **ret_new)
{
quick_widget_t quick_widgets[] = {
/* *INDENT-OFF* */
@ -1208,7 +1208,7 @@ symlink_dialog (const vfs_path_t * existing_vpath, const vfs_path_t * new_vpath,
#ifdef ENABLE_BACKGROUND
void
jobs_cmd (void)
jobs_box (void)
{
struct
{

View File

@ -26,11 +26,11 @@ int panel_listing_box (WPanel * p, int num, char **user, char **mini, gboolean *
const panel_field_t *sort_box (dir_sort_options_t * op, const panel_field_t * sort_field);
void confirm_box (void);
void display_bits_box (void);
void configure_vfs (void);
void jobs_cmd (void);
char *cd_dialog (void);
void symlink_dialog (const vfs_path_t * existing_vpath, const vfs_path_t * new_vpath,
char **ret_existing, char **ret_new);
void configure_vfs_box (void);
void jobs_box (void);
char *cd_box (void);
void symlink_box (const vfs_path_t * existing_vpath, const vfs_path_t * new_vpath,
char **ret_existing, char **ret_new);
char *tree_box (const char *current_dir);
/*** inline functions ****************************************************************************/

View File

@ -90,7 +90,7 @@
#include "command.h" /* cmdline */
#include "layout.h" /* get_current_type() */
#include "ext.h" /* regex_command() */
#include "boxes.h" /* cd_dialog() */
#include "boxes.h" /* cd_box() */
#include "dir.h"
#include "cmd.h" /* Our definitions */
@ -109,7 +109,9 @@
enum CompareMode
{
compare_quick, compare_size_only, compare_thourough
compare_quick = 0,
compare_size_only,
compare_thourough
};
/*** file scope variables ************************************************************************/
@ -133,15 +135,11 @@ do_view_cmd (gboolean normal)
{
vfs_path_t *fname_vpath;
if (confirm_view_dir && (current_panel->marked || current_panel->dirs_marked))
{
if (query_dialog
(_("Confirmation"), _("Files tagged, want to cd?"), D_NORMAL, 2,
_("&Yes"), _("&No")) != 0)
{
return;
}
}
if (confirm_view_dir && (current_panel->marked != 0 || current_panel->dirs_marked != 0) &&
query_dialog (_("Confirmation"), _("Files tagged, want to cd?"), D_NORMAL, 2,
_("&Yes"), _("&No")) != 0)
return;
fname_vpath = vfs_path_from_str (selection (current_panel)->fname);
if (!do_cd (fname_vpath, cd_exact))
message (D_ERROR, MSG_ERROR, _("Cannot change directory"));
@ -244,6 +242,7 @@ compare_files (const vfs_path_t * vpath1, const vfs_path_t * vpath2, off_t size)
/* Don't have mmap() :( Even more ugly :) */
char buf1[BUFSIZ], buf2[BUFSIZ];
int n1, n2;
rotate_dash (TRUE);
do
{
@ -290,10 +289,9 @@ compare_dir (WPanel * panel, WPanel * other, enum CompareMode mode)
/* Search the corresponding entry from the other panel */
for (j = 0; j < other->dir.len; j++)
{
if (strcmp (source->fname, other->dir.list[j].fname) == 0)
break;
}
if (j >= other->dir.len)
/* Not found -> mark */
do_file_mark (panel, i, 1);
@ -303,19 +301,17 @@ compare_dir (WPanel * panel, WPanel * other, enum CompareMode mode)
file_entry_t *target = &other->dir.list[j];
if (mode != compare_size_only)
{
/* Older version is not marked */
if (source->st.st_mtime < target->st.st_mtime)
continue;
}
/* Newer version with different size is marked */
if (source->st.st_size != target->st.st_size)
{
do_file_mark (panel, i, 1);
continue;
}
if (mode == compare_size_only)
continue;
@ -324,9 +320,8 @@ compare_dir (WPanel * panel, WPanel * other, enum CompareMode mode)
/* Thorough compare off, compare only time stamps */
/* Mark newer version, don't mark version with the same date */
if (source->st.st_mtime > target->st.st_mtime)
{
do_file_mark (panel, i, 1);
}
continue;
}
@ -362,6 +357,7 @@ do_link (link_type_t link_type, const char *fname)
input_expand_dialog (_("Link"), src, MC_HISTORY_FM_LINK, "", INPUT_COMPLETE_FILENAMES);
if (dest == NULL || *dest == '\0')
goto cleanup;
save_cwds_stat ();
fname_vpath = vfs_path_from_str (fname);
@ -393,12 +389,13 @@ do_link (link_type_t link_type, const char *fname)
g_free (s_str);
}
symlink_dialog (s, d, &dest, &src);
symlink_box (s, d, &dest, &src);
vfs_path_free (d);
vfs_path_free (s);
if (dest == NULL || *dest == '\0' || src == NULL || *src == '\0')
goto cleanup;
save_cwds_stat ();
dest_vpath = vfs_path_from_str_flags (dest, VPF_NO_CANON);
@ -777,6 +774,7 @@ void
copy_cmd (void)
{
save_cwds_stat ();
if (panel_operate (current_panel, OP_COPY, FALSE))
{
update_panels (UP_OPTIMIZE, UP_KEEPSEL);
@ -791,6 +789,7 @@ void
rename_cmd (void)
{
save_cwds_stat ();
if (panel_operate (current_panel, OP_MOVE, FALSE))
{
update_panels (UP_OPTIMIZE, UP_KEEPSEL);
@ -805,6 +804,7 @@ void
copy_cmd_local (void)
{
save_cwds_stat ();
if (panel_operate (current_panel, OP_COPY, TRUE))
{
update_panels (UP_OPTIMIZE, UP_KEEPSEL);
@ -819,6 +819,7 @@ void
rename_cmd_local (void)
{
save_cwds_stat ();
if (panel_operate (current_panel, OP_MOVE, TRUE))
{
update_panels (UP_OPTIMIZE, UP_KEEPSEL);
@ -862,16 +863,16 @@ mkdir_cmd (void)
}
save_cwds_stat ();
if (my_mkdir (absdir, 0777) == 0)
if (my_mkdir (absdir, 0777) != 0)
message (D_ERROR, MSG_ERROR, "%s", unix_error_string (errno));
else
{
update_panels (UP_OPTIMIZE, dir);
repaint_screen ();
select_item (current_panel);
}
else
{
message (D_ERROR, MSG_ERROR, "%s", unix_error_string (errno));
}
vfs_path_free (absdir);
}
g_free (dir);
@ -920,13 +921,13 @@ find_cmd (void)
void
filter_cmd (void)
{
WPanel *p;
if (SELECTED_IS_PANEL)
{
WPanel *p;
if (!SELECTED_IS_PANEL)
return;
p = MENU_PANEL;
set_panel_filter (p);
p = MENU_PANEL;
set_panel_filter (p);
}
}
/* --------------------------------------------------------------------------------------------- */
@ -950,15 +951,13 @@ void
ext_cmd (void)
{
vfs_path_t *extdir_vpath;
int dir;
int dir = 0;
dir = 0;
if (geteuid () == 0)
{
dir = query_dialog (_("Extension file edit"),
_("Which extension file you want to edit?"), D_NORMAL, 2,
_("&User"), _("&System Wide"));
}
extdir_vpath = vfs_path_build_filename (mc_global.sysconfig_dir, MC_LIB_EXT, (char *) NULL);
if (dir == 0)
@ -980,6 +979,7 @@ ext_cmd (void)
}
do_edit (extdir_vpath);
}
vfs_path_free (extdir_vpath);
flush_extension_file ();
}
@ -1050,16 +1050,13 @@ void
edit_fhl_cmd (void)
{
vfs_path_t *fhlfile_vpath = NULL;
int dir = 0;
int dir;
dir = 0;
if (geteuid () == 0)
{
dir = query_dialog (_("Highlighting groups file edit"),
_("Which highlighting file you want to edit?"), D_NORMAL, 2,
_("&User"), _("&System Wide"));
}
fhlfile_vpath =
vfs_path_build_filename (mc_global.sysconfig_dir, MC_FHL_INI_FILE, (char *) NULL);
@ -1082,8 +1079,8 @@ edit_fhl_cmd (void)
}
do_edit (fhlfile_vpath);
}
vfs_path_free (fhlfile_vpath);
vfs_path_free (fhlfile_vpath);
/* refresh highlighting rules */
mc_fhl_free (&mc_filehighlight);
mc_filehighlight = mc_fhl_new (TRUE);
@ -1120,9 +1117,12 @@ hotlist_cmd (void)
do_cd_command (cmd);
g_free (cmd);
}
g_free (target);
}
/* --------------------------------------------------------------------------------------------- */
#ifdef ENABLE_VFS
void
vfs_list (void)
@ -1131,7 +1131,7 @@ vfs_list (void)
vfs_path_t *target_vpath;
target = hotlist_show (LIST_VFSLIST);
if (!target)
if (target == NULL)
return;
target_vpath = vfs_path_from_str (target);
@ -1166,10 +1166,8 @@ compare_dirs_cmd (void)
compare_dir (other_panel, current_panel, thorough_flag);
}
else
{
message (D_ERROR, MSG_ERROR,
_("Both panels should be in the listing mode\nto use this command"));
}
}
/* --------------------------------------------------------------------------------------------- */
@ -1179,18 +1177,18 @@ void
diff_view_cmd (void)
{
/* both panels must be in the list mode */
if (get_current_type () != view_listing || get_other_type () != view_listing)
return;
if (get_current_type () == view_listing && get_other_type () == view_listing)
{
if (get_current_index () == 0)
dview_diff_cmd (current_panel, other_panel);
else
dview_diff_cmd (other_panel, current_panel);
if (get_current_index () == 0)
dview_diff_cmd (current_panel, other_panel);
else
dview_diff_cmd (other_panel, current_panel);
if (mc_global.mc_run_mode == MC_RUN_FULL)
update_panels (UP_OPTIMIZE, UP_KEEPSEL);
if (mc_global.mc_run_mode == MC_RUN_FULL)
update_panels (UP_OPTIMIZE, UP_KEEPSEL);
dialog_switch_process_pending ();
dialog_switch_process_pending ();
}
}
#endif
@ -1206,27 +1204,6 @@ swap_cmd (void)
/* --------------------------------------------------------------------------------------------- */
void
view_other_cmd (void)
{
static int message_flag = TRUE;
if (!mc_global.tty.xterm_flag && mc_global.tty.console_flag == '\0'
&& !mc_global.tty.use_subshell && !output_starts_shell)
{
if (message_flag)
message (D_ERROR, MSG_ERROR,
_("Not an xterm or Linux console;\nthe panels cannot be toggled."));
message_flag = FALSE;
}
else
{
toggle_panels ();
}
}
/* --------------------------------------------------------------------------------------------- */
void
link_cmd (link_type_t link_type)
{
@ -1386,12 +1363,14 @@ undelete_cmd (void)
void
quick_cd_cmd (void)
{
char *p = cd_dialog ();
char *p;
if (p && *p)
p = cd_box ();
if (p != NULL && *p != '\0')
{
char *q = g_strconcat ("cd ", p, (char *) NULL);
char *q;
q = g_strconcat ("cd ", p, (char *) NULL);
do_cd_command (q);
g_free (q);
}
@ -1482,8 +1461,8 @@ dirsizes_cmd (void)
for (i = 0; i < panel->dir.len; i++)
if (S_ISDIR (panel->dir.list[i].st.st_mode)
&& ((panel->dirs_marked && panel->dir.list[i].f.marked)
|| !panel->dirs_marked) && !DIR_IS_DOTDOT (panel->dir.list[i].fname))
&& ((panel->dirs_marked != 0 && panel->dir.list[i].f.marked)
|| panel->dirs_marked == 0) && !DIR_IS_DOTDOT (panel->dir.list[i].fname))
{
vfs_path_t *p;
size_t dir_count = 0;

View File

@ -80,7 +80,6 @@ void panel_tree_cmd (void);
void link_cmd (link_type_t link_type);
void edit_symlink_cmd (void);
void swap_cmd (void);
void view_other_cmd (void);
void quick_cd_cmd (void);
void save_setup_cmd (void);
void user_file_menu_cmd (void);

View File

@ -42,14 +42,12 @@
#include "lib/fs.h"
#include "lib/strutil.h"
#include "lib/util.h"
#include "lib/widget.h" /* message() */
#include "src/setup.h" /* panels_options */
#include "treestore.h"
#include "file.h" /* file_is_symlink_to_dir() */
#include "dir.h"
#include "layout.h" /* rotate_dash() */
/*** global variables ****************************************************************************/
@ -73,7 +71,7 @@ static gboolean case_sensitive = OS_SORT_CASE_SENSITIVE_DEFAULT;
/* Are the exec_bit files top in list */
static gboolean exec_first = TRUE;
static dir_list dir_copy = { NULL, 0, 0 };
static dir_list dir_copy = { NULL, 0, 0, NULL };
/*** file scope functions ************************************************************************/
/* --------------------------------------------------------------------------------------------- */
@ -147,11 +145,10 @@ clean_sort_keys (dir_list * list, int start, int count)
*/
static gboolean
handle_dirent (struct dirent *dp, const char *fltr, struct stat *buf1, int *link_to_dir,
int *stale_link)
handle_dirent (struct dirent *dp, const char *fltr, struct stat *buf1, gboolean * link_to_dir,
gboolean * stale_link)
{
vfs_path_t *vpath;
gboolean stale;
if (DIR_IS_DOT (dp->d_name) || DIR_IS_DOTDOT (dp->d_name))
return FALSE;
@ -175,12 +172,11 @@ handle_dirent (struct dirent *dp, const char *fltr, struct stat *buf1, int *link
tree_store_mark_checked (dp->d_name);
/* A link to a file or a directory? */
*link_to_dir = file_is_symlink_to_dir (vpath, buf1, &stale) ? 1 : 0;
*stale_link = stale ? 1 : 0;
*link_to_dir = file_is_symlink_to_dir (vpath, buf1, stale_link);
vfs_path_free (vpath);
return (S_ISDIR (buf1->st_mode) || *link_to_dir != 0 || fltr == NULL
return (S_ISDIR (buf1->st_mode) || *link_to_dir || fltr == NULL
|| mc_search (fltr, NULL, dp->d_name, MC_SEARCH_T_GLOB));
}
@ -585,7 +581,7 @@ dir_list_init (dir_list * list)
/* Return values: FALSE = don't add, TRUE = add to the list */
gboolean
handle_path (const char *path, struct stat * buf1, int *link_to_dir, int *stale_link)
handle_path (const char *path, struct stat * buf1, gboolean * link_to_dir, gboolean * stale_link)
{
vfs_path_t *vpath;
@ -603,8 +599,8 @@ handle_path (const char *path, struct stat * buf1, int *link_to_dir, int *stale_
tree_store_mark_checked (path);
/* A link to a file or a directory? */
*link_to_dir = 0;
*stale_link = 0;
*link_to_dir = FALSE;
*stale_link = FALSE;
if (S_ISLNK (buf1->st_mode))
{
struct stat buf2;
@ -612,7 +608,7 @@ handle_path (const char *path, struct stat * buf1, int *link_to_dir, int *stale_
if (mc_stat (vpath, &buf2) == 0)
*link_to_dir = S_ISDIR (buf2.st_mode) != 0;
else
*stale_link = 1;
*stale_link = TRUE;
}
vfs_path_free (vpath);
@ -622,31 +618,30 @@ handle_path (const char *path, struct stat * buf1, int *link_to_dir, int *stale_
/* --------------------------------------------------------------------------------------------- */
void
gboolean
dir_list_load (dir_list * list, const vfs_path_t * vpath, GCompareFunc sort,
const dir_sort_options_t * sort_op, const char *fltr)
{
DIR *dirp;
struct dirent *dp;
int link_to_dir, stale_link;
struct stat st;
file_entry_t *fentry;
const char *vpath_str;
gboolean ret = TRUE;
/* ".." (if any) must be the first entry in the list */
if (!dir_list_init (list))
return;
return FALSE;
fentry = &list->list[0];
if (dir_get_dotdot_stat (vpath, &st))
fentry->st = st;
if (list->callback != NULL)
list->callback (DIR_OPEN, (void *) vpath);
dirp = mc_opendir (vpath);
if (dirp == NULL)
{
message (D_ERROR, MSG_ERROR, _("Cannot read directory contents"));
return;
}
return FALSE;
tree_store_start_check (vpath);
@ -655,24 +650,29 @@ dir_list_load (dir_list * list, const vfs_path_t * vpath, GCompareFunc sort,
if (IS_PATH_SEP (vpath_str[0]) && vpath_str[1] == '\0')
dir_list_clean (list);
while ((dp = mc_readdir (dirp)) != NULL)
while (ret && (dp = mc_readdir (dirp)) != NULL)
{
gboolean link_to_dir, stale_link;
if (list->callback != NULL)
list->callback (DIR_READ, dp);
if (!handle_dirent (dp, fltr, &st, &link_to_dir, &stale_link))
continue;
if (!dir_list_append (list, dp->d_name, &st, link_to_dir != 0, stale_link != 0))
goto ret;
if ((list->len & 31) == 0)
rotate_dash (TRUE);
if (!dir_list_append (list, dp->d_name, &st, link_to_dir, stale_link))
ret = FALSE;
}
dir_list_sort (list, sort, sort_op);
if (ret)
dir_list_sort (list, sort, sort_op);
ret:
if (list->callback != NULL)
list->callback (DIR_CLOSE, NULL);
mc_closedir (dirp);
tree_store_end_check ();
rotate_dash (FALSE);
return ret;
}
/* --------------------------------------------------------------------------------------------- */
@ -690,25 +690,27 @@ if_link_is_exe (const vfs_path_t * full_name_vpath, const file_entry_t * file)
/* --------------------------------------------------------------------------------------------- */
/** If fltr is null, then it is a match */
void
gboolean
dir_list_reload (dir_list * list, const vfs_path_t * vpath, GCompareFunc sort,
const dir_sort_options_t * sort_op, const char *fltr)
{
DIR *dirp;
struct dirent *dp;
int i, link_to_dir, stale_link;
int i;
struct stat st;
int marked_cnt;
GHashTable *marked_files;
const char *tmp_path;
gboolean ret = TRUE;
if (list->callback != NULL)
list->callback (DIR_OPEN, (void *) vpath);
dirp = mc_opendir (vpath);
if (dirp == NULL)
{
message (D_ERROR, MSG_ERROR, _("Cannot read directory contents"));
dir_list_clean (list);
dir_list_init (list);
return;
return FALSE;
}
tree_store_start_check (vpath);
@ -754,7 +756,7 @@ dir_list_reload (dir_list * list, const vfs_path_t * vpath, GCompareFunc sort,
if (!dir_list_init (list))
{
dir_list_free_list (&dir_copy);
return;
return FALSE;
}
if (dir_get_dotdot_stat (vpath, &st))
@ -766,56 +768,48 @@ dir_list_reload (dir_list * list, const vfs_path_t * vpath, GCompareFunc sort,
}
}
while ((dp = mc_readdir (dirp)) != NULL)
while (ret && (dp = mc_readdir (dirp)) != NULL)
{
file_entry_t *fentry;
gboolean link_to_dir, stale_link;
if (list->callback != NULL)
list->callback (DIR_READ, dp);
if (!handle_dirent (dp, fltr, &st, &link_to_dir, &stale_link))
continue;
if (!dir_list_append (list, dp->d_name, &st, link_to_dir != 0, stale_link != 0))
if (!dir_list_append (list, dp->d_name, &st, link_to_dir, stale_link))
ret = FALSE;
else
{
mc_closedir (dirp);
/* Norbert (Feb 12, 1997):
Just in case someone finds this memory leak:
-1 means big trouble (at the moment no memory left),
I don't bother with further cleanup because if one gets to
this point he will have more problems than a few memory
leaks and because one 'dir_list_clean' would not be enough (and
because I don't want to spent the time to make it working,
IMHO it's not worthwhile).
dir_list_clean (&dir_copy);
file_entry_t *fentry;
fentry = &list->list[list->len - 1];
/*
* If we have marked files in the copy, scan through the copy
* to find matching file. Decrease number of remaining marks if
* we copied one.
*/
tree_store_end_check ();
g_hash_table_destroy (marked_files);
return;
fentry->f.marked = (marked_cnt > 0
&& g_hash_table_lookup (marked_files, dp->d_name) != NULL);
if (fentry->f.marked)
marked_cnt--;
}
fentry = &list->list[list->len - 1];
fentry->f.marked = 0;
/*
* If we have marked files in the copy, scan through the copy
* to find matching file. Decrease number of remaining marks if
* we copied one.
*/
if (marked_cnt > 0 && g_hash_table_lookup (marked_files, dp->d_name) != NULL)
{
fentry->f.marked = 1;
marked_cnt--;
}
if ((list->len & 15) == 0)
rotate_dash (TRUE);
}
if (ret)
dir_list_sort (list, sort, sort_op);
if (list->callback != NULL)
list->callback (DIR_CLOSE, NULL);
mc_closedir (dirp);
tree_store_end_check ();
g_hash_table_destroy (marked_files);
dir_list_sort (list, sort, sort_op);
dir_list_free_list (&dir_copy);
rotate_dash (FALSE);
return ret;
}
/* --------------------------------------------------------------------------------------------- */

View File

@ -16,6 +16,16 @@
#define DIR_LIST_MIN_SIZE 128
#define DIR_LIST_RESIZE_STEP 128
typedef enum
{
DIR_OPEN = 0,
DIR_READ,
DIR_CLOSE
} dir_list_cb_state_t;
/* dir_list callback */
typedef void (*dir_list_cb_fn) (dir_list_cb_state_t state, void *data);
/*** enums ***************************************************************************************/
/*** structures declarations (and typedefs of structures)*****************************************/
@ -28,6 +38,7 @@ typedef struct
file_entry_t *list; /**< list of file_entry_t objects */
int size; /**< number of allocated elements in list (capacity) */
int len; /**< number of used elements in list */
dir_list_cb_fn callback; /**< callback to visualize of directory read */
} dir_list;
/**
@ -48,15 +59,16 @@ gboolean dir_list_grow (dir_list * list, int delta);
gboolean dir_list_append (dir_list * list, const char *fname, const struct stat *st,
gboolean link_to_dir, gboolean stale_link);
void dir_list_load (dir_list * list, const vfs_path_t * vpath, GCompareFunc sort,
const dir_sort_options_t * sort_op, const char *fltr);
void dir_list_reload (dir_list * list, const vfs_path_t * vpath, GCompareFunc sort,
const dir_sort_options_t * sort_op, const char *fltr);
gboolean dir_list_load (dir_list * list, const vfs_path_t * vpath, GCompareFunc sort,
const dir_sort_options_t * sort_op, const char *fltr);
gboolean dir_list_reload (dir_list * list, const vfs_path_t * vpath, GCompareFunc sort,
const dir_sort_options_t * sort_op, const char *fltr);
void dir_list_sort (dir_list * list, GCompareFunc sort, const dir_sort_options_t * sort_op);
gboolean dir_list_init (dir_list * list);
void dir_list_clean (dir_list * list);
void dir_list_free_list (dir_list * list);
gboolean handle_path (const char *path, struct stat *buf1, int *link_to_dir, int *stale_link);
gboolean handle_path (const char *path, struct stat *buf1, gboolean * link_to_dir,
gboolean * stale_link);
/* Sorting functions */
int unsorted (file_entry_t * a, file_entry_t * b);

View File

@ -905,9 +905,9 @@ insert_file (const char *dir, const char *file, gsize start, gsize end)
while (IS_PATH_SEP (dir[0]) && IS_PATH_SEP (dir[1]))
dir++;
if (old_dir)
if (old_dir != NULL)
{
if (strcmp (old_dir, dir))
if (strcmp (old_dir, dir) != 0)
{
g_free (old_dir);
old_dir = g_strdup (dir);
@ -1065,6 +1065,7 @@ search_content (WDialog * h, const char *directory, const char *filename)
while (!ret_val)
{
char ch = '\0';
off += i + 1; /* the previous line, plus a newline character */
i = 0;
@ -1148,6 +1149,7 @@ search_content (WDialog * h, const char *directory, const char *filename)
if ((line & 0xff) == 0)
{
FindProgressStatus res;
res = check_find_events (h);
switch (res)
{
@ -1247,9 +1249,6 @@ find_rotate_dash (const WDialog * h, gboolean show)
static const char rotating_dash[4] = "|/-\\";
const Widget *w = CONST_WIDGET (h);
if (!verbose)
return;
tty_setcolor (h->color[DLG_COLOR_NORMAL]);
widget_move (h, w->lines - 7, w->cols - 4);
tty_print_char (show ? rotating_dash[pos] : ' ');
@ -1315,7 +1314,8 @@ do_search (WDialog * h)
ignore_count), ignore_count);
status_update (msg);
}
find_rotate_dash (h, FALSE);
if (verbose)
find_rotate_dash (h, FALSE);
stop_idle (h);
return 0;
}
@ -1401,7 +1401,8 @@ do_search (WDialog * h)
;
} /* for */
find_rotate_dash (h, TRUE);
if (verbose)
find_rotate_dash (h, TRUE);
return 1;
}
@ -1772,7 +1773,6 @@ do_find (const char *start_dir, ssize_t start_dir_len, const char *ignore_dirs,
if (return_value == B_PANELIZE && *filename)
{
int link_to_dir, stale_link;
int i;
struct stat st;
GList *entry;
@ -1789,6 +1789,7 @@ do_find (const char *start_dir, ssize_t start_dir_len, const char *ignore_dirs,
WLEntry *le = LENTRY (entry->data);
find_match_location_t *location = le->data;
char *p;
gboolean link_to_dir, stale_link;
if ((le->text == NULL) || (location == NULL) || (location->dir == NULL))
continue;
@ -1832,8 +1833,8 @@ do_find (const char *start_dir, ssize_t start_dir_len, const char *ignore_dirs,
list->list[list->len].fnamelen = strlen (p);
list->list[list->len].fname = g_strndup (p, list->list[list->len].fnamelen);
list->list[list->len].f.marked = 0;
list->list[list->len].f.link_to_dir = link_to_dir;
list->list[list->len].f.stale_link = stale_link;
list->list[list->len].f.link_to_dir = link_to_dir ? 1 : 0;
list->list[list->len].f.stale_link = stale_link ? 1 : 0;
list->list[list->len].f.dir_size_computed = 0;
list->list[list->len].st = st;
list->list[list->len].sort_key = NULL;

View File

@ -204,12 +204,14 @@ check_split (panels_layout_t * layout)
}
else
{
int md_cols = CONST_WIDGET (midnight_dlg)->cols;
if (layout->vertical_equal)
layout->left_panel_size = COLS / 2;
layout->left_panel_size = md_cols / 2;
else if (layout->left_panel_size < MINWIDTH)
layout->left_panel_size = MINWIDTH;
else if (layout->left_panel_size > COLS - MINWIDTH)
layout->left_panel_size = COLS - MINWIDTH;
else if (layout->left_panel_size > md_cols - MINWIDTH)
layout->left_panel_size = md_cols - MINWIDTH;
}
}
@ -240,7 +242,7 @@ update_split (const WDialog * h)
if (panels_layout.horizontal_split)
tty_printf ("%03d", height - panels_layout.top_panel_size);
else
tty_printf ("%03d", COLS - panels_layout.left_panel_size);
tty_printf ("%03d", CONST_WIDGET (midnight_dlg)->cols - panels_layout.left_panel_size);
widget_move (h, 6, 12);
tty_print_char ('=');
@ -331,6 +333,7 @@ layout_callback (Widget * w, Widget * sender, widget_msg_t msg, int parm, void *
case MSG_POST_KEY:
{
const Widget *mw = CONST_WIDGET (midnight_dlg);
int _menubar_visible, _command_prompt, _keybar_visible, _message_visible;
_menubar_visible = check_options[1].widget->state;
@ -338,15 +341,19 @@ layout_callback (Widget * w, Widget * sender, widget_msg_t msg, int parm, void *
_keybar_visible = check_options[3].widget->state;
_message_visible = check_options[4].widget->state;
if (mc_global.tty.console_flag != '\0')
if (mc_global.tty.console_flag == '\0')
height =
mw->lines - _keybar_visible - _command_prompt - _menubar_visible -
_output_lines - _message_visible;
else
{
int minimum;
if (_output_lines < 0)
_output_lines = 0;
height =
LINES - _keybar_visible - _command_prompt - _menubar_visible - _output_lines -
_message_visible;
mw->lines - _keybar_visible - _command_prompt - _menubar_visible -
_output_lines - _message_visible;
minimum = MINHEIGHT * (1 + panels_layout.horizontal_split);
if (height < minimum)
{
@ -354,10 +361,6 @@ layout_callback (Widget * w, Widget * sender, widget_msg_t msg, int parm, void *
height = minimum;
}
}
else
height =
LINES - _keybar_visible - _command_prompt - _menubar_visible - _output_lines -
_message_visible;
if (old_output_lines != _output_lines)
{
@ -372,7 +375,9 @@ layout_callback (Widget * w, Widget * sender, widget_msg_t msg, int parm, void *
case MSG_NOTIFY:
if (sender == WIDGET (radio_widget))
{
if (panels_layout.horizontal_split != radio_widget->sel)
if (panels_layout.horizontal_split == radio_widget->sel)
update_split (h);
else
{
int eq;
@ -388,7 +393,7 @@ layout_callback (Widget * w, Widget * sender, widget_msg_t msg, int parm, void *
{
eq = panels_layout.vertical_equal;
if (eq)
panels_layout.left_panel_size = COLS / 2;
panels_layout.left_panel_size = CONST_WIDGET (midnight_dlg)->cols / 2;
}
widget_disable (WIDGET (bleft_widget), eq);
@ -398,8 +403,6 @@ layout_callback (Widget * w, Widget * sender, widget_msg_t msg, int parm, void *
layout_change ();
do_refresh ();
}
else
update_split (h);
return MSG_HANDLED;
}
@ -672,7 +675,8 @@ layout_box (void)
void
panel_update_cols (Widget * widget, panel_display_t frame_size)
{
int cols, origin;
const Widget *mw = CONST_WIDGET (midnight_dlg);
int cols, x;
/* don't touch panel if it is not in dialog yet */
/* if panel is not in dialog it is not in widgets list
@ -682,28 +686,28 @@ panel_update_cols (Widget * widget, panel_display_t frame_size)
if (panels_layout.horizontal_split)
{
widget->cols = COLS;
widget->cols = mw->cols;
return;
}
if (frame_size == frame_full)
{
cols = COLS;
origin = 0;
cols = mw->cols;
x = mw->x;
}
else if (widget == get_panel_widget (0))
{
cols = panels_layout.left_panel_size;
origin = 0;
x = mw->x;
}
else
{
cols = COLS - panels_layout.left_panel_size;
origin = panels_layout.left_panel_size;
cols = mw->cols - panels_layout.left_panel_size;
x = mw->x + panels_layout.left_panel_size;
}
widget->cols = cols;
widget->x = origin;
widget->x = x;
}
/* --------------------------------------------------------------------------------------------- */
@ -711,17 +715,48 @@ panel_update_cols (Widget * widget, panel_display_t frame_size)
void
setup_panels (void)
{
/* File manager screen layout:
*
* +---------------------------------------------------------------+
* | Menu bar |
* +-------------------------------+-------------------------------+
* | | |
* | | |
* | | |
* | | |
* | Left panel | Right panel |
* | | |
* | | |
* | | |
* | | |
* +-------------------------------+-------------------------------+
* | Hint (message) bar |
* +---------------------------------------------------------------+
* | |
* | Console content |
* | |
* +--------+------------------------------------------------------+
* | Prompt | Command line |
* | Key (button) bar |
* +--------+------------------------------------------------------+
*/
const Widget *mw = CONST_WIDGET (midnight_dlg);
int start_y;
/* iniitial height of panels */
height =
mw->lines - menubar_visible - mc_global.message_visible - (command_prompt ? 1 : 0) -
mc_global.keybar_visible;
if (mc_global.tty.console_flag != '\0')
{
int minimum;
if (output_lines < 0)
output_lines = 0;
height =
LINES - mc_global.keybar_visible - (command_prompt ? 1 : 0) - menubar_visible -
output_lines - mc_global.message_visible;
else
height -= output_lines;
minimum = MINHEIGHT * (1 + panels_layout.horizontal_split);
if (height < minimum)
{
@ -729,15 +764,12 @@ setup_panels (void)
height = minimum;
}
}
else
{
height =
LINES - menubar_visible - (command_prompt ? 1 : 0) - mc_global.keybar_visible -
mc_global.message_visible;
}
widget_set_size (WIDGET (the_menubar), mw->y, mw->x, 1, mw->cols);
menubar_set_visible (the_menubar, menubar_visible);
check_split (&panels_layout);
start_y = menubar_visible;
start_y = mw->y + menubar_visible;
/* update columns first... */
panel_do_cols (0);
@ -746,19 +778,35 @@ setup_panels (void)
/* ...then rows and origin */
if (panels_layout.horizontal_split)
{
widget_set_size (panels[0].widget, start_y, 0, panels_layout.top_panel_size,
panels[0].widget->cols);
widget_set_size (panels[1].widget, start_y + panels_layout.top_panel_size, 0,
height - panels_layout.top_panel_size, panels[1].widget->cols);
widget_set_size (panels[0].widget, start_y, panels[0].widget->x,
panels_layout.top_panel_size, panels[0].widget->cols);
widget_set_size (panels[1].widget, start_y + panels_layout.top_panel_size,
panels[1].widget->x, height - panels_layout.top_panel_size,
panels[1].widget->cols);
}
else
{
widget_set_size (panels[0].widget, start_y, 0, height, panels[0].widget->cols);
widget_set_size (panels[0].widget, start_y, panels[0].widget->x, height,
panels[0].widget->cols);
widget_set_size (panels[1].widget, start_y, panels[1].widget->x, height,
panels[1].widget->cols);
}
widget_set_size (WIDGET (the_menubar), 0, 0, 1, COLS);
if (mc_global.message_visible)
widget_set_size (WIDGET (the_hint), height + start_y, mw->x, 1, mw->cols);
else
/* make invisible */
widget_set_size (WIDGET (the_hint), 0, 0, 0, 0);
/* Output window */
if (mc_global.tty.console_flag != '\0' && output_lines)
{
output_start_y =
mw->lines - (command_prompt ? 1 : 0) - mc_global.keybar_visible - output_lines;
show_console_contents (output_start_y,
mw->lines - output_lines - mc_global.keybar_visible - 1,
mw->lines - mc_global.keybar_visible - 1);
}
if (command_prompt)
{
@ -769,27 +817,14 @@ setup_panels (void)
}
else
{
/* make invisible */
widget_set_size (WIDGET (cmdline), 0, 0, 0, 0);
widget_set_size (WIDGET (the_prompt), LINES, COLS, 0, 0);
widget_set_size (WIDGET (the_prompt), mw->lines, mw->cols, 0, 0);
}
widget_set_size (WIDGET (the_bar), LINES - 1, 0, mc_global.keybar_visible, COLS);
widget_set_size (WIDGET (the_bar), mw->lines - 1, mw->x, mc_global.keybar_visible, mw->cols);
buttonbar_set_visible (the_bar, mc_global.keybar_visible);
/* Output window */
if (mc_global.tty.console_flag != '\0' && output_lines)
{
output_start_y = LINES - (command_prompt ? 1 : 0) - mc_global.keybar_visible - output_lines;
show_console_contents (output_start_y,
LINES - output_lines - mc_global.keybar_visible - 1,
LINES - mc_global.keybar_visible - 1);
}
if (mc_global.message_visible)
widget_set_size (WIDGET (the_hint), height + start_y, 0, 1, COLS);
else
widget_set_size (WIDGET (the_hint), 0, 0, 0, 0);
update_xterm_title_path ();
}
@ -851,6 +886,7 @@ panels_split_less (void)
void
setup_cmdline (void)
{
const Widget *mw = CONST_WIDGET (midnight_dlg);
int prompt_width;
int y;
char *tmp_prompt = (char *) mc_prompt;
@ -866,11 +902,11 @@ setup_cmdline (void)
prompt_width = str_term_width1 (tmp_prompt);
/* Check for prompts too big */
if (COLS > 8 && prompt_width > COLS - 8)
if (mw->cols > 8 && prompt_width > mw->cols - 8)
{
int prompt_len;
prompt_width = COLS - 8;
prompt_width = mw->cols - 8;
prompt_len = str_offset_to_pos (tmp_prompt, prompt_width);
tmp_prompt[prompt_len] = '\0';
}
@ -884,11 +920,11 @@ setup_cmdline (void)
}
#endif
y = LINES - 1 - mc_global.keybar_visible;
y = mw->lines - 1 - mc_global.keybar_visible;
widget_set_size (WIDGET (the_prompt), y, 0, 1, prompt_width);
widget_set_size (WIDGET (the_prompt), y, mw->x, 1, prompt_width);
label_set_text (the_prompt, mc_prompt);
widget_set_size (WIDGET (cmdline), y, prompt_width, 1, COLS - prompt_width);
widget_set_size (WIDGET (cmdline), y, mw->x + prompt_width, 1, mw->cols - prompt_width);
}
/* --------------------------------------------------------------------------------------------- */
@ -917,7 +953,7 @@ set_hintbar (const char *str)
void
rotate_dash (gboolean show)
{
Widget *w = WIDGET (midnight_dlg);
const Widget *w = CONST_WIDGET (midnight_dlg);
if (!nice_rotating_dash || (ok_to_refresh <= 0))
return;
@ -944,11 +980,12 @@ rotate_dash (gboolean show)
const char *
get_nth_panel_name (int num)
{
if (!num)
if (num == 0)
return "New Left Panel";
else if (num == 1)
if (num == 1)
return "New Right Panel";
else
{
static char buffer[BUF_SMALL];
@ -1009,14 +1046,16 @@ create_panel (int num, panel_view_mode_t type)
if (old_type == view_listing && panel->frame_size == frame_full && type != view_listing)
{
int md_cols = CONST_WIDGET (midnight_dlg)->cols;
if (panels_layout.horizontal_split)
{
cols = COLS;
cols = md_cols;
x = 0;
}
else
{
cols = COLS - panels_layout.left_panel_size;
cols = md_cols - panels_layout.left_panel_size;
if (num == 1)
x = panels_layout.left_panel_size;
}
@ -1255,10 +1294,7 @@ get_panel_widget (int idx)
int
get_current_index (void)
{
if (panels[0].widget == WIDGET (current_panel))
return 0;
else
return 1;
return (panels[0].widget == WIDGET (current_panel) ? 0 : 1);
}
/* --------------------------------------------------------------------------------------------- */
@ -1266,7 +1302,7 @@ get_current_index (void)
int
get_other_index (void)
{
return !get_current_index ();
return (get_current_index () == 0 ? 1 : 0);
}
/* --------------------------------------------------------------------------------------------- */
@ -1283,10 +1319,7 @@ get_other_panel (void)
panel_view_mode_t
get_current_type (void)
{
if (panels[0].widget == WIDGET (current_panel))
return panels[0].type;
else
return panels[1].type;
return (panels[0].widget == WIDGET (current_panel) ? panels[0].type : panels[1].type);
}
/* --------------------------------------------------------------------------------------------- */
@ -1295,10 +1328,7 @@ get_current_type (void)
panel_view_mode_t
get_other_type (void)
{
if (panels[0].widget == WIDGET (current_panel))
return panels[1].type;
else
return panels[0].type;
return (panels[0].widget == WIDGET (current_panel) ? panels[1].type : panels[0].type);
}
/* --------------------------------------------------------------------------------------------- */
@ -1307,16 +1337,20 @@ get_other_type (void)
void
save_panel_dir (int idx)
{
panel_view_mode_t type = get_panel_type (idx);
Widget *widget = get_panel_widget (idx);
panel_view_mode_t type;
if ((type == view_listing) && (widget != NULL))
type = get_panel_type (idx);
if (type == view_listing)
{
WPanel *w = PANEL (widget);
WPanel *p;
g_free (panels[idx].last_saved_dir); /* last path no needed */
/* Because path can be nonlocal */
panels[idx].last_saved_dir = g_strdup (vfs_path_as_str (w->cwd_vpath));
p = PANEL (get_panel_widget (idx));
if (p != NULL)
{
g_free (panels[idx].last_saved_dir); /* last path no needed */
/* Because path can be nonlocal */
panels[idx].last_saved_dir = g_strdup (vfs_path_as_str (p->cwd_vpath));
}
}
}

View File

@ -58,6 +58,7 @@
#ifdef ENABLE_SUBSHELL
#include "src/subshell/subshell.h"
#endif
#include "src/execute.h" /* toggle_subshell */
#include "src/setup.h" /* variables */
#include "src/learn.h" /* learn_keys() */
#include "src/keybind-defaults.h"
@ -921,7 +922,7 @@ create_file_manager (void)
/* allow rebind tab */
widget_want_tab (WIDGET (midnight_dlg), TRUE);
the_menubar = menubar_new (0, 0, COLS, NULL, menubar_visible);
the_menubar = menubar_new (NULL, menubar_visible);
add_widget (midnight_dlg, the_menubar);
init_menu ();
@ -930,7 +931,7 @@ create_file_manager (void)
add_widget (midnight_dlg, get_panel_widget (1));
the_hint = label_new (0, 0, 0);
the_hint->transparent = 1;
the_hint->transparent = TRUE;
the_hint->auto_adjust_cols = 0;
WIDGET (the_hint)->cols = COLS;
add_widget (midnight_dlg, the_hint);
@ -1167,7 +1168,7 @@ midnight_execute_cmd (Widget * sender, long command)
break;
#ifdef ENABLE_VFS
case CK_OptionsVfs:
configure_vfs ();
configure_vfs_box ();
break;
#endif
case CK_OptionsConfirm:
@ -1286,7 +1287,7 @@ midnight_execute_cmd (Widget * sender, long command)
break;
#ifdef ENABLE_BACKGROUND
case CK_Jobs:
jobs_cmd ();
jobs_box ();
break;
#endif
case CK_OptionsLayout:
@ -1367,7 +1368,7 @@ midnight_execute_cmd (Widget * sender, long command)
res = send_message (current_panel, midnight_dlg, MSG_ACTION, command, NULL);
break;
case CK_Shell:
view_other_cmd ();
toggle_subshell ();
break;
case CK_DirSize:
smart_dirsize_cmd ();
@ -1507,9 +1508,7 @@ midnight_callback (Widget * w, Widget * sender, widget_msg_t msg, int parm, void
return MSG_HANDLED;
case MSG_RESIZE:
/* dlg_set_size() is surplus for this case */
w->lines = LINES;
w->cols = COLS;
widget_adjust_position (w->pos_flags, &w->y, &w->x, &w->lines, &w->cols);
setup_panels ();
menubar_arrange (the_menubar);
return MSG_HANDLED;

View File

@ -85,7 +85,7 @@
hook_t *select_file_hook = NULL;
/* *INDENT-OFF* */
panelized_panel_t panelized_panel = { {NULL, 0, -1}, NULL };
panelized_panel_t panelized_panel = { {NULL, 0, -1, NULL}, NULL };
/* *INDENT-ON* */
static const char *string_file_name (file_entry_t *, int);
@ -1433,9 +1433,9 @@ panel_load_history (const gchar * event_group_name, const gchar * event_name,
if (ev->receiver == NULL || ev->receiver == WIDGET (p))
{
if (ev->cfg != NULL)
p->dir_history = history_load (ev->cfg, p->hist_name);
p->dir_history = mc_config_history_load (ev->cfg, p->hist_name);
else
p->dir_history = history_get (p->hist_name);
p->dir_history = mc_config_history_get (p->hist_name);
directory_history_add (p, p->cwd_vpath);
}
@ -1459,7 +1459,7 @@ panel_save_history (const gchar * event_group_name, const gchar * event_name,
{
ev_history_load_save_t *ev = (ev_history_load_save_t *) data;
history_save (ev->cfg, p->hist_name, p->dir_history);
mc_config_history_save (ev->cfg, p->hist_name, p->dir_history);
}
return TRUE;
@ -3277,8 +3277,10 @@ _do_panel_cd (WPanel * panel, const vfs_path_t * new_dir_vpath, enum cd_enum cd_
/* Reload current panel */
panel_clean_dir (panel);
dir_list_load (&panel->dir, panel->cwd_vpath, panel->sort_field->sort_routine,
&panel->sort_info, panel->filter);
if (!dir_list_load (&panel->dir, panel->cwd_vpath, panel->sort_field->sort_routine,
&panel->sort_info, panel->filter))
message (D_ERROR, MSG_ERROR, _("Cannot read directory contents"));
try_to_select (panel, get_parent_dir_name (panel->cwd_vpath, olddir_vpath));
load_hint (FALSE);
@ -4177,6 +4179,36 @@ panel_recursive_cd_to_parent (const vfs_path_t * vpath)
return cwd_vpath;
}
/* --------------------------------------------------------------------------------------------- */
static void
panel_dir_list_callback (dir_list_cb_state_t state, void *data)
{
static int count = 0;
(void) data;
switch (state)
{
case DIR_OPEN:
count = 0;
break;
case DIR_READ:
count++;
if ((count & 15) == 0)
rotate_dash (TRUE);
break;
case DIR_CLOSE:
rotate_dash (FALSE);
break;
default:
g_assert_not_reached ();
}
}
/* --------------------------------------------------------------------------------------------- */
/*** public functions ****************************************************************************/
/* --------------------------------------------------------------------------------------------- */
@ -4268,6 +4300,7 @@ panel_sized_empty_new (const char *panel_name, int y, int x, int lines, int cols
panel->dir.size = DIR_LIST_MIN_SIZE;
panel->dir.list = g_new (file_entry_t, panel->dir.size);
panel->dir.len = 0;
panel->dir.callback = panel_dir_list_callback;
panel->list_cols = 1;
panel->brief_cols = 2;
@ -4364,8 +4397,9 @@ panel_sized_with_dir_new (const char *panel_name, int y, int x, int lines, int c
}
/* Load the default format */
dir_list_load (&panel->dir, panel->cwd_vpath, panel->sort_field->sort_routine,
&panel->sort_info, panel->filter);
if (!dir_list_load (&panel->dir, panel->cwd_vpath, panel->sort_field->sort_routine,
&panel->sort_info, panel->filter))
message (D_ERROR, MSG_ERROR, _("Cannot read directory contents"));
/* Restore old right path */
if (curdir != NULL)
@ -4411,8 +4445,9 @@ panel_reload (WPanel * panel)
memset (&(panel->dir_stat), 0, sizeof (panel->dir_stat));
show_dir (panel);
dir_list_reload (&panel->dir, panel->cwd_vpath, panel->sort_field->sort_routine,
&panel->sort_info, panel->filter);
if (!dir_list_reload (&panel->dir, panel->cwd_vpath, panel->sort_field->sort_routine,
&panel->sort_info, panel->filter))
message (D_ERROR, MSG_ERROR, _("Cannot read directory contents"));
panel->dirty = 1;
if (panel->selected >= panel->dir.len)

View File

@ -321,7 +321,7 @@ do_external_panelize (char *command)
char line[MC_MAXPATHLEN];
size_t len;
char *name;
int link_to_dir, stale_link;
gboolean link_to_dir, stale_link;
struct stat st;
clearerr (external);
@ -345,7 +345,7 @@ do_external_panelize (char *command)
if (!handle_path (name, &st, &link_to_dir, &stale_link))
continue;
if (!dir_list_append (list, name, &st, link_to_dir != 0, stale_link != 0))
if (!dir_list_append (list, name, &st, link_to_dir, stale_link))
break;
file_mark (current_panel, list->len - 1, 0);

View File

@ -36,7 +36,7 @@
#include "lib/tty/tty.h"
#include "lib/tty/key.h"
#include "lib/mcconfig.h"
#include "lib/mcconfig.h" /* num_history_items_recorded */
#include "lib/fileloc.h"
#include "lib/timefmt.h"
#include "lib/util.h"

View File

@ -24,10 +24,12 @@
*/
#include <config.h>
#include <sys/wait.h>
#include <signal.h> /* kill() */
#include <sys/types.h>
#include <sys/wait.h> /* waitpid() */
#include "lib/global.h"
#include "lib/widget.h"
#include "src/setup.h" /* quit */
#include "src/filemanager/midnight.h" /* current_panel */

View File

@ -25,3 +25,5 @@ uzip
uzoo
uace
uarc
uc1541
ulib

View File

@ -452,7 +452,6 @@ fish_set_env (int flags)
GString *tmp;
tmp = g_string_sized_new (250);
g_string_assign (tmp, "");
if ((flags & FISH_HAVE_HEAD) != 0)
g_string_append (tmp, "FISH_HAVE_HEAD=1 export FISH_HAVE_HEAD; ");

View File

@ -58,9 +58,9 @@
#include "lib/charsets.h"
#endif
#include "lib/event.h" /* mc_event_raise() */
#include "lib/mcconfig.h" /* mc_config_history_get() */
#include "src/filemanager/layout.h"
#include "src/filemanager/cmd.h"
#include "src/filemanager/midnight.h" /* current_panel */
#include "src/filemanager/ext.h" /* regex_command_for() */
@ -140,7 +140,7 @@ mcview_continue_search_cmd (WView * view)
/* find last search string in history */
GList *history;
history = history_get (MC_HISTORY_SHARED_SEARCH);
history = mc_config_history_get (MC_HISTORY_SHARED_SEARCH);
if (history != NULL && history->data != NULL)
{
view->last_search_string = (gchar *) g_strdup (history->data);
@ -300,30 +300,39 @@ mcview_load_next_prev_init (WView * view)
/* TODO: check mtime of directory to reload it */
const char *fname;
size_t fname_len;
int i;
dir_sort_options_t sort_op = { FALSE, TRUE, FALSE };
/* load directory where requested file is */
view->dir = g_new0 (dir_list, 1);
view->dir_idx = g_new (int, 1);
dir_list_load (view->dir, view->workdir_vpath, (GCompareFunc) sort_name, &sort_op, NULL);
fname = x_basename (vfs_path_as_str (view->filename_vpath));
fname_len = strlen (fname);
/* search current file in the list */
for (i = 0; i != view->dir->len; i++)
if (dir_list_load
(view->dir, view->workdir_vpath, (GCompareFunc) sort_name, &sort_op, NULL))
{
const file_entry_t *fe = &view->dir->list[i];
const char *fname;
size_t fname_len;
int i;
if (fname_len == fe->fnamelen && strncmp (fname, fe->fname, fname_len) == 0)
break;
fname = x_basename (vfs_path_as_str (view->filename_vpath));
fname_len = strlen (fname);
/* search current file in the list */
for (i = 0; i != view->dir->len; i++)
{
const file_entry_t *fe = &view->dir->list[i];
if (fname_len == fe->fnamelen && strncmp (fname, fe->fname, fname_len) == 0)
break;
}
*view->dir_idx = i;
}
else
{
message (D_ERROR, MSG_ERROR, _("Cannot read directory contents"));
MC_PTR_FREE (view->dir);
MC_PTR_FREE (view->dir_idx);
}
*view->dir_idx = i;
}
}
@ -537,7 +546,7 @@ mcview_execute_cmd (WView * view, long command)
mcview_moveto_bottom (view);
break;
case CK_Shell:
view_other_cmd ();
toggle_subshell ();
break;
case CK_Ruler:
mcview_display_toggle_ruler (view);
@ -622,18 +631,8 @@ mcview_handle_key (WView * view, int key)
/* --------------------------------------------------------------------------------------------- */
static inline void
mcview_adjust_size (WDialog * h)
mcview_resize (WView * view)
{
WView *view;
WButtonBar *b;
/* Look up the viewer and the buttonbar, we assume only two widgets here */
view = (WView *) find_widget_type (h, mcview_callback);
b = find_buttonbar (h);
widget_set_size (WIDGET (view), 0, 0, LINES - 1, COLS);
widget_set_size (WIDGET (b), LINES - 1, 0, 1, COLS);
view->dpy_wrap_dirty = TRUE;
mcview_compute_areas (view);
mcview_update_bytes_per_line (view);
@ -725,6 +724,10 @@ mcview_callback (Widget * w, Widget * sender, widget_msg_t msg, int parm, void *
mcview_update (view);
return MSG_HANDLED;
case MSG_RESIZE:
mcview_resize (view);
return MSG_HANDLED;
case MSG_DESTROY:
if (mcview_is_in_panel (view))
{
@ -773,10 +776,6 @@ mcview_dialog_callback (Widget * w, Widget * sender, widget_msg_t msg, int parm,
switch (msg)
{
case MSG_RESIZE:
mcview_adjust_size (h);
return MSG_HANDLED;
case MSG_ACTION:
/* Handle shortcuts. */

View File

@ -234,16 +234,19 @@ mcview_viewer (const char *command, const vfs_path_t * file_vpath, int start_lin
gboolean succeeded;
WView *lc_mcview;
WDialog *view_dlg;
Widget *vw, *b;
/* Create dialog and widgets, put them on the dialog */
view_dlg = dlg_create (FALSE, 0, 0, 1, 1, WPOS_FULLSCREEN, FALSE, NULL, mcview_dialog_callback,
NULL, "[Internal File Viewer]", NULL);
widget_want_tab (WIDGET (view_dlg), TRUE);
vw = WIDGET (view_dlg);
widget_want_tab (vw, TRUE);
lc_mcview = mcview_new (0, 0, LINES - 1, COLS, FALSE);
add_widget (view_dlg, lc_mcview);
lc_mcview = mcview_new (vw->y, vw->x, vw->lines - 1, vw->cols, FALSE);
add_widget_autopos (view_dlg, lc_mcview, WPOS_KEEP_ALL, NULL);
add_widget (view_dlg, buttonbar_new (TRUE));
b = WIDGET (buttonbar_new (TRUE));
add_widget_autopos (view_dlg, b, b->pos_flags, NULL);
view_dlg->get_title = mcview_get_title;
@ -256,7 +259,7 @@ mcview_viewer (const char *command, const vfs_path_t * file_vpath, int start_lin
else
dlg_stop (view_dlg);
if (widget_get_state (WIDGET (view_dlg), WST_CLOSED))
if (widget_get_state (vw, WST_CLOSED))
dlg_destroy (view_dlg);
return succeeded;

Some files were not shown because too many files have changed in this diff Show More