From: Emmanuel R. <emm...@gm...> - 2009-01-24 11:05:46
Hi,
I was reading the documentation for I18n (doc
http://java-gnome.sourceforge.net/4.0/doc/api/org/freedesktop/bindings/Internationalization.html)
and I think that the initialization of of gettext has a mistake.
The code sample shows:
public void main(String[] args) {
Gtk.init(args);
Initialization.init("myapp", "share/locale/");
...
}
But shouldn't the class be "Internationalization" instead of "Initialization"?
I don't have the java-gnome bindings so I can't test the code.
Emmanuel
From: Andrew C. <an...@op...> - 2009-01-24 13:17:10
On Sat, 2009-01-24 at 12:05 +0100, Emmanuel Rodriguez wrote:
> Initialization.init("myapp", "share/locale/");
> But shouldn't the class be "Internationalization" instead of "Initialization"?
Ha. Yes. :)
Anyone, feel free to submit a patch fixing that.
AfC
Hobart
From: Serkan K. <se...@ge...> - 2009-01-24 18:18:17
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Emmanuel Rodriguez yazmış:
> Hi,
>
> I was reading the documentation for I18n (doc
> http://java-gnome.sourceforge.net/4.0/doc/api/org/freedesktop/bindings/Internationalization.html)
> and I think that the initialization of of gettext has a mistake.
>
> The code sample shows:
>
> public void main(String[] args) {
> Gtk.init(args);
> Initialization.init("myapp", "share/locale/");
> ...
> }
>
> But shouldn't the class be "Internationalization" instead of "Initialization"?
>
> I don't have the java-gnome bindings so I can't test the code.
>
> Emmanuel
>
>
>
> ------------------------------------------------------------------------------
> This SF.net email is sponsored by:
> SourcForge Community
> SourceForge wants to tell your story.
> http://p.sf.net/sfu/sf-spreadtheword
> _______________________________________________
> java-gnome-developer mailing list
> jav...@li...
> https://lists.sourceforge.net/lists/listinfo/java-gnome-developer
>
>
>
First of all thank you for spotting the issue and reporting it
afterwards.We consider documentation an important part of java-gnome
project and any (even tiny) incorrect documentation should be fixed. It
would be even better if you can fix the error you found and contribute
to the project (Contribution is not limited to programming) You can read
HACKING doc (http://java-gnome.sourceforge.net/4.0/HACKING.html) online
for how to checkout the project, and generate a Bazaar bundle to be
merged to mainline (main development tree of java-gnome).
Thanks in advance,
- --
Sincerely,
Serkan KABA
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iEYEARECAAYFAkl7W1kACgkQRh6X64ivZaLEowCggjHsbl2s/XvyGaKWqCOwfUbS
EvIAnjdpednh4A71j9ZYPXRw/ElbMDUi
=4sfp
-----END PGP SIGNATURE-----
From: Emmanuel R. <emm...@gm...> - 2009-01-25 09:48:27
On Sat, Jan 24, 2009 at 7:18 PM, Serkan Kaba <se...@ge...> wrote:
> It would be even better if you can fix the error you found and contribute
> to the project (Contribution is not limited to programming) You can read
> HACKING doc (http://java-gnome.sourceforge.net/4.0/HACKING.html) online
> for how to checkout the project, and generate a Bazaar bundle to be
> merged to mainline (main development tree of java-gnome).
>
I tried to follow the instructions but it seems that the version of
bazaar available in Ubuntu 8.04 isn't compatible with your repository.
I have Bazaar (bzr) 1.3.1 and I seem to be refused access to your
repository. I find it odd that I can't use an old version of the
client. As far as I know CSV and Subversion never had an issue with
this. I've never used bazaar so I don't know too much how to deal with
this error:
$ bzr checkout bzr://research.operationaldynamics.com/bzr/java-gnome/mainline
bzr: ERROR: Unknown branch format: 'Bazaar Branch Format 7 (needs bzr 1.6)\n'
Please, be kind enough to fix the documentation on my behalf.
--
Emmanuel Rodriguez