trinity-devel@lists.pearsoncomputing.net

Message: previous - next
Month: September 2012

Re: [trinity-devel] Rebrand Krita => Chalk in koffice-i18n

From: Slávek Banko <slavek.banko@...>
Date: Sun, 16 Sep 2012 03:40:34 +0200
On Saturday 15 of September 2012 00:17:04 Darrell Anderson wrote:
> > when I update a package koffice-i18n I realized that it is
> > necessary to carry out rebranding Krita => Chalk. Please, can make it
> > done someone who has more experience in this?
>
> I copied the GIT files to a working directory. I tried the following:
>
> find koffice-i18n -name krita -exec sh -c 'mv {} `dirname {}`/chalk' \;
>
> find koffice-i18n -name krita.po -exec sh -c 'mv {} `dirname {}`/chalk.po'
> \;
>
> find koffice-i18n -type f -exec sed -i 's|Krita|Chalk|g' {} \;
>
> find koffice-i18n -type f -exec sed -i 's|krita|chalk|g' {} \;
>
> Whether performed against a separate directory to create a large patch or
> performed directly in a local GIT repository, next would be a bunch of 'git
> add' commands to add the newly renamed chalk files and directories.
> Possibly like this:
>
> for i in `find koffice-i18n -name chalk*`; git add $i; done
>
> Darrell
>

I tried sed's that you said, but it causes docboook breakage:

/opt/trinity/bin/meinproc --check --cache index.cache.bz2 ./index.docbook
index.docbook:37: parser error : Entity 'chalk' not defined
>El manual del &chalk;</title>
                      ^
index.docbook:124: parser error : Entity 'chalk' not defined
>El &chalk; és part del paquet &koffice;. El &chalk; és una aplicació per al
           ^
index.docbook:124: parser error : Entity 'chalk' not defined
>El &chalk; és part del paquet &koffice;. El &chalk; és una aplicació per al

                                                     ^

When I revert "&chalk;" back to "&krita;", so the problem is resolved. But I 
do not know how it is to be right?

Slavek
--