|
Copyright (c) 2001-2002 by Jim Menard <jimm@io.com>
Released under the same license as Ruby. See www.ruby-lang.org/en/LICENSE.txt.
This file contains the ICE error code short phrase list in English and, eventually, other languages. It also contains the class Rice::ICECode. That class has static methods to set the language and return the error code short phrase for a given error number.
In a feeble attempt at i18n, each language should have a hash called CODE_PHRASES_XX, where XX is the XML language code (e.g., EN for English, FR for French, EN_UK for the Queen's English). A hash within Rice::ICECode called CODE_LANGUAGE_LIST contains key/value pairs. The keys are two- character language codes the values value are the the hashes for each language (see Rice::ICECode.CODE_LANGUAGE_LIST below).
Classes and Modules |