Re: [Junior job] Re: translations of qml plasmoids

2011-11-03 Thread Burkhard Lück
Am Donnerstag, 20. Oktober 2011, 16:59:43 schrieb Marco Martin:
 On Thursday 20 October 2011, Burkhard Lück wrote:
   so,
   the translation of the activity screen plasmoid worked,
  
  Really?
  I see only that message extraction works, but don't find a loadcatalog
  call.
  
  Did you run activity screen plasmoid in locale x-test
  (http://techbase.kde.org/Development/Tutorials/Localization/Building_KDE'
  s_ l10n_Module)?
 
 the qml scriptengine adds a catalog named as the plugin name, so in this
 case org.kde.active.activityscreen

The catalog can not be loaded, installation of files named as  
org.kde.active.activityscreen.po fails with this error message:

CMake Error: Attempt to add a custom rule to output 
/home/kdedev/svn/build/l10n-x-test/messages/playground-base/org.gmo.rule 
which already has a custom rule.
-- Configuring incomplete, errors occurred!

Broken i18n-wise, sigh...

-- 
Burkhard Lück
___
Plasma-devel mailing list
Plasma-devel@kde.org
https://mail.kde.org/mailman/listinfo/plasma-devel


Re: [Junior job] Re: translations of qml plasmoids

2011-11-03 Thread Marco Martin
On Thursday 03 November 2011, Burkhard Lück wrote:

 
 The catalog can not be loaded, installation of files named as
 org.kde.active.activityscreen.po fails with this error message:
 
 CMake Error: Attempt to add a custom rule to output
 /home/kdedev/svn/build/l10n-x-test/messages/playground-base/org.gmo.rule
 which already has a custom rule.
 -- Configuring incomplete, errors occurred!
 
 Broken i18n-wise, sigh...

what this error actually means?

-- 
Marco Martin
___
Plasma-devel mailing list
Plasma-devel@kde.org
https://mail.kde.org/mailman/listinfo/plasma-devel


Re: [Junior job] Re: translations of qml plasmoids

2011-10-20 Thread Anne-Marie Mahfouf
On Wednesday, October 19, 2011 02:09:56 PM Marco Martin wrote:
 On Tuesday 18 October 2011, Marco Martin wrote:
  Hi all,
  as an experiment, i've put a Messages.sh (hopefully adapted to work on
  qml) that should extract messages from the activityscreen containment
  and produce a pot file called as the plugin name.
  
  the plasma-mobile project on projects.kde.org now has master as i18n
  trunk branch..
  
  ..anything else to be done ?
 
 so,
 the translation of the activity screen plasmoid worked,
 http://websvn.kde.org/trunk/l10n-kde4/templates/messages/playground-
 base/org.kde.active.activityscreen.pot?revision=1259592view=markup
 
 that means, a proper adapted Messages.sh file has to be added in every
 plasmoid file.
 
 that's a quite easy and boring job, also a quite easy junior job...
 
 anybody interested? :p
Should it be done quickly? If so I can blog about it and see it's done. If it 
can wait for after 21th November we can put it as Google CodeIn task.

Anne-Marie

___
Plasma-devel mailing list
Plasma-devel@kde.org
https://mail.kde.org/mailman/listinfo/plasma-devel


Re: [Junior job] Re: translations of qml plasmoids

2011-10-20 Thread Marco Martin
On Thursday 20 October 2011, Anne-Marie Mahfouf wrote:
  that's a quite easy and boring job, also a quite easy junior job...
  
  anybody interested? :p
 
 Should it be done quickly? If so I can blog about it and see it's done. If
 it can wait for after 21th November we can put it as Google CodeIn task.
 
 Anne-Marie

i would be for giving it a try now and see if somebody steps up

-- 
Marco Martin
___
Plasma-devel mailing list
Plasma-devel@kde.org
https://mail.kde.org/mailman/listinfo/plasma-devel


Re: [Junior job] Re: translations of qml plasmoids

2011-10-20 Thread Burkhard Lück
Am Mittwoch, 19. Oktober 2011, 14:09:56 schrieb Marco Martin:
 On Tuesday 18 October 2011, Marco Martin wrote:
  Hi all,
  as an experiment, i've put a Messages.sh (hopefully adapted to work on
  qml) that should extract messages from the activityscreen containment
  and produce a pot file called as the plugin name.
  
  the plasma-mobile project on projects.kde.org now has master as i18n
  trunk branch..
  
  ..anything else to be done ?
 
 so,
 the translation of the activity screen plasmoid worked,

Really? 
I see only that message extraction works, but don't find a loadcatalog call.

Did you run activity screen plasmoid in locale x-test 
(http://techbase.kde.org/Development/Tutorials/Localization/Building_KDE's_l10n_Module)?
 

-- 
Burkhard Lück
___
Plasma-devel mailing list
Plasma-devel@kde.org
https://mail.kde.org/mailman/listinfo/plasma-devel


Re: [Junior job] Re: translations of qml plasmoids

2011-10-20 Thread Marco Martin
On Thursday 20 October 2011, Burkhard Lück wrote:
  so,
  the translation of the activity screen plasmoid worked,
 
 Really?
 I see only that message extraction works, but don't find a loadcatalog
 call.
 
 Did you run activity screen plasmoid in locale x-test
 (http://techbase.kde.org/Development/Tutorials/Localization/Building_KDE's_
 l10n_Module)?

the qml scriptengine adds a catalog named as the plugin name, so in this case 
org.kde.active.activityscreen

-- 
Marco Martin
___
Plasma-devel mailing list
Plasma-devel@kde.org
https://mail.kde.org/mailman/listinfo/plasma-devel


Re: [Junior job] Re: translations of qml plasmoids

2011-10-20 Thread Viranch Mehta
Hey,

On Wed, Oct 19, 2011 at 5:39 PM, Marco Martin notm...@gmail.com wrote:

 so,
 the translation of the activity screen plasmoid worked,
 http://websvn.kde.org/trunk/l10n-kde4/templates/messages/playground-
 base/org.kde.active.activityscreen.pot?revision=1259592view=markup

 that means, a proper adapted Messages.sh file has to be added in every
 plasmoid file.

 that's a quite easy and boring job, also a quite easy junior job...

 anybody interested? :p


I have never worked with translations. Could you summarize the steps for
this?

Thanks,
Viranch

 Cheers,
 Marco Martin
 ___
 Plasma-devel mailing list
 Plasma-devel@kde.org
 https://mail.kde.org/mailman/listinfo/plasma-devel

___
Plasma-devel mailing list
Plasma-devel@kde.org
https://mail.kde.org/mailman/listinfo/plasma-devel


Re: [Junior job] Re: translations of qml plasmoids

2011-10-20 Thread Marco Martin
On Thursday 20 October 2011, Viranch Mehta wrote:
 Hey,
 
 On Wed, Oct 19, 2011 at 5:39 PM, Marco Martin notm...@gmail.com wrote:
  so,
  the translation of the activity screen plasmoid worked,
  http://websvn.kde.org/trunk/l10n-kde4/templates/messages/playground-
  base/org.kde.active.activityscreen.pot?revision=1259592view=markup
  
  that means, a proper adapted Messages.sh file has to be added in every
  plasmoid file.
  
  that's a quite easy and boring job, also a quite easy junior job...
  
  anybody interested? :p
 
 I have never worked with translations. Could you summarize the steps for
 this?

* take the Messages.sh in the activityscreen containment, 
* adapt it for each plugin name, 
* copy over, 
* make sure is not installed by cmake
* profit!

-- 
Marco Martin
___
Plasma-devel mailing list
Plasma-devel@kde.org
https://mail.kde.org/mailman/listinfo/plasma-devel


[Junior job] Re: translations of qml plasmoids

2011-10-19 Thread Marco Martin
On Tuesday 18 October 2011, Marco Martin wrote:
 Hi all,
 as an experiment, i've put a Messages.sh (hopefully adapted to work on qml)
 that should extract messages from the activityscreen containment and
 produce a pot file called as the plugin name.
 
 the plasma-mobile project on projects.kde.org now has master as i18n trunk
 branch..
 
 ..anything else to be done ?
so,
the translation of the activity screen plasmoid worked, 
http://websvn.kde.org/trunk/l10n-kde4/templates/messages/playground-
base/org.kde.active.activityscreen.pot?revision=1259592view=markup

that means, a proper adapted Messages.sh file has to be added in every 
plasmoid file.

that's a quite easy and boring job, also a quite easy junior job...

anybody interested? :p

Cheers,
Marco Martin
___
Plasma-devel mailing list
Plasma-devel@kde.org
https://mail.kde.org/mailman/listinfo/plasma-devel