[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-i18n-doc
Subject:    Re: Multiple Messages.sh in Rocs
From:       Burkhard =?iso-8859-1?q?L=FCck?= <lueck () hube-lueck ! de>
Date:       2012-10-01 8:15:26
Message-ID: 201210011015.26588.lueck () hube-lueck ! de
[Download RAW message or body]

Am Montag, 1. Oktober 2012 08:42:51 schrieb Andreas Cord-Landwehr:
> On Monday 01 October 2012 08:29:23 Yuri Chornoivan wrote:
> > Hi,
> > 
> > It seems that KDEEdu/Rocs developers have introduced multiple Messages.sh
> 
> > trying to obtain better translation coverage:
> https://projects.kde.org/projects/kde/kdeedu/rocs/repository/revisions/8e3a
> e126f4b9c235a56d3d9b4c9711fc268198ee
> 
> > Scripty does not like this so the number of messages actually dropped
> > from 304 to 137.
> > 
> > Can someone with a proper knowledge help to fix this?
> > 
> > Thanks in advance for your advices.
> 
> Hello, with the previous commit to the one you are pointing to, our source
> directory "src" got split into the directories "App", "RocsCore", and
> "VisualEditor".
> 
> So I thought that putting the Messages.sh into each of these directories
> would be the correct change for the translation system (I had a look at
> kdevelop where they do it exactly this way afais...). Sorry for the caused
> problems.
> 
> I would really appreciate if someone with proper knowledge about that
> matter can help :)
> 
1) App/Messages.sh extracts to the catalog rocs loaded via KAboutData in 
App/Main.cpp, that works.

2) RocsCore/Messages.sh should extract the translations to a catalog with a 
different name than rocs, maybe to rocscore, the name of the library?
Please use K_CATALOG_LOADER in the library to load the translations.

3) Similar for VisualEditor/Messages.sh, extract to rocsvisualeditor and use 
K_CATALOG_LOADER for this library as well.

Then the translations from the current catalog rocs have to be splitted into 
the three new catalogs rocs, rocscore and rocsvisualeditor.

-- 
Burkhard Lück
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic