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 Wed 01 Oct 2014, 10:51
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 Posts_count   Goto page: 1, 2 Next
Author Message
Bert


Joined: 30 Jun 2006
Posts: 930

PostPosted: Thu 23 May 2013, 16:09    Post_subject:  Remove_builtin: buttons translation + Xdialog.mo... [SOLVED]
Sub_title: 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!

_________________



Edited_times_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: 2507
Location: Moved from Hosla to www.eussenheim.de

PostPosted: Fri 24 May 2013, 06:28    Post_subject: Remove_builtin: buttons translation
Sub_title: 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: 930

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: 930

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: 930

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: 2507
Location: Moved from Hosla to www.eussenheim.de

PostPosted: Fri 24 May 2013, 11:13    Post_subject: Remove_builtin: buttons translation
Sub_title: 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

Edited_times_total
Back to top
View user's profile Send_private_message 
Bert


Joined: 30 Jun 2006
Posts: 930

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: 2507
Location: Moved from Hosla to www.eussenheim.de

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: 930

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: 930

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?

_________________



Edited_time_total
Back to top
View user's profile Send_private_message 
L18L

Joined: 19 Jun 2010
Posts: 2507
Location: Moved from Hosla to www.eussenheim.de

PostPosted: Fri 24 May 2013, 13:11    Post_subject: Xdialog
Sub_title: 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: 930

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:   Sort by:   
Page 1 of 2 Posts_count   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:  

Rules_post_cannot
Rules_reply_cannot
Rules_edit_cannot
Rules_delete_cannot
Rules_vote_cannot
You cannot attach files in this forum
You can download files in this forum


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