Commit Graph

10 Commits

Author SHA1 Message Date
jonnylamb 4252a2496d Fixes to build system, so not only does it build, but it also creates the MO files correctly now. 2007-08-24 17:32:22 +00:00
jonnylamb f9be78b58a Rename compiled translation files from *.gmo, to *.mo. These are identical in type except extension. It seems *.mo is more the industry standard (also on request from Trisk). 2007-08-24 11:24:04 +00:00
alexhudson 1764749c58 Stop Lucene crashing on x86_64 (import only, sadly...), and 'make clean' works again 2007-07-13 16:34:13 +00:00
jonnylamb 67c91f6090 * Change l10n stuff in Dragonfly from labels to strings. This is all Alex Hixon's work.
* Alex also added a different gettext scheme to use the po/ system as opposed to the dragonfly.properties file.
* I have added a po2json script. This uses polib to take strings out of /po/bongo-web.pot and create a json file.
* Currently a few issues are here though:
  + src/www/js/JCal.js is commented out in po/POTFILES.bongo-web because it's creating errors of some charset or something when 'make update-pot' is called. This should be resolved shortly.
  + The po2json script is absolutely disgusting at the moment. It works, but the source is in need of a little cleanup. This should also be rather quick and easy to cut-down.
  + I have edited src/www/js/Gettext.js to use a different directory from what is desired. Ultimately, /l10n/$lang/LC_MESSAGES/dragonfly.js will be used, but at the moment, /l10n/$lang.js is being used. This is also another TODO thing..
  + It currently doesn't work. No joke. This is some JS-issue. However, it pretty much does work if you're using English because now that all gettext msgids are now strings, and not labels, DF falls back on them, and all is fine. There are just some warnings spaffed out on the logs and on the login screen.
  + I have just seen that I made a silly mistake in configure.ac. I'll fix that on the next commit, in a few seconds..
So, please do not try out this commit (or the next) unless your name is Alexander Hixon.
2007-07-13 10:57:11 +00:00
jonnylamb 8ea2a88dcc * Added another gettext package: bongo-web. This is for Dragonfly+Hawkeye translations. The old bongo package remains. This is for the core of Bongo, for example the CLI apps.
* Made the po/ system more flexible. Simply drop a .po file in either po/bongo/ or po/bongo-web/ and everything's done for you.
* Fixed a dirty hack about dist_noinst_DATA. $POFILES was being used ~2000 lines before being set. Thiss is now set much earlier on, from configure.ac.
* POTFILES.in split into .bongo and .bongo-web for the respective gettext package.
2007-07-12 13:15:48 +00:00
alexhudson 8826f58c02 Some .gmo install rule fixes 2007-07-08 10:00:19 +00:00
jonnylamb 10251755e4 Horrible nasty hack to make po/fr.po be included in the make dist tarball. I have no idea why it did not before.. This is certainly something for my TODO list. 2007-07-07 12:42:57 +00:00
trisk 0607a6a5a6 * Clean up rules for translations (fixes a problem in the install rule). 2007-07-07 06:37:20 +00:00
jonnylamb 8b07cf34ec Small fix in %.gmo rule to enable building gmo files on clean checkouts. 2007-07-06 11:22:28 +00:00
jonnylamb 9ddb368e33 * Integrate i18n building into the Bongo.rules system:
* Created a new Bongo.rules file.
* Cleaned up po/ and lots of rubbish that gets put there on gettextize.
* Added a README.
2007-07-05 21:40:10 +00:00