Rene Lopez | 3 Jun 2009 23:59
Picon

Translating Zero Install

I already have translated it and are just checking that everything is
in context but, as I thought when translating it, there are a lot of
missing strings and I'm "gettextizing" them; others are useless or I
haven't found where they appear. I think that you must keep in mind
translations when adding new strings so it can be easier to completely
translate them.

------------------------------------------------------------------------------
OpenSolaris 2009.06 is a cutting edge operating system for enterprises 
looking to deploy the next generation of Solaris that includes the latest 
innovations from Sun and the OpenSource community. Download a copy and 
enjoy capabilities such as Networking, Storage and Virtualization. 
Go to: http://p.sf.net/sfu/opensolaris-get
Rene Lopez | 4 Jun 2009 04:35
Picon

Re: Translating Zero Install

On Wed, Jun 3, 2009 at 4:59 PM, Rene Lopez <rsl <at> members.fsf.org> wrote:
> I already have translated it and are just checking that everything is
> in context but, as I thought when translating it, there are a lot of
> missing strings and I'm "gettextizing" them; others are useless or I
> haven't found where they appear. I think that you must keep in mind
> translations when adding new strings so it can be easier to completely
> translate them.
>
I want you to review my changes to the source to see what do you
think, maybe I'm gettextizing something that should not be translated
(because is parsed) or the contrary.

I haven't added the --version output, should I add it?

Attached just the gtkui part as the rest is almost the same type of changes.

PS. Do this list prefer attachments or pastebins?
Attachment (gtkui.diff): text/x-patch, 10 KiB
------------------------------------------------------------------------------
OpenSolaris 2009.06 is a cutting edge operating system for enterprises 
looking to deploy the next generation of Solaris that includes the latest 
innovations from Sun and the OpenSource community. Download a copy and 
enjoy capabilities such as Networking, Storage and Virtualization. 
Go to: http://p.sf.net/sfu/opensolaris-get
_______________________________________________
Zero-install-devel mailing list
Zero-install-devel <at> lists.sourceforge.net
(Continue reading)

Thomas Leonard | 4 Jun 2009 09:00
Picon
Gravatar

Re: Translating Zero Install

2009/6/4 Rene Lopez <rsl <at> members.fsf.org>:
> On Wed, Jun 3, 2009 at 4:59 PM, Rene Lopez <rsl <at> members.fsf.org> wrote:
>> I already have translated it and are just checking that everything is
>> in context but, as I thought when translating it, there are a lot of
>> missing strings and I'm "gettextizing" them; others are useless or I
>> haven't found where they appear. I think that you must keep in mind
>> translations when adding new strings so it can be easier to completely
>> translate them.
>>
> I want you to review my changes to the source to see what do you
> think, maybe I'm gettextizing something that should not be translated
> (because is parsed) or the contrary.

Looks fine to me. Probably don't need to translate asserts (since the
message should never get displayed), e.g.

   assert widget, _("Widget '%s' not found in glade file '%s'") %
(name, self.gladefile)

Although possibly some of the asserts can trigger in normal cases.
e.g. I should probably change

		assert impl, _("Failed to choose an implementation of %s") % uri

to something like:

		if not impl:
				raise SafeException(_("Failed to choose an implementation of %s") % uri)

> I haven't added the --version output, should I add it?
(Continue reading)

Rene Lopez | 4 Jun 2009 04:21
Picon

Re: Translating Zero Install

I have attached patch with translated .desktop and .directory files, I
not sure if you want the .directory to be "translated" or not (I
copied the string so you know that I have looked at the file and
choose to keep it that way; I think all translations will leave it as
it is).
------------------------------------------------------------------------------
OpenSolaris 2009.06 is a cutting edge operating system for enterprises 
looking to deploy the next generation of Solaris that includes the latest 
innovations from Sun and the OpenSource community. Download a copy and 
enjoy capabilities such as Networking, Storage and Virtualization. 
Go to: http://p.sf.net/sfu/opensolaris-get
_______________________________________________
Zero-install-devel mailing list
Zero-install-devel <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/zero-install-devel

Gmane