Commit Graph

19 Commits

Author SHA1 Message Date
Mike Thomas 3327f4b7e8 Since the classname is coming from a properties file - rip off any trailing whitespace.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4790 542714f4-19e9-0310-aa3c-eee0fc999fb1
2007-07-27 20:57:07 +00:00
Michael Bayne 09f0bee0f3 Yet more header patrol.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4602 542714f4-19e9-0310-aa3c-eee0fc999fb1
2007-02-24 00:39:27 +00:00
Michael Bayne a22bcfeb42 Yes ma'am, in the future, I promise to compile before committing.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4583 542714f4-19e9-0310-aa3c-eee0fc999fb1
2007-02-16 00:00:11 +00:00
Michael Bayne 44efca0c18 Demoted message to debug.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4582 542714f4-19e9-0310-aa3c-eee0fc999fb1
2007-02-15 23:49:28 +00:00
Mike Thomas 5f94b951d8 If we change the prefix at which we're looking for messages, reload our global bundle as well.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4487 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-12-19 18:08:54 +00:00
Mike Thomas 2fbd049185 Allow the prefix for where to find message translations to be set.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4466 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-12-01 17:28:06 +00:00
Michael Bayne a89473d1b5 Type safety patrol.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4243 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-07-05 00:50:28 +00:00
Michael Bayne ecac8e0f6d Move to our new Java logging based logging style which also fixes a conflict
between logging in the Narya util package and the Nenya util package.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4214 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-06-23 19:32:51 +00:00
Michael Bayne 596d2a4708 blank() -> isBlank().
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3749 542714f4-19e9-0310-aa3c-eee0fc999fb1
2005-11-09 04:00:16 +00:00
Ray Greenwell 6cb4345c6c Added method to get the Locale object that the client is using.
This may be different from the default Locale.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3746 542714f4-19e9-0310-aa3c-eee0fc999fb1
2005-11-04 02:16:05 +00:00
Michael Bayne 69fd36030f Added support for using a custom classloader when loading message bundles.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3306 542714f4-19e9-0310-aa3c-eee0fc999fb1
2005-01-20 16:32:10 +00:00
Michael Bayne a9720fd905 LGPLed the library. Hello world.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3099 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-08-27 02:21:06 +00:00
Michael Bayne a0718bc6cd Report the locale we're using. It's handy.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2987 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-03-31 02:09:37 +00:00
Michael Bayne d6f5a4da4d Added support for fully qualified translation messages which will be
fetched from the message bundle embedded in the fully qualified key even
if they are being translated within the context of another message bundle.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2060 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-12-12 22:24:51 +00:00
Michael Bayne b07fef8396 Added support for a global message bundle to which other bundles fall back
if they can't find a message in their own list of strings.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1876 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-11-01 00:01:37 +00:00
Michael Bayne e13f354672 Oops, forgot that ResourceBundle throws a MissingResourceException rather
than returning null. Whee!


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1322 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-05-01 02:47:18 +00:00
Michael Bayne 3f91aed3aa Added code to allow the creation of custom message bundles to go along
with a particular bundle's translation files. Mainly so Ray can do his
funny business with the pirate message translations.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1321 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-05-01 02:45:00 +00:00
Michael Bayne d026daa466 Not to choke if we can't resolve a resource bundle.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1320 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-04-30 17:45:27 +00:00
Michael Bayne 617d0e8cb0 Initial revision of localization support classes.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@893 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-01-29 20:44:35 +00:00