Package: mc
Version: 1:4.6.1-2
Severity: normal
Tags: l10n

To reproduce: in the ru_RU.UTF-8 locale, try to copy a file. You'll see the following dialog:

────────────────────────────────── Копирование ─────────────────────────────────
ировать файл "Clay0101.mp3" с исходным шаблоном:

                                                               [x] Метасимволы s

dia/flash1/Duval
 Разыменовывать ссылки                                [ ] Внутрь каталога, если
 Сохранять атрибуты                               [ ] Сохранять символические сс
                    [< Дальше >]   [ В фоне ]   [ Прервать ]

I.e., because mc somewhere uses string length in bytes instead of its width in character-cells, the dialog becomes (wrongly) wider than the screen. One cannot even tell if the "Сохранять атрибуты" ("Preserve attributes") checkbox is checked.

In ru_RU.KOI8-R, when one character is one byte and one character cell, the dialog width is normal:

│/..                                                                           │
│*Clay0 ┌──────────────────────── Копирование ────────────────────────┐ 2 15:44│
│*Clay0 │ Копировать файл "Clay0101.mp3" с исходным шаблоном:         │ 2 15:44│
│*Clay0 │ *                                                       [^] │ 2 15:44│
│*Clay0 │                                       [x] Метасимволы shell │ 2 15:44│
│*Clay0 │ в:                                                          │ 2 15:44│
│*Clay0 │ /media/flash1/Duval                                     [^] │ 2 15:44│
│*Clay0 │ [ ] Разыменовывать ссылки    [ ] Внутрь каталога, если есть │ 2 15:44│
│*Clay0 │ [x] Сохранять атрибуты   [ ] Сохранять символические ссылки │ 2 15:44│
│*Clay0 │          [< Дальше >]   [ В фоне ]   [ Прервать ]           │ 2 15:44│
│*Clay0 │                                                             │ 2 15:44│
│*Clay0 └─────────────────────────────────────────────────────────────┘ 2 15:44│
│*Clay0                                                                 2 15:44│
│

-- System Information:
Debian Release: testing/unstable
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.15-1-686
Locale: LANG=ru_RU.UTF-8, LC_CTYPE=ru_RU.UTF-8 (charmap=UTF-8)

Versions of packages mc depends on:
ii  libc6                         2.3.6-3    GNU C Library: Shared libraries an
ii  libglib2.0-0                  2.10.1-2   The GLib library of C routines
ii  libgpmg1                      1.19.6-22  General Purpose Mouse - shared lib
ii  libslang2                     2.0.5-3    The S-Lang programming library - r

mc recommends no packages.

-- no debconf information



Reply via email to