Generate MO files

Dolphin Service Menus

Source (link to git-repo or to original if based on someone elses unmodified work): Add the source-code for this project on opencode.net

0
Score 46.0%
Description:

Very simple service menu for generating MO from PO files.

Single-user installation:
copy the .desktop file to /.kde/share/apps/konqueror/servicemenus/

System-wide installation:
copy the .desktop file as root to /usr/share/apps/konqueror/servicemenus/
Last changelog:

14 years ago

1.2 - Some changes suggested by undefined. Thanks!!

1.1 - Changed icon from "kbabel" to "locale"

1.0 - Initial release

undefined

14 years ago

It's better to use only po on sed for Dotted Directorys ;)
[CODE]
[Desktop Entry]
ServiceTypes=application/x-gettext
Actions=GenMoFile;
Icon=kbabel

[Desktop Action GenMoFile]
Name=Generate MO file
Name[it]=Genera file MO
Name[de]=Erstelle MO Datei
Icon=kbabel
Exec=msgfmt %F -o "`echo %F | perl -pe 's/\.po$//'`.mo"
X-KDE-Priority=TopLevel
[/CODE]

Report

NilsK

14 years ago

Could it be possible to add a copying function so the file will be copied to /usr/share/locale?

Report

C

smart2128

14 years ago

cut, copy and paste aren't enough?

Report

bsander

14 years ago

what are MO and PO files?

Report

C

smart2128

14 years ago

PO stands for “Portable Object”. PO files contain sets of strings which associate each translatable string with its translation in a particular language. A single PO file relates only to one language. A PO file is derived from an POT file.

MO stands for “Machine Object”. A MO file contains binary data suitable for reading by computers. The contents of a MO file are organised as a database to minimize the lookup time for translated strings.

Report

14 years ago

1.2 - Some changes suggested by undefined. Thanks!!

1.1 - Changed icon from "kbabel" to "locale"

1.0 - Initial release

12345678910
1
product-maker ThundLayr Mar 22 2012 3 bad
product-maker Base: 4 x 5.0 Ratings
Be the first to comment
File (click to download) Version Description Downloads Date Filesize DL OCS-Install MD5SUM
*Needs pling-store or ocs-url to install things
Pling
0 Affiliates
Details
license
version
1.2
updated Jun 20 2005
added May 13 2005
downloads 24h
0
mediaviews 24h 0
pageviews 24h 2
System Tags addon