Parent Directory | Revision Log
|Links to HEAD:||(view) (annotate)|
|Links to intl-branch-2010-03-18-1300:||(view) (annotate)|
o Turn off optimization properties for now. o Fix issue where we run into trouble doing a domain lookup. This can call the compiler, which might want to look up translations, which calls for a domain lookup and so on. We fix it by binding *locale* to "C" in FIND-ENCODING. o Don't translate the error message about bad magic numbers. Also, change the error to a warning and return NIL. I think otherwise we get in an infinite loop trying to find a domain to print the translated error message. o Fix OCTETS= to handle the case where start1/start2 is not less than end1/end2. This happens when we do a domain lookup for "" to determine the encoding.
o Use normal optimization for dump-pot-files o Print a simple message when dumping a domain. o Change external format from :utf8 to :iso8859-1. (Might be problems with utf8 when doing a worldcom?)
Paul says we need to call NOTE-TRANSLATABLE in READ-TRANSLATABLE-STRING for #\", just like for #\N. This allows string in code that has been conditionalized out to be put in the pot file.
Make the search for the domain file if search lists aren't initialized yet, since the default locale directories includes search lists. This prevents the search from failing if we need to print out an error message early in the build/load process. Could this be done in a better/different way? code/save.lisp: o Define *ENVIRONMENT-LIST-INITIALIZED* o Set *ENVIRONMENT-LIST-INITIALIZED* to T after ENVIRONMENT-INIT has initialized everything. code/intl.lisp: o Make LOCATE-DOMAIN-FILE return NIL if the search lists aren't set up yet. This allows translated strings to just use the non-translated version. bootfiles/20a/boot-2010-02-1.lisp: o Bootstrap *ENVIRONMENT-LIST-INITIALIZED*
Should be LET* in READ-TRANSLATABLE-STRING so we read the string.
Remove debugging print.
Print out warning when dumping the pot file if a key is nil.
Generate a warning if the key is NIL. Don't know how this happens, but it needs to be fixed.
o Change the domain from "libintl" to "cmucl". o Document that the comment reader handles "TRANSLATORS: " in a comment as translator comments that are written to the pot file. o Change DUMP-POT-FILES to include a new keyword parameter to specify the output directory. Each domain is written to a file in that directory.
Add support for localization. From Paul Foley. bootfiles/20a/boot-2010-02-1.lisp: o New file to bootstrap localization support. code/intl.lisp: o New file that implements localization. code/exports.lisp: o Define INTL package o Add INTL package to LISP tools/worldbuild.lisp tools/worldcom.lisp tools/worldload.lisp o Compile intl.lisp
file intl.lisp was initially added on branch intl-branch.
This form allows you to request diffs between any two revisions of this file. For each of the two "sides" of the diff, select a symbolic revision name using the selection box, or choose 'Use Text Field' and enter a numeric revision.
|Powered by ViewVC 1.1.5|