PortableObjectTemplate Files for ELF 32-bit LSB executables

For efforts in internationalising Puppy and solving problems in this area
Message
Author
User avatar
vicmz
Posts: 1262
Joined: Sun 15 Jan 2012, 22:47

#4 Post by vicmz »

Here's the PupSnap 1.8 .pot file

A question: if a new version of a program is released, will Momanager update its old .pot file?

***EDIT***

PupControl .pot attached, too.
Attachments
pupcontrol-pot-file.tar.gz
(6.84 KiB) Downloaded 963 times
pupsnap-1.8-pot-file.tar.gz
copy to /usr/share/doc/nls/pupsnap/ (create the pupsnap folder first)
(2.12 KiB) Downloaded 979 times
[url=http://murga-linux.com/puppy/viewtopic.php?t=76948]Puppy Linux en español[/url]

User avatar
L18L
Posts: 3479
Joined: Sat 19 Jun 2010, 18:56
Location: www.eussenheim.de/

PortableObjectTemplate Files

#5 Post by L18L »

vicmz wrote:Here's the PupSnap 1.8 .pot file
Thank you :)
vicmz wrote:A question: if a new version of a program is released, will Momanager update its old .pot file?
momanager will always try to update that is:
- use xgettext for creating the .pot
- use msginit for creating an empty .po
- use msgmerge to merge translations from existing .mo

momanager cannot create .pot:
- binary executables, ex: retrovol, ...
- mystery shelll scripts, ex: alsaconf, pupsnap, ....
Thus app.pot files for these "mystery scripts" and binaries have to be provided in /usr/share/doc/nls/app/

Do not provide .pot for scripts which momanager can create .pot files for!
Or you would always have to provide updated .pot files (and waste space world wide :oops: )

User avatar
L18L
Posts: 3479
Joined: Sat 19 Jun 2010, 18:56
Location: www.eussenheim.de/

PortableObjectTemplate Files

#6 Post by L18L »

I have compiled glipper-0.95-1
and used de.po (others included in source package are: fr and ru)

My binary is 155 k :oops:

So we have to wait for a better compiler :wink:
<edit 2013-03-15> see http://www.murga-linux.com/puppy/viewto ... 2&start=11 :D </edit>

Thus this here is just a teaser
Attachments
glipper.png
other &quot;ready to use&quot; translations:
fr
ru
only
(29.63 KiB) Downloaded 1724 times
Last edited by L18L on Sat 16 Mar 2013, 14:25, edited 3 times in total.

User avatar
L18L
Posts: 3479
Joined: Sat 19 Jun 2010, 18:56
Location: www.eussenheim.de/

hardinfo

#7 Post by L18L »

hardinfo.pot updated here
to fit rodin.s's work, see http://www.murga-linux.com/puppy/viewto ... 4&start=30

User avatar
L18L
Posts: 3479
Joined: Sat 19 Jun 2010, 18:56
Location: www.eussenheim.de/

PortableObjectTemplate Files

#8 Post by L18L »

scanning images with scanner
For XSane there are already maintained translations for: brasilian-portuguese, chines, czech, danish, dutch, french, german, hungarian, italian, japanese, portuguese, russian, romanian, slovak, spanish, turkish, vietnamese .
The following translations are currently unmaintained, if you are interested in keeping it up to date then please contact me: slowenian, swedish, serbian .
quoted from from http://www.xsane.org/xsane-l10n.html
Attached is xsane.pot.gz

Code: Select all

gunzip xsane.pot.gz
will unzip it to xsane.pot
Attachments
xsane.pot.gz
gunzip this file
(13.21 KiB) Downloaded 979 times

User avatar
L18L
Posts: 3479
Joined: Sat 19 Jun 2010, 18:56
Location: www.eussenheim.de/

PortableObjectTemplate Files

#9 Post by L18L »

"POT-Creation-Date: 2010-03-15 22:54+0100\n"
In the german osmo.po I have found many
#fuzzy
which had not been neither checked nor corrected.

That's why I have downloaded osmo.pot (from the sources)
to (new) directory /usr/share/doc/nls/osmo/

Now my momanager will be able to update my osmo.mo

-----
found from link in running osmo:
https://osmo-pim.svn.sourceforge.net/sv ... o/osmo.pot has
"POT-Creation-Date: 2011-04-08 23:20+0200\n"

User avatar
L18L
Posts: 3479
Joined: Sat 19 Jun 2010, 18:56
Location: www.eussenheim.de/

gtklp

#10 Post by L18L »

1 gtklp.mo for gtkLP and gtkLPQ

gtklp.pot added to list of pot files in 1st post

also available on http://gtklp.sirtobi.com/download.shtml
danish translation
russian man pages :wink:

User avatar
L18L
Posts: 3479
Joined: Sat 19 Jun 2010, 18:56
Location: www.eussenheim.de/

pwallpaper

#11 Post by L18L »

C source file pwallpaper.c attached as pwallpaper.c.gz

compile:

Code: Select all

gcc -o /usr/sbin/pwallpaper pwallpaper.c `pkg-config --libs --cflags gtk+-2.0`
create pwallpaper.pot:

Code: Select all

xgettext -d pwallpaper -s -o pwallpaper.pot --keyword=_ pwallpaper.c
mkdir /usr/share/doc/nls/pwallpaper
mv pwallpaper.pot /usr/share/doc/nls/pwallpaper/
You can translate pwallpaper in momanager now.

Have fun :)
Attachments
pwallpaper_i18n.png
(47.95 KiB) Downloaded 1609 times
pwallpaper.c.gz
remove fake .gz
(12.63 KiB) Downloaded 1106 times

User avatar
L18L
Posts: 3479
Joined: Sat 19 Jun 2010, 18:56
Location: www.eussenheim.de/

Re: PortableObjectTemplate Files

#12 Post by L18L »

L18L wrote:I have compiled glipper-0.95-1
and used de.po (others included in source package are: fr and ru)

My binary is 155 k :oops:

So we have to wait for a better compiler :wink:

Thus this here is just a teaser
Now compiled 22k (thanks technosaurus)

glipper.pot created by:

Code: Select all

xgettext --keyword=_ -o glipper.pot *.c
from technosaurus' version at
http://www.murga-linux.com/puppy/viewto ... 5&start=36

Anyhow, glipper is attached as glipper.gz and here is pot file:
/usr/share/doc/nls/glipper/gler.pot wrote:# SOME DESCRIPTIVE TITLE.
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
# This file is distributed under the same license as the PACKAGE package.
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
#
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: glipper 0.95.1\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2013-03-16 14:39+0100\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"

#: main.c:166
msgid ""
"This entry was copied with ctrl+c.\n"
"It can be pasted with ctrl+v."
msgstr ""

#: main.c:200
#, c-format
msgid "Glipper - Clipboardmanager (%s)"
msgstr ""

#: main.c:219
msgid "<No Content>"
msgstr ""

#: main.c:229
msgid ""
"This is the last element to be copied.\n"
"It can be pasted with the middle mouse button."
msgstr ""

#: main.c:270 main.c:626
#, c-format
msgid ""
"Glipper (%s)\n"
"Clipboardmanager"
msgstr ""

#: main.c:369
msgid "Glipper Preferences"
msgstr ""

#: main.c:379
msgid "<b>Limits</b>"
msgstr ""

#: main.c:395
msgid "Amount of entries in history:"
msgstr ""

#: main.c:401
msgid "Length of one history entry:"
msgstr ""

#: main.c:421
msgid "<b>Clipboards</b>"
msgstr ""

#: main.c:431
msgid "Which clipboards should be managed by Glipper?"
msgstr ""

#: main.c:444
msgid "Select - Mark/middle mouse button"
msgstr ""

#: main.c:448
msgid "Copy - Ctrl+C/Ctrl+V"
msgstr ""

#: main.c:453
msgid "<b>Behaviour</b>"
msgstr ""

#: main.c:467
msgid "Tag Ctrl+C clipboard's content in history (bold)"
msgstr ""

#: main.c:471
msgid "Save history"
msgstr ""

#: main.c:479
msgid "Key combination for popup: "
msgstr ""

#: main.c:655
msgid "translator-credits"
msgstr ""

#: main.c:658
msgid "Clipboardmanager for Gnome"
msgstr ""
Attachments
glipper.gz
gunzip glipper.gz
move to /usr/local/bin/
(10.18 KiB) Downloaded 1159 times

User avatar
L18L
Posts: 3479
Joined: Sat 19 Jun 2010, 18:56
Location: www.eussenheim.de/

gdmap

#13 Post by L18L »

Sorry, there is no direct link to gdmap.pot on the web.
If your language is one of
bg de dk es fr he hr it nb no ru sv tr
then you can download source of gdmap from
http://gdmap.cvs.sourceforge.net/viewvc ... /?view=tar
and extract from po directory.

For other languages:

Code: Select all

mkdir /usr/share/doc/nls/gdmap
Dowload attached gdmap.pot.gz
gunzip it (just 1 click)
copy gdmap.pot to /usr/share/doc/nls/gdmap/
make your translation using momanager

Have fun :)
Attachments
gdmap.pot.gz
gunzip it
(one click
or
gunzip gdmap.pot.gz
)
(1.24 KiB) Downloaded 1155 times

User avatar
L18L
Posts: 3479
Joined: Sat 19 Jun 2010, 18:56
Location: www.eussenheim.de/

PortableObjectTemplate Files for ELF 32-bit LSB executables

#14 Post by L18L »

Found in Barry's sources:
http://bkhome.org/sources/alphabetical/ ... 5.0.tar.gz
translations for 46 languages!

Some of them are:
Name=Xffm Patch manager
Name[hu]=Xffm foltkezelő
Name[ja]=Xffm パッ
Attachments
xfdiff.pot.gz
usage: see above note
(10.01 KiB) Downloaded 1119 times

User avatar
L18L
Posts: 3479
Joined: Sat 19 Jun 2010, 18:56
Location: www.eussenheim.de/

tile.pot

#15 Post by L18L »

/usr/share/doc/nls/tile/tile.pot wrote:# SOME DESCRIPTIVE TITLE.
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
# This file is distributed under the same license as the PACKAGE package.
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
#
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: tile VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2013-04-24 16:59+0200\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
"Language: \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"

#: tile.c:47
msgid "/_Game"
msgstr ""

#: tile.c:48
msgid "/_Game/_New Game"
msgstr ""

#: tile.c:49
msgid "/_Game/_Quit"
msgstr ""

#: tile.c:50
msgid "/_Size"
msgstr ""

#: tile.c:51
msgid "/_Size/ _3 "
msgstr ""

#: tile.c:52
msgid "/_Size/ _4 "
msgstr ""

#: tile.c:53
msgid "/_Size/ _5 "
msgstr ""

#: tile.c:54
msgid "/_Help"
msgstr ""

#: tile.c:55
msgid "/_Help/_Description"
msgstr ""

#: tile.c:56
msgid "/_Help/_About"
msgstr ""

#: tile.c:82 tile.c:131
msgid "Tile"
msgstr ""

#: tile.c:133
msgid "OK"
msgstr ""

#: tile.c:157
msgid ""
"This is a game in which you try to put the tiles in order.\n"
" A tile must be next to an empty space to be moved.\n"
" Click the tile to move it.\n"
"\n"
"This game isn't the best, but it's my first attempt at using GTK.\n"
" So that's my excuse."
msgstr ""

#: tile.c:166
msgid ""
"Tile 20000915\n"
"by Joe Wingbermuehle"
msgstr ""

#: tile.c:171
msgid " You won!! "
msgstr ""
attached version of tile
is internationalized
and a description added
Attachments
tile.png
(22.25 KiB) Downloaded 1705 times
tile.gz
move to /usr/local/bin/tile ( gz removed )
(8.49 KiB) Downloaded 1115 times

User avatar
Bert
Posts: 1103
Joined: Fri 30 Jun 2006, 20:09

#16 Post by Bert »

Nice. Simple fun... :D

Although...simple? I did not play it long enough to be able to check the dutch translation of " You won !!" :lol: :lol: Someone with more time and talent will have to try.

Thanks for the pot-file.
Attachments
tegel.png
(25.6 KiB) Downloaded 1419 times
[url=http://pupsearch.weebly.com/][img]http://pupsearch.weebly.com/uploads/7/4/6/4/7464374/125791.gif[/img][/url]
[url=https://startpage.com/do/search?q=host%3Awww.murga-linux.com%2F][img]http://i.imgur.com/XJ9Tqc7.png[/img][/url]

User avatar
L18L
Posts: 3479
Joined: Sat 19 Jun 2010, 18:56
Location: www.eussenheim.de/

Tile game

#17 Post by L18L »

This game was an exercise in GTK for (Joe's window manager) Joe
and for me an exercise in C programing.

Thanks for feedback. :D
Bert wrote:...Although...simple?...
Not every Game has a solution. :wink:
See 1st example I (roman 1) in Unmöglich - oder doch möglich? please

[edit 2013-04-28]
found the English version: The Impossible. Some Puzzles
Last edited by L18L on Sun 28 Apr 2013, 08:22, edited 2 times in total.

User avatar
Bert
Posts: 1103
Joined: Fri 30 Jun 2006, 20:09

Re: Tile game

#18 Post by Bert »

L18L wrote: See 1st example I (roman 1) in Unmöglich - oder doch möglich? please
Terrible! Just looking at it gives me a headache :shock:

Image
[url=http://pupsearch.weebly.com/][img]http://pupsearch.weebly.com/uploads/7/4/6/4/7464374/125791.gif[/img][/url]
[url=https://startpage.com/do/search?q=host%3Awww.murga-linux.com%2F][img]http://i.imgur.com/XJ9Tqc7.png[/img][/url]

User avatar
L18L
Posts: 3479
Joined: Sat 19 Jun 2010, 18:56
Location: www.eussenheim.de/

#19 Post by L18L »

Just impossible :lol:

13 must not jump over 14 15

Should the code be changed to Game with solution only :?:
(for kids)

-> preferences -> :roll:

[edit] C source (containing info about compile and xgettext) attached
Attachments
tile.c.gz
remove fake .gz

tile slider game internationalized
(8.32 KiB) Downloaded 938 times
tile_no_solution.png
(4.79 KiB) Downloaded 1271 times

User avatar
L18L
Posts: 3479
Joined: Sat 19 Jun 2010, 18:56
Location: www.eussenheim.de/

PortableObjectTemplate Files for ELF 32-bit LSB executables

#20 Post by L18L »

# pwd
/root/my-documents/gtkam-0.1.18/po
# ls *.po | cut -d'.' -f1 | tr '\n' ' '
be cs da de eo es fr hu id is it ja nb nl pa pl pt_BR pt ru sk sl sv uk vi zh_CN
#
:arrow: gtkam translations exist for 25 languages :!:

(w :) )get source from:
http://sourceforge.net/projects/gphoto/ ... am/0.1.18/

If your language is not included or not completely translated
then
mkdir -p /usr/share/doc/nls/gtkam
cp po/gtkam.pot /usr/share/doc/nls/gtkam/

... and you can use momanager for translation.

User avatar
L18L
Posts: 3479
Joined: Sat 19 Jun 2010, 18:56
Location: www.eussenheim.de/

PortableObjectTemplate Files

#21 Post by L18L »

po files available for
ca de es fr hu id it nl no_NO pl pt_BR ru sv_SE
in directory po of source at
http://freecode.com/projects/xdialog

Or to translate yourself
mkdir -p /usr/share/doc/nls/Xdialog
and copy the following Xdialog.pot to /usr/share/doc/nls/Xdialog/Xdialog.pot

Code: Select all

# SOME DESCRIPTIVE TITLE.
# Copyright (C) YEAR Free Software Foundation, Inc.
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
#
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"POT-Creation-Date: 2002-03-21 13:29+0100\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=CHARSET\n"
"Content-Transfer-Encoding: 8bit\n"

#: src/interface.h:80
msgid "OK"
msgstr ""

#: src/interface.h:81
msgid "Cancel"
msgstr ""

#: src/interface.h:82
msgid "Yes"
msgstr ""

#: src/interface.h:83
msgid "No"
msgstr ""

#: src/interface.h:84
msgid "Help"
msgstr ""

#: src/interface.h:85
msgid "Previous"
msgstr ""

#: src/interface.h:86
msgid "Next"
msgstr ""

#: src/interface.h:87
msgid "Print"
msgstr ""

#: src/interface.h:88
msgid "Add"
msgstr ""

#: src/interface.h:89
msgid "Remove"
msgstr ""

#: src/interface.h:90
msgid "Hours : Minutes : Seconds"
msgstr ""

#: src/interface.h:91
msgid "Time stamp"
msgstr ""

#: src/interface.h:92
msgid "Date - Time"
msgstr ""

#: src/interface.h:93
msgid "Log message"
msgstr ""

#: src/interface.h:94
msgid "Hide typing"
msgstr ""

User avatar
L18L
Posts: 3479
Joined: Sat 19 Jun 2010, 18:56
Location: www.eussenheim.de/

PortableObjectTemplate Files for ELF 32-bit LSB executables

#22 Post by L18L »

Ready to use translations exist for the languges:
de en_GB es fr hi nl pt_BR sv

at http://ayttm.sourceforge.net/files.php
download Source .bz2 tarball
click and extract directory po
copy:

Code: Select all

cp <your_language>.gmo /usr/share/locale/<your_language>/LC_MESSAGES/ayttm.mo
for other languages
make directory:

Code: Select all

mkdir -p /usr/share/doc/nls/ayttm

and download attached ayttm.pot to /usr/share/doc/nls/ayttm/
Then use momanger for translation of ayttm

use chat program (launch from desktop icon) in your language.
Have fun :D
Attachments
ayttm.pot.gz
remove .gz
(56.57 KiB) Downloaded 934 times

User avatar
Bert
Posts: 1103
Joined: Fri 30 Jun 2006, 20:09

#23 Post by Bert »

That's great L18L,

It's always nice to get a translation ready-made, like was the case for nl.

However, there was lots of Fuzzy and the translation was not complete.
Now corrected :)

Thanks.
[url=http://pupsearch.weebly.com/][img]http://pupsearch.weebly.com/uploads/7/4/6/4/7464374/125791.gif[/img][/url]
[url=https://startpage.com/do/search?q=host%3Awww.murga-linux.com%2F][img]http://i.imgur.com/XJ9Tqc7.png[/img][/url]

Post Reply