[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-i18n-doc
Subject: Re: How to mass rename .po files?
From: "Friedrich W. H. Kossebau" <friedrich.w.h () kossebau ! de>
Date: 2006-10-16 18:56:14
Message-ID: 200610162056.14878.friedrich.w.h () kossebau ! de
[Download RAW message or body]
Hi David,
Am Montag, 16. Oktober 2006 13:25, schrieb David Faure:
> On Sunday 15 October 2006 14:09, Friedrich W. H. Kossebau wrote:
> > Is there a way/script to rename all existing .po files with the old name
> > to the new name?
>
> Yes, scripts/rename_or_move in l10n, if you have a full l10n checkout.
http://developer.kde.org/documentation/library/kdeqt/kde3arch/kde-i18n-howto.html#SECTION000123000000000000000
does only mention merging, but the problem looks similar. It says "Ask one of
the KDE admins to merge the existing .po files.".
So should there be a similar entry for renamed PO files? And one should ask
sysadmins (with the full l10n checkout constraint = true) to do the mass
renaming?
Would the attached patch to the Howto then be okay?
As there is a tex file as well as the html file, how is the html file created?
Could you help, Gary?
Regards
Friedrich
["kde-i18n-howto.tex-add_move.patch" (text/x-diff)]
Index: kde-i18n-howto.tex
===================================================================
--- kde-i18n-howto.tex (Revision 596104)
+++ kde-i18n-howto.tex (Arbeitskopie)
@@ -1162,18 +1162,18 @@
\subsection{Merging .po files}
\label{sec:merging-po-files}
-Question: I didn't follow your advice above and create a single \filename{.pot} file
-for all the components in my application. The translators
+Question: I didn't follow your advice above to create a single \filename{.pot} file
+for all the components in my application./I misnamed the .pot file and would now \
like to correct the name. The translators have already created the \filename{.po} \
files and I don't want to wipe out all their hard work. What should I do now?
Answer: Go ahead and correct all your code and Makefile.am's. Commit
the changes to the KDE code repository. Ask one of the KDE admins
-to merge the existing \filename{.po} files. She will need to know
+to merge/rename the existing \filename{.po} files. She will need to know
the exact names of all the \filename{.po} files, which module they are in,
-and the name of the desired merged \filename{.po} file. The admin
+and the name of the desired merged/renamed \filename{.po} file(s). The admin
will have to wait for \cmd{scripty} to generate your new
-\filename{.pot} file before doing the merge.
+\filename{.pot} file(s) before doing the merge/rename.
\subsection{Deleting obsolete .pot files}
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic