v5:reference:adodb_lang
Differences
This shows you the differences between two versions of the page.
Next revisionBoth sides next revision | |||
reference:adodb_lang [2015/07/12 20:03] – created mnewnham | reference:adodb_lang [2015/10/09 23:33] – mnewnham | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== $ADODB_LANG ====== | ====== $ADODB_LANG ====== | ||
+ | ~~NOTOC~~ | ||
<WRAP info right> | <WRAP info right> | ||
Line 6: | Line 7: | ||
</ | </ | ||
+ | ===== Description ===== | ||
Determines the language used in [[MetaErrorMsg]]. The default is ' | Determines the language used in [[MetaErrorMsg]]. The default is ' | ||
Line 31: | Line 33: | ||
|fr|| | |fr|| | ||
|ro|| | |ro|| | ||
- | |||
===== Syntax ===== | ===== Syntax ===== | ||
- | |||
<code pre> | <code pre> | ||
$ADODB_LANG = ' | $ADODB_LANG = ' | ||
</ | </ | ||
+ | |||
+ | ===== Language Files ===== | ||
+ | The language files to provide help are stored in the adodb/lang directory. The US english file looks like this: | ||
+ | |||
+ | $ADODB_LANG_ARRAY = array ( | ||
+ | ' | ||
+ | DB_ERROR | ||
+ | DB_ERROR_ALREADY_EXISTS | ||
+ | DB_ERROR_CANNOT_CREATE | ||
+ | DB_ERROR_CANNOT_DELETE | ||
+ | DB_ERROR_CANNOT_DROP | ||
+ | DB_ERROR_CONSTRAINT | ||
+ | DB_ERROR_DIVZERO | ||
+ | DB_ERROR_INVALID | ||
+ | DB_ERROR_INVALID_DATE | ||
+ | DB_ERROR_INVALID_NUMBER | ||
+ | DB_ERROR_MISMATCH | ||
+ | DB_ERROR_NODBSELECTED | ||
+ | DB_ERROR_NOSUCHFIELD | ||
+ | DB_ERROR_NOSUCHTABLE | ||
+ | DB_ERROR_NOT_CAPABLE | ||
+ | DB_ERROR_NOT_FOUND | ||
+ | DB_ERROR_NOT_LOCKED | ||
+ | DB_ERROR_SYNTAX | ||
+ | DB_ERROR_UNSUPPORTED | ||
+ | DB_ERROR_VALUE_COUNT_ON_ROW => 'value count on row', | ||
+ | DB_ERROR_INVALID_DSN | ||
+ | DB_ERROR_CONNECT_FAILED | ||
+ | 0 => 'no error', | ||
+ | DB_ERROR_NEED_MORE_DATA | ||
+ | DB_ERROR_EXTENSION_NOT_FOUND=> | ||
+ | DB_ERROR_NOSUCHDB | ||
+ | DB_ERROR_ACCESS_VIOLATION | ||
+ | DB_ERROR_DEADLOCK | ||
+ | DB_ERROR_STATEMENT_TIMEOUT | ||
+ | DB_ERROR_SERIALIZATION_FAILURE => 'could not serialize access' | ||
+ | ); |
v5/reference/adodb_lang.txt · Last modified: 2016/01/19 05:31 by 66.249.75.217