[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.ruby

[ANN] NLize (Native Languageize Ruby's error messages

arton

9/6/2008 5:34:00 PM

Hi all

I've just released NLize.
NLize is an extended library that converts Ruby's error messages into
native language using Ruby-GetText.
At this time, it only supports x86 Ruby (I've tested on Vista x86 with
msvc-60 and OS X 10.5 with x86 ruby), and has only ja/rubymsg.po and mo.
But already I've extracted the messages into pot file, so you can change
ruby's message into your native language with some translation effort
and some Ruby-GetText knowledge.
The repositry already has Rakefile with update_po, make_mo task and
creating gem task.

The usage is very simpl, you only need to put "require 'nlize'" line on
your top of the script, or invoking ruby with -rnlize option. Of course
if you'll install it with gem, prior loading RubyGems is required.

I think it's useful for novice programmer, so anyone who teaches ruby to
his students, co-workers etc, may have some interrest for it.

The sources are pushed in github.
http://github.com/arton/n...

Any suggestions, patches, pull requests are welcome.

Cheers.

--
arton <artonx@yahoo.co.jp>

--------------------------------------
Enjoy MLB with MAJOR.JP! Ichiro, Matsuzaka, Matsui, and more!
http://pr.mail.yahoo....

2 Answers

David Tenner

10/29/2009 6:34:00 AM

0

Yeechang Lee <ylee@pobox.com> wrote in news:slrnhei6i5.kc2.ylee@pobox.com :

> Michael G. Koerner wrote:
>> What effect would the USA accepting the Dominican Republic's
>> annexation petition during the Grant years have on this (or is this
>> ASB territory)?
>
> The topic's come up a few times before and no, the annexation is not
> ASB territory; far from it. (It's, I think, the only time in American
> history that Congress refused to pass a completed annexation
> agreement.)

I was thinking of the Sandwich Islands (Hawaii) in the 1850's: On August 19,
1854, US Commissioner David L. Gregg concluded a draft treaty with Foreign
Minister Wyllie incorporating the kingdom into the US as a state. The
provision for statehood, together with one for a $300,000 annuity for the
reigning monarch, would have doomed the treaty to defeat in the Senate; but
since Gregg could not even insure Hawaiian approval (King Kamehameha III
never actually signed it, and in any event he died in December 1854 and was
succeeded by the strongly anti-annexation Kamehameha IV) President Pierce
never sent the pact to the Senate. So that doesn't count as "completed."


>
> The State of Dominica voted reliably Republican from statehood in 1876
> (and provided the Electoral College votes necessary to avoid any
> controversy in Hayes' victory) through the 1930s.

I once had a scenario where Ulises Heureaux becoems the first black president
of the United States:

http://groups.google.com/group/soc.history.what-if/msg/8ad1fd...

--
David Tenner
dtenner@ameritech.net

Mike stone

10/29/2009 4:58:00 PM

0


"Lee Ratner" <lbratner@gmail.com> wrote in message
news:9149edd3-abf0-4307-a581-8f21965139f3@37g2000yqm.googlegroups.com...
>
> I think you need to change Senator Sumner's mind in order to get
>the Dominican Republic annexed into the United States. Senator Sumner
>oppossed annexation because he thought it was more valuable to have
>two free Black nations, the other being Haiti, in the Americas rather
>than just one.


How about if there _is_ no Senator Sumner? Say he dies about the same time
as his House colleague, Thad Stevens?

Obviously, there would still be other opponents, but without Sumner, is
there any chance Grant gets his way?



--

Mike Stone - Peterborough, England

"Freddie experienced the sort of abysmal soul-sadness which afflicts one of
Tolstoy's Russian peasants when, after putting in a heavy day's work
strangling his father, beating his wife, and dropping the baby in the
reservoir, he turns to the cupboard only to find the vodka bottle empty".


P G Wodehouse - Jill the Reckless