[Kommander-devel] plugin notices

Alexander Fischer alexanderfischer at o2online.de
Sat Mar 29 17:59:44 EDT 2008


Hello, 

i have the problem with the non-i18n standard dialogs in every situation. The problem is not, that the .kmdr script itself isn't translated. This works well. The problem is only with the input_... function dialogs. And my OpenWithDlg has the same problem. 
My kde default language is german. 
I tried

~ kmdr-editor 
~ env KDE_LANG=de_DE kmdr-editor 
and then called an example.kmdr with the kmdr-executor from inside kmdr-editor

~ kmdr-executor ./example.kmdr
~ env KDE_LANG=de_DE kmdr-executor ./example.kmdr

I18n with po and mo files works well, except of the input_... functions and the plugin which are only availabe in english. I checked this on another Non-Slackware system but there's the same.


cu alex

-- Ursprüngl. Mitteil. --
Betreff:	Re: [Kommander-devel] plugin notices
Von:	Andras Mantia <amantia at kde.org>
Datum:		29.03.2008 19:49

Hi,

On Saturday 29 March 2008, Alexander Fischer wrote:
> addWidget( "%{APPNAME}", "Custom", i18n("Kommander %{APPNAME}
> plugin."), new
> QIconSet(KGlobal::iconLoader()->loadIcon("%{APPNAMELC}",
> KIcon::NoGroup, KIcon::SizeMedium)) );
>
> I would say there should be either a comment like
>
> /*If you don't plan to use an
> unique self-constructed icon to your plugin, change the first
> parameter in function loadIcon to a KDE default icon of your choice.
> Note that this icon must be unique inside kmdr-editor.*/

I can add it, if you think it makes easier the life of developers.

> Another point is, the plugin template is only available as new
> project while I run kdevelop as C and C++ IDE ("kdevelop --profile
> CandCppIDE") and is not available while running kdevelop as KDE IDE
> (kdevelop --profile KDECppIDE). This was confusing to me because
> kommander is a KDE app and of course the plugin should be likewise.

You're right, it does not show up there (I don't know why), but it is 
written in the documentation to check the "Show all project templates" 
option.

> The next point is, a fact I never realized before playing with my
> OpenWithDlg plugin, that all dialogs using standard kde/qt functions
> (input_color, input_directory, input_...) are only available in
> english, even if there are locales installed and the kmdr-editor is
> using a language different to english. I don't know if this is a real
> problem but I wondered. This is especially amazing as kmdr-executor
> makes use of  the i18n function inside kmdr-scripts.

I don't understand this, but well, might be some issues. In theory a 
Kommander dialog should run in the translated language if the 
translation is available. Can you test if this is editor specific, or 
happens also in the executor?

Andras
-- 
 
Quanta Plus developer - http://quanta.kdewebdev.org
K Desktop Environment - http://www.kde.org


_______________________________________________
Kommander-devel mailing list
Kommander-devel at mail.kdewebdev.org
http://mail.kdewebdev.org/mailman/listinfo/kommander-devel


<<signature.asc>>




More information about the Kommander-devel mailing list