Commit Graph

9 Commits

Author SHA1 Message Date
Joshua Peek 8c2e839e5a Fix some warnings in i18n lib 2008-07-19 11:04:23 -05:00
Sven Fuchs fbe1823117 add i18n lib files 2008-07-16 04:16:08 +02:00
Sven Fuchs 731fca8cf6 remove i18n lib subproject 2008-07-16 04:15:31 +02:00
Sven Fuchs 84816ae981 align with changes in i18n 2008-07-06 21:20:02 +02:00
Sven Fuchs 8f74ba96c4 remove core extensions in favor of I18n#translate and I18n#localize 2008-07-02 19:21:07 +02:00
Sven Fuchs 8bfdabbd8b incorporate #translate usage with several default keys
(use first default key that resolves to a translation). this might, depending
on the backend implementation save some expensive lookups (like db lookups)
2008-06-21 17:50:37 +02:00
Sven Fuchs c1e2506494 Changed process of storing translations from the
client libraries to the backend: clients now can pass a block to
backend#populate which can contain code to load and register translations.

This makes sense for backends that persist their translations (e.g. to db)
so the repeated loading and passing of translations throughout the server
startup would be wasted resources.
2008-06-21 11:27:19 +02:00
Sven Fuchs 585c8c17c3 rename Backend::Simple#add_translations to set_translations
because it overwrites existing translations
2008-06-20 09:13:20 +02:00
Sven Fuchs 45d41f0dad integrating I18n into Rails 2008-06-19 16:25:27 +02:00