~ubuntu-branches/ubuntu/maverick/kubuntu-docs/maverick

« back to all changes in this revision

Viewing changes to kubuntu/khelpdesktop/kubuntu/po/README

  • Committer: Bazaar Package Importer
  • Author(s): Richard A. Johnson
  • Date: 2008-08-18 10:49:14 UTC
  • Revision ID: james.westby@ubuntu.com-20080818104914-83r2er2hsmdp2o0l
Tags: 8.10-2
* Restructured kubuntu documentation package
  - Refer to the NEWS text located in the root directory of the package
* Removed the Firefox start page files
* debian/rules: updated to remove firefox files
* debian/control: removed perl deps due to removal of firefox files, bumped
  version to 3.8.0, updated kdelibs-data dep to kdelibs5-data

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
### PREPARE DESKTOP FILES FOR TRANSLATIONS
2
 
1.)  Copy the application.desktop to application.desktop.in
3
 
2.)  Create the po/ directory
4
 
3.)  Create po/POTFILES.in and add the applications .in files you want to translate
5
 
4.)  From the po/ directory enter the following command:
6
 
                intltool-update --pot --gettext-package=application_name
7
 
5.)  File ready for translations
8
 
 
9
 
 
10
 
### AFTER RECEIVING TRANSLATED FILES
11
 
1.)  Copy the application.pot file to the country_code.po (ie. cp application.pot sv.po)
12
 
2.)  Merge the translation back into the desktop file by typing the following command:
13
 
                intltool-merge /path/to/po application.desktop.in application.desktop
14
 
3.)  All done!
15
 
 
16
 
 
17
 
### COMMANDS TO CREATE THE FILES NECESSARY FOR KUBUNTU DESKTOP TRANSLATIONS
18
 
cd trunk/kubuntu/khelpdesktop/kubuntu
19
 
cp systemdocs.desktop systemdocs.desktop.in
20
 
cp .directory systemdocs.directory.in
21
 
###### once you copied the files, edit the .in files and add a _ before the line you want to translate
22
 
mkdir po && cd po
23
 
echo systemdocs.desktop.in > POTFILES.in
24
 
echo .directory.in >> POTFILES.in
25
 
intltool-update --pot --gettext-package=systemdocs