[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-i18n-doc
Subject: Re: Errors when updating XML in docbook
From: "Yuri Chornoivan" <yurchor () ukr ! net>
Date: 2012-06-22 15:42:43
Message-ID: op.wga9xhfjl2zvei () localhost
[Download RAW message or body]
написане Fri, 22 Jun 2012 18:30:07 +0300, Vít Pelčák <vit@pelcak.org>:
> Ah.
>
> I did it.
>
> There is no file kdelibs/kdoctools/customization/xsl/cs.xml at all.
>
> Also
> /usr/share/kde4/apps/ksgmltools2/customization/entities/general.entities
> is missing. The latter one is even missing in en and de and others.
This is unchangable file. It should not be translated.
> I'll try to create them for cs.
>
> 2012/6/22 Freek de Kruijf <f.de.kruijf@gmail.com>:
>> On vrijdag 22 juni 2012 14:42:24 Vít Pelčák wrote:
>>> Hello.
>>>
>>> I have script, which runs "scripts/update_xml cs" for trunk and stable
>>> branches.
>>>
>>> It pops out more than few error messages (see atachment) like:
>>>
>>> index.docbook:106: parser error : Failure to process entity
>>> konqueror-introduction
>>> &konqueror-introduction; <!-- 4.4-->
>>>
>>> index.docbook:527: parser error : Entity 'DBus' not defined
>>>
>>> > zobrazí rozhraní &DBus; pro &ksnapshot;. </para
>>>
>>> Could something be done with it?
>>
>> It depends on the version of openSUSE you are running. The system you
>> are
>> using to generate the docs may have versions of files in kdelibs that
>> are too
>> old. scripts/update_xml uses some of the following files:
>> /usr/share/kde4/apps/ksgmltools2/customization/xsl/cs.xml
>> /usr/share/kde4/apps/ksgmltools2/customization/cs/user.entities
>> /usr/share/kde4/apps/ksgmltools2/customization/entities/general.entities
>>
>> The newest versions of these files can be found in the git server
>>
>> in some convenient folder you give the command:
>>
>> git clone kde:kdelibs
>>
>> kde: refers to a definition in ~/.gitconfig which contains:
>> [url "git://anongit.kde.org/"]
>> insteadOf = kde:
>> [url "ssh://git@git.kde.org/"]
>> pushInsteadOf = kde:
>> [user]
>> name = <your name>
>> mail = <your email address>
>> email = <your email address>
>>
>> Maybe just one of the last two are necessary and the push is not
>> necessary if
>> you don't want to enter something new in it. You need to have your
>> public ssh
>> key in identity.kde.org with your account there. It is the same account
>> you
>> use to commit changes in svn.
>>
>> In the above <convenient folder>/kdelibs a folder named customization
>> will be
>> created. In that folder you will find the corresponding files mentioned
>> above.
>>
>> To keep the folder up to date you give in that <convenient
>> folder>/kdelibs the
>> command:
>>
>> git checkout KDE/4.8
>> git pull --rebase
>>
>> git branch
>>
>> shows you the available branches. With the checkout command above you
>> choose
>> the branch and the pull makes that branch up to date. It looks like a
>> revolving stage. With checkout you choose with branch is visible in
>> kdelibs.
>>
>> After that you copy the above mentioned files from the git folder to the
>> /usr/share/kde4/apps/ksgmltools2/customization/ locations. You may
>> rename the
>> original files to keep them.
>>
>> --
>> fr.gr.
>>
>> Freek de Kruijf
>
>
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic