|
98.
|
|
|
KDE desktop files also need specific entries to fit in the KMenu. A minimal desktop file for a KDE program could be something like this:
|
|
|
|
(no translation yet)
|
|
|
|
Located in
C/ubuntu.xml:400(para)
|
|
99.
|
|
|
[Desktop Entry]
Encoding=UTF-8
Name=Kfoo
Name[xx]=Kfoo
GenericName=Bar description
Exec=kfoo
Icon=kfoo
Terminal=false
Categories=Qt;KDE;Utility;
|
|
|
represents a line break.
Start a new line in the equivalent position in the translation.
|
|
|
|
[Desktop Entry]
Encoding=UTF-8
Name=Kfoo
Name[xx]=Kfoo
GenericName=Bar description
Exec=kfoo
Icon=kfoo
Terminal=false
Categories=Qt;KDE;Utility;
|
|
Translated and reviewed by
Donnie Lomat
|
|
|
|
Located in
C/ubuntu.xml:404(screen)
|
|
100.
|
|
|
Note that the Categories field must begin with Qt;KDE;. There are specific desktop file entries for KDE programs and modules that allow su to declare the given programs as KCModules or autostart them when logging in.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
C/ubuntu.xml:414(para)
|
|
101.
|
|
|
Generating .pot Files
|
|
|
|
(no translation yet)
|
|
|
|
Located in
C/ubuntu.xml:422(title)
|
|
102.
|
|
|
The Ubuntu translation website, <ulink url="https://launchpad.net/rosetta/">Rosetta</ulink>, now supports KDE, which means KDE packages need to support Rosetta by generating .pot template files for translators. If you use <application>cdbs</application> in Dapper, your package should now automatically build and check for a .pot file in po/ directory.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
C/ubuntu.xml:424(para)
|
|
103.
|
|
|
You will need the <ulink url="../files/kubuntu_01_kdepot.diff">kdepot patch</ulink> (or similar; it may not apply cleanly depending on the age of the admin directory).
|
|
|
|
(no translation yet)
|
|
|
|
Located in
C/ubuntu.xml:431(para)
|
|
104.
|
|
|
If your package uses <application>debhelper</application> or <application>cdbs</application> and includes its own kde.mk file, you need to add the rules yourself.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
C/ubuntu.xml:435(para)
|
|
105.
|
|
|
For <application>cdbs</application>, add these lines to debian/rules:
|
|
|
|
Para sa <application>cdbs</application>,idagdag ang mga linya sa debian/mga panuntunan:
|
|
Translated and reviewed by
menchu lacsamana
|
|
|
|
Located in
C/ubuntu.xml:439(para)
|
|
106.
|
|
|
common-post-build-arch::
[tab] mkdir -p po
XGETTEXT=/usr/bin/kde-xgettext sh admin/cvs.sh extract-messages
clean::
rm -rf po
|
|
|
[tab] represents a tab character.
Please write it exactly the same way, [tab] , in your
translation.
|
|
|
represents a line break.
Start a new line in the equivalent position in the translation.
|
|
|
represents a space character.
Enter a space in the equivalent position in the translation.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
C/ubuntu.xml:441(screen)
|
|
107.
|
|
|
For <application>debhelper</application>, add the following to the end of the <emphasis>install</emphasis> rule:
|
|
|
|
(no translation yet)
|
|
|
|
Located in
C/ubuntu.xml:448(para)
|