рассылка русскоязычной группы пользователей и разработчиков KDE
 help / color / mirror / Atom feed
From: "Черепанов Андрей" <sibskull@mail.ru>
To: KDE russian translation mailing list <kde-russian@lists.kde.ru>
Subject: Re: [kde-russian] Надо разобраться..
Date: Tue, 03 Feb 2004 09:05:34 +0300
Message-ID: <401F3A2E.50707@mail.ru> (raw)
In-Reply-To: <200402021131.04012.zerg@altlinux.org>

Sergey V Turchin пишет:
> В сообщении от 1 Февраль 2004 01:34 Vitaly Lipatov написал(a):
> 
>>On Wednesday 21 January 2004 13:00, Черепанов Андрей wrote:
>>
>>>http://www.linux.org.ru/profile/Skull/view-message.jsp?msgid=4
>>>67937&back=view-group.jsp%3Fgroup%3D1339
>>>
>>>kmix и русские названия шкал
>>>Приветствую! есть kde-3.1.5 на Slackware-9.1 пользуюсь kmix
>>>(1.91) по-русски говорит, но русские названия шкал
>>>показываются вопросами проблема - не проблема, а не приятно
>>>kde-3.1.4 был, то же самое что можно сделать?
>>
>>В ALT недавно какой-то патч наложили, теперь всё красиво.
>>Посмотрите src.rpm
> 
> Я вот так сделал
> 
> 
> 
> ------------------------------------------------------------------------
> 
> --- kdemultimedia-3.1.4/kmix/VerticalText.cpp~	2004-01-29 12:16:01 +0300
> +++ kdemultimedia-3.1.4/kmix/VerticalText.cpp	2004-01-29 12:16:56 +0300
> @@ -38,5 +38,5 @@
>      //kdDebug() << "paintEvent()\n";
>  	QPainter paint(this);
>  	paint.rotate(270);
> -	paint.drawText(-height()+2,width(),name());
> +	paint.drawText( -height()+2, width(), QString::fromUtf8(name()) );
>  }
> --- kdemultimedia-3.1.4/kmix/mixdevicewidget.cpp~	2004-01-29 11:21:51 +0300
> +++ kdemultimedia-3.1.4/kmix/mixdevicewidget.cpp	2004-01-29 11:22:13 +0300
> @@ -170,7 +170,7 @@
>     // create label
>     GET_NEWLAYOUT( labelAndSliders );
>     //m_label = new QLabel( m_mixdevice->name(), this );
> -   m_label = new VerticalText( this, m_mixdevice->name().latin1() );
> +   m_label = new VerticalText( this, m_mixdevice->name().utf8().data() );
>     //m_label->setAlignment( AlignCenter | AlignVCenter );
>     m_label->hide();
>     labelAndSliders->addWidget( m_label );
Пожалуйста, открой баг и отправь патч разработчику.

-- 
Черепанов Андрей
sibskull@mail.ru





  reply	other threads:[~2004-02-03  6:05 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-01-21 10:00 Черепанов Андрей
2004-01-31 22:34 ` Vitaly Lipatov
2004-02-02  8:31   ` Sergey V Turchin
2004-02-03  6:05     ` Черепанов Андрей [this message]
2004-02-03  6:29       ` Sergey V Turchin
2004-02-03  6:36       ` Sergey V Turchin
2004-02-03  6:39       ` Re[2]: " Gregory Mokhin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=401F3A2E.50707@mail.ru \
    --to=sibskull@mail.ru \
    --cc=kde-russian@lists.kde.ru \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

рассылка русскоязычной группы пользователей и разработчиков KDE

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/kde-russian/0 kde-russian/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 kde-russian kde-russian/ http://lore.altlinux.org/kde-russian \
		kde-russian@lists.kde.ru
	public-inbox-index kde-russian

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.kde-russian


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git