trinity-devel@lists.pearsoncomputing.net

Message: previous - next
Month: September 2012

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

From: Darrell Anderson <humanreadable@...>
Date: Fri, 14 Sep 2012 15:17:04 -0700 (PDT)
> 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