[Bug 317] New: patch for KDE.
bugzilla-daemon <[email protected]> Thu, 26 Feb 2004 18:28:18 +0100 (CET)
| Newsgroups | gmane.linux.arklinux.bugs |
|---|---|
| Message-ID | <[email protected]> |
https://bugzilla.arklinux.org/bugzilla/show_bug.cgi?id=317
Summary: patch for KDE.
Product: Ark Linux
Version: Dockyard
Platform: i586 (PC, Intel)
OS/Version: All
Status: NEW
Severity: Normal
Affects: Overall Usability
Component: gettext
AssignedTo: [email protected]
ReportedBy: [email protected]
QAContact: [email protected]
This patch: http://public.kde.planetmirror.com/pub/kde/devel/gettext-kde/
Makes gettext work for translatting KDE applications and it is totally necesary
if you are developing an app and want to translate it:
This directory contains a version of gettext-0.10.35, patched
for KDE's purposes.
The patch (which can be found in kdesdk/scripts/gettext.patch)
adds support for context translations [i18n("verb", "save");]
and for plural handling [i18n("1 file", "%n files", n);]
Context translation creates a msgid starting with _:
The comment starts after that, and ends at the first litteral \n
For instance _:verb\nsave
A plural form creates a msgid starting with _n:
The singular form starts after that, and the plural form starts after the \n
For instance _n:1 file\n%n files
Installation
============
tar xvzf gettext-0.10.35-kde.tar.gz
cd gettext-0.10.35-kde
/configure
make
Do NOT run make install after that.
Copy src/xgettext and src/msgmerge to somewhere in your PATH, then run
configure
so that it finds it there, and finally run
make -f admin/Makefile.common package-messages
to generate the .pot file[s].
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
You are the QA contact for the bug, or are watching the QA contact.