рассылка русскоязычной группы пользователей и разработчиков KDE
 help / color / mirror / Atom feed
From: Alexander Potashev <aspotashev@gmail.com>
To: KDE russian translation mailing list <kde-russian@lists.kde.ru>
Subject: Re: [kde-russian] kamoso-3.0
Date: Wed, 23 Sep 2015 14:03:13 +0300
Message-ID: <CADMG6+9kgJLLBOsBdtnwFzMkaLEkmbjRqFTi_7NmO191E9kq9Q@mail.gmail.com> (raw)
In-Reply-To: <841111442962022@web23g.yandex.ru>

23 сентября 2015 г., 1:47 пользователь Виктор <victorr2007@ya.ru> написал:
> Доброй ночи!
> Если Вы в курсе, подскажите пожалуйста, как заставить работать
> дополнительные локали.
> Отображается только на английском.
> Пробовал добавить в CMakeLists.txt строку
> add_definitions(-DTRANSLATION_DOMAIN=\"kamoso\")
> но результата ноль.

Добрый день, Виктор,

Сейчас буду гадать на кофейной гуще. Особенность kamoso в том, что
большая часть кода написана на QML, а add_definitions() передаёт
параметры только в C/C++.

По ссылке [1] есть информация о том, как заставить работать вызов
i18n() в QML. В
kamoso/src/video/webcamcontrol.cpp присутствует почти вся процедура,
но почему-то отсутствует вызов
kdeclarative.initialize();. Сам не смог протестировать в добавленным
этим вызовом, поэтому предлагаю сделать это Вам :)

[1] https://techbase.kde.org/Development/Tutorials/Localization/i18n#QML

-- 
Alexander Potashev

       reply	other threads:[~2015-09-23 11:03 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-09-23 11:03 ` Alexander Potashev [this message]
2015-09-23 20:01     ` Alexander Potashev

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=CADMG6+9kgJLLBOsBdtnwFzMkaLEkmbjRqFTi_7NmO191E9kq9Q@mail.gmail.com \
    --to=aspotashev@gmail.com \
    --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