Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Fri 18 Apr 2014, 18:17
All times are UTC - 4
 Forum index » Advanced Topics » Puppy Projects » Localization Project
Remove_builtin: buttons translation + Xdialog.mo... [SOLVED]
Moderators: Lobster, MU, raffy
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 2 [18 Posts]   Goto page: 1, 2 Next
Author Message
Bert


Joined: 30 Jun 2006
Posts: 915

PostPosted: Thu 23 May 2013, 16:09    Post subject:  Remove_builtin: buttons translation + Xdialog.mo... [SOLVED]
Subject description: also Xdialog struggles, now also [SOLVED]
 

Situation:



It looks like the two buttons have no localisation entry in the .po.
Is there something we can do?

It's not that important, but it would be nice to get this 100% translated.

Thanks!

_________________



Last edited by Bert on Sat 25 May 2013, 15:13; edited 3 times in total
Back to top
View user's profile Send private message 
rodin.s

Joined: 22 Sep 2010
Posts: 338
Location: Ukraine

PostPosted: Fri 24 May 2013, 04:09    Post subject:  

Translated here. You need files: gtk20.mo, gtk20-properties.mo or so.
Back to top
View user's profile Send private message 
L18L

Joined: 19 Jun 2010
Posts: 2473
Location: Burghaslach, Germany somewhere also known as "Hosla"

PostPosted: Fri 24 May 2013, 06:28    Post subject: Remove_builtin: buttons translation
Subject description: Xdialog bug
 

Xdialog.mo has Cancel and Help but does not use it.

cancel-label "$gettext 'Cancel'" works
but there is no help-label Evil or Very Mad


I have gtk20.mo and the same problem as Bert.
added gtk20-properties.mo, gtk+.mo gtk-engines.mo without success.

What else could be "or so" ? Cool
Back to top
View user's profile Send private message 
Bert


Joined: 30 Jun 2006
Posts: 915

PostPosted: Fri 24 May 2013, 06:39    Post subject:  

Yes, I too have gtk20.mo and gtk20-properties.mo available.

Gtk20-properties has 'cancel button', but not 'cancel' at first sight.

EDIT: changed the 'cancel-button' to 'cancel'. No effect.

_________________


Back to top
View user's profile Send private message 
rodin.s

Joined: 22 Sep 2010
Posts: 338
Location: Ukraine

PostPosted: Fri 24 May 2013, 10:21    Post subject:  

So, it's Xdialog. Test line for it:
Code:
Xdialog --buildlist "test" 0 0 5 abc abc off def def on

Are buttons translated? In my case - yes.
I put Xdialog.mo in two places: /usr/share/locale/ru/LC_MESSAGES/ and /usr/local/share/locale/ru/LC_MESAGES (for Slacko).
Back to top
View user's profile Send private message 
Bert


Joined: 30 Jun 2006
Posts: 915

PostPosted: Fri 24 May 2013, 10:36    Post subject:  



Crying or Very sad

_________________


Back to top
View user's profile Send private message 
rodin.s

Joined: 22 Sep 2010
Posts: 338
Location: Ukraine

PostPosted: Fri 24 May 2013, 10:47    Post subject:  

I guess you need Xdialog.mo in one (or better both) of those locations...
Back to top
View user's profile Send private message 
Bert


Joined: 30 Jun 2006
Posts: 915

PostPosted: Fri 24 May 2013, 10:54    Post subject:  

Please don't laugh now..

You are right rodin s.
I don't have the mo anywhere

Embarassed I'm sorry Embarassed

_________________


Back to top
View user's profile Send private message 
L18L

Joined: 19 Jun 2010
Posts: 2473
Location: Burghaslach, Germany somewhere also known as "Hosla"

PostPosted: Fri 24 May 2013, 11:13    Post subject: Remove_builtin: buttons translation
Subject description: Xdialog.mo in /usr/local/share/locale
 

rodin.s wrote:
So, it's Xdialog. Test line for it:
Code:
Xdialog --buildlist "test" 0 0 5 abc abc off def def on

Are buttons translated? In my case - yes.
I put Xdialog.mo in two places: /usr/share/locale/ru/LC_MESSAGES/ and /usr/local/share/locale/ru/LC_MESAGES (for Slacko).

Very useful, thank you.

I had Xdialog.mo in default TEXTDOMAINDIR
moved it to /usr/local/share/locale/de/LC_MESSAGES/
and....
success Question

Bert
I search a Dutch one for you
wait a moment

found Xdialog.po on the web (charset changed to UTF-8 by me):

Code:
# Dutch Translation.
# Copyright (C) 2003 Free Software Foundation, Inc.
# James Briggs <james@ActionMessage.com>, 2003.
#
msgid ""
msgstr ""
"Project-Id-Version: Xdialog v2.1.2\n"
"POT-Creation-Date: 2002-03-21 13:29+0100\n"
"PO-Revision-Date: 2003-12-03 01:00-0800\n"
"Last-Translator: James Briggs <james@ActionMessage.com>\n"
"Language-Team: Dutch\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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



Posted the link in our thread PortableObjectTemplate Files

Last edited by L18L on Fri 24 May 2013, 11:58; edited 2 times in total
Back to top
View user's profile Send private message 
Bert


Joined: 30 Jun 2006
Posts: 915

PostPosted: Fri 24 May 2013, 11:44    Post subject:  

Thank you!

Cool

_________________


Back to top
View user's profile Send private message 
L18L

Joined: 19 Jun 2010
Posts: 2473
Location: Burghaslach, Germany somewhere also known as "Hosla"

PostPosted: Fri 24 May 2013, 11:56    Post subject: Xdialog  

Bert,

does it work after using momanager?

I mean there could be some issues because of different location of mo file.

Your job as tester will not be finished before you report success Laughing
Back to top
View user's profile Send private message 
Bert


Joined: 30 Jun 2006
Posts: 915

PostPosted: Fri 24 May 2013, 12:21    Post subject:  



Very Happy Very Happy Very Happy

Danke!

Спасибо!

_________________


Back to top
View user's profile Send private message 
Bert


Joined: 30 Jun 2006
Posts: 915

PostPosted: Fri 24 May 2013, 12:32    Post subject:  

So I've put the Xdialog.mo in the two places:

/usr/share/locale/nl/LC_MESSAGES/

AND

/usr/local/share/locale/nl/LC_MESSAGES/

Will Momanager see both when creating the pet?

_________________



Last edited by Bert on Fri 24 May 2013, 16:09; edited 1 time in total
Back to top
View user's profile Send private message 
L18L

Joined: 19 Jun 2010
Posts: 2473
Location: Burghaslach, Germany somewhere also known as "Hosla"

PostPosted: Fri 24 May 2013, 13:11    Post subject: Xdialog
Subject description: behaviour in momanager
 

At first I have been trying to use symlinks....
Then with Xdialog.mo in both locations, Xdialo.pot in /usr/share/doc/nls/Xdialog/
changed all charset to UTF-8 but
-> momanager cannot merge ( red bad news )

Thus there is something to play with for me the next days.....
Back to top
View user's profile Send private message 
Bert


Joined: 30 Jun 2006
Posts: 915

PostPosted: Fri 24 May 2013, 15:46    Post subject:  

Alternatively, we could just add /usr/local/share/locale/nl/LC_MESSAGES/xdialog.mo manually, couldn't we?

(in my case, crack open the new pet created by MoManager, add the above and dir2pet again.)

(or try to find info on L18L's hacks.sh and how to use it Laughing )

_________________


Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 2 [18 Posts]   Goto page: 1, 2 Next
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Puppy Projects » Localization Project
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0633s ][ Queries: 11 (0.0034s) ][ GZIP on ]