Subversion Repositories Applications.papyrus

Compare Revisions

Ignore whitespace Rev 1919 → Rev 2150

/trunk/api/pear/Net/URL.php
1,485 → 1,485
<?php
// +-----------------------------------------------------------------------+
// | Copyright (c) 2002-2004, Richard Heyes |
// | All rights reserved. |
// | |
// | Redistribution and use in source and binary forms, with or without |
// | modification, are permitted provided that the following conditions |
// | are met: |
// | |
// | o Redistributions of source code must retain the above copyright |
// | notice, this list of conditions and the following disclaimer. |
// | o Redistributions in binary form must reproduce the above copyright |
// | notice, this list of conditions and the following disclaimer in the |
// | documentation and/or other materials provided with the distribution.|
// | o The names of the authors may not be used to endorse or promote |
// | products derived from this software without specific prior written |
// | permission. |
// | |
// | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS |
// | "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT |
// | LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR |
// | A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT |
// | OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, |
// | SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT |
// | LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, |
// | DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY |
// | THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
// | (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE |
// | OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
// | |
// +-----------------------------------------------------------------------+
// | Author: Richard Heyes <richard at php net> |
// +-----------------------------------------------------------------------+
//
// $Id: URL.php,v 1.3 2007-11-19 14:06:54 alexandre_tb Exp $
//
// Net_URL Class
 
 
class Net_URL
{
var $options = array('encode_query_keys' => false);
/**
* Full url
* @var string
*/
var $url;
 
/**
* Protocol
* @var string
*/
var $protocol;
 
/**
* Username
* @var string
*/
var $username;
 
/**
* Password
* @var string
*/
var $password;
 
/**
* Host
* @var string
*/
var $host;
 
/**
* Port
* @var integer
*/
var $port;
 
/**
* Path
* @var string
*/
var $path;
 
/**
* Query string
* @var array
*/
var $querystring;
 
/**
* Anchor
* @var string
*/
var $anchor;
 
/**
* Whether to use []
* @var bool
*/
var $useBrackets;
 
/**
* PHP4 Constructor
*
* @see __construct()
*/
function Net_URL($url = null, $useBrackets = true)
{
$this->__construct($url, $useBrackets);
}
 
/**
* PHP5 Constructor
*
* Parses the given url and stores the various parts
* Defaults are used in certain cases
*
* @param string $url Optional URL
* @param bool $useBrackets Whether to use square brackets when
* multiple querystrings with the same name
* exist
*/
function __construct($url = null, $useBrackets = true)
{
$this->url = $url;
$this->useBrackets = $useBrackets;
 
$this->initialize();
}
 
function initialize()
{
$HTTP_SERVER_VARS = !empty($_SERVER) ? $_SERVER : $GLOBALS['HTTP_SERVER_VARS'];
 
$this->user = '';
$this->pass = '';
$this->host = '';
$this->port = 80;
$this->path = '';
$this->querystring = array();
$this->anchor = '';
 
// Only use defaults if not an absolute URL given
if (!preg_match('/^[a-z0-9]+:\/\//i', $this->url)) {
$this->protocol = (!empty($_SERVER['HTTPS']) && $_SERVER['HTTPS'] == 'on' ? 'https' : 'http');
 
/**
* Figure out host/port
*/
if (!empty($HTTP_SERVER_VARS['HTTP_HOST']) &&
preg_match('/^(.*)(:([0-9]+))?$/U', $HTTP_SERVER_VARS['HTTP_HOST'], $matches))
{
$host = $matches[1];
if (!empty($matches[3])) {
$port = $matches[3];
} else {
$port = $this->getStandardPort($this->protocol);
}
}
 
$this->user = '';
$this->pass = '';
$this->host = !empty($host) ? $host : (isset($HTTP_SERVER_VARS['SERVER_NAME']) ? $HTTP_SERVER_VARS['SERVER_NAME'] : 'localhost');
$this->port = !empty($port) ? $port : (isset($HTTP_SERVER_VARS['SERVER_PORT']) ? $HTTP_SERVER_VARS['SERVER_PORT'] : $this->getStandardPort($this->protocol));
$this->path = !empty($HTTP_SERVER_VARS['PHP_SELF']) ? $HTTP_SERVER_VARS['PHP_SELF'] : '/';
$this->querystring = isset($HTTP_SERVER_VARS['QUERY_STRING']) ? $this->_parseRawQuerystring($HTTP_SERVER_VARS['QUERY_STRING']) : null;
$this->anchor = '';
}
 
// Parse the url and store the various parts
if (!empty($this->url)) {
$urlinfo = parse_url($this->url);
 
// Default querystring
$this->querystring = array();
 
foreach ($urlinfo as $key => $value) {
switch ($key) {
case 'scheme':
$this->protocol = $value;
$this->port = $this->getStandardPort($value);
break;
 
case 'user':
case 'pass':
case 'host':
case 'port':
$this->$key = $value;
break;
 
case 'path':
if ($value{0} == '/') {
$this->path = $value;
} else {
$path = dirname($this->path) == DIRECTORY_SEPARATOR ? '' : dirname($this->path);
$this->path = sprintf('%s/%s', $path, $value);
}
break;
 
case 'query':
$this->querystring = $this->_parseRawQueryString($value);
break;
 
case 'fragment':
$this->anchor = $value;
break;
}
}
}
}
/**
* Returns full url
*
* @return string Full url
* @access public
*/
function getURL()
{
$querystring = $this->getQueryString();
 
$this->url = $this->protocol . '://'
. $this->user . (!empty($this->pass) ? ':' : '')
. $this->pass . (!empty($this->user) ? '@' : '')
. $this->host . ($this->port == $this->getStandardPort($this->protocol) ? '' : ':' . $this->port)
. $this->path
. (!empty($querystring) ? '?' . $querystring : '')
. (!empty($this->anchor) ? '#' . $this->anchor : '');
 
return $this->url;
}
 
/**
* Adds or updates a querystring item (URL parameter).
* Automatically encodes parameters with rawurlencode() if $preencoded
* is false.
* You can pass an array to $value, it gets mapped via [] in the URL if
* $this->useBrackets is activated.
*
* @param string $name Name of item
* @param string $value Value of item
* @param bool $preencoded Whether value is urlencoded or not, default = not
* @access public
*/
function addQueryString($name, $value, $preencoded = false)
{
if ($this->getOption('encode_query_keys')) {
$name = rawurlencode($name);
}
 
if ($preencoded) {
$this->querystring[$name] = $value;
} else {
$this->querystring[$name] = is_array($value) ? array_map('rawurlencode', $value): rawurlencode($value);
}
}
 
/**
* Removes a querystring item
*
* @param string $name Name of item
* @access public
*/
function removeQueryString($name)
{
if ($this->getOption('encode_query_keys')) {
$name = rawurlencode($name);
}
 
if (isset($this->querystring[$name])) {
unset($this->querystring[$name]);
}
}
 
/**
* Sets the querystring to literally what you supply
*
* @param string $querystring The querystring data. Should be of the format foo=bar&x=y etc
* @access public
*/
function addRawQueryString($querystring)
{
$this->querystring = $this->_parseRawQueryString($querystring);
}
 
/**
* Returns flat querystring
*
* @return string Querystring
* @access public
*/
function getQueryString()
{
if (!empty($this->querystring)) {
foreach ($this->querystring as $name => $value) {
// Encode var name
$name = rawurlencode($name);
 
if (is_array($value)) {
foreach ($value as $k => $v) {
$querystring[] = $this->useBrackets ? sprintf('%s[%s]=%s', $name, $k, $v) : ($name . '=' . $v);
}
} elseif (!is_null($value)) {
$querystring[] = $name . '=' . $value;
} else {
$querystring[] = $name;
}
}
$querystring = implode(ini_get('arg_separator.output'), $querystring);
} else {
$querystring = '';
}
 
return $querystring;
}
 
/**
* Parses raw querystring and returns an array of it
*
* @param string $querystring The querystring to parse
* @return array An array of the querystring data
* @access private
*/
function _parseRawQuerystring($querystring)
{
$parts = preg_split('/[' . preg_quote(ini_get('arg_separator.input'), '/') . ']/', $querystring, -1, PREG_SPLIT_NO_EMPTY);
$return = array();
 
foreach ($parts as $part) {
if (strpos($part, '=') !== false) {
$value = substr($part, strpos($part, '=') + 1);
$key = substr($part, 0, strpos($part, '='));
} else {
$value = null;
$key = $part;
}
 
if (!$this->getOption('encode_query_keys')) {
$key = rawurldecode($key);
}
 
if (preg_match('#^(.*)\[([0-9a-z_-]*)\]#i', $key, $matches)) {
$key = $matches[1];
$idx = $matches[2];
 
// Ensure is an array
if (empty($return[$key]) || !is_array($return[$key])) {
$return[$key] = array();
}
 
// Add data
if ($idx === '') {
$return[$key][] = $value;
} else {
$return[$key][$idx] = $value;
}
} elseif (!$this->useBrackets AND !empty($return[$key])) {
$return[$key] = (array)$return[$key];
$return[$key][] = $value;
} else {
$return[$key] = $value;
}
}
 
return $return;
}
 
/**
* Resolves //, ../ and ./ from a path and returns
* the result. Eg:
*
* /foo/bar/../boo.php => /foo/boo.php
* /foo/bar/../../boo.php => /boo.php
* /foo/bar/.././/boo.php => /foo/boo.php
*
* This method can also be called statically.
*
* @param string $path URL path to resolve
* @return string The result
*/
function resolvePath($path)
{
$path = explode('/', str_replace('//', '/', $path));
 
for ($i=0; $i<count($path); $i++) {
if ($path[$i] == '.') {
unset($path[$i]);
$path = array_values($path);
$i--;
 
} elseif ($path[$i] == '..' AND ($i > 1 OR ($i == 1 AND $path[0] != '') ) ) {
unset($path[$i]);
unset($path[$i-1]);
$path = array_values($path);
$i -= 2;
 
} elseif ($path[$i] == '..' AND $i == 1 AND $path[0] == '') {
unset($path[$i]);
$path = array_values($path);
$i--;
 
} else {
continue;
}
}
 
return implode('/', $path);
}
 
/**
* Returns the standard port number for a protocol
*
* @param string $scheme The protocol to lookup
* @return integer Port number or NULL if no scheme matches
*
* @author Philippe Jausions <Philippe.Jausions@11abacus.com>
*/
function getStandardPort($scheme)
{
switch (strtolower($scheme)) {
case 'http': return 80;
case 'https': return 443;
case 'ftp': return 21;
case 'imap': return 143;
case 'imaps': return 993;
case 'pop3': return 110;
case 'pop3s': return 995;
default: return null;
}
}
 
/**
* Forces the URL to a particular protocol
*
* @param string $protocol Protocol to force the URL to
* @param integer $port Optional port (standard port is used by default)
*/
function setProtocol($protocol, $port = null)
{
$this->protocol = $protocol;
$this->port = is_null($port) ? $this->getStandardPort($protocol) : $port;
}
 
/**
* Set an option
*
* This function set an option
* to be used thorough the script.
*
* @access public
* @param string $optionName The optionname to set
* @param string $value The value of this option.
*/
function setOption($optionName, $value)
{
if (!array_key_exists($optionName, $this->options)) {
return false;
}
 
$this->options[$optionName] = $value;
$this->initialize();
}
 
/**
* Get an option
*
* This function gets an option
* from the $this->options array
* and return it's value.
*
* @access public
* @param string $opionName The name of the option to retrieve
* @see $this->options
*/
function getOption($optionName)
{
if (!isset($this->options[$optionName])) {
return false;
}
 
return $this->options[$optionName];
}
 
}
?>
<?php
// +-----------------------------------------------------------------------+
// | Copyright (c) 2002-2004, Richard Heyes |
// | All rights reserved. |
// | |
// | Redistribution and use in source and binary forms, with or without |
// | modification, are permitted provided that the following conditions |
// | are met: |
// | |
// | o Redistributions of source code must retain the above copyright |
// | notice, this list of conditions and the following disclaimer. |
// | o Redistributions in binary form must reproduce the above copyright |
// | notice, this list of conditions and the following disclaimer in the |
// | documentation and/or other materials provided with the distribution.|
// | o The names of the authors may not be used to endorse or promote |
// | products derived from this software without specific prior written |
// | permission. |
// | |
// | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS |
// | "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT |
// | LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR |
// | A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT |
// | OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, |
// | SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT |
// | LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, |
// | DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY |
// | THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
// | (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE |
// | OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
// | |
// +-----------------------------------------------------------------------+
// | Author: Richard Heyes <richard at php net> |
// +-----------------------------------------------------------------------+
//
// $Id: URL.php,v 1.49 2007/06/28 14:43:07 davidc Exp $
//
// Net_URL Class
 
 
class Net_URL
{
var $options = array('encode_query_keys' => false);
/**
* Full url
* @var string
*/
var $url;
 
/**
* Protocol
* @var string
*/
var $protocol;
 
/**
* Username
* @var string
*/
var $username;
 
/**
* Password
* @var string
*/
var $password;
 
/**
* Host
* @var string
*/
var $host;
 
/**
* Port
* @var integer
*/
var $port;
 
/**
* Path
* @var string
*/
var $path;
 
/**
* Query string
* @var array
*/
var $querystring;
 
/**
* Anchor
* @var string
*/
var $anchor;
 
/**
* Whether to use []
* @var bool
*/
var $useBrackets;
 
/**
* PHP4 Constructor
*
* @see __construct()
*/
function Net_URL($url = null, $useBrackets = true)
{
$this->__construct($url, $useBrackets);
}
 
/**
* PHP5 Constructor
*
* Parses the given url and stores the various parts
* Defaults are used in certain cases
*
* @param string $url Optional URL
* @param bool $useBrackets Whether to use square brackets when
* multiple querystrings with the same name
* exist
*/
function __construct($url = null, $useBrackets = true)
{
$this->url = $url;
$this->useBrackets = $useBrackets;
 
$this->initialize();
}
 
function initialize()
{
$HTTP_SERVER_VARS = !empty($_SERVER) ? $_SERVER : $GLOBALS['HTTP_SERVER_VARS'];
 
$this->user = '';
$this->pass = '';
$this->host = '';
$this->port = 80;
$this->path = '';
$this->querystring = array();
$this->anchor = '';
 
// Only use defaults if not an absolute URL given
if (!preg_match('/^[a-z0-9]+:\/\//i', $this->url)) {
$this->protocol = (!empty($_SERVER['HTTPS']) && $_SERVER['HTTPS'] == 'on' ? 'https' : 'http');
 
/**
* Figure out host/port
*/
if (!empty($HTTP_SERVER_VARS['HTTP_HOST']) &&
preg_match('/^(.*)(:([0-9]+))?$/U', $HTTP_SERVER_VARS['HTTP_HOST'], $matches))
{
$host = $matches[1];
if (!empty($matches[3])) {
$port = $matches[3];
} else {
$port = $this->getStandardPort($this->protocol);
}
}
 
$this->user = '';
$this->pass = '';
$this->host = !empty($host) ? $host : (isset($HTTP_SERVER_VARS['SERVER_NAME']) ? $HTTP_SERVER_VARS['SERVER_NAME'] : 'localhost');
$this->port = !empty($port) ? $port : (isset($HTTP_SERVER_VARS['SERVER_PORT']) ? $HTTP_SERVER_VARS['SERVER_PORT'] : $this->getStandardPort($this->protocol));
$this->path = !empty($HTTP_SERVER_VARS['PHP_SELF']) ? $HTTP_SERVER_VARS['PHP_SELF'] : '/';
$this->querystring = isset($HTTP_SERVER_VARS['QUERY_STRING']) ? $this->_parseRawQuerystring($HTTP_SERVER_VARS['QUERY_STRING']) : null;
$this->anchor = '';
}
 
// Parse the url and store the various parts
if (!empty($this->url)) {
$urlinfo = parse_url($this->url);
 
// Default querystring
$this->querystring = array();
 
foreach ($urlinfo as $key => $value) {
switch ($key) {
case 'scheme':
$this->protocol = $value;
$this->port = $this->getStandardPort($value);
break;
 
case 'user':
case 'pass':
case 'host':
case 'port':
$this->$key = $value;
break;
 
case 'path':
if ($value{0} == '/') {
$this->path = $value;
} else {
$path = dirname($this->path) == DIRECTORY_SEPARATOR ? '' : dirname($this->path);
$this->path = sprintf('%s/%s', $path, $value);
}
break;
 
case 'query':
$this->querystring = $this->_parseRawQueryString($value);
break;
 
case 'fragment':
$this->anchor = $value;
break;
}
}
}
}
/**
* Returns full url
*
* @return string Full url
* @access public
*/
function getURL()
{
$querystring = $this->getQueryString();
 
$this->url = $this->protocol . '://'
. $this->user . (!empty($this->pass) ? ':' : '')
. $this->pass . (!empty($this->user) ? '@' : '')
. $this->host . ($this->port == $this->getStandardPort($this->protocol) ? '' : ':' . $this->port)
. $this->path
. (!empty($querystring) ? '?' . $querystring : '')
. (!empty($this->anchor) ? '#' . $this->anchor : '');
 
return $this->url;
}
 
/**
* Adds or updates a querystring item (URL parameter).
* Automatically encodes parameters with rawurlencode() if $preencoded
* is false.
* You can pass an array to $value, it gets mapped via [] in the URL if
* $this->useBrackets is activated.
*
* @param string $name Name of item
* @param string $value Value of item
* @param bool $preencoded Whether value is urlencoded or not, default = not
* @access public
*/
function addQueryString($name, $value, $preencoded = false)
{
if ($this->getOption('encode_query_keys')) {
$name = rawurlencode($name);
}
 
if ($preencoded) {
$this->querystring[$name] = $value;
} else {
$this->querystring[$name] = is_array($value) ? array_map('rawurlencode', $value): rawurlencode($value);
}
}
 
/**
* Removes a querystring item
*
* @param string $name Name of item
* @access public
*/
function removeQueryString($name)
{
if ($this->getOption('encode_query_keys')) {
$name = rawurlencode($name);
}
 
if (isset($this->querystring[$name])) {
unset($this->querystring[$name]);
}
}
 
/**
* Sets the querystring to literally what you supply
*
* @param string $querystring The querystring data. Should be of the format foo=bar&x=y etc
* @access public
*/
function addRawQueryString($querystring)
{
$this->querystring = $this->_parseRawQueryString($querystring);
}
 
/**
* Returns flat querystring
*
* @return string Querystring
* @access public
*/
function getQueryString()
{
if (!empty($this->querystring)) {
foreach ($this->querystring as $name => $value) {
// Encode var name
$name = rawurlencode($name);
 
if (is_array($value)) {
foreach ($value as $k => $v) {
$querystring[] = $this->useBrackets ? sprintf('%s[%s]=%s', $name, $k, $v) : ($name . '=' . $v);
}
} elseif (!is_null($value)) {
$querystring[] = $name . '=' . $value;
} else {
$querystring[] = $name;
}
}
$querystring = implode(ini_get('arg_separator.output'), $querystring);
} else {
$querystring = '';
}
 
return $querystring;
}
 
/**
* Parses raw querystring and returns an array of it
*
* @param string $querystring The querystring to parse
* @return array An array of the querystring data
* @access private
*/
function _parseRawQuerystring($querystring)
{
$parts = preg_split('/[' . preg_quote(ini_get('arg_separator.input'), '/') . ']/', $querystring, -1, PREG_SPLIT_NO_EMPTY);
$return = array();
 
foreach ($parts as $part) {
if (strpos($part, '=') !== false) {
$value = substr($part, strpos($part, '=') + 1);
$key = substr($part, 0, strpos($part, '='));
} else {
$value = null;
$key = $part;
}
 
if (!$this->getOption('encode_query_keys')) {
$key = rawurldecode($key);
}
 
if (preg_match('#^(.*)\[([0-9a-z_-]*)\]#i', $key, $matches)) {
$key = $matches[1];
$idx = $matches[2];
 
// Ensure is an array
if (empty($return[$key]) || !is_array($return[$key])) {
$return[$key] = array();
}
 
// Add data
if ($idx === '') {
$return[$key][] = $value;
} else {
$return[$key][$idx] = $value;
}
} elseif (!$this->useBrackets AND !empty($return[$key])) {
$return[$key] = (array)$return[$key];
$return[$key][] = $value;
} else {
$return[$key] = $value;
}
}
 
return $return;
}
 
/**
* Resolves //, ../ and ./ from a path and returns
* the result. Eg:
*
* /foo/bar/../boo.php => /foo/boo.php
* /foo/bar/../../boo.php => /boo.php
* /foo/bar/.././/boo.php => /foo/boo.php
*
* This method can also be called statically.
*
* @param string $path URL path to resolve
* @return string The result
*/
function resolvePath($path)
{
$path = explode('/', str_replace('//', '/', $path));
 
for ($i=0; $i<count($path); $i++) {
if ($path[$i] == '.') {
unset($path[$i]);
$path = array_values($path);
$i--;
 
} elseif ($path[$i] == '..' AND ($i > 1 OR ($i == 1 AND $path[0] != '') ) ) {
unset($path[$i]);
unset($path[$i-1]);
$path = array_values($path);
$i -= 2;
 
} elseif ($path[$i] == '..' AND $i == 1 AND $path[0] == '') {
unset($path[$i]);
$path = array_values($path);
$i--;
 
} else {
continue;
}
}
 
return implode('/', $path);
}
 
/**
* Returns the standard port number for a protocol
*
* @param string $scheme The protocol to lookup
* @return integer Port number or NULL if no scheme matches
*
* @author Philippe Jausions <Philippe.Jausions@11abacus.com>
*/
function getStandardPort($scheme)
{
switch (strtolower($scheme)) {
case 'http': return 80;
case 'https': return 443;
case 'ftp': return 21;
case 'imap': return 143;
case 'imaps': return 993;
case 'pop3': return 110;
case 'pop3s': return 995;
default: return null;
}
}
 
/**
* Forces the URL to a particular protocol
*
* @param string $protocol Protocol to force the URL to
* @param integer $port Optional port (standard port is used by default)
*/
function setProtocol($protocol, $port = null)
{
$this->protocol = $protocol;
$this->port = is_null($port) ? $this->getStandardPort($protocol) : $port;
}
 
/**
* Set an option
*
* This function set an option
* to be used thorough the script.
*
* @access public
* @param string $optionName The optionname to set
* @param string $value The value of this option.
*/
function setOption($optionName, $value)
{
if (!array_key_exists($optionName, $this->options)) {
return false;
}
 
$this->options[$optionName] = $value;
$this->initialize();
}
 
/**
* Get an option
*
* This function gets an option
* from the $this->options array
* and return it's value.
*
* @access public
* @param string $opionName The name of the option to retrieve
* @see $this->options
*/
function getOption($optionName)
{
if (!isset($this->options[$optionName])) {
return false;
}
 
return $this->options[$optionName];
}
 
}
?>
/trunk/api/pear/I18Nv2/Language/ka.php
115,7 → 115,7
'mt' => 'Maltese',
'my' => 'Burmese',
'na' => 'Nauru',
'nb' => 'Norwegian Bokmål',
'nb' => 'Norwegian Bokmål',
'nd' => 'North Ndebele',
'ne' => 'Nepali',
'ng' => 'Ndonga',
125,7 → 125,7
'nr' => 'South Ndebele',
'nv' => 'Navajo',
'ny' => 'Nyanja; Chichewa; Chewa',
'oc' => 'Occitan (post 1500); Provençal',
'oc' => 'Occitan (post 1500); Provençal',
'oj' => 'Ojibwa',
'om' => 'Oromo',
'or' => 'Oriya',
180,7 → 180,7
'uz' => 'Uzbek',
've' => 'Venda',
'vi' => 'Vietnamese',
'vo' => 'Volapük',
'vo' => 'Volapük',
'wa' => 'Walloon',
'wo' => 'Wolof',
'xh' => 'Xhosa',
/trunk/api/pear/I18Nv2/Language/gl.php
115,7 → 115,7
'mt' => 'Maltese',
'my' => 'Burmese',
'na' => 'Nauru',
'nb' => 'Norwegian Bokmål',
'nb' => 'Norwegian Bokmål',
'nd' => 'North Ndebele',
'ne' => 'Nepali',
'ng' => 'Ndonga',
125,7 → 125,7
'nr' => 'South Ndebele',
'nv' => 'Navajo',
'ny' => 'Nyanja; Chichewa; Chewa',
'oc' => 'Occitan (post 1500); Provençal',
'oc' => 'Occitan (post 1500); Provençal',
'oj' => 'Ojibwa',
'om' => 'Oromo',
'or' => 'Oriya',
180,7 → 180,7
'uz' => 'Uzbek',
've' => 'Venda',
'vi' => 'Vietnamese',
'vo' => 'Volapük',
'vo' => 'Volapük',
'wa' => 'Walloon',
'wo' => 'Wolof',
'xh' => 'Xhosa',
/trunk/api/pear/I18Nv2/Language/sa.php
115,7 → 115,7
'mt' => 'Maltese',
'my' => 'Burmese',
'na' => 'Nauru',
'nb' => 'Norwegian Bokmål',
'nb' => 'Norwegian Bokmål',
'nd' => 'North Ndebele',
'ne' => 'Nepali',
'ng' => 'Ndonga',
125,7 → 125,7
'nr' => 'South Ndebele',
'nv' => 'Navajo',
'ny' => 'Nyanja; Chichewa; Chewa',
'oc' => 'Occitan (post 1500); Provençal',
'oc' => 'Occitan (post 1500); Provençal',
'oj' => 'Ojibwa',
'om' => 'Oromo',
'or' => 'Oriya',
180,7 → 180,7
'uz' => 'Uzbek',
've' => 'Venda',
'vi' => 'Vietnamese',
'vo' => 'Volapük',
'vo' => 'Volapük',
'wa' => 'Walloon',
'wo' => 'Wolof',
'xh' => 'Xhosa',
/trunk/api/pear/I18Nv2/Language/cs.php
4,28 → 4,28
*/
$this->codes = array(
'aa' => 'Afarština',
'ab' => 'AbcházÅ¡tina',
'ab' => 'Abcházština',
'ae' => 'Avestan',
'af' => 'AfrikánÅ¡tina',
'af' => 'Afrikánština',
'ak' => 'Akan',
'am' => 'Amharština',
'an' => 'Aragonese',
'ar' => 'Arabština',
'as' => 'AssaméÅ¡tina',
'as' => 'Assaméština',
'av' => 'Avaric',
'ay' => 'AymárÅ¡tina',
'az' => 'AzerbajdžánÅ¡tina',
'ay' => 'Aymárština',
'az' => 'Azerbajdžánština',
'ba' => 'Baskirština',
'be' => 'Běloruština',
'bg' => 'Bulharština',
'bh' => 'Biharština',
'bi' => 'BislámÅ¡tina',
'bi' => 'Bislámština',
'bm' => 'Bambara',
'bn' => 'BengálÅ¡tina',
'bn' => 'Bengálština',
'bo' => 'Tibetština',
'br' => 'Bretaňština',
'bs' => 'Bosnian',
'ca' => 'KatalánÅ¡tina',
'ca' => 'Katalánština',
'ce' => 'Chechen',
'ch' => 'Chamorro',
'co' => 'Korsičtina',
34,10 → 34,10
'cu' => 'Church Slavic',
'cv' => 'Chuvash',
'cy' => 'Velština',
'da' => 'DánÅ¡tina',
'da' => 'Dánština',
'de' => 'Němčina',
'dv' => 'Divehi',
'dz' => 'BhútánÅ¡tina',
'dz' => 'Bhútánština',
'ee' => 'Ewe',
'el' => 'Řečtina',
'en' => 'Angličtina',
51,9 → 51,9
'fj' => 'Fidži',
'fo' => 'Faerština',
'fr' => 'Francouzština',
'fy' => 'FríÅ¡tina',
'fy' => 'Fríština',
'ga' => 'Irština',
'gd' => 'Skotská galÅ¡tina',
'gd' => 'Skotská galština',
'gl' => 'Haličština',
'gn' => 'Guaranština',
'gu' => 'Gujaratština',
65,10 → 65,10
'hr' => 'Chorvatština',
'ht' => 'Haitian',
'hu' => 'Maďarština',
'hy' => 'ArménÅ¡tina',
'hy' => 'Arménština',
'hz' => 'Herero',
'ia' => 'Interlingua',
'id' => 'IndonéÅ¡tina',
'id' => 'Indonéština',
'ie' => 'Interlingue',
'ig' => 'Igbo',
'ii' => 'Sichuan Yi',
78,18 → 78,18
'it' => 'Italština',
'iu' => 'Inuktitutština',
'ja' => 'Japonština',
'jv' => 'JavánÅ¡tina',
'ka' => 'GruzínÅ¡tina',
'jv' => 'Javánština',
'ka' => 'Gruzínština',
'kg' => 'Kongo',
'ki' => 'Kikuyu',
'kj' => 'Kuanyama',
'kk' => 'Kazachština',
'kl' => 'GrónÅ¡tina',
'kl' => 'Grónština',
'km' => 'Kambodžština',
'kn' => 'Kannadština',
'ko' => 'Korejština',
'kr' => 'Kanuri',
'ks' => 'KaÅ¡mírÅ¡tina',
'ks' => 'Kašmírština',
'ku' => 'Kurdština',
'kv' => 'Komi',
'kw' => 'Cornish',
115,9 → 115,9
'mt' => 'Maltština',
'my' => 'Barmština',
'na' => 'Nauru',
'nb' => 'Norwegian Bokmål',
'nb' => 'Norwegian Bokmål',
'nd' => 'North Ndebele',
'ne' => 'NepálÅ¡tina',
'ne' => 'Nepálština',
'ng' => 'Ndonga',
'nl' => 'Holandština',
'nn' => 'Norwegian Nynorsk',
130,13 → 130,13
'om' => 'Oromo (Afan)',
'or' => 'Oriya',
'os' => 'Ossetic',
'pa' => 'PaňdžábÅ¡tina',
'pa' => 'Paňdžábština',
'pi' => 'Pali',
'pl' => 'Polština',
'ps' => 'Pashto (Pushto)',
'pt' => 'Portugalština',
'qu' => 'KečuánÅ¡tina',
'rm' => 'RétorománÅ¡tina',
'qu' => 'Kečuánština',
'rm' => 'Rétorománština',
'rn' => 'Kirundi',
'ro' => 'Rumunština',
'ru' => 'Ruština',
147,22 → 147,22
'se' => 'Northern Sami',
'sg' => 'Sangho',
'sh' => 'Srbochorvatština',
'si' => 'SinhálÅ¡tina',
'si' => 'Sinhálština',
'sk' => 'Slovenština',
'sl' => 'Slovinština',
'sm' => 'Samoyština',
'sn' => 'Shona',
'so' => 'SomálÅ¡tina',
'sq' => 'AlbánÅ¡tina',
'so' => 'Somálština',
'sq' => 'Albánština',
'sr' => 'Srbština',
'ss' => 'Siswatština',
'st' => 'Sesotho',
'su' => 'Sundanština',
'sv' => 'Å védÅ¡tina',
'sv' => 'Švédština',
'sw' => 'Svahilština',
'ta' => 'Tamilština',
'te' => 'Telugština',
'tg' => 'Tádžičtina',
'tg' => 'Tádžičtina',
'th' => 'Thajština',
'ti' => 'Tigrinijština',
'tk' => 'Turkmenština',
187,7 → 187,7
'yi' => 'Jidiš',
'yo' => 'Yoruba',
'za' => 'Zhuang',
'zh' => 'ČínÅ¡tina',
'zh' => 'Čínština',
'zu' => 'Zulu',
);
?>
/trunk/api/pear/I18Nv2/Language/kk.php
115,7 → 115,7
'mt' => 'Maltese',
'my' => 'Burmese',
'na' => 'Nauru',
'nb' => 'Norwegian Bokmål',
'nb' => 'Norwegian Bokmål',
'nd' => 'North Ndebele',
'ne' => 'Nepali',
'ng' => 'Ndonga',
125,7 → 125,7
'nr' => 'South Ndebele',
'nv' => 'Navajo',
'ny' => 'Nyanja; Chichewa; Chewa',
'oc' => 'Occitan (post 1500); Provençal',
'oc' => 'Occitan (post 1500); Provençal',
'oj' => 'Ojibwa',
'om' => 'Oromo',
'or' => 'Oriya',
180,7 → 180,7
'uz' => 'Uzbek',
've' => 'Venda',
'vi' => 'Vietnamese',
'vo' => 'Volapük',
'vo' => 'Volapük',
'wa' => 'Walloon',
'wo' => 'Wolof',
'xh' => 'Xhosa',
/trunk/api/pear/I18Nv2/Language/kl.php
115,7 → 115,7
'mt' => 'Maltese',
'my' => 'Burmese',
'na' => 'Nauru',
'nb' => 'Norwegian Bokmål',
'nb' => 'Norwegian Bokmål',
'nd' => 'North Ndebele',
'ne' => 'Nepali',
'ng' => 'Ndonga',
125,7 → 125,7
'nr' => 'South Ndebele',
'nv' => 'Navajo',
'ny' => 'Nyanja; Chichewa; Chewa',
'oc' => 'Occitan (post 1500); Provençal',
'oc' => 'Occitan (post 1500); Provençal',
'oj' => 'Ojibwa',
'om' => 'Oromo',
'or' => 'Oriya',
180,7 → 180,7
'uz' => 'Uzbek',
've' => 'Venda',
'vi' => 'Vietnamese',
'vo' => 'Volapük',
'vo' => 'Volapük',
'wa' => 'Walloon',
'wo' => 'Wolof',
'xh' => 'Xhosa',
/trunk/api/pear/I18Nv2/Language/km.php
115,7 → 115,7
'mt' => 'ភាសាម៉ាល់តា',
'my' => 'Burmese',
'na' => 'Nauru',
'nb' => 'Norwegian Bokmål',
'nb' => 'Norwegian Bokmål',
'nd' => 'North Ndebele',
'ne' => 'ភាសានេប៉ាល់',
'ng' => 'Ndonga',
125,7 → 125,7
'nr' => 'South Ndebele',
'nv' => 'Navajo',
'ny' => 'Nyanja; Chichewa; Chewa',
'oc' => 'Occitan (post 1500); Provençal',
'oc' => 'Occitan (post 1500); Provençal',
'oj' => 'Ojibwa',
'om' => 'Oromo',
'or' => 'ភាសាអូរីយ៉ា',
180,7 → 180,7
'uz' => 'ភាសាអ៊ូហ្សបេគីស្តង់',
've' => 'Venda',
'vi' => 'ភាសាវៀតណាម',
'vo' => 'Volapük',
'vo' => 'Volapük',
'wa' => 'Walloon',
'wo' => 'Wolof',
'xh' => 'ភាសាឃសា',
/trunk/api/pear/I18Nv2/Language/kn.php
115,7 → 115,7
'mt' => 'Maltese',
'my' => 'Burmese',
'na' => 'Nauru',
'nb' => 'Norwegian Bokmål',
'nb' => 'Norwegian Bokmål',
'nd' => 'North Ndebele',
'ne' => 'Nepali',
'ng' => 'Ndonga',
125,7 → 125,7
'nr' => 'South Ndebele',
'nv' => 'Navajo',
'ny' => 'Nyanja; Chichewa; Chewa',
'oc' => 'Occitan (post 1500); Provençal',
'oc' => 'Occitan (post 1500); Provençal',
'oj' => 'Ojibwa',
'om' => 'Oromo',
'or' => 'Oriya',
180,7 → 180,7
'uz' => 'Uzbek',
've' => 'Venda',
'vi' => 'Vietnamese',
'vo' => 'Volapük',
'vo' => 'Volapük',
'wa' => 'Walloon',
'wo' => 'Wolof',
'xh' => 'Xhosa',
/trunk/api/pear/I18Nv2/Language/sh.php
115,7 → 115,7
'mt' => 'Maltese',
'my' => 'Burmese',
'na' => 'Nauru',
'nb' => 'Norwegian Bokmål',
'nb' => 'Norwegian Bokmål',
'nd' => 'North Ndebele',
'ne' => 'Nepali',
'ng' => 'Ndonga',
125,7 → 125,7
'nr' => 'South Ndebele',
'nv' => 'Navajo',
'ny' => 'Nyanja; Chichewa; Chewa',
'oc' => 'Occitan (post 1500); Provençal',
'oc' => 'Occitan (post 1500); Provençal',
'oj' => 'Ojibwa',
'om' => 'Oromo',
'or' => 'Oriya',
180,7 → 180,7
'uz' => 'Uzbek',
've' => 'Venda',
'vi' => 'Vietnamese',
'vo' => 'Volapük',
'vo' => 'Volapük',
'wa' => 'Walloon',
'wo' => 'Wolof',
'xh' => 'Xhosa',
/trunk/api/pear/I18Nv2/Language/gu.php
115,7 → 115,7
'mt' => 'Maltese',
'my' => 'Burmese',
'na' => 'Nauru',
'nb' => 'Norwegian Bokmål',
'nb' => 'Norwegian Bokmål',
'nd' => 'North Ndebele',
'ne' => 'Nepali',
'ng' => 'Ndonga',
125,7 → 125,7
'nr' => 'South Ndebele',
'nv' => 'Navajo',
'ny' => 'Nyanja; Chichewa; Chewa',
'oc' => 'Occitan (post 1500); Provençal',
'oc' => 'Occitan (post 1500); Provençal',
'oj' => 'Ojibwa',
'om' => 'Oromo',
'or' => 'Oriya',
180,7 → 180,7
'uz' => 'Uzbek',
've' => 'Venda',
'vi' => 'Vietnamese',
'vo' => 'Volapük',
'vo' => 'Volapük',
'wa' => 'Walloon',
'wo' => 'Wolof',
'xh' => 'Xhosa',
/trunk/api/pear/I18Nv2/Language/cy.php
115,7 → 115,7
'mt' => 'Maltese',
'my' => 'Burmese',
'na' => 'Nauru',
'nb' => 'Norwegian Bokmål',
'nb' => 'Norwegian Bokmål',
'nd' => 'North Ndebele',
'ne' => 'Nepali',
'ng' => 'Ndonga',
125,7 → 125,7
'nr' => 'South Ndebele',
'nv' => 'Navajo',
'ny' => 'Nyanja; Chichewa; Chewa',
'oc' => 'Occitan (post 1500); Provençal',
'oc' => 'Occitan (post 1500); Provençal',
'oj' => 'Ojibwa',
'om' => 'Oromo',
'or' => 'Oriya',
180,7 → 180,7
'uz' => 'Uzbek',
've' => 'Venda',
'vi' => 'Vietnamese',
'vo' => 'Volapük',
'vo' => 'Volapük',
'wa' => 'Walloon',
'wo' => 'Wolof',
'xh' => 'Xhosa',
/trunk/api/pear/I18Nv2/Language/om.php
115,7 → 115,7
'mt' => 'Maltese',
'my' => 'Burmese',
'na' => 'Nauru',
'nb' => 'Norwegian Bokmål',
'nb' => 'Norwegian Bokmål',
'nd' => 'North Ndebele',
'ne' => 'Nepali',
'ng' => 'Ndonga',
125,7 → 125,7
'nr' => 'South Ndebele',
'nv' => 'Navajo',
'ny' => 'Nyanja; Chichewa; Chewa',
'oc' => 'Occitan (post 1500); Provençal',
'oc' => 'Occitan (post 1500); Provençal',
'oj' => 'Ojibwa',
'om' => 'Oromoo',
'or' => 'Oriya',
180,7 → 180,7
'uz' => 'Uzbek',
've' => 'Venda',
'vi' => 'Vietnamese',
'vo' => 'Volapük',
'vo' => 'Volapük',
'wa' => 'Walloon',
'wo' => 'Wolof',
'xh' => 'Xhosa',
/trunk/api/pear/I18Nv2/Language/gv.php
115,7 → 115,7
'mt' => 'Maltese',
'my' => 'Burmese',
'na' => 'Nauru',
'nb' => 'Norwegian Bokmål',
'nb' => 'Norwegian Bokmål',
'nd' => 'North Ndebele',
'ne' => 'Nepali',
'ng' => 'Ndonga',
125,7 → 125,7
'nr' => 'South Ndebele',
'nv' => 'Navajo',
'ny' => 'Nyanja; Chichewa; Chewa',
'oc' => 'Occitan (post 1500); Provençal',
'oc' => 'Occitan (post 1500); Provençal',
'oj' => 'Ojibwa',
'om' => 'Oromo',
'or' => 'Oriya',
180,7 → 180,7
'uz' => 'Uzbek',
've' => 'Venda',
'vi' => 'Vietnamese',
'vo' => 'Volapük',
'vo' => 'Volapük',
'wa' => 'Walloon',
'wo' => 'Wolof',
'xh' => 'Xhosa',
/trunk/api/pear/I18Nv2/Language/sk.php
10,7 → 10,7
'ak' => 'Akan',
'am' => 'Amharic',
'an' => 'Aragonese',
'ar' => 'Arabský',
'ar' => 'Arabský',
'as' => 'Assamese',
'av' => 'Avaric',
'ay' => 'Aymara',
17,7 → 17,7
'az' => 'Azerbaijani',
'ba' => 'Bashkir',
'be' => 'Belarusian',
'bg' => 'Bulharský',
'bg' => 'Bulharský',
'bh' => 'Bihari',
'bi' => 'Bislama',
'bm' => 'Bambara',
30,27 → 30,27
'ch' => 'Chamorro',
'co' => 'Corsican',
'cr' => 'Cree',
'cs' => 'Český',
'cs' => 'Český',
'cu' => 'Church Slavic',
'cv' => 'Chuvash',
'cy' => 'Welsh',
'da' => 'Dánsky',
'de' => 'Nemecký',
'da' => 'Dánsky',
'de' => 'Nemecký',
'dv' => 'Divehi',
'dz' => 'Dzongkha',
'ee' => 'Ewe',
'el' => 'Grécky',
'en' => 'Anglický',
'el' => 'Grécky',
'en' => 'Anglický',
'eo' => 'Esperanto',
'es' => 'Španielsky',
'et' => 'Estónsky',
'et' => 'Estónsky',
'eu' => 'Basque',
'fa' => 'Persian',
'ff' => 'Fulah',
'fi' => 'Fínsky',
'fi' => 'Fínsky',
'fj' => 'Fijian',
'fo' => 'Faroese',
'fr' => 'Francúzsky',
'fr' => 'Francúzsky',
'fy' => 'Frisian',
'ga' => 'Irish',
'gd' => 'Scottish Gaelic',
59,12 → 59,12
'gu' => 'Gujarati',
'gv' => 'Manx',
'ha' => 'Hausa',
'he' => 'Hebrejský',
'he' => 'Hebrejský',
'hi' => 'Hindi',
'ho' => 'Hiri Motu',
'hr' => 'Chorvátsky',
'hr' => 'Chorvátsky',
'ht' => 'Haitian',
'hu' => 'Maďarský',
'hu' => 'Maďarský',
'hy' => 'Armenian',
'hz' => 'Herero',
'ia' => 'Interlingua',
77,7 → 77,7
'is' => 'Icelandic',
'it' => 'Taliansky',
'iu' => 'Inuktitut',
'ja' => 'Japonský',
'ja' => 'Japonský',
'jv' => 'Javanese',
'ka' => 'Georgian',
'kg' => 'Kongo',
87,7 → 87,7
'kl' => 'Kalaallisut',
'km' => 'Khmer',
'kn' => 'Kannada',
'ko' => 'Kórejský',
'ko' => 'Kórejský',
'kr' => 'Kanuri',
'ks' => 'Kashmiri',
'ku' => 'Kurdish',
100,9 → 100,9
'li' => 'Limburgish',
'ln' => 'Lingala',
'lo' => 'Lao',
'lt' => 'Litovský',
'lt' => 'Litovský',
'lu' => 'Luba-Katanga',
'lv' => 'LotyÅ¡ský',
'lv' => 'Lotyšský',
'mg' => 'Malagasy',
'mh' => 'Marshallese',
'mi' => 'Maori',
115,17 → 115,17
'mt' => 'Maltese',
'my' => 'Burmese',
'na' => 'Nauru',
'nb' => 'Norwegian Bokmål',
'nb' => 'Norwegian Bokmål',
'nd' => 'North Ndebele',
'ne' => 'Nepali',
'ng' => 'Ndonga',
'nl' => 'Holandský',
'nl' => 'Holandský',
'nn' => 'Norwegian Nynorsk',
'no' => 'Nórsky',
'no' => 'Nórsky',
'nr' => 'South Ndebele',
'nv' => 'Navajo',
'ny' => 'Nyanja; Chichewa; Chewa',
'oc' => 'Occitan (post 1500); Provençal',
'oc' => 'Occitan (post 1500); Provençal',
'oj' => 'Ojibwa',
'om' => 'Oromo',
'or' => 'Oriya',
132,14 → 132,14
'os' => 'Ossetic',
'pa' => 'Punjabi',
'pi' => 'Pali',
'pl' => 'Poľský',
'pl' => 'Poľský',
'ps' => 'Pashto (Pushto)',
'pt' => 'Portugalský',
'pt' => 'Portugalský',
'qu' => 'Quechua',
'rm' => 'Rhaeto-Romance',
'rn' => 'Rundi',
'ro' => 'Rumunský',
'ru' => 'Ruský',
'ro' => 'Rumunský',
'ru' => 'Ruský',
'rw' => 'Kinyarwanda',
'sa' => 'Sanskrit',
'sc' => 'Sardinian',
148,8 → 148,8
'sg' => 'Sango',
'sh' => 'Serbo-Croatian',
'si' => 'Sinhalese',
'sk' => 'Slovenský',
'sl' => 'Slovinský',
'sk' => 'Slovenský',
'sl' => 'Slovinský',
'sm' => 'Samoan',
'sn' => 'Shona',
'so' => 'Somali',
158,7 → 158,7
'ss' => 'Swati',
'st' => 'Southern Sotho',
'su' => 'Sundanese',
'sv' => 'Å védsky',
'sv' => 'Švédsky',
'sw' => 'Swahili',
'ta' => 'Tamil',
'te' => 'Telugu',
169,7 → 169,7
'tl' => 'Tagalog',
'tn' => 'Tswana',
'to' => 'Tonga (Tonga Islands)',
'tr' => 'Turecký',
'tr' => 'Turecký',
'ts' => 'Tsonga',
'tt' => 'Tatar',
'tw' => 'Twi',
180,7 → 180,7
'uz' => 'Uzbek',
've' => 'Venda',
'vi' => 'Vietnamese',
'vo' => 'Volapük',
'vo' => 'Volapük',
'wa' => 'Walloon',
'wo' => 'Wolof',
'xh' => 'Xhosa',
187,7 → 187,7
'yi' => 'Yiddish',
'yo' => 'Yoruba',
'za' => 'Zhuang',
'zh' => 'Čínsky',
'zh' => 'Čínsky',
'zu' => 'Zulu',
);
?>
/trunk/api/pear/I18Nv2/Language/sl.php
115,7 → 115,7
'mt' => 'Maltese',
'my' => 'Burmese',
'na' => 'Nauru',
'nb' => 'Norwegian Bokmål',
'nb' => 'Norwegian Bokmål',
'nd' => 'North Ndebele',
'ne' => 'Nepali',
'ng' => 'Ndonga',
125,7 → 125,7
'nr' => 'South Ndebele',
'nv' => 'Navajo',
'ny' => 'Nyanja; Chichewa; Chewa',
'oc' => 'Occitan (post 1500); Provençal',
'oc' => 'Occitan (post 1500); Provençal',
'oj' => 'Ojibwa',
'om' => 'Oromo',
'or' => 'Oriya',
180,7 → 180,7
'uz' => 'Uzbek',
've' => 'Venda',
'vi' => 'Vietnamese',
'vo' => 'Volapük',
'vo' => 'Volapük',
'wa' => 'Walloon',
'wo' => 'Wolof',
'xh' => 'Xhosa',
/trunk/api/pear/I18Nv2/Language/or.php
115,7 → 115,7
'mt' => 'Maltese',
'my' => 'Burmese',
'na' => 'Nauru',
'nb' => 'Norwegian Bokmål',
'nb' => 'Norwegian Bokmål',
'nd' => 'North Ndebele',
'ne' => 'Nepali',
'ng' => 'Ndonga',
125,7 → 125,7
'nr' => 'South Ndebele',
'nv' => 'Navajo',
'ny' => 'Nyanja; Chichewa; Chewa',
'oc' => 'Occitan (post 1500); Provençal',
'oc' => 'Occitan (post 1500); Provençal',
'oj' => 'Ojibwa',
'om' => 'Oromo',
'or' => 'ଓଡ଼ିଆ',
180,7 → 180,7
'uz' => 'Uzbek',
've' => 'Venda',
'vi' => 'Vietnamese',
'vo' => 'Volapük',
'vo' => 'Volapük',
'wa' => 'Walloon',
'wo' => 'Wolof',
'xh' => 'Xhosa',
/trunk/api/pear/I18Nv2/Language/kw.php
115,7 → 115,7
'mt' => 'Maltese',
'my' => 'Burmese',
'na' => 'Nauru',
'nb' => 'Norwegian Bokmål',
'nb' => 'Norwegian Bokmål',
'nd' => 'North Ndebele',
'ne' => 'Nepali',
'ng' => 'Ndonga',
125,7 → 125,7
'nr' => 'South Ndebele',
'nv' => 'Navajo',
'ny' => 'Nyanja; Chichewa; Chewa',
'oc' => 'Occitan (post 1500); Provençal',
'oc' => 'Occitan (post 1500); Provençal',
'oj' => 'Ojibwa',
'om' => 'Oromo',
'or' => 'Oriya',
180,7 → 180,7
'uz' => 'Uzbek',
've' => 'Venda',
'vi' => 'Vietnamese',
'vo' => 'Volapük',
'vo' => 'Volapük',
'wa' => 'Walloon',
'wo' => 'Wolof',
'xh' => 'Xhosa',
/trunk/api/pear/I18Nv2/Language/so.php
115,7 → 115,7
'mt' => 'Maltese',
'my' => 'Burmese',
'na' => 'Nauru',
'nb' => 'Norwegian Bokmål',
'nb' => 'Norwegian Bokmål',
'nd' => 'North Ndebele',
'ne' => 'Nepali',
'ng' => 'Ndonga',
125,7 → 125,7
'nr' => 'South Ndebele',
'nv' => 'Navajo',
'ny' => 'Nyanja; Chichewa; Chewa',
'oc' => 'Occitan (post 1500); Provençal',
'oc' => 'Occitan (post 1500); Provençal',
'oj' => 'Ojibwa',
'om' => 'Oromo',
'or' => 'Oriya',
180,7 → 180,7
'uz' => 'Uzbek',
've' => 'Venda',
'vi' => 'Vietnamese',
'vo' => 'Volapük',
'vo' => 'Volapük',
'wa' => 'Walloon',
'wo' => 'Wolof',
'xh' => 'Xhosa',
/trunk/api/pear/I18Nv2/Language/ky.php
115,7 → 115,7
'mt' => 'Maltese',
'my' => 'Burmese',
'na' => 'Nauru',
'nb' => 'Norwegian Bokmål',
'nb' => 'Norwegian Bokmål',
'nd' => 'North Ndebele',
'ne' => 'Nepali',
'ng' => 'Ndonga',
125,7 → 125,7
'nr' => 'South Ndebele',
'nv' => 'Navajo',
'ny' => 'Nyanja; Chichewa; Chewa',
'oc' => 'Occitan (post 1500); Provençal',
'oc' => 'Occitan (post 1500); Provençal',
'oj' => 'Ojibwa',
'om' => 'Oromo',
'or' => 'Oriya',
180,7 → 180,7
'uz' => 'Uzbek',
've' => 'Venda',
'vi' => 'Vietnamese',
'vo' => 'Volapük',
'vo' => 'Volapük',
'wa' => 'Walloon',
'wo' => 'Wolof',
'xh' => 'Xhosa',
/trunk/api/pear/I18Nv2/Language/sq.php
115,7 → 115,7
'mt' => 'Maltese',
'my' => 'Burmese',
'na' => 'Nauru',
'nb' => 'Norwegian Bokmål',
'nb' => 'Norwegian Bokmål',
'nd' => 'North Ndebele',
'ne' => 'Nepali',
'ng' => 'Ndonga',
125,7 → 125,7
'nr' => 'South Ndebele',
'nv' => 'Navajo',
'ny' => 'Nyanja; Chichewa; Chewa',
'oc' => 'Occitan (post 1500); Provençal',
'oc' => 'Occitan (post 1500); Provençal',
'oj' => 'Ojibwa',
'om' => 'Oromo',
'or' => 'Oriya',
180,7 → 180,7
'uz' => 'Uzbek',
've' => 'Venda',
'vi' => 'Vietnamese',
'vo' => 'Volapük',
'vo' => 'Volapük',
'wa' => 'Walloon',
'wo' => 'Wolof',
'xh' => 'Xhosa',
/trunk/api/pear/I18Nv2/Language/da.php
39,7 → 39,7
'dv' => 'Divehi',
'dz' => 'Dzongkha',
'ee' => 'Ewe',
'el' => 'Græsk',
'el' => 'Græsk',
'en' => 'Engelsk',
'eo' => 'Esperanto',
'es' => 'Spansk',
49,11 → 49,11
'ff' => 'Fulah',
'fi' => 'Finsk',
'fj' => 'Fijian',
'fo' => 'Færøsk',
'fo' => 'Færøsk',
'fr' => 'Fransk',
'fy' => 'Frisisk',
'ga' => 'Irsk',
'gd' => 'Gælisk (skotsk)',
'gd' => 'Gælisk (skotsk)',
'gl' => 'Galicisk',
'gn' => 'Guarani',
'gu' => 'Gujaratisk',
115,7 → 115,7
'mt' => 'Maltesisk',
'my' => 'Burmesisk',
'na' => 'Nauru',
'nb' => 'Norsk Bokmål',
'nb' => 'Norsk Bokmål',
'nd' => 'Ndebele, Nord',
'ne' => 'Nepalesisk',
'ng' => 'Ndonga',
136,9 → 136,9
'ps' => 'Pashto (Pushto)',
'pt' => 'Portugisisk',
'qu' => 'Quechua',
'rm' => 'Rætoromansk',
'rm' => 'Rætoromansk',
'rn' => 'Rundi',
'ro' => 'Rumænsk',
'ro' => 'Rumænsk',
'ru' => 'Russisk',
'rw' => 'Kinyarwanda',
'sa' => 'Sanskrit',
168,7 → 168,7
'tk' => 'Turkmensk',
'tl' => 'Tagalog',
'tn' => 'Tswana',
'to' => 'Tonga (Tongaøerne)',
'to' => 'Tonga (Tongaøerne)',
'tr' => 'Tyrkisk',
'ts' => 'Tsonga',
'tt' => 'Tatarisk',
180,7 → 180,7
'uz' => 'Usbekisk',
've' => 'Venda',
'vi' => 'Vietnamesisk',
'vo' => 'Volapük',
'vo' => 'Volapük',
'wa' => 'Vallonsk',
'wo' => 'Wolof',
'xh' => 'Xhosa',
/trunk/api/pear/I18Nv2/Language/sr.php
115,7 → 115,7
'mt' => 'Maltese',
'my' => 'Бурмански',
'na' => 'Nauru',
'nb' => 'Norwegian Bokmål',
'nb' => 'Norwegian Bokmål',
'nd' => 'North Ndebele',
'ne' => 'Nepali',
'ng' => 'Ndonga',
125,7 → 125,7
'nr' => 'South Ndebele',
'nv' => 'Navajo',
'ny' => 'Nyanja; Chichewa; Chewa',
'oc' => 'Occitan (post 1500); Provençal',
'oc' => 'Occitan (post 1500); Provençal',
'oj' => 'Ojibwa',
'om' => 'Oromo',
'or' => 'Oriya',
180,7 → 180,7
'uz' => 'Uzbek',
've' => 'Venda',
'vi' => 'Вијетнамски',
'vo' => 'Volapük',
'vo' => 'Volapük',
'wa' => 'Walloon',
'wo' => 'Wolof',
'xh' => 'Xhosa',
/trunk/api/pear/I18Nv2/Language/de.php
13,10 → 13,10
'ar' => 'Arabisch',
'as' => 'Assamesisch',
'av' => 'Awarisch',
'ay' => 'Aymará-Sprache',
'ay' => 'Aymará-Sprache',
'az' => 'Aserbaidschanisch',
'ba' => 'Baschkirisch',
'be' => 'Weißrussisch',
'be' => 'Weißrussisch',
'bg' => 'Bulgarisch',
'bh' => 'Biharisch',
'bi' => 'Bislama',
34,7 → 34,7
'cu' => 'Kirchenslawisch',
'cv' => 'Tschuwaschisch',
'cy' => 'Kymrisch',
'da' => 'Dänisch',
'da' => 'Dänisch',
'de' => 'Deutsch',
'dv' => 'Maledivisch',
'dz' => 'Bhutanisch',
49,17 → 49,17
'ff' => 'Ful',
'fi' => 'Finnisch',
'fj' => 'Fidschianisch',
'fo' => 'Färöisch',
'fr' => 'Französisch',
'fo' => 'Färöisch',
'fr' => 'Französisch',
'fy' => 'Friesisch',
'ga' => 'Irisch',
'gd' => 'Schottisch-Gälisch',
'gd' => 'Schottisch-Gälisch',
'gl' => 'Galizisch',
'gn' => 'Guarani',
'gu' => 'Gujarati',
'gv' => 'Manx',
'ha' => 'Hausa',
'he' => 'Hebräisch',
'he' => 'Hebräisch',
'hi' => 'Hindi',
'ho' => 'Hiri-Motu',
'hr' => 'Kroatisch',
74,7 → 74,7
'ii' => 'Sichuan Yi',
'ik' => 'Inupiak',
'io' => 'Ido-Sprache',
'is' => 'Isländisch',
'is' => 'Isländisch',
'it' => 'Italienisch',
'iu' => 'Inukitut',
'ja' => 'Japanisch',
84,7 → 84,7
'ki' => 'Kikuyu-Sprache',
'kj' => 'Kwanyama',
'kk' => 'Kasachisch',
'kl' => 'Grönländisch',
'kl' => 'Grönländisch',
'km' => 'Kambodschanisch',
'kn' => 'Kannada',
'ko' => 'Koreanisch',
115,14 → 115,14
'mt' => 'Maltesisch',
'my' => 'Birmanisch',
'na' => 'Nauruisch',
'nb' => 'Norwegisch Bokmål',
'nb' => 'Norwegisch Bokmål',
'nd' => 'Ndebele-Sprache (Nord)',
'ne' => 'Nepalesisch',
'ng' => 'Ndonga',
'nl' => 'Niederländisch',
'nl' => 'Niederländisch',
'nn' => 'Norwegisch Nynorsk',
'no' => 'Norwegisch',
'nr' => 'Ndebele-Sprache (Süd)',
'nr' => 'Ndebele-Sprache (Süd)',
'nv' => 'Navajo-Sprache',
'ny' => 'Chewa-Sprache',
'oc' => 'Okzitanisch',
136,9 → 136,9
'ps' => 'Afghanisch (Paschtu)',
'pt' => 'Portugiesisch',
'qu' => 'Quechua',
'rm' => 'Rätoromanisch',
'rm' => 'Rätoromanisch',
'rn' => 'Rundi-Sprache',
'ro' => 'Rumänisch',
'ro' => 'Rumänisch',
'ru' => 'Russisch',
'rw' => 'Ruandisch',
'sa' => 'Sanskrit',
156,7 → 156,7
'sq' => 'Albanisch',
'sr' => 'Serbisch',
'ss' => 'Swazi',
'st' => 'Süd-Sotho-Sprache',
'st' => 'Süd-Sotho-Sprache',
'su' => 'Sudanesisch',
'sv' => 'Schwedisch',
'sw' => 'Suaheli',
169,7 → 169,7
'tl' => 'Tagalog',
'tn' => 'Tswana-Sprache',
'to' => 'Tongaisch',
'tr' => 'Türkisch',
'tr' => 'Türkisch',
'ts' => 'Tsonga',
'tt' => 'Tatarisch',
'tw' => 'Twi',
180,7 → 180,7
'uz' => 'Usbekisch',
've' => 'Venda-Sprache',
'vi' => 'Vietnamesisch',
'vo' => 'Volapük',
'vo' => 'Volapük',
'wa' => 'Wallonisch',
'wo' => 'Wolof',
'xh' => 'Xhosa',
/trunk/api/pear/I18Nv2/Language/sv.php
49,13 → 49,13
'ff' => 'Fulani',
'fi' => 'Finska',
'fj' => 'Fidjianska',
'fo' => 'Färöiska',
'fo' => 'Färöiska',
'fr' => 'Franska',
'fy' => 'Frisiska',
'ga' => 'Irländsk gaeliska',
'ga' => 'Irländsk gaeliska',
'gd' => 'Skotsk gaeliska',
'gl' => 'Galiciska',
'gn' => 'Guaraní',
'gn' => 'Guaraní',
'gu' => 'Gujarati',
'gv' => 'Manx gaeliska',
'ha' => 'Haussa',
74,7 → 74,7
'ii' => 'Sichuan yi',
'ik' => 'Inupiaq',
'io' => 'Ido',
'is' => 'Isländska',
'is' => 'Isländska',
'it' => 'Italienska',
'iu' => 'Inuktitut',
'ja' => 'Japanska',
84,7 → 84,7
'ki' => 'Kikuyu',
'kj' => 'Kuanyama',
'kk' => 'Kazakstanska',
'kl' => 'Grönländska',
'kl' => 'Grönländska',
'km' => 'Kambodjanska; khmeriska',
'kn' => 'Kanaresiska; kannada',
'ko' => 'Koreanska',
115,11 → 115,11
'mt' => 'Maltesiska',
'my' => 'Burmanska',
'na' => 'Nauru',
'nb' => 'Norskt bokmål',
'nb' => 'Norskt bokmål',
'nd' => 'Nord­ndebele',
'ne' => 'Nepalesisika',
'ng' => 'Ndonga',
'nl' => 'Nederländska',
'nl' => 'Nederländska',
'nn' => 'Ny­norsk',
'no' => 'Norska',
'nr' => 'Syd­ndebele',
136,9 → 136,9
'ps' => 'Pashto; afghanska',
'pt' => 'Portugisiska',
'qu' => 'Quechua',
'rm' => 'Räto­romanska',
'rm' => 'Räto­romanska',
'rn' => 'Rundi',
'ro' => 'Rumänska',
'ro' => 'Rumänska',
'ru' => 'Ryska',
'rw' => 'Rwanda; kinjarwanda',
'sa' => 'Sanskrit',
163,7 → 163,7
'ta' => 'Tamil',
'te' => 'Telugu',
'tg' => 'Tadzjikiska',
'th' => 'Thailändska',
'th' => 'Thailändska',
'ti' => 'Tigrinja',
'tk' => 'Turkmeniska',
'tl' => 'Tagalog',
180,7 → 180,7
'uz' => 'Uzbekiska',
've' => 'Venda',
'vi' => 'Vietnamesiska',
'vo' => 'Volapük',
'vo' => 'Volapük',
'wa' => 'Walloon',
'wo' => 'Wolof',
'xh' => 'Xhosa',
/trunk/api/pear/I18Nv2/Language/sw.php
115,7 → 115,7
'mt' => 'Maltese',
'my' => 'Burmese',
'na' => 'Nauru',
'nb' => 'Norwegian Bokmål',
'nb' => 'Norwegian Bokmål',
'nd' => 'North Ndebele',
'ne' => 'Nepali',
'ng' => 'Ndonga',
125,7 → 125,7
'nr' => 'South Ndebele',
'nv' => 'Navajo',
'ny' => 'Nyanja; Chichewa; Chewa',
'oc' => 'Occitan (post 1500); Provençal',
'oc' => 'Occitan (post 1500); Provençal',
'oj' => 'Ojibwa',
'om' => 'Oromo',
'or' => 'Oriya',
180,7 → 180,7
'uz' => 'Uzbek',
've' => 'Venda',
'vi' => 'Vietnamese',
'vo' => 'Volapük',
'vo' => 'Volapük',
'wa' => 'Walloon',
'wo' => 'Wolof',
'xh' => 'Xhosa',
/trunk/api/pear/I18Nv2/Language/he.php
115,7 → 115,7
'mt' => 'מלטזית',
'my' => 'Burmese',
'na' => 'Nauru',
'nb' => 'Norwegian Bokmål',
'nb' => 'Norwegian Bokmål',
'nd' => 'North Ndebele',
'ne' => 'נפאלית',
'ng' => 'Ndonga',
125,7 → 125,7
'nr' => 'South Ndebele',
'nv' => 'Navajo',
'ny' => 'Nyanja; Chichewa; Chewa',
'oc' => 'Occitan (post 1500); Provençal',
'oc' => 'Occitan (post 1500); Provençal',
'oj' => 'Ojibwa',
'om' => 'Oromo',
'or' => 'Oriya',
180,7 → 180,7
'uz' => 'Uzbek',
've' => 'Venda',
'vi' => 'Vietnamese',
'vo' => 'Volapük',
'vo' => 'Volapük',
'wa' => 'Walloon',
'wo' => 'Wolof',
'xh' => 'Xhosa',
/trunk/api/pear/I18Nv2/Language/pa.php
115,7 → 115,7
'mt' => 'Maltese',
'my' => 'Burmese',
'na' => 'Nauru',
'nb' => 'Norwegian Bokmål',
'nb' => 'Norwegian Bokmål',
'nd' => 'North Ndebele',
'ne' => 'Nepali',
'ng' => 'Ndonga',
125,7 → 125,7
'nr' => 'South Ndebele',
'nv' => 'Navajo',
'ny' => 'Nyanja; Chichewa; Chewa',
'oc' => 'Occitan (post 1500); Provençal',
'oc' => 'Occitan (post 1500); Provençal',
'oj' => 'Ojibwa',
'om' => 'Oromo',
'or' => 'Oriya',
180,7 → 180,7
'uz' => 'Uzbek',
've' => 'Venda',
'vi' => 'Vietnamese',
'vo' => 'Volapük',
'vo' => 'Volapük',
'wa' => 'Walloon',
'wo' => 'Wolof',
'xh' => 'Xhosa',
/trunk/api/pear/I18Nv2/Language/hi.php
115,7 → 115,7
'mt' => 'मालटिस्',
'my' => 'बर्लिस',
'na' => 'नायरू',
'nb' => 'Norwegian Bokmål',
'nb' => 'Norwegian Bokmål',
'nd' => 'North Ndebele',
'ne' => 'नेपाली',
'ng' => 'Ndonga',
/trunk/api/pear/I18Nv2/Language/ta.php
115,7 → 115,7
'mt' => 'மால்டிஸ்',
'my' => 'பர்மிஸ்',
'na' => 'நாரூ',
'nb' => 'Norwegian Bokmål',
'nb' => 'Norwegian Bokmål',
'nd' => 'North Ndebele',
'ne' => 'நேப்பாலி',
'ng' => 'Ndonga',
/trunk/api/pear/I18Nv2/Language/te.php
115,7 → 115,7
'mt' => 'Maltese',
'my' => 'Burmese',
'na' => 'Nauru',
'nb' => 'Norwegian Bokmål',
'nb' => 'Norwegian Bokmål',
'nd' => 'North Ndebele',
'ne' => 'Nepali',
'ng' => 'Ndonga',
125,7 → 125,7
'nr' => 'South Ndebele',
'nv' => 'Navajo',
'ny' => 'Nyanja; Chichewa; Chewa',
'oc' => 'Occitan (post 1500); Provençal',
'oc' => 'Occitan (post 1500); Provençal',
'oj' => 'Ojibwa',
'om' => 'Oromo',
'or' => 'Oriya',
180,7 → 180,7
'uz' => 'Uzbek',
've' => 'Venda',
'vi' => 'Vietnamese',
'vo' => 'Volapük',
'vo' => 'Volapük',
'wa' => 'Walloon',
'wo' => 'Wolof',
'xh' => 'Xhosa',
/trunk/api/pear/I18Nv2/Language/dv.php
115,7 → 115,7
'mt' => 'Maltese',
'my' => 'Burmese',
'na' => 'Nauru',
'nb' => 'Norwegian Bokmål',
'nb' => 'Norwegian Bokmål',
'nd' => 'North Ndebele',
'ne' => 'Nepali',
'ng' => 'Ndonga',
125,7 → 125,7
'nr' => 'South Ndebele',
'nv' => 'Navajo',
'ny' => 'Nyanja; Chichewa; Chewa',
'oc' => 'Occitan (post 1500); Provençal',
'oc' => 'Occitan (post 1500); Provençal',
'oj' => 'Ojibwa',
'om' => 'Oromo',
'or' => 'Oriya',
180,7 → 180,7
'uz' => 'Uzbek',
've' => 'Venda',
'vi' => 'Vietnamese',
'vo' => 'Volapük',
'vo' => 'Volapük',
'wa' => 'Walloon',
'wo' => 'Wolof',
'xh' => 'Xhosa',
/trunk/api/pear/I18Nv2/Language/hr.php
115,7 → 115,7
'mt' => 'Malteški',
'my' => 'Burmese',
'na' => 'Nauru',
'nb' => 'Norwegian Bokmål',
'nb' => 'Norwegian Bokmål',
'nd' => 'North Ndebele',
'ne' => 'Nepalski',
'ng' => 'Ndonga',
125,7 → 125,7
'nr' => 'South Ndebele',
'nv' => 'Navajo',
'ny' => 'Nyanja; Chichewa; Chewa',
'oc' => 'Occitan (post 1500); Provençal',
'oc' => 'Occitan (post 1500); Provençal',
'oj' => 'Ojibwa',
'om' => 'Oromo',
'or' => 'Oriya',
180,7 → 180,7
'uz' => 'Uzbek',
've' => 'Venda',
'vi' => 'Vijetnamski',
'vo' => 'Volapük',
'vo' => 'Volapük',
'wa' => 'Walloon',
'wo' => 'Wolof',
'xh' => 'Xhosa',
/trunk/api/pear/I18Nv2/Language/lo.php
115,7 → 115,7
'mt' => 'ມອນຕາ',
'my' => 'ພະມ່າ',
'na' => 'ນໍລູ',
'nb' => 'Norwegian Bokmål',
'nb' => 'Norwegian Bokmål',
'nd' => 'North Ndebele',
'ne' => 'ເນປານ',
'ng' => 'Ndonga',
/trunk/api/pear/I18Nv2/Language/th.php
115,7 → 115,7
'mt' => 'มอลตา',
'my' => 'พม่า',
'na' => 'นอรู',
'nb' => 'Norwegian Bokmål',
'nb' => 'Norwegian Bokmål',
'nd' => 'North Ndebele',
'ne' => 'เนปาล',
'ng' => 'Ndonga',
/trunk/api/pear/I18Nv2/Language/pl.php
115,7 → 115,7
'mt' => 'Maltese',
'my' => 'Burmese',
'na' => 'Nauru',
'nb' => 'Norwegian Bokmål',
'nb' => 'Norwegian Bokmål',
'nd' => 'North Ndebele',
'ne' => 'Nepali',
'ng' => 'Ndonga',
125,7 → 125,7
'nr' => 'South Ndebele',
'nv' => 'Navajo',
'ny' => 'Nyanja; Chichewa; Chewa',
'oc' => 'Occitan (post 1500); Provençal',
'oc' => 'Occitan (post 1500); Provençal',
'oj' => 'Ojibwa',
'om' => 'Oromo',
'or' => 'Oriya',
180,7 → 180,7
'uz' => 'Uzbek',
've' => 'Venda',
'vi' => 'Vietnamese',
'vo' => 'Volapük',
'vo' => 'Volapük',
'wa' => 'Walloon',
'wo' => 'Wolof',
'xh' => 'Xhosa',
/trunk/api/pear/I18Nv2/Language/ti.php
115,7 → 115,7
'mt' => 'Maltese',
'my' => 'Burmese',
'na' => 'Nauru',
'nb' => 'Norwegian Bokmål',
'nb' => 'Norwegian Bokmål',
'nd' => 'North Ndebele',
'ne' => 'Nepali',
'ng' => 'Ndonga',
125,7 → 125,7
'nr' => 'South Ndebele',
'nv' => 'Navajo',
'ny' => 'Nyanja; Chichewa; Chewa',
'oc' => 'Occitan (post 1500); Provençal',
'oc' => 'Occitan (post 1500); Provençal',
'oj' => 'Ojibwa',
'om' => 'Oromo',
'or' => 'Oriya',
180,7 → 180,7
'uz' => 'Uzbek',
've' => 'Venda',
'vi' => 'Vietnamese',
'vo' => 'Volapük',
'vo' => 'Volapük',
'wa' => 'Walloon',
'wo' => 'Wolof',
'xh' => 'Xhosa',
/trunk/api/pear/I18Nv2/Language/hu.php
4,7 → 4,7
*/
$this->codes = array(
'aa' => 'Afar',
'ab' => 'Abház',
'ab' => 'Abház',
'ae' => 'Avestan',
'af' => 'Afrikai',
'ak' => 'Akan',
11,21 → 11,21
'am' => 'Amhara',
'an' => 'Aragonese',
'ar' => 'Arab',
'as' => 'Asszámi',
'as' => 'Asszámi',
'av' => 'Avaric',
'ay' => 'Ajmara',
'az' => 'Azerbajdzsáni',
'ba' => 'Baskír',
'az' => 'Azerbajdzsáni',
'ba' => 'Baskír',
'be' => 'Belorusz',
'bg' => 'Bolgár',
'bg' => 'Bolgár',
'bh' => 'Bihari',
'bi' => 'Bislama',
'bm' => 'Bambara',
'bn' => 'Bengáli',
'bn' => 'Bengáli',
'bo' => 'Tibeti',
'br' => 'Breton',
'bs' => 'Bosnian',
'ca' => 'Katalán',
'ca' => 'Katalán',
'ce' => 'Chechen',
'ch' => 'Chamorro',
'co' => 'Korzikai',
34,41 → 34,41
'cu' => 'Church Slavic',
'cv' => 'Chuvash',
'cy' => 'Walesi',
'da' => 'Dán',
'de' => 'Német',
'da' => 'Dán',
'de' => 'Német',
'dv' => 'Divehi',
'dz' => 'Butáni',
'dz' => 'Butáni',
'ee' => 'Ewe',
'el' => 'Görög',
'el' => 'Görög',
'en' => 'Angol',
'eo' => 'Eszperantó',
'eo' => 'Eszperantó',
'es' => 'Spanyol',
'et' => 'Észt',
'et' => 'Észt',
'eu' => 'Baszk',
'fa' => 'Perzsa',
'ff' => 'Fulah',
'fi' => 'Finn',
'fj' => 'Fidzsi',
'fo' => 'Feröeri',
'fo' => 'Feröeri',
'fr' => 'Francia',
'fy' => 'Fríz',
'ga' => 'Ír',
'gd' => 'Skót (gael)',
'gl' => 'Galíciai',
'fy' => 'Fríz',
'ga' => 'Ír',
'gd' => 'Skót (gael)',
'gl' => 'Galíciai',
'gn' => 'Guarani',
'gu' => 'Gudzsaráti',
'gu' => 'Gudzsaráti',
'gv' => 'Manx',
'ha' => 'Hausza',
'he' => 'Héber',
'he' => 'Héber',
'hi' => 'Hindi',
'ho' => 'Hiri Motu',
'hr' => 'Horvát',
'hr' => 'Horvát',
'ht' => 'Haitian',
'hu' => 'Magyar',
'hy' => 'Örmény',
'hy' => 'Örmény',
'hz' => 'Herero',
'ia' => 'Interlingua',
'id' => 'Indonéz',
'id' => 'Indonéz',
'ie' => 'Interlingue',
'ig' => 'Igbo',
'ii' => 'Sichuan Yi',
77,19 → 77,19
'is' => 'Izlandi',
'it' => 'Olasz',
'iu' => 'Inuktitut',
'ja' => 'Japán',
'jv' => 'Jávai',
'ka' => 'Grúz',
'ja' => 'Japán',
'jv' => 'Jávai',
'ka' => 'Grúz',
'kg' => 'Kongo',
'ki' => 'Kikuyu',
'kj' => 'Kuanyama',
'kk' => 'Kazah',
'kl' => 'Grönlandi',
'kl' => 'Grönlandi',
'km' => 'Kambodzsai',
'kn' => 'Kannada',
'ko' => 'Koreai',
'kr' => 'Kanuri',
'ks' => 'Kasmíri',
'ks' => 'Kasmíri',
'ku' => 'Kurd',
'kv' => 'Komi',
'kw' => 'Cornish',
100,45 → 100,45
'li' => 'Limburgish',
'ln' => 'Lingala',
'lo' => 'Laoszi',
'lt' => 'Litván',
'lt' => 'Litván',
'lu' => 'Luba-Katanga',
'lv' => 'Lett',
'mg' => 'Madagaszkári',
'mg' => 'Madagaszkári',
'mh' => 'Marshallese',
'mi' => 'Maori',
'mk' => 'Macedón',
'mk' => 'Macedón',
'ml' => 'Malajalam',
'mn' => 'Mongol',
'mo' => 'Moldvai',
'mr' => 'Marati',
'ms' => 'Maláj',
'mt' => 'Máltai',
'ms' => 'Maláj',
'mt' => 'Máltai',
'my' => 'Burmai',
'na' => 'Naurui',
'nb' => 'Norwegian Bokmål',
'nb' => 'Norwegian Bokmål',
'nd' => 'North Ndebele',
'ne' => 'Nepáli',
'ne' => 'Nepáli',
'ng' => 'Ndonga',
'nl' => 'Holland',
'nn' => 'Norwegian Nynorsk',
'no' => 'Norvég',
'no' => 'Norvég',
'nr' => 'South Ndebele',
'nv' => 'Navajo',
'ny' => 'Nyanja; Chichewa; Chewa',
'oc' => 'Okszitán',
'oc' => 'Okszitán',
'oj' => 'Ojibwa',
'om' => 'Oromói',
'om' => 'Oromói',
'or' => 'Orija',
'os' => 'Ossetic',
'pa' => 'Pandzsábi',
'pa' => 'Pandzsábi',
'pi' => 'Pali',
'pl' => 'Lengyel',
'ps' => 'Pastu (afgán)',
'pt' => 'Portugál',
'ps' => 'Pastu (afgán)',
'pt' => 'Portugál',
'qu' => 'Kecsua',
'rm' => 'Rétoromán',
'rm' => 'Rétoromán',
'rn' => 'Kirundi',
'ro' => 'Román',
'ro' => 'Román',
'ru' => 'Orosz',
'rw' => 'Kiruanda',
'sa' => 'Szanszkrit',
146,48 → 146,48
'sd' => 'Szindi',
'se' => 'Northern Sami',
'sg' => 'Sango',
'sh' => 'Szerb-horvát',
'si' => 'Szingaléz',
'sk' => 'Szlovák',
'sl' => 'Szlovén',
'sh' => 'Szerb-horvát',
'si' => 'Szingaléz',
'sk' => 'Szlovák',
'sl' => 'Szlovén',
'sm' => 'Szamoai',
'sn' => 'Sona',
'so' => 'Szomáli',
'sq' => 'Albán',
'so' => 'Szomáli',
'sq' => 'Albán',
'sr' => 'Szerb',
'ss' => 'Sziszuati',
'st' => 'Szeszotó',
'su' => 'Szundanéz',
'sv' => 'Svéd',
'sw' => 'Szuahéli',
'st' => 'Szeszotó',
'su' => 'Szundanéz',
'sv' => 'Svéd',
'sw' => 'Szuahéli',
'ta' => 'Tamil',
'te' => 'Telugu',
'tg' => 'Tadzsik',
'th' => 'Thai',
'ti' => 'Tigrinya',
'tk' => 'Türkmén',
'tk' => 'Türkmén',
'tl' => 'Tagalog',
'tn' => 'Szecsuáni',
'tn' => 'Szecsuáni',
'to' => 'Tonga',
'tr' => 'Török',
'tr' => 'Török',
'ts' => 'Conga',
'tt' => 'Tatár',
'tt' => 'Tatár',
'tw' => 'Tui',
'ty' => 'Tahitian',
'ug' => 'Ujgur',
'uk' => 'Ukrán',
'uk' => 'Ukrán',
'ur' => 'Urdu',
'uz' => 'Üzbég',
'uz' => 'Üzbég',
've' => 'Venda',
'vi' => 'Vietnámi',
'vo' => 'Volapük',
'vi' => 'Vietnámi',
'vo' => 'Volapük',
'wa' => 'Walloon',
'wo' => 'Volof',
'xh' => 'Hosza',
'yi' => 'Zsidó',
'yi' => 'Zsidó',
'yo' => 'Joruba',
'za' => 'Zsuang',
'zh' => 'Kínai',
'zh' => 'Kínai',
'zu' => 'Zulu',
);
?>
/trunk/api/pear/I18Nv2/Language/dz.php
115,7 → 115,7
'mt' => 'Maltese',
'my' => 'བར་མིསི',
'na' => 'Nauru',
'nb' => 'Norwegian Bokmål',
'nb' => 'Norwegian Bokmål',
'nd' => 'North Ndebele',
'ne' => 'ནེ་པ་ལི',
'ng' => 'Ndonga',
125,7 → 125,7
'nr' => 'South Ndebele',
'nv' => 'Navajo',
'ny' => 'Nyanja; Chichewa; Chewa',
'oc' => 'Occitan (post 1500); Provençal',
'oc' => 'Occitan (post 1500); Provençal',
'oj' => 'Ojibwa',
'om' => 'Oromo',
'or' => 'ཨོ་རི་ཡ',
180,7 → 180,7
'uz' => 'Uzbek',
've' => 'Venda',
'vi' => 'Vietnamese',
'vo' => 'Volapük',
'vo' => 'Volapük',
'wa' => 'Walloon',
'wo' => 'Wolof',
'xh' => 'Xhosa',
/trunk/api/pear/I18Nv2/Language/lt.php
115,7 → 115,7
'mt' => 'Maltese',
'my' => 'Burmese',
'na' => 'Nauru',
'nb' => 'Norwegian Bokmål',
'nb' => 'Norwegian Bokmål',
'nd' => 'North Ndebele',
'ne' => 'Nepali',
'ng' => 'Ndonga',
125,7 → 125,7
'nr' => 'South Ndebele',
'nv' => 'Navajo',
'ny' => 'Nyanja; Chichewa; Chewa',
'oc' => 'Occitan (post 1500); Provençal',
'oc' => 'Occitan (post 1500); Provençal',
'oj' => 'Ojibwa',
'om' => 'Oromo',
'or' => 'Oriya',
180,7 → 180,7
'uz' => 'Uzbek',
've' => 'Venda',
'vi' => 'Vietnamese',
'vo' => 'Volapük',
'vo' => 'Volapük',
'wa' => 'Walloon',
'wo' => 'Wolof',
'xh' => 'Xhosa',
/trunk/api/pear/I18Nv2/Language/hy.php
115,7 → 115,7
'mt' => 'Maltese',
'my' => 'Burmese',
'na' => 'Nauru',
'nb' => 'Norwegian Bokmål',
'nb' => 'Norwegian Bokmål',
'nd' => 'North Ndebele',
'ne' => 'Nepali',
'ng' => 'Ndonga',
125,7 → 125,7
'nr' => 'South Ndebele',
'nv' => 'Navajo',
'ny' => 'Nyanja; Chichewa; Chewa',
'oc' => 'Occitan (post 1500); Provençal',
'oc' => 'Occitan (post 1500); Provençal',
'oj' => 'Ojibwa',
'om' => 'Oromo',
'or' => 'Oriya',
180,7 → 180,7
'uz' => 'Uzbek',
've' => 'Venda',
'vi' => 'Vietnamese',
'vo' => 'Volapük',
'vo' => 'Volapük',
'wa' => 'Walloon',
'wo' => 'Wolof',
'xh' => 'Xhosa',
/trunk/api/pear/I18Nv2/Language/aa.php
115,7 → 115,7
'mt' => 'Maltese',
'my' => 'Burmese',
'na' => 'Nauru',
'nb' => 'Norwegian Bokmål',
'nb' => 'Norwegian Bokmål',
'nd' => 'North Ndebele',
'ne' => 'Nepali',
'ng' => 'Ndonga',
125,7 → 125,7
'nr' => 'South Ndebele',
'nv' => 'Navajo',
'ny' => 'Nyanja; Chichewa; Chewa',
'oc' => 'Occitan (post 1500); Provençal',
'oc' => 'Occitan (post 1500); Provençal',
'oj' => 'Ojibwa',
'om' => 'Oromo',
'or' => 'Oriya',
180,7 → 180,7
'uz' => 'Uzbek',
've' => 'Venda',
'vi' => 'Vietnamese',
'vo' => 'Volapük',
'vo' => 'Volapük',
'wa' => 'Walloon',
'wo' => 'Wolof',
'xh' => 'Xhosa',
/trunk/api/pear/I18Nv2/Language/lv.php
115,7 → 115,7
'mt' => 'Maltese',
'my' => 'Burmese',
'na' => 'Nauru',
'nb' => 'Norwegian Bokmål',
'nb' => 'Norwegian Bokmål',
'nd' => 'North Ndebele',
'ne' => 'Nepali',
'ng' => 'Ndonga',
125,7 → 125,7
'nr' => 'South Ndebele',
'nv' => 'Navajo',
'ny' => 'Nyanja; Chichewa; Chewa',
'oc' => 'Occitan (post 1500); Provençal',
'oc' => 'Occitan (post 1500); Provençal',
'oj' => 'Ojibwa',
'om' => 'Oromo',
'or' => 'Oriya',
180,7 → 180,7
'uz' => 'Uzbek',
've' => 'Venda',
'vi' => 'Vietnamese',
'vo' => 'Volapük',
'vo' => 'Volapük',
'wa' => 'Walloon',
'wo' => 'Wolof',
'xh' => 'Xhosa',
/trunk/api/pear/I18Nv2/Language/ps.php
115,7 → 115,7
'mt' => 'Maltese',
'my' => 'Burmese',
'na' => 'Nauru',
'nb' => 'Norwegian Bokmål',
'nb' => 'Norwegian Bokmål',
'nd' => 'North Ndebele',
'ne' => 'Nepali',
'ng' => 'Ndonga',
125,7 → 125,7
'nr' => 'South Ndebele',
'nv' => 'Navajo',
'ny' => 'Nyanja; Chichewa; Chewa',
'oc' => 'Occitan (post 1500); Provençal',
'oc' => 'Occitan (post 1500); Provençal',
'oj' => 'Ojibwa',
'om' => 'Oromo',
'or' => 'Oriya',
180,7 → 180,7
'uz' => 'ازبکي',
've' => 'Venda',
'vi' => 'Vietnamese',
'vo' => 'Volapük',
'vo' => 'Volapük',
'wa' => 'Walloon',
'wo' => 'Wolof',
'xh' => 'Xhosa',
/trunk/api/pear/I18Nv2/Language/pt.php
5,42 → 5,42
$this->codes = array(
'aa' => 'Afar',
'ab' => 'Abkhazian',
'ae' => 'Avéstico',
'af' => 'Africâner',
'ae' => 'Avéstico',
'af' => 'Africâner',
'ak' => 'Akan',
'am' => 'Amárico',
'an' => 'Aragonês',
'ar' => 'Árabe',
'as' => 'Assamês',
'am' => 'Amárico',
'an' => 'Aragonês',
'ar' => 'Árabe',
'as' => 'Assamês',
'av' => 'Avaric',
'ay' => 'Aimara',
'az' => 'Azerbaijano',
'ba' => 'Bashkir',
'be' => 'Bielo-russo',
'bg' => 'Búlgaro',
'bg' => 'Búlgaro',
'bh' => 'Biari',
'bi' => 'Bislamá',
'bi' => 'Bislamá',
'bm' => 'Bambara',
'bn' => 'Bengali',
'bo' => 'Tibetano',
'br' => 'Bretão',
'bs' => 'Bósnio',
'ca' => 'Catalão',
'br' => 'Bretão',
'bs' => 'Bósnio',
'ca' => 'Catalão',
'ce' => 'Chechene',
'ch' => 'Chamorro',
'co' => 'Córsico',
'co' => 'Córsico',
'cr' => 'Cree',
'cs' => 'Tcheco',
'cu' => 'Eslavo eclesiástico',
'cu' => 'Eslavo eclesiástico',
'cv' => 'Chuvash',
'cy' => 'Galês',
'da' => 'Dinamarquês',
'de' => 'Alemão',
'cy' => 'Galês',
'da' => 'Dinamarquês',
'de' => 'Alemão',
'dv' => 'Divehi',
'dz' => 'Dzonga',
'ee' => 'Eve',
'el' => 'Grego',
'en' => 'Inglês',
'en' => 'Inglês',
'eo' => 'Esperanto',
'es' => 'Espanhol',
'et' => 'Estoniano',
47,55 → 47,55
'eu' => 'Basco',
'fa' => 'Persa',
'ff' => 'Fula',
'fi' => 'Finlandês',
'fi' => 'Finlandês',
'fj' => 'Fijiano',
'fo' => 'Feroês',
'fr' => 'Francês',
'fy' => 'Frisão',
'ga' => 'Irlandês',
'gd' => 'Gaélico escocês',
'fo' => 'Feroês',
'fr' => 'Francês',
'fy' => 'Frisão',
'ga' => 'Irlandês',
'gd' => 'Gaélico escocês',
'gl' => 'Galego',
'gn' => 'Guarani',
'gu' => 'Guzerate',
'gv' => 'Manx',
'ha' => 'Hauçá',
'ha' => 'Hauçá',
'he' => 'Hebraico',
'hi' => 'Hindi',
'ho' => 'Hiri motu',
'hr' => 'Croata',
'ht' => 'Haitiano',
'hu' => 'Húngaro',
'hy' => 'Armênio',
'hu' => 'Húngaro',
'hy' => 'Armênio',
'hz' => 'Herero',
'ia' => 'Interlíngua',
'id' => 'Indonésio',
'ia' => 'Interlíngua',
'id' => 'Indonésio',
'ie' => 'Interlingue',
'ig' => 'Ibo',
'ii' => 'Sichuan yi',
'ik' => 'Inupiaq',
'io' => 'Ido',
'is' => 'Islandês',
'is' => 'Islandês',
'it' => 'Italiano',
'iu' => 'Inuktitut',
'ja' => 'Japonês',
'ja' => 'Japonês',
'jv' => 'Javanese',
'ka' => 'Georgiano',
'kg' => 'Congolês',
'kg' => 'Congolês',
'ki' => 'Quicuio',
'kj' => 'Kuanyama',
'kk' => 'Cazaque',
'kl' => 'Groenlandês',
'kl' => 'Groenlandês',
'km' => 'Cmer',
'kn' => 'Canarês',
'kn' => 'Canarês',
'ko' => 'Coreano',
'kr' => 'Canúri',
'kr' => 'Canúri',
'ks' => 'Kashmiri',
'ku' => 'Curdo',
'kv' => 'Komi',
'kw' => 'Córnico',
'kw' => 'Córnico',
'ky' => 'Quirguiz',
'la' => 'Latim',
'lb' => 'Luxemburguês',
'lb' => 'Luxemburguês',
'lg' => 'Luganda',
'li' => 'Limburgish',
'ln' => 'Lingala',
102,69 → 102,69
'lo' => 'Laosiano',
'lt' => 'Lituano',
'lu' => 'Luba-catanga',
'lv' => 'Letão',
'lv' => 'Letão',
'mg' => 'Malgaxe',
'mh' => 'Marshallês',
'mh' => 'Marshallês',
'mi' => 'Maori',
'mk' => 'Macedônio',
'mk' => 'Macedônio',
'ml' => 'Malaiala',
'mn' => 'Mongol',
'mo' => 'Moldávio',
'mo' => 'Moldávio',
'mr' => 'Marata',
'ms' => 'Malaio',
'mt' => 'Maltês',
'my' => 'Birmanês',
'mt' => 'Maltês',
'my' => 'Birmanês',
'na' => 'Nauruano',
'nb' => 'Bokmål norueguês',
'nb' => 'Bokmål norueguês',
'nd' => 'Ndebele, north',
'ne' => 'Nepali',
'ng' => 'Dongo',
'nl' => 'Holandês',
'nn' => 'Nynorsk norueguês',
'no' => 'Norueguês',
'nl' => 'Holandês',
'nn' => 'Nynorsk norueguês',
'no' => 'Norueguês',
'nr' => 'Ndebele, south',
'nv' => 'Navajo',
'ny' => 'Nianja; chicheua; cheua',
'oc' => 'Occitânico (após 1500); provençal',
'oc' => 'Occitânico (após 1500); provençal',
'oj' => 'Ojibwa',
'om' => 'Oromo',
'or' => 'Oriya',
'os' => 'Ossetic',
'pa' => 'Panjabi',
'pi' => 'Páli',
'pl' => 'Polonês',
'pi' => 'Páli',
'pl' => 'Polonês',
'ps' => 'Pashto (pushto)',
'pt' => 'Português',
'qu' => 'Quíchua',
'pt' => 'Português',
'qu' => 'Quíchua',
'rm' => 'Rhaeto-romance',
'rn' => 'Rundi',
'ro' => 'Romeno',
'ru' => 'Russo',
'rw' => 'Kinyarwanda',
'sa' => 'Sânscrito',
'sa' => 'Sânscrito',
'sc' => 'Sardo',
'sd' => 'Sindi',
'se' => 'Northern sami',
'sg' => 'Sango',
'sh' => 'Servo-croata',
'si' => 'Cingalês',
'si' => 'Cingalês',
'sk' => 'Eslovaco',
'sl' => 'Eslovênio',
'sl' => 'Eslovênio',
'sm' => 'Samoan',
'sn' => 'Shona',
'so' => 'Somali',
'sq' => 'Albanês',
'sr' => 'Sérvio',
'sq' => 'Albanês',
'sr' => 'Sérvio',
'ss' => 'Swati',
'st' => 'Soto, do sul',
'su' => 'Sundanês',
'su' => 'Sundanês',
'sv' => 'Sueco',
'sw' => 'Suaíli',
'ta' => 'Tâmil',
'sw' => 'Suaíli',
'ta' => 'Tâmil',
'te' => 'Telugu',
'tg' => 'Tadjique',
'th' => 'Tailandês',
'ti' => 'Tigrínia',
'th' => 'Tailandês',
'ti' => 'Tigrínia',
'tk' => 'Turcomano',
'tl' => 'Tagalog',
'tn' => 'Tswana',
184,10 → 184,10
'wa' => 'Walloon',
'wo' => 'Uolofe',
'xh' => 'Xosa',
'yi' => 'Iídiche',
'yi' => 'Iídiche',
'yo' => 'Ioruba',
'za' => 'Zhuang',
'zh' => 'Chinês',
'zh' => 'Chinês',
'zu' => 'Zulu',
);
?>
/trunk/api/pear/I18Nv2/Language/tr.php
10,29 → 10,29
'ak' => 'Akan',
'am' => 'Amharik',
'an' => 'Aragonese',
'ar' => 'Arapça',
'ar' => 'Arapça',
'as' => 'Assamese',
'av' => 'Avar Dili',
'ay' => 'Aymara',
'az' => 'Azerice',
'ba' => 'Başkırt Dili',
'be' => 'Beyaz Rusça',
'be' => 'Beyaz Rusça',
'bg' => 'Bulgarca',
'bh' => 'Bihari',
'bi' => 'Bislama',
'bm' => 'Bambara',
'bn' => 'Bengal Dili',
'bo' => 'Tibetçe',
'bo' => 'Tibetçe',
'br' => 'Breton Dili',
'bs' => 'Bosna Dili',
'ca' => 'Katalan Dili',
'ce' => 'Çeçence',
'ce' => 'Çeçence',
'ch' => 'Chamorro',
'co' => 'Korsika Dili',
'cr' => 'Cree',
'cs' => 'Çekçe',
'cs' => 'Çekçe',
'cu' => 'Kilise Slavcası',
'cv' => 'Çuvaş',
'cv' => 'Çuvaş',
'cy' => 'Gal Dili',
'da' => 'Danca',
'de' => 'Almanca',
45,7 → 45,7
'es' => 'İspanyolca',
'et' => 'Estonya Dili',
'eu' => 'Bask Dili',
'fa' => 'Farsça',
'fa' => 'Farsça',
'ff' => 'Fulah',
'fi' => 'Fince',
'fj' => 'Fiji Dili',
53,8 → 53,8
'fr' => 'Fransızca',
'fy' => 'Frizye Dili',
'ga' => 'İrlanda Dili',
'gd' => 'Ä°skoç Gal Dili',
'gl' => 'Galiçya Dili',
'gd' => 'İskoç Gal Dili',
'gl' => 'Galiçya Dili',
'gn' => 'Guarani',
'gu' => 'Gujarati',
'gv' => 'Manx',
62,7 → 62,7
'he' => 'İbranice',
'hi' => 'Hint Dili',
'ho' => 'Hiri Motu',
'hr' => 'Hırvatça',
'hr' => 'Hırvatça',
'ht' => 'Haiti Dili',
'hu' => 'Macarca',
'hy' => 'Ermenice',
79,23 → 79,23
'iu' => 'Inuktitut',
'ja' => 'Japonca',
'jv' => 'Java Dili',
'ka' => 'Gürcüce',
'ka' => 'Gürcüce',
'kg' => 'Kongo',
'ki' => 'Kikuyu',
'kj' => 'Kuanyama',
'kk' => 'Kazak Dili',
'kl' => 'Grönland Dili',
'km' => 'Kamboçya Dili',
'kl' => 'Grönland Dili',
'km' => 'Kamboçya Dili',
'kn' => 'Kannada',
'ko' => 'Korece',
'kr' => 'Kanuri',
'ks' => 'Keşmirce',
'ku' => 'Kürtçe',
'ku' => 'Kürtçe',
'kv' => 'Komi',
'kw' => 'Cornish',
'ky' => 'Kırgızca',
'la' => 'Latince',
'lb' => 'Lüksemburg Dili',
'lb' => 'Lüksemburg Dili',
'lg' => 'Ganda',
'li' => 'Limburgish',
'ln' => 'Lingala',
115,17 → 115,17
'mt' => 'Malta Dili',
'my' => 'Birmanya Dili',
'na' => 'Nauru',
'nb' => 'Norveç Kitap Dili',
'nb' => 'Norveç Kitap Dili',
'nd' => 'Kuzey Ndebele',
'ne' => 'Nepal Dili',
'ng' => 'Ndonga',
'nl' => 'Hollanda Dili',
'nn' => 'Norveççe Nynorsk',
'no' => 'Norveççe',
'nr' => 'Güney Ndebele',
'nn' => 'Norveççe Nynorsk',
'no' => 'Norveççe',
'nr' => 'Güney Ndebele',
'nv' => 'Navajo',
'ny' => 'Nyanja; Chichewa; Chewa',
'oc' => 'Occitan (1500 sonrası); Provençal',
'oc' => 'Occitan (1500 sonrası); Provençal',
'oj' => 'Ojibwa',
'om' => 'Oromo (Afan)',
'or' => 'Oriya',
139,9 → 139,9
'rm' => 'Rhaeto-Roman Dili',
'rn' => 'Kirundi',
'ro' => 'Romence',
'ru' => 'Rusça',
'ru' => 'Rusça',
'rw' => 'Kinyarwanda',
'sa' => 'Sanskritçe',
'sa' => 'Sanskritçe',
'sc' => 'Sardunya Dili',
'sd' => 'Sindhi',
'se' => 'Kuzey Sami',
148,17 → 148,17
'sg' => 'Sangho',
'sh' => 'Sırp-Hırvat Dili',
'si' => 'Sinhal Dili',
'sk' => 'Slovakça',
'sk' => 'Slovakça',
'sl' => 'Slovence',
'sm' => 'Samoa Dili',
'sn' => 'Shona',
'so' => 'Somali Dili',
'sq' => 'Arnavutça',
'sr' => 'Sırpça',
'sq' => 'Arnavutça',
'sr' => 'Sırpça',
'ss' => 'Siswati',
'st' => 'Sesotho',
'su' => 'Sudan Dili',
'sv' => 'Ä°sveççe',
'sv' => 'İsveççe',
'sw' => 'Swahili',
'ta' => 'Tamil',
'te' => 'Telugu',
165,11 → 165,11
'tg' => 'Tacik Dili',
'th' => 'Tay Dili',
'ti' => 'Tigrinya',
'tk' => 'Türkmence',
'tk' => 'Türkmence',
'tl' => 'Tagalog',
'tn' => 'Setswana',
'to' => 'Tonga (Tonga Adaları)',
'tr' => 'Türkçe',
'tr' => 'Türkçe',
'ts' => 'Tsonga',
'tt' => 'Tatarca',
'tw' => 'Twi',
177,7 → 177,7
'ug' => 'Uygurca',
'uk' => 'Ukraynaca',
'ur' => 'Urduca',
'uz' => 'Özbekçe',
'uz' => 'Özbekçe',
've' => 'Venda',
'vi' => 'Vietnam Dili',
'vo' => 'Volapuk',
187,7 → 187,7
'yi' => 'Yiddiş',
'yo' => 'Yoruba',
'za' => 'Zhuang',
'zh' => 'Çince',
'zh' => 'Çince',
'zu' => 'Zulu',
);
?>
/trunk/api/pear/I18Nv2/Language/af.php
115,7 → 115,7
'mt' => 'Maltese',
'my' => 'Burmese',
'na' => 'Nauru',
'nb' => 'Norwegian Bokmål',
'nb' => 'Norwegian Bokmål',
'nd' => 'North Ndebele',
'ne' => 'Nepali',
'ng' => 'Ndonga',
125,7 → 125,7
'nr' => 'South Ndebele',
'nv' => 'Navajo',
'ny' => 'Nyanja; Chichewa; Chewa',
'oc' => 'Occitan (post 1500); Provençal',
'oc' => 'Occitan (post 1500); Provençal',
'oj' => 'Ojibwa',
'om' => 'Oromo',
'or' => 'Oriya',
180,7 → 180,7
'uz' => 'Uzbek',
've' => 'Venda',
'vi' => 'Vietnamese',
'vo' => 'Volapük',
'vo' => 'Volapük',
'wa' => 'Walloon',
'wo' => 'Wolof',
'xh' => 'Xhosa',
/trunk/api/pear/I18Nv2/Language/tt.php
115,7 → 115,7
'mt' => 'Maltese',
'my' => 'Burmese',
'na' => 'Nauru',
'nb' => 'Norwegian Bokmål',
'nb' => 'Norwegian Bokmål',
'nd' => 'North Ndebele',
'ne' => 'Nepali',
'ng' => 'Ndonga',
125,7 → 125,7
'nr' => 'South Ndebele',
'nv' => 'Navajo',
'ny' => 'Nyanja; Chichewa; Chewa',
'oc' => 'Occitan (post 1500); Provençal',
'oc' => 'Occitan (post 1500); Provençal',
'oj' => 'Ojibwa',
'om' => 'Oromo',
'or' => 'Oriya',
180,7 → 180,7
'uz' => 'Uzbek',
've' => 'Venda',
'vi' => 'Vietnamese',
'vo' => 'Volapük',
'vo' => 'Volapük',
'wa' => 'Walloon',
'wo' => 'Wolof',
'xh' => 'Xhosa',
/trunk/api/pear/I18Nv2/Language/id.php
115,7 → 115,7
'mt' => 'Maltese',
'my' => 'Burma',
'na' => 'Nauru',
'nb' => 'Norwegian Bokmål',
'nb' => 'Norwegian Bokmål',
'nd' => 'North Ndebele',
'ne' => 'Nepal',
'ng' => 'Ndonga',
125,7 → 125,7
'nr' => 'South Ndebele',
'nv' => 'Navajo',
'ny' => 'Nyanja; Chichewa; Chewa',
'oc' => 'Occitan (post 1500); Provençal',
'oc' => 'Occitan (post 1500); Provençal',
'oj' => 'Ojibwa',
'om' => 'Oromo',
'or' => 'Oriya',
180,7 → 180,7
'uz' => 'Uzbek',
've' => 'Venda',
'vi' => 'Vietnamese',
'vo' => 'Volapük',
'vo' => 'Volapük',
'wa' => 'Walloon',
'wo' => 'Wolof',
'xh' => 'Xhosa',
/trunk/api/pear/I18Nv2/Language/am.php
115,7 → 115,7
'mt' => 'ማልቲስኛ',
'my' => 'ቡርማኛ',
'na' => 'ናኡሩ',
'nb' => 'Norwegian Bokmål',
'nb' => 'Norwegian Bokmål',
'nd' => 'North Ndebele',
'ne' => 'ኔፓሊኛ',
'ng' => 'Ndonga',
/trunk/api/pear/I18Nv2/Language/el.php
115,7 → 115,7
'mt' => 'Μαλτεζικά',
'my' => 'Burmese',
'na' => 'Nauru',
'nb' => 'Norwegian Bokmål',
'nb' => 'Norwegian Bokmål',
'nd' => 'North Ndebele',
'ne' => 'Nepali',
'ng' => 'Ndonga',
125,7 → 125,7
'nr' => 'South Ndebele',
'nv' => 'Navajo',
'ny' => 'Nyanja; Chichewa; Chewa',
'oc' => 'Occitan (post 1500); Provençal',
'oc' => 'Occitan (post 1500); Provençal',
'oj' => 'Ojibwa',
'om' => 'Oromo',
'or' => 'Oriya',
180,7 → 180,7
'uz' => 'Uzbek',
've' => 'Venda',
'vi' => 'Βιετναμεζικά',
'vo' => 'Volapük',
'vo' => 'Volapük',
'wa' => 'Walloon',
'wo' => 'Wolof',
'xh' => 'Xhosa',
/trunk/api/pear/I18Nv2/Language/en.php
115,7 → 115,7
'mt' => 'Maltese',
'my' => 'Burmese',
'na' => 'Nauru',
'nb' => 'Norwegian Bokmål',
'nb' => 'Norwegian Bokmål',
'nd' => 'North Ndebele',
'ne' => 'Nepali',
'ng' => 'Ndonga',
125,7 → 125,7
'nr' => 'South Ndebele',
'nv' => 'Navajo',
'ny' => 'Nyanja; Chichewa; Chewa',
'oc' => 'Occitan (post 1500); Provençal',
'oc' => 'Occitan (post 1500); Provençal',
'oj' => 'Ojibwa',
'om' => 'Oromo',
'or' => 'Oriya',
180,7 → 180,7
'uz' => 'Uzbek',
've' => 'Venda',
'vi' => 'Vietnamese',
'vo' => 'Volapük',
'vo' => 'Volapük',
'wa' => 'Walloon',
'wo' => 'Wolof',
'xh' => 'Xhosa',
/trunk/api/pear/I18Nv2/Language/ar.php
115,7 → 115,7
'mt' => 'المالطية',
'my' => 'البورمية',
'na' => 'Nauru',
'nb' => 'Norwegian Bokmål',
'nb' => 'Norwegian Bokmål',
'nd' => 'North Ndebele',
'ne' => 'النيبالية',
'ng' => 'Ndonga',
125,7 → 125,7
'nr' => 'South Ndebele',
'nv' => 'Navajo',
'ny' => 'Nyanja; Chichewa; Chewa',
'oc' => 'Occitan (post 1500); Provençal',
'oc' => 'Occitan (post 1500); Provençal',
'oj' => 'Ojibwa',
'om' => 'Oromo',
'or' => 'Oriya',
180,7 → 180,7
'uz' => 'Uzbek',
've' => 'Venda',
'vi' => 'الفيتنامية',
'vo' => 'Volapük',
'vo' => 'Volapük',
'wa' => 'Walloon',
'wo' => 'Wolof',
'xh' => 'Xhosa',
/trunk/api/pear/I18Nv2/Language/eo.php
115,7 → 115,7
'mt' => 'Malta',
'my' => 'Birma',
'na' => 'Naura',
'nb' => 'Norwegian Bokmål',
'nb' => 'Norwegian Bokmål',
'nd' => 'North Ndebele',
'ne' => 'Nepala',
'ng' => 'Ndonga',
/trunk/api/pear/I18Nv2/Language/as.php
115,7 → 115,7
'mt' => 'Maltese',
'my' => 'Burmese',
'na' => 'Nauru',
'nb' => 'Norwegian Bokmål',
'nb' => 'Norwegian Bokmål',
'nd' => 'North Ndebele',
'ne' => 'Nepali',
'ng' => 'Ndonga',
125,7 → 125,7
'nr' => 'South Ndebele',
'nv' => 'Navajo',
'ny' => 'Nyanja; Chichewa; Chewa',
'oc' => 'Occitan (post 1500); Provençal',
'oc' => 'Occitan (post 1500); Provençal',
'oj' => 'Ojibwa',
'om' => 'Oromo',
'or' => 'Oriya',
180,7 → 180,7
'uz' => 'Uzbek',
've' => 'Venda',
'vi' => 'Vietnamese',
'vo' => 'Volapük',
'vo' => 'Volapük',
'wa' => 'Walloon',
'wo' => 'Wolof',
'xh' => 'Xhosa',
/trunk/api/pear/I18Nv2/Language/es.php
5,59 → 5,59
$this->codes = array(
'aa' => 'Afar',
'ab' => 'Abkhaziano',
'ae' => 'Avéstico',
'ae' => 'Avéstico',
'af' => 'Afrikaans',
'ak' => 'Akan',
'am' => 'Amárico',
'an' => 'Aragonés',
'ar' => 'Árabe',
'as' => 'Asamés',
'am' => 'Amárico',
'an' => 'Aragonés',
'ar' => 'Árabe',
'as' => 'Asamés',
'av' => 'Avar',
'ay' => 'Aymara',
'az' => 'Azerí',
'az' => 'Azerí',
'ba' => 'Bashkir',
'be' => 'Bielorruso',
'bg' => 'Búlgaro',
'bg' => 'Búlgaro',
'bh' => 'Bihari',
'bi' => 'Bislama',
'bm' => 'Bambara',
'bn' => 'Bengalí',
'bn' => 'Bengalí',
'bo' => 'Tibetano',
'br' => 'Bretón',
'br' => 'Bretón',
'bs' => 'Bosnio',
'ca' => 'Catalán',
'ca' => 'Catalán',
'ce' => 'Checheno',
'ch' => 'Chamorro',
'co' => 'Corso',
'cr' => 'Cree',
'cs' => 'Checo',
'cu' => 'Eslavo eclesiástico',
'cu' => 'Eslavo eclesiástico',
'cv' => 'Chuvash',
'cy' => 'Galés',
'da' => 'Danés',
'de' => 'Alemán',
'cy' => 'Galés',
'da' => 'Danés',
'de' => 'Alemán',
'dv' => 'Divehi',
'dz' => 'Bhutaní',
'dz' => 'Bhutaní',
'ee' => 'Ewe',
'el' => 'Griego',
'en' => 'Inglés',
'en' => 'Inglés',
'eo' => 'Esperanto',
'es' => 'Español',
'es' => 'Español',
'et' => 'Estonio',
'eu' => 'Vasco',
'fa' => 'Farsi',
'ff' => 'Fula',
'fi' => 'Finlandés',
'fi' => 'Finlandés',
'fj' => 'Fidji',
'fo' => 'Feroés',
'fr' => 'Francés',
'fy' => 'Frisón',
'ga' => 'Irlandés',
'gd' => 'Gaélico escocés',
'fo' => 'Feroés',
'fr' => 'Francés',
'fy' => 'Frisón',
'ga' => 'Irlandés',
'gd' => 'Gaélico escocés',
'gl' => 'Gallego',
'gn' => 'Guaraní',
'gn' => 'Guaraní',
'gu' => 'Gujarati',
'gv' => 'Gaélico manés',
'gv' => 'Gaélico manés',
'ha' => 'Hausa',
'he' => 'Hebreo',
'hi' => 'Hindi',
64,7 → 64,7
'ho' => 'Hiri motu',
'hr' => 'Croata',
'ht' => 'Haitiano',
'hu' => 'Húngaro',
'hu' => 'Húngaro',
'hy' => 'Armenio',
'hz' => 'Herero',
'ia' => 'Interlingua',
74,38 → 74,38
'ii' => 'Sichuan yi',
'ik' => 'Inupiak',
'io' => 'Ido',
'is' => 'Islandés',
'is' => 'Islandés',
'it' => 'Italiano',
'iu' => 'Inuktitut',
'ja' => 'Japonés',
'jv' => 'Javanés',
'ja' => 'Japonés',
'jv' => 'Javanés',
'ka' => 'Georgiano',
'kg' => 'Kongo',
'ki' => 'Kikuyu',
'kj' => 'Kuanyama',
'kk' => 'Kazajo',
'kl' => 'Groenlandés',
'kl' => 'Groenlandés',
'km' => 'Jemer',
'kn' => 'Canarés',
'kn' => 'Canarés',
'ko' => 'Coreano',
'kr' => 'Kanuri',
'ks' => 'Cachemiro',
'ku' => 'Kurdo',
'kv' => 'Komi',
'kw' => 'Córnico',
'kw' => 'Córnico',
'ky' => 'Kirghiz',
'la' => 'Latín',
'lb' => 'Luxemburgués',
'la' => 'Latín',
'lb' => 'Luxemburgués',
'lg' => 'Ganda',
'li' => 'Limburgués',
'li' => 'Limburgués',
'ln' => 'Lingala',
'lo' => 'Laosiano',
'lt' => 'Lituano',
'lu' => 'Luba-katanga',
'lv' => 'Letón',
'lv' => 'Letón',
'mg' => 'Malgache',
'mh' => 'Marshalés',
'mi' => 'Maorí',
'mh' => 'Marshalés',
'mi' => 'Maorí',
'mk' => 'Macedonio',
'ml' => 'Malayalam',
'mn' => 'Mongol',
112,29 → 112,29
'mo' => 'Moldavo',
'mr' => 'Marathi',
'ms' => 'Malayo',
'mt' => 'Maltés',
'mt' => 'Maltés',
'my' => 'Birmano',
'na' => 'Nauruano',
'nb' => 'Bokmal noruego',
'nd' => 'Ndebele septentrional',
'ne' => 'Nepalí',
'ne' => 'Nepalí',
'ng' => 'Ndonga',
'nl' => 'Holandés',
'nl' => 'Holandés',
'nn' => 'Nynorsk noruego',
'no' => 'Noruego',
'nr' => 'Ndebele meridional',
'nv' => 'Navajo',
'ny' => 'Nyanja',
'oc' => 'Occitano (después del 1500)',
'oc' => 'Occitano (después del 1500)',
'oj' => 'Ojibwa',
'om' => 'Oromo',
'or' => 'Oriya',
'os' => 'Osético',
'pa' => 'Punjabí',
'os' => 'Osético',
'pa' => 'Punjabí',
'pi' => 'Pali',
'pl' => 'Polaco',
'ps' => 'Pashto',
'pt' => 'Portugués',
'pt' => 'Portugués',
'qu' => 'Quechua',
'rm' => 'Reto-romance',
'rn' => 'Kiroundi',
141,29 → 141,29
'ro' => 'Rumano',
'ru' => 'Ruso',
'rw' => 'Kinyarwanda',
'sa' => 'Sánscrito',
'sa' => 'Sánscrito',
'sc' => 'Sardo',
'sd' => 'Sindhi',
'se' => 'Sami septentrional',
'sg' => 'Sango',
'sh' => 'Serbo-croata',
'si' => 'Singalés',
'si' => 'Singalés',
'sk' => 'Eslovaco',
'sl' => 'Esloveno',
'sm' => 'Samoano',
'sn' => 'Shona',
'so' => 'Somalí',
'sq' => 'Albanés',
'so' => 'Somalí',
'sq' => 'Albanés',
'sr' => 'Serbio',
'ss' => 'Siswati',
'st' => 'Sesotho',
'su' => 'Sundanés',
'su' => 'Sundanés',
'sv' => 'Sueco',
'sw' => 'Swahili',
'ta' => 'Tamil',
'te' => 'Telugu',
'tg' => 'Tayiko',
'th' => 'Tailandés',
'th' => 'Tailandés',
'ti' => 'Tigrinya',
'tk' => 'Turkmeno',
'tl' => 'Tagalo',
181,7 → 181,7
've' => 'Venda',
'vi' => 'Vietnamita',
'vo' => 'Volapuk',
'wa' => 'Valón',
'wa' => 'Valón',
'wo' => 'Uolof',
'xh' => 'Xhosa',
'yi' => 'Yidish',
188,6 → 188,6
'yo' => 'Yoruba',
'za' => 'Zhuang',
'zh' => 'Chino',
'zu' => 'Zulú',
'zu' => 'Zulú',
);
?>
/trunk/api/pear/I18Nv2/Language/mk.php
115,7 → 115,7
'mt' => 'Maltese',
'my' => 'Burmese',
'na' => 'Nauru',
'nb' => 'Norwegian Bokmål',
'nb' => 'Norwegian Bokmål',
'nd' => 'North Ndebele',
'ne' => 'Nepali',
'ng' => 'Ndonga',
125,7 → 125,7
'nr' => 'South Ndebele',
'nv' => 'Navajo',
'ny' => 'Nyanja; Chichewa; Chewa',
'oc' => 'Occitan (post 1500); Provençal',
'oc' => 'Occitan (post 1500); Provençal',
'oj' => 'Ojibwa',
'om' => 'Oromo',
'or' => 'Oriya',
180,7 → 180,7
'uz' => 'Uzbek',
've' => 'Venda',
'vi' => 'Vietnamese',
'vo' => 'Volapük',
'vo' => 'Volapük',
'wa' => 'Walloon',
'wo' => 'Wolof',
'xh' => 'Xhosa',
/trunk/api/pear/I18Nv2/Language/et.php
102,7 → 102,7
'lo' => 'Lao',
'lt' => 'Leedu',
'lu' => 'Luba-Katanga',
'lv' => 'Läti',
'lv' => 'Läti',
'mg' => 'Malagasy',
'mh' => 'Marshallese',
'mi' => 'Maori',
115,7 → 115,7
'mt' => 'Maltese',
'my' => 'Burmese',
'na' => 'Nauru',
'nb' => 'Norwegian Bokmål',
'nb' => 'Norwegian Bokmål',
'nd' => 'North Ndebele',
'ne' => 'Nepali',
'ng' => 'Ndonga',
125,7 → 125,7
'nr' => 'South Ndebele',
'nv' => 'Navajo',
'ny' => 'Nyanja; Chichewa; Chewa',
'oc' => 'Occitan (post 1500); Provençal',
'oc' => 'Occitan (post 1500); Provençal',
'oj' => 'Ojibwa',
'om' => 'Oromo',
'or' => 'Oriya',
169,7 → 169,7
'tl' => 'Tagalog',
'tn' => 'Tswana',
'to' => 'Tonga (Tonga Islands)',
'tr' => 'Türgi',
'tr' => 'Türgi',
'ts' => 'Tsonga',
'tt' => 'Tatar',
'tw' => 'Twi',
180,7 → 180,7
'uz' => 'Uzbek',
've' => 'Venda',
'vi' => 'Vietnamese',
'vo' => 'Volapük',
'vo' => 'Volapük',
'wa' => 'Walloon',
'wo' => 'Wolof',
'xh' => 'Xhosa',
/trunk/api/pear/I18Nv2/Language/ml.php
115,7 → 115,7
'mt' => 'Maltese',
'my' => 'Burmese',
'na' => 'Nauru',
'nb' => 'Norwegian Bokmål',
'nb' => 'Norwegian Bokmål',
'nd' => 'North Ndebele',
'ne' => 'Nepali',
'ng' => 'Ndonga',
125,7 → 125,7
'nr' => 'South Ndebele',
'nv' => 'Navajo',
'ny' => 'Nyanja; Chichewa; Chewa',
'oc' => 'Occitan (post 1500); Provençal',
'oc' => 'Occitan (post 1500); Provençal',
'oj' => 'Ojibwa',
'om' => 'Oromo',
'or' => 'Oriya',
180,7 → 180,7
'uz' => 'Uzbek',
've' => 'Venda',
'vi' => 'Vietnamese',
'vo' => 'Volapük',
'vo' => 'Volapük',
'wa' => 'Walloon',
'wo' => 'Wolof',
'xh' => 'Xhosa',
/trunk/api/pear/I18Nv2/Language/eu.php
115,7 → 115,7
'mt' => 'Maltese',
'my' => 'Burmese',
'na' => 'Nauru',
'nb' => 'Norwegian Bokmål',
'nb' => 'Norwegian Bokmål',
'nd' => 'North Ndebele',
'ne' => 'Nepali',
'ng' => 'Ndonga',
125,7 → 125,7
'nr' => 'South Ndebele',
'nv' => 'Navajo',
'ny' => 'Nyanja; Chichewa; Chewa',
'oc' => 'Occitan (post 1500); Provençal',
'oc' => 'Occitan (post 1500); Provençal',
'oj' => 'Ojibwa',
'om' => 'Oromo',
'or' => 'Oriya',
180,7 → 180,7
'uz' => 'Uzbek',
've' => 'Venda',
'vi' => 'Vietnamese',
'vo' => 'Volapük',
'vo' => 'Volapük',
'wa' => 'Walloon',
'wo' => 'Wolof',
'xh' => 'Xhosa',
/trunk/api/pear/I18Nv2/Language/az.php
115,7 → 115,7
'mt' => 'Maltese',
'my' => 'Burmese',
'na' => 'Nauru',
'nb' => 'Norwegian Bokmål',
'nb' => 'Norwegian Bokmål',
'nd' => 'North Ndebele',
'ne' => 'Nepali',
'ng' => 'Ndonga',
125,7 → 125,7
'nr' => 'South Ndebele',
'nv' => 'Navajo',
'ny' => 'Nyanja; Chichewa; Chewa',
'oc' => 'Occitan (post 1500); Provençal',
'oc' => 'Occitan (post 1500); Provençal',
'oj' => 'Ojibwa',
'om' => 'Oromo',
'or' => 'Oriya',
180,7 → 180,7
'uz' => 'Uzbek',
've' => 'Venda',
'vi' => 'Vietnamese',
'vo' => 'Volapük',
'vo' => 'Volapük',
'wa' => 'Walloon',
'wo' => 'Wolof',
'xh' => 'Xhosa',
/trunk/api/pear/I18Nv2/Language/mn.php
115,7 → 115,7
'mt' => 'Maltese',
'my' => 'Burmese',
'na' => 'Nauru',
'nb' => 'Norwegian Bokmål',
'nb' => 'Norwegian Bokmål',
'nd' => 'North Ndebele',
'ne' => 'Nepali',
'ng' => 'Ndonga',
125,7 → 125,7
'nr' => 'South Ndebele',
'nv' => 'Navajo',
'ny' => 'Nyanja; Chichewa; Chewa',
'oc' => 'Occitan (post 1500); Provençal',
'oc' => 'Occitan (post 1500); Provençal',
'oj' => 'Ojibwa',
'om' => 'Oromo',
'or' => 'Oriya',
180,7 → 180,7
'uz' => 'Uzbek',
've' => 'Venda',
'vi' => 'Vietnamese',
'vo' => 'Volapük',
'vo' => 'Volapük',
'wa' => 'Walloon',
'wo' => 'Wolof',
'xh' => 'Xhosa',
/trunk/api/pear/I18Nv2/Language/is.php
4,190 → 4,190
*/
$this->codes = array(
'aa' => 'Afar',
'ab' => 'Abkasíska',
'ae' => 'Avestíska',
'af' => 'Afríkanska',
'ab' => 'Abkasíska',
'ae' => 'Avestíska',
'af' => 'Afríkanska',
'ak' => 'Akan',
'am' => 'Amharíska',
'am' => 'Amharíska',
'an' => 'Aragonska',
'ar' => 'Arabíska',
'ar' => 'Arabíska',
'as' => 'Assamska',
'av' => 'Avaríska',
'ay' => 'Aímara',
'av' => 'Avaríska',
'ay' => 'Aímara',
'az' => 'Aserska',
'ba' => 'Baskír',
'be' => 'Hvítrússneska',
'bg' => 'Búlgarska',
'bh' => 'Bíharí',
'bi' => 'Bíslama',
'ba' => 'Baskír',
'be' => 'Hvítrússneska',
'bg' => 'Búlgarska',
'bh' => 'Bíharí',
'bi' => 'Bíslama',
'bm' => 'Bambara',
'bn' => 'Bengalska',
'bo' => 'Tíbeska',
'br' => 'Bretónska',
'bs' => 'Bosníska',
'ca' => 'Katalónska',
'bo' => 'Tíbeska',
'br' => 'Bretónska',
'bs' => 'Bosníska',
'ca' => 'Katalónska',
'ce' => 'Tsjetsjenska',
'ch' => 'Kamorró',
'co' => 'Korsíska',
'cr' => 'Krí',
'cs' => 'Tékkneska',
'ch' => 'Kamorró',
'co' => 'Korsíska',
'cr' => 'Krí',
'cs' => 'Tékkneska',
'cu' => 'Kirkjuslavneska',
'cv' => 'Sjúvas',
'cv' => 'Sjúvas',
'cy' => 'Velska',
'da' => 'Danska',
'de' => 'Þýska',
'dv' => 'Dívehí',
'de' => 'Þýska',
'dv' => 'Dívehí',
'dz' => 'Dsongka',
'ee' => 'Eve',
'el' => 'Nýgríska (1453-)',
'el' => 'Nýgríska (1453-)',
'en' => 'Enska',
'eo' => 'Esperantó',
'es' => 'Spænska',
'eo' => 'Esperantó',
'es' => 'Spænska',
'et' => 'Eistneska',
'eu' => 'Baskneska',
'fa' => 'Persneska',
'ff' => 'Fúla',
'ff' => 'Fúla',
'fi' => 'Finnska',
'fj' => 'Fídjeyska',
'fo' => 'Færeyska',
'fj' => 'Fídjeyska',
'fo' => 'Færeyska',
'fr' => 'Franska',
'fy' => 'Frísneska',
'ga' => 'Írska',
'gd' => 'Skosk gelíska',
'fy' => 'Frísneska',
'ga' => 'Írska',
'gd' => 'Skosk gelíska',
'gl' => 'Gallegska',
'gn' => 'Gvaraní',
'gu' => 'Gújaratí',
'gn' => 'Gvaraní',
'gu' => 'Gújaratí',
'gv' => 'Manx',
'ha' => 'Hása',
'ha' => 'Hása',
'he' => 'Hebreska',
'hi' => 'Hindí',
'ho' => 'Hírímótú',
'hr' => 'Króatíska',
'ht' => 'Haítíska',
'hi' => 'Hindí',
'ho' => 'Hírímótú',
'hr' => 'Króatíska',
'ht' => 'Haítíska',
'hu' => 'Ungverska',
'hy' => 'Armenska',
'hz' => 'Hereró',
'hz' => 'Hereró',
'ia' => 'Interlingva',
'id' => 'Indónesíska',
'id' => 'Indónesíska',
'ie' => 'Interlingva',
'ig' => 'Ígbó',
'ii' => 'Sísúanjí',
'ik' => 'Ínúpíak',
'io' => 'Ídó',
'is' => 'Íslenska',
'it' => 'Ítalska',
'iu' => 'Inúktitút',
'ig' => 'Ígbó',
'ii' => 'Sísúanjí',
'ik' => 'Ínúpíak',
'io' => 'Ídó',
'is' => 'Íslenska',
'it' => 'Ítalska',
'iu' => 'Inúktitút',
'ja' => 'Japanska',
'jv' => 'Javanska',
'ka' => 'Georgíska',
'kg' => 'Kongó',
'ki' => 'Kíkújú',
'kj' => 'Kúanjama',
'ka' => 'Georgíska',
'kg' => 'Kongó',
'ki' => 'Kíkújú',
'kj' => 'Kúanjama',
'kk' => 'Kasakska',
'kl' => 'Grænlenska',
'kl' => 'Grænlenska',
'km' => 'Kmer',
'kn' => 'Kannada',
'ko' => 'Kóreska',
'kr' => 'Kanúrí',
'ks' => 'Kasmírska',
'ku' => 'Kúrdneska',
'kv' => 'Komíska',
'kw' => 'Korníska',
'ko' => 'Kóreska',
'kr' => 'Kanúrí',
'ks' => 'Kasmírska',
'ku' => 'Kúrdneska',
'kv' => 'Komíska',
'kw' => 'Korníska',
'ky' => 'Kirgiska',
'la' => 'Latína',
'lb' => 'Lúxemborgíska',
'la' => 'Latína',
'lb' => 'Lúxemborgíska',
'lg' => 'Ganda',
'li' => 'Limbúrgíska',
'li' => 'Limbúrgíska',
'ln' => 'Lingala',
'lo' => 'Laó',
'lt' => 'Litháíska',
'lu' => 'Lúbakatanga',
'lo' => 'Laó',
'lt' => 'Litháíska',
'lu' => 'Lúbakatanga',
'lv' => 'Lettneska',
'mg' => 'Malagasíska',
'mg' => 'Malagasíska',
'mh' => 'Marshallska',
'mi' => 'Maórí',
'mk' => 'Makedónska',
'mi' => 'Maórí',
'mk' => 'Makedónska',
'ml' => 'Malajalam',
'mn' => 'Mongólska',
'mo' => 'Moldóvska',
'mr' => 'Maratí',
'ms' => 'Malaíska',
'mn' => 'Mongólska',
'mo' => 'Moldóvska',
'mr' => 'Maratí',
'ms' => 'Malaíska',
'mt' => 'Maltneska',
'my' => 'Burmneska',
'na' => 'Nárúska',
'nb' => 'Norskt bókmál',
'nd' => 'Norðurndebele',
'na' => 'Nárúska',
'nb' => 'Norskt bókmál',
'nd' => 'Norðurndebele',
'ne' => 'Nepalska',
'ng' => 'Ndonga',
'nl' => 'Hollenska',
'nn' => 'Nýnorska',
'nn' => 'Nýnorska',
'no' => 'Norska',
'nr' => 'Suðurndebele',
'nv' => 'Navahó',
'ny' => 'Njanja; Sísjeva; Sjeva',
'oc' => 'Okkitíska (eftir 1500); Próvensalska',
'nr' => 'Suðurndebele',
'nv' => 'Navahó',
'ny' => 'Njanja; Sísjeva; Sjeva',
'oc' => 'Okkitíska (eftir 1500); Próvensalska',
'oj' => 'Ojibva',
'om' => 'Órómó',
'or' => 'Óría',
'os' => 'Ossetíska',
'pa' => 'Púnjabí',
'pi' => 'Palí',
'pl' => 'Pólska',
'ps' => 'Pastú',
'pt' => 'Portúgalska',
'qu' => 'Kvesjúa',
'rm' => 'Retórómanska',
'rn' => 'Rúndí',
'ro' => 'Rúmenska',
'ru' => 'Rússneska',
'rw' => 'Kínjarvanda',
'sa' => 'Sanskrít',
'sc' => 'Sardínska',
'sd' => 'Sindí',
'se' => 'Norðursamíska',
'sg' => 'Sangó',
'sh' => 'Serbókróatíska',
'si' => 'Singalesíska',
'sk' => 'Slóvakíska',
'sl' => 'Slóvenska',
'sm' => 'Samóska',
'sn' => 'Sínótíbesk mál (önnur)',
'so' => 'Sómalska',
'om' => 'Órómó',
'or' => 'Óría',
'os' => 'Ossetíska',
'pa' => 'Púnjabí',
'pi' => 'Palí',
'pl' => 'Pólska',
'ps' => 'Pastú',
'pt' => 'Portúgalska',
'qu' => 'Kvesjúa',
'rm' => 'Retórómanska',
'rn' => 'Rúndí',
'ro' => 'Rúmenska',
'ru' => 'Rússneska',
'rw' => 'Kínjarvanda',
'sa' => 'Sanskrít',
'sc' => 'Sardínska',
'sd' => 'Sindí',
'se' => 'Norðursamíska',
'sg' => 'Sangó',
'sh' => 'Serbókróatíska',
'si' => 'Singalesíska',
'sk' => 'Slóvakíska',
'sl' => 'Slóvenska',
'sm' => 'Samóska',
'sn' => 'Sínótíbesk mál (önnur)',
'so' => 'Sómalska',
'sq' => 'Albanska',
'sr' => 'Serbneska',
'ss' => 'Svatí',
'st' => 'Suðursótó',
'su' => 'Súndanska',
'sv' => 'Sænska',
'sw' => 'Svahílí',
'ta' => 'Tamílska',
'te' => 'Telúgú',
'ss' => 'Svatí',
'st' => 'Suðursótó',
'su' => 'Súndanska',
'sv' => 'Sænska',
'sw' => 'Svahílí',
'ta' => 'Tamílska',
'te' => 'Telúgú',
'tg' => 'Tadsjikska',
'th' => 'Taílenska',
'ti' => 'Tígrinja',
'tk' => 'Túrkmenska',
'th' => 'Taílenska',
'ti' => 'Tígrinja',
'tk' => 'Túrkmenska',
'tl' => 'Tagalog',
'tn' => 'Tsúana',
'tn' => 'Tsúana',
'to' => 'Tongverska',
'tr' => 'Tyrkneska',
'ts' => 'Tsonga',
'tt' => 'Tatarska',
'tw' => 'Tví',
'ty' => 'Tahítíska',
'ug' => 'Úígúr',
'uk' => 'Úkraínska',
'ur' => 'Úrdú',
'uz' => 'Úsbekska',
'tw' => 'Tví',
'ty' => 'Tahítíska',
'ug' => 'Úígúr',
'uk' => 'Úkraínska',
'ur' => 'Úrdú',
'uz' => 'Úsbekska',
've' => 'Venda',
'vi' => 'Víetnamska',
'vo' => 'Volapük',
'wa' => 'Vallónska',
'vi' => 'Víetnamska',
'vo' => 'Volapük',
'wa' => 'Vallónska',
'wo' => 'Volof',
'xh' => 'Sósa',
'yi' => 'Jiddíska',
'yo' => 'Jórúba',
'za' => 'Súang',
'zh' => 'Kínverska',
'zu' => 'Súlú',
'xh' => 'Sósa',
'yi' => 'Jiddíska',
'yo' => 'Jórúba',
'za' => 'Súang',
'zh' => 'Kínverska',
'zu' => 'Súlú',
);
?>
/trunk/api/pear/I18Nv2/Language/it.php
115,7 → 115,7
'mt' => 'Maltese',
'my' => 'Birmano',
'na' => 'Nauru',
'nb' => 'Norvegese bokmål',
'nb' => 'Norvegese bokmål',
'nd' => 'Ndebele del nord',
'ne' => 'Nepalese',
'ng' => 'Ndonga',
180,7 → 180,7
'uz' => 'Usbeco',
've' => 'Venda',
'vi' => 'Vietnamita',
'vo' => 'Volapük',
'vo' => 'Volapük',
'wa' => 'Vallone',
'wo' => 'Volof',
'xh' => 'Xosa',
/trunk/api/pear/I18Nv2/Language/iu.php
115,7 → 115,7
'mt' => 'Maltese',
'my' => 'Burmese',
'na' => 'Nauru',
'nb' => 'Norwegian Bokmål',
'nb' => 'Norwegian Bokmål',
'nd' => 'North Ndebele',
'ne' => 'Nepali',
'ng' => 'Ndonga',
125,7 → 125,7
'nr' => 'South Ndebele',
'nv' => 'Navajo',
'ny' => 'Nyanja; Chichewa; Chewa',
'oc' => 'Occitan (post 1500); Provençal',
'oc' => 'Occitan (post 1500); Provençal',
'oj' => 'Ojibwa',
'om' => 'Oromo',
'or' => 'Oriya',
180,7 → 180,7
'uz' => 'Uzbek',
've' => 'Venda',
'vi' => 'Vietnamese',
'vo' => 'Volapük',
'vo' => 'Volapük',
'wa' => 'Walloon',
'wo' => 'Wolof',
'xh' => 'Xhosa',
/trunk/api/pear/I18Nv2/Language/mr.php
115,7 → 115,7
'mt' => 'मालतीस्',
'my' => 'बर्मीस्',
'na' => 'नौरो',
'nb' => 'Norwegian Bokmål',
'nb' => 'Norwegian Bokmål',
'nd' => 'North Ndebele',
'ne' => 'नेपाली',
'ng' => 'Ndonga',
/trunk/api/pear/I18Nv2/Language/ms.php
115,7 → 115,7
'mt' => 'Maltese',
'my' => 'Burmese',
'na' => 'Nauru',
'nb' => 'Norwegian Bokmål',
'nb' => 'Norwegian Bokmål',
'nd' => 'North Ndebele',
'ne' => 'Nepali',
'ng' => 'Ndonga',
125,7 → 125,7
'nr' => 'South Ndebele',
'nv' => 'Navajo',
'ny' => 'Nyanja; Chichewa; Chewa',
'oc' => 'Occitan (post 1500); Provençal',
'oc' => 'Occitan (post 1500); Provençal',
'oj' => 'Ojibwa',
'om' => 'Oromo',
'or' => 'Oriya',
180,7 → 180,7
'uz' => 'Uzbek',
've' => 'Venda',
'vi' => 'Vietnamese',
'vo' => 'Volapük',
'vo' => 'Volapük',
'wa' => 'Walloon',
'wo' => 'Wolof',
'xh' => 'Xhosa',
/trunk/api/pear/I18Nv2/Language/uk.php
115,7 → 115,7
'mt' => 'Мальтійська',
'my' => 'Бірманська',
'na' => 'Науру',
'nb' => 'Norwegian Bokmål',
'nb' => 'Norwegian Bokmål',
'nd' => 'North Ndebele',
'ne' => 'Непальська',
'ng' => 'Ndonga',
/trunk/api/pear/I18Nv2/Language/be.php
115,7 → 115,7
'mt' => 'Maltese',
'my' => 'Burmese',
'na' => 'Nauru',
'nb' => 'Norwegian Bokmål',
'nb' => 'Norwegian Bokmål',
'nd' => 'North Ndebele',
'ne' => 'Nepali',
'ng' => 'Ndonga',
125,7 → 125,7
'nr' => 'South Ndebele',
'nv' => 'Navajo',
'ny' => 'Nyanja; Chichewa; Chewa',
'oc' => 'Occitan (post 1500); Provençal',
'oc' => 'Occitan (post 1500); Provençal',
'oj' => 'Ojibwa',
'om' => 'Oromo',
'or' => 'Oriya',
180,7 → 180,7
'uz' => 'Uzbek',
've' => 'Venda',
'vi' => 'Vietnamese',
'vo' => 'Volapük',
'vo' => 'Volapük',
'wa' => 'Walloon',
'wo' => 'Wolof',
'xh' => 'Xhosa',
/trunk/api/pear/I18Nv2/Language/fa.php
125,7 → 125,7
'nr' => 'انده‌بله‌ای جنوبی',
'nv' => 'ناواهویی',
'ny' => 'نیانجایی؛ چوایی',
'oc' => 'Occitan (post 1500); Provençal',
'oc' => 'Occitan (post 1500); Provençal',
'oj' => 'اوجیبوایی',
'om' => 'Oromo',
'or' => 'اوریه‌ای',
/trunk/api/pear/I18Nv2/Language/ur.php
115,7 → 115,7
'mt' => 'Maltese',
'my' => 'Burmese',
'na' => 'Nauru',
'nb' => 'Norwegian Bokmål',
'nb' => 'Norwegian Bokmål',
'nd' => 'North Ndebele',
'ne' => 'Nepali',
'ng' => 'Ndonga',
125,7 → 125,7
'nr' => 'South Ndebele',
'nv' => 'Navajo',
'ny' => 'Nyanja; Chichewa; Chewa',
'oc' => 'Occitan (post 1500); Provençal',
'oc' => 'Occitan (post 1500); Provençal',
'oj' => 'Ojibwa',
'om' => 'Oromo',
'or' => 'Oriya',
180,7 → 180,7
'uz' => 'Uzbek',
've' => 'Venda',
'vi' => 'Vietnamese',
'vo' => 'Volapük',
'vo' => 'Volapük',
'wa' => 'Walloon',
'wo' => 'Wolof',
'xh' => 'Xhosa',
/trunk/api/pear/I18Nv2/Language/bg.php
115,7 → 115,7
'mt' => 'Малтийски',
'my' => 'Бирмански',
'na' => 'Nauru',
'nb' => 'Norwegian Bokmål',
'nb' => 'Norwegian Bokmål',
'nd' => 'North Ndebele',
'ne' => 'Непалски',
'ng' => 'Ndonga',
125,7 → 125,7
'nr' => 'South Ndebele',
'nv' => 'Navajo',
'ny' => 'Чинянджа',
'oc' => 'Occitan (post 1500); Provençal',
'oc' => 'Occitan (post 1500); Provençal',
'oj' => 'Ojibwa',
'om' => 'Oromo',
'or' => 'Oriya',
180,7 → 180,7
'uz' => 'Узбекски',
've' => 'Venda',
'vi' => 'Виетнамски',
'vo' => 'Volapük',
'vo' => 'Volapük',
'wa' => 'Walloon',
'wo' => 'Wolof',
'xh' => 'Xhosa',
/trunk/api/pear/I18Nv2/Language/fi.php
16,7 → 16,7
'ay' => 'Aymara',
'az' => 'Azeri',
'ba' => 'Baski',
'be' => 'Valkovenäjä',
'be' => 'Valkovenäjä',
'bg' => 'Bulgaria',
'bh' => 'Bihari',
'bi' => 'Bislama',
49,7 → 49,7
'ff' => 'Fulani',
'fi' => 'Suomi',
'fj' => 'Fidži',
'fo' => 'Fääri',
'fo' => 'Fääri',
'fr' => 'Ranska',
'fy' => 'Friisi',
'ga' => 'Iiri',
72,7 → 72,7
'ie' => 'Interlingue',
'ig' => 'Igbo',
'ii' => 'Sichuanin-yi',
'ik' => 'Iñupiak',
'ik' => 'Iñupiak',
'io' => 'Ido',
'is' => 'Islanti',
'it' => 'Italia',
84,7 → 84,7
'ki' => 'Kikuju',
'kj' => 'Kwanyama',
'kk' => 'Kazakki',
'kl' => 'Kalaallisut; grönlanti',
'kl' => 'Kalaallisut; grönlanti',
'km' => 'Khmer',
'kn' => 'Kannada',
'ko' => 'Korea',
115,7 → 115,7
'mt' => 'Malta',
'my' => 'Burma',
'na' => 'Nauru',
'nb' => 'Norja (bokmål)',
'nb' => 'Norja (bokmål)',
'nd' => 'Ndebele, pohjois-',
'ne' => 'Nepali',
'ng' => 'Ndonga',
122,7 → 122,7
'nl' => 'Hollanti',
'nn' => 'Norja (nynorsk)',
'no' => 'Norja',
'nr' => 'Ndebele, etelä-',
'nr' => 'Ndebele, etelä-',
'nv' => 'Navajo',
'ny' => 'Nyanja',
'oc' => 'Oksitaani',
139,7 → 139,7
'rm' => 'Retoromaani',
'rn' => 'Rundi',
'ro' => 'Romania',
'ru' => 'Venäjä',
'ru' => 'Venäjä',
'rw' => 'Ruanda',
'sa' => 'Sanskrit',
'sc' => 'Sardi',
156,7 → 156,7
'sq' => 'Albania',
'sr' => 'Serbia',
'ss' => 'Swazi',
'st' => 'Sotho, etelä-',
'st' => 'Sotho, etelä-',
'su' => 'Sunda',
'sv' => 'Ruotsi',
'sw' => 'Swahili',
180,7 → 180,7
'uz' => 'Uzbekki',
've' => 'Venda',
'vi' => 'Vietnam',
'vo' => 'Volapük',
'vo' => 'Volapük',
'wa' => 'Valloni',
'wo' => 'Wolof',
'xh' => 'Xhosa',
/trunk/api/pear/I18Nv2/Language/uz.php
115,7 → 115,7
'mt' => 'Maltese',
'my' => 'Burmese',
'na' => 'Nauru',
'nb' => 'Norwegian Bokmål',
'nb' => 'Norwegian Bokmål',
'nd' => 'North Ndebele',
'ne' => 'Nepali',
'ng' => 'Ndonga',
125,7 → 125,7
'nr' => 'South Ndebele',
'nv' => 'Navajo',
'ny' => 'Nyanja; Chichewa; Chewa',
'oc' => 'Occitan (post 1500); Provençal',
'oc' => 'Occitan (post 1500); Provençal',
'oj' => 'Ojibwa',
'om' => 'Oromo',
'or' => 'Oriya',
180,7 → 180,7
'uz' => 'Ўзбек',
've' => 'Venda',
'vi' => 'Vietnamese',
'vo' => 'Volapük',
'vo' => 'Volapük',
'wa' => 'Walloon',
'wo' => 'Wolof',
'xh' => 'Xhosa',
/trunk/api/pear/I18Nv2/Language/nb.php
49,11 → 49,11
'ff' => 'Fulani',
'fi' => 'Finsk',
'fj' => 'Fijiansk',
'fo' => 'Færøysk',
'fo' => 'Færøysk',
'fr' => 'Fransk',
'fy' => 'Frisisk',
'ga' => 'Irsk',
'gd' => 'Skotsk gælisk',
'gd' => 'Skotsk gælisk',
'gl' => 'Galicisk',
'gn' => 'Guarani',
'gu' => 'Gujarati',
115,7 → 115,7
'mt' => 'Maltesisk',
'my' => 'Burmesisk',
'na' => 'Nauru',
'nb' => 'Norsk bokmål',
'nb' => 'Norsk bokmål',
'nd' => 'Ndebele (nord)',
'ne' => 'Nepalsk',
'ng' => 'Ndonga',
122,7 → 122,7
'nl' => 'Nederlandsk',
'nn' => 'Norsk nynorsk',
'no' => 'Norsk',
'nr' => 'Ndebele, sør',
'nr' => 'Ndebele, sør',
'nv' => 'Navajo',
'ny' => 'Nyanja',
'oc' => 'Oksitansk (etter 1500)',
156,7 → 156,7
'sq' => 'Albansk',
'sr' => 'Serbisk',
'ss' => 'Swati',
'st' => 'Sotho (sørlig)',
'st' => 'Sotho (sørlig)',
'su' => 'Sundanesisk',
'sv' => 'Svensk',
'sw' => 'Swahili',
168,7 → 168,7
'tk' => 'Turkmensk',
'tl' => 'Tagalog',
'tn' => 'Tswana',
'to' => 'Tonga (Tonga-øyene)',
'to' => 'Tonga (Tonga-øyene)',
'tr' => 'Tyrkisk',
'ts' => 'Tsonga',
'tt' => 'Tatarisk',
/trunk/api/pear/I18Nv2/Language/bn.php
115,7 → 115,7
'mt' => 'Maltese',
'my' => 'Burmese',
'na' => 'Nauru',
'nb' => 'Norwegian Bokmål',
'nb' => 'Norwegian Bokmål',
'nd' => 'North Ndebele',
'ne' => 'Nepali',
'ng' => 'Ndonga',
125,7 → 125,7
'nr' => 'South Ndebele',
'nv' => 'Navajo',
'ny' => 'Nyanja; Chichewa; Chewa',
'oc' => 'Occitan (post 1500); Provençal',
'oc' => 'Occitan (post 1500); Provençal',
'oj' => 'Ojibwa',
'om' => 'Oromo',
'or' => 'Oriya',
180,7 → 180,7
'uz' => 'Uzbek',
've' => 'Venda',
'vi' => 'Vietnamese',
'vo' => 'Volapük',
'vo' => 'Volapük',
'wa' => 'Walloon',
'wo' => 'Wolof',
'xh' => 'Xhosa',
/trunk/api/pear/I18Nv2/Language/fo.php
49,7 → 49,7
'ff' => 'Fulah',
'fi' => 'Finnish',
'fj' => 'Fijian',
'fo' => 'Føroyskt',
'fo' => 'Føroyskt',
'fr' => 'French',
'fy' => 'Frisian',
'ga' => 'Irish',
115,7 → 115,7
'mt' => 'Maltese',
'my' => 'Burmese',
'na' => 'Nauru',
'nb' => 'Norwegian Bokmål',
'nb' => 'Norwegian Bokmål',
'nd' => 'North Ndebele',
'ne' => 'Nepali',
'ng' => 'Ndonga',
125,7 → 125,7
'nr' => 'South Ndebele',
'nv' => 'Navajo',
'ny' => 'Nyanja; Chichewa; Chewa',
'oc' => 'Occitan (post 1500); Provençal',
'oc' => 'Occitan (post 1500); Provençal',
'oj' => 'Ojibwa',
'om' => 'Oromo',
'or' => 'Oriya',
180,7 → 180,7
'uz' => 'Uzbek',
've' => 'Venda',
'vi' => 'Vietnamese',
'vo' => 'Volapük',
'vo' => 'Volapük',
'wa' => 'Walloon',
'wo' => 'Wolof',
'xh' => 'Xhosa',
/trunk/api/pear/I18Nv2/Language/fr.php
14,24 → 14,24
'as' => 'Assamais',
'av' => 'Avar',
'ay' => 'Aymara',
'az' => 'Azéri',
'az' => 'Azéri',
'ba' => 'Bachkir',
'be' => 'Biélorusse',
'be' => 'Biélorusse',
'bg' => 'Bulgare',
'bh' => 'Bihari',
'bi' => 'Bichlamar',
'bm' => 'Bambara',
'bn' => 'Bengali',
'bo' => 'Tibétain',
'bo' => 'Tibétain',
'br' => 'Breton',
'bs' => 'Bosniaque',
'ca' => 'Catalan',
'ce' => 'Tchétchène',
'ce' => 'Tchétchène',
'ch' => 'Chamorro',
'co' => 'Corse',
'cr' => 'Cree',
'cs' => 'Tchèque',
'cu' => 'Slavon d’église',
'cs' => 'Tchèque',
'cu' => 'Slavon d’église',
'cv' => 'Tchouvache',
'cy' => 'Gallois',
'da' => 'Danois',
38,10 → 38,10
'de' => 'Allemand',
'dv' => 'Maldivien',
'dz' => 'Dzongkha',
'ee' => 'Éwé',
'ee' => 'Éwé',
'el' => 'Grec',
'en' => 'Anglais',
'eo' => 'Espéranto',
'eo' => 'Espéranto',
'es' => 'Espagnol',
'et' => 'Estonien',
'eu' => 'Basque',
49,26 → 49,26
'ff' => 'Peul',
'fi' => 'Finnois',
'fj' => 'Fidjien',
'fo' => 'Féroïen',
'fr' => 'Français',
'fo' => 'Féroïen',
'fr' => 'Français',
'fy' => 'Frison',
'ga' => 'Irlandais',
'gd' => 'Gaélique écossais',
'gd' => 'Gaélique écossais',
'gl' => 'Galicien',
'gn' => 'Guarani',
'gu' => 'Goudjrati',
'gv' => 'Manx',
'ha' => 'Haoussa',
'he' => 'Hébreu',
'he' => 'Hébreu',
'hi' => 'Hindi',
'ho' => 'Hiri motu',
'hr' => 'Croate',
'ht' => 'Haïtien',
'ht' => 'Haïtien',
'hu' => 'Hongrois',
'hy' => 'Arménien',
'hz' => 'Héréro',
'hy' => 'Arménien',
'hz' => 'Héréro',
'ia' => 'Interlingua',
'id' => 'Indonésien',
'id' => 'Indonésien',
'ie' => 'Interlingue',
'ig' => 'Igbo',
'ii' => 'Yi de Sichuan',
79,7 → 79,7
'iu' => 'Inuktitut',
'ja' => 'Japonais',
'jv' => 'Javanais',
'ka' => 'Géorgien',
'ka' => 'Géorgien',
'kg' => 'Kongo',
'ki' => 'Kikuyu',
'kj' => 'Kuanyama',
87,7 → 87,7
'kl' => 'Groenlandais',
'km' => 'Khmer',
'kn' => 'Kannada',
'ko' => 'Coréen',
'ko' => 'Coréen',
'kr' => 'Kanouri',
'ks' => 'Kashmiri',
'ku' => 'Kurde',
106,7 → 106,7
'mg' => 'Malgache',
'mh' => 'Marshall',
'mi' => 'Maori',
'mk' => 'Macédonien',
'mk' => 'Macédonien',
'ml' => 'Malayalam',
'mn' => 'Mongol',
'mo' => 'Moldave',
115,21 → 115,21
'mt' => 'Maltais',
'my' => 'Birman',
'na' => 'Nauruan',
'nb' => 'Bokmål norvégien',
'nd' => 'Ndébélé du Nord',
'ne' => 'Népalais',
'nb' => 'Bokmål norvégien',
'nd' => 'Ndébélé du Nord',
'ne' => 'Népalais',
'ng' => 'Ndonga',
'nl' => 'Néerlandais',
'nn' => 'Nynorsk norvégien',
'no' => 'Norvégien',
'nr' => 'Ndébélé du Sud',
'nl' => 'Néerlandais',
'nn' => 'Nynorsk norvégien',
'no' => 'Norvégien',
'nr' => 'Ndébélé du Sud',
'nv' => 'Navaho',
'ny' => 'Nyanja',
'oc' => 'Occitan (après 1500)',
'oc' => 'Occitan (après 1500)',
'oj' => 'Ojibwa',
'om' => 'Galla',
'or' => 'Oriya',
'os' => 'Ossète',
'os' => 'Ossète',
'pa' => 'Pendjabi',
'pi' => 'Pali',
'pl' => 'Polonais',
136,7 → 136,7
'ps' => 'Pachto',
'pt' => 'Portugais',
'qu' => 'Quechua',
'rm' => 'Rhéto-roman',
'rm' => 'Rhéto-roman',
'rn' => 'Roundi',
'ro' => 'Roumain',
'ru' => 'Russe',
149,7 → 149,7
'sh' => 'Serbo-croate',
'si' => 'Singhalais',
'sk' => 'Slovaque',
'sl' => 'Slovène',
'sl' => 'Slovène',
'sm' => 'Samoan',
'sn' => 'Shona',
'so' => 'Somali',
158,29 → 158,29
'ss' => 'Swati',
'st' => 'Sotho du Sud',
'su' => 'Soundanais',
'sv' => 'Suédois',
'sv' => 'Suédois',
'sw' => 'Swahili',
'ta' => 'Tamoul',
'te' => 'Télougou',
'te' => 'Télougou',
'tg' => 'Tadjik',
'th' => 'Thaï',
'th' => 'Thaï',
'ti' => 'Tigrigna',
'tk' => 'Turkmène',
'tk' => 'Turkmène',
'tl' => 'Tagalog',
'tn' => 'Setswana',
'to' => 'Tongan (Îles Tonga)',
'to' => 'Tongan (Îles Tonga)',
'tr' => 'Turc',
'ts' => 'Tsonga',
'tt' => 'Tatar',
'tw' => 'Twi',
'ty' => 'Tahitien',
'ug' => 'Ouïgour',
'ug' => 'Ouïgour',
'uk' => 'Ukrainien',
'ur' => 'Ourdou',
'uz' => 'Ouzbek',
've' => 'Venda',
'vi' => 'Vietnamien',
'vo' => 'Volapük',
'vo' => 'Volapük',
'wa' => 'Wallon',
'wo' => 'Wolof',
'xh' => 'Xhosa',
/trunk/api/pear/I18Nv2/Language/nl.php
49,7 → 49,7
'ff' => 'Fulah',
'fi' => 'Fins',
'fj' => 'Fijisch',
'fo' => 'Faeröers',
'fo' => 'Faeröers',
'fr' => 'Frans',
'fy' => 'Fries',
'ga' => 'Iers',
63,7 → 63,7
'hi' => 'Hindi',
'ho' => 'Hiri Motu',
'hr' => 'Kroatisch',
'ht' => 'Haïtiaans',
'ht' => 'Haïtiaans',
'hu' => 'Hongaars',
'hy' => 'Armeens',
'hz' => 'Herero',
115,7 → 115,7
'mt' => 'Maltees',
'my' => 'Birmees',
'na' => 'Nauru',
'nb' => 'Noors - Bokmål',
'nb' => 'Noors - Bokmål',
'nd' => 'Ndebele, noord-',
'ne' => 'Nepalees',
'ng' => 'Ndonga',
175,12 → 175,12
'tw' => 'Twi',
'ty' => 'Tahitisch',
'ug' => 'Uighur',
'uk' => 'Oekraïens',
'uk' => 'Oekraïens',
'ur' => 'Urdu',
'uz' => 'Oezbeeks',
've' => 'Venda',
'vi' => 'Vietnamees',
'vo' => 'Volapük',
'vo' => 'Volapük',
'wa' => 'Wallonisch',
'wo' => 'Wolof',
'xh' => 'Xhosa',
/trunk/api/pear/I18Nv2/Language/nn.php
115,7 → 115,7
'mt' => 'Maltese',
'my' => 'Burmese',
'na' => 'Nauru',
'nb' => 'Norsk bokmål',
'nb' => 'Norsk bokmål',
'nd' => 'North Ndebele',
'ne' => 'Nepali',
'ng' => 'Ndonga',
125,7 → 125,7
'nr' => 'South Ndebele',
'nv' => 'Navajo',
'ny' => 'Nyanja; Chichewa; Chewa',
'oc' => 'Occitan (post 1500); Provençal',
'oc' => 'Occitan (post 1500); Provençal',
'oj' => 'Ojibwa',
'om' => 'Oromo',
'or' => 'Oriya',
180,7 → 180,7
'uz' => 'Uzbek',
've' => 'Venda',
'vi' => 'Vietnamese',
'vo' => 'Volapük',
'vo' => 'Volapük',
'wa' => 'Walloon',
'wo' => 'Wolof',
'xh' => 'Xhosa',
/trunk/api/pear/I18Nv2/Language/vi.php
14,15 → 14,15
'as' => 'Assamese',
'av' => 'Avaric',
'ay' => 'Aymara',
'az' => 'Tiếng Ai-déc-bai-gian',
'az' => 'Tiếng Ai-déc-bai-gian',
'ba' => 'Bashkir',
'be' => 'Tiếng Bê-la-rút',
'be' => 'Tiếng Bê-la-rút',
'bg' => 'Tiếng Bun-ga-ri',
'bh' => 'Bihari',
'bi' => 'Bislama',
'bm' => 'Bambara',
'bn' => 'Bengali',
'bo' => 'Tiếng Tây Tạng',
'bo' => 'Tiếng Tây Tạng',
'br' => 'Breton',
'bs' => 'Bosnian',
'ca' => 'Tiếng Ca-ta-lăng',
30,7 → 30,7
'ch' => 'Chamorro',
'co' => 'Corsican',
'cr' => 'Cree',
'cs' => 'Tiếng Séc',
'cs' => 'Tiếng Séc',
'cu' => 'Church Slavic',
'cv' => 'Chuvash',
'cy' => 'Welsh',
42,8 → 42,8
'el' => 'Tiếng Hy Lạp',
'en' => 'Tiếng Anh',
'eo' => 'Tiếng Quốc Tế Ngữ',
'es' => 'Tiếng Tây Ban Nha',
'et' => 'Tiếng E-xtô-ni-a',
'es' => 'Tiếng Tây Ban Nha',
'et' => 'Tiếng E-xtô-ni-a',
'eu' => 'Basque',
'fa' => 'Tiếng Ba Tư',
'ff' => 'Fulah',
50,7 → 50,7
'fi' => 'Tiếng Phần Lan',
'fj' => 'Fijian',
'fo' => 'Faroese',
'fr' => 'Tiếng Pháp',
'fr' => 'Tiếng Pháp',
'fy' => 'Frisian',
'ga' => 'Tiếng Ai-len',
'gd' => 'Scottish Gaelic',
59,16 → 59,16
'gu' => 'Gujarati',
'gv' => 'Manx',
'ha' => 'Hausa',
'he' => 'Tiếng Hê-brÆ¡',
'he' => 'Tiếng Hê-brơ',
'hi' => 'Tiếng Hin-đi',
'ho' => 'Hiri Motu',
'hr' => 'Tiếng Crô-a-ti-a',
'hr' => 'Tiếng Crô-a-ti-a',
'ht' => 'Haitian',
'hu' => 'Tiếng Hung-ga-ri',
'hy' => 'Tiếng Ác-mê-ni',
'hy' => 'Tiếng Ác-mê-ni',
'hz' => 'Herero',
'ia' => 'Tiếng Khoa Học Quốc Tế',
'id' => 'Tiếng In-đô-nê-xia',
'id' => 'Tiếng In-đô-nê-xia',
'ie' => 'Interlingue',
'ig' => 'Igbo',
'ii' => 'Sichuan Yi',
75,7 → 75,7
'ik' => 'Inupiaq',
'io' => 'Ido',
'is' => 'Tiếng Ai-xơ-len',
'it' => 'Tiếng Ý',
'it' => 'Tiếng Ý',
'iu' => 'Inuktitut',
'ja' => 'Tiếng Nhật',
'jv' => 'Tiếng Gia-va',
87,7 → 87,7
'kl' => 'Kalaallisut',
'km' => 'Tiếng Campuchia',
'kn' => 'Tiếng Kan-na-đa',
'ko' => 'Tiếng Hàn Quốc',
'ko' => 'Tiếng Hàn Quốc',
'kr' => 'Kanuri',
'ks' => 'Kashmiri',
'ku' => 'Kurdish',
99,16 → 99,16
'lg' => 'Ganda',
'li' => 'Limburgish',
'ln' => 'Lingala',
'lo' => 'Tiếng Lào',
'lt' => 'Tiếng Lít-va',
'lo' => 'Tiếng Lào',
'lt' => 'Tiếng Lít-va',
'lu' => 'Luba-Katanga',
'lv' => 'Tiếng Lát-vi-a',
'lv' => 'Tiếng Lát-vi-a',
'mg' => 'Malagasy',
'mh' => 'Marshallese',
'mi' => 'Maori',
'mk' => 'Tiếng Ma-xê-đô-ni-a',
'mk' => 'Tiếng Ma-xê-đô-ni-a',
'ml' => 'Malayalam',
'mn' => 'Tiếng Mông Cổ',
'mn' => 'Tiếng Mông Cổ',
'mo' => 'Moldavian',
'mr' => 'Marathi',
'ms' => 'Tiếng Ma-lay-xi-a',
115,17 → 115,17
'mt' => 'Maltese',
'my' => 'Burmese',
'na' => 'Nauru',
'nb' => 'Norwegian Bokmål',
'nb' => 'Norwegian Bokmål',
'nd' => 'North Ndebele',
'ne' => 'Tiếng Nê-pan',
'ne' => 'Tiếng Nê-pan',
'ng' => 'Ndonga',
'nl' => 'Tiếng Hà Lan',
'nl' => 'Tiếng Hà Lan',
'nn' => 'Norwegian Nynorsk',
'no' => 'Tiếng Na Uy',
'nr' => 'South Ndebele',
'nv' => 'Navajo',
'ny' => 'Nyanja; Chichewa; Chewa',
'oc' => 'Occitan (post 1500); Provençal',
'oc' => 'Occitan (post 1500); Provençal',
'oj' => 'Ojibwa',
'om' => 'Oromo',
'or' => 'Oriya',
134,7 → 134,7
'pi' => 'Pali',
'pl' => 'Tiếng Ba Lan',
'ps' => 'Pashto (Pushto)',
'pt' => 'Tiếng Bồ Đào Nha',
'pt' => 'Tiếng Bồ Đào Nha',
'qu' => 'Quechua',
'rm' => 'Rhaeto-Romance',
'rn' => 'Rundi',
148,13 → 148,13
'sg' => 'Sango',
'sh' => 'Serbo-Croatian',
'si' => 'Sinhalese',
'sk' => 'Tiếng Xlô-vác',
'sl' => 'Tiếng Xlô-ven',
'sk' => 'Tiếng Xlô-vác',
'sl' => 'Tiếng Xlô-ven',
'sm' => 'Samoan',
'sn' => 'Shona',
'so' => 'Tiếng Xô-ma-li',
'so' => 'Tiếng Xô-ma-li',
'sq' => 'Tiếng An-ba-ni',
'sr' => 'Tiếng Séc-bi',
'sr' => 'Tiếng Séc-bi',
'ss' => 'Swati',
'st' => 'Southern Sotho',
'su' => 'Sundanese',
163,7 → 163,7
'ta' => 'Tamil',
'te' => 'Telugu',
'tg' => 'Tajik',
'th' => 'Tiếng Thái',
'th' => 'Tiếng Thái',
'ti' => 'Tigrinya',
'tk' => 'Turkmen',
'tl' => 'Tagalog',
180,7 → 180,7
'uz' => 'Tiếng U-dơ-bếch',
've' => 'Venda',
'vi' => 'Tiếng Việt',
'vo' => 'Volapük',
'vo' => 'Volapük',
'wa' => 'Walloon',
'wo' => 'Wolof',
'xh' => 'Xhosa',
/trunk/api/pear/I18Nv2/Language/ro.php
115,7 → 115,7
'mt' => 'Maltese',
'my' => 'Burmese',
'na' => 'Nauru',
'nb' => 'Norwegian Bokmål',
'nb' => 'Norwegian Bokmål',
'nd' => 'North Ndebele',
'ne' => 'Nepali',
'ng' => 'Ndonga',
125,7 → 125,7
'nr' => 'South Ndebele',
'nv' => 'Navajo',
'ny' => 'Nyanja; Chichewa; Chewa',
'oc' => 'Occitan (post 1500); Provençal',
'oc' => 'Occitan (post 1500); Provençal',
'oj' => 'Ojibwa',
'om' => 'Oromo',
'or' => 'Oriya',
138,7 → 138,7
'qu' => 'Quechua',
'rm' => 'Rhaeto-Romance',
'rn' => 'Rundi',
'ro' => 'Română',
'ro' => 'Română',
'ru' => 'Rusă',
'rw' => 'Kinyarwanda',
'sa' => 'Sanskrit',
180,7 → 180,7
'uz' => 'Uzbek',
've' => 'Venda',
'vi' => 'Vietnamese',
'vo' => 'Volapük',
'vo' => 'Volapük',
'wa' => 'Walloon',
'wo' => 'Wolof',
'xh' => 'Xhosa',
/trunk/api/pear/I18Nv2/Language/ca.php
3,29 → 3,29
* $Id: ca.php,v 1.1 2007-06-25 09:55:28 alexandre_tb Exp $
*/
$this->codes = array(
'aa' => 'Àfar',
'aa' => 'Àfar',
'ab' => 'Abkhaz',
'ae' => 'Avestan',
'af' => 'Afrikaans',
'ak' => 'Akan',
'am' => 'Amhàric',
'am' => 'Amhàric',
'an' => 'Aragonese',
'ar' => 'Àrab',
'as' => 'Assamès',
'ar' => 'Àrab',
'as' => 'Assamès',
'av' => 'Avaric',
'ay' => 'Aimara',
'az' => 'Àzeri',
'az' => 'Àzeri',
'ba' => 'Baixkir',
'be' => 'Bielorús',
'bg' => 'Búlgar',
'be' => 'Bielorús',
'bg' => 'Búlgar',
'bh' => 'Bihari',
'bi' => 'Bislama',
'bm' => 'Bambara',
'bn' => 'Bengalí',
'bo' => 'Tibetà',
'br' => 'Bretó',
'bn' => 'Bengalí',
'bo' => 'Tibetà',
'br' => 'Bretó',
'bs' => 'Bosnian',
'ca' => 'Català',
'ca' => 'Català',
'ce' => 'Chechen',
'ch' => 'Chamorro',
'co' => 'Cors',
33,29 → 33,29
'cs' => 'Txec',
'cu' => 'Church Slavic',
'cv' => 'Chuvash',
'cy' => 'Gal·lès',
'da' => 'Danès',
'cy' => 'Gal·lès',
'da' => 'Danès',
'de' => 'Alemany',
'dv' => 'Divehi',
'dz' => 'Bhutanès',
'dz' => 'Bhutanès',
'ee' => 'Ewe',
'el' => 'Grec',
'en' => 'Anglès',
'en' => 'Anglès',
'eo' => 'Esperanto',
'es' => 'Espanyol',
'et' => 'Estonià',
'et' => 'Estonià',
'eu' => 'Basc',
'fa' => 'Persa',
'ff' => 'Fulah',
'fi' => 'Finès',
'fj' => 'Fijià',
'fo' => 'Feroès',
'fr' => 'Francès',
'fy' => 'Frisó',
'ga' => 'Irlandès',
'gd' => 'Escocès',
'fi' => 'Finès',
'fj' => 'Fijià',
'fo' => 'Feroès',
'fr' => 'Francès',
'fy' => 'Frisó',
'ga' => 'Irlandès',
'gd' => 'Escocès',
'gl' => 'Gallec',
'gn' => 'Guaraní',
'gn' => 'Guaraní',
'gu' => 'Gujarati',
'gv' => 'Manx',
'ha' => 'Hausa',
64,7 → 64,7
'ho' => 'Hiri Motu',
'hr' => 'Croat',
'ht' => 'Haitian',
'hu' => 'Hongarès',
'hu' => 'Hongarès',
'hy' => 'Armeni',
'hz' => 'Herero',
'ia' => 'Interlingua',
74,35 → 74,35
'ii' => 'Sichuan Yi',
'ik' => 'Inupiak',
'io' => 'Ido',
'is' => 'Islandès',
'it' => 'Italià',
'is' => 'Islandès',
'it' => 'Italià',
'iu' => 'Inuktitut',
'ja' => 'Japonès',
'jv' => 'Javanès',
'ka' => 'Georgià',
'ja' => 'Japonès',
'jv' => 'Javanès',
'ka' => 'Georgià',
'kg' => 'Kongo',
'ki' => 'Kikuyu',
'kj' => 'Kuanyama',
'kk' => 'Kazakh',
'kl' => 'Greenlandès',
'km' => 'Cambodjà',
'kl' => 'Greenlandès',
'km' => 'Cambodjà',
'kn' => 'Kannada',
'ko' => 'Coreà',
'ko' => 'Coreà',
'kr' => 'Kanuri',
'ks' => 'Caixmiri',
'ku' => 'Kurd',
'kv' => 'Komi',
'kw' => 'Cornish',
'ky' => 'Kirguís',
'la' => 'Llatí',
'ky' => 'Kirguís',
'la' => 'Llatí',
'lb' => 'Luxembourgish',
'lg' => 'Ganda',
'li' => 'Limburgish',
'ln' => 'Lingala',
'lo' => 'Laosià',
'lt' => 'Lituà',
'lo' => 'Laosià',
'lt' => 'Lituà',
'lu' => 'Luba-Katanga',
'lv' => 'Letó',
'lv' => 'Letó',
'mg' => 'Malgaix',
'mh' => 'Marshallese',
'mi' => 'Maori',
112,20 → 112,20
'mo' => 'Moldau',
'mr' => 'Marathi',
'ms' => 'Malai',
'mt' => 'Maltès',
'my' => 'Birmà',
'na' => 'Nauruà',
'nb' => 'Norwegian Bokmål',
'mt' => 'Maltès',
'my' => 'Birmà',
'na' => 'Nauruà',
'nb' => 'Norwegian Bokmål',
'nd' => 'North Ndebele',
'ne' => 'Nepalès',
'ne' => 'Nepalès',
'ng' => 'Ndonga',
'nl' => 'Neerlandès',
'nl' => 'Neerlandès',
'nn' => 'Norwegian Nynorsk',
'no' => 'Noruec',
'nr' => 'South Ndebele',
'nv' => 'Navajo',
'ny' => 'Nyanja; Chichewa; Chewa',
'oc' => 'Occità',
'oc' => 'Occità',
'oj' => 'Ojibwa',
'om' => 'Oromo (afan)',
'or' => 'Oriya',
132,62 → 132,62
'os' => 'Ossetic',
'pa' => 'Panjabi',
'pi' => 'Pali',
'pl' => 'Polonès',
'pl' => 'Polonès',
'ps' => 'Paixto',
'pt' => 'Portuguès',
'qu' => 'Quètxua',
'rm' => 'Retoromànic',
'pt' => 'Portuguès',
'qu' => 'Quètxua',
'rm' => 'Retoromànic',
'rn' => 'Kirundi',
'ro' => 'Romanès',
'ro' => 'Romanès',
'ru' => 'Rus',
'rw' => 'Kinyarwanda',
'sa' => 'Sànscrit',
'sa' => 'Sànscrit',
'sc' => 'Sardinian',
'sd' => 'Sindhi',
'se' => 'Northern Sami',
'sg' => 'Sango',
'sh' => 'Serbo-croat',
'si' => 'Sinhalès',
'si' => 'Sinhalès',
'sk' => 'Eslovac',
'sl' => 'Eslovè',
'sm' => 'Samoà',
'sl' => 'Eslovè',
'sm' => 'Samoà',
'sn' => 'Shona',
'so' => 'Somali',
'sq' => 'Albanès',
'sq' => 'Albanès',
'sr' => 'Serbi',
'ss' => 'Siswati',
'st' => 'Sotho',
'su' => 'Sundanès',
'su' => 'Sundanès',
'sv' => 'Suec',
'sw' => 'Swahili',
'ta' => 'Tàmil',
'ta' => 'Tàmil',
'te' => 'Telugu',
'tg' => 'Tadjik',
'th' => 'Thai',
'ti' => 'Tigrinya',
'tk' => 'Turcman',
'tl' => 'Tagàlog',
'tl' => 'Tagàlog',
'tn' => 'Tswana',
'to' => 'Tonga',
'tr' => 'Turc',
'ts' => 'Tsonga',
'tt' => 'Tàtar',
'tt' => 'Tàtar',
'tw' => 'Twi',
'ty' => 'Tahitian',
'ug' => 'Uigur',
'uk' => 'Ucraïnès',
'ur' => 'Urdú',
'uk' => 'Ucraïnès',
'ur' => 'Urdú',
'uz' => 'Uzbek',
've' => 'Venda',
'vi' => 'Vietnamita',
'vo' => 'Volapuk',
'wa' => 'Walloon',
'wo' => 'Wòlof',
'wo' => 'Wòlof',
'xh' => 'Xosa',
'yi' => 'Jiddish',
'yo' => 'Ioruba',
'za' => 'Zhuang',
'zh' => 'Xinés',
'zh' => 'Xinés',
'zu' => 'Zulu',
);
?>
/trunk/api/pear/I18Nv2/Language/ru.php
115,7 → 115,7
'mt' => 'Мальтийский',
'my' => 'Бирманский',
'na' => 'Науру',
'nb' => 'Norwegian Bokmål',
'nb' => 'Norwegian Bokmål',
'nd' => 'North Ndebele',
'ne' => 'Непальский',
'ng' => 'Ndonga',
/trunk/api/pear/I18Nv2/Language/ga.php
4,9 → 4,9
*/
$this->codes = array(
'aa' => 'Afar',
'ab' => 'Abcáisis',
'ae' => 'Aivéistis',
'af' => 'Afracáinis',
'ab' => 'Abcáisis',
'ae' => 'Aivéistis',
'af' => 'Afracáinis',
'ak' => 'Akan',
'am' => 'Amharic',
'an' => 'Aragonese',
14,42 → 14,42
'as' => 'Asaimis',
'av' => 'Avaric',
'ay' => 'Aymara',
'az' => 'Asarbaiseáinis',
'ba' => 'Baiscíris',
'be' => 'Bealarúisis',
'bg' => 'Bulgáiris',
'az' => 'Asarbaiseáinis',
'ba' => 'Baiscíris',
'be' => 'Bealarúisis',
'bg' => 'Bulgáiris',
'bh' => 'Bihari',
'bi' => 'Bislama',
'bm' => 'Bambara',
'bn' => 'Beangálais',
'bo' => 'Tibéadais',
'br' => 'Briotáinis',
'bn' => 'Beangálais',
'bo' => 'Tibéadais',
'br' => 'Briotáinis',
'bs' => 'Boisnis',
'ca' => 'Catalóinis',
'ca' => 'Catalóinis',
'ce' => 'Sisinis',
'ch' => 'Chamorro',
'co' => 'Corsaicis',
'cr' => 'Craíais',
'cr' => 'Craíais',
'cs' => 'Seicis',
'cu' => 'Slavais na hEaglaise',
'cv' => 'Suvaisis',
'cy' => 'Breatnais',
'da' => 'Danmhairgis',
'de' => 'Gearmáinis',
'de' => 'Gearmáinis',
'dv' => 'Divehi',
'dz' => 'Dzongkha',
'ee' => 'Ewe',
'el' => 'Gréigis',
'en' => 'Béarla',
'el' => 'Gréigis',
'en' => 'Béarla',
'eo' => 'Esperanto',
'es' => 'Spáinnis',
'et' => 'Eastóinis',
'es' => 'Spáinnis',
'et' => 'Eastóinis',
'eu' => 'Bascais',
'fa' => 'Peirsis',
'ff' => 'Fulah',
'fi' => 'Fionnlainnis',
'fj' => 'Fidsis',
'fo' => 'Faróis',
'fo' => 'Faróis',
'fr' => 'Fraincis',
'fy' => 'Freaslainnais',
'ga' => 'Gaeilge',
56,29 → 56,29
'gd' => 'Gaeilge na hAlban',
'gl' => 'Galician',
'gn' => 'Guarani',
'gu' => 'Gúisearáitis',
'gu' => 'Gúisearáitis',
'gv' => 'Mannainis',
'ha' => 'Hausa',
'he' => 'Eabhrais',
'hi' => 'Hiondúis',
'hi' => 'Hiondúis',
'ho' => 'Hiri Motu',
'hr' => 'Cróitis',
'hr' => 'Cróitis',
'ht' => 'Haitian',
'hu' => 'Ungáiris',
'hy' => 'Airméinis',
'hu' => 'Ungáiris',
'hy' => 'Airméinis',
'hz' => 'Herero',
'ia' => 'Interlingua',
'id' => 'Indinéisis',
'id' => 'Indinéisis',
'ie' => 'Interlingue',
'ig' => 'Igbo',
'ii' => 'Sichuan Yi',
'ik' => 'Inupiaq',
'io' => 'Ido',
'is' => 'Íoslainnais',
'it' => 'Iodáilis',
'iu' => 'Ionúitis',
'ja' => 'Seapáinis',
'jv' => 'Iávais',
'is' => 'Íoslainnais',
'it' => 'Iodáilis',
'iu' => 'Ionúitis',
'ja' => 'Seapáinis',
'jv' => 'Iávais',
'ka' => 'Seoirsis',
'kg' => 'Kongo',
'ki' => 'Kikuyu',
87,9 → 87,9
'kl' => 'Kalaallisut',
'km' => 'Khmer',
'kn' => 'Cannadais',
'ko' => 'Cóiréis',
'ko' => 'Cóiréis',
'kr' => 'Kanuri',
'ks' => 'Caismíris',
'ks' => 'Caismíris',
'ku' => 'Kurdish',
'kv' => 'Komi',
'kw' => 'Cornais',
100,22 → 100,22
'li' => 'Limburgish',
'ln' => 'Lingala',
'lo' => 'Laosais',
'lt' => 'Liotuáinis',
'lt' => 'Liotuáinis',
'lu' => 'Luba-Katanga',
'lv' => 'Laitvis',
'mg' => 'Malagásais',
'mg' => 'Malagásais',
'mh' => 'Marshallese',
'mi' => 'Maorais',
'mk' => 'Macadóinis',
'ml' => 'Mailéalaimis',
'mn' => 'Mongóilis',
'mo' => 'Moldáivis',
'mk' => 'Macadóinis',
'ml' => 'Mailéalaimis',
'mn' => 'Mongóilis',
'mo' => 'Moldáivis',
'mr' => 'Maraitis',
'ms' => 'Malay',
'mt' => 'Maltais',
'my' => 'Burmais',
'na' => 'Nárúis',
'nb' => 'Ioruais Bokmål',
'na' => 'Nárúis',
'nb' => 'Ioruais Bokmål',
'nd' => 'North Ndebele',
'ne' => 'Neipealais',
'ng' => 'Ndonga',
123,50 → 123,50
'nn' => 'Ioruais Nynorsk',
'no' => 'Ioruais',
'nr' => 'South Ndebele',
'nv' => 'Navachóis',
'nv' => 'Navachóis',
'ny' => 'Nyanja; Chichewa; Chewa',
'oc' => 'Ocatáinis (tar éis 1500); Provençal',
'oc' => 'Ocatáinis (tar éis 1500); Provençal',
'oj' => 'Ojibwa',
'om' => 'Oromo',
'or' => 'Oriya',
'os' => 'Óiséitis',
'os' => 'Óiséitis',
'pa' => 'Puinseaibis',
'pi' => 'Pali',
'pl' => 'Polainnis',
'ps' => 'Paisteo',
'pt' => 'Portaingéilis',
'pt' => 'Portaingéilis',
'qu' => 'Ceatsuais',
'rm' => 'Rhaeto-Romance',
'rn' => 'Rundi',
'ro' => 'Romáinis',
'ru' => 'Rúisis',
'ro' => 'Romáinis',
'ru' => 'Rúisis',
'rw' => 'Kinyarwanda',
'sa' => 'Sanscrait',
'sc' => 'Sairdínis',
'sc' => 'Sairdínis',
'sd' => 'Sindis',
'se' => 'Sáimis Thuaidh',
'se' => 'Sáimis Thuaidh',
'sg' => 'Sango',
'sh' => 'Seirbea-Chróitis',
'sh' => 'Seirbea-Chróitis',
'si' => 'Sinhalese',
'sk' => 'Slóvacais',
'sl' => 'Slóvéinis',
'sm' => 'Samóis',
'sk' => 'Slóvacais',
'sl' => 'Slóvéinis',
'sm' => 'Samóis',
'sn' => 'Shona',
'so' => 'Somálais',
'sq' => 'Albáinis',
'so' => 'Somálais',
'sq' => 'Albáinis',
'sr' => 'Seirbis',
'ss' => 'Swati',
'st' => 'Southern Sotho',
'su' => 'Sundanese',
'sv' => 'Sualainnis',
'sw' => 'Svahaílis',
'sw' => 'Svahaílis',
'ta' => 'Tamailis',
'te' => 'Telugu',
'tg' => 'Tajik',
'th' => 'Téalainnis',
'th' => 'Téalainnis',
'ti' => 'Tigrinya',
'tk' => 'Turkmen',
'tl' => 'Tagálaigis',
'tl' => 'Tagálaigis',
'tn' => 'Tswana',
'to' => 'Tonga (Tonga Islands)',
'tr' => 'Tuircis',
173,21 → 173,21
'ts' => 'Tsonga',
'tt' => 'Tatarais',
'tw' => 'Twi',
'ty' => 'Taihítis',
'ty' => 'Taihítis',
'ug' => 'Uighur',
'uk' => 'Úcráinis',
'uk' => 'Úcráinis',
'ur' => 'Urdais',
'uz' => 'Úisbéicis',
'uz' => 'Úisbéicis',
've' => 'Venda',
'vi' => 'Vítneamais',
'vo' => 'Volapük',
'wa' => 'Vallúnais',
'vi' => 'Vítneamais',
'vo' => 'Volapük',
'wa' => 'Vallúnais',
'wo' => 'Wolof',
'xh' => 'Xhosa',
'yi' => 'Giúdais',
'yi' => 'Giúdais',
'yo' => 'Yoruba',
'za' => 'Zhuang',
'zh' => 'Sínis',
'zu' => 'Súlúis',
'zh' => 'Sínis',
'zu' => 'Súlúis',
);
?>
/trunk/api/pear/I18Nv2/Currency/cy.php
112,7 → 112,7
'IEP' => 'Irish Pound',
'ILP' => 'Israeli Pound',
'ILS' => 'Israeli New Sheqel',
'INR' => 'Rwpî India',
'INR' => 'Rwpî India',
'IQD' => 'Iraqi Dinar',
'IRR' => 'Iranian Rial',
'ISK' => 'Icelandic Krona',
/trunk/api/pear/I18Nv2/Currency/sk.php
3,240 → 3,240
* $Id: sk.php,v 1.1 2007-06-25 09:55:26 alexandre_tb Exp $
*/
$this->codes = array(
'ADP' => 'Andorská peseta',
'ADP' => 'Andorská peseta',
'AED' => 'UAE dirham',
'AFA' => 'Afghani (1927-2002)',
'AFN' => 'Afghani',
'ALL' => 'Albánsky lek',
'AMD' => 'Armenský dram',
'ANG' => 'Nizozemský Antilský guilder',
'AOA' => 'Angolská kwanza',
'AOK' => 'Angolská kwanza (1977-1990)',
'AON' => 'Angolská nová kwanza (1990-2000)',
'AOR' => 'Angolská kwanza Reajustado (1995-1999)',
'ARA' => 'Argentinský austral',
'ARP' => 'Argentinské peso (1983-1985)',
'ARS' => 'Argentinské peso',
'ATS' => 'Rakúsky Å¡iling',
'AUD' => 'Austrálsky dolár',
'AWG' => 'Arubský guilder',
'AZM' => 'Azerbaidžanský manat',
'BAD' => 'Bosnianský dinár',
'BAM' => 'Bosnianský konvertibilná marka',
'BBD' => 'Barbadoský dolár',
'BDT' => 'BangladéÅ¡ska taka',
'BEC' => 'Belgický frank (konvertibilný)',
'BEF' => 'Belgický frank',
'BEL' => 'Belgický frank (finančný)',
'BGL' => 'Bulharský leva',
'BGN' => 'Bulharský leva nový',
'BHD' => 'Bahraiský dinár',
'BIF' => 'Burundský frank',
'BMD' => 'Bermudský dolár',
'BND' => 'Bruneiský dolár',
'ALL' => 'Albánsky lek',
'AMD' => 'Armenský dram',
'ANG' => 'Nizozemský Antilský guilder',
'AOA' => 'Angolská kwanza',
'AOK' => 'Angolská kwanza (1977-1990)',
'AON' => 'Angolská nová kwanza (1990-2000)',
'AOR' => 'Angolská kwanza Reajustado (1995-1999)',
'ARA' => 'Argentinský austral',
'ARP' => 'Argentinské peso (1983-1985)',
'ARS' => 'Argentinské peso',
'ATS' => 'Rakúsky šiling',
'AUD' => 'Austrálsky dolár',
'AWG' => 'Arubský guilder',
'AZM' => 'Azerbaidžanský manat',
'BAD' => 'Bosnianský dinár',
'BAM' => 'Bosnianský konvertibilná marka',
'BBD' => 'Barbadoský dolár',
'BDT' => 'Bangladéšska taka',
'BEC' => 'Belgický frank (konvertibilný)',
'BEF' => 'Belgický frank',
'BEL' => 'Belgický frank (finančný)',
'BGL' => 'Bulharský leva',
'BGN' => 'Bulharský leva nový',
'BHD' => 'Bahraiský dinár',
'BIF' => 'Burundský frank',
'BMD' => 'Bermudský dolár',
'BND' => 'Bruneiský dolár',
'BOB' => 'Boliviano',
'BOP' => 'Bolivíjske peso',
'BOV' => 'Bolivíjske mvdol',
'BRB' => 'Bolivíjske Cruzeiro Novo (1967-1986)',
'BRC' => 'Bolivíjske cruzado',
'BRE' => 'Bolivíjske cruzeiro (1990-1993)',
'BRL' => 'Bolivíjsky real',
'BRN' => 'Brazílske Cruzado Novo',
'BRR' => 'Brazílske cruzeiro',
'BSD' => 'Bahamský dolár',
'BOP' => 'Bolivíjske peso',
'BOV' => 'Bolivíjske mvdol',
'BRB' => 'Bolivíjske Cruzeiro Novo (1967-1986)',
'BRC' => 'Bolivíjske cruzado',
'BRE' => 'Bolivíjske cruzeiro (1990-1993)',
'BRL' => 'Bolivíjsky real',
'BRN' => 'Brazílske Cruzado Novo',
'BRR' => 'Brazílske cruzeiro',
'BSD' => 'Bahamský dolár',
'BTN' => 'Bhutansky ngultrum',
'BUK' => 'Burmese Kyat',
'BWP' => 'Botswanan Pula',
'BYB' => 'Belarussian nový rubeľ (1994-1999)',
'BYB' => 'Belarussian nový rubeľ (1994-1999)',
'BYR' => 'Belarussian rubeľ',
'BZD' => 'Belize dolár',
'CAD' => 'Kanadský dolár',
'CDF' => 'Konžský frank Congolais',
'BZD' => 'Belize dolár',
'CAD' => 'Kanadský dolár',
'CDF' => 'Konžský frank Congolais',
'CHE' => 'WIR Euro',
'CHF' => 'Å vajčiarský frank',
'CHF' => 'Švajčiarský frank',
'CHW' => 'WIR Franc',
'CLF' => 'Čílske Unidades de Fomento',
'CLP' => 'Čílske peso',
'CNY' => 'Čínsky Yuan Renminbi',
'COP' => 'Colombijské peso',
'CLF' => 'Čílske Unidades de Fomento',
'CLP' => 'Čílske peso',
'CNY' => 'Čínsky Yuan Renminbi',
'COP' => 'Colombijské peso',
'COU' => 'Unidad de Valor Real',
'CRC' => 'Kostarikský colon',
'CRC' => 'Kostarikský colon',
'CSD' => 'Serbian Dinar',
'CSK' => 'Československá koruna',
'CUP' => 'Kubánske peso',
'CSK' => 'Československá koruna',
'CUP' => 'Kubánske peso',
'CVE' => 'Cape Verde eskudo',
'CYP' => 'Cypruská libra',
'CZK' => 'Česká koruna',
'DDM' => 'Východonemecká marka',
'DEM' => 'Nemecká marka',
'DJF' => 'Džibutský frank',
'DKK' => 'Dánska krone',
'DOP' => 'Dominikánske peso',
'DZD' => 'Alžírsky dinár',
'ECS' => 'Ekuadorský sucre',
'ECV' => 'Ekuadorský Unidad de Valor Constante (UVC)',
'EEK' => 'Estónska kroon',
'EGP' => 'Egyptská libra',
'CYP' => 'Cypruská libra',
'CZK' => 'Česká koruna',
'DDM' => 'Východonemecká marka',
'DEM' => 'Nemecká marka',
'DJF' => 'Džibutský frank',
'DKK' => 'Dánska krone',
'DOP' => 'Dominikánske peso',
'DZD' => 'Alžírsky dinár',
'ECS' => 'Ekuadorský sucre',
'ECV' => 'Ekuadorský Unidad de Valor Constante (UVC)',
'EEK' => 'Estónska kroon',
'EGP' => 'Egyptská libra',
'EQE' => 'Ekwele',
'ERN' => 'Eritrejská nakfa',
'ERN' => 'Eritrejská nakfa',
'ESA' => 'Spanish Peseta (A account)',
'ESB' => 'Spanish Peseta (convertible account)',
'ESP' => 'Å panielská peseta',
'ETB' => 'Ethiopský birr',
'ESP' => 'Španielská peseta',
'ETB' => 'Ethiopský birr',
'EUR' => 'Euro',
'FIM' => 'Finská marka',
'FJD' => 'Fiji dolár',
'FKP' => 'Falklandská libra',
'FRF' => 'Francúzsky frank',
'GBP' => 'Britská libra',
'GEK' => 'Gruzínsky Kupon Larit',
'GEL' => 'Gruzínsky lari',
'GHC' => 'Ghanský cedi',
'GIP' => 'Gibraltarská libra',
'GMD' => 'Gambský dalasi',
'GNF' => 'Guinejský frank',
'GNS' => 'Guinejský syli',
'GQE' => 'Rovníková Guinea Ekwele Guineana',
'GRD' => 'Grécka drachma',
'GTQ' => 'Guatemalský quetzal',
'GWE' => 'Portugalská Guinea eskudo',
'FIM' => 'Finská marka',
'FJD' => 'Fiji dolár',
'FKP' => 'Falklandská libra',
'FRF' => 'Francúzsky frank',
'GBP' => 'Britská libra',
'GEK' => 'Gruzínsky Kupon Larit',
'GEL' => 'Gruzínsky lari',
'GHC' => 'Ghanský cedi',
'GIP' => 'Gibraltarská libra',
'GMD' => 'Gambský dalasi',
'GNF' => 'Guinejský frank',
'GNS' => 'Guinejský syli',
'GQE' => 'Rovníková Guinea Ekwele Guineana',
'GRD' => 'Grécka drachma',
'GTQ' => 'Guatemalský quetzal',
'GWE' => 'Portugalská Guinea eskudo',
'GWP' => 'Guinea-Bissau peso',
'GYD' => 'Guyanský dolár',
'HKD' => 'Hong Kongský dolár',
'HNL' => 'Hoduraská lempira',
'HRD' => 'Chorvátsky dinár',
'HRK' => 'Chorvátska kuna',
'HTG' => 'Haitské gourde',
'HUF' => 'Maďarský forint',
'IDR' => 'Indonézska rupia',
'IEP' => 'Írska libra',
'ILP' => 'Izraelská libra',
'ILS' => 'Izraelský Å¡ekel',
'INR' => 'Indijská rupia',
'IQD' => 'Iracký dinár',
'IRR' => 'Iránsky rial',
'ISK' => 'Islandská krona',
'ITL' => 'Talianská lira',
'JMD' => 'Jamajský dolár',
'JOD' => 'Jordánsky dinár',
'JPY' => 'Japonský yen',
'KES' => 'Keňský Å¡iling',
'KGS' => 'Kyrgyský som',
'KHR' => 'Kambodžský riel',
'GYD' => 'Guyanský dolár',
'HKD' => 'Hong Kongský dolár',
'HNL' => 'Hoduraská lempira',
'HRD' => 'Chorvátsky dinár',
'HRK' => 'Chorvátska kuna',
'HTG' => 'Haitské gourde',
'HUF' => 'Maďarský forint',
'IDR' => 'Indonézska rupia',
'IEP' => 'Írska libra',
'ILP' => 'Izraelská libra',
'ILS' => 'Izraelský šekel',
'INR' => 'Indijská rupia',
'IQD' => 'Iracký dinár',
'IRR' => 'Iránsky rial',
'ISK' => 'Islandská krona',
'ITL' => 'Talianská lira',
'JMD' => 'Jamajský dolár',
'JOD' => 'Jordánsky dinár',
'JPY' => 'Japonský yen',
'KES' => 'Keňský šiling',
'KGS' => 'Kyrgyský som',
'KHR' => 'Kambodžský riel',
'KMF' => 'Comoro frank',
'KPW' => 'Severokórejský won',
'KRW' => 'Juhokórejský won',
'KWD' => 'Kuvaitský dinár',
'KYD' => 'Kajmanský dolár',
'KZT' => 'Kazažský tenge',
'LAK' => 'Laoský kip',
'LBP' => 'Libanonská libra',
'LKR' => 'Å rilanská rupia',
'LRD' => 'Libérský dolár',
'LSL' => 'Lesothský loti',
'KPW' => 'Severokórejský won',
'KRW' => 'Juhokórejský won',
'KWD' => 'Kuvaitský dinár',
'KYD' => 'Kajmanský dolár',
'KZT' => 'Kazažský tenge',
'LAK' => 'Laoský kip',
'LBP' => 'Libanonská libra',
'LKR' => 'Šrilanská rupia',
'LRD' => 'Libérský dolár',
'LSL' => 'Lesothský loti',
'LSM' => 'Maloti',
'LTL' => 'Litevská lita',
'LTT' => 'Litevský talonas',
'LTL' => 'Litevská lita',
'LTT' => 'Litevský talonas',
'LUC' => 'Luxembourg Convertible Franc',
'LUF' => 'Luxemburský frank',
'LUF' => 'Luxemburský frank',
'LUL' => 'Luxembourg Financial Franc',
'LVL' => 'LotyÅ¡ský lats',
'LVR' => 'LotyÅ¡ský rubeľ',
'LYD' => 'Libyjský dinár',
'MAD' => 'Marocký dirham',
'MAF' => 'Marocký frank',
'MDL' => 'Moldavský leu',
'MGA' => 'Madagaskarský ariary',
'MGF' => 'Madagaskarský frank',
'MKD' => 'Macedónsky denár',
'MLF' => 'Malský frank',
'MMK' => 'Myanmarský kyat',
'MNT' => 'Mongolský tugrik',
'LVL' => 'Lotyšský lats',
'LVR' => 'Lotyšský rubeľ',
'LYD' => 'Libyjský dinár',
'MAD' => 'Marocký dirham',
'MAF' => 'Marocký frank',
'MDL' => 'Moldavský leu',
'MGA' => 'Madagaskarský ariary',
'MGF' => 'Madagaskarský frank',
'MKD' => 'Macedónsky denár',
'MLF' => 'Malský frank',
'MMK' => 'Myanmarský kyat',
'MNT' => 'Mongolský tugrik',
'MOP' => 'Macao Pataca',
'MRO' => 'Mauritania Ouguiya',
'MTL' => 'Maltská lira',
'MTP' => 'Maltská libra',
'MUR' => 'Mauritská rupia',
'MVR' => 'Maldivská rufiyaa',
'MWK' => 'Malavská kwacha',
'MXN' => 'Mexické peso',
'MXP' => 'Mexické striborné peso (1861-1992)',
'MXV' => 'Mexické Unidad de Inversion (UDI)',
'MYR' => 'Malajský ringgit',
'MZE' => 'Mozambijské eskudo',
'MZM' => 'Mozambijské metical',
'NAD' => 'Namibský dolár',
'NGN' => 'Nigerská naira',
'NIC' => 'Nikaragujská cordoba',
'NIO' => 'Nikaragujská Cordoba Oro',
'NLG' => 'Nizozemský guilder',
'NOK' => 'Nórksy krone',
'NPR' => 'Nepálska rupia',
'NZD' => 'Novozélandský dolár',
'OMR' => 'Ománský rial',
'PAB' => 'Panamská balboa',
'PEI' => 'Peruvský inti',
'PEN' => 'Peruvský sol Nuevo',
'PES' => 'Peruvský sol',
'PGK' => 'Papua Nová Guinea kina',
'PHP' => 'Filipínske peso',
'PKR' => 'Pakistanská rupia',
'PLN' => 'Polský zloty',
'PLZ' => 'Polský zloty (1950-1995)',
'PTE' => 'Portugalské eskudo',
'PYG' => 'Paraguayské guarani',
'QAR' => 'Qatarský rial',
'MTL' => 'Maltská lira',
'MTP' => 'Maltská libra',
'MUR' => 'Mauritská rupia',
'MVR' => 'Maldivská rufiyaa',
'MWK' => 'Malavská kwacha',
'MXN' => 'Mexické peso',
'MXP' => 'Mexické striborné peso (1861-1992)',
'MXV' => 'Mexické Unidad de Inversion (UDI)',
'MYR' => 'Malajský ringgit',
'MZE' => 'Mozambijské eskudo',
'MZM' => 'Mozambijské metical',
'NAD' => 'Namibský dolár',
'NGN' => 'Nigerská naira',
'NIC' => 'Nikaragujská cordoba',
'NIO' => 'Nikaragujská Cordoba Oro',
'NLG' => 'Nizozemský guilder',
'NOK' => 'Nórksy krone',
'NPR' => 'Nepálska rupia',
'NZD' => 'Novozélandský dolár',
'OMR' => 'Ománský rial',
'PAB' => 'Panamská balboa',
'PEI' => 'Peruvský inti',
'PEN' => 'Peruvský sol Nuevo',
'PES' => 'Peruvský sol',
'PGK' => 'Papua Nová Guinea kina',
'PHP' => 'Filipínske peso',
'PKR' => 'Pakistanská rupia',
'PLN' => 'Polský zloty',
'PLZ' => 'Polský zloty (1950-1995)',
'PTE' => 'Portugalské eskudo',
'PYG' => 'Paraguayské guarani',
'QAR' => 'Qatarský rial',
'RHD' => 'Rhodesian Dollar',
'ROL' => 'Rumunský leu',
'ROL' => 'Rumunský leu',
'RON' => 'Romanian Leu',
'RUB' => 'Ruský rubeľ',
'RUR' => 'Ruský rubeľ (1991-1998)',
'RWF' => 'Rwandský frank',
'SAR' => 'Saudský riyal',
'SBD' => 'Solomon Islands dolár',
'SCR' => 'SejÅ¡elská rupia',
'SDD' => 'Sudánsky dinár',
'SDP' => 'Sudánska libra',
'SEK' => 'Å védska krona',
'SGD' => 'Singapúrsky dolár',
'RUB' => 'Ruský rubeľ',
'RUR' => 'Ruský rubeľ (1991-1998)',
'RWF' => 'Rwandský frank',
'SAR' => 'Saudský riyal',
'SBD' => 'Solomon Islands dolár',
'SCR' => 'Sejšelská rupia',
'SDD' => 'Sudánsky dinár',
'SDP' => 'Sudánska libra',
'SEK' => 'Švédska krona',
'SGD' => 'Singapúrsky dolár',
'SHP' => 'Libra',
'SIT' => 'Slovinský Tolar',
'SKK' => 'Slovenská koruna',
'SIT' => 'Slovinský Tolar',
'SKK' => 'Slovenská koruna',
'SLL' => 'Sierra Leone Leone',
'SOS' => 'Somálsky Å¡iling',
'SOS' => 'Somálsky šiling',
'SRD' => 'Surinam Dollar',
'SRG' => 'Surinamský guilder',
'SRG' => 'Surinamský guilder',
'STD' => 'Sao Tome a Principe dobra',
'SUR' => 'Sovietský rubeľ',
'SVC' => 'El Salvadorský colon',
'SYP' => 'Syrská libra',
'SUR' => 'Sovietský rubeľ',
'SVC' => 'El Salvadorský colon',
'SYP' => 'Syrská libra',
'SZL' => 'Swaziland lilangeni',
'THB' => 'Thajský bát',
'TJR' => 'Tadžikistanský rubeľ',
'TJS' => 'Tadžikistanský somoni',
'TMM' => 'Turkménsky manat',
'TND' => 'Tuniský dinár',
'THB' => 'Thajský bát',
'TJR' => 'Tadžikistanský rubeľ',
'TJS' => 'Tadžikistanský somoni',
'TMM' => 'Turkménsky manat',
'TND' => 'Tuniský dinár',
'TOP' => 'Tonga Paʻanga',
'TPE' => 'Timorské eskudo',
'TRL' => 'Turecká lira',
'TPE' => 'Timorské eskudo',
'TRL' => 'Turecká lira',
'TRY' => 'New Turkish Lira',
'TTD' => 'Trinidad a Tobago dolár',
'TWD' => 'Taiwanský nový dolár',
'TZS' => 'Tanzanský Å¡iling',
'UAH' => 'Ukrainská hrivna',
'UAK' => 'Ukrainský karbovanetz',
'TTD' => 'Trinidad a Tobago dolár',
'TWD' => 'Taiwanský nový dolár',
'TZS' => 'Tanzanský šiling',
'UAH' => 'Ukrainská hrivna',
'UAK' => 'Ukrainský karbovanetz',
'UGS' => 'Ugandan šiling (1966-1987)',
'UGX' => 'Ugandský Å¡iling',
'USD' => 'US dolár',
'USN' => 'US dolár (Next day)',
'USS' => 'US dolár (Same day)',
'UYP' => 'Uruguajské peso (1975-1993)',
'UYU' => 'Uruguajské peso Uruguayo',
'UZS' => 'Uzbekistanský sum',
'VEB' => 'Venezuelský bolivar',
'VND' => 'Vietnamský dong',
'UGX' => 'Ugandský šiling',
'USD' => 'US dolár',
'USN' => 'US dolár (Next day)',
'USS' => 'US dolár (Same day)',
'UYP' => 'Uruguajské peso (1975-1993)',
'UYU' => 'Uruguajské peso Uruguayo',
'UZS' => 'Uzbekistanský sum',
'VEB' => 'Venezuelský bolivar',
'VND' => 'Vietnamský dong',
'VUV' => 'Vanuatu vatu',
'WST' => 'Západná Samoa tala',
'WST' => 'Západná Samoa tala',
'XAF' => 'CFA frank BEAC',
'XAG' => 'Silver',
'XAU' => 'Zlato',
244,11 → 244,11
'XBB' => 'European Monetary Unit',
'XBC' => 'European Unit of Account (XBC)',
'XBD' => 'European Unit of Account (XBD)',
'XCD' => 'East Caribbean dolár',
'XDR' => 'Å peciálne práva čerpania',
'XCD' => 'East Caribbean dolár',
'XDR' => 'Špeciálne práva čerpania',
'XEU' => 'European Currency Unit',
'XFO' => 'Francúzsky zlatý frank',
'XFU' => 'Francúzsky UIC-frank',
'XFO' => 'Francúzsky zlatý frank',
'XFU' => 'Francúzsky UIC-frank',
'XOF' => 'CFA frank BCEAO',
'XPD' => 'Palladium',
'XPF' => 'CFP frank',
256,16 → 256,16
'XRE' => 'RINET Funds',
'XTS' => 'Testing Currency Code',
'XXX' => 'No Currency',
'YDD' => 'Jemenský dinár',
'YER' => 'Jemenský rial',
'YUD' => 'Juhoslávsky dinár',
'YUM' => 'Juhoslávsky Noviy dinár',
'YUN' => 'Juhoslávsky dinár',
'ZAL' => 'Juhoafrický rand (financial)',
'ZAR' => 'Juhoafrický rand',
'ZMK' => 'Zambská kwacha',
'ZRN' => 'Zairský nový zaire',
'ZRZ' => 'Zairský Zaire',
'ZWD' => 'Zimbabský dolár',
'YDD' => 'Jemenský dinár',
'YER' => 'Jemenský rial',
'YUD' => 'Juhoslávsky dinár',
'YUM' => 'Juhoslávsky Noviy dinár',
'YUN' => 'Juhoslávsky dinár',
'ZAL' => 'Juhoafrický rand (financial)',
'ZAR' => 'Juhoafrický rand',
'ZMK' => 'Zambská kwacha',
'ZRN' => 'Zairský nový zaire',
'ZRZ' => 'Zairský Zaire',
'ZWD' => 'Zimbabský dolár',
);
?>
/trunk/api/pear/I18Nv2/Currency/da.php
17,7 → 17,7
'ARA' => 'Argentinsk austral',
'ARP' => 'Argentinsk peso (1983-1985)',
'ARS' => 'Argentinsk peso',
'ATS' => 'Østrigsk schilling',
'ATS' => 'Østrigsk schilling',
'AUD' => 'Australsk dollar',
'AWG' => 'Arubansk gylden',
'AZM' => 'Aserbajdsjansk manat',
67,7 → 67,7
'CVE' => 'Kapverdisk escudo',
'CYP' => 'Cypriotisk pund',
'CZK' => 'Tjekkisk koruna',
'DDM' => 'Østtysk mark',
'DDM' => 'Østtysk mark',
'DEM' => 'Tysk mark',
'DJF' => 'Djiboutisk franc',
'DKK' => 'Dansk krone',
86,7 → 86,7
'EUR' => 'Euro',
'FIM' => 'Finsk mark',
'FJD' => 'Fijiansk dollar',
'FKP' => 'Pund fra Falklandsøerne',
'FKP' => 'Pund fra Falklandsøerne',
'FRF' => 'Fransk franc',
'GBP' => 'Britisk pund',
'GEK' => 'Georgisk kupon larit',
96,8 → 96,8
'GMD' => 'Gambisk dalasi',
'GNF' => 'Guineansk franc',
'GNS' => 'Guineansk syli',
'GQE' => 'Ækvatorialguineask ekwele guineana',
'GRD' => 'Græsk drachma',
'GQE' => 'Ækvatorialguineask ekwele guineana',
'GRD' => 'Græsk drachma',
'GTQ' => 'Guatemalansk quetzal',
'GWE' => 'Portugisisk guinea escudo',
'GWP' => 'Guineansk peso',
127,7 → 127,7
'KPW' => 'Nordkoreansk won',
'KRW' => 'Sydkoreansk won',
'KWD' => 'Kuwaitisk dinar',
'KYD' => 'Dollar fra Caymanøerne',
'KYD' => 'Dollar fra Caymanøerne',
'KZT' => 'Kasakhisk tenge',
'LAK' => 'Laotisk kip',
'LBP' => 'Libanesisk pund',
187,7 → 187,7
'PYG' => 'Paraguaysk guarani',
'QAR' => 'Qatarsk rial',
'RHD' => 'Rhodesian Dollar',
'ROL' => 'Rumænsk leu',
'ROL' => 'Rumænsk leu',
'RON' => 'Romanian Leu',
'RUB' => 'Russisk rubel',
'RUR' => 'Russisk rubel (1991-1998)',
228,7 → 228,7
'UGS' => 'Ugandisk shilling (1966-1987)',
'UGX' => 'Ugandisk shilling',
'USD' => 'Amerikanske dollar',
'USN' => 'Amerikansk dollar (næste dag)',
'USN' => 'Amerikansk dollar (næste dag)',
'USS' => 'Amerikansk dollar (samme dag)',
'UYP' => 'Uruguaysk peso (1975-1993)',
'UYU' => 'Uruguaysk peso uruguayo',
244,7 → 244,7
'XBB' => 'European Monetary Unit',
'XBC' => 'European Unit of Account (XBC)',
'XBD' => 'European Unit of Account (XBD)',
'XCD' => 'Øst-karaibisk dollar',
'XCD' => 'Øst-karaibisk dollar',
'XDR' => 'Special Drawing Rights',
'XEU' => 'European Currency Unit',
'XFO' => 'Fransk guldfranc',
/trunk/api/pear/I18Nv2/Currency/sv.php
4,12 → 4,12
*/
$this->codes = array(
'ADP' => 'Andorransk peseta',
'AED' => 'Förenade arabemiratens dirham',
'AED' => 'Förenade arabemiratens dirham',
'AFA' => 'Afghani (1927-2002)',
'AFN' => 'Afghani',
'ALL' => 'Albansk lek',
'AMD' => 'Armenisk dram',
'ANG' => 'Nederländsk antillisk gulden',
'ANG' => 'Nederländsk antillisk gulden',
'AOA' => 'Angolansk kwanza',
'AOK' => 'Angolansk kwanza (1977-1990)',
'AON' => 'Angolansk ny kwanza (1990-2000)',
17,7 → 17,7
'ARA' => 'Argentinsk austral',
'ARP' => 'Argentinsk peso (1983-1985)',
'ARS' => 'Argentinsk peso',
'ATS' => 'Österrikisk schilling',
'ATS' => 'Österrikisk schilling',
'AUD' => 'Australisk dollar',
'AWG' => 'Aruba-florin',
'AZM' => 'Azerbajdzjansk manat',
28,7 → 28,7
'BEC' => 'Belgisk franc (konvertibel)',
'BEF' => 'Belgisk franc',
'BEL' => 'Belgisk franc (finansiell)',
'BGL' => 'Bulgarisk hård lev',
'BGL' => 'Bulgarisk hård lev',
'BGN' => 'Bulgarisk ny lev',
'BHD' => 'Bahrainsk dinar',
'BIF' => 'Burundisk franc',
60,14 → 60,14
'CNY' => 'Kinesisk yuan renminbi',
'COP' => 'Colombiansk peso',
'COU' => 'Unidad de Valor Real',
'CRC' => 'Costarikansk colón',
'CRC' => 'Costarikansk colón',
'CSD' => 'Serbian Dinar',
'CSK' => 'Tjeckisk hård koruna',
'CSK' => 'Tjeckisk hård koruna',
'CUP' => 'Kubansk peso',
'CVE' => 'Kapverdisk escudo',
'CYP' => 'Cypriotiskt pund',
'CZK' => 'Tjeckisk koruna',
'DDM' => 'Östtysk mark',
'DDM' => 'Östtysk mark',
'DEM' => 'Tysk mark',
'DJF' => 'Djiboutisk franc',
'DKK' => 'Dansk krona',
86,7 → 86,7
'EUR' => 'Euro',
'FIM' => 'Finsk mark',
'FJD' => 'Fijiansk dollar',
'FKP' => 'Falklandsöarnas pund',
'FKP' => 'Falklandsöarnas pund',
'FRF' => 'Fransk franc',
'GBP' => 'Brittiskt pund sterling',
'GEK' => 'Georgisk kupon larit',
109,13 → 109,13
'HTG' => 'Haitisk gourde',
'HUF' => 'Ungersk forint',
'IDR' => 'Indonesisk rupiah',
'IEP' => 'Irländskt pund',
'IEP' => 'Irländskt pund',
'ILP' => 'Israeliskt pund',
'ILS' => 'Israelisk ny shekel',
'INR' => 'Indisk rupie',
'IQD' => 'Irakisk dinar',
'IRR' => 'Iransk rial',
'ISK' => 'Isländsk krona',
'ISK' => 'Isländsk krona',
'ITL' => 'Italiensk lira',
'JMD' => 'Jamaicansk dollar',
'JOD' => 'Jordansk dinar',
163,16 → 163,16
'MXP' => 'Mexikansk silverpeso (1861-1992)',
'MXV' => 'Mexikansk Unidad de Inversion (UDI)',
'MYR' => 'Malaysisk ringgit',
'MZE' => 'Moçambikisk escudo',
'MZM' => 'Moçambikisk metical',
'MZE' => 'Moçambikisk escudo',
'MZM' => 'Moçambikisk metical',
'NAD' => 'Namibisk dollar',
'NGN' => 'Nigeriansk naira',
'NIC' => 'Nicaraguansk córdoba',
'NIO' => 'Nicaraguansk córdoba oro',
'NLG' => 'Nederländsk gulden',
'NIC' => 'Nicaraguansk córdoba',
'NIO' => 'Nicaraguansk córdoba oro',
'NLG' => 'Nederländsk gulden',
'NOK' => 'Norsk krona',
'NPR' => 'Nepalesisk rupie',
'NZD' => 'Nyzeeländsk dollar',
'NZD' => 'Nyzeeländsk dollar',
'OMR' => 'Omansk rial',
'PAB' => 'Panamansk balboa',
'PEI' => 'Peruansk inti',
187,7 → 187,7
'PYG' => 'Paraguaysk guarani',
'QAR' => 'Qatarisk rial',
'RHD' => 'Rhodesian Dollar',
'ROL' => 'Rumänsk leu',
'ROL' => 'Rumänsk leu',
'RON' => 'Romanian Leu',
'RUB' => 'Rysk rubel',
'RUR' => 'Rysk rubel (1991-1998)',
206,12 → 206,12
'SOS' => 'Somalisk shilling',
'SRD' => 'Surinam Dollar',
'SRG' => 'Surinamesisk gulden',
'STD' => 'São Tomé och Príncipe-dobra',
'STD' => 'São Tomé och Príncipe-dobra',
'SUR' => 'Sovjetisk rubel',
'SVC' => 'Salvadoransk colón',
'SVC' => 'Salvadoransk colón',
'SYP' => 'Syriskt pund',
'SZL' => 'Swaziländsk lilangeni',
'THB' => 'Thailändsk baht',
'SZL' => 'Swaziländsk lilangeni',
'THB' => 'Thailändsk baht',
'TJR' => 'Tadzjikisk rubel',
'TJS' => 'Tadzjikisk somoni',
'TMM' => 'Turkmensk manat',
228,7 → 228,7
'UGS' => 'Ugandisk shilling (1966-1987)',
'UGX' => 'Ugandisk shilling',
'USD' => 'US-dollar',
'USN' => 'US-dollar (nästa dag)',
'USN' => 'US-dollar (nästa dag)',
'USS' => 'US-dollar (samma dag)',
'UYP' => 'Uruguayansk peso (1975-1993)',
'UYU' => 'Uruguayansk peso uruguayo',
236,7 → 236,7
'VEB' => 'Venezuelansk bolivar',
'VND' => 'Vietnamesisk dong',
'VUV' => 'Vanuatisk vatu',
'WST' => 'Västsamoansk tala',
'WST' => 'Västsamoansk tala',
'XAF' => 'CFA Franc BEAC',
'XAG' => 'Silver',
'XAU' => 'Gold',
244,7 → 244,7
'XBB' => 'European Monetary Unit',
'XBC' => 'European Unit of Account (XBC)',
'XBD' => 'European Unit of Account (XBD)',
'XCD' => 'Östkaribisk dollar',
'XCD' => 'Östkaribisk dollar',
'XDR' => 'Special Drawing Rights',
'XEU' => 'European Currency Unit',
'XFO' => 'Fransk guldfranc',
258,7 → 258,7
'XXX' => 'No Currency',
'YDD' => 'Jemenitisk dinar',
'YER' => 'Jemenitisk rial',
'YUD' => 'Jugoslavisk hård dinar',
'YUD' => 'Jugoslavisk hård dinar',
'YUM' => 'Dinar (Serbien och Montenegro)',
'YUN' => 'Jugoslavisk konvertibel dinar',
'ZAL' => 'Sydafrikansk rand (finansiell)',
/trunk/api/pear/I18Nv2/Currency/de.php
17,7 → 17,7
'ARA' => 'Argentinischer Austral',
'ARP' => 'Argentinischer Peso (1983-1985)',
'ARS' => 'Argentinischer Peso',
'ATS' => 'Österreichischer Schilling',
'ATS' => 'Österreichischer Schilling',
'AUD' => 'Australischer Dollar',
'AWG' => 'Aruba Florin',
'AZM' => 'Aserbeidschan Manat',
70,13 → 70,13
'DDM' => 'East German Ostmark',
'DEM' => 'Deutsche Mark',
'DJF' => 'Dschibuti-Franc',
'DKK' => 'Dänische Krone',
'DKK' => 'Dänische Krone',
'DOP' => 'Dominikanischer Peso',
'DZD' => 'Algerischer Dinar',
'ECS' => 'Ecuadorianischer Sucre',
'ECV' => 'Verrechnungseinheit für EC',
'ECV' => 'Verrechnungseinheit für EC',
'EEK' => 'Estnische Krone',
'EGP' => 'Ägyptisches Pfund',
'EGP' => 'Ägyptisches Pfund',
'EQE' => 'Ekwele',
'ERN' => 'Nakfa',
'ESA' => 'Spanish Peseta (A account)',
87,7 → 87,7
'FIM' => 'Finnische Mark',
'FJD' => 'Fidschi Dollar',
'FKP' => 'Falkland Pfund',
'FRF' => 'Französischer Franc',
'FRF' => 'Französischer Franc',
'GBP' => 'Pfund Sterling',
'GEK' => 'Georgischer Kupon Larit',
'GEL' => 'Georgischer Lari',
96,7 → 96,7
'GMD' => 'Dalasi',
'GNF' => 'Guinea Franc',
'GNS' => 'Guinea Syli',
'GQE' => 'Äquatorialguinea Ekwele Guineana',
'GQE' => 'Äquatorialguinea Ekwele Guineana',
'GRD' => 'Griechische Drachme',
'GTQ' => 'Quetzal',
'GWE' => 'Portugiesisch Guinea Escudo',
115,7 → 115,7
'INR' => 'Indische Rupie',
'IQD' => 'Irak Dinar',
'IRR' => 'Rial',
'ISK' => 'Isländische Krone',
'ISK' => 'Isländische Krone',
'ITL' => 'Italienische Lire',
'JMD' => 'Jamaika Dollar',
'JOD' => 'Jordanischer Dinar',
125,7 → 125,7
'KHR' => 'Riel',
'KMF' => 'Komoren Franc',
'KPW' => 'Nordkoreanischer Won',
'KRW' => 'Südkoreanischer Won',
'KRW' => 'Südkoreanischer Won',
'KWD' => 'Kuwait Dinar',
'KYD' => 'Kaiman-Dollar',
'KZT' => 'Tenge',
169,7 → 169,7
'NGN' => 'Naira',
'NIC' => 'Cordoba',
'NIO' => 'Gold-Cordoba',
'NLG' => 'Holländischer Gulden',
'NLG' => 'Holländischer Gulden',
'NOK' => 'Norwegische Krone',
'NPR' => 'Nepalesische Rupie',
'NZD' => 'Neuseeland Dollar',
218,8 → 218,8
'TND' => 'Tunesischer Dinar',
'TOP' => 'Paʻanga',
'TPE' => 'Timor Escudo',
'TRL' => 'Türkische Lira',
'TRY' => 'Neue Türkische Lira',
'TRL' => 'Türkische Lira',
'TRY' => 'Neue Türkische Lira',
'TTD' => 'Trinidad und Tobago Dollar',
'TWD' => 'Neuer Taiwan Dollar',
'TZS' => 'Tansania Schilling',
228,7 → 228,7
'UGS' => 'Uganda Schilling (1966-1987)',
'UGX' => 'Uganda Schilling',
'USD' => 'US Dollar',
'USN' => 'US Dollar (Nächster Tag)',
'USN' => 'US Dollar (Nächster Tag)',
'USS' => 'US Dollar (Gleicher Tag)',
'UYP' => 'Uruguay Peso (1975-1993)',
'UYU' => 'Uruguayischer Peso',
237,18 → 237,18
'VND' => 'Dong',
'VUV' => 'Vatu',
'WST' => 'Tala',
'XAF' => 'CFA Franc (Äquatorial)',
'XAF' => 'CFA Franc (Äquatorial)',
'XAG' => 'Silver',
'XAU' => 'Gold',
'XBA' => 'Europäische Rechnungseinheit',
'XBA' => 'Europäische Rechnungseinheit',
'XBB' => 'European Monetary Unit',
'XBC' => 'Europäische Rechnungseinheit (XBC)',
'XBD' => 'Europäische Rechnungseinheit (XBD)',
'XBC' => 'Europäische Rechnungseinheit (XBC)',
'XBD' => 'Europäische Rechnungseinheit (XBD)',
'XCD' => 'Ostkaribischer Dollar',
'XDR' => 'Sonderziehungsrechte',
'XEU' => 'European Currency Unit',
'XFO' => 'Französischer Gold-Franc',
'XFU' => 'Französischer UIC-Franc',
'XFO' => 'Französischer Gold-Franc',
'XFU' => 'Französischer UIC-Franc',
'XOF' => 'CFA Franc (West)',
'XPD' => 'Palladium',
'XPF' => 'CFP Franc',
/trunk/api/pear/I18Nv2/Currency/pl.php
96,7 → 96,7
'GMD' => 'dalasi gambijskie',
'GNF' => 'frank gwinejski',
'GNS' => 'syli gwinejskie',
'GQE' => 'ekwele gwinejskie Gwinei Równikowej',
'GQE' => 'ekwele gwinejskie Gwinei Równikowej',
'GRD' => 'drachma grecka',
'GTQ' => 'quetzal gwatemalski',
'GWE' => 'escudo Gwinea Portugalska',
124,7 → 124,7
'KGS' => 'som kirgiski',
'KHR' => 'riel kambodżański',
'KMF' => 'frank komoryjski',
'KPW' => 'won północnokoreański',
'KPW' => 'won północnokoreański',
'KRW' => 'won południowokoreański',
'KWD' => 'dinar kuwejcki',
'KYD' => 'dolar kajmański',
/trunk/api/pear/I18Nv2/Currency/hu.php
7,36 → 7,36
'AED' => 'EAE dirham',
'AFA' => 'Afghani (1927-2002)',
'AFN' => 'Afghani',
'ALL' => 'Albán lek',
'ALL' => 'Albán lek',
'AMD' => 'Dram',
'ANG' => 'Holland-antilla forint',
'AOA' => 'Angolai kwanza',
'AOK' => 'Angolai kwanza (1977-1990)',
'AON' => 'Angolai új kwanza (1990-2000)',
'AON' => 'Angolai új kwanza (1990-2000)',
'AOR' => 'Angolai kwanza reajustado (1995-1999)',
'ARA' => 'Argentín austral',
'ARP' => 'Argentín peso (1983-1985)',
'ARA' => 'Argentín austral',
'ARP' => 'Argentín peso (1983-1985)',
'ARS' => 'Peso',
'ATS' => 'Osztrák schilling',
'AUD' => 'Ausztrál dollár',
'ATS' => 'Osztrák schilling',
'AUD' => 'Ausztrál dollár',
'AWG' => 'Arubai forint',
'AZM' => 'Azerbajdzsáni manat',
'BAD' => 'Bosznia-hercegovinai dínár',
'BAM' => 'Bozsnia-hercegovinai konvertibilis márka',
'BBD' => 'Barbadosi dollár',
'AZM' => 'Azerbajdzsáni manat',
'BAD' => 'Bosznia-hercegovinai dínár',
'BAM' => 'Bozsnia-hercegovinai konvertibilis márka',
'BBD' => 'Barbadosi dollár',
'BDT' => 'Bangladesi taka',
'BEC' => 'Belga frank (konvertibilis)',
'BEF' => 'Belga frank',
'BEL' => 'Belga frank (pénzügyi)',
'BGL' => 'Bolgár kemény leva',
'BGN' => 'Bolgár új leva',
'BHD' => 'Bahreini dinár',
'BEL' => 'Belga frank (pénzügyi)',
'BGL' => 'Bolgár kemény leva',
'BGN' => 'Bolgár új leva',
'BHD' => 'Bahreini dinár',
'BIF' => 'Burundi frank',
'BMD' => 'Bermudai dollár',
'BND' => 'Brunei dollár',
'BMD' => 'Bermudai dollár',
'BND' => 'Brunei dollár',
'BOB' => 'Boliviano',
'BOP' => 'Bolíviai peso',
'BOV' => 'Bolíviai mvdol',
'BOP' => 'Bolíviai peso',
'BOV' => 'Bolíviai mvdol',
'BRB' => 'Brazi cruzeiro novo (1967-1986)',
'BRC' => 'Brazi cruzado',
'BRE' => 'Brazil cruzeiro (1990-1993)',
43,39 → 43,39
'BRL' => 'Brazil real',
'BRN' => 'Brazil cruzado novo',
'BRR' => 'Brazil cruzeiro',
'BSD' => 'Bahamai dollár',
'BTN' => 'Bhutáni ngultrum',
'BSD' => 'Bahamai dollár',
'BTN' => 'Bhutáni ngultrum',
'BUK' => 'Burmai kyat',
'BWP' => 'Botswanai pula',
'BYB' => 'Fehérorosz új rubel (1994-1999)',
'BYR' => 'Fehérorosz rubel',
'BZD' => 'Belizei dollár',
'CAD' => 'Kanadai dollár',
'CDF' => 'Kongói frank',
'BYB' => 'Fehérorosz új rubel (1994-1999)',
'BYR' => 'Fehérorosz rubel',
'BZD' => 'Belizei dollár',
'CAD' => 'Kanadai dollár',
'CDF' => 'Kongói frank',
'CHE' => 'WIR Euro',
'CHF' => 'Svájci frank',
'CHF' => 'Svájci frank',
'CHW' => 'WIR Franc',
'CLF' => 'Chilei unidades de fomento',
'CLP' => 'Chilei peso',
'CNY' => 'Kínai jüan renminbi',
'CNY' => 'Kínai jüan renminbi',
'COP' => 'Kolumbiai peso',
'COU' => 'Unidad de Valor Real',
'CRC' => 'Costa Ricai colon',
'CSD' => 'Serbian Dinar',
'CSK' => 'Csehszlovák kemény korona',
'CSK' => 'Csehszlovák kemény korona',
'CUP' => 'Kubai peso',
'CVE' => 'Cape Verdei escudo',
'CYP' => 'Ciprusi font',
'CZK' => 'Cseh korona',
'DDM' => 'Kelet-Német márka',
'DEM' => 'Német márka',
'DDM' => 'Kelet-Német márka',
'DEM' => 'Német márka',
'DJF' => 'Dzsibuti frank',
'DKK' => 'Dán korona',
'DKK' => 'Dán korona',
'DOP' => 'Dominikai peso',
'DZD' => 'Algériai dínár',
'DZD' => 'Algériai dínár',
'ECS' => 'Ecuadori sucre',
'ECV' => 'Ecuadori Unidad de Valor Constante (UVC)',
'EEK' => 'Észt korona',
'EEK' => 'Észt korona',
'EGP' => 'Egyiptomi font',
'EQE' => 'Ekwele',
'ERN' => 'Eritreai nakfa',
82,159 → 82,159
'ESA' => 'Spanish Peseta (A account)',
'ESB' => 'Spanish Peseta (convertible account)',
'ESP' => 'Spanyol peseta',
'ETB' => 'Etiópiai birr',
'ETB' => 'Etiópiai birr',
'EUR' => 'Euro',
'FIM' => 'Finn markka',
'FJD' => 'Fidzsi dollár',
'FJD' => 'Fidzsi dollár',
'FKP' => 'Falkland-szigeteki font',
'FRF' => 'Francia frank',
'GBP' => 'Brit font sterling',
'GEK' => 'Grúz kupon larit',
'GEL' => 'Grúz lari',
'GHC' => 'Ghánai cedi',
'GIP' => 'Gibraltári font',
'GEK' => 'Grúz kupon larit',
'GEL' => 'Grúz lari',
'GHC' => 'Ghánai cedi',
'GIP' => 'Gibraltári font',
'GMD' => 'Gambiai dalasi',
'GNF' => 'Guineai frank',
'GNS' => 'Guineai syli',
'GQE' => 'Egyenlítői-guineai ekwele guineana',
'GRD' => 'Görög drachma',
'GQE' => 'Egyenlítői-guineai ekwele guineana',
'GRD' => 'Görög drachma',
'GTQ' => 'Guatemalai quetzal',
'GWE' => 'Portugál guinea escudo',
'GWE' => 'Portugál guinea escudo',
'GWP' => 'Guinea-Bissaui peso',
'GYD' => 'Guyanai dollár',
'HKD' => 'Hongkongi dollár',
'GYD' => 'Guyanai dollár',
'HKD' => 'Hongkongi dollár',
'HNL' => 'Hodurasi lempira',
'HRD' => 'Horvát dínár',
'HRK' => 'Horvát kuna',
'HRD' => 'Horvát dínár',
'HRK' => 'Horvát kuna',
'HTG' => 'Haiti gourde',
'HUF' => 'Magyar forint',
'IDR' => 'Indonéz rúpia',
'IEP' => 'Ír font',
'IDR' => 'Indonéz rúpia',
'IEP' => 'Ír font',
'ILP' => 'Izraeli font',
'ILS' => 'Izraeli új sékel',
'INR' => 'Indiai rúpia',
'IQD' => 'Iraki dínár',
'IRR' => 'Iráni rial',
'ILS' => 'Izraeli új sékel',
'INR' => 'Indiai rúpia',
'IQD' => 'Iraki dínár',
'IRR' => 'Iráni rial',
'ISK' => 'Izlandi korona',
'ITL' => 'Olasz líra',
'JMD' => 'Jamaikai dollár',
'JOD' => 'Jordániai dínár',
'JPY' => 'Japán jen',
'ITL' => 'Olasz líra',
'JMD' => 'Jamaikai dollár',
'JOD' => 'Jordániai dínár',
'JPY' => 'Japán jen',
'KES' => 'Kenyai shilling',
'KGS' => 'Kirgizisztáni szom',
'KGS' => 'Kirgizisztáni szom',
'KHR' => 'Kambodzsai riel',
'KMF' => 'Comorei frank',
'KPW' => 'Észak-koreai won',
'KRW' => 'Dél-koreai won',
'KWD' => 'Kuvaiti dínár',
'KYD' => 'Kajmán-szigeteki dollár',
'KZT' => 'Kazahsztáni tenge',
'KPW' => 'Észak-koreai won',
'KRW' => 'Dél-koreai won',
'KWD' => 'Kuvaiti dínár',
'KYD' => 'Kajmán-szigeteki dollár',
'KZT' => 'Kazahsztáni tenge',
'LAK' => 'Laoszi kip',
'LBP' => 'Libanoni font',
'LKR' => 'Sri Lankai rúpia',
'LRD' => 'Libériai dollár',
'LKR' => 'Sri Lankai rúpia',
'LRD' => 'Libériai dollár',
'LSL' => 'Lesothoi loti',
'LSM' => 'Maloti',
'LTL' => 'Litvániai litas',
'LTT' => 'Litvániai talonas',
'LTL' => 'Litvániai litas',
'LTT' => 'Litvániai talonas',
'LUC' => 'Luxembourg Convertible Franc',
'LUF' => 'Luxemburgi frank',
'LUL' => 'Luxembourg Financial Franc',
'LVL' => 'Lett lats',
'LVR' => 'Lett rubel',
'LYD' => 'Líbiai dínár',
'MAD' => 'Marokkói dirham',
'MAF' => 'Marokkói frank',
'MDL' => 'Moldován lei',
'MGA' => 'Madagaszkári ariary',
'MGF' => 'Madagaszkári frank',
'MKD' => 'Macedon dínár',
'LYD' => 'Líbiai dínár',
'MAD' => 'Marokkói dirham',
'MAF' => 'Marokkói frank',
'MDL' => 'Moldován lei',
'MGA' => 'Madagaszkári ariary',
'MGF' => 'Madagaszkári frank',
'MKD' => 'Macedon dínár',
'MLF' => 'Mali frank',
'MMK' => 'Mianmari kyat',
'MNT' => 'Mongóliai tugrik',
'MNT' => 'Mongóliai tugrik',
'MOP' => 'Macaoi pataca',
'MRO' => 'Mauritániai ouguiya',
'MTL' => 'Máltai líra',
'MTP' => 'Máltai font',
'MUR' => 'Mauritiusi rúpia',
'MVR' => 'Maldív-szigeteki rufiyaa',
'MRO' => 'Mauritániai ouguiya',
'MTL' => 'Máltai líra',
'MTP' => 'Máltai font',
'MUR' => 'Mauritiusi rúpia',
'MVR' => 'Maldív-szigeteki rufiyaa',
'MWK' => 'Malawi kwacha',
'MXN' => 'Mexikói peso',
'MXP' => 'Mexikói ezüst peso (1861-1992)',
'MXV' => 'Mexikói Unidad de Inversion (UDI)',
'MXN' => 'Mexikói peso',
'MXP' => 'Mexikói ezüst peso (1861-1992)',
'MXV' => 'Mexikói Unidad de Inversion (UDI)',
'MYR' => 'Malajziai ringgit',
'MZE' => 'Mozambik escudo',
'MZM' => 'Mozambik metical',
'NAD' => 'Namíbiai dollár',
'NGN' => 'Nigériai naira',
'NAD' => 'Namíbiai dollár',
'NGN' => 'Nigériai naira',
'NIC' => 'Nikaraguai cordoba',
'NIO' => 'Nikaraguai cordoba oro',
'NLG' => 'Holland forint',
'NOK' => 'Norvég korona',
'NPR' => 'Nepáli rúpia',
'NZD' => 'Új-zélandi dollár',
'OMR' => 'Ománi rial',
'NOK' => 'Norvég korona',
'NPR' => 'Nepáli rúpia',
'NZD' => 'Új-zélandi dollár',
'OMR' => 'Ománi rial',
'PAB' => 'Panamai balboa',
'PEI' => 'Perui inti',
'PEN' => 'Perui sol nuevo',
'PES' => 'Perui sol',
'PGK' => 'Pápua új-guineai kina',
'PHP' => 'Fülöp-szigeteki peso',
'PKR' => 'Pakisztáni rúpia',
'PGK' => 'Pápua új-guineai kina',
'PHP' => 'Fülöp-szigeteki peso',
'PKR' => 'Pakisztáni rúpia',
'PLN' => 'Lengyel zloty',
'PLZ' => 'Lengyel zloty (1950-1995)',
'PTE' => 'Portugál escudo',
'PTE' => 'Portugál escudo',
'PYG' => 'Paraguayi guarani',
'QAR' => 'Katari rial',
'RHD' => 'Rhodesian Dollar',
'ROL' => 'Román lej',
'ROL' => 'Román lej',
'RON' => 'Romanian Leu',
'RUB' => 'Orosz rubel',
'RUR' => 'Orosz rubel (1991-1998)',
'RWF' => 'Ruandai frank',
'SAR' => 'Szaúdi riyal',
'SBD' => 'Salamon-szigeteki dollár',
'SCR' => 'Seychelle-szigeteki rúpia',
'SDD' => 'Szudáni dínár',
'SDP' => 'Szudáni font',
'SEK' => 'Svéd korona',
'SGD' => 'Szingapúri dollár',
'SAR' => 'Szaúdi riyal',
'SBD' => 'Salamon-szigeteki dollár',
'SCR' => 'Seychelle-szigeteki rúpia',
'SDD' => 'Szudáni dínár',
'SDP' => 'Szudáni font',
'SEK' => 'Svéd korona',
'SGD' => 'Szingapúri dollár',
'SHP' => 'Saint Helena font',
'SIT' => 'Szlovén tolar',
'SKK' => 'Szlovák korona',
'SIT' => 'Szlovén tolar',
'SKK' => 'Szlovák korona',
'SLL' => 'Sierra Leonei leone',
'SOS' => 'Szomáli shilling',
'SOS' => 'Szomáli shilling',
'SRD' => 'Surinam Dollar',
'SRG' => 'Suriname-i gulden',
'STD' => 'Sao tome-i és principe-i dobra',
'STD' => 'Sao tome-i és principe-i dobra',
'SUR' => 'Szovjet rubel',
'SVC' => 'Salvadori colón',
'SYP' => 'Szíriai font',
'SZL' => 'Szváziföldi lilangeni',
'SVC' => 'Salvadori colón',
'SYP' => 'Szíriai font',
'SZL' => 'Szváziföldi lilangeni',
'THB' => 'Thai baht',
'TJR' => 'Tádzsikisztáni rubel',
'TJS' => 'Tádzsikisztáni somoni',
'TMM' => 'Türkmenisztáni manat',
'TND' => 'Tunéziai dínár',
'TJR' => 'Tádzsikisztáni rubel',
'TJS' => 'Tádzsikisztáni somoni',
'TMM' => 'Türkmenisztáni manat',
'TND' => 'Tunéziai dínár',
'TOP' => 'Tonga Paʻanga',
'TPE' => 'Timori escudo',
'TRL' => 'Török líra',
'TRY' => 'Új török líra',
'TTD' => 'Trinidad és tobagoi dollár',
'TWD' => 'Tajvani új dollár',
'TZS' => 'Tanzániai shilling',
'UAH' => 'Ukrán hrivnya',
'UAK' => 'Ukrán karbovanec',
'TRL' => 'Török líra',
'TRY' => 'Új török líra',
'TTD' => 'Trinidad és tobagoi dollár',
'TWD' => 'Tajvani új dollár',
'TZS' => 'Tanzániai shilling',
'UAH' => 'Ukrán hrivnya',
'UAK' => 'Ukrán karbovanec',
'UGS' => 'Ugandai shilling (1966-1987)',
'UGX' => 'Ugandai shilling',
'USD' => 'USA dollár',
'USN' => 'USA dollár (következő napi)',
'USS' => 'USA dollár (aznapi)',
'USD' => 'USA dollár',
'USN' => 'USA dollár (következő napi)',
'USS' => 'USA dollár (aznapi)',
'UYP' => 'Uruguay-i peso (1975-1993)',
'UYU' => 'Uruguay-i peso uruguayo',
'UZS' => 'Üzbegisztáni szum',
'VEB' => 'Venezuelai bolívar',
'VND' => 'Vietnámi dong',
'UZS' => 'Üzbegisztáni szum',
'VEB' => 'Venezuelai bolívar',
'VND' => 'Vietnámi dong',
'VUV' => 'Vanuatui vatu',
'WST' => 'Nyugat-szamoai tala',
'XAF' => 'CFA frank BEAC',
244,7 → 244,7
'XBB' => 'European Monetary Unit',
'XBC' => 'European Unit of Account (XBC)',
'XBD' => 'European Unit of Account (XBD)',
'XCD' => 'Kelet-karibi dollár',
'XCD' => 'Kelet-karibi dollár',
'XDR' => 'Special Drawing Rights',
'XEU' => 'European Currency Unit',
'XFO' => 'Francia arany frank',
256,16 → 256,16
'XRE' => 'RINET Funds',
'XTS' => 'Testing Currency Code',
'XXX' => 'No Currency',
'YDD' => 'Jemeni dínár',
'YDD' => 'Jemeni dínár',
'YER' => 'Jemeni rial',
'YUD' => 'Jugoszláv kemény dínár',
'YUM' => 'Jugoszláv új dínár',
'YUN' => 'Jugoszláv konvertibilis dínár',
'ZAL' => 'Dél-afrikai rand (pénzügyi)',
'ZAR' => 'Dél-afrikai rand',
'YUD' => 'Jugoszláv kemény dínár',
'YUM' => 'Jugoszláv új dínár',
'YUN' => 'Jugoszláv konvertibilis dínár',
'ZAL' => 'Dél-afrikai rand (pénzügyi)',
'ZAR' => 'Dél-afrikai rand',
'ZMK' => 'Zambiai kwacha',
'ZRN' => 'Zairei új zaire',
'ZRN' => 'Zairei új zaire',
'ZRZ' => 'Zairei zaire',
'ZWD' => 'Zimbabwei dollár',
'ZWD' => 'Zimbabwei dollár',
);
?>
/trunk/api/pear/I18Nv2/Currency/pt.php
4,11 → 4,11
*/
$this->codes = array(
'ADP' => 'Peseta de Andorra',
'AED' => 'Dirém dos Emirados Árabes Unidos',
'AED' => 'Dirém dos Emirados Árabes Unidos',
'AFA' => 'Afegane (1927-2002)',
'AFN' => 'Afegane',
'ALL' => 'Lek Albanês',
'AMD' => 'Dram Arménio',
'ALL' => 'Lek Albanês',
'AMD' => 'Dram Arménio',
'ANG' => 'Guilder das Antilhas Holandesas',
'AOA' => 'Cuanza angolano',
'AOK' => 'Cuanza angolano (1977-1990)',
17,23 → 17,23
'ARA' => 'Austral argentino',
'ARP' => 'Peso argentino (1983-1985)',
'ARS' => 'Peso argentino',
'ATS' => 'Xelim austríaco',
'AUD' => 'Dólar australiano',
'ATS' => 'Xelim austríaco',
'AUD' => 'Dólar australiano',
'AWG' => 'Guilder de Aruba',
'AZM' => 'Manat azerbaijano',
'BAD' => 'Dinar da Bósnia-Herzegóvina',
'BAM' => 'Marco bósnio-herzegóvino conversível',
'BBD' => 'Dólar de Barbados',
'BAD' => 'Dinar da Bósnia-Herzegóvina',
'BAM' => 'Marco bósnio-herzegóvino conversível',
'BBD' => 'Dólar de Barbados',
'BDT' => 'Taka de Bangladesh',
'BEC' => 'Franco belga (conversível)',
'BEC' => 'Franco belga (conversível)',
'BEF' => 'Franco belga',
'BEL' => 'Franco belga (financeiro)',
'BGL' => 'Lev forte búlgaro',
'BGN' => 'Lev novo búlgaro',
'BGL' => 'Lev forte búlgaro',
'BGN' => 'Lev novo búlgaro',
'BHD' => 'Dinar bareinita',
'BIF' => 'Franco do Burundi',
'BMD' => 'Dólar das Bermudas',
'BND' => 'Dólar do Brunei',
'BMD' => 'Dólar das Bermudas',
'BND' => 'Dólar do Brunei',
'BOB' => 'Boliviano',
'BOP' => 'Peso boliviano',
'BOV' => 'Mvdol boliviano',
43,21 → 43,21
'BRL' => 'Real brasileiro',
'BRN' => 'Cruzado novo brasileiro',
'BRR' => 'Cruzeiro brasileiro',
'BSD' => 'Dólar das Bahamas',
'BTN' => 'Ngultrum do Butão',
'BUK' => 'Kyat birmanês',
'BSD' => 'Dólar das Bahamas',
'BTN' => 'Ngultrum do Butão',
'BUK' => 'Kyat birmanês',
'BWP' => 'Pula botsuanesa',
'BYB' => 'Rublo novo bielo-russo (1994-1999)',
'BYR' => 'Rublo bielo-russo',
'BZD' => 'Dólar do Belize',
'CAD' => 'Dólar canadense',
'CDF' => 'Franco congolês',
'BZD' => 'Dólar do Belize',
'CAD' => 'Dólar canadense',
'CDF' => 'Franco congolês',
'CHE' => 'WIR Euro',
'CHF' => 'Franco suíço',
'CHF' => 'Franco suíço',
'CHW' => 'WIR Franc',
'CLF' => 'Unidades de Fomento chilenas',
'CLP' => 'Peso chileno',
'CNY' => 'Yuan Renminbi chinês',
'CNY' => 'Yuan Renminbi chinês',
'COP' => 'Peso colombiano',
'COU' => 'Unidad de Valor Real',
'CRC' => 'Colon da Costa Rica',
66,9 → 66,9
'CUP' => 'Peso cubano',
'CVE' => 'Escudo cabo-verdiano',
'CYP' => 'Libra de Chipre',
'CZK' => 'Coroa da República Checa',
'CZK' => 'Coroa da República Checa',
'DDM' => 'Ostmark da Alemanha Oriental',
'DEM' => 'Marco alemão',
'DEM' => 'Marco alemão',
'DJF' => 'Franco do Djibuti',
'DKK' => 'Coroa dinamarquesa',
'DOP' => 'Peso dominicano',
76,39 → 76,39
'ECS' => 'Sucre equatoriano',
'ECV' => 'Unidad de Valor Constante (UVC) do Equador',
'EEK' => 'Coroa estoniana',
'EGP' => 'Libra egípcia',
'EGP' => 'Libra egípcia',
'EQE' => 'Ekwele',
'ERN' => 'Nakfa da Eritréia',
'ERN' => 'Nakfa da Eritréia',
'ESA' => 'Spanish Peseta (A account)',
'ESB' => 'Spanish Peseta (convertible account)',
'ESP' => 'Peseta espanhola',
'ETB' => 'Birr etíope',
'ETB' => 'Birr etíope',
'EUR' => 'Euro',
'FIM' => 'Marca finlandesa',
'FJD' => 'Dólar de Fiji',
'FJD' => 'Dólar de Fiji',
'FKP' => 'Libra das Malvinas',
'FRF' => 'Franco francês',
'GBP' => 'Libra esterlina britânica',
'FRF' => 'Franco francês',
'GBP' => 'Libra esterlina britânica',
'GEK' => 'Cupom Lari georgiano',
'GEL' => 'Lari georgiano',
'GHC' => 'Cedi de Gana',
'GIP' => 'Libra de Gibraltar',
'GMD' => 'Dalasi de Gâmbia',
'GNF' => 'Franco de Guiné',
'GNS' => 'Syli de Guiné',
'GQE' => 'Ekwele de Guiné Equatorial',
'GMD' => 'Dalasi de Gâmbia',
'GNF' => 'Franco de Guiné',
'GNS' => 'Syli de Guiné',
'GQE' => 'Ekwele de Guiné Equatorial',
'GRD' => 'Dracma grego',
'GTQ' => 'Quetçal da Guatemala',
'GWE' => 'Escudo da Guiné Portuguesa',
'GWP' => 'Peso da Guiné-Bissau',
'GYD' => 'Dólar da Guiana',
'HKD' => 'Dólar de Hong Kong',
'GTQ' => 'Quetçal da Guatemala',
'GWE' => 'Escudo da Guiné Portuguesa',
'GWP' => 'Peso da Guiné-Bissau',
'GYD' => 'Dólar da Guiana',
'HKD' => 'Dólar de Hong Kong',
'HNL' => 'Lempira de Honduras',
'HRD' => 'Dinar croata',
'HRK' => 'Kuna croata',
'HTG' => 'Gurde do Haiti',
'HUF' => 'Forinte húngaro',
'IDR' => 'Rupia indonésia',
'HUF' => 'Forinte húngaro',
'IDR' => 'Rupia indonésia',
'IEP' => 'Libra irlandesa',
'ILP' => 'Libra israelita',
'ILS' => 'Sheqel Novo israelita',
117,73 → 117,73
'IRR' => 'Rial iraniano',
'ISK' => 'Coroa islandesa',
'ITL' => 'Lira italiana',
'JMD' => 'Dólar jamaicano',
'JMD' => 'Dólar jamaicano',
'JOD' => 'Dinar jordaniano',
'JPY' => 'Iene japonês',
'JPY' => 'Iene japonês',
'KES' => 'Xelim queniano',
'KGS' => 'Som de Quirguistão',
'KGS' => 'Som de Quirguistão',
'KHR' => 'Riel cambojano',
'KMF' => 'Franco de Comores',
'KPW' => 'Won norte-coreano',
'KRW' => 'Won sul-coreano',
'KWD' => 'Dinar coveitiano',
'KYD' => 'Dólar das Ilhas Caimão',
'KZT' => 'Tenge do Cazaquistão',
'KYD' => 'Dólar das Ilhas Caimão',
'KZT' => 'Tenge do Cazaquistão',
'LAK' => 'Kip de Laos',
'LBP' => 'Libra libanesa',
'LKR' => 'Rupia de Sri Lanka',
'LRD' => 'Dólar liberiano',
'LRD' => 'Dólar liberiano',
'LSL' => 'Loti de Lesoto',
'LSM' => 'Maloti',
'LTL' => 'Lita lituano',
'LTT' => 'Talonas lituano',
'LUC' => 'Luxembourg Convertible Franc',
'LUF' => 'Franco luxemburguês',
'LUF' => 'Franco luxemburguês',
'LUL' => 'Luxembourg Financial Franc',
'LVL' => 'Lats letão',
'LVR' => 'Rublo letão',
'LYD' => 'Dinar líbio',
'MAD' => 'Dirém marroquino',
'LVL' => 'Lats letão',
'LVR' => 'Rublo letão',
'LYD' => 'Dinar líbio',
'MAD' => 'Dirém marroquino',
'MAF' => 'Franco marroquino',
'MDL' => 'Leu de Moldávia',
'MDL' => 'Leu de Moldávia',
'MGA' => 'Ariary de Madagascar',
'MGF' => 'Franco de Madagascar',
'MKD' => 'Dinar macedônio',
'MKD' => 'Dinar macedônio',
'MLF' => 'Franco de Mali',
'MMK' => 'Kyat de Mianmar',
'MNT' => 'Tugrik mongol',
'MOP' => 'Pataca macaense',
'MRO' => 'Ouguiya da Mauritânia',
'MRO' => 'Ouguiya da Mauritânia',
'MTL' => 'Lira maltesa',
'MTP' => 'Libra maltesa',
'MUR' => 'Rupia de Maurício',
'MUR' => 'Rupia de Maurício',
'MVR' => 'Rupias das Ilhas Maldivas',
'MWK' => 'Cuacha do Maláui',
'MWK' => 'Cuacha do Maláui',
'MXN' => 'Peso mexicano',
'MXP' => 'Peso Plata mexicano (1861-1992)',
'MXV' => 'Unidad de Inversion (UDI) mexicana',
'MYR' => 'Ringgit malaio',
'MZE' => 'Escudo de Moçambique',
'MZM' => 'Metical de Moçambique',
'NAD' => 'Dólar da Namíbia',
'MZE' => 'Escudo de Moçambique',
'MZM' => 'Metical de Moçambique',
'NAD' => 'Dólar da Namíbia',
'NGN' => 'Naira nigeriana',
'NIC' => 'Córdoba nicaraguano',
'NIO' => 'Córdoba Ouro nicaraguano',
'NLG' => 'Guilder holandês',
'NIC' => 'Córdoba nicaraguano',
'NIO' => 'Córdoba Ouro nicaraguano',
'NLG' => 'Guilder holandês',
'NOK' => 'Coroa norueguesa',
'NPR' => 'Rupia nepalesa',
'NZD' => 'Dólar da Nova Zelândia',
'OMR' => 'Rial de Omã',
'NZD' => 'Dólar da Nova Zelândia',
'OMR' => 'Rial de Omã',
'PAB' => 'Balboa panamenho',
'PEI' => 'Inti peruano',
'PEN' => 'Sol Novo peruano',
'PES' => 'Sol peruano',
'PGK' => 'Kina da Papua-Nova Guiné',
'PGK' => 'Kina da Papua-Nova Guiné',
'PHP' => 'Peso filipino',
'PKR' => 'Rupia paquistanesa',
'PLN' => 'Zloti polonês',
'PLZ' => 'Zloti polonês (1950-1995)',
'PTE' => 'Escudo português',
'PLN' => 'Zloti polonês',
'PLZ' => 'Zloti polonês (1950-1995)',
'PTE' => 'Escudo português',
'PYG' => 'Guarani paraguaio',
'QAR' => 'Rial catariano',
'RHD' => 'Rhodesian Dollar',
191,14 → 191,14
'RON' => 'Romanian Leu',
'RUB' => 'Rublo russo',
'RUR' => 'Rublo russo (1991-1998)',
'RWF' => 'Franco ruandês',
'RWF' => 'Franco ruandês',
'SAR' => 'Rial saudita',
'SBD' => 'Dólar das Ilhas Salomão',
'SBD' => 'Dólar das Ilhas Salomão',
'SCR' => 'Rupia das Seychelles',
'SDD' => 'Dinar sudanês',
'SDD' => 'Dinar sudanês',
'SDP' => 'Libra sudanesa',
'SEK' => 'Coroa sueca',
'SGD' => 'Dólar de Cingapura',
'SGD' => 'Dólar de Cingapura',
'SHP' => 'Libra de Santa Helena',
'SIT' => 'Tolar Bons esloveno',
'SKK' => 'Coroa eslovaca',
206,34 → 206,34
'SOS' => 'Xelim somali',
'SRD' => 'Surinam Dollar',
'SRG' => 'Guilder do Suriname',
'STD' => 'Dobra de São Tomé e Príncipe',
'SUR' => 'Rublo soviético',
'STD' => 'Dobra de São Tomé e Príncipe',
'SUR' => 'Rublo soviético',
'SVC' => 'Colom salvadorenho',
'SYP' => 'Libra síria',
'SZL' => 'Lilangeni da Suazilândia',
'THB' => 'Baht tailandês',
'TJR' => 'Rublo do Tadjiquistão',
'SYP' => 'Libra síria',
'SZL' => 'Lilangeni da Suazilândia',
'THB' => 'Baht tailandês',
'TJR' => 'Rublo do Tadjiquistão',
'TJS' => 'Somoni tadjique',
'TMM' => 'Manat do Turcomenistão',
'TMM' => 'Manat do Turcomenistão',
'TND' => 'Dinar tunisiano',
'TOP' => 'Paʻanga de Tonga',
'TPE' => 'Escudo timorense',
'TRL' => 'Lira turca',
'TRY' => 'New Turkish Lira',
'TTD' => 'Dólar de Trinidad e Tobago',
'TWD' => 'Dólar Novo de Taiwan',
'TZS' => 'Xelim de Tanzânia',
'TTD' => 'Dólar de Trinidad e Tobago',
'TWD' => 'Dólar Novo de Taiwan',
'TZS' => 'Xelim de Tanzânia',
'UAH' => 'Hryvnia ucraniano',
'UAK' => 'Karbovanetz ucraniano',
'UGS' => 'Xelim ugandense (1966-1987)',
'UGX' => 'Xelim ugandense',
'USD' => 'Dólar norte-americano',
'USN' => 'Dólar norte-americano (Dia seguinte)',
'USS' => 'Dólar norte-americano (Mesmo dia)',
'USD' => 'Dólar norte-americano',
'USN' => 'Dólar norte-americano (Dia seguinte)',
'USS' => 'Dólar norte-americano (Mesmo dia)',
'UYP' => 'Peso uruguaio (1975-1993)',
'UYU' => 'Peso uruguaio',
'UZS' => 'Sum do Usbequistão',
'VEB' => 'Bolívar venezuelano',
'UZS' => 'Sum do Usbequistão',
'VEB' => 'Bolívar venezuelano',
'VND' => 'Dong vietnamita',
'VUV' => 'Vatu de Vanuatu',
'WST' => 'Tala de Samoa Ocidental',
240,15 → 240,15
'XAF' => 'Franco CFA BEAC',
'XAG' => 'Silver',
'XAU' => 'Ouro',
'XBA' => 'Unidade Composta Européia',
'XBB' => 'Unidade Monetária Européia',
'XBC' => 'Unidade de Conta Européia (XBC)',
'XBD' => 'Unidade de Conta Européia (XBD)',
'XCD' => 'Dólar do Caribe Oriental',
'XBA' => 'Unidade Composta Européia',
'XBB' => 'Unidade Monetária Européia',
'XBC' => 'Unidade de Conta Européia (XBC)',
'XBD' => 'Unidade de Conta Européia (XBD)',
'XCD' => 'Dólar do Caribe Oriental',
'XDR' => 'Direitos Especiais de Giro',
'XEU' => 'Unidade Monetária Européia',
'XFO' => 'Franco-ouro francês',
'XFU' => 'Franco UIC francês',
'XEU' => 'Unidade Monetária Européia',
'XFO' => 'Franco-ouro francês',
'XFU' => 'Franco UIC francês',
'XOF' => 'Franco CFA BCEAO',
'XPD' => 'Palladium',
'XPF' => 'Franco CFP',
260,12 → 260,12
'YER' => 'Rial iemenita',
'YUD' => 'Dinar forte iugoslavo',
'YUM' => 'Super Dinar iugoslavo',
'YUN' => 'Dinar conversível iugoslavo',
'YUN' => 'Dinar conversível iugoslavo',
'ZAL' => 'Rand sul-africano (financeiro)',
'ZAR' => 'Rand sul-africano',
'ZMK' => 'Cuacha zambiano',
'ZRN' => 'Zaire Novo zairense',
'ZRZ' => 'Zaire zairense',
'ZWD' => 'Dólar do Zimbábwe',
'ZWD' => 'Dólar do Zimbábwe',
);
?>
/trunk/api/pear/I18Nv2/Currency/tr.php
25,9 → 25,9
'BAM' => 'Konvertibl Bosna Hersek Markı',
'BBD' => 'Barbados Doları',
'BDT' => 'Bangladeş Takası',
'BEC' => 'Belçika Frangı (konvertibl)',
'BEF' => 'Belçika Frangı',
'BEL' => 'Belçika Frangı (finansal)',
'BEC' => 'Belçika Frangı (konvertibl)',
'BEF' => 'Belçika Frangı',
'BEL' => 'Belçika Frangı (finansal)',
'BGL' => 'Bulgar Levası (Hard)',
'BGN' => 'Yeni Bulgar Levası',
'BHD' => 'Bahreyn Dinarı',
53,20 → 53,20
'CAD' => 'Kanada Doları',
'CDF' => 'Kongo Frangı',
'CHE' => 'WIR Euro',
'CHF' => 'Ä°sviçre Frangı',
'CHF' => 'İsviçre Frangı',
'CHW' => 'WIR Franc',
'CLF' => 'Şili Unidades de Fomento',
'CLP' => 'Şili Pezosu',
'CNY' => 'Çin Yuanı Renminbi',
'CNY' => 'Çin Yuanı Renminbi',
'COP' => 'Kolombiya Pezosu',
'COU' => 'Unidad de Valor Real',
'CRC' => 'Kosta Rika Kolonu',
'CSD' => 'Serbian Dinar',
'CSK' => 'Çekoslavak Korunası (Hard)',
'CUP' => 'Küba Pezosu',
'CVE' => 'Cape Verde Esküdosu',
'CYP' => 'Güney Kıbrıs Lirası',
'CZK' => 'Çek Cumhuriyeti Korunası',
'CSK' => 'Çekoslavak Korunası (Hard)',
'CUP' => 'Küba Pezosu',
'CVE' => 'Cape Verde Esküdosu',
'CYP' => 'Güney Kıbrıs Lirası',
'CZK' => 'Çek Cumhuriyeti Korunası',
'DDM' => 'Doğu Alman Markı',
'DEM' => 'Alman Markı',
'DJF' => 'Cibuti Frangı',
89,8 → 89,8
'FKP' => 'Falkland Adaları Lirası',
'FRF' => 'Fransız Frangı',
'GBP' => 'İngiliz Sterlini',
'GEK' => 'Gürcistan Kupon Larisi',
'GEL' => 'Gürcistan Larisi',
'GEK' => 'Gürcistan Kupon Larisi',
'GEL' => 'Gürcistan Larisi',
'GHC' => 'Gana Sedisi',
'GIP' => 'Cebelitarık Lirası',
'GMD' => 'Gambiya Dalasisi',
99,7 → 99,7
'GQE' => 'Ekvator Ginesi Ekuelesi',
'GRD' => 'Yunan Drahmisi',
'GTQ' => 'Guatemala Ketzali',
'GWE' => 'Portekiz Ginesi Esküdosu',
'GWE' => 'Portekiz Ginesi Esküdosu',
'GWP' => 'Gine-Bissau Pezosu',
'GYD' => 'Guyana Doları',
'HKD' => 'Hong Kong Doları',
118,19 → 118,19
'ISK' => 'İzlanda Kronu',
'ITL' => 'İtalyan Lireti',
'JMD' => 'Jamaika Doları',
'JOD' => 'Ürdün Dinarı',
'JOD' => 'Ürdün Dinarı',
'JPY' => 'Japon Yeni',
'KES' => 'Kenya Şilini',
'KGS' => 'Kırgız Somu',
'KHR' => 'Kamboçya Rieli',
'KHR' => 'Kamboçya Rieli',
'KMF' => 'Komorlar Frangı',
'KPW' => 'Kuzey Kore Wonu',
'KRW' => 'Güney Kore Wonu',
'KRW' => 'Güney Kore Wonu',
'KWD' => 'Kuveyt Dinarı',
'KYD' => 'Kayman Adaları Doları',
'KZT' => 'Kazakistan Tengesi',
'LAK' => 'Laos Kipi',
'LBP' => 'Lübnan Lirası',
'LBP' => 'Lübnan Lirası',
'LKR' => 'Sri Lanka Rupisi',
'LRD' => 'Liberya Doları',
'LSL' => 'Lesotho Lotisi',
138,7 → 138,7
'LTL' => 'Litvanya Litası',
'LTT' => 'Litvanya Talonu',
'LUC' => 'Luxembourg Convertible Franc',
'LUF' => 'Lüksemburg Frangı',
'LUF' => 'Lüksemburg Frangı',
'LUL' => 'Luxembourg Financial Franc',
'LVL' => 'Letonya Latı',
'LVR' => 'Letonya Rublesi',
158,12 → 158,12
'MTP' => 'Malta Lirası',
'MUR' => 'Mauritius Rupisi',
'MVR' => 'Maldiv Adaları Rufiyaa',
'MWK' => 'Malavi Kvaçası',
'MWK' => 'Malavi Kvaçası',
'MXN' => 'Meksika Pezosu',
'MXP' => 'Gümüş Meksika Pezosu (1861-1992)',
'MXP' => 'Gümüş Meksika Pezosu (1861-1992)',
'MXV' => 'Meksika Unidad de Inversion (UDI)',
'MYR' => 'Malezya Ringiti',
'MZE' => 'Mozambik Esküdosu',
'MZE' => 'Mozambik Esküdosu',
'MZM' => 'Mozambik Meticalı',
'NAD' => 'Namibya Doları',
'NGN' => 'Nijerya Nairası',
170,7 → 170,7
'NIC' => 'Nikaragua Kordobası',
'NIO' => 'Nikaragua Kordobası (Oro)',
'NLG' => 'Hollanda Florini',
'NOK' => 'Norveç Kronu',
'NOK' => 'Norveç Kronu',
'NPR' => 'Nepal Rupisi',
'NZD' => 'Yeni Zelanda Doları',
'OMR' => 'Umman Riyali',
183,7 → 183,7
'PKR' => 'Pakistan Rupisi',
'PLN' => 'Polonya Zlotisi',
'PLZ' => 'Polonya Zlotisi (1950-1995)',
'PTE' => 'Portekiz Esküdosu',
'PTE' => 'Portekiz Esküdosu',
'PYG' => 'Paraguay Guaranisi',
'QAR' => 'Katar Riyali',
'RHD' => 'Rhodesian Dollar',
197,7 → 197,7
'SCR' => 'Seyşeller Rupisi',
'SDD' => 'Sudan Dinarı',
'SDP' => 'Sudan Lirası',
'SEK' => 'Ä°sveç Kronu',
'SEK' => 'İsveç Kronu',
'SGD' => 'Singapur Doları',
'SHP' => 'Saint Helena Lirası',
'SIT' => 'Slovenya Toları',
214,12 → 214,12
'THB' => 'Tayland Bahtı',
'TJR' => 'Tacikistan Rublesi',
'TJS' => 'Tacikistan Somonisi',
'TMM' => 'Türkmenistan Manatı',
'TMM' => 'Türkmenistan Manatı',
'TND' => 'Tunus Dinarı',
'TOP' => 'Tonga Paʻangası',
'TPE' => 'Timor Esküdosu',
'TRL' => 'Türk Lirası',
'TRY' => 'Yeni Türk Lirası',
'TPE' => 'Timor Esküdosu',
'TRL' => 'Türk Lirası',
'TRY' => 'Yeni Türk Lirası',
'TTD' => 'Trinidad ve Tobago Doları',
'TWD' => 'Yeni Tayvan Doları',
'TZS' => 'Tanzanya Şilini',
228,11 → 228,11
'UGS' => 'Uganda Şilini (1966-1987)',
'UGX' => 'Uganda Şilini',
'USD' => 'ABD Doları',
'USN' => 'ABD Doları (Ertesi gün)',
'USS' => 'ABD Doları (Aynı gün)',
'USN' => 'ABD Doları (Ertesi gün)',
'USS' => 'ABD Doları (Aynı gün)',
'UYP' => 'Uruguay Pezosu (1975-1993)',
'UYU' => 'Uruguay Pezosu (Uruguayo)',
'UZS' => 'Özbekistan Sumu',
'UZS' => 'Özbekistan Sumu',
'VEB' => 'Venezuela Bolivarı',
'VND' => 'Vietnam Dongu',
'VUV' => 'Vanuatu Vatusu',
245,7 → 245,7
'XBC' => 'Avrupa Hesap Birimi (XBC)',
'XBD' => 'Avrupa Hesap Birimi (XBD)',
'XCD' => 'Doğu Karayip Doları',
'XDR' => 'Özel Çekme Hakkı (SDR)',
'XDR' => 'Özel Çekme Hakkı (SDR)',
'XEU' => 'Avrupa Para Birimi',
'XFO' => 'Fransız Altın Frangı',
'XFU' => 'Fransız UIC-Frangı',
261,9 → 261,9
'YUD' => 'Yugoslav Dinarı (Hard)',
'YUM' => 'Yeni Yugoslav Dinarı',
'YUN' => 'Konvertibl Yugoslav Dinarı',
'ZAL' => 'Güney Afrika Randı (finansal)',
'ZAR' => 'Güney Afrika Randı',
'ZMK' => 'Zambiya Kvaçası',
'ZAL' => 'Güney Afrika Randı (finansal)',
'ZAR' => 'Güney Afrika Randı',
'ZMK' => 'Zambiya Kvaçası',
'ZRN' => 'Yeni Zaire Zairesi',
'ZRZ' => 'Zaire Zairesi',
'ZWD' => 'Zimbabwe Doları',
/trunk/api/pear/I18Nv2/Currency/es.php
4,54 → 4,54
*/
$this->codes = array(
'ADP' => 'peseta andorrana',
'AED' => 'dirham de los Emiratos Árabes Unidos',
'AED' => 'dirham de los Emiratos Árabes Unidos',
'AFA' => 'afgani (1927-2002)',
'AFN' => 'afgani',
'ALL' => 'lek albanés',
'ALL' => 'lek albanés',
'AMD' => 'dram armenio',
'ANG' => 'florín de las Antillas Neerlandesas',
'AOA' => 'kwanza angoleño',
'AOK' => 'kwanza angoleño (1977-1990)',
'AON' => 'nuevo kwanza angoleño (1990-2000)',
'AOR' => 'kwanza reajustado angoleño (1995-1999)',
'ANG' => 'florín de las Antillas Neerlandesas',
'AOA' => 'kwanza angoleño',
'AOK' => 'kwanza angoleño (1977-1990)',
'AON' => 'nuevo kwanza angoleño (1990-2000)',
'AOR' => 'kwanza reajustado angoleño (1995-1999)',
'ARA' => 'austral argentino',
'ARP' => 'peso argentino (1983-1985)',
'ARS' => 'peso argentino',
'ATS' => 'chelín austriaco',
'AUD' => 'dólar australiano',
'AWG' => 'florín de Aruba',
'AZM' => 'manat azerí',
'ATS' => 'chelín austriaco',
'AUD' => 'dólar australiano',
'AWG' => 'florín de Aruba',
'AZM' => 'manat azerí',
'BAD' => 'dinar bosnio',
'BAM' => 'marco bosnio convertible',
'BBD' => 'dólar de Barbados',
'BBD' => 'dólar de Barbados',
'BDT' => 'taka de Bangladesh',
'BEC' => 'franco belga (convertible)',
'BEF' => 'franco belga',
'BEL' => 'franco belga (financiero)',
'BGL' => 'lev fuerte búlgaro',
'BGN' => 'nuevo lev búlgaro',
'BHD' => 'dinar bahreiní',
'BGL' => 'lev fuerte búlgaro',
'BGN' => 'nuevo lev búlgaro',
'BHD' => 'dinar bahreiní',
'BIF' => 'franco de Burundi',
'BMD' => 'dólar de Bermudas',
'BND' => 'dólar de Brunéi',
'BMD' => 'dólar de Bermudas',
'BND' => 'dólar de Brunéi',
'BOB' => 'boliviano',
'BOP' => 'peso boliviano',
'BOV' => 'MVDOL boliviano',
'BRB' => 'nuevo cruceiro brasileño (1967-1986)',
'BRC' => 'cruzado brasileño',
'BRE' => 'cruceiro brasileño (1990-1993)',
'BRL' => 'real brasileño',
'BRN' => 'nuevo cruzado brasileño',
'BRR' => 'cruceiro brasileño',
'BSD' => 'dólar de las Bahamas',
'BTN' => 'ngultrum butanés',
'BRB' => 'nuevo cruceiro brasileño (1967-1986)',
'BRC' => 'cruzado brasileño',
'BRE' => 'cruceiro brasileño (1990-1993)',
'BRL' => 'real brasileño',
'BRN' => 'nuevo cruzado brasileño',
'BRR' => 'cruceiro brasileño',
'BSD' => 'dólar de las Bahamas',
'BTN' => 'ngultrum butanés',
'BUK' => 'kyat birmano',
'BWP' => 'pula botsuano',
'BYB' => 'nuevo rublo bielorruso (1994-1999)',
'BYR' => 'rublo bielorruso',
'BZD' => 'dólar de Belice',
'CAD' => 'dólar canadiense',
'CDF' => 'franco congoleño',
'BZD' => 'dólar de Belice',
'CAD' => 'dólar canadiense',
'CDF' => 'franco congoleño',
'CHE' => 'WIR Euro',
'CHF' => 'franco suizo',
'CHW' => 'WIR Franc',
60,7 → 60,7
'CNY' => 'yuan renminbi chino',
'COP' => 'peso colombiano',
'COU' => 'Unidad de Valor Real',
'CRC' => 'colón costarricense',
'CRC' => 'colón costarricense',
'CSD' => 'Serbian Dinar',
'CSK' => 'corona fuerte checoslovaca',
'CUP' => 'peso cubano',
68,7 → 68,7
'CYP' => 'libra chipriota',
'CZK' => 'corona checa',
'DDM' => 'ostmark de Alemania del Este',
'DEM' => 'marco alemán',
'DEM' => 'marco alemán',
'DJF' => 'franco de Yibuti',
'DKK' => 'corona danesa',
'DOP' => 'peso dominicano',
81,17 → 81,17
'ERN' => 'nakfa eritreo',
'ESA' => 'Spanish Peseta (A account)',
'ESB' => 'Spanish Peseta (convertible account)',
'ESP' => 'peseta española',
'ETB' => 'birr etíope',
'ESP' => 'peseta española',
'ETB' => 'birr etíope',
'EUR' => 'euro',
'FIM' => 'marco finlandés',
'FJD' => 'dólar de las Islas Fiyi',
'FIM' => 'marco finlandés',
'FJD' => 'dólar de las Islas Fiyi',
'FKP' => 'libra de las Islas Malvinas',
'FRF' => 'franco francés',
'GBP' => 'libra esterlina británica',
'FRF' => 'franco francés',
'GBP' => 'libra esterlina británica',
'GEK' => 'kupon larit georgiano',
'GEL' => 'lari georgiano',
'GHC' => 'cedi ghanés',
'GHC' => 'cedi ghanés',
'GIP' => 'libra de Gibraltar',
'GMD' => 'dalasi gambiano',
'GNF' => 'franco guineo',
100,56 → 100,56
'GRD' => 'dracma griego',
'GTQ' => 'quetzal guatemalteco',
'GWE' => 'escudo de Guinea Portuguesa',
'GWP' => 'peso de Guinea-Bissáu',
'GYD' => 'dólar guyanés',
'HKD' => 'dólar de Hong Kong',
'HNL' => 'lempira hondureño',
'GWP' => 'peso de Guinea-Bissáu',
'GYD' => 'dólar guyanés',
'HKD' => 'dólar de Hong Kong',
'HNL' => 'lempira hondureño',
'HRD' => 'dinar croata',
'HRK' => 'kuna croata',
'HTG' => 'gourde haitiano',
'HUF' => 'forinto húngaro',
'HUF' => 'forinto húngaro',
'IDR' => 'rupia indonesia',
'IEP' => 'libra irlandesa',
'ILP' => 'libra israelí',
'ILS' => 'nuevo sheqel israelí',
'ILP' => 'libra israelí',
'ILS' => 'nuevo sheqel israelí',
'INR' => 'rupia india',
'IQD' => 'dinar iraquí',
'IRR' => 'rial iraní',
'IQD' => 'dinar iraquí',
'IRR' => 'rial iraní',
'ISK' => 'corona islandesa',
'ITL' => 'lira italiana',
'JMD' => 'dólar de Jamaica',
'JMD' => 'dólar de Jamaica',
'JOD' => 'dinar jordano',
'JPY' => 'yen japonés',
'KES' => 'chelín keniata',
'KGS' => 'som kirguís',
'JPY' => 'yen japonés',
'KES' => 'chelín keniata',
'KGS' => 'som kirguís',
'KHR' => 'riel camboyano',
'KMF' => 'franco comorense',
'KPW' => 'won norcoreano',
'KRW' => 'won surcoreano',
'KWD' => 'dinar kuwaití',
'KYD' => 'dólar de las Islas Caimán',
'KWD' => 'dinar kuwaití',
'KYD' => 'dólar de las Islas Caimán',
'KZT' => 'tenge kazako',
'LAK' => 'kip laosiano',
'LBP' => 'libra libanesa',
'LKR' => 'rupia de Sri Lanka',
'LRD' => 'dólar liberiano',
'LRD' => 'dólar liberiano',
'LSL' => 'loti lesothense',
'LSM' => 'Maloti',
'LTL' => 'litas lituano',
'LTT' => 'talonas lituano',
'LUC' => 'Luxembourg Convertible Franc',
'LUF' => 'franco luxemburgués',
'LUF' => 'franco luxemburgués',
'LUL' => 'Luxembourg Financial Franc',
'LVL' => 'lats letón',
'LVR' => 'rublo letón',
'LVL' => 'lats letón',
'LVR' => 'rublo letón',
'LYD' => 'dinar libio',
'MAD' => 'dirham marroquí',
'MAF' => 'franco marroquí',
'MAD' => 'dirham marroquí',
'MAF' => 'franco marroquí',
'MDL' => 'leu moldavo',
'MGA' => 'ariary malgache',
'MGF' => 'franco malgache',
'MKD' => 'dinar macedonio',
'MLF' => 'franco malí',
'MLF' => 'franco malí',
'MMK' => 'kyat de Myanmar',
'MNT' => 'tugrik mongol',
'MOP' => 'pataca de Macao',
161,30 → 161,30
'MWK' => 'kwacha de Malawi',
'MXN' => 'peso mexicano',
'MXP' => 'peso de plata mexicano (1861-1992)',
'MXV' => 'unidad de inversión (UDI) mexicana',
'MXV' => 'unidad de inversión (UDI) mexicana',
'MYR' => 'ringgit malasio',
'MZE' => 'escudo mozambiqueño',
'MZM' => 'metical mozambiqueño',
'NAD' => 'dólar de Namibia',
'MZE' => 'escudo mozambiqueño',
'MZM' => 'metical mozambiqueño',
'NAD' => 'dólar de Namibia',
'NGN' => 'naira nigeriano',
'NIC' => 'córdoba nicaragüense',
'NIO' => 'córdoba oro nicaragüense',
'NLG' => 'florín neerlandés',
'NIC' => 'córdoba nicaragüense',
'NIO' => 'córdoba oro nicaragüense',
'NLG' => 'florín neerlandés',
'NOK' => 'corona noruega',
'NPR' => 'rupia nepalesa',
'NZD' => 'dólar neozelandés',
'OMR' => 'rial omaní',
'PAB' => 'balboa panameño',
'NZD' => 'dólar neozelandés',
'OMR' => 'rial omaní',
'PAB' => 'balboa panameño',
'PEI' => 'inti peruano',
'PEN' => 'nuevo sol peruano',
'PES' => 'sol peruano',
'PGK' => 'kina de Papúa Nueva Guinea',
'PGK' => 'kina de Papúa Nueva Guinea',
'PHP' => 'peso filipino',
'PKR' => 'rupia pakistaní',
'PKR' => 'rupia pakistaní',
'PLN' => 'zloty polaco',
'PLZ' => 'zloty polaco (1950-1995)',
'PTE' => 'escudo portugués',
'PYG' => 'guaraní paraguayo',
'PTE' => 'escudo portugués',
'PYG' => 'guaraní paraguayo',
'QAR' => 'riyal de Qatar',
'RHD' => 'Rhodesian Dollar',
'ROL' => 'leu rumano',
191,27 → 191,27
'RON' => 'Romanian Leu',
'RUB' => 'rublo ruso',
'RUR' => 'rublo ruso (1991-1998)',
'RWF' => 'franco ruandés',
'SAR' => 'riyal saudí',
'SBD' => 'dólar de las Islas Salomón',
'RWF' => 'franco ruandés',
'SAR' => 'riyal saudí',
'SBD' => 'dólar de las Islas Salomón',
'SCR' => 'rupia de Seychelles',
'SDD' => 'dinar sudanés',
'SDD' => 'dinar sudanés',
'SDP' => 'libra sudanesa',
'SEK' => 'corona sueca',
'SGD' => 'dólar singapurense',
'SGD' => 'dólar singapurense',
'SHP' => 'libra de Santa Elena',
'SIT' => 'tólar esloveno',
'SIT' => 'tólar esloveno',
'SKK' => 'corona eslovaca',
'SLL' => 'leone de Sierra Leona',
'SOS' => 'chelín somalí',
'SOS' => 'chelín somalí',
'SRD' => 'Surinam Dollar',
'SRG' => 'florín surinamés',
'STD' => 'dobra de Santo Tomé y Príncipe',
'SUR' => 'rublo soviético',
'SVC' => 'colón salvadoreño',
'SRG' => 'florín surinamés',
'STD' => 'dobra de Santo Tomé y Príncipe',
'SUR' => 'rublo soviético',
'SVC' => 'colón salvadoreño',
'SYP' => 'libra siria',
'SZL' => 'lilangeni suazi',
'THB' => 'baht tailandés',
'THB' => 'baht tailandés',
'TJR' => 'rublo tayiko',
'TJS' => 'somoni tayiko',
'TMM' => 'manat turcomano',
220,20 → 220,20
'TPE' => 'escudo timorense',
'TRL' => 'lira turca',
'TRY' => 'New Turkish Lira',
'TTD' => 'dólar de Trinidad y Tobago',
'TWD' => 'nuevo dólar taiwanés',
'TZS' => 'chelín tanzano',
'TTD' => 'dólar de Trinidad y Tobago',
'TWD' => 'nuevo dólar taiwanés',
'TZS' => 'chelín tanzano',
'UAH' => 'grivna ucraniana',
'UAK' => 'karbovanet ucraniano',
'UGS' => 'chelín ugandés (1966-1987)',
'UGX' => 'chelín ugandés',
'USD' => 'dólar estadounidense',
'USN' => 'dólar estadounidense (día siguiente)',
'USS' => 'dólar estadounidense (mismo día)',
'UGS' => 'chelín ugandés (1966-1987)',
'UGX' => 'chelín ugandés',
'USD' => 'dólar estadounidense',
'USN' => 'dólar estadounidense (día siguiente)',
'USS' => 'dólar estadounidense (mismo día)',
'UYP' => 'peso uruguayo (1975-1993)',
'UYU' => 'peso uruguayo',
'UZS' => 'sum uzbeko',
'VEB' => 'bolívar venezolano',
'VEB' => 'bolívar venezolano',
'VND' => 'dong vietnamita',
'VUV' => 'vatu vanuatuense',
'WST' => 'tala samoano',
244,11 → 244,11
'XBB' => 'unidad monetaria europea',
'XBC' => 'unidad de cuenta europea (XBC)',
'XBD' => 'unidad de cuenta europea (XBD)',
'XCD' => 'dólar del Caribe Oriental',
'XCD' => 'dólar del Caribe Oriental',
'XDR' => 'derechos especiales de giro',
'XEU' => 'unidad de moneda europea',
'XFO' => 'franco oro francés',
'XFU' => 'franco UIC francés',
'XFO' => 'franco oro francés',
'XFU' => 'franco UIC francés',
'XOF' => 'franco CFA BCEAO',
'XPD' => 'Palladium',
'XPF' => 'franco CFP',
256,8 → 256,8
'XRE' => 'RINET Funds',
'XTS' => 'Testing Currency Code',
'XXX' => 'No Currency',
'YDD' => 'dinar yemení',
'YER' => 'rial yemení',
'YDD' => 'dinar yemení',
'YER' => 'rial yemení',
'YUD' => 'dinar fuerte yugoslavo',
'YUM' => 'super dinar yugoslavo',
'YUN' => 'dinar convertible yugoslavo',
264,8 → 264,8
'ZAL' => 'rand sudafricano (financiero)',
'ZAR' => 'rand sudafricano',
'ZMK' => 'kwacha zambiano',
'ZRN' => 'nuevo zaire zaireño',
'ZRZ' => 'zaire zaireño',
'ZWD' => 'dólar de Zimbabue',
'ZRN' => 'nuevo zaire zaireño',
'ZRZ' => 'zaire zaireño',
'ZWD' => 'dólar de Zimbabue',
);
?>
/trunk/api/pear/I18Nv2/Currency/is.php
4,7 → 4,7
*/
$this->codes = array(
'ADP' => 'Andorrskur peseti',
'AED' => 'Arabískt dírham',
'AED' => 'Arabískt dírham',
'AFA' => 'Afghani (1927-2002)',
'AFN' => 'Afghani',
'ALL' => 'Lek',
15,10 → 15,10
'AON' => 'Angolan New Kwanza (1990-2000)',
'AOR' => 'Angolan Kwanza Reajustado (1995-1999)',
'ARA' => 'Argentine Austral',
'ARP' => 'Argentískur pesi (1983-1985)',
'ARS' => 'Argentískur pesi',
'ATS' => 'Austurrískur skildingur',
'AUD' => 'Ástralskur dalur',
'ARP' => 'Argentískur pesi (1983-1985)',
'ARS' => 'Argentískur pesi',
'ATS' => 'Austurrískur skildingur',
'AUD' => 'Ástralskur dalur',
'AWG' => 'Aruban Guilder',
'AZM' => 'Azerbaijanian Manat',
'BAD' => 'Bosnia-Herzegovina Dinar',
26,31 → 26,31
'BBD' => 'Barbadoskur dalur',
'BDT' => 'Bangladesh Taka',
'BEC' => 'Belgian Franc (convertible)',
'BEF' => 'Belgískur franki',
'BEF' => 'Belgískur franki',
'BEL' => 'Belgian Franc (financial)',
'BGL' => 'Lef',
'BGN' => 'Lef, nýtt',
'BGN' => 'Lef, nýtt',
'BHD' => 'Bahraini Dinar',
'BIF' => 'Burundi Franc',
'BMD' => 'Bermúdeyskur dalur',
'BND' => 'Brúneiskur dalur',
'BMD' => 'Bermúdeyskur dalur',
'BND' => 'Brúneiskur dalur',
'BOB' => 'Boliviano',
'BOP' => 'Bólivískur pesi',
'BOP' => 'Bólivískur pesi',
'BOV' => 'Bolivian Mvdol',
'BRB' => 'Brazilian Cruzeiro Novo (1967-1986)',
'BRC' => 'Brazilian Cruzado',
'BRE' => 'Brazilian Cruzeiro (1990-1993)',
'BRL' => 'Brasilískt ríal',
'BRL' => 'Brasilískt ríal',
'BRN' => 'Brazilian Cruzado Novo',
'BRR' => 'Brazilian Cruzeiro',
'BSD' => 'Bahameyskur dalur',
'BTN' => 'Bhutan Ngultrum',
'BUK' => 'Búrmverskt kjat',
'BUK' => 'Búrmverskt kjat',
'BWP' => 'Botswanan Pula',
'BYB' => 'Belarussian New Ruble (1994-1999)',
'BYR' => 'Belarussian Ruble',
'BZD' => 'Belískur dalur',
'CAD' => 'Kanadískur dalur',
'BZD' => 'Belískur dalur',
'CAD' => 'Kanadískur dalur',
'CDF' => 'Congolese Franc Congolais',
'CHE' => 'WIR Euro',
'CHF' => 'Svissneskur franki',
57,35 → 57,35
'CHW' => 'WIR Franc',
'CLF' => 'Chilean Unidades de Fomento',
'CLP' => 'Chileskur pesi',
'CNY' => 'Júan',
'COP' => 'Kólumbískur pesi',
'CNY' => 'Júan',
'COP' => 'Kólumbískur pesi',
'COU' => 'Unidad de Valor Real',
'CRC' => 'Costa Rican Colon',
'CSD' => 'Serbian Dinar',
'CSK' => 'Tékknesk króna, eldri',
'CUP' => 'Kúbverskur pesi',
'CVE' => 'Grænhöfðeyskur skúti',
'CYP' => 'Kýpverskt pund',
'CZK' => 'Tékknesk króna',
'DDM' => 'Austurþýskt mark',
'DEM' => 'Þýskt mark',
'CSK' => 'Tékknesk króna, eldri',
'CUP' => 'Kúbverskur pesi',
'CVE' => 'Grænhöfðeyskur skúti',
'CYP' => 'Kýpverskt pund',
'CZK' => 'Tékknesk króna',
'DDM' => 'Austurþýskt mark',
'DEM' => 'Þýskt mark',
'DJF' => 'Djibouti Franc',
'DKK' => 'Dönsk króna',
'DOP' => 'Dóminískur pesi',
'DKK' => 'Dönsk króna',
'DOP' => 'Dóminískur pesi',
'DZD' => 'Algerian Dinar',
'ECS' => 'Ecuador Sucre',
'ECV' => 'Ecuador Unidad de Valor Constante (UVC)',
'EEK' => 'Eistnesk króna',
'EEK' => 'Eistnesk króna',
'EGP' => 'Egypskt pund',
'EQE' => 'Ekwele',
'ERN' => 'Eritrean Nakfa',
'ESA' => 'Spanish Peseta (A account)',
'ESB' => 'Spanish Peseta (convertible account)',
'ESP' => 'Spænskur peseti',
'ESP' => 'Spænskur peseti',
'ETB' => 'Ethiopian Birr',
'EUR' => 'Euro',
'FIM' => 'Finnskt mark',
'FJD' => 'Fídjeyskur dalur',
'FJD' => 'Fídjeyskur dalur',
'FKP' => 'Falklenskt pund',
'FRF' => 'Franskur franki',
'GBP' => 'Sterlingspund',
92,116 → 92,116
'GEK' => 'Georgian Kupon Larit',
'GEL' => 'Georgian Lari',
'GHC' => 'Ghana Cedi',
'GIP' => 'Gíbraltarspund',
'GIP' => 'Gíbraltarspund',
'GMD' => 'Gambia Dalasi',
'GNF' => 'Gíneufranki',
'GNF' => 'Gíneufranki',
'GNS' => 'Guinea Syli',
'GQE' => 'Equatorial Guinea Ekwele Guineana',
'GRD' => 'Drakma',
'GTQ' => 'Guatemala Quetzal',
'GWE' => 'Portúgalskur, gíneskur skúti',
'GWE' => 'Portúgalskur, gíneskur skúti',
'GWP' => 'Guinea-Bissau Peso',
'GYD' => 'Gvæjanskur dalur',
'GYD' => 'Gvæjanskur dalur',
'HKD' => 'Hong Kong-dalur',
'HNL' => 'Hoduras Lempira',
'HRD' => 'Croatian Dinar',
'HRK' => 'Kúna',
'HRK' => 'Kúna',
'HTG' => 'Haitian Gourde',
'HUF' => 'Fórinta',
'IDR' => 'Indónesísk rúpía',
'IEP' => 'Írskt pund',
'ILP' => 'Ísraelskt pund',
'HUF' => 'Fórinta',
'IDR' => 'Indónesísk rúpía',
'IEP' => 'Írskt pund',
'ILP' => 'Ísraelskt pund',
'ILS' => 'Sikill',
'INR' => 'Indversk rúpía',
'IQD' => 'Írakskur denari',
'IRR' => 'Íranskt ríal',
'ISK' => 'Íslensk króna',
'ITL' => 'Ítölsk líra',
'JMD' => 'Jamaískur dalur',
'INR' => 'Indversk rúpía',
'IQD' => 'Írakskur denari',
'IRR' => 'Íranskt ríal',
'ISK' => 'Íslensk króna',
'ITL' => 'Ítölsk líra',
'JMD' => 'Jamaískur dalur',
'JOD' => 'Jordanian Dinar',
'JPY' => 'Jen',
'KES' => 'Kenyan Shilling',
'KGS' => 'Kyrgystan Som',
'KHR' => 'Cambodian Riel',
'KMF' => 'Kómoreyskur franki',
'KPW' => 'Norðurkóreskt vonn',
'KRW' => 'Suðurkóreskt vonn',
'KWD' => 'Kúveiskur denari',
'KMF' => 'Kómoreyskur franki',
'KPW' => 'Norðurkóreskt vonn',
'KRW' => 'Suðurkóreskt vonn',
'KWD' => 'Kúveiskur denari',
'KYD' => 'Caymaneyskur dalur',
'KZT' => 'Kazakhstan Tenge',
'LAK' => 'Laotian Kip',
'LBP' => 'Líbanskt pund',
'LKR' => 'Srílönsk rúpía',
'LRD' => 'Líberískur dalur',
'LBP' => 'Líbanskt pund',
'LKR' => 'Srílönsk rúpía',
'LRD' => 'Líberískur dalur',
'LSL' => 'Lesotho Loti',
'LSM' => 'Maloti',
'LTL' => 'Lít',
'LTL' => 'Lít',
'LTT' => 'Lithuanian Talonas',
'LUC' => 'Luxembourg Convertible Franc',
'LUF' => 'Lúxemborgarfranki',
'LUF' => 'Lúxemborgarfranki',
'LUL' => 'Luxembourg Financial Franc',
'LVL' => 'Lat',
'LVR' => 'Lettnesk rúbla',
'LYD' => 'Líbískur denari',
'MAD' => 'Marokkóskt dírham',
'MAF' => 'Marokkóskur franki',
'LVR' => 'Lettnesk rúbla',
'LYD' => 'Líbískur denari',
'MAD' => 'Marokkóskt dírham',
'MAF' => 'Marokkóskur franki',
'MDL' => 'Moldovan Leu',
'MGA' => 'Madagascar Ariary',
'MGF' => 'Madagaskur franki',
'MKD' => 'Makedónskur denari',
'MLF' => 'Malískur franki',
'MKD' => 'Makedónskur denari',
'MLF' => 'Malískur franki',
'MMK' => 'Mjanmarskt kjat',
'MNT' => 'Túríkur',
'MNT' => 'Túríkur',
'MOP' => 'Macao Pataca',
'MRO' => 'Mauritania Ouguiya',
'MTL' => 'Meltnesk líra',
'MTL' => 'Meltnesk líra',
'MTP' => 'Maltneskt pund',
'MUR' => 'Mauritius Rupee',
'MVR' => 'Maldive Islands Rufiyaa',
'MWK' => 'Malawi Kwacha',
'MXN' => 'Mexíkóskur pesi',
'MXP' => 'Mexíkóskur silfurpesi (1861-1992)',
'MXV' => 'Mexíkóskur pesi, UDI',
'MXN' => 'Mexíkóskur pesi',
'MXP' => 'Mexíkóskur silfurpesi (1861-1992)',
'MXV' => 'Mexíkóskur pesi, UDI',
'MYR' => 'Malaysian Ringgit',
'MZE' => 'Mósambískur skúti',
'MZE' => 'Mósambískur skúti',
'MZM' => 'Mozambique Metical',
'NAD' => 'Namibískur dalur',
'NAD' => 'Namibískur dalur',
'NGN' => 'Nigerian Naira',
'NIC' => 'Nicaraguan Cordoba',
'NIO' => 'Nicaraguan Cordoba Oro',
'NLG' => 'Hollenskt gyllini',
'NOK' => 'Norsk króna',
'NOK' => 'Norsk króna',
'NPR' => 'Nepalese Rupee',
'NZD' => 'Nýsjálenskur dalur',
'OMR' => 'Ómanskt ríal',
'PAB' => 'Balbói',
'NZD' => 'Nýsjálenskur dalur',
'OMR' => 'Ómanskt ríal',
'PAB' => 'Balbói',
'PEI' => 'Peruvian Inti',
'PEN' => 'Peruvian Sol Nuevo',
'PES' => 'Peruvian Sol',
'PGK' => 'Papua New Guinea Kina',
'PHP' => 'Philippine Peso',
'PKR' => 'Pakistönsk rúpía',
'PKR' => 'Pakistönsk rúpía',
'PLN' => 'Polish Zloty',
'PLZ' => 'Slot',
'PTE' => 'Portúgalskur skúti',
'PTE' => 'Portúgalskur skúti',
'PYG' => 'Paraguay Guarani',
'QAR' => 'Qatari Rial',
'RHD' => 'Rhodesian Dollar',
'ROL' => 'Rúmenskt lei',
'ROL' => 'Rúmenskt lei',
'RON' => 'Romanian Leu',
'RUB' => 'Rússnesk rúbla',
'RUR' => 'Rússnesk rúbla',
'RUB' => 'Rússnesk rúbla',
'RUR' => 'Rússnesk rúbla',
'RWF' => 'Rwandan Franc',
'SAR' => 'Sádiarabískt ríal',
'SBD' => 'Salómonseyskur dalur',
'SCR' => 'Seychelles rúpía',
'SDD' => 'Súdanskur denari',
'SDP' => 'Súdanskt pund',
'SEK' => 'Sænsk króna',
'SGD' => 'Singapúrskur dalur',
'SAR' => 'Sádiarabískt ríal',
'SBD' => 'Salómonseyskur dalur',
'SCR' => 'Seychelles rúpía',
'SDD' => 'Súdanskur denari',
'SDP' => 'Súdanskt pund',
'SEK' => 'Sænsk króna',
'SGD' => 'Singapúrskur dalur',
'SHP' => 'Helenskt pund',
'SIT' => 'Slóvenskur dalur',
'SKK' => 'Slóvakísk króna',
'SIT' => 'Slóvenskur dalur',
'SKK' => 'Slóvakísk króna',
'SLL' => 'Sierra Leone Leone',
'SOS' => 'Somali Shilling',
'SRD' => 'Surinam Dollar',
209,27 → 209,27
'STD' => 'Sao Tome and Principe Dobra',
'SUR' => 'Soviet Rouble',
'SVC' => 'El Salvador Colon',
'SYP' => 'Sýrlenskt pund',
'SYP' => 'Sýrlenskt pund',
'SZL' => 'Swaziland Lilangeni',
'THB' => 'Bat',
'TJR' => 'Tadsjiksk rúbla',
'TJR' => 'Tadsjiksk rúbla',
'TJS' => 'Tajikistan Somoni',
'TMM' => 'Túrkmenskt manat',
'TMM' => 'Túrkmenskt manat',
'TND' => 'Tunisian Dinar',
'TOP' => 'Tonga Paʻanga',
'TPE' => 'Tímorskur skúti',
'TRL' => 'Tyrknesk líra',
'TRY' => 'Ný, tyrknesk líra',
'TTD' => 'Trínidad og Tóbagó-dalur',
'TWD' => 'Taívanskur dalur',
'TPE' => 'Tímorskur skúti',
'TRL' => 'Tyrknesk líra',
'TRY' => 'Ný, tyrknesk líra',
'TTD' => 'Trínidad og Tóbagó-dalur',
'TWD' => 'Taívanskur dalur',
'TZS' => 'Tanzanian Shilling',
'UAH' => 'Hrinja',
'UAK' => 'Ukrainian Karbovanetz',
'UGS' => 'Ugandan Shilling (1966-1987)',
'UGX' => 'Ugandan Shilling',
'USD' => 'Bandaríkjadalur',
'USN' => 'Bandaríkjadalur (næsta dag)',
'USS' => 'Bandaríkjadalur (sama dag)',
'USD' => 'Bandaríkjadalur',
'USN' => 'Bandaríkjadalur (næsta dag)',
'USS' => 'Bandaríkjadalur (sama dag)',
'UYP' => 'Uruguay Peso (1975-1993)',
'UYU' => 'Uruguay Peso Uruguayo',
'UZS' => 'Uzbekistan Sum',
237,7 → 237,7
'VND' => 'Vietnamese Dong',
'VUV' => 'Vanuatu Vatu',
'WST' => 'Western Samoa Tala',
'XAF' => 'Miðafrískur franki, BEAC',
'XAF' => 'Miðafrískur franki, BEAC',
'XAG' => 'Silver',
'XAU' => 'Gold',
'XBA' => 'European Composite Unit',
244,24 → 244,24
'XBB' => 'European Monetary Unit',
'XBC' => 'European Unit of Account (XBC)',
'XBD' => 'European Unit of Account (XBD)',
'XCD' => 'Austur-Karíbahafsdalur',
'XDR' => 'Sérstök dráttarréttindi',
'XCD' => 'Austur-Karíbahafsdalur',
'XDR' => 'Sérstök dráttarréttindi',
'XEU' => 'European Currency Unit',
'XFO' => 'Franskur gullfranki',
'XFU' => 'Franskur franki, UIC',
'XOF' => 'Miðafrískur franki, BCEAO',
'XOF' => 'Miðafrískur franki, BCEAO',
'XPD' => 'Palladium',
'XPF' => 'Pólinesískur franki',
'XPF' => 'Pólinesískur franki',
'XPT' => 'Platinum',
'XRE' => 'RINET Funds',
'XTS' => 'Testing Currency Code',
'XXX' => 'No Currency',
'YDD' => 'Jemenskur denari',
'YER' => 'Jemenskt ríal',
'YER' => 'Jemenskt ríal',
'YUD' => 'Yugoslavian Hard Dinar',
'YUM' => 'Júgóslavneskur denari',
'YUM' => 'Júgóslavneskur denari',
'YUN' => 'Yugoslavian Convertible Dinar',
'ZAL' => 'Rand (viðskipta)',
'ZAL' => 'Rand (viðskipta)',
'ZAR' => 'South African Rand',
'ZMK' => 'Zambian Kwacha',
'ZRN' => 'Zairean New Zaire',
/trunk/api/pear/I18Nv2/Currency/it.php
60,7 → 60,7
'CNY' => 'Renmimbi Cinese',
'COP' => 'Peso Colombiano',
'COU' => 'Unidad de Valor Real',
'CRC' => 'Colón Costaricano',
'CRC' => 'Colón Costaricano',
'CSD' => 'Serbian Dinar',
'CSK' => 'Corona forte cecoslovacca',
'CUP' => 'Peso Cubano',
168,7 → 168,7
'NAD' => 'Dollaro Namibiano',
'NGN' => 'Naira Nigeriana',
'NIC' => 'Cordoba Nicaraguense',
'NIO' => 'Córdoba oro nicaraguense',
'NIO' => 'Córdoba oro nicaraguense',
'NLG' => 'Fiorino Olandese',
'NOK' => 'Corona Norvegese',
'NPR' => 'Rupia Nepalese',
206,9 → 206,9
'SOS' => 'Scellino Somalo',
'SRD' => 'Surinam Dollar',
'SRG' => 'Fiorino del Suriname',
'STD' => 'Dobra di São Tomé e Principe',
'STD' => 'Dobra di São Tomé e Principe',
'SUR' => 'Rublo Sovietico',
'SVC' => 'Colón Salvadoregno',
'SVC' => 'Colón Salvadoregno',
'SYP' => 'Sterlina Siriana',
'SZL' => 'Lilangeni dello Swaziland',
'THB' => 'Baht Tailandese',
240,13 → 240,13
'XAF' => 'Franco CFA BEAC',
'XAG' => 'Silver',
'XAU' => 'Oro',
'XBA' => 'Unità composita europea',
'XBB' => 'Unità monetaria europea',
'XBC' => 'Unità di acconto europea (XBC)',
'XBD' => 'Unità di acconto europea (XBD)',
'XBA' => 'Unità composita europea',
'XBB' => 'Unità monetaria europea',
'XBC' => 'Unità di acconto europea (XBC)',
'XBD' => 'Unità di acconto europea (XBD)',
'XCD' => 'Dollaro dei Caraibi Orientali',
'XDR' => 'Diritti Speciali di Incasso',
'XEU' => 'Unità Monetaria Europea',
'XEU' => 'Unità Monetaria Europea',
'XFO' => 'Franco Oro Francese',
'XFU' => 'Franco UIC Francese',
'XOF' => 'Franco CFA BCEAO',
/trunk/api/pear/I18Nv2/Currency/fi.php
17,7 → 17,7
'ARA' => 'Argentiinan austral',
'ARP' => 'Argentiinan peso (1983-1985)',
'ARS' => 'Argentiinan peso',
'ATS' => 'Itävallan shillinki',
'ATS' => 'Itävallan shillinki',
'AUD' => 'Australian dollari',
'AWG' => 'Aruban guldeni',
'AZM' => 'Azerbaidžanin manat',
47,8 → 47,8
'BTN' => 'Bhutanin ngultrum',
'BUK' => 'Burman kyat',
'BWP' => 'Botswanan pula',
'BYB' => 'Valko-Venäjän uusi rupla (1994-1999)',
'BYR' => 'Valko-Venäjän rupla',
'BYB' => 'Valko-Venäjän uusi rupla (1994-1999)',
'BYR' => 'Valko-Venäjän rupla',
'BZD' => 'Belizen dollari',
'CAD' => 'Kanadan dollari',
'CDF' => 'Kongon kongolainen frangi',
67,7 → 67,7
'CVE' => 'Kap Verden escudo',
'CYP' => 'Kyproksen punta',
'CZK' => 'Tšekin koruna',
'DDM' => 'Itä-Saksan ostmark',
'DDM' => 'Itä-Saksan ostmark',
'DEM' => 'Saksan markka',
'DJF' => 'Djiboutin frangi',
'DKK' => 'Tanskan kruunu',
96,7 → 96,7
'GMD' => 'Gambian dalasi',
'GNF' => 'Guinean frangi',
'GNS' => 'Guinean syli',
'GQE' => 'Päiväntasaajan Guinean ekwele guineana',
'GQE' => 'Päiväntasaajan Guinean ekwele guineana',
'GRD' => 'Kreikan drakhma',
'GTQ' => 'Guatemalan quetzal',
'GWE' => 'Portugalin Guinean escudo',
125,7 → 125,7
'KHR' => 'Kambodžan riel',
'KMF' => 'Komorien frangi',
'KPW' => 'Pohjois-Korean won',
'KRW' => 'Etelä-Korean won',
'KRW' => 'Etelä-Korean won',
'KWD' => 'Kuwaitin dinaari',
'KYD' => 'Caymansaarten dollari',
'KZT' => 'Kazakstanin tenge',
189,8 → 189,8
'RHD' => 'Rhodesian Dollar',
'ROL' => 'Romanian lei',
'RON' => 'Romanian Leu',
'RUB' => 'Venäjän rupla',
'RUR' => 'Venäjän rupla (1991-1998)',
'RUB' => 'Venäjän rupla',
'RUR' => 'Venäjän rupla (1991-1998)',
'RWF' => 'Ruandan frangi',
'SAR' => 'Saudi-Arabian rial',
'SBD' => 'Salomonsaarten dollari',
206,7 → 206,7
'SOS' => 'Somalian shillinki',
'SRD' => 'Surinam Dollar',
'SRG' => 'Surinamin guldeni',
'STD' => 'São Tomén ja Principén dobra',
'STD' => 'São Tomén ja Principén dobra',
'SUR' => 'Neuvostoliiton rupla',
'SVC' => 'El Salvadorin colon',
'SYP' => 'Syyrian punta',
228,8 → 228,8
'UGS' => 'Ugandan shillinki (1966-1987)',
'UGX' => 'Ugandan shillinki',
'USD' => 'Yhdysvaltain dollari',
'USN' => 'Yhdysvaltain dollari (seuraava päivä)',
'USS' => 'Yhdysvaltain dollari (sama päivä)',
'USN' => 'Yhdysvaltain dollari (seuraava päivä)',
'USS' => 'Yhdysvaltain dollari (sama päivä)',
'UYP' => 'Uruguayn peso (1975-1993)',
'UYU' => 'Uruguayn peso uruguayo',
'UZS' => 'Uzbekistanin som',
236,17 → 236,17
'VEB' => 'Venezuelan bolivar',
'VND' => 'Vietnamin dong',
'VUV' => 'Vanuatun vatu',
'WST' => 'Länsi-Samoan tala',
'WST' => 'Länsi-Samoan tala',
'XAF' => 'CFA-frangi BEAC',
'XAG' => 'Silver',
'XAU' => 'kulta',
'XBA' => 'EURCO',
'XBB' => 'Euroopan rahayksikkö (EMU)',
'XBB' => 'Euroopan rahayksikkö (EMU)',
'XBC' => 'EUA (XBC)',
'XBD' => 'EUA (XBD)',
'XCD' => 'Itä-Karibian dollari',
'XCD' => 'Itä-Karibian dollari',
'XDR' => 'erityisnosto-oikeus',
'XEU' => 'Euroopan valuuttayksikkö',
'XEU' => 'Euroopan valuuttayksikkö',
'XFO' => 'Ranskan kulta frangi',
'XFU' => 'Ranskan UIC-frangi',
'XOF' => 'CFA-frangi BCEAO',
261,8 → 261,8
'YUD' => 'Jugoslavian kova dinaari',
'YUM' => 'Jugoslavian uusi dinaari',
'YUN' => 'Jugoslavian vaihdettava dinaari',
'ZAL' => 'Etelä-Afrikan randi (rahoitus)',
'ZAR' => 'Etelä-Afrikan randi',
'ZAL' => 'Etelä-Afrikan randi (rahoitus)',
'ZAR' => 'Etelä-Afrikan randi',
'ZMK' => 'Sambian kwacha',
'ZRN' => 'Zairen uusi zaire',
'ZRZ' => 'Zairen zaire',
/trunk/api/pear/I18Nv2/Currency/nb.php
17,7 → 17,7
'ARA' => 'Argentinske australer',
'ARP' => 'Argentinske pesos (1983-1985)',
'ARS' => 'Argentinske pesos',
'ATS' => 'Østerrikske shilling',
'ATS' => 'Østerrikske shilling',
'AUD' => 'Australske dollar',
'AWG' => 'Arubiske gylden',
'AZM' => 'Aserbajdsjanske Manat',
27,7 → 27,7
'BDT' => 'Bangladeshiske taka',
'BEC' => 'Belgiske franc (konvertible)',
'BEF' => 'Belgiske franc',
'BEL' => 'Belgiske franc (økonomiske)',
'BEL' => 'Belgiske franc (økonomiske)',
'BGL' => 'Bulgarske lev (hard)',
'BGN' => 'Bulgarske lev',
'BHD' => 'Bahrainske dinarer',
67,7 → 67,7
'CVE' => 'Kappverdiske escudo',
'CYP' => 'Kypriotiske pund',
'CZK' => 'Tsjekkiske koruna',
'DDM' => 'Østtyske ostmark',
'DDM' => 'Østtyske ostmark',
'DEM' => 'Tyske mark',
'DJF' => 'Djiboutiske franc',
'DKK' => 'Danske kroner',
86,7 → 86,7
'EUR' => 'Euro',
'FIM' => 'Finske mark',
'FJD' => 'Fijianske dollar',
'FKP' => 'Falklandsøyene-pund',
'FKP' => 'Falklandsøyene-pund',
'FRF' => 'Franske franc',
'GBP' => 'Britiske pund sterling',
'GEK' => 'Georgiske kupon larit',
125,7 → 125,7
'KHR' => 'Kambodsjanske riel',
'KMF' => 'Komoriske franc',
'KPW' => 'Nordkoreanske won',
'KRW' => 'Sørkoreanske won',
'KRW' => 'Sørkoreanske won',
'KWD' => 'Kuwaitiske dinarer',
'KYD' => 'Caymanske dollar',
'KZT' => 'Kasakhstanske tenge',
160,7 → 160,7
'MVR' => 'Maldiviske rufiyaa',
'MWK' => 'Malawisle kwacha',
'MXN' => 'Meksikanske pesos',
'MXP' => 'Meksikanske sølvpesos (1861-1992)',
'MXP' => 'Meksikanske sølvpesos (1861-1992)',
'MXV' => 'Meksikanske Unidad de Inversion (UDI)',
'MYR' => 'Malaysiske ringgit',
'MZE' => 'Mosambikiske escudo',
244,7 → 244,7
'XBB' => 'European Monetary Unit',
'XBC' => 'European Unit of Account (XBC)',
'XBD' => 'European Unit of Account (XBD)',
'XCD' => 'Østkaribiske dollar',
'XCD' => 'Østkaribiske dollar',
'XDR' => 'Special Drawing Rights',
'XEU' => 'European Currency Unit',
'XFO' => 'French Gold Franc',
261,8 → 261,8
'YUD' => 'Jugoslaviske dinarer (hard)',
'YUM' => 'Jugoslaviske noviy-dinarer',
'YUN' => 'Jugoslaviske konvertible dinarer',
'ZAL' => 'Sørafrikanske rand (økonomisk)',
'ZAR' => 'Sørafrikanske rand',
'ZAL' => 'Sørafrikanske rand (økonomisk)',
'ZAR' => 'Sørafrikanske rand',
'ZMK' => 'Zambiske kwacha',
'ZRN' => 'Zairiske nye zaire',
'ZRZ' => 'Zairiske zaire',
/trunk/api/pear/I18Nv2/Currency/fr.php
4,16 → 4,16
*/
$this->codes = array(
'ADP' => 'peseta andorrane',
'AED' => 'dirham des Émirats arabes unis',
'AED' => 'dirham des Émirats arabes unis',
'AFA' => 'afghani',
'AFN' => 'afghani',
'ALL' => 'lek albanais',
'AMD' => 'dram arménien',
'ANG' => 'florin des Antilles néerl.',
'AMD' => 'dram arménien',
'ANG' => 'florin des Antilles néerl.',
'AOA' => 'kwanza angolais',
'AOK' => 'kwanza angolais (1977-1990)',
'AON' => 'nouveau kwanza angolais (1990-2000)',
'AOR' => 'kwanza angolais réajusté (1995-1999)',
'AOR' => 'kwanza angolais réajusté (1995-1999)',
'ARA' => 'austral',
'ARP' => 'peso argentin (1983-1985)',
'ARS' => 'peso argentin',
40,7 → 40,7
'BRB' => 'nouveau cruzeiro (1967-1986)',
'BRC' => 'cruzeiro',
'BRE' => 'cruzeiro (1990-1993)',
'BRL' => 'réal',
'BRL' => 'réal',
'BRN' => 'nouveau cruzado',
'BRR' => 'cruzeiro',
'BSD' => 'dollar des Bahamas',
47,9 → 47,9
'BTN' => 'ngultrum',
'BUK' => 'kyat',
'BWP' => 'pula',
'BYB' => 'nouveau rouble biélorusse (1994-1999)',
'BYR' => 'rouble biélorusse',
'BZD' => 'dollar de Bélize',
'BYB' => 'nouveau rouble biélorusse (1994-1999)',
'BYR' => 'rouble biélorusse',
'BZD' => 'dollar de Bélize',
'CAD' => 'dollar canadien',
'CDF' => 'franc congolais',
'CHE' => 'WIR Euro',
62,21 → 62,21
'COU' => 'Unidad de Valor Real',
'CRC' => 'colon',
'CSD' => 'Serbian Dinar',
'CSK' => 'couronne tchèque',
'CSK' => 'couronne tchèque',
'CUP' => 'peso cubain',
'CVE' => 'escudo du Cap-Vert',
'CYP' => 'livre cypriote',
'CZK' => 'couronne tchèque',
'CZK' => 'couronne tchèque',
'DDM' => 'mark est-allemand',
'DEM' => 'deutsche mark',
'DJF' => 'franc de Djibouti',
'DKK' => 'couronne danoise',
'DOP' => 'peso dominicain',
'DZD' => 'dinar algérien',
'DZD' => 'dinar algérien',
'ECS' => 'sucre',
'ECV' => 'unité de valeur constante équatoriale (UVC)',
'ECV' => 'unité de valeur constante équatoriale (UVC)',
'EEK' => 'couronne estonienne',
'EGP' => 'livre égyptienne',
'EGP' => 'livre égyptienne',
'EQE' => 'Ekwele',
'ERN' => 'Eritrean Nakfa',
'ESA' => 'Spanish Peseta (A account)',
87,20 → 87,20
'FIM' => 'mark finlandais',
'FJD' => 'dollar de Fidji',
'FKP' => 'livre des Falkland (Malvinas)',
'FRF' => 'franc français',
'FRF' => 'franc français',
'GBP' => 'livre sterling',
'GEK' => 'Georgian Kupon Larit',
'GEL' => 'lari',
'GHC' => 'cédi',
'GHC' => 'cédi',
'GIP' => 'livre de Gibraltar',
'GMD' => 'dalasie',
'GNF' => 'franc guinéen',
'GNF' => 'franc guinéen',
'GNS' => 'syli',
'GQE' => 'ekwélé',
'GQE' => 'ekwélé',
'GRD' => 'drachme',
'GTQ' => 'quetzal',
'GWE' => 'Escudo de Guinée Portugaise',
'GWP' => 'peso de Guinée-Bissau',
'GWE' => 'Escudo de Guinée Portugaise',
'GWP' => 'peso de Guinée-Bissau',
'GYD' => 'dollar de Guyane',
'HKD' => 'dollar de Hong Kong',
'HNL' => 'lempira',
110,14 → 110,14
'HUF' => 'forint',
'IDR' => 'rupiah',
'IEP' => 'livre irlandaise',
'ILP' => 'livre israélienne',
'ILS' => 'shékel',
'ILP' => 'livre israélienne',
'ILS' => 'shékel',
'INR' => 'roupie indienne',
'IQD' => 'dinar irakien',
'IRR' => 'rial iranien',
'ISK' => 'couronne islandaise',
'ITL' => 'lire italienne',
'JMD' => 'dollar jamaïcain',
'JMD' => 'dollar jamaïcain',
'JOD' => 'dinar jordanien',
'JPY' => 'yen',
'KES' => 'shilling du Kenya',
124,15 → 124,15
'KGS' => 'som du Kyrgystan',
'KHR' => 'riel',
'KMF' => 'franc des Comores',
'KPW' => 'won nord-coréen',
'KRW' => 'won sud-coréen',
'KPW' => 'won nord-coréen',
'KRW' => 'won sud-coréen',
'KWD' => 'dinar koweitien',
'KYD' => 'dollar des îles Caïmans',
'KYD' => 'dollar des îles Caïmans',
'KZT' => 'tenge du Kazakhstan',
'LAK' => 'kip',
'LBP' => 'livre libanaise',
'LKR' => 'roupie de Sri Lanka',
'LRD' => 'dollar libérien',
'LRD' => 'dollar libérien',
'LSL' => 'Lesotho Loti',
'LSM' => 'Maloti',
'LTL' => 'Lita de Lithuanian',
148,7 → 148,7
'MDL' => 'leu moldave',
'MGA' => 'ariary malgache',
'MGF' => 'franc malgache',
'MKD' => 'dinar macédonien',
'MKD' => 'dinar macédonien',
'MLF' => 'franc malien',
'MMK' => 'Myanmar Kyat',
'MNT' => 'tugrik',
156,28 → 156,28
'MRO' => 'ouguija',
'MTL' => 'lire maltaise',
'MTP' => 'livre maltaise',
'MUR' => 'roupie de l’île Maurice',
'MUR' => 'roupie de l’île Maurice',
'MVR' => 'roupie des Maldives',
'MWK' => 'kwacha',
'MXN' => 'Mexican Peso',
'MXP' => 'peso d’argent mexicain (1861-1992)',
'MXV' => 'unité de conversion mexicaine (UDI)',
'MXV' => 'unité de conversion mexicaine (UDI)',
'MYR' => 'ringgit',
'MZE' => 'escudo du Mozambique',
'MZM' => 'métical',
'MZM' => 'métical',
'NAD' => 'dollar de Namibie',
'NGN' => 'naira',
'NIC' => 'cordoba',
'NIO' => 'cordoba d’or',
'NLG' => 'florin néerlandais',
'NOK' => 'couronne norvégienne',
'NPR' => 'roupie du Népal',
'NZD' => 'dollar néo-zélandais',
'NLG' => 'florin néerlandais',
'NOK' => 'couronne norvégienne',
'NPR' => 'roupie du Népal',
'NZD' => 'dollar néo-zélandais',
'OMR' => 'rial omani',
'PAB' => 'balboa',
'PEI' => 'Inti péruvien',
'PEN' => 'nouveau sol péruvien',
'PES' => 'sol péruvien',
'PEI' => 'Inti péruvien',
'PEN' => 'nouveau sol péruvien',
'PES' => 'sol péruvien',
'PGK' => 'kina',
'PHP' => 'peso philippin',
'PKR' => 'roupie du Pakistan',
192,17 → 192,17
'RUB' => 'rouble',
'RUR' => 'rouble de Russie (1991-1998)',
'RWF' => 'franc du Rwanda',
'SAR' => 'riyal séoudien',
'SAR' => 'riyal séoudien',
'SBD' => 'dollar de Salomon',
'SCR' => 'roupie des Seychelles',
'SDD' => 'dinar soudanais',
'SDP' => 'livre soudanaise',
'SEK' => 'couronne suédoise',
'SEK' => 'couronne suédoise',
'SGD' => 'dollar de Singapour',
'SHP' => 'livre de Sainte-Hélène',
'SIT' => 'tolar slovène',
'SHP' => 'livre de Sainte-Hélène',
'SIT' => 'tolar slovène',
'SKK' => 'couronne slovaque',
'SLL' => 'léone',
'SLL' => 'léone',
'SOS' => 'shilling de Somalie',
'SRD' => 'Surinam Dollar',
'SRG' => 'florin du Surinam',
220,16 → 220,16
'TPE' => 'escudo de Timor',
'TRL' => 'livre turque',
'TRY' => 'New Turkish Lira',
'TTD' => 'dollar de la Trinité',
'TWD' => 'dollar taïwanais',
'TTD' => 'dollar de la Trinité',
'TWD' => 'dollar taïwanais',
'TZS' => 'shilling de Tanzanie',
'UAH' => 'hryvnia',
'UAK' => 'karbovanetz',
'UGS' => 'shilling ougandais (1966-1987)',
'UGX' => 'shilling ougandais',
'USD' => 'dollar des États-Unis',
'USD' => 'dollar des États-Unis',
'USN' => 'dollar des Etats-Unis (jour suivant)',
'USS' => 'dollar des Etats-Unis (jour même)',
'USS' => 'dollar des Etats-Unis (jour même)',
'UYP' => 'peso uruguayen (1975-1993)',
'UYU' => 'peso uruguayen',
'UZS' => 'sum',
240,13 → 240,13
'XAF' => 'franc CFA (BEAC)',
'XAG' => 'Silver',
'XAU' => 'Or',
'XBA' => 'unité composite européenne',
'XBB' => 'unité monétaire européenne',
'XBC' => 'unité de compte européenne (XBC)',
'XBD' => 'unité de compte européenne (XBD)',
'XCD' => 'dollar des Caraïbes',
'XBA' => 'unité composite européenne',
'XBB' => 'unité monétaire européenne',
'XBC' => 'unité de compte européenne (XBC)',
'XBD' => 'unité de compte européenne (XBD)',
'XCD' => 'dollar des Caraïbes',
'XDR' => 'Special Drawing Rights',
'XEU' => 'unité de compte européenne (ECU)',
'XEU' => 'unité de compte européenne (ECU)',
'XFO' => 'franc or',
'XFU' => 'franc UIC',
'XOF' => 'franc CFA (BCEAO)',
256,8 → 256,8
'XRE' => 'RINET Funds',
'XTS' => 'Testing Currency Code',
'XXX' => 'No Currency',
'YDD' => 'dinar du Yémen',
'YER' => 'riyal du Yémen',
'YDD' => 'dinar du Yémen',
'YER' => 'riyal du Yémen',
'YUD' => 'nouveau dinar yougoslave',
'YUM' => 'dinar yougoslave Noviy',
'YUN' => 'dinar yougoslave convertible',
264,8 → 264,8
'ZAL' => 'rand sud-africain (financier)',
'ZAR' => 'rand',
'ZMK' => 'kwacha',
'ZRN' => 'nouveau zaïre',
'ZRZ' => 'zaïre',
'ZRN' => 'nouveau zaïre',
'ZRZ' => 'zaïre',
'ZWD' => 'dollar du Zimbabwe',
);
?>
/trunk/api/pear/I18Nv2/Currency/nl.php
60,7 → 60,7
'CNY' => 'Chinese yuan renminbi',
'COP' => 'Colombiaanse peso',
'COU' => 'Unidad de Valor Real',
'CRC' => 'Costaricaanse colón',
'CRC' => 'Costaricaanse colón',
'CSD' => 'Serbian Dinar',
'CSK' => 'Tsjechoslowaakse harde koruna',
'CUP' => 'Cubaanse peso',
106,12 → 106,12
'HNL' => 'Hodurese lempira',
'HRD' => 'Kroatische dinar',
'HRK' => 'Kroatische kuna',
'HTG' => 'Haïtiaanse gourde',
'HTG' => 'Haïtiaanse gourde',
'HUF' => 'Hongaarse forint',
'IDR' => 'Indonesische rupiah',
'IEP' => 'Iers pond',
'ILP' => 'Israëlisch pond',
'ILS' => 'Israëlische nieuwe shekel',
'ILP' => 'Israëlisch pond',
'ILS' => 'Israëlische nieuwe shekel',
'INR' => 'Indiase rupee',
'IQD' => 'Iraakse dinar',
'IRR' => 'Iraanse rial',
167,8 → 167,8
'MZM' => 'Mozambikaanse metical',
'NAD' => 'Namibische dollar',
'NGN' => 'Nigeriaanse naira',
'NIC' => 'Nicaraguaanse córdoba',
'NIO' => 'Nicaraguaanse córdoba oro',
'NIC' => 'Nicaraguaanse córdoba',
'NIO' => 'Nicaraguaanse córdoba oro',
'NLG' => 'Nederlandse gulden',
'NOK' => 'Noorse kroon',
'NPR' => 'Nepalese rupee',
208,7 → 208,7
'SRG' => 'Surinaamse gulden',
'STD' => 'Santomese dobra',
'SUR' => 'Sovjet-roebel',
'SVC' => 'Salvadoraanse colón',
'SVC' => 'Salvadoraanse colón',
'SYP' => 'Syrisch pond',
'SZL' => 'Swazische lilangeni',
'THB' => 'Thaise baht',
223,8 → 223,8
'TTD' => 'Trinidad en Tobago-dollar',
'TWD' => 'Nieuwe Taiwanese dollar',
'TZS' => 'Tanzaniaanse shilling',
'UAH' => 'Oekraïense hryvnia',
'UAK' => 'Oekraïense karbovanetz',
'UAH' => 'Oekraïense hryvnia',
'UAK' => 'Oekraïense karbovanetz',
'UGS' => 'Oegandese shilling (1966-1987)',
'UGX' => 'Oegandese shilling',
'USD' => 'Amerikaanse dollar',
264,8 → 264,8
'ZAL' => 'Zuid-Afrikaanse rand (financieel)',
'ZAR' => 'Zuid-Afrikaanse rand',
'ZMK' => 'Zambiaanse kwacha',
'ZRN' => 'Zaïrese nieuwe zaïre',
'ZRZ' => 'Zaïrese zaïre',
'ZRN' => 'Zaïrese nieuwe zaïre',
'ZRZ' => 'Zaïrese zaïre',
'ZWD' => 'Zimbabwaanse dollar',
);
?>
/trunk/api/pear/I18Nv2/Currency/ca.php
57,7 → 57,7
'CHW' => 'WIR Franc',
'CLF' => 'Chilean Unidades de Fomento',
'CLP' => 'Chilean Peso',
'CNY' => 'Iuan renmimbi xinès',
'CNY' => 'Iuan renmimbi xinès',
'COP' => 'Colombian Peso',
'COU' => 'Unidad de Valor Real',
'CRC' => 'Costa Rican Colon',
88,7 → 88,7
'FJD' => 'Fiji Dollar',
'FKP' => 'Falkland Islands Pound',
'FRF' => 'French Franc',
'GBP' => 'Lliura esterlina britànica',
'GBP' => 'Lliura esterlina britànica',
'GEK' => 'Georgian Kupon Larit',
'GEL' => 'Georgian Lari',
'GHC' => 'Ghana Cedi',
112,7 → 112,7
'IEP' => 'Irish Pound',
'ILP' => 'Israeli Pound',
'ILS' => 'Israeli New Sheqel',
'INR' => 'Rupia índia',
'INR' => 'Rupia índia',
'IQD' => 'Iraqi Dinar',
'IRR' => 'Iranian Rial',
'ISK' => 'Icelandic Krona',
119,7 → 119,7
'ITL' => 'Italian Lira',
'JMD' => 'Jamaican Dollar',
'JOD' => 'Jordanian Dinar',
'JPY' => 'Ien japonès',
'JPY' => 'Ien japonès',
'KES' => 'Kenyan Shilling',
'KGS' => 'Kyrgystan Som',
'KHR' => 'Cambodian Riel',
227,7 → 227,7
'UAK' => 'Ukrainian Karbovanetz',
'UGS' => 'Ugandan Shilling (1966-1987)',
'UGX' => 'Ugandan Shilling',
'USD' => 'Dòlar EUA',
'USD' => 'Dòlar EUA',
'USN' => 'US Dollar (Next day)',
'USS' => 'US Dollar (Same day)',
'UYP' => 'Uruguay Peso (1975-1993)',
/trunk/api/pear/I18Nv2/Currency/ga.php
3,251 → 3,251
* $Id: ga.php,v 1.1 2007-06-25 09:55:25 alexandre_tb Exp $
*/
$this->codes = array(
'ADP' => 'Peseta Andóra',
'AED' => 'Dirham Aontas na nÉimíríochtaí Arabacha',
'AFA' => 'Afgainí (1927-2002)',
'AFN' => 'Afgainí',
'ALL' => 'Lek Albánach',
'AMD' => 'Dram Airméanach',
'ANG' => 'Guilder na nAntillí Ísiltíreach',
'AOA' => 'Kwanza Angólach',
'AOK' => 'Kwanza Angólach (1977-1990)',
'AON' => 'Kwanza Nua Angólach (1990-2000)',
'AOR' => 'Kwanza Reajustado Angólach (1995-1999)',
'ARA' => 'Austral Airgintíneach',
'ARP' => 'Peso na Airgintíne (1983-1985)',
'ARS' => 'Peso na Airgintíne',
'ADP' => 'Peseta Andóra',
'AED' => 'Dirham Aontas na nÉimíríochtaí Arabacha',
'AFA' => 'Afgainí (1927-2002)',
'AFN' => 'Afgainí',
'ALL' => 'Lek Albánach',
'AMD' => 'Dram Airméanach',
'ANG' => 'Guilder na nAntillí Ísiltíreach',
'AOA' => 'Kwanza Angólach',
'AOK' => 'Kwanza Angólach (1977-1990)',
'AON' => 'Kwanza Nua Angólach (1990-2000)',
'AOR' => 'Kwanza Reajustado Angólach (1995-1999)',
'ARA' => 'Austral Airgintíneach',
'ARP' => 'Peso na Airgintíne (1983-1985)',
'ARS' => 'Peso na Airgintíne',
'ATS' => 'Scilling Ostarach',
'AUD' => 'Dollar Astrálach',
'AUD' => 'Dollar Astrálach',
'AWG' => 'Guilder Aruba',
'AZM' => 'Manat Asarbaiseánach',
'BAD' => 'Dínear Bhoisnia-Heirseagaivéin',
'BAM' => 'Marc Inathraithe Bhoisnia-Heirseagaivéin',
'BBD' => 'Dollar Bharbadóis',
'BDT' => 'Taka Bhanglaidéiseach',
'AZM' => 'Manat Asarbaiseánach',
'BAD' => 'Dínear Bhoisnia-Heirseagaivéin',
'BAM' => 'Marc Inathraithe Bhoisnia-Heirseagaivéin',
'BBD' => 'Dollar Bharbadóis',
'BDT' => 'Taka Bhanglaidéiseach',
'BEC' => 'Franc Beilgeach (inathraithe)',
'BEF' => 'Franc Beilgeach',
'BEL' => 'Franc Beilgeach (airgeadúil)',
'BGL' => 'Lev Bulgárach Crua',
'BGN' => 'Lev Nua Bulgárach',
'BHD' => 'Dínear na Bairéine',
'BIF' => 'Franc na Burúine',
'BMD' => 'Dollar Bheirmiúda',
'BND' => 'Dollar Bhrúiné',
'BEL' => 'Franc Beilgeach (airgeadúil)',
'BGL' => 'Lev Bulgárach Crua',
'BGN' => 'Lev Nua Bulgárach',
'BHD' => 'Dínear na Bairéine',
'BIF' => 'Franc na Burúine',
'BMD' => 'Dollar Bheirmiúda',
'BND' => 'Dollar Bhrúiné',
'BOB' => 'Boliviano',
'BOP' => 'Peso na Bolaive',
'BOV' => 'Mvdol Bolavach',
'BRB' => 'Cruzeiro Novo Brasaíleach (1967-1986)',
'BRC' => 'Cruzado Brasaíleach',
'BRE' => 'Cruzeiro Brasaíleach (1990-1993)',
'BRL' => 'Real Brasaíleach',
'BRN' => 'Cruzado Novo Brasaíleach',
'BRR' => 'Cruzeiro Brasaíleach',
'BSD' => 'Dollar na mBahámaí',
'BTN' => 'Ngultrum Bútánach',
'BRB' => 'Cruzeiro Novo Brasaíleach (1967-1986)',
'BRC' => 'Cruzado Brasaíleach',
'BRE' => 'Cruzeiro Brasaíleach (1990-1993)',
'BRL' => 'Real Brasaíleach',
'BRN' => 'Cruzado Novo Brasaíleach',
'BRR' => 'Cruzeiro Brasaíleach',
'BSD' => 'Dollar na mBahámaí',
'BTN' => 'Ngultrum Bútánach',
'BUK' => 'Kyat Burmach',
'BWP' => 'Pula Botsuánach',
'BYB' => 'Rúbal Nua Béalarúiseach (1994-1999)',
'BYR' => 'Rúbal Béalarúiseach',
'BZD' => 'Dollar na Beilíse',
'BWP' => 'Pula Botsuánach',
'BYB' => 'Rúbal Nua Béalarúiseach (1994-1999)',
'BYR' => 'Rúbal Béalarúiseach',
'BZD' => 'Dollar na Beilíse',
'CAD' => 'Dollar Ceanada',
'CDF' => 'Franc Congolais an Chongó',
'CDF' => 'Franc Congolais an Chongó',
'CHE' => 'WIR Euro',
'CHF' => 'Franc na hEilvéise',
'CHF' => 'Franc na hEilvéise',
'CHW' => 'WIR Franc',
'CLF' => 'Unidades de Fomento na Sile',
'CLP' => 'Peso na Sile',
'CNY' => 'Yuan Renminbi Síneach',
'COP' => 'Peso na Colóime',
'CNY' => 'Yuan Renminbi Síneach',
'COP' => 'Peso na Colóime',
'COU' => 'Unidad de Valor Real',
'CRC' => 'Colon Chósta Ríce',
'CRC' => 'Colon Chósta Ríce',
'CSD' => 'Serbian Dinar',
'CSK' => 'Koruna Crua na Seicslóvaice',
'CUP' => 'Peso Cúba',
'CSK' => 'Koruna Crua na Seicslóvaice',
'CUP' => 'Peso Cúba',
'CVE' => 'Escudo na Rinne Verde',
'CYP' => 'Punt na Cipire',
'CZK' => 'Koruna Phoblacht na Seice',
'DDM' => 'Ostmark na hOirGhearmáine',
'DDM' => 'Ostmark na hOirGhearmáine',
'DEM' => 'Deutsche Mark',
'DJF' => 'Franc Djibouti',
'DKK' => 'Krone Danmhargach',
'DOP' => 'Peso Doimineacach',
'DZD' => 'Dínear na hAilgéire',
'ECS' => 'Sucre Eacuadóir',
'ECV' => 'Unidad de Valor Constante (UVC) Eacuadóir',
'EEK' => 'Kroon na hEastóine',
'EGP' => 'Punt na hÉigipte',
'DZD' => 'Dínear na hAilgéire',
'ECS' => 'Sucre Eacuadóir',
'ECV' => 'Unidad de Valor Constante (UVC) Eacuadóir',
'EEK' => 'Kroon na hEastóine',
'EGP' => 'Punt na hÉigipte',
'EQE' => 'Ekwele',
'ERN' => 'Eritrean Nakfa',
'ESA' => 'Spanish Peseta (A account)',
'ESB' => 'Spanish Peseta (convertible account)',
'ESP' => 'Peseta Spáinneach',
'ETB' => 'Birr na hAetóipe',
'ESP' => 'Peseta Spáinneach',
'ETB' => 'Birr na hAetóipe',
'EUR' => 'Euro',
'FIM' => 'Markka Fionnlannach',
'FJD' => 'Dollar Fhidsí',
'FKP' => 'Punt Oileáin Fháclainne',
'FJD' => 'Dollar Fhidsí',
'FKP' => 'Punt Oileáin Fháclainne',
'FRF' => 'Franc Francach',
'GBP' => 'Punt Steirling',
'GEK' => 'Kupon Larit na Grúise',
'GEL' => 'Lari na Grúise',
'GHC' => 'Cedi Ghána',
'GIP' => 'Punt Ghiobráltair',
'GEK' => 'Kupon Larit na Grúise',
'GEL' => 'Lari na Grúise',
'GHC' => 'Cedi Ghána',
'GIP' => 'Punt Ghiobráltair',
'GMD' => 'Dalasi Gaimbia',
'GNF' => 'Franc Guine',
'GNS' => 'Syli Guine',
'GQE' => 'Ekwele Guineana na Guine Meánchriosaí',
'GRD' => 'Drachma Gréagach',
'GQE' => 'Ekwele Guineana na Guine Meánchriosaí',
'GRD' => 'Drachma Gréagach',
'GTQ' => 'Quetzal Guatamala',
'GWE' => 'Escudo na Guine Portaingéalaí',
'GWE' => 'Escudo na Guine Portaingéalaí',
'GWP' => 'Peso Guine-Bhissau',
'GYD' => 'Dollar na Guáine',
'GYD' => 'Dollar na Guáine',
'HKD' => 'Dollar Hong Cong',
'HNL' => 'Lempira Hondúrais',
'HRD' => 'Dínear na Cróite',
'HRK' => 'Kuna Crótach',
'HTG' => 'Gourde Háití',
'HUF' => 'Forint Ungárach',
'IDR' => 'Rupiah Indinéiseach',
'IEP' => 'Punt Éireannach',
'HNL' => 'Lempira Hondúrais',
'HRD' => 'Dínear na Cróite',
'HRK' => 'Kuna Crótach',
'HTG' => 'Gourde Háití',
'HUF' => 'Forint Ungárach',
'IDR' => 'Rupiah Indinéiseach',
'IEP' => 'Punt Éireannach',
'ILP' => 'Punt Iosraelach',
'ILS' => 'Sheqel Nua Iosraelach',
'INR' => 'Rúipí India',
'IQD' => 'Dínear Irácach',
'IRR' => 'Rial Iaránach',
'ISK' => 'Krona Íoslannach',
'ITL' => 'Lira Iodálach',
'JMD' => 'Dollar Iamácach',
'JOD' => 'Dínear Iordánach',
'JPY' => 'Yen Seapánach',
'KES' => 'Scilling Céiniach',
'KGS' => 'Som na Cirgeastáine',
'KHR' => 'Riel na Cambóide',
'KMF' => 'Franc Chomóra',
'KPW' => 'Won na Cóiré Thuaidh',
'KRW' => 'Won na Cóiré Theas',
'KWD' => 'Dínear Cuátach',
'KYD' => 'Dollar Oileáin Cayman',
'KZT' => 'Tenge Casacstánach',
'INR' => 'Rúipí India',
'IQD' => 'Dínear Irácach',
'IRR' => 'Rial Iaránach',
'ISK' => 'Krona Íoslannach',
'ITL' => 'Lira Iodálach',
'JMD' => 'Dollar Iamácach',
'JOD' => 'Dínear Iordánach',
'JPY' => 'Yen Seapánach',
'KES' => 'Scilling Céiniach',
'KGS' => 'Som na Cirgeastáine',
'KHR' => 'Riel na Cambóide',
'KMF' => 'Franc Chomóra',
'KPW' => 'Won na Cóiré Thuaidh',
'KRW' => 'Won na Cóiré Theas',
'KWD' => 'Dínear Cuátach',
'KYD' => 'Dollar Oileáin Cayman',
'KZT' => 'Tenge Casacstánach',
'LAK' => 'Kip Laosach',
'LBP' => 'Punt na Liobáine',
'LKR' => 'Rúipí Srí Lanca',
'LRD' => 'Dollar na Libéire',
'LSL' => 'Loti Leosóta',
'LBP' => 'Punt na Liobáine',
'LKR' => 'Rúipí Srí Lanca',
'LRD' => 'Dollar na Libéire',
'LSL' => 'Loti Leosóta',
'LSM' => 'Maloti',
'LTL' => 'Lita Liotuánach',
'LTT' => 'Talonas Liotuánach',
'LTL' => 'Lita Liotuánach',
'LTT' => 'Talonas Liotuánach',
'LUC' => 'Luxembourg Convertible Franc',
'LUF' => 'Franc Lucsamburg',
'LUL' => 'Luxembourg Financial Franc',
'LVL' => 'Lats Laitviach',
'LVR' => 'Rúbal Laitviach',
'LYD' => 'Dínear Libia',
'MAD' => 'Dirham Mharacó',
'MAF' => 'Franc Mharacó',
'MDL' => 'Leu Moldóvach',
'LVR' => 'Rúbal Laitviach',
'LYD' => 'Dínear Libia',
'MAD' => 'Dirham Mharacó',
'MAF' => 'Franc Mharacó',
'MDL' => 'Leu Moldóvach',
'MGA' => 'Ariary Madagascar',
'MGF' => 'Franc Madagascar',
'MKD' => 'Denar na Macadóine',
'MLF' => 'Franc Mhailí',
'MKD' => 'Denar na Macadóine',
'MLF' => 'Franc Mhailí',
'MMK' => 'Kyat Mhaenmar',
'MNT' => 'Tugrik Mongólach',
'MNT' => 'Tugrik Mongólach',
'MOP' => 'Pataca Macao',
'MRO' => 'Ouguiya na Maratáine',
'MRO' => 'Ouguiya na Maratáine',
'MTL' => 'Lira Maltach',
'MTP' => 'Punt Maltach',
'MUR' => 'Rúipí Oileán Mhuirís',
'MUR' => 'Rúipí Oileán Mhuirís',
'MVR' => 'Maldive Islands Rufiyaa',
'MWK' => 'Kwacha na Maláive',
'MWK' => 'Kwacha na Maláive',
'MXN' => 'Peso Meicsiceo',
'MXP' => 'Peso Airgid Meicsiceo (1861-1992)',
'MXV' => 'Unidad de Inversion (UDI) Meicsiceo',
'MYR' => 'Ringgit Malaeisia',
'MZE' => 'Escudo Mósaimbíce',
'MZM' => 'Metical Mósaimbíce',
'MZE' => 'Escudo Mósaimbíce',
'MZM' => 'Metical Mósaimbíce',
'NAD' => 'Dollar na Namaibe',
'NGN' => 'Naira Nígéarach',
'NGN' => 'Naira Nígéarach',
'NIC' => 'Cordoba Nicearagua',
'NIO' => 'Cordoba Oro Nicearagua',
'NLG' => 'Guilder Ísiltíreach',
'NLG' => 'Guilder Ísiltíreach',
'NOK' => 'Krone Ioruach',
'NPR' => 'Rúipí Neipeáil',
'NZD' => 'Dollar na Nua-Shéalainne',
'NPR' => 'Rúipí Neipeáil',
'NZD' => 'Dollar na Nua-Shéalainne',
'OMR' => 'Rial Omain',
'PAB' => 'Balboa Panamach',
'PEI' => 'Inti Pheiriú',
'PEN' => 'Sol Nuevo Pheiriú',
'PES' => 'Sol Pheiriú',
'PEI' => 'Inti Pheiriú',
'PEN' => 'Sol Nuevo Pheiriú',
'PES' => 'Sol Pheiriú',
'PGK' => 'Kina Nua-Ghuine Phapua',
'PHP' => 'Peso Filipíneach',
'PKR' => 'Rúipí na Pacastáine',
'PHP' => 'Peso Filipíneach',
'PKR' => 'Rúipí na Pacastáine',
'PLN' => 'Zloty Polannach',
'PLZ' => 'Zloty Polannach (1950-1995)',
'PTE' => 'Escudo Portaingélach',
'PTE' => 'Escudo Portaingélach',
'PYG' => 'Guarani Pharagua',
'QAR' => 'Rial Catarach',
'RHD' => 'Rhodesian Dollar',
'ROL' => 'Leu Rómánach',
'ROL' => 'Leu Rómánach',
'RON' => 'Romanian Leu',
'RUB' => 'Rúbal Rúiseach',
'RUR' => 'Rúbal Rúiseach (1991-1998)',
'RUB' => 'Rúbal Rúiseach',
'RUR' => 'Rúbal Rúiseach (1991-1998)',
'RWF' => 'Franc Ruanda',
'SAR' => 'Riyal Sádach',
'SBD' => 'Dollar Oileáin Solomon',
'SCR' => 'Rúipí na Séiséil',
'SDD' => 'Dínear na Súdáine',
'SDP' => 'Punt na Súdáine',
'SAR' => 'Riyal Sádach',
'SBD' => 'Dollar Oileáin Solomon',
'SCR' => 'Rúipí na Séiséil',
'SDD' => 'Dínear na Súdáine',
'SDP' => 'Punt na Súdáine',
'SEK' => 'Krona Sualannach',
'SGD' => 'Dollar Singeapóir',
'SHP' => 'Punt San Héilin',
'SIT' => 'Tolar Slóvénach',
'SKK' => 'Koruna na Slóvaice',
'SGD' => 'Dollar Singeapóir',
'SHP' => 'Punt San Héilin',
'SIT' => 'Tolar Slóvénach',
'SKK' => 'Koruna na Slóvaice',
'SLL' => 'Leone Shiarra Leon',
'SOS' => 'Scilling na Sómáile',
'SOS' => 'Scilling na Sómáile',
'SRD' => 'Surinam Dollar',
'SRG' => 'Guilder Shuranaim',
'STD' => 'Dobra Sao Tome agus Principe',
'SUR' => 'Rúbal Sóvéadach',
'SVC' => 'Colon na Salvadóire',
'SUR' => 'Rúbal Sóvéadach',
'SVC' => 'Colon na Salvadóire',
'SYP' => 'Punt Siria',
'SZL' => 'Lilangeni na Suasalainne',
'THB' => 'Baht na Téalainne',
'TJR' => 'Rúbal na Táidsíceastáine',
'TJS' => 'Somoni na Táidsíceastáine',
'TMM' => 'Manat na An Tuircméanastáine',
'TND' => 'Dínear na Túinéise',
'THB' => 'Baht na Téalainne',
'TJR' => 'Rúbal na Táidsíceastáine',
'TJS' => 'Somoni na Táidsíceastáine',
'TMM' => 'Manat na An Tuircméanastáine',
'TND' => 'Dínear na Túinéise',
'TOP' => 'Paʻanga Tonga',
'TPE' => 'Escudo Tíomóir',
'TPE' => 'Escudo Tíomóir',
'TRL' => 'Lira Turcach',
'TRY' => 'New Turkish Lira',
'TTD' => 'Dollar Oileáin na Tríonóide agus Tobága',
'TWD' => 'Dollar Nua na Téaváine',
'TZS' => 'Scilling na Tansáine',
'UAH' => 'Hryvnia Úcránach',
'UAK' => 'Karbovanetz Úcránach',
'TTD' => 'Dollar Oileáin na Tríonóide agus Tobága',
'TWD' => 'Dollar Nua na Téaváine',
'TZS' => 'Scilling na Tansáine',
'UAH' => 'Hryvnia Úcránach',
'UAK' => 'Karbovanetz Úcránach',
'UGS' => 'Scilling Uganda (1966-1987)',
'UGX' => 'Scilling Uganda',
'USD' => 'Dollar S.A.M.',
'USN' => 'Dollar S.A.M. (an chéad lá eile)',
'USS' => 'Dollar S.A.M. (an la céanna)',
'USN' => 'Dollar S.A.M. (an chéad lá eile)',
'USS' => 'Dollar S.A.M. (an la céanna)',
'UYP' => 'Peso Uragua (1975-1993)',
'UYU' => 'Peso Uruguayo Uragua',
'UZS' => 'Sum na hÚisbéiceastáine',
'VEB' => 'Bolivar Veiniséala',
'VND' => 'Dong Vítneamach',
'VUV' => 'Vatu Vanuatú',
'WST' => 'Tala Samó Thiar',
'UZS' => 'Sum na hÚisbéiceastáine',
'VEB' => 'Bolivar Veiniséala',
'VND' => 'Dong Vítneamach',
'VUV' => 'Vatu Vanuatú',
'WST' => 'Tala Samó Thiar',
'XAF' => 'CFA Franc BEAC',
'XAG' => 'Silver',
'XAU' => 'Ór',
'XAU' => 'Ór',
'XBA' => 'Aonad Ilchodach Eorpach',
'XBB' => 'Aonad Airgeadaíochta Eorpach',
'XBB' => 'Aonad Airgeadaíochta Eorpach',
'XBC' => 'Aonad Cuntais Eorpach (XBC)',
'XBD' => 'Aonad Cuntais Eorpach (XBD)',
'XCD' => 'Dollar Oirthear na Cairibe',
'XDR' => 'Cearta Speisialta Tarraingthe',
'XEU' => 'Aonad Airgeadra Eorpach',
'XFO' => 'Franc Ór Francach',
'XFO' => 'Franc Ór Francach',
'XFU' => 'UIC-Franc Francach',
'XOF' => 'CFA Franc BCEAO',
'XPD' => 'Palladium',
256,16 → 256,16
'XRE' => 'RINET Funds',
'XTS' => 'Testing Currency Code',
'XXX' => 'No Currency',
'YDD' => 'Dínear Éimin',
'YER' => 'Rial Éimin',
'YUD' => 'Dínear Crua Iúgslavach',
'YUM' => 'Noviy Dinar Iúgslavach',
'YUN' => 'Dínear Inathraithe Iúgslavach',
'ZAL' => 'Rand na hAfraice Theas (airgeadúil)',
'YDD' => 'Dínear Éimin',
'YER' => 'Rial Éimin',
'YUD' => 'Dínear Crua Iúgslavach',
'YUM' => 'Noviy Dinar Iúgslavach',
'YUN' => 'Dínear Inathraithe Iúgslavach',
'ZAL' => 'Rand na hAfraice Theas (airgeadúil)',
'ZAR' => 'Rand na hAfraice Theas',
'ZMK' => 'Kwacha Saimbiach',
'ZRN' => 'Zaire Nua Sáíreach',
'ZRZ' => 'Zaire Sáíreach',
'ZWD' => 'Dollar Siombábach',
'ZRN' => 'Zaire Nua Sáíreach',
'ZRZ' => 'Zaire Sáíreach',
'ZWD' => 'Dollar Siombábach',
);
?>
/trunk/api/pear/I18Nv2/Currency/cs.php
3,37 → 3,37
* $Id: cs.php,v 1.1 2007-06-25 09:55:26 alexandre_tb Exp $
*/
$this->codes = array(
'ADP' => 'Peseta andorrská',
'ADP' => 'Peseta andorrská',
'AED' => 'Dirham SAE',
'AFA' => 'Afghán (1927-2002)',
'AFN' => 'Afghán',
'AFA' => 'Afghán (1927-2002)',
'AFN' => 'Afghán',
'ALL' => 'Lek',
'AMD' => 'Dram arménský',
'ANG' => 'Zlatý Nizozemských Antil',
'AMD' => 'Dram arménský',
'ANG' => 'Zlatý Nizozemských Antil',
'AOA' => 'Kwanza',
'AOK' => 'Kwanza (1977-1990)',
'AON' => 'Kwanza nová (1990-2000)',
'AON' => 'Kwanza nová (1990-2000)',
'AOR' => 'Kwanza reajustado (1995-1999)',
'ARA' => 'Austral',
'ARP' => 'Peso argentinské (1983-1985)',
'ARS' => 'Peso argentinské',
'ARP' => 'Peso argentinské (1983-1985)',
'ARS' => 'Peso argentinské',
'ATS' => 'Šilink',
'AUD' => 'Dolar australský',
'AWG' => 'Zlatý arubský',
'AZM' => 'Manat ázerbajdžánský',
'BAD' => 'Dinár Bosny a Hercegoviny',
'BAM' => 'Marka konvertibilní',
'BBD' => 'Dolar barbadoský',
'AUD' => 'Dolar australský',
'AWG' => 'Zlatý arubský',
'AZM' => 'Manat ázerbajdžánský',
'BAD' => 'Dinár Bosny a Hercegoviny',
'BAM' => 'Marka konvertibilní',
'BBD' => 'Dolar barbadoský',
'BDT' => 'Taka',
'BEC' => 'Frank konvertibilní',
'BEF' => 'Frank belgický',
'BEL' => 'Frank finanční',
'BEC' => 'Frank konvertibilní',
'BEF' => 'Frank belgický',
'BEL' => 'Frank finanční',
'BGL' => 'Lev',
'BGN' => 'Lev Bulharský',
'BHD' => 'Dinár bahrajnský',
'BIF' => 'Frank burundský',
'BMD' => 'Dolar bermudský',
'BND' => 'Dolar brunejský',
'BGN' => 'Lev Bulharský',
'BHD' => 'Dinár bahrajnský',
'BIF' => 'Frank burundský',
'BMD' => 'Dolar bermudský',
'BND' => 'Dolar brunejský',
'BOB' => 'Boliviano',
'BOP' => 'Peso',
'BOV' => 'Mvdol',
40,199 → 40,199
'BRB' => 'Cruzeiro (1967-1986)',
'BRC' => 'Cruzado',
'BRE' => 'Cruzeiro (1990-1993)',
'BRL' => 'Real brazilský',
'BRN' => 'Cruzado nové',
'BRL' => 'Real brazilský',
'BRN' => 'Cruzado nové',
'BRR' => 'Cruzeiro real',
'BSD' => 'Dolar bahamský',
'BSD' => 'Dolar bahamský',
'BTN' => 'Ngultrum',
'BUK' => 'Kyat barmský',
'BUK' => 'Kyat barmský',
'BWP' => 'Pula',
'BYB' => 'Rubl nový běloruský (1994-1999)',
'BYR' => 'Rubl běloruský',
'BZD' => 'Dolar belizský',
'CAD' => 'Dolar kanadský',
'CDF' => 'Frank konžský',
'BYB' => 'Rubl nový běloruský (1994-1999)',
'BYR' => 'Rubl běloruský',
'BZD' => 'Dolar belizský',
'CAD' => 'Dolar kanadský',
'CDF' => 'Frank konžský',
'CHE' => 'WIR Euro',
'CHF' => 'Frank Å¡výcarský',
'CHF' => 'Frank švýcarský',
'CHW' => 'WIR Franc',
'CLF' => 'Unidades de fomento',
'CLP' => 'Peso chilské',
'CLP' => 'Peso chilské',
'CNY' => 'Juan renminbi',
'COP' => 'Peso kolumbijské',
'COP' => 'Peso kolumbijské',
'COU' => 'Unidad de Valor Real',
'CRC' => 'Colón kostarický',
'CRC' => 'Colón kostarický',
'CSD' => 'Serbian Dinar',
'CSK' => 'Koruna československá',
'CUP' => 'Peso kubánské',
'CVE' => 'Escudo kapverdské',
'CYP' => 'Libra kyperská',
'CZK' => 'Koruna česká',
'CSK' => 'Koruna československá',
'CUP' => 'Peso kubánské',
'CVE' => 'Escudo kapverdské',
'CYP' => 'Libra kyperská',
'CZK' => 'Koruna česká',
'DDM' => 'Marka NDR',
'DEM' => 'Marka německá',
'DJF' => 'Frank džibutský',
'DKK' => 'Koruna dánská',
'DOP' => 'Peso dominikánské',
'DZD' => 'Dinár alžírský',
'ECS' => 'Sucre ekvádorský',
'DEM' => 'Marka německá',
'DJF' => 'Frank džibutský',
'DKK' => 'Koruna dánská',
'DOP' => 'Peso dominikánské',
'DZD' => 'Dinár alžírský',
'ECS' => 'Sucre ekvádorský',
'ECV' => 'Ecuador Unidad de Valor Constante (UVC)',
'EEK' => 'Kroon',
'EGP' => 'Libra egyptská',
'EGP' => 'Libra egyptská',
'EQE' => 'Ekwele',
'ERN' => 'Nakfa',
'ESA' => 'Spanish Peseta (A account)',
'ESB' => 'Spanish Peseta (convertible account)',
'ESP' => 'Peseta Å¡panělská',
'ETB' => 'Birr etiopský',
'ESP' => 'Peseta španělská',
'ETB' => 'Birr etiopský',
'EUR' => 'Euro',
'FIM' => 'Markka',
'FJD' => 'Dolar fidžijský',
'FKP' => 'Libra falklandská',
'FRF' => 'Frank francouzský',
'FJD' => 'Dolar fidžijský',
'FKP' => 'Libra falklandská',
'FRF' => 'Frank francouzský',
'GBP' => 'Libra šterlinků',
'GEK' => 'Georgian Kupon Larit',
'GEL' => 'Lari',
'GHC' => 'Cedi',
'GIP' => 'Libra gibraltarská',
'GIP' => 'Libra gibraltarská',
'GMD' => 'Dalasi',
'GNF' => 'Frank guinejský',
'GNF' => 'Frank guinejský',
'GNS' => 'Guinea Syli',
'GQE' => 'Equatorial Guinea Ekwele Guineana',
'GRD' => 'Drachma',
'GTQ' => 'Quetzal',
'GWE' => 'Escudo guinejské',
'GWE' => 'Escudo guinejské',
'GWP' => 'Peso Guinnea-Bissau',
'GYD' => 'Dolar guyanský',
'HKD' => 'Dolar hongkongský',
'GYD' => 'Dolar guyanský',
'HKD' => 'Dolar hongkongský',
'HNL' => 'Lempira',
'HRD' => 'Dinar chorvatský',
'HRK' => 'Kuna chorvatská',
'HRD' => 'Dinar chorvatský',
'HRK' => 'Kuna chorvatská',
'HTG' => 'Gourde',
'HUF' => 'Forint',
'IDR' => 'Rupie indonézská',
'IEP' => 'Libra irská',
'ILP' => 'Libra izraelská',
'ILS' => 'Å ekel nový izraelský',
'INR' => 'Rupie indická',
'IQD' => 'Dinár irácký',
'IRR' => 'Rijál íránský',
'ISK' => 'Koruna islandská',
'ITL' => 'Lira italská',
'JMD' => 'Dolar jamajský',
'JOD' => 'Dinár jordánský',
'IDR' => 'Rupie indonézská',
'IEP' => 'Libra irská',
'ILP' => 'Libra izraelská',
'ILS' => 'Šekel nový izraelský',
'INR' => 'Rupie indická',
'IQD' => 'Dinár irácký',
'IRR' => 'Rijál íránský',
'ISK' => 'Koruna islandská',
'ITL' => 'Lira italská',
'JMD' => 'Dolar jamajský',
'JOD' => 'Dinár jordánský',
'JPY' => 'Jen',
'KES' => 'Å ilink keňský',
'KES' => 'Šilink keňský',
'KGS' => 'Som',
'KHR' => 'Riel',
'KMF' => 'Frank komorský',
'KPW' => 'Won severokorejský',
'KRW' => 'Won jihokorejský',
'KWD' => 'Dinár kuvajtský',
'KYD' => 'Dolar Kajmanských ostrovů',
'KMF' => 'Frank komorský',
'KPW' => 'Won severokorejský',
'KRW' => 'Won jihokorejský',
'KWD' => 'Dinár kuvajtský',
'KYD' => 'Dolar Kajmanských ostrovů',
'KZT' => 'Tenge',
'LAK' => 'Kip',
'LBP' => 'Libra libanonská',
'LKR' => 'Rupie srílanská',
'LRD' => 'Dolar liberijský',
'LBP' => 'Libra libanonská',
'LKR' => 'Rupie srílanská',
'LRD' => 'Dolar liberijský',
'LSL' => 'Loti',
'LSM' => 'Maloti',
'LTL' => 'Litus litevský',
'LTL' => 'Litus litevský',
'LTT' => 'Talon',
'LUC' => 'Luxembourg Convertible Franc',
'LUF' => 'Frank lucemburský',
'LUF' => 'Frank lucemburský',
'LUL' => 'Luxembourg Financial Franc',
'LVL' => 'Lat lotyÅ¡ský',
'LVR' => 'Rubl lotyÅ¡ský',
'LYD' => 'Dinár lybijský',
'MAD' => 'Dirham marocký',
'MAF' => 'Frank marocký',
'MDL' => 'Leu moldavský',
'MGA' => 'Ariary madagaskarský',
'MGF' => 'Frank madagaskarský',
'MKD' => 'Denár',
'MLF' => 'Frank malijský',
'LVL' => 'Lat lotyšský',
'LVR' => 'Rubl lotyšský',
'LYD' => 'Dinár lybijský',
'MAD' => 'Dirham marocký',
'MAF' => 'Frank marocký',
'MDL' => 'Leu moldavský',
'MGA' => 'Ariary madagaskarský',
'MGF' => 'Frank madagaskarský',
'MKD' => 'Denár',
'MLF' => 'Frank malijský',
'MMK' => 'Kyat',
'MNT' => 'Tugrik',
'MOP' => 'Pataca',
'MRO' => 'Ouguiya',
'MTL' => 'Lira maltská',
'MTP' => 'Libra maltská',
'MUR' => 'Rupie mauricijská',
'MTL' => 'Lira maltská',
'MTP' => 'Libra maltská',
'MUR' => 'Rupie mauricijská',
'MVR' => 'Rufiyaa',
'MWK' => 'Kwacha',
'MXN' => 'Peso mexické',
'MXP' => 'Peso stříbrné mexické (1861-1992)',
'MXN' => 'Peso mexické',
'MXP' => 'Peso stříbrné mexické (1861-1992)',
'MXV' => 'Mexican Unidad de Inversion (UDI)',
'MYR' => 'Ringgit malajskijský',
'MYR' => 'Ringgit malajskijský',
'MZE' => 'Escudo Mosambiku',
'MZM' => 'Metical',
'NAD' => 'Dolar namibijský',
'NAD' => 'Dolar namibijský',
'NGN' => 'Naira',
'NIC' => 'Cordoba',
'NIO' => 'Cordoba oro',
'NLG' => 'Zlatý holandský',
'NOK' => 'Koruna norská',
'NPR' => 'Rupie nepálská',
'NZD' => 'Dolar novozélandský',
'OMR' => 'Rijál ománský',
'NLG' => 'Zlatý holandský',
'NOK' => 'Koruna norská',
'NPR' => 'Rupie nepálská',
'NZD' => 'Dolar novozélandský',
'OMR' => 'Rijál ománský',
'PAB' => 'Balboa',
'PEI' => 'Inti',
'PEN' => 'Nuevo sol',
'PES' => 'Sol',
'PGK' => 'Kina',
'PHP' => 'Peso filipínské',
'PKR' => 'Rupie pákistánská',
'PLN' => 'Zlotý',
'PLZ' => 'Zlotý (1950-1995)',
'PTE' => 'Escudo portugalské',
'PHP' => 'Peso filipínské',
'PKR' => 'Rupie pákistánská',
'PLN' => 'Zlotý',
'PLZ' => 'Zlotý (1950-1995)',
'PTE' => 'Escudo portugalské',
'PYG' => 'Guarani',
'QAR' => 'Rijál katarský',
'QAR' => 'Rijál katarský',
'RHD' => 'Rhodesian Dollar',
'ROL' => 'Lei',
'RON' => 'Romanian Leu',
'RUB' => 'Rubl ruský',
'RUR' => 'Rubl ruský (1991-1998)',
'RWF' => 'Frank rwandský',
'SAR' => 'Rijál saudský',
'SBD' => 'Dolar Å alamounových ostrovů',
'SCR' => 'Rupie seychelská',
'SDD' => 'Dinár súdánský',
'SDP' => 'Libra súdánská',
'SEK' => 'Koruna Å¡védská',
'SGD' => 'Dolar singapurský',
'SHP' => 'Libra Svaté Heleny',
'RUB' => 'Rubl ruský',
'RUR' => 'Rubl ruský (1991-1998)',
'RWF' => 'Frank rwandský',
'SAR' => 'Rijál saudský',
'SBD' => 'Dolar Šalamounových ostrovů',
'SCR' => 'Rupie seychelská',
'SDD' => 'Dinár súdánský',
'SDP' => 'Libra súdánská',
'SEK' => 'Koruna švédská',
'SGD' => 'Dolar singapurský',
'SHP' => 'Libra Svaté Heleny',
'SIT' => 'Tolar',
'SKK' => 'Koruna slovenská',
'SKK' => 'Koruna slovenská',
'SLL' => 'Sierra Leone Leone',
'SOS' => 'Å ilink somálský',
'SOS' => 'Šilink somálský',
'SRD' => 'Surinam Dollar',
'SRG' => 'Zlatý surinamský',
'SRG' => 'Zlatý surinamský',
'STD' => 'Dobra',
'SUR' => 'Rubl',
'SVC' => 'Colon salvadorský',
'SYP' => 'Libra syrská',
'SVC' => 'Colon salvadorský',
'SYP' => 'Libra syrská',
'SZL' => 'Lilangeni',
'THB' => 'Baht',
'TJR' => 'Tajikistan Ruble',
'TJS' => 'Somoni',
'TMM' => 'Manat',
'TND' => 'Dinár tuniský',
'TND' => 'Dinár tuniský',
'TOP' => 'Tonga Paʻanga',
'TPE' => 'Escudo timorské',
'TRL' => 'Lira turecká',
'TRY' => 'Lira nová turecká',
'TPE' => 'Escudo timorské',
'TRL' => 'Lira turecká',
'TRY' => 'Lira nová turecká',
'TTD' => 'Dolar Trinidad a Tobago',
'TWD' => 'Dolar tchajvanský nový',
'TZS' => 'Å ilink tanzanský',
'TWD' => 'Dolar tchajvanský nový',
'TZS' => 'Šilink tanzanský',
'UAH' => 'Hřivna',
'UAK' => 'Karbovanec',
'UGS' => 'Å ilink ugandský (1966-1987)',
'UGX' => 'Å ilink ugandský',
'USD' => 'Dolar americký',
'USN' => 'Dolar americký (příÅ¡tí den)',
'USS' => 'Dolar americký (tý¸den)',
'UYP' => 'Peso uruguayské (1975-1993)',
'UYU' => 'Peso uruguayské',
'UZS' => 'Sum uzbecký',
'UGS' => 'Šilink ugandský (1966-1987)',
'UGX' => 'Šilink ugandský',
'USD' => 'Dolar americký',
'USN' => 'Dolar americký (příští den)',
'USS' => 'Dolar americký (týž den)',
'UYP' => 'Peso uruguayské (1975-1993)',
'UYU' => 'Peso uruguayské',
'UZS' => 'Sum uzbecký',
'VEB' => 'Bolivar',
'VND' => 'Vietnamese Dong',
'VUV' => 'Vatu',
240,14 → 240,14
'XAF' => 'Frank BEAC/CFA',
'XAG' => 'Silver',
'XAU' => 'Zlato',
'XBA' => 'Evropská smíÅ¡ená jednotka',
'XBB' => 'Evropská peněžní jednotka',
'XBC' => 'Evropská jednotka účtu 9 (XBC)',
'XBD' => 'Evropská jednotka účtu 17 (XBD)',
'XCD' => 'Dolar východokaribský',
'XBA' => 'Evropská smíšená jednotka',
'XBB' => 'Evropská peněžní jednotka',
'XBC' => 'Evropská jednotka účtu 9 (XBC)',
'XBD' => 'Evropská jednotka účtu 17 (XBD)',
'XCD' => 'Dolar východokaribský',
'XDR' => 'SDR',
'XEU' => 'Evropská měnová jednotka',
'XFO' => 'Frank zlatý',
'XEU' => 'Evropská měnová jednotka',
'XFO' => 'Frank zlatý',
'XFU' => 'Frank UIC',
'XOF' => 'Frank BCEAO/CFA',
'XPD' => 'Palladium',
256,16 → 256,16
'XRE' => 'RINET Funds',
'XTS' => 'Testing Currency Code',
'XXX' => 'No Currency',
'YDD' => 'Dinár jemenský',
'YER' => 'Rijál jemenský',
'YUD' => 'Dinár jugoslávský nový',
'YUM' => 'Dinár jugoslávský',
'YUN' => 'Dinár jugoslávský',
'ZAL' => 'Rand finanční',
'YDD' => 'Dinár jemenský',
'YER' => 'Rijál jemenský',
'YUD' => 'Dinár jugoslávský nový',
'YUM' => 'Dinár jugoslávský',
'YUN' => 'Dinár jugoslávský',
'ZAL' => 'Rand finanční',
'ZAR' => 'Rand',
'ZMK' => 'Kwacha',
'ZRN' => 'Zaire nový',
'ZRN' => 'Zaire nový',
'ZRZ' => 'Zaire',
'ZWD' => 'Dolar zimbabwský',
'ZWD' => 'Dolar zimbabwský',
);
?>
/trunk/api/pear/I18Nv2/Country/id.php
197,7 → 197,7
'PZ' => 'Panama Canal Zone',
'QA' => 'Qatar',
'QO' => 'Outlying Oceania',
'RE' => 'Réunion',
'RE' => 'Réunion',
'RO' => 'Romania',
'RU' => 'Rusia',
'RW' => 'Rwanda',
/trunk/api/pear/I18Nv2/Country/es.php
4,8 → 4,8
*/
$this->codes = array(
'AD' => 'Andorra',
'AE' => 'Emiratos Árabes Unidos',
'AF' => 'Afganistán',
'AE' => 'Emiratos Árabes Unidos',
'AF' => 'Afganistán',
'AG' => 'Antigua y Barbuda',
'AI' => 'Anguila',
'AL' => 'Albania',
12,7 → 12,7
'AM' => 'Armenia',
'AN' => 'Antillas Neerlandesas',
'AO' => 'Angola',
'AQ' => 'Antártida',
'AQ' => 'Antártida',
'AR' => 'Argentina',
'AS' => 'Samoa Americana',
'AT' => 'Austria',
19,37 → 19,37
'AU' => 'Australia',
'AW' => 'Aruba',
'AX' => 'Aland Islands',
'AZ' => 'Azerbaiyán',
'AZ' => 'Azerbaiyán',
'BA' => 'Bosnia-Herzegovina',
'BB' => 'Barbados',
'BD' => 'Bangladesh',
'BE' => 'Bélgica',
'BE' => 'Bélgica',
'BF' => 'Burkina Faso',
'BG' => 'Bulgaria',
'BH' => 'Bahráin',
'BH' => 'Bahráin',
'BI' => 'Burundi',
'BJ' => 'Benín',
'BJ' => 'Benín',
'BM' => 'Bermudas',
'BN' => 'Brunéi',
'BN' => 'Brunéi',
'BO' => 'Bolivia',
'BQ' => 'British Antarctic Territory',
'BR' => 'Brasil',
'BS' => 'Bahamas',
'BT' => 'Bután',
'BT' => 'Bután',
'BV' => 'Isla Bouvet',
'BW' => 'Botsuana',
'BY' => 'Bielorrusia',
'BZ' => 'Belice',
'CA' => 'Canadá',
'CA' => 'Canadá',
'CC' => 'Islas Cocos (Keeling)',
'CD' => 'República Democrática del Congo',
'CF' => 'República Centroafricana',
'CD' => 'República Democrática del Congo',
'CF' => 'República Centroafricana',
'CG' => 'Congo',
'CH' => 'Suiza',
'CI' => 'Costa de Marfil',
'CK' => 'Islas Cook',
'CL' => 'Chile',
'CM' => 'Camerún',
'CM' => 'Camerún',
'CN' => 'China',
'CO' => 'Colombia',
'CR' => 'Costa Rica',
59,21 → 59,21
'CV' => 'Cabo Verde',
'CX' => 'Isla Navidad',
'CY' => 'Chipre',
'CZ' => 'República Checa',
'CZ' => 'República Checa',
'DD' => 'East Germany',
'DE' => 'Alemania',
'DJ' => 'Yibuti',
'DK' => 'Dinamarca',
'DM' => 'Dominica',
'DO' => 'República Dominicana',
'DO' => 'República Dominicana',
'DZ' => 'Argelia',
'EC' => 'Ecuador',
'EE' => 'Estonia',
'EG' => 'Egipto',
'EH' => 'Sáhara Occidental',
'EH' => 'Sáhara Occidental',
'ER' => 'Eritrea',
'ES' => 'España',
'ET' => 'Etiopía',
'ES' => 'España',
'ET' => 'Etiopía',
'FI' => 'Finlandia',
'FJ' => 'Fiyi',
'FK' => 'Islas Falkland (Malvinas)',
82,7 → 82,7
'FQ' => 'French Southern and Antarctic Territories',
'FR' => 'Francia',
'FX' => 'Metropolitan France',
'GA' => 'Gabón',
'GA' => 'Gabón',
'GB' => 'Reino Unido',
'GD' => 'Granada',
'GE' => 'Georgia',
100,38 → 100,38
'GU' => 'Guam',
'GW' => 'Guinea-Bissau',
'GY' => 'Guyana',
'HK' => 'Hong-Kong, Región administrativa especial de China',
'HK' => 'Hong-Kong, Región administrativa especial de China',
'HM' => 'Islas Heard y McDonald',
'HN' => 'Honduras',
'HR' => 'Croacia',
'HT' => 'Haití',
'HU' => 'Hungría',
'HT' => 'Haití',
'HU' => 'Hungría',
'ID' => 'Indonesia',
'IE' => 'Irlanda',
'IL' => 'Israel',
'IN' => 'India',
'IO' => 'Territorios Británico del Océano Índico',
'IO' => 'Territorios Británico del Océano Índico',
'IQ' => 'Iraq',
'IR' => 'Irán',
'IR' => 'Irán',
'IS' => 'Islandia',
'IT' => 'Italia',
'JM' => 'Jamaica',
'JO' => 'Jordania',
'JP' => 'Japón',
'JP' => 'Japón',
'JT' => 'Johnston Island',
'KE' => 'Kenia',
'KG' => 'Kirguizistán',
'KG' => 'Kirguizistán',
'KH' => 'Camboya',
'KI' => 'Kiribati',
'KM' => 'Comoras',
'KN' => 'San Cristóbal y Nieves',
'KN' => 'San Cristóbal y Nieves',
'KP' => 'Corea del Norte',
'KR' => 'Corea del Sur',
'KW' => 'Kuwait',
'KY' => 'Islas Caimán',
'KZ' => 'Kazajstán',
'KY' => 'Islas Caimán',
'KZ' => 'Kazajstán',
'LA' => 'Laos',
'LB' => 'Líbano',
'LB' => 'Líbano',
'LC' => 'Saint Lucia',
'LI' => 'Liechtenstein',
'LK' => 'Sri Lanka',
142,16 → 142,16
'LV' => 'Letonia',
'LY' => 'Libia',
'MA' => 'Marruecos',
'MC' => 'Mónaco',
'MC' => 'Mónaco',
'MD' => 'Moldova',
'MG' => 'Madagascar',
'MH' => 'Islas Marshall',
'MI' => 'Midway Islands',
'MK' => 'Macedonia',
'ML' => 'Malí',
'ML' => 'Malí',
'MM' => 'Myanmar',
'MN' => 'Mongolia',
'MO' => 'Macao, Región administrativa especial de China',
'MO' => 'Macao, Región administrativa especial de China',
'MP' => 'Islas Marianas del Norte',
'MQ' => 'Martinica',
'MR' => 'Mauritania',
160,16 → 160,16
'MU' => 'Mauricio',
'MV' => 'Maldivas',
'MW' => 'Malawi',
'MX' => 'México',
'MX' => 'México',
'MY' => 'Malasia',
'MZ' => 'Mozambique',
'NA' => 'Namibia',
'NC' => 'Nueva Caledonia',
'NE' => 'Níger',
'NE' => 'Níger',
'NF' => 'Isla Norfolk',
'NG' => 'Nigeria',
'NI' => 'Nicaragua',
'NL' => 'Países Bajos',
'NL' => 'Países Bajos',
'NO' => 'Noruega',
'NP' => 'Nepal',
'NQ' => 'Dronning Maud Land',
177,16 → 177,16
'NT' => 'Neutral Zone',
'NU' => 'Isla Niue',
'NZ' => 'Nueva Zelanda',
'OM' => 'Omán',
'PA' => 'Panamá',
'OM' => 'Omán',
'PA' => 'Panamá',
'PC' => 'Pacific Islands Trust Territory',
'PE' => 'Perú',
'PE' => 'Perú',
'PF' => 'Polinesia Francesa',
'PG' => 'Papúa Nueva Guinea',
'PG' => 'Papúa Nueva Guinea',
'PH' => 'Filipinas',
'PK' => 'Pakistán',
'PK' => 'Pakistán',
'PL' => 'Polonia',
'PM' => 'San Pedro y Miquelón',
'PM' => 'San Pedro y Miquelón',
'PN' => 'Pitcairn',
'PR' => 'Puerto Rico',
'PS' => 'Territorios Palestinos',
197,14 → 197,14
'PZ' => 'Panama Canal Zone',
'QA' => 'Qatar',
'QO' => 'Outlying Oceania',
'RE' => 'Réunion',
'RO' => 'Rumanía',
'RE' => 'Réunion',
'RO' => 'Rumanía',
'RU' => 'Rusia',
'RW' => 'Ruanda',
'SA' => 'Arabia Saudí',
'SB' => 'Islas Salomón',
'SA' => 'Arabia Saudí',
'SB' => 'Islas Salomón',
'SC' => 'Seychelles',
'SD' => 'Sudán',
'SD' => 'Sudán',
'SE' => 'Suecia',
'SG' => 'Singapur',
'SH' => 'Santa Elena',
216,7 → 216,7
'SN' => 'Senegal',
'SO' => 'Somalia',
'SR' => 'Suriname',
'ST' => 'Santo Tomé y Príncipe',
'ST' => 'Santo Tomé y Príncipe',
'SU' => 'Union of Soviet Socialist Republics',
'SV' => 'El Salvador',
'SY' => 'Siria',
226,16 → 226,16
'TF' => 'Territorios Australes Franceses',
'TG' => 'Togo',
'TH' => 'Tailandia',
'TJ' => 'Tayikistán',
'TJ' => 'Tayikistán',
'TK' => 'Islas Tokelau',
'TL' => 'Timor Oriental',
'TM' => 'Turkmenistán',
'TN' => 'Túnez',
'TM' => 'Turkmenistán',
'TN' => 'Túnez',
'TO' => 'Tonga',
'TR' => 'Turquía',
'TR' => 'Turquía',
'TT' => 'Trinidad y Tabago',
'TV' => 'Tuvalu',
'TW' => 'Taiwán',
'TW' => 'Taiwán',
'TZ' => 'Tanzania',
'UA' => 'Ucrania',
'UG' => 'Uganda',
242,13 → 242,13
'UM' => 'Islas menores alejadas de los Estados Unidos',
'US' => 'Estados Unidos',
'UY' => 'Uruguay',
'UZ' => 'Uzbekistán',
'UZ' => 'Uzbekistán',
'VA' => 'Ciudad del Vaticano',
'VC' => 'San Vicente y las Granadinas',
'VD' => 'North Vietnam',
'VE' => 'Venezuela',
'VG' => 'Islas Vírgenes Británicas',
'VI' => 'Islas Vírgenes de los Estados Unidos',
'VG' => 'Islas Vírgenes Británicas',
'VI' => 'Islas Vírgenes de los Estados Unidos',
'VN' => 'Vietnam',
'VU' => 'Vanuatu',
'WF' => 'Wallis y Futuna',
257,7 → 257,7
'YD' => 'People\'s Democratic Republic of Yemen',
'YE' => 'Yemen',
'YT' => 'Mayotte',
'ZA' => 'Sudáfrica',
'ZA' => 'Sudáfrica',
'ZM' => 'Zambia',
'ZW' => 'Zimbabue',
);
/trunk/api/pear/I18Nv2/Country/et.php
4,7 → 4,7
*/
$this->codes = array(
'AD' => 'Andorra',
'AE' => 'Araabia Ühendemiraadid',
'AE' => 'Araabia Ühendemiraadid',
'AF' => 'Afganistan',
'AG' => 'Antigua ja Barbuda',
'AI' => 'Anguilla',
57,8 → 57,8
'CT' => 'Canton and Enderbury Islands',
'CU' => 'Kuuba',
'CV' => 'Cabo Verde',
'CX' => 'Jõulusaar',
'CY' => 'Küpros',
'CX' => 'Jõulusaar',
'CY' => 'Küpros',
'CZ' => 'Tšehhi Vabariik',
'DD' => 'East Germany',
'DE' => 'Saksamaa',
70,7 → 70,7
'EC' => 'Ecuador',
'EE' => 'Eesti',
'EG' => 'Egiptus',
'EH' => 'Lääne-Sahara',
'EH' => 'Lääne-Sahara',
'ER' => 'Eritrea',
'ES' => 'Hispaania',
'ET' => 'Etioopia',
78,24 → 78,24
'FJ' => 'Fidži',
'FK' => 'Falklandi saared',
'FM' => 'Mikroneesia Liiduriigid',
'FO' => 'Fääri saared',
'FO' => 'Fääri saared',
'FQ' => 'French Southern and Antarctic Territories',
'FR' => 'Prantsusmaa',
'FX' => 'Metropolitan France',
'GA' => 'Gabon',
'GB' => 'Ühendkuningriik',
'GB' => 'Ühendkuningriik',
'GD' => 'Grenada',
'GE' => 'Gruusia',
'GF' => 'Prantsuse Guajaana',
'GH' => 'Ghana',
'GI' => 'Gibraltar',
'GL' => 'Gröönimaa',
'GL' => 'Gröönimaa',
'GM' => 'Gambia',
'GN' => 'Guinea',
'GP' => 'Guadeloupe',
'GQ' => 'Ekvatoriaal-Guinea',
'GR' => 'Kreeka',
'GS' => 'Lõuna-Georgia ja Lõuna-Sandwichi saared',
'GS' => 'Lõuna-Georgia ja Lõuna-Sandwichi saared',
'GT' => 'Guatemala',
'GU' => 'Guam',
'GW' => 'Guinea-Bissau',
120,13 → 120,13
'JP' => 'Jaapan',
'JT' => 'Johnston Island',
'KE' => 'Kenya',
'KG' => 'Kõrgõzstan',
'KG' => 'Kõrgõzstan',
'KH' => 'Kambodža',
'KI' => 'Kiribati',
'KM' => 'Komoorid',
'KN' => 'Saint Kitts ja Nevis',
'KP' => 'Põhja-Korea',
'KR' => 'Lõuna-Korea',
'KP' => 'Põhja-Korea',
'KR' => 'Lõuna-Korea',
'KW' => 'Kuveit',
'KY' => 'Kaimani saared',
'KZ' => 'Kasahstan',
139,8 → 139,8
'LS' => 'Lesotho',
'LT' => 'Leedu',
'LU' => 'Luksemburg',
'LV' => 'Läti',
'LY' => 'Liibüa',
'LV' => 'Läti',
'LY' => 'Liibüa',
'MA' => 'Maroko',
'MC' => 'Monaco',
'MD' => 'Moldova',
152,7 → 152,7
'MM' => 'Myanmar',
'MN' => 'Mongoolia',
'MO' => 'Aomeni Hiina erihalduspiirkond',
'MP' => 'Põhja-Mariaanid',
'MP' => 'Põhja-Mariaanid',
'MQ' => 'Martinique',
'MR' => 'Mauritaania',
'MS' => 'Montserrat',
181,7 → 181,7
'PA' => 'Panama',
'PC' => 'Pacific Islands Trust Territory',
'PE' => 'Peruu',
'PF' => 'Prantsuse Polüneesia',
'PF' => 'Prantsuse Polüneesia',
'PG' => 'Paapua Uus-Guinea',
'PH' => 'Filipiinid',
'PK' => 'Pakistan',
197,7 → 197,7
'PZ' => 'Panama Canal Zone',
'QA' => 'Katar',
'QO' => 'Outlying Oceania',
'RE' => 'Réunion',
'RE' => 'Réunion',
'RO' => 'Rumeenia',
'RU' => 'Venemaa',
'RW' => 'Rwanda',
216,23 → 216,23
'SN' => 'Senegal',
'SO' => 'Somaalia',
'SR' => 'Suriname',
'ST' => 'Sao Tomé ja Principe',
'ST' => 'Sao Tomé ja Principe',
'SU' => 'Union of Soviet Socialist Republics',
'SV' => 'El Salvador',
'SY' => 'Süüria',
'SY' => 'Süüria',
'SZ' => 'Svaasimaa',
'TC' => 'Turks ja Caicos',
'TD' => 'Tšaad',
'TF' => 'Prantsuse Lõunaalad',
'TF' => 'Prantsuse Lõunaalad',
'TG' => 'Togo',
'TH' => 'Tai',
'TJ' => 'Tadžikistan',
'TK' => 'Tokelau',
'TL' => 'Ida-Timor',
'TM' => 'Türkmenistan',
'TM' => 'Türkmenistan',
'TN' => 'Tuneesia',
'TO' => 'Tonga',
'TR' => 'Türgi',
'TR' => 'Türgi',
'TT' => 'Trinidad ja Tobago',
'TV' => 'Tuvalu',
'TW' => 'Taiwan',
239,11 → 239,11
'TZ' => 'Tansaania',
'UA' => 'Ukraina',
'UG' => 'Uganda',
'UM' => 'Ühendriikide hajasaared',
'US' => 'Ameerika Ühendriigid',
'UM' => 'Ühendriikide hajasaared',
'US' => 'Ameerika Ühendriigid',
'UY' => 'Uruguay',
'UZ' => 'Usbekistan',
'VA' => 'Püha Tool (Vatikan)',
'VA' => 'Püha Tool (Vatikan)',
'VC' => 'Saint Vincent ja Grenadiinid',
'VD' => 'North Vietnam',
'VE' => 'Venezuela',
257,7 → 257,7
'YD' => 'People\'s Democratic Republic of Yemen',
'YE' => 'Jeemen',
'YT' => 'Mayotte',
'ZA' => 'Lõuna-Aafrika Vabariik',
'ZA' => 'Lõuna-Aafrika Vabariik',
'ZM' => 'Sambia',
'ZW' => 'Zimbabwe',
);
/trunk/api/pear/I18Nv2/Country/eu.php
216,7 → 216,7
'SN' => 'Senegal',
'SO' => 'Somalia',
'SR' => 'Surinam',
'ST' => 'Sao Tomé eta Principe',
'ST' => 'Sao Tomé eta Principe',
'SU' => 'Union of Soviet Socialist Republics',
'SV' => 'El Salvador',
'SY' => 'Siria',
/trunk/api/pear/I18Nv2/Country/is.php
4,81 → 4,81
*/
$this->codes = array(
'AD' => 'Andorra',
'AE' => 'Sameinuðu arabísku furstadæmin',
'AE' => 'Sameinuðu arabísku furstadæmin',
'AF' => 'Afganistan',
'AG' => 'Antígva og Barbúda',
'AG' => 'Antígva og Barbúda',
'AI' => 'Angvilla',
'AL' => 'Albanía',
'AM' => 'Armenía',
'AL' => 'Albanía',
'AM' => 'Armenía',
'AN' => 'Hollensku Antillur',
'AO' => 'Angóla',
'AQ' => 'Suðurskautslandið',
'AR' => 'Argentína',
'AS' => 'Bandaríska Samóa',
'AT' => 'Austurríki',
'AU' => 'Ástralía',
'AW' => 'Arúba',
'AX' => 'Álandseyjar',
'AZ' => 'Aserbaídsjan',
'BA' => 'Bosnía og Hersegóvína',
'AO' => 'Angóla',
'AQ' => 'Suðurskautslandið',
'AR' => 'Argentína',
'AS' => 'Bandaríska Samóa',
'AT' => 'Austurríki',
'AU' => 'Ástralía',
'AW' => 'Arúba',
'AX' => 'Álandseyjar',
'AZ' => 'Aserbaídsjan',
'BA' => 'Bosnía og Hersegóvína',
'BB' => 'Barbados',
'BD' => 'Bangladess',
'BE' => 'Belgía',
'BF' => 'Búrkína Fasó',
'BG' => 'Búlgaría',
'BE' => 'Belgía',
'BF' => 'Búrkína Fasó',
'BG' => 'Búlgaría',
'BH' => 'Barein',
'BI' => 'Búrúndí',
'BJ' => 'Benín',
'BM' => 'Bermúdaeyjar',
'BN' => 'Brúnei',
'BO' => 'Bólivía',
'BI' => 'Búrúndí',
'BJ' => 'Benín',
'BM' => 'Bermúdaeyjar',
'BN' => 'Brúnei',
'BO' => 'Bólivía',
'BQ' => 'British Antarctic Territory',
'BR' => 'Brasilía',
'BR' => 'Brasilía',
'BS' => 'Bahamaeyjar',
'BT' => 'Bútan',
'BT' => 'Bútan',
'BV' => 'Bouveteyja',
'BW' => 'Botsvana',
'BY' => 'Hvíta-Rússland',
'BZ' => 'Belís',
'BY' => 'Hvíta-Rússland',
'BZ' => 'Belís',
'CA' => 'Kanada',
'CC' => 'Kókoseyjar',
'CD' => 'Austur-Kongó',
'CF' => 'Mið-Afríkulýðveldið',
'CG' => 'Vestur-Kongó',
'CC' => 'Kókoseyjar',
'CD' => 'Austur-Kongó',
'CF' => 'Mið-Afríkulýðveldið',
'CG' => 'Vestur-Kongó',
'CH' => 'Sviss',
'CI' => 'Fílabeinsströndin',
'CI' => 'Fílabeinsströndin',
'CK' => 'Cookseyjar',
'CL' => 'Chile',
'CM' => 'Kamerún',
'CN' => 'Kína',
'CO' => 'Kólumbía',
'CR' => 'Kostaríka',
'CS' => 'Serbía',
'CM' => 'Kamerún',
'CN' => 'Kína',
'CO' => 'Kólumbía',
'CR' => 'Kostaríka',
'CS' => 'Serbía',
'CT' => 'Canton and Enderbury Islands',
'CU' => 'Kúba',
'CV' => 'Grænhöfðaeyjar',
'CX' => 'Jólaey',
'CY' => 'Kýpur',
'CZ' => 'Tékkland',
'CU' => 'Kúba',
'CV' => 'Grænhöfðaeyjar',
'CX' => 'Jólaey',
'CY' => 'Kýpur',
'CZ' => 'Tékkland',
'DD' => 'East Germany',
'DE' => 'Þýskaland',
'DJ' => 'Djíbútí',
'DK' => 'Danmörk',
'DM' => 'Dóminíka',
'DO' => 'Dóminíska lýðveldið',
'DZ' => 'Alsír',
'DE' => 'Þýskaland',
'DJ' => 'Djíbútí',
'DK' => 'Danmörk',
'DM' => 'Dóminíka',
'DO' => 'Dóminíska lýðveldið',
'DZ' => 'Alsír',
'EC' => 'Ekvador',
'EE' => 'Eistland',
'EG' => 'Egyptaland',
'EH' => 'Vestur-Sahara',
'ER' => 'Erítrea',
'ES' => 'Spánn',
'ET' => 'Eþíópía',
'ER' => 'Erítrea',
'ES' => 'Spánn',
'ET' => 'Eþíópía',
'FI' => 'Finnland',
'FJ' => 'Fídjieyjar',
'FJ' => 'Fídjieyjar',
'FK' => 'Falklandseyjar',
'FM' => 'Mikrónesía',
'FO' => 'Færeyjar',
'FM' => 'Mikrónesía',
'FO' => 'Færeyjar',
'FQ' => 'French Southern and Antarctic Territories',
'FR' => 'Frakkland',
'FX' => 'Metropolitan France',
85,180 → 85,180
'GA' => 'Gabon',
'GB' => 'Bretland',
'GD' => 'Grenada',
'GE' => 'Georgía',
'GF' => 'Franska Gvæjana',
'GE' => 'Georgía',
'GF' => 'Franska Gvæjana',
'GH' => 'Gana',
'GI' => 'Gíbraltar',
'GL' => 'Grænland',
'GM' => 'Gambía',
'GN' => 'Gínea',
'GP' => 'Gvadelúpeyjar',
'GQ' => 'Miðbaugs-Gínea',
'GI' => 'Gíbraltar',
'GL' => 'Grænland',
'GM' => 'Gambía',
'GN' => 'Gínea',
'GP' => 'Gvadelúpeyjar',
'GQ' => 'Miðbaugs-Gínea',
'GR' => 'Grikkland',
'GS' => 'Suður-Georgía og Suður-Sandvíkureyjar',
'GS' => 'Suður-Georgía og Suður-Sandvíkureyjar',
'GT' => 'Gvatemala',
'GU' => 'Gvam',
'GW' => 'Gínea-Bissá',
'GY' => 'Gvæjana',
'GW' => 'Gínea-Bissá',
'GY' => 'Gvæjana',
'HK' => 'Hong Kong',
'HM' => 'Heard og McDonaldseyjar',
'HN' => 'Hondúras',
'HR' => 'Króatía',
'HT' => 'Haítí',
'HN' => 'Hondúras',
'HR' => 'Króatía',
'HT' => 'Haítí',
'HU' => 'Ungverjaland',
'ID' => 'Indónesía',
'IE' => 'Írland',
'IL' => 'Ísrael',
'ID' => 'Indónesía',
'IE' => 'Írland',
'IL' => 'Ísrael',
'IN' => 'Indland',
'IO' => 'Bresku Indlandshafseyjar',
'IQ' => 'Írak',
'IR' => 'Íran',
'IS' => 'Ísland',
'IT' => 'Ítalía',
'JM' => 'Jamaíka',
'JO' => 'Jórdanía',
'IQ' => 'Írak',
'IR' => 'Íran',
'IS' => 'Ísland',
'IT' => 'Ítalía',
'JM' => 'Jamaíka',
'JO' => 'Jórdanía',
'JP' => 'Japan',
'JT' => 'Johnston Island',
'KE' => 'Kenía',
'KE' => 'Kenía',
'KG' => 'Kirgisistan',
'KH' => 'Kambódía',
'KI' => 'Kíribatí',
'KM' => 'Kómoreyjar',
'KN' => 'Sankti Kristófer og Nevis',
'KP' => 'Norður-Kórea',
'KR' => 'Suður-Kórea',
'KW' => 'Kúveit',
'KH' => 'Kambódía',
'KI' => 'Kíribatí',
'KM' => 'Kómoreyjar',
'KN' => 'Sankti Kristófer og Nevis',
'KP' => 'Norður-Kórea',
'KR' => 'Suður-Kórea',
'KW' => 'Kúveit',
'KY' => 'Caymaneyjar',
'KZ' => 'Kasakstan',
'LA' => 'Laos',
'LB' => 'Líbanon',
'LC' => 'Sankti Lúsía',
'LB' => 'Líbanon',
'LC' => 'Sankti Lúsía',
'LI' => 'Liechtenstein',
'LK' => 'Srí Lanka',
'LR' => 'Líbería',
'LS' => 'Lesótó',
'LT' => 'Litháen',
'LU' => 'Lúxemborg',
'LK' => 'Srí Lanka',
'LR' => 'Líbería',
'LS' => 'Lesótó',
'LT' => 'Litháen',
'LU' => 'Lúxemborg',
'LV' => 'Lettland',
'LY' => 'Líbía',
'MA' => 'Marokkó',
'MC' => 'Mónakó',
'MD' => 'Moldóva',
'LY' => 'Líbía',
'MA' => 'Marokkó',
'MC' => 'Mónakó',
'MD' => 'Moldóva',
'MG' => 'Madagaskar',
'MH' => 'Marshalleyjar',
'MI' => 'Midway Islands',
'MK' => 'Makedónía',
'ML' => 'Malí',
'MK' => 'Makedónía',
'ML' => 'Malí',
'MM' => 'Mjanmar',
'MN' => 'Mongólía',
'MO' => 'Makaó',
'MP' => 'Norður-Maríanaeyjar',
'MQ' => 'Martiník',
'MR' => 'Máritanía',
'MN' => 'Mongólía',
'MO' => 'Makaó',
'MP' => 'Norður-Maríanaeyjar',
'MQ' => 'Martiník',
'MR' => 'Máritanía',
'MS' => 'Montserrat',
'MT' => 'Malta',
'MU' => 'Máritíus',
'MV' => 'Maldíveyjar',
'MW' => 'Malaví',
'MX' => 'Mexíkó',
'MY' => 'Malasía',
'MZ' => 'Mósambík',
'NA' => 'Namibía',
'NC' => 'Nýja-Kaledónía',
'NE' => 'Níger',
'MU' => 'Máritíus',
'MV' => 'Maldíveyjar',
'MW' => 'Malaví',
'MX' => 'Mexíkó',
'MY' => 'Malasía',
'MZ' => 'Mósambík',
'NA' => 'Namibía',
'NC' => 'Nýja-Kaledónía',
'NE' => 'Níger',
'NF' => 'Norfolkeyja',
'NG' => 'Nígería',
'NI' => 'Níkaragva',
'NL' => 'Niðurlönd',
'NG' => 'Nígería',
'NI' => 'Níkaragva',
'NL' => 'Niðurlönd',
'NO' => 'Noregur',
'NP' => 'Nepal',
'NQ' => 'Dronning Maud Land',
'NR' => 'Nárú',
'NR' => 'Nárú',
'NT' => 'Neutral Zone',
'NU' => 'Niue',
'NZ' => 'Nýja-Sjáland',
'OM' => 'Óman',
'NZ' => 'Nýja-Sjáland',
'OM' => 'Óman',
'PA' => 'Panama',
'PC' => 'Pacific Islands Trust Territory',
'PE' => 'Perú',
'PF' => 'Franska Pólýnesía',
'PG' => 'Papúa Nýja-Gínea',
'PE' => 'Perú',
'PF' => 'Franska Pólýnesía',
'PG' => 'Papúa Nýja-Gínea',
'PH' => 'Filippseyjar',
'PK' => 'Pakistan',
'PL' => 'Pólland',
'PL' => 'Pólland',
'PM' => 'Sankti Pierre og Miquelon',
'PN' => 'Pitcairn',
'PR' => 'Púertó Ríkó',
'PS' => 'Palestína',
'PT' => 'Portúgal',
'PR' => 'Púertó Ríkó',
'PS' => 'Palestína',
'PT' => 'Portúgal',
'PU' => 'U.S. Miscellaneous Pacific Islands',
'PW' => 'Palá',
'PY' => 'Paragvæ',
'PW' => 'Palá',
'PY' => 'Paragvæ',
'PZ' => 'Panama Canal Zone',
'QA' => 'Katar',
'QO' => 'Ytri Eyjaálfa',
'RE' => 'Réunion',
'RO' => 'Rúmenía',
'RU' => 'Rússland',
'RW' => 'Rúanda',
'SA' => 'Sádi-Arabía',
'SB' => 'Salómonseyjar',
'QO' => 'Ytri Eyjaálfa',
'RE' => 'Réunion',
'RO' => 'Rúmenía',
'RU' => 'Rússland',
'RW' => 'Rúanda',
'SA' => 'Sádi-Arabía',
'SB' => 'Salómonseyjar',
'SC' => 'Seychelleseyjar',
'SD' => 'Súdan',
'SE' => 'Svíþjóð',
'SG' => 'Singapúr',
'SD' => 'Súdan',
'SE' => 'Svíþjóð',
'SG' => 'Singapúr',
'SH' => 'Sankti Helena',
'SI' => 'Slóvenía',
'SJ' => 'Svalbarði og Jan Mayen',
'SK' => 'Slóvakía',
'SL' => 'Síerra Leóne',
'SM' => 'San Marínó',
'SI' => 'Slóvenía',
'SJ' => 'Svalbarði og Jan Mayen',
'SK' => 'Slóvakía',
'SL' => 'Síerra Leóne',
'SM' => 'San Marínó',
'SN' => 'Senegal',
'SO' => 'Sómalía',
'SR' => 'Súrínam',
'ST' => 'Saó Tóme og Prinsípe',
'SO' => 'Sómalía',
'SR' => 'Súrínam',
'ST' => 'Saó Tóme og Prinsípe',
'SU' => 'Union of Soviet Socialist Republics',
'SV' => 'El Salvador',
'SY' => 'Sýrland',
'SZ' => 'Svasíland',
'SY' => 'Sýrland',
'SZ' => 'Svasíland',
'TC' => 'Turks- og Caicoseyjar',
'TD' => 'Tsjad',
'TF' => 'Frönsku suðlægu landsvæðin',
'TG' => 'Tógó',
'TH' => 'Taíland',
'TF' => 'Frönsku suðlægu landsvæðin',
'TG' => 'Tógó',
'TH' => 'Taíland',
'TJ' => 'Tadsjikistan',
'TK' => 'Tókelá',
'TL' => 'Austur-Tímor',
'TM' => 'Túrkmenistan',
'TN' => 'Túnis',
'TK' => 'Tókelá',
'TL' => 'Austur-Tímor',
'TM' => 'Túrkmenistan',
'TN' => 'Túnis',
'TO' => 'Tonga',
'TR' => 'Tyrkland',
'TT' => 'Trínidad og Tóbagó',
'TV' => 'Túvalú',
'TW' => 'Taívan',
'TZ' => 'Tansanía',
'UA' => 'Úkraína',
'UG' => 'Úganda',
'UM' => 'Smáeyjar Bandaríkjanna',
'US' => 'Bandaríkin',
'UY' => 'Úrúgvæ',
'UZ' => 'Úsbekistan',
'VA' => 'Páfagarður',
'VC' => 'Sankti Vinsent og Grenadíneyjar',
'TT' => 'Trínidad og Tóbagó',
'TV' => 'Túvalú',
'TW' => 'Taívan',
'TZ' => 'Tansanía',
'UA' => 'Úkraína',
'UG' => 'Úganda',
'UM' => 'Smáeyjar Bandaríkjanna',
'US' => 'Bandaríkin',
'UY' => 'Úrúgvæ',
'UZ' => 'Úsbekistan',
'VA' => 'Páfagarður',
'VC' => 'Sankti Vinsent og Grenadíneyjar',
'VD' => 'North Vietnam',
'VE' => 'Venesúela',
'VG' => 'Jómfrúaeyjar (bresku)',
'VI' => 'Jómfrúaeyjar (bandarísku)',
'VN' => 'Víetnam',
'VU' => 'Vanúatú',
'WF' => 'Wallis- og Fútúnaeyjar',
'VE' => 'Venesúela',
'VG' => 'Jómfrúaeyjar (bresku)',
'VI' => 'Jómfrúaeyjar (bandarísku)',
'VN' => 'Víetnam',
'VU' => 'Vanúatú',
'WF' => 'Wallis- og Fútúnaeyjar',
'WK' => 'Wake Island',
'WS' => 'Samóa',
'WS' => 'Samóa',
'YD' => 'People\'s Democratic Republic of Yemen',
'YE' => 'Jemen',
'YT' => 'Mayotte',
'ZA' => 'Suður-Afríka',
'ZM' => 'Sambía',
'ZA' => 'Suður-Afríka',
'ZM' => 'Sambía',
'ZW' => 'Simbabve',
);
?>
/trunk/api/pear/I18Nv2/Country/it.php
180,7 → 180,7
'OM' => 'Oman',
'PA' => 'Panama',
'PC' => 'Pacific Islands Trust Territory',
'PE' => 'Perù',
'PE' => 'Perù',
'PF' => 'Polinesia Francese',
'PG' => 'Papua Nuova Guinea',
'PH' => 'Filippine',
197,7 → 197,7
'PZ' => 'Panama Canal Zone',
'QA' => 'Qatar',
'QO' => 'Outlying Oceania',
'RE' => 'Réunion',
'RE' => 'Réunion',
'RO' => 'Romania',
'RU' => 'Federazione Russa',
'RW' => 'Ruanda',
216,7 → 216,7
'SN' => 'Senegal',
'SO' => 'Somalia',
'SR' => 'Suriname',
'ST' => 'São Tomé e Príncipe',
'ST' => 'São Tomé e Príncipe',
'SU' => 'Union of Soviet Socialist Republics',
'SV' => 'El Salvador',
'SY' => 'Siria',
/trunk/api/pear/I18Nv2/Country/ms.php
197,7 → 197,7
'PZ' => 'Panama Canal Zone',
'QA' => 'Qatar',
'QO' => 'Outlying Oceania',
'RE' => 'Réunion',
'RE' => 'Réunion',
'RO' => 'Romania',
'RU' => 'Russia',
'RW' => 'Rwanda',
/trunk/api/pear/I18Nv2/Country/mt.php
197,7 → 197,7
'PZ' => 'Panama Canal Zone',
'QA' => 'Qatar',
'QO' => 'Outlying Oceania',
'RE' => 'Réunion',
'RE' => 'Réunion',
'RO' => 'Rumanija',
'RU' => 'Russja',
'RW' => 'Rwanda',
/trunk/api/pear/I18Nv2/Country/fi.php
15,7 → 15,7
'AQ' => 'Antarktis',
'AR' => 'Argentiina',
'AS' => 'Amerikan Samoa',
'AT' => 'Itävalta',
'AT' => 'Itävalta',
'AU' => 'Australia',
'AW' => 'Aruba',
'AX' => 'Ahvenanmaa',
38,7 → 38,7
'BT' => 'Bhutan',
'BV' => 'Bouvet’nsaari',
'BW' => 'Botswana',
'BY' => 'Valko-Venäjä',
'BY' => 'Valko-Venäjä',
'BZ' => 'Belize',
'CA' => 'Kanada',
'CC' => 'Kookossaaret',
70,7 → 70,7
'EC' => 'Ecuador',
'EE' => 'Viro',
'EG' => 'Egypti',
'EH' => 'Länsi-Sahara',
'EH' => 'Länsi-Sahara',
'ER' => 'Eritrea',
'ES' => 'Espanja',
'ET' => 'Etiopia',
78,7 → 78,7
'FJ' => 'Fidži',
'FK' => 'Falklandinsaaret',
'FM' => 'Mikronesia',
'FO' => 'Färsaaret',
'FO' => 'Färsaaret',
'FQ' => 'French Southern and Antarctic Territories',
'FR' => 'Ranska',
'FX' => 'Metropolitan France',
89,13 → 89,13
'GF' => 'Ranskan Guayana',
'GH' => 'Ghana',
'GI' => 'Gibraltar',
'GL' => 'Grönlanti',
'GL' => 'Grönlanti',
'GM' => 'Gambia',
'GN' => 'Guinea',
'GP' => 'Guadeloupe',
'GQ' => 'Päiväntasaajan Guinea',
'GQ' => 'Päiväntasaajan Guinea',
'GR' => 'Kreikka',
'GS' => 'Etelä-Georgia ja Eteläiset Sandwichsaaret',
'GS' => 'Etelä-Georgia ja Eteläiset Sandwichsaaret',
'GT' => 'Guatemala',
'GU' => 'Guam',
'GW' => 'Guinea-Bissau',
110,7 → 110,7
'IE' => 'Irlanti',
'IL' => 'Israel',
'IN' => 'Intia',
'IO' => 'Brittiläinen Intian valtameren alue',
'IO' => 'Brittiläinen Intian valtameren alue',
'IQ' => 'Irak',
'IR' => 'Iran',
'IS' => 'Islanti',
197,9 → 197,9
'PZ' => 'Panama Canal Zone',
'QA' => 'Qatar',
'QO' => 'Tuntematon',
'RE' => 'Réunion',
'RE' => 'Réunion',
'RO' => 'Romania',
'RU' => 'Venäjä',
'RU' => 'Venäjä',
'RW' => 'Ruanda',
'SA' => 'Saudi-Arabia',
'SB' => 'Salomonsaaret',
216,7 → 216,7
'SN' => 'Senegal',
'SO' => 'Somalia',
'SR' => 'Surinam',
'ST' => 'São Tomé ja Príncipe',
'ST' => 'São Tomé ja Príncipe',
'SU' => 'Union of Soviet Socialist Republics',
'SV' => 'El Salvador',
'SY' => 'Syyria',
223,12 → 223,12
'SZ' => 'Swazimaa',
'TC' => 'Turks- ja Caicossaaret',
'TD' => 'Tšad',
'TF' => 'Ranskan ulkopuoliset eteläiset alueet',
'TF' => 'Ranskan ulkopuoliset eteläiset alueet',
'TG' => 'Togo',
'TH' => 'Thaimaa',
'TJ' => 'Tadžikistan',
'TK' => 'Tokelau',
'TL' => 'Itä-Timor',
'TL' => 'Itä-Timor',
'TM' => 'Turkmenistan',
'TN' => 'Tunisia',
'TO' => 'Tonga',
247,7 → 247,7
'VC' => 'Saint Vincent ja Grenadiinit',
'VD' => 'North Vietnam',
'VE' => 'Venezuela',
'VG' => 'Brittiläiset Neitsytsaaret',
'VG' => 'Brittiläiset Neitsytsaaret',
'VI' => 'Yhdysvaltain Neitsytsaaret',
'VN' => 'Vietnam',
'VU' => 'Vanuatu',
257,7 → 257,7
'YD' => 'People\'s Democratic Republic of Yemen',
'YE' => 'Jemen',
'YT' => 'Mayotte',
'ZA' => 'Etelä-Afrikka',
'ZA' => 'Etelä-Afrikka',
'ZM' => 'Sambia',
'ZW' => 'Zimbabwe',
);
/trunk/api/pear/I18Nv2/Country/nb.php
15,7 → 15,7
'AQ' => 'Antarktis',
'AR' => 'Argentina',
'AS' => 'Amerikansk Samoa',
'AT' => 'Østerrike',
'AT' => 'Østerrike',
'AU' => 'Australia',
'AW' => 'Aruba',
'AX' => 'Aland Islands',
36,18 → 36,18
'BR' => 'Brasil',
'BS' => 'Bahamas',
'BT' => 'Bhutan',
'BV' => 'Bouvetøya',
'BV' => 'Bouvetøya',
'BW' => 'Botswana',
'BY' => 'Hviterussland',
'BZ' => 'Belize',
'CA' => 'Canada',
'CC' => 'Kokosøyene (Keelingøyene)',
'CC' => 'Kokosøyene (Keelingøyene)',
'CD' => 'Kongo, Den demokratiske republikken',
'CF' => 'Den sentralafrikanske republikk',
'CG' => 'Kongo',
'CH' => 'Sveits',
'CI' => 'Elfenbenskysten',
'CK' => 'Cookøyene',
'CK' => 'Cookøyene',
'CL' => 'Chile',
'CM' => 'Kamerun',
'CN' => 'Kina',
57,7 → 57,7
'CT' => 'Canton and Enderbury Islands',
'CU' => 'Cuba',
'CV' => 'Kapp Verde',
'CX' => 'Christmasøya',
'CX' => 'Christmasøya',
'CY' => 'Kypros',
'CZ' => 'Tsjekkia',
'DD' => 'East Germany',
76,9 → 76,9
'ET' => 'Etiopia',
'FI' => 'Finland',
'FJ' => 'Fiji',
'FK' => 'Falklandsøyene (Malvinas)',
'FM' => 'Mikronesiaføderasjonen',
'FO' => 'Færøyene',
'FK' => 'Falklandsøyene (Malvinas)',
'FM' => 'Mikronesiaføderasjonen',
'FO' => 'Færøyene',
'FQ' => 'French Southern and Antarctic Territories',
'FR' => 'Frankrike',
'FX' => 'Metropolitan France',
89,19 → 89,19
'GF' => 'Fransk Guyana',
'GH' => 'Ghana',
'GI' => 'Gibraltar',
'GL' => 'Grønland',
'GL' => 'Grønland',
'GM' => 'Gambia',
'GN' => 'Guinea',
'GP' => 'Guadeloupe',
'GQ' => 'Ekvatorial-Guinea',
'GR' => 'Hellas',
'GS' => 'Sør-Georgia og Sør-Sandwich-øyene',
'GS' => 'Sør-Georgia og Sør-Sandwich-øyene',
'GT' => 'Guatemala',
'GU' => 'Guam',
'GW' => 'Guinea-Bissau',
'GY' => 'Guyana',
'HK' => 'Hong Kong S.A.R. (Kina)',
'HM' => 'Heard- og McDonaldsøyene',
'HM' => 'Heard- og McDonaldsøyene',
'HN' => 'Honduras',
'HR' => 'Kroatia',
'HT' => 'Haiti',
110,7 → 110,7
'IE' => 'Irland',
'IL' => 'Israel',
'IN' => 'India',
'IO' => 'Britiske områder i det indiske hav',
'IO' => 'Britiske områder i det indiske hav',
'IQ' => 'Irak',
'IR' => 'Iran',
'IS' => 'Island',
126,9 → 126,9
'KM' => 'Komorene',
'KN' => 'St. Christopher og Nevis',
'KP' => 'Nord-Korea',
'KR' => 'Sør-Korea',
'KR' => 'Sør-Korea',
'KW' => 'Kuwait',
'KY' => 'Caymanøyene',
'KY' => 'Caymanøyene',
'KZ' => 'Kasakhstan',
'LA' => 'Laos, Den folkedemokratiske republikken',
'LB' => 'Libanon',
145,7 → 145,7
'MC' => 'Monaco',
'MD' => 'Moldova',
'MG' => 'Madagaskar',
'MH' => 'Marshalløyene',
'MH' => 'Marshalløyene',
'MI' => 'Midway Islands',
'MK' => 'Makedonia, Republikken',
'ML' => 'Mali',
166,7 → 166,7
'NA' => 'Namibia',
'NC' => 'Ny-Caledonia',
'NE' => 'Niger',
'NF' => 'Norfolkøyene',
'NF' => 'Norfolkøyene',
'NG' => 'Nigeria',
'NI' => 'Nicaragua',
'NL' => 'Nederland',
199,10 → 199,10
'QO' => 'Outlying Oceania',
'RE' => 'Reunion',
'RO' => 'Romania',
'RU' => 'Den russiske føderasjon',
'RU' => 'Den russiske føderasjon',
'RW' => 'Rwanda',
'SA' => 'Saudi Arabia',
'SB' => 'Salomonøyene',
'SB' => 'Salomonøyene',
'SC' => 'Seychellene',
'SD' => 'Sudan',
'SE' => 'Sverige',
221,14 → 221,14
'SV' => 'El Salvador',
'SY' => 'Syria',
'SZ' => 'Swaziland',
'TC' => 'Turks- og Caicosøyene',
'TC' => 'Turks- og Caicosøyene',
'TD' => 'Tchad',
'TF' => 'Franske sørområder',
'TF' => 'Franske sørområder',
'TG' => 'Togo',
'TH' => 'Thailand',
'TJ' => 'Tadsjikistan',
'TK' => 'Tokelau',
'TL' => 'Øst-Timor',
'TL' => 'Øst-Timor',
'TM' => 'Turkmenistan',
'TN' => 'Tunisia',
'TO' => 'Tonga',
239,7 → 239,7
'TZ' => 'Tanzania',
'UA' => 'Ukraina',
'UG' => 'Uganda',
'UM' => 'USAs mindre øyer',
'UM' => 'USAs mindre øyer',
'US' => 'USA',
'UY' => 'Uruguay',
'UZ' => 'Usbekistan',
247,8 → 247,8
'VC' => 'St. Vincent og Grenadinene',
'VD' => 'North Vietnam',
'VE' => 'Venezuela',
'VG' => 'Jomfruøyene (britisk)',
'VI' => 'Jomfruøyene (USA)',
'VG' => 'Jomfruøyene (britisk)',
'VI' => 'Jomfruøyene (USA)',
'VN' => 'Vietnam',
'VU' => 'Vanuatu',
'WF' => 'Wallis og Futuna',
257,7 → 257,7
'YD' => 'People\'s Democratic Republic of Yemen',
'YE' => 'Yemen',
'YT' => 'Mayotte',
'ZA' => 'Sør-Afrika',
'ZA' => 'Sør-Afrika',
'ZM' => 'Zambia',
'ZW' => 'Zimbabwe',
);
/trunk/api/pear/I18Nv2/Country/fo.php
4,7 → 4,7
*/
$this->codes = array(
'AD' => 'Andorra',
'AE' => 'Sameindu Emirríkini',
'AE' => 'Sameindu Emirríkini',
'AF' => 'Afganistan',
'AG' => 'Antigua og Barbuda',
'AI' => 'Anguilla',
15,7 → 15,7
'AQ' => 'Antarktis',
'AR' => 'Argentina',
'AS' => 'American Samoa',
'AT' => 'Eysturríki',
'AT' => 'Eysturríki',
'AU' => 'Avstralia',
'AW' => 'Aruba',
'AX' => 'Aland Islands',
38,15 → 38,15
'BT' => 'Butan',
'BV' => 'Bouvet Island',
'BW' => 'Botsvana',
'BY' => 'Hvítarussland',
'BY' => 'Hvítarussland',
'BZ' => 'Belis',
'CA' => 'Kanada',
'CC' => 'Cocos (Keeling) Islands',
'CD' => 'Congo (Kinshasa)',
'CF' => 'Miðafrikalýðveldið',
'CF' => 'Miðafrikalýðveldið',
'CG' => 'Kongo',
'CH' => 'Sveis',
'CI' => 'Fílabeinsstrondin',
'CI' => 'Fílabeinsstrondin',
'CK' => 'Cook Islands',
'CL' => 'Kili',
'CM' => 'Kamerun',
56,16 → 56,16
'CS' => 'Serbia And Montenegro',
'CT' => 'Canton and Enderbury Islands',
'CU' => 'Kuba',
'CV' => 'Grønhøvdaoyggjarnar',
'CV' => 'Grønhøvdaoyggjarnar',
'CX' => 'Christmas Island',
'CY' => 'Kýpros',
'CY' => 'Kýpros',
'CZ' => 'Kekkia',
'DD' => 'East Germany',
'DE' => 'Týskland',
'DE' => 'Týskland',
'DJ' => 'Djibouti',
'DK' => 'Danmørk',
'DK' => 'Danmørk',
'DM' => 'Dominika',
'DO' => 'Domingo lýðveldið',
'DO' => 'Domingo lýðveldið',
'DZ' => 'Algeria',
'EC' => 'Ekvador',
'EE' => 'Estland',
78,7 → 78,7
'FJ' => 'Fiji',
'FK' => 'Falkland Islands',
'FM' => 'Mikronesia',
'FO' => 'Føroyar',
'FO' => 'Føroyar',
'FQ' => 'French Southern and Antarctic Territories',
'FR' => 'Frakland',
'FX' => 'Metropolitan France',
107,13 → 107,13
'HT' => 'Haiti',
'HU' => 'Ungarn',
'ID' => 'Indonesia',
'IE' => 'Írland',
'IL' => 'Ísrael',
'IE' => 'Írland',
'IL' => 'Ísrael',
'IN' => 'India',
'IO' => 'British Indian Ocean Territory',
'IQ' => 'Irak',
'IR' => 'Iran',
'IS' => 'Ísland',
'IS' => 'Ísland',
'IT' => 'Italia',
'JM' => 'Jameika',
'JO' => 'Jordan',
125,8 → 125,8
'KI' => 'Kiribati',
'KM' => 'Komorooyggjarnar',
'KN' => 'Saint Kitts og Nevis',
'KP' => 'Norður-Korea',
'KR' => 'Suður-Korea',
'KP' => 'Norður-Korea',
'KR' => 'Suður-Korea',
'KW' => 'Kuvait',
'KY' => 'Cayman Islands',
'KZ' => 'Kasakstan',
147,7 → 147,7
'MG' => 'Madagaskar',
'MH' => 'Marshalloyggjarnar',
'MI' => 'Midway Islands',
'MK' => 'Makedónia',
'MK' => 'Makedónia',
'ML' => 'Mali',
'MM' => 'Myanmar',
'MN' => 'Mongolia',
154,10 → 154,10
'MO' => 'Macao S.A.R., China',
'MP' => 'Northern Mariana Islands',
'MQ' => 'Martinique',
'MR' => 'Móritania',
'MR' => 'Móritania',
'MS' => 'Montserrat',
'MT' => 'Malta',
'MU' => 'Móritius',
'MU' => 'Móritius',
'MV' => 'Maldivuoyggjarnar',
'MW' => 'Malavi',
'MX' => 'Meksiko',
169,7 → 169,7
'NF' => 'Norfolk Island',
'NG' => 'Nigeria',
'NI' => 'Nikaragua',
'NL' => 'Niðurlond',
'NL' => 'Niðurlond',
'NO' => 'Noreg',
'NP' => 'Nepal',
'NQ' => 'Dronning Maud Land',
176,16 → 176,16
'NR' => 'Nauru',
'NT' => 'Neutral Zone',
'NU' => 'Niue',
'NZ' => 'Ný Sæland',
'NZ' => 'Ný Sæland',
'OM' => 'Oman',
'PA' => 'Panama',
'PC' => 'Pacific Islands Trust Territory',
'PE' => 'Perú',
'PE' => 'Perú',
'PF' => 'French Polynesia',
'PG' => 'Papua Nýguinea',
'PG' => 'Papua Nýguinea',
'PH' => 'Filipsoyggjar',
'PK' => 'Pakistan',
'PL' => 'Pólland',
'PL' => 'Pólland',
'PM' => 'Saint Pierre and Miquelon',
'PN' => 'Pitcairn',
'PR' => 'Puerto Rico',
201,11 → 201,11
'RO' => 'Rumenia',
'RU' => 'Russland',
'RW' => 'Ruanda',
'SA' => 'Saudi-Arábia',
'SB' => 'Sálomonoyggjarnar',
'SA' => 'Saudi-Arábia',
'SB' => 'Sálomonoyggjarnar',
'SC' => 'Seyskelloyggjarnar',
'SD' => 'Sudan',
'SE' => 'Svøríki',
'SE' => 'Svøríki',
'SG' => 'Singapor',
'SH' => 'Saint Helena',
'SI' => 'Slovenia',
240,7 → 240,7
'UA' => 'Ukreina',
'UG' => 'Uganda',
'UM' => 'United States Minor Outlying Islands',
'US' => 'Sambandsríki Amerika',
'US' => 'Sambandsríki Amerika',
'UY' => 'Uruguei',
'UZ' => 'Usbekistan',
'VA' => 'Vatikan',
253,11 → 253,11
'VU' => 'Vanuatu',
'WF' => 'Wallis and Futuna',
'WK' => 'Wake Island',
'WS' => 'Sámoa',
'WS' => 'Sámoa',
'YD' => 'People\'s Democratic Republic of Yemen',
'YE' => 'Jemen',
'YT' => 'Mayotte',
'ZA' => 'Suðurafrika',
'ZA' => 'Suðurafrika',
'ZM' => 'Sambia',
'ZW' => 'Simbabvi',
);
/trunk/api/pear/I18Nv2/Country/fr.php
4,29 → 4,29
*/
$this->codes = array(
'AD' => 'Andorre',
'AE' => 'Émirats arabes unis',
'AE' => 'Émirats arabes unis',
'AF' => 'Afghanistan',
'AG' => 'Antigua-et-Barbuda',
'AI' => 'Anguilla',
'AL' => 'Albanie',
'AM' => 'Arménie',
'AN' => 'Antilles néerlandaises',
'AM' => 'Arménie',
'AN' => 'Antilles néerlandaises',
'AO' => 'Angola',
'AQ' => 'Antarctique',
'AR' => 'Argentine',
'AS' => 'Samoa américaines',
'AS' => 'Samoa américaines',
'AT' => 'Autriche',
'AU' => 'Australie',
'AW' => 'Aruba',
'AX' => 'Iles d’Åland',
'AZ' => 'Azerbaïdjan',
'BA' => 'Bosnie-Herzégovine',
'AX' => 'Iles d’Åland',
'AZ' => 'Azerbaïdjan',
'BA' => 'Bosnie-Herzégovine',
'BB' => 'Barbade',
'BD' => 'Bangladesh',
'BE' => 'Belgique',
'BF' => 'Burkina Faso',
'BG' => 'Bulgarie',
'BH' => 'Bahreïn',
'BH' => 'Bahreïn',
'BI' => 'Burundi',
'BJ' => 'Benin',
'BM' => 'Bermudes',
33,52 → 33,52
'BN' => 'Brunei',
'BO' => 'Bolivie',
'BQ' => 'British Antarctic Territory',
'BR' => 'Brésil',
'BR' => 'Brésil',
'BS' => 'Bahamas',
'BT' => 'Bhoutan',
'BV' => 'Île Bouvet',
'BV' => 'Île Bouvet',
'BW' => 'Botswana',
'BY' => 'Bélarus',
'BY' => 'Bélarus',
'BZ' => 'Belize',
'CA' => 'Canada',
'CC' => 'Îles Cocos',
'CD' => 'République démocratique du Congo',
'CF' => 'République centrafricaine',
'CC' => 'Îles Cocos',
'CD' => 'République démocratique du Congo',
'CF' => 'République centrafricaine',
'CG' => 'Congo',
'CH' => 'Suisse',
'CI' => 'Côte d’Ivoire',
'CK' => 'Îles Cook',
'CI' => 'Côte d’Ivoire',
'CK' => 'Îles Cook',
'CL' => 'Chili',
'CM' => 'Cameroun',
'CN' => 'Chine',
'CO' => 'Colombie',
'CR' => 'Costa Rica',
'CS' => 'Serbie-et-Monténégro',
'CS' => 'Serbie-et-Monténégro',
'CT' => 'Canton and Enderbury Islands',
'CU' => 'Cuba',
'CV' => 'Cap Vert',
'CX' => 'Île Christmas',
'CX' => 'Île Christmas',
'CY' => 'Chypre',
'CZ' => 'République tchèque',
'CZ' => 'République tchèque',
'DD' => 'East Germany',
'DE' => 'Allemagne',
'DJ' => 'Djibouti',
'DK' => 'Danemark',
'DM' => 'Dominique',
'DO' => 'République dominicaine',
'DZ' => 'Algérie',
'EC' => 'Équateur',
'DO' => 'République dominicaine',
'DZ' => 'Algérie',
'EC' => 'Équateur',
'EE' => 'Estonie',
'EG' => 'Égypte',
'EG' => 'Égypte',
'EH' => 'Sahara occidental',
'ER' => 'Érythrée',
'ER' => 'Érythrée',
'ES' => 'Espagne',
'ET' => 'Éthiopie',
'ET' => 'Éthiopie',
'FI' => 'Finlande',
'FJ' => 'Fidji',
'FK' => 'Îles Falkland (Malvinas)',
'FM' => 'Micronésie',
'FO' => 'Îles Féroé',
'FK' => 'Îles Falkland (Malvinas)',
'FM' => 'Micronésie',
'FO' => 'Îles Féroé',
'FQ' => 'French Southern and Antarctic Territories',
'FR' => 'France',
'FX' => 'Metropolitan France',
85,37 → 85,37
'GA' => 'Gabon',
'GB' => 'Royaume-Uni',
'GD' => 'Grenade',
'GE' => 'Géorgie',
'GF' => 'Guyane française',
'GE' => 'Géorgie',
'GF' => 'Guyane française',
'GH' => 'Ghana',
'GI' => 'Gibraltar',
'GL' => 'Groenland',
'GM' => 'Gambie',
'GN' => 'Guinée',
'GN' => 'Guinée',
'GP' => 'Guadeloupe',
'GQ' => 'Guinée équatoriale',
'GR' => 'Grèce',
'GS' => 'Géorgie du Sud, Îles Sandwich du Sud',
'GQ' => 'Guinée équatoriale',
'GR' => 'Grèce',
'GS' => 'Géorgie du Sud, Îles Sandwich du Sud',
'GT' => 'Guatemala',
'GU' => 'Guam',
'GW' => 'Guinée-Bissau',
'GW' => 'Guinée-Bissau',
'GY' => 'Guyana',
'HK' => 'Hong-Kong R.A.S. de Chine',
'HM' => 'Îles Heard et MacDonald',
'HM' => 'Îles Heard et MacDonald',
'HN' => 'Honduras',
'HR' => 'Croatie',
'HT' => 'Haïti',
'HT' => 'Haïti',
'HU' => 'Hongrie',
'ID' => 'Indonésie',
'ID' => 'Indonésie',
'IE' => 'Irlande',
'IL' => 'Israël',
'IL' => 'Israël',
'IN' => 'Inde',
'IO' => 'Territoire britannique de l’océan indien',
'IO' => 'Territoire britannique de l’océan indien',
'IQ' => 'Iraq',
'IR' => 'Iran',
'IS' => 'Islande',
'IT' => 'Italie',
'JM' => 'Jamaïque',
'JM' => 'Jamaïque',
'JO' => 'Jordanie',
'JP' => 'Japon',
'JT' => 'Johnston Island',
125,10 → 125,10
'KI' => 'Kiribati',
'KM' => 'Comores',
'KN' => 'Saint Kitts et Nevis',
'KP' => 'Corée du Nord',
'KR' => 'Corée du Sud',
'KW' => 'Koweït',
'KY' => 'Îles Caïmanes',
'KP' => 'Corée du Nord',
'KR' => 'Corée du Sud',
'KW' => 'Koweït',
'KY' => 'Îles Caïmanes',
'KZ' => 'Kazakhstan',
'LA' => 'Laos',
'LB' => 'Liban',
135,7 → 135,7
'LC' => 'Sainte-Lucie',
'LI' => 'Liechtenstein',
'LK' => 'Sri Lanka',
'LR' => 'Libéria',
'LR' => 'Libéria',
'LS' => 'Lesotho',
'LT' => 'Lithuanie',
'LU' => 'Luxembourg',
145,14 → 145,14
'MC' => 'Monaco',
'MD' => 'Moldova',
'MG' => 'Madagascar',
'MH' => 'Îles Marshall',
'MH' => 'Îles Marshall',
'MI' => 'Midway Islands',
'MK' => 'Macédoine',
'MK' => 'Macédoine',
'ML' => 'Mali',
'MM' => 'Myanmar',
'MN' => 'Mongolie',
'MO' => 'Macao R.A.S. de Chine',
'MP' => 'Îles Mariannes du Nord',
'MP' => 'Îles Mariannes du Nord',
'MQ' => 'Martinique',
'MR' => 'Mauritanie',
'MS' => 'Montserrat',
164,25 → 164,25
'MY' => 'Malaisie',
'MZ' => 'Mozambique',
'NA' => 'Namibie',
'NC' => 'Nouvelle-Calédonie',
'NC' => 'Nouvelle-Calédonie',
'NE' => 'Niger',
'NF' => 'Île Norfolk',
'NG' => 'Nigéria',
'NF' => 'Île Norfolk',
'NG' => 'Nigéria',
'NI' => 'Nicaragua',
'NL' => 'Pays-Bas',
'NO' => 'Norvège',
'NP' => 'Népal',
'NO' => 'Norvège',
'NP' => 'Népal',
'NQ' => 'Dronning Maud Land',
'NR' => 'Nauru',
'NT' => 'Neutral Zone',
'NU' => 'Niué',
'NZ' => 'Nouvelle-Zélande',
'NU' => 'Niué',
'NZ' => 'Nouvelle-Zélande',
'OM' => 'Oman',
'PA' => 'Panama',
'PC' => 'Pacific Islands Trust Territory',
'PE' => 'Pérou',
'PF' => 'Polynésie française',
'PG' => 'Papouasie-Nouvelle-Guinée',
'PE' => 'Pérou',
'PF' => 'Polynésie française',
'PG' => 'Papouasie-Nouvelle-Guinée',
'PH' => 'Philippines',
'PK' => 'Pakistan',
'PL' => 'Pologne',
196,36 → 196,36
'PY' => 'Paraguay',
'PZ' => 'Panama Canal Zone',
'QA' => 'Qatar',
'QO' => 'Autre Océanie',
'RE' => 'Réunion',
'QO' => 'Autre Océanie',
'RE' => 'Réunion',
'RO' => 'Roumanie',
'RU' => 'Russie',
'RW' => 'Rwanda',
'SA' => 'Arabie saoudite',
'SB' => 'Îles Salomon',
'SB' => 'Îles Salomon',
'SC' => 'Seychelles',
'SD' => 'Soudan',
'SE' => 'Suède',
'SE' => 'Suède',
'SG' => 'Singapour',
'SH' => 'Sainte-Hélène',
'SI' => 'Slovénie',
'SJ' => 'Svalbard et Île Jan Mayen',
'SH' => 'Sainte-Hélène',
'SI' => 'Slovénie',
'SJ' => 'Svalbard et Île Jan Mayen',
'SK' => 'Slovaquie',
'SL' => 'Sierra Leone',
'SM' => 'Saint-Marin',
'SN' => 'Sénégal',
'SN' => 'Sénégal',
'SO' => 'Somalie',
'SR' => 'Suriname',
'ST' => 'Sao Tomé-et-Principe',
'ST' => 'Sao Tomé-et-Principe',
'SU' => 'Union of Soviet Socialist Republics',
'SV' => 'El Salvador',
'SY' => 'Syrie',
'SZ' => 'Swaziland',
'TC' => 'Îles Turks et Caïques',
'TC' => 'Îles Turks et Caïques',
'TD' => 'Tchad',
'TF' => 'Terres australes françaises',
'TF' => 'Terres australes françaises',
'TG' => 'Togo',
'TH' => 'Thaïlande',
'TH' => 'Thaïlande',
'TJ' => 'Tadjikistan',
'TK' => 'Tokelau',
'TL' => 'Timor-Leste',
233,22 → 233,22
'TN' => 'Tunisie',
'TO' => 'Tonga',
'TR' => 'Turquie',
'TT' => 'Trinité-et-Tobago',
'TT' => 'Trinité-et-Tobago',
'TV' => 'Tuvalu',
'TW' => 'Taïwan',
'TW' => 'Taïwan',
'TZ' => 'Tanzanie',
'UA' => 'Ukraine',
'UG' => 'Ouganda',
'UM' => 'Îles Mineures Éloignées des États-Unis',
'US' => 'États-Unis',
'UM' => 'Îles Mineures Éloignées des États-Unis',
'US' => 'États-Unis',
'UY' => 'Uruguay',
'UZ' => 'Ouzbékistan',
'VA' => 'Saint-Siège (Etat de la Cité du Vatican)',
'UZ' => 'Ouzbékistan',
'VA' => 'Saint-Siège (Etat de la Cité du Vatican)',
'VC' => 'Saint-Vincent-et-les Grenadines',
'VD' => 'North Vietnam',
'VE' => 'Vénézuela',
'VG' => 'Îles Vierges Britanniques',
'VI' => 'Îles Vierges des États-Unis',
'VE' => 'Vénézuela',
'VG' => 'Îles Vierges Britanniques',
'VI' => 'Îles Vierges des États-Unis',
'VN' => 'Viet Nam',
'VU' => 'Vanuatu',
'WF' => 'Wallis et Futuna',
255,7 → 255,7
'WK' => 'Wake Island',
'WS' => 'Samoa',
'YD' => 'People\'s Democratic Republic of Yemen',
'YE' => 'Yémen',
'YE' => 'Yémen',
'YT' => 'Mayotte',
'ZA' => 'Afrique du Sud',
'ZM' => 'Zambie',
/trunk/api/pear/I18Nv2/Country/nl.php
8,22 → 8,22
'AF' => 'Afghanistan',
'AG' => 'Antigua en Barbuda',
'AI' => 'Anguilla',
'AL' => 'Albanië',
'AM' => 'Armenië',
'AL' => 'Albanië',
'AM' => 'Armenië',
'AN' => 'Nederlandse Antillen',
'AO' => 'Angola',
'AQ' => 'Antarctica',
'AR' => 'Argentinië',
'AR' => 'Argentinië',
'AS' => 'Amerikaans Samoa',
'AT' => 'Oostenrijk',
'AU' => 'Australië',
'AU' => 'Australië',
'AW' => 'Aruba',
'AX' => 'Alandeilanden',
'AZ' => 'Azerbeidzjan',
'BA' => 'Bosnië Herzegovina',
'BA' => 'Bosnië Herzegovina',
'BB' => 'Barbados',
'BD' => 'Bangladesh',
'BE' => 'België',
'BE' => 'België',
'BF' => 'Burkina Faso',
'BG' => 'Bulgarije',
'BH' => 'Bahrein',
33,7 → 33,7
'BN' => 'Brunei Darussalam',
'BO' => 'Bolivia',
'BQ' => 'British Antarctic Territory',
'BR' => 'Brazilië',
'BR' => 'Brazilië',
'BS' => 'Bahama’s',
'BT' => 'Bhutan',
'BV' => 'Bouveteiland',
53,13 → 53,13
'CN' => 'China',
'CO' => 'Colombia',
'CR' => 'Costa Rica',
'CS' => 'Servië en Montenegro',
'CS' => 'Servië en Montenegro',
'CT' => 'Canton and Enderbury Islands',
'CU' => 'Cuba',
'CV' => 'Kaapverdië',
'CV' => 'Kaapverdië',
'CX' => 'Christmaseiland',
'CY' => 'Cyprus',
'CZ' => 'Tsjechië',
'CZ' => 'Tsjechië',
'DD' => 'East Germany',
'DE' => 'Duitsland',
'DJ' => 'Djibouti',
73,12 → 73,12
'EH' => 'West-Sahara',
'ER' => 'Eritrea',
'ES' => 'Spanje',
'ET' => 'Ethiopië',
'ET' => 'Ethiopië',
'FI' => 'Finland',
'FJ' => 'Fiji',
'FK' => 'Falklandeilanden',
'FM' => 'Micronesia, Federale Staten van',
'FO' => 'Faeröer',
'FO' => 'Faeröer',
'FQ' => 'French Southern and Antarctic Territories',
'FR' => 'Frankrijk',
'FX' => 'Metropolitan France',
85,7 → 85,7
'GA' => 'Gabon',
'GB' => 'Verenigd Koninkrijk',
'GD' => 'Grenada',
'GE' => 'Georgië',
'GE' => 'Georgië',
'GF' => 'Frans-Guyana',
'GH' => 'Ghana',
'GI' => 'Gibraltar',
95,7 → 95,7
'GP' => 'Guadeloupe',
'GQ' => 'Equatoriaal-Guinea',
'GR' => 'Griekenland',
'GS' => 'Zuid-Georgië en Zuidelijke Sandwicheilanden',
'GS' => 'Zuid-Georgië en Zuidelijke Sandwicheilanden',
'GT' => 'Guatemala',
'GU' => 'Guam',
'GW' => 'Guinee-Bissau',
103,20 → 103,20
'HK' => 'Hongkong S.A.R. van China',
'HM' => 'Heardeiland en McDonaldeiland',
'HN' => 'Honduras',
'HR' => 'Kroatië',
'HT' => 'Haïti',
'HR' => 'Kroatië',
'HT' => 'Haïti',
'HU' => 'Hongarije',
'ID' => 'Indonesië',
'ID' => 'Indonesië',
'IE' => 'Ierland',
'IL' => 'Israël',
'IL' => 'Israël',
'IN' => 'India',
'IO' => 'Brits Territorium in de Indische Oceaan',
'IQ' => 'Irak',
'IR' => 'Iran',
'IS' => 'IJsland',
'IT' => 'Italië',
'IT' => 'Italië',
'JM' => 'Jamaica',
'JO' => 'Jordanië',
'JO' => 'Jordanië',
'JP' => 'Japan',
'JT' => 'Johnston Island',
'KE' => 'Kenia',
140,21 → 140,21
'LT' => 'Litouwen',
'LU' => 'Luxemburg',
'LV' => 'Letland',
'LY' => 'Libië',
'LY' => 'Libië',
'MA' => 'Marokko',
'MC' => 'Monaco',
'MD' => 'Republiek Moldavië',
'MD' => 'Republiek Moldavië',
'MG' => 'Madagaskar',
'MH' => 'Marshalleilanden',
'MI' => 'Midway Islands',
'MK' => 'Macedonië, Republiek',
'MK' => 'Macedonië, Republiek',
'ML' => 'Mali',
'MM' => 'Myanmar',
'MN' => 'Mongolië',
'MN' => 'Mongolië',
'MO' => 'Macao S.A.R. van China',
'MP' => 'Noordelijke Marianeneilanden',
'MQ' => 'Martinique',
'MR' => 'Mauritanië',
'MR' => 'Mauritanië',
'MS' => 'Montserrat',
'MT' => 'Malta',
'MU' => 'Mauritius',
161,10 → 161,10
'MV' => 'Maldiven',
'MW' => 'Malawi',
'MX' => 'Mexico',
'MY' => 'Maleisië',
'MY' => 'Maleisië',
'MZ' => 'Mozambique',
'NA' => 'Namibië',
'NC' => 'Nieuw-Caledonië',
'NA' => 'Namibië',
'NC' => 'Nieuw-Caledonië',
'NE' => 'Niger',
'NF' => 'Norfolkeiland',
'NG' => 'Nigeria',
181,7 → 181,7
'PA' => 'Panama',
'PC' => 'Pacific Islands Trust Territory',
'PE' => 'Peru',
'PF' => 'Frans-Polynesië',
'PF' => 'Frans-Polynesië',
'PG' => 'Papoea-Nieuw-Guinea',
'PH' => 'Filipijnen',
'PK' => 'Pakistan',
196,12 → 196,12
'PY' => 'Paraguay',
'PZ' => 'Panama Canal Zone',
'QA' => 'Qatar',
'QO' => 'Oceanië (overige)',
'RE' => 'Réunion',
'RO' => 'Roemenië',
'QO' => 'Oceanië (overige)',
'RE' => 'Réunion',
'RO' => 'Roemenië',
'RU' => 'Russische Federatie',
'RW' => 'Rwanda',
'SA' => 'Saoedi-Arabië',
'SA' => 'Saoedi-Arabië',
'SB' => 'Salomonseilanden',
'SC' => 'Seychellen',
'SD' => 'Soedan',
208,18 → 208,18
'SE' => 'Zweden',
'SG' => 'Singapore',
'SH' => 'Saint Helena',
'SI' => 'Slovenië',
'SI' => 'Slovenië',
'SJ' => 'Svalbard en Jan Mayen',
'SK' => 'Slowakije',
'SL' => 'Sierra Leone',
'SM' => 'San Marino',
'SN' => 'Senegal',
'SO' => 'Somalië',
'SO' => 'Somalië',
'SR' => 'Suriname',
'ST' => 'Sao Tomé en Principe',
'ST' => 'Sao Tomé en Principe',
'SU' => 'Union of Soviet Socialist Republics',
'SV' => 'El Salvador',
'SY' => 'Syrië',
'SY' => 'Syrië',
'SZ' => 'Swaziland',
'TC' => 'Turks- en Caicoseilanden',
'TD' => 'Tsjaad',
230,7 → 230,7
'TK' => 'Tokelau',
'TL' => 'Oost-Timor',
'TM' => 'Turkmenistan',
'TN' => 'Tunesië',
'TN' => 'Tunesië',
'TO' => 'Tonga',
'TR' => 'Turkije',
'TT' => 'Trinidad en Tobago',
237,7 → 237,7
'TV' => 'Tuvalu',
'TW' => 'Taiwan',
'TZ' => 'Tanzania',
'UA' => 'Oekraïne',
'UA' => 'Oekraïne',
'UG' => 'Oeganda',
'UM' => 'Amerikaanse ondergeschikte afgelegen eilanden',
'US' => 'Verenigde Staten',
/trunk/api/pear/I18Nv2/Country/nn.php
15,10 → 15,10
'AQ' => 'Antarktis',
'AR' => 'Argentina',
'AS' => 'Amerikansk Samoa',
'AT' => 'Østerrike',
'AT' => 'Østerrike',
'AU' => 'Australia',
'AW' => 'Aruba',
'AX' => 'Åland',
'AX' => 'Åland',
'AZ' => 'Aserbajdsjan',
'BA' => 'Bosnia og Hercegovina',
'BB' => 'Barbados',
36,18 → 36,18
'BR' => 'Brasil',
'BS' => 'Bahamas',
'BT' => 'Bhutan',
'BV' => 'Bouvetøya',
'BV' => 'Bouvetøya',
'BW' => 'Botswana',
'BY' => 'Hviterussland',
'BZ' => 'Belize',
'CA' => 'Canada',
'CC' => 'Kokosøyene (Keelingøyene)',
'CC' => 'Kokosøyene (Keelingøyene)',
'CD' => 'Kongo, Den demokratiske republikken',
'CF' => 'Den sentralafrikanske republikk',
'CG' => 'Kongo',
'CH' => 'Sveits',
'CI' => 'Elfenbenskysten',
'CK' => 'Cookøyene',
'CK' => 'Cookøyene',
'CL' => 'Chile',
'CM' => 'Kamerun',
'CN' => 'Kina',
57,7 → 57,7
'CT' => 'Canton and Enderbury Islands',
'CU' => 'Cuba',
'CV' => 'Kapp Verde',
'CX' => 'Christmasøya',
'CX' => 'Christmasøya',
'CY' => 'Kypros',
'CZ' => 'Tsjekkia',
'DD' => 'East Germany',
76,9 → 76,9
'ET' => 'Etiopia',
'FI' => 'Finland',
'FJ' => 'Fiji',
'FK' => 'Falklandsøyene (Malvinas)',
'FM' => 'Mikronesiaføderasjonen',
'FO' => 'Færøyene',
'FK' => 'Falklandsøyene (Malvinas)',
'FM' => 'Mikronesiaføderasjonen',
'FO' => 'Færøyene',
'FQ' => 'French Southern and Antarctic Territories',
'FR' => 'Frankrike',
'FX' => 'Metropolitan France',
89,19 → 89,19
'GF' => 'Fransk Guyana',
'GH' => 'Ghana',
'GI' => 'Gibraltar',
'GL' => 'Grønland',
'GL' => 'Grønland',
'GM' => 'Gambia',
'GN' => 'Guinea',
'GP' => 'Guadeloupe',
'GQ' => 'Ekvatorial-Guinea',
'GR' => 'Hellas',
'GS' => 'Sør-Georgia og Sør-Sandwich-øyene',
'GS' => 'Sør-Georgia og Sør-Sandwich-øyene',
'GT' => 'Guatemala',
'GU' => 'Guam',
'GW' => 'Guinea-Bissau',
'GY' => 'Guyana',
'HK' => 'Hong Kong S.A.R. (Kina)',
'HM' => 'Heard- og McDonaldsøyene',
'HM' => 'Heard- og McDonaldsøyene',
'HN' => 'Honduras',
'HR' => 'Kroatia',
'HT' => 'Haiti',
110,7 → 110,7
'IE' => 'Irland',
'IL' => 'Israel',
'IN' => 'India',
'IO' => 'Britiske områder i det indiske hav',
'IO' => 'Britiske områder i det indiske hav',
'IQ' => 'Irak',
'IR' => 'Iran',
'IS' => 'Island',
126,9 → 126,9
'KM' => 'Komorene',
'KN' => 'St. Christopher og Nevis',
'KP' => 'Nord-Korea',
'KR' => 'Sør-Korea',
'KR' => 'Sør-Korea',
'KW' => 'Kuwait',
'KY' => 'Caymanøyene',
'KY' => 'Caymanøyene',
'KZ' => 'Kasakhstan',
'LA' => 'Laos, Den folkedemokratiske republikken',
'LB' => 'Libanon',
145,7 → 145,7
'MC' => 'Monaco',
'MD' => 'Moldova',
'MG' => 'Madagaskar',
'MH' => 'Marshalløyene',
'MH' => 'Marshalløyene',
'MI' => 'Midway Islands',
'MK' => 'Makedonia, Republikken',
'ML' => 'Mali',
166,7 → 166,7
'NA' => 'Namibia',
'NC' => 'Ny-Caledonia',
'NE' => 'Niger',
'NF' => 'Norfolkøyene',
'NF' => 'Norfolkøyene',
'NG' => 'Nigeria',
'NI' => 'Nicaragua',
'NL' => 'Nederland',
199,10 → 199,10
'QO' => 'Ytre Oseania',
'RE' => 'Reunion',
'RO' => 'Romania',
'RU' => 'Den russiske føderasjon',
'RU' => 'Den russiske føderasjon',
'RW' => 'Rwanda',
'SA' => 'Saudi Arabia',
'SB' => 'Salomonøyene',
'SB' => 'Salomonøyene',
'SC' => 'Seychellene',
'SD' => 'Sudan',
'SE' => 'Sverige',
221,14 → 221,14
'SV' => 'El Salvador',
'SY' => 'Syria',
'SZ' => 'Swaziland',
'TC' => 'Turks- og Caicosøyene',
'TC' => 'Turks- og Caicosøyene',
'TD' => 'Tchad',
'TF' => 'Franske sørområder',
'TF' => 'Franske sørområder',
'TG' => 'Togo',
'TH' => 'Thailand',
'TJ' => 'Tadsjikistan',
'TK' => 'Tokelau',
'TL' => 'Øst-Timor',
'TL' => 'Øst-Timor',
'TM' => 'Turkmenistan',
'TN' => 'Tunisia',
'TO' => 'Tonga',
239,7 → 239,7
'TZ' => 'Tanzania',
'UA' => 'Ukraina',
'UG' => 'Uganda',
'UM' => 'USAs mindre øyer',
'UM' => 'USAs mindre øyer',
'US' => 'USA',
'UY' => 'Uruguay',
'UZ' => 'Usbekistan',
247,8 → 247,8
'VC' => 'St. Vincent og Grenadinene',
'VD' => 'North Vietnam',
'VE' => 'Venezuela',
'VG' => 'Jomfruøyene (britisk)',
'VI' => 'Jomfruøyene (USA)',
'VG' => 'Jomfruøyene (britisk)',
'VI' => 'Jomfruøyene (USA)',
'VN' => 'Vietnam',
'VU' => 'Vanuatu',
'WF' => 'Wallis og Futuna',
257,7 → 257,7
'YD' => 'People\'s Democratic Republic of Yemen',
'YE' => 'Yemen',
'YT' => 'Mayotte',
'ZA' => 'Sør-Afrika',
'ZA' => 'Sør-Afrika',
'ZM' => 'Zambia',
'ZW' => 'Zimbabwe',
);
/trunk/api/pear/I18Nv2/Country/vi.php
4,34 → 4,34
*/
$this->codes = array(
'AD' => 'Andorra',
'AE' => 'Các Tiểu VÆ°Æ¡ng quốc A-rập Thống nhất',
'AF' => 'Áp-ga-ni-xtan',
'AG' => 'An-ti-gu-a và Ba-bu-đa',
'AE' => 'Các Tiểu Vương quốc A-rập Thống nhất',
'AF' => 'Áp-ga-ni-xtan',
'AG' => 'An-ti-gu-a và Ba-bu-đa',
'AI' => 'Anguilla',
'AL' => 'An-ba-ni',
'AM' => 'Ác-mê-ni-a',
'AM' => 'Ác-mê-ni-a',
'AN' => 'Netherlands Antilles',
'AO' => 'Ăng-gô-la',
'AO' => 'Ăng-gô-la',
'AQ' => 'Antarctica',
'AR' => 'Ác-hen-ti-na',
'AR' => 'Ác-hen-ti-na',
'AS' => 'American Samoa',
'AT' => 'Áo',
'AU' => 'Úc',
'AT' => 'Áo',
'AU' => 'Úc',
'AW' => 'Aruba',
'AX' => 'Aland Islands',
'AZ' => 'Ai-déc-bai-gian',
'BA' => 'Bô-xni-a Héc-xê-gô-vi-na',
'BB' => 'Bác-ba-đốt',
'BD' => 'Băng-la-đét',
'AZ' => 'Ai-déc-bai-gian',
'BA' => 'Bô-xni-a Héc-xê-gô-vi-na',
'BB' => 'Bác-ba-đốt',
'BD' => 'Băng-la-đét',
'BE' => 'Bỉ',
'BF' => 'Buốc-ki-na Pha-xô',
'BF' => 'Buốc-ki-na Pha-xô',
'BG' => 'Bun-ga-ri',
'BH' => 'Ba-ren',
'BI' => 'Bu-run-đi',
'BJ' => 'Bê-nanh',
'BJ' => 'Bê-nanh',
'BM' => 'Bermuda',
'BN' => 'Bru-nây',
'BO' => 'Bô-li-vi-a',
'BN' => 'Bru-nây',
'BO' => 'Bô-li-vi-a',
'BQ' => 'British Antarctic Territory',
'BR' => 'Bra-xin',
'BS' => 'Ba-ha-ma',
38,28 → 38,28
'BT' => 'Bhutan',
'BV' => 'Bouvet Island',
'BW' => 'Bốt-xoa-na',
'BY' => 'Bê-la-rút',
'BZ' => 'Bê-li-xê',
'BY' => 'Bê-la-rút',
'BZ' => 'Bê-li-xê',
'CA' => 'Ca-na-đa',
'CC' => 'Cocos (Keeling) Islands',
'CD' => 'Congo (Kinshasa)',
'CF' => 'Cộng hòa Trung Phi',
'CG' => 'Công-gô',
'CF' => 'Cộng hòa Trung Phi',
'CG' => 'Công-gô',
'CH' => 'Thụy Sĩ',
'CI' => 'Bờ Biển Ngà',
'CI' => 'Bờ Biển Ngà',
'CK' => 'Cook Islands',
'CL' => 'Chi-lê',
'CL' => 'Chi-lê',
'CM' => 'Ca-mơ-run',
'CN' => 'Trung Quốc',
'CO' => 'Cô-lôm-bi-a',
'CO' => 'Cô-lôm-bi-a',
'CR' => 'Cốt-xta Ri-ca',
'CS' => 'Séc-bia',
'CS' => 'Séc-bia',
'CT' => 'Canton and Enderbury Islands',
'CU' => 'Cu Ba',
'CV' => 'Cáp-ve',
'CV' => 'Cáp-ve',
'CX' => 'Christmas Island',
'CY' => 'Síp',
'CZ' => 'Cộng hòa Séc',
'CY' => 'Síp',
'CZ' => 'Cộng hòa Séc',
'DD' => 'East Germany',
'DE' => 'Đức',
'DJ' => 'Gi-bu-ti',
66,25 → 66,25
'DK' => 'Đan Mạch',
'DM' => 'Dominica',
'DO' => 'Dominican Republic',
'DZ' => 'An-giê-ri',
'EC' => 'Ê-cu-a-đo',
'EE' => 'E-xtô-ni-a',
'DZ' => 'An-giê-ri',
'EC' => 'Ê-cu-a-đo',
'EE' => 'E-xtô-ni-a',
'EG' => 'Ai Cập',
'EH' => 'Tây Sahara',
'ER' => 'Ê-ri-tÆ¡-rê-a',
'ES' => 'Tây Ban Nha',
'ET' => 'Ê-ti-ô-pi-a',
'EH' => 'Tây Sahara',
'ER' => 'Ê-ri-tơ-rê-a',
'ES' => 'Tây Ban Nha',
'ET' => 'Ê-ti-ô-pi-a',
'FI' => 'Phần Lan',
'FJ' => 'Phi-gi',
'FK' => 'Falkland Islands',
'FM' => 'Mi-crô-nê-xi-a',
'FM' => 'Mi-crô-nê-xi-a',
'FO' => 'Faroe Islands',
'FQ' => 'French Southern and Antarctic Territories',
'FR' => 'Pháp',
'FR' => 'Pháp',
'FX' => 'Metropolitan France',
'GA' => 'Ga-bông',
'GA' => 'Ga-bông',
'GB' => 'Vương quốc Anh',
'GD' => 'Grê-na-đa',
'GD' => 'Grê-na-đa',
'GE' => 'Gru-di-a',
'GF' => 'French Guiana',
'GH' => 'Gha-na',
91,19 → 91,19
'GI' => 'Gibraltar',
'GL' => 'Greenland',
'GM' => 'Găm-bi-a',
'GN' => 'Ghi-nê',
'GN' => 'Ghi-nê',
'GP' => 'Guadeloupe',
'GQ' => 'Ghi-nê Xích-đạo',
'GQ' => 'Ghi-nê Xích-đạo',
'GR' => 'Hy Lạp',
'GS' => 'South Georgia and the South Sandwich Islands',
'GT' => 'Goa-tê-ma-la',
'GT' => 'Goa-tê-ma-la',
'GU' => 'Guam',
'GW' => 'Ghi-nê Bít-xao',
'GW' => 'Ghi-nê Bít-xao',
'GY' => 'Guy-a-na',
'HK' => 'Hong Kong S.A.R., China',
'HM' => 'Heard Island and McDonald Islands',
'HN' => 'Hôn-đu-rát',
'HR' => 'Crô-a-ti-a',
'HN' => 'Hôn-đu-rát',
'HR' => 'Crô-a-ti-a',
'HT' => 'Ha-i-ti',
'HU' => 'Hung-ga-ri',
'ID' => 'Nam Dương',
114,75 → 114,75
'IQ' => 'I-rắc',
'IR' => 'I-ran',
'IS' => 'Ai-xơ-len',
'IT' => 'Ý',
'IT' => 'Ý',
'JM' => 'Ha-mai-ca',
'JO' => 'Gióc-đa-ni',
'JO' => 'Gióc-đa-ni',
'JP' => 'Nhật Bản',
'JT' => 'Johnston Island',
'KE' => 'Kê-ni-a',
'KE' => 'Kê-ni-a',
'KG' => 'Cư-rơ-gư-xtan',
'KH' => 'Campuchia',
'KI' => 'Ki-ri-ba-ti',
'KM' => 'Cô-mô',
'KN' => 'Xan-kít và Nê-vi',
'KP' => 'Bắc Triều Tiên',
'KR' => 'Hàn Quốc',
'KW' => 'Cô-oét',
'KM' => 'Cô-mô',
'KN' => 'Xan-kít và Nê-vi',
'KP' => 'Bắc Triều Tiên',
'KR' => 'Hàn Quốc',
'KW' => 'Cô-oét',
'KY' => 'Cayman Islands',
'KZ' => 'Ka-dắc-xtan',
'LA' => 'Lào',
'LA' => 'Lào',
'LB' => 'Li-băng',
'LC' => 'Xan Lu-xi',
'LI' => 'Lich-ten-xtên',
'LI' => 'Lich-ten-xtên',
'LK' => 'Xri Lan-ca',
'LR' => 'Li-bê-ri-a',
'LS' => 'Lê-xô-thô',
'LR' => 'Li-bê-ri-a',
'LS' => 'Lê-xô-thô',
'LT' => 'Li-tu-a-ni-a',
'LU' => 'Lúc-xăm-bua',
'LV' => 'Lát-vi-a',
'LU' => 'Lúc-xăm-bua',
'LV' => 'Lát-vi-a',
'LY' => 'Li-bi',
'MA' => 'Ma-rốc',
'MC' => 'Mô-na-cô',
'MD' => 'Môn-đô-va',
'MG' => 'Ma-đa-gát-xca',
'MH' => 'Quần đảo Mác-san',
'MC' => 'Mô-na-cô',
'MD' => 'Môn-đô-va',
'MG' => 'Ma-đa-gát-xca',
'MH' => 'Quần đảo Mác-san',
'MI' => 'Midway Islands',
'MK' => 'Ma-xê-đô-ni-a',
'MK' => 'Ma-xê-đô-ni-a',
'ML' => 'Ma-li',
'MM' => 'Mi-an-ma',
'MN' => 'Mông Cổ',
'MN' => 'Mông Cổ',
'MO' => 'Macao S.A.R., China',
'MP' => 'Northern Mariana Islands',
'MQ' => 'Martinique',
'MR' => 'Mô-ri-ta-ni',
'MR' => 'Mô-ri-ta-ni',
'MS' => 'Montserrat',
'MT' => 'Man-ta',
'MU' => 'Mô-ri-xÆ¡',
'MU' => 'Mô-ri-xơ',
'MV' => 'Man-đi-vơ',
'MW' => 'Ma-la-uy',
'MX' => 'Mê-hi-cô',
'MX' => 'Mê-hi-cô',
'MY' => 'Ma-lay-xi-a',
'MZ' => 'Mô-dăm-bích',
'MZ' => 'Mô-dăm-bích',
'NA' => 'Nam-mi-bi-a',
'NC' => 'New Caledonia',
'NE' => 'Ni-giê',
'NE' => 'Ni-giê',
'NF' => 'Norfolk Island',
'NG' => 'Ni-giê-ri-a',
'NG' => 'Ni-giê-ri-a',
'NI' => 'Ni-ca-ra-goa',
'NL' => 'Hà Lan',
'NL' => 'Hà Lan',
'NO' => 'Na Uy',
'NP' => 'Nê-pan',
'NP' => 'Nê-pan',
'NQ' => 'Dronning Maud Land',
'NR' => 'Nauru',
'NT' => 'Neutral Zone',
'NU' => 'Niue',
'NZ' => 'Niu Di-lân',
'OM' => 'Ô-man',
'NZ' => 'Niu Di-lân',
'OM' => 'Ô-man',
'PA' => 'Pa-na-ma',
'PC' => 'Pacific Islands Trust Territory',
'PE' => 'Pê-ru',
'PE' => 'Pê-ru',
'PF' => 'French Polynesia',
'PG' => 'Pa-pu-a Niu Ghi-nê',
'PG' => 'Pa-pu-a Niu Ghi-nê',
'PH' => 'Phi-lip-pin',
'PK' => 'Pa-ki-xtan',
'PL' => 'Ba Lan',
190,7 → 190,7
'PN' => 'Pitcairn',
'PR' => 'Puerto Rico',
'PS' => 'Palestinian Territory',
'PT' => 'Bồ Đào Nha',
'PT' => 'Bồ Đào Nha',
'PU' => 'U.S. Miscellaneous Pacific Islands',
'PW' => 'Palau',
'PY' => 'Pa-ra-goay',
201,41 → 201,41
'RO' => 'Ru-ma-ni',
'RU' => 'Nga',
'RW' => 'Ru-an-đa',
'SA' => 'A-rập Xê-út',
'SB' => 'Quần đảo Xô-lô-mông',
'SC' => 'Xây-sen',
'SA' => 'A-rập Xê-út',
'SB' => 'Quần đảo Xô-lô-mông',
'SC' => 'Xây-sen',
'SD' => 'Xu-đăng',
'SE' => 'Thụy Điển',
'SG' => 'Xin-ga-po',
'SH' => 'Saint Helena',
'SI' => 'Xlô-ven-ni-a',
'SI' => 'Xlô-ven-ni-a',
'SJ' => 'Svalbard and Jan Mayen',
'SK' => 'Xlô-va-ki-a',
'SL' => 'Xi-ê-ra Lê-ôn',
'SM' => 'Xan Ma-ri-nô',
'SN' => 'Xê-nê-gan',
'SO' => 'Xô-ma-li',
'SK' => 'Xlô-va-ki-a',
'SL' => 'Xi-ê-ra Lê-ôn',
'SM' => 'Xan Ma-ri-nô',
'SN' => 'Xê-nê-gan',
'SO' => 'Xô-ma-li',
'SR' => 'Xu-ri-nam',
'ST' => 'Xao Tô-mê và Prin-xi-pê',
'ST' => 'Xao Tô-mê và Prin-xi-pê',
'SU' => 'Union of Soviet Socialist Republics',
'SV' => 'En-san-va-đo',
'SY' => 'Xi-ri',
'SZ' => 'Xoa-di-len',
'TC' => 'Turks and Caicos Islands',
'TD' => 'Sát',
'TD' => 'Sát',
'TF' => 'French Southern Territories',
'TG' => 'Tô-gô',
'TH' => 'Thái Lan',
'TJ' => 'Tát-gi-ki-xtan',
'TG' => 'Tô-gô',
'TH' => 'Thái Lan',
'TJ' => 'Tát-gi-ki-xtan',
'TK' => 'Tokelau',
'TL' => 'East Timor',
'TM' => 'Tuốc-mê-ni-xtan',
'TM' => 'Tuốc-mê-ni-xtan',
'TN' => 'Tuy-ni-di',
'TO' => 'Tông-ga',
'TO' => 'Tông-ga',
'TR' => 'Thổ Nhĩ Kỳ',
'TT' => 'Tri-ni-đát và Tô-ba-gô',
'TT' => 'Tri-ni-đát và Tô-ba-gô',
'TV' => 'Tu-va-lu',
'TW' => 'Đài Loan',
'TW' => 'Đài Loan',
'TZ' => 'Tan-da-ni-a',
'UA' => 'U-crai-na',
'UG' => 'U-gan-đa',
242,11 → 242,11
'UM' => 'United States Minor Outlying Islands',
'US' => 'Hoa Kỳ',
'UY' => 'U-ru-goay',
'UZ' => 'U-dÆ¡-bê-ki-xtan',
'UZ' => 'U-dơ-bê-ki-xtan',
'VA' => 'Va-ti-căng',
'VC' => 'Xan Vin-xen và Grê-na-din',
'VC' => 'Xan Vin-xen và Grê-na-din',
'VD' => 'North Vietnam',
'VE' => 'Vê-nê-zu-ê-la',
'VE' => 'Vê-nê-zu-ê-la',
'VG' => 'British Virgin Islands',
'VI' => 'U.S. Virgin Islands',
'VN' => 'Việt Nam',
255,10 → 255,10
'WK' => 'Wake Island',
'WS' => 'Xa-moa',
'YD' => 'People\'s Democratic Republic of Yemen',
'YE' => 'Y-ê-men',
'YE' => 'Y-ê-men',
'YT' => 'Mayotte',
'ZA' => 'Nam Phi',
'ZM' => 'Dăm-bi-a',
'ZW' => 'Dim-ba-bu-ê',
'ZW' => 'Dim-ba-bu-ê',
);
?>
/trunk/api/pear/I18Nv2/Country/ro.php
198,7 → 198,7
'QA' => 'Qatar',
'QO' => 'Altă Oceania',
'RE' => 'Reunion',
'RO' => 'România',
'RO' => 'România',
'RU' => 'Rusia',
'RW' => 'Rwanda',
'SA' => 'Arabia Saudită',
243,7 → 243,7
'US' => 'Statele Unite',
'UY' => 'Uruguay',
'UZ' => 'Uzbekistan',
'VA' => 'Sfântul Scaun (Statul Vatican)',
'VA' => 'Sfântul Scaun (Statul Vatican)',
'VC' => 'Saint Vincent şi Grenadines',
'VD' => 'North Vietnam',
'VE' => 'Venezuela',
/trunk/api/pear/I18Nv2/Country/ca.php
4,34 → 4,34
*/
$this->codes = array(
'AD' => 'Andorra',
'AE' => 'Unió dels Emirats Àrabs',
'AE' => 'Unió dels Emirats Àrabs',
'AF' => 'Afganistan',
'AG' => 'Antigua and Barbuda',
'AI' => 'Anguilla',
'AL' => 'Albània',
'AM' => 'Armènia',
'AL' => 'Albània',
'AM' => 'Armènia',
'AN' => 'Antilles Holandeses',
'AO' => 'Angola',
'AQ' => 'Antarctica',
'AR' => 'Argentina',
'AS' => 'American Samoa',
'AT' => 'Àustria',
'AU' => 'Austràlia',
'AT' => 'Àustria',
'AU' => 'Austràlia',
'AW' => 'Aruba',
'AX' => 'Aland Islands',
'AZ' => 'Azerbaidjan',
'BA' => 'Bòsnia i Hercegovina',
'BA' => 'Bòsnia i Hercegovina',
'BB' => 'Barbados',
'BD' => 'Bangla Desh',
'BE' => 'Bèlgica',
'BE' => 'Bèlgica',
'BF' => 'Burkina Faso',
'BG' => 'Bulgària',
'BG' => 'Bulgària',
'BH' => 'Bahrain',
'BI' => 'Burundi',
'BJ' => 'Benin',
'BM' => 'Bermudes',
'BN' => 'Brunei',
'BO' => 'Bolívia',
'BO' => 'Bolívia',
'BQ' => 'British Antarctic Territory',
'BR' => 'Brasil',
'BS' => 'Bahames',
38,12 → 38,12
'BT' => 'Bhutan',
'BV' => 'Bouvet Island',
'BW' => 'Botswana',
'BY' => 'Bielorússia',
'BY' => 'Bielorússia',
'BZ' => 'Belize',
'CA' => 'Canadà',
'CA' => 'Canadà',
'CC' => 'Cocos (Keeling) Islands',
'CD' => 'Congo (Kinshasa)',
'CF' => 'República Centrafricana',
'CF' => 'República Centrafricana',
'CG' => 'Congo',
'CH' => 'Switzerland',
'CI' => 'Costa d’Ivori',
51,50 → 51,50
'CL' => 'Xile',
'CM' => 'Camerun',
'CN' => 'Xina',
'CO' => 'Colòmbia',
'CO' => 'Colòmbia',
'CR' => 'Costa Rica',
'CS' => 'Sèrbia i Montenegro',
'CS' => 'Sèrbia i Montenegro',
'CT' => 'Canton and Enderbury Islands',
'CU' => 'Cuba',
'CV' => 'Cap Verd',
'CX' => 'Christmas Island',
'CY' => 'Xipre',
'CZ' => 'República Txeca',
'CZ' => 'República Txeca',
'DD' => 'East Germany',
'DE' => 'Alemanya',
'DJ' => 'Djibouti',
'DK' => 'Dinamarca',
'DM' => 'Dominica',
'DO' => 'República Dominicana',
'DZ' => 'Algèria',
'DO' => 'República Dominicana',
'DZ' => 'Algèria',
'EC' => 'Equador',
'EE' => 'Estònia',
'EE' => 'Estònia',
'EG' => 'Egipte',
'EH' => 'Sàhara Occidental',
'EH' => 'Sàhara Occidental',
'ER' => 'Eritrea',
'ES' => 'Espanya',
'ET' => 'Etiòpia',
'FI' => 'Finlàndia',
'ET' => 'Etiòpia',
'FI' => 'Finlàndia',
'FJ' => 'Fiji',
'FK' => 'Falkland Islands',
'FM' => 'Micronèsia',
'FM' => 'Micronèsia',
'FO' => 'Faroe Islands',
'FQ' => 'French Southern and Antarctic Territories',
'FR' => 'França',
'FR' => 'França',
'FX' => 'Metropolitan France',
'GA' => 'Gabon',
'GB' => 'Regne Unit',
'GD' => 'Grenada',
'GE' => 'Geòrgia',
'GE' => 'Geòrgia',
'GF' => 'Guaiana Francesa',
'GH' => 'Ghana',
'GI' => 'Gibraltar',
'GL' => 'Greenland',
'GM' => 'Gàmbia',
'GM' => 'Gàmbia',
'GN' => 'Guinea',
'GP' => 'Guadeloupe',
'GQ' => 'Guinea Equatorial',
'GR' => 'Grècia',
'GR' => 'Grècia',
'GS' => 'South Georgia and the South Sandwich Islands',
'GT' => 'Guatemala',
'GU' => 'Guam',
103,21 → 103,21
'HK' => 'Hong Kong',
'HM' => 'Heard Island and McDonald Islands',
'HN' => 'Hondures',
'HR' => 'Croàcia',
'HT' => 'Haití',
'HR' => 'Croàcia',
'HT' => 'Haití',
'HU' => 'Hongria',
'ID' => 'Indonèsia',
'ID' => 'Indonèsia',
'IE' => 'Irlanda',
'IL' => 'Israel',
'IN' => 'Índia',
'IN' => 'Índia',
'IO' => 'British Indian Ocean Territory',
'IQ' => 'Iraq',
'IR' => 'Iran',
'IS' => 'Islàndia',
'IT' => 'Itàlia',
'IS' => 'Islàndia',
'IT' => 'Itàlia',
'JM' => 'Jamaica',
'JO' => 'Jordània',
'JP' => 'Japó',
'JO' => 'Jordània',
'JP' => 'Japó',
'JT' => 'Johnston Island',
'KE' => 'Kenya',
'KG' => 'Kirgizistan',
131,45 → 131,45
'KY' => 'Cayman Islands',
'KZ' => 'Kazakhstan',
'LA' => 'Laos',
'LB' => 'Líban',
'LB' => 'Líban',
'LC' => 'Saint Lucia',
'LI' => 'Liechtenstein',
'LK' => 'Sri Lanka',
'LR' => 'Libèria',
'LR' => 'Libèria',
'LS' => 'Lesotho',
'LT' => 'Lituània',
'LT' => 'Lituània',
'LU' => 'Luxemburg',
'LV' => 'Letònia',
'LY' => 'Líbia',
'LV' => 'Letònia',
'LY' => 'Líbia',
'MA' => 'Marroc',
'MC' => 'Mònaco',
'MD' => 'Moldàvia',
'MC' => 'Mònaco',
'MD' => 'Moldàvia',
'MG' => 'Madagascar',
'MH' => 'Marshall Islands',
'MI' => 'Midway Islands',
'MK' => 'Macedònia',
'MK' => 'Macedònia',
'ML' => 'Mali',
'MM' => 'Myanmar',
'MN' => 'Mongòlia',
'MN' => 'Mongòlia',
'MO' => 'Macao S.A.R., China',
'MP' => 'Northern Mariana Islands',
'MQ' => 'Martinica',
'MR' => 'Mauritània',
'MR' => 'Mauritània',
'MS' => 'Montserrat',
'MT' => 'Malta',
'MU' => 'Maurici',
'MV' => 'Maldives',
'MW' => 'Malawi',
'MX' => 'Mèxic',
'MY' => 'Malàisia',
'MZ' => 'Moçambic',
'NA' => 'Namíbia',
'NC' => 'Nova Caledònia',
'NE' => 'Níger',
'MX' => 'Mèxic',
'MY' => 'Malàisia',
'MZ' => 'Moçambic',
'NA' => 'Namíbia',
'NC' => 'Nova Caledònia',
'NE' => 'Níger',
'NF' => 'Norfolk Island',
'NG' => 'Nigèria',
'NG' => 'Nigèria',
'NI' => 'Nicaragua',
'NL' => 'Països Baixos',
'NL' => 'Països Baixos',
'NO' => 'Noruega',
'NP' => 'Nepal',
'NQ' => 'Dronning Maud Land',
178,14 → 178,14
'NU' => 'Niue',
'NZ' => 'Nova Zelanda',
'OM' => 'Oman',
'PA' => 'Panamà',
'PA' => 'Panamà',
'PC' => 'Pacific Islands Trust Territory',
'PE' => 'Perú',
'PF' => 'Polinèsia Francesa',
'PE' => 'Perú',
'PF' => 'Polinèsia Francesa',
'PG' => 'Papua Nova Guinea',
'PH' => 'Filipines',
'PK' => 'Pakistan',
'PL' => 'Polònia',
'PL' => 'Polònia',
'PM' => 'Saint Pierre and Miquelon',
'PN' => 'Pitcairn',
'PR' => 'Puerto Rico',
199,55 → 199,55
'QO' => 'Outlying Oceania',
'RE' => 'Reunion',
'RO' => 'Romania',
'RU' => 'Rússia',
'RU' => 'Rússia',
'RW' => 'Rwanda',
'SA' => 'Aràbia Saudí',
'SA' => 'Aràbia Saudí',
'SB' => 'Solomon Islands',
'SC' => 'Seychelles',
'SD' => 'Sudan',
'SE' => 'Suècia',
'SE' => 'Suècia',
'SG' => 'Singapur',
'SH' => 'Saint Helena',
'SI' => 'Eslovènia',
'SI' => 'Eslovènia',
'SJ' => 'Svalbard and Jan Mayen',
'SK' => 'Eslovàquia',
'SK' => 'Eslovàquia',
'SL' => 'Sierra Leone',
'SM' => 'San Marino',
'SN' => 'Senegal',
'SO' => 'Somàlia',
'SO' => 'Somàlia',
'SR' => 'Surinam',
'ST' => 'Sao Tome and Principe',
'SU' => 'Union of Soviet Socialist Republics',
'SV' => 'El Salvador',
'SY' => 'Síria',
'SZ' => 'Swazilàndia',
'SY' => 'Síria',
'SZ' => 'Swazilàndia',
'TC' => 'Turks and Caicos Islands',
'TD' => 'Txad',
'TF' => 'Territoris Meridionals Francesos',
'TG' => 'Togo',
'TH' => 'Tailàndia',
'TH' => 'Tailàndia',
'TJ' => 'Tadjikistan',
'TK' => 'Tokelau',
'TL' => 'Timor',
'TM' => 'Turkmenistan',
'TN' => 'Tunísia',
'TN' => 'Tunísia',
'TO' => 'Tonga',
'TR' => 'Turquia',
'TT' => 'Trinitat i Tobago',
'TV' => 'Tuvalu',
'TW' => 'Taiwan',
'TZ' => 'Tanzània',
'UA' => 'Ucraïna',
'TZ' => 'Tanzània',
'UA' => 'Ucraïna',
'UG' => 'Uganda',
'UM' => 'United States Minor Outlying Islands',
'US' => 'Estats Units',
'UY' => 'Uruguai',
'UZ' => 'Uzbekistan',
'VA' => 'Vaticà',
'VA' => 'Vaticà',
'VC' => 'Saint Vincent and the Grenadines',
'VD' => 'North Vietnam',
'VE' => 'Veneçuela',
'VG' => 'Illes Verges Britàniques',
'VE' => 'Veneçuela',
'VG' => 'Illes Verges Britàniques',
'VI' => 'Illes Verges dels USA',
'VN' => 'Vietnam',
'VU' => 'Vanuatu',
257,8 → 257,8
'YD' => 'People\'s Democratic Republic of Yemen',
'YE' => 'Iemen',
'YT' => 'Mayotte',
'ZA' => 'Sud-àfrica',
'ZM' => 'Zàmbia',
'ZA' => 'Sud-àfrica',
'ZM' => 'Zàmbia',
'ZW' => 'Zimbabwe',
);
?>
/trunk/api/pear/I18Nv2/Country/ga.php
3,194 → 3,194
* $Id: ga.php,v 1.1 2007-06-25 09:55:26 alexandre_tb Exp $
*/
$this->codes = array(
'AD' => 'Andóra',
'AE' => 'Aontas na nÉimíríochtaí Arabacha',
'AF' => 'An Afganastáin',
'AD' => 'Andóra',
'AE' => 'Aontas na nÉimíríochtaí Arabacha',
'AF' => 'An Afganastáin',
'AG' => 'Antigua agus Barbuda',
'AI' => 'Anguilla',
'AL' => 'An Albáin',
'AM' => 'An Airméin',
'AN' => 'Antillí na hÍsiltíre',
'AO' => 'Angóla',
'AL' => 'An Albáin',
'AM' => 'An Airméin',
'AN' => 'Antillí na hÍsiltíre',
'AO' => 'Angóla',
'AQ' => 'An Antartaice',
'AR' => 'An Airgintín',
'AS' => 'Samó Meiriceánach',
'AR' => 'An Airgintín',
'AS' => 'Samó Meiriceánach',
'AT' => 'An Ostair',
'AU' => 'An Astráil',
'AU' => 'An Astráil',
'AW' => 'Aruba',
'AX' => 'Aland Islands',
'AZ' => 'An Asarbaiseáin',
'BA' => 'An Bhoisnia-Heirseagaivéin',
'BB' => 'Barbadós',
'BD' => 'An Bhanglaidéis',
'AZ' => 'An Asarbaiseáin',
'BA' => 'An Bhoisnia-Heirseagaivéin',
'BB' => 'Barbadós',
'BD' => 'An Bhanglaidéis',
'BE' => 'An Bheilg',
'BF' => 'Buircíne Fasó',
'BG' => 'An Bhulgáir',
'BH' => 'Bairéin',
'BI' => 'An Bhurúin',
'BF' => 'Buircíne Fasó',
'BG' => 'An Bhulgáir',
'BH' => 'Bairéin',
'BI' => 'An Bhurúin',
'BJ' => 'Beinin',
'BM' => 'Beirmiúda',
'BN' => 'Brúiné',
'BM' => 'Beirmiúda',
'BN' => 'Brúiné',
'BO' => 'An Bholaiv',
'BQ' => 'British Antarctic Territory',
'BR' => 'An Bhrasaíl',
'BS' => 'Na Bahámaí',
'BT' => 'An Bhútáin',
'BV' => 'Oileáin Bouvet',
'BW' => 'An Bhotsuáin',
'BY' => 'An Bhealarúis',
'BZ' => 'An Bheilís',
'BR' => 'An Bhrasaíl',
'BS' => 'Na Bahámaí',
'BT' => 'An Bhútáin',
'BV' => 'Oileáin Bouvet',
'BW' => 'An Bhotsuáin',
'BY' => 'An Bhealarúis',
'BZ' => 'An Bheilís',
'CA' => 'Ceanada',
'CC' => 'Oileáin Cocos (Keeling)',
'CD' => 'Poblacht Dhaonlathach an Chongó',
'CF' => 'Poblacht na hAfraice Láir',
'CG' => 'An Congó',
'CH' => 'An Eilvéis',
'CI' => 'An Cósta Eabhair',
'CK' => 'Oileáin Cook',
'CC' => 'Oileáin Cocos (Keeling)',
'CD' => 'Poblacht Dhaonlathach an Chongó',
'CF' => 'Poblacht na hAfraice Láir',
'CG' => 'An Congó',
'CH' => 'An Eilvéis',
'CI' => 'An Cósta Eabhair',
'CK' => 'Oileáin Cook',
'CL' => 'An tSile',
'CM' => 'Camarún',
'CN' => 'An tSín',
'CO' => 'An Cholóim',
'CR' => 'Cósta Ríce',
'CM' => 'Camarún',
'CN' => 'An tSín',
'CO' => 'An Cholóim',
'CR' => 'Cósta Ríce',
'CS' => 'An tSeirbia',
'CT' => 'Canton and Enderbury Islands',
'CU' => 'Cúba',
'CU' => 'Cúba',
'CV' => 'Rinn Verde',
'CX' => 'Oileán na Nollag',
'CX' => 'Oileán na Nollag',
'CY' => 'An Chipir',
'CZ' => 'Poblacht na Seice',
'DD' => 'East Germany',
'DE' => 'An Ghearmáin',
'DE' => 'An Ghearmáin',
'DJ' => 'Djibouti',
'DK' => 'An Danmhairg',
'DM' => 'Doiminice',
'DO' => 'An Phoblacht Dhoiminiceach',
'DZ' => 'An Ailgéir',
'EC' => 'Eacuadór',
'EE' => 'An Eastóin',
'EG' => 'An Éigipt',
'EH' => 'An Sahára Thiar',
'DZ' => 'An Ailgéir',
'EC' => 'Eacuadór',
'EE' => 'An Eastóin',
'EG' => 'An Éigipt',
'EH' => 'An Sahára Thiar',
'ER' => 'Eritrea',
'ES' => 'An Spáinn',
'ET' => 'An Aetóip',
'ES' => 'An Spáinn',
'ET' => 'An Aetóip',
'FI' => 'An Fhionlainn',
'FJ' => 'Fidsí',
'FK' => 'Oileáin Fháclainne',
'FM' => 'An Mhicrinéis',
'FO' => 'Oileáin Fharó',
'FJ' => 'Fidsí',
'FK' => 'Oileáin Fháclainne',
'FM' => 'An Mhicrinéis',
'FO' => 'Oileáin Fharó',
'FQ' => 'French Southern and Antarctic Territories',
'FR' => 'An Fhrainc',
'FX' => 'Metropolitan France',
'GA' => 'An Ghabúin',
'GB' => 'An Ríocht Aontaithe',
'GA' => 'An Ghabúin',
'GB' => 'An Ríocht Aontaithe',
'GD' => 'Grenada',
'GE' => 'An tSeoirsia',
'GF' => 'An Ghuáin Fhrancach',
'GH' => 'Gána',
'GI' => 'Giobráltar',
'GF' => 'An Ghuáin Fhrancach',
'GH' => 'Gána',
'GI' => 'Giobráltar',
'GL' => 'An Ghraonlainn',
'GM' => 'An Ghaimbia',
'GN' => 'An Ghuine',
'GP' => 'Guadalúip',
'GQ' => 'An Ghuine Mheánchriosach',
'GR' => 'An Ghréig',
'GS' => 'An tSeoirsia Theas agus Oileáin Sandwich Theas',
'GP' => 'Guadalúip',
'GQ' => 'An Ghuine Mheánchriosach',
'GR' => 'An Ghréig',
'GS' => 'An tSeoirsia Theas agus Oileáin Sandwich Theas',
'GT' => 'Guatamala',
'GU' => 'Guam',
'GW' => 'An Ghuine-Bhissau',
'GY' => 'An Ghuáin',
'HK' => 'Hong Cong (R.R.S. na Síne)',
'HM' => 'Oileán Heard agus Oileáin McDonald',
'HN' => 'Hondúras',
'HR' => 'An Chróit',
'HT' => 'Háití',
'HU' => 'An Ungáir',
'ID' => 'An Indinéis',
'IE' => 'Éire',
'GY' => 'An Ghuáin',
'HK' => 'Hong Cong (R.R.S. na Síne)',
'HM' => 'Oileán Heard agus Oileáin McDonald',
'HN' => 'Hondúras',
'HR' => 'An Chróit',
'HT' => 'Háití',
'HU' => 'An Ungáir',
'ID' => 'An Indinéis',
'IE' => 'Éire',
'IL' => 'Iosrael',
'IN' => 'An India',
'IO' => 'Críocha Briotanacha an Aigéin Indiagh',
'IQ' => 'An Iaráic',
'IR' => 'An Iaráin',
'IS' => 'An Íoslainn',
'IT' => 'An Iodáil',
'JM' => 'Iamáice',
'JO' => 'An Iordáin',
'JP' => 'An tSeapáin',
'IO' => 'Críocha Briotanacha an Aigéin Indiagh',
'IQ' => 'An Iaráic',
'IR' => 'An Iaráin',
'IS' => 'An Íoslainn',
'IT' => 'An Iodáil',
'JM' => 'Iamáice',
'JO' => 'An Iordáin',
'JP' => 'An tSeapáin',
'JT' => 'Johnston Island',
'KE' => 'An Chéinia',
'KG' => 'An Chirgeastáin',
'KH' => 'An Chambóid',
'KI' => 'Cireabaití',
'KM' => 'Oileáin Chomóra',
'KE' => 'An Chéinia',
'KG' => 'An Chirgeastáin',
'KH' => 'An Chambóid',
'KI' => 'Cireabaití',
'KM' => 'Oileáin Chomóra',
'KN' => 'Saint Kitts agus Nevis',
'KP' => 'An Chóiré Thuaidh',
'KR' => 'An Chóiré Theas',
'KW' => 'Cuáit',
'KY' => 'Oileáin Cayman',
'KZ' => 'An Chasacstáin',
'KP' => 'An Chóiré Thuaidh',
'KR' => 'An Chóiré Theas',
'KW' => 'Cuáit',
'KY' => 'Oileáin Cayman',
'KZ' => 'An Chasacstáin',
'LA' => 'Laos',
'LB' => 'An Liobáin',
'LB' => 'An Liobáin',
'LC' => 'Saint Lucia',
'LI' => 'Lichtinstéin',
'LK' => 'Srí Lanca',
'LR' => 'An Libéir',
'LS' => 'Leosóta',
'LT' => 'An Liotuáin',
'LI' => 'Lichtinstéin',
'LK' => 'Srí Lanca',
'LR' => 'An Libéir',
'LS' => 'Leosóta',
'LT' => 'An Liotuáin',
'LU' => 'Lucsamburg',
'LV' => 'An Laitvia',
'LY' => 'An Libia',
'MA' => 'Maracó',
'MC' => 'Monacó',
'MD' => 'An Mholdóiv',
'MA' => 'Maracó',
'MC' => 'Monacó',
'MD' => 'An Mholdóiv',
'MG' => 'Madagascar',
'MH' => 'Oileáin Marshall',
'MH' => 'Oileáin Marshall',
'MI' => 'Midway Islands',
'MK' => 'An Mhacadóin',
'ML' => 'Mailí',
'MK' => 'An Mhacadóin',
'ML' => 'Mailí',
'MM' => 'Maenmar',
'MN' => 'An Mhongóil',
'MO' => 'Macáó (R.R.S. na Síne)',
'MP' => 'Oileáin Mariana Thuaidh',
'MN' => 'An Mhongóil',
'MO' => 'Macáó (R.R.S. na Síne)',
'MP' => 'Oileáin Mariana Thuaidh',
'MQ' => 'Martinique',
'MR' => 'An Mharatáin',
'MR' => 'An Mharatáin',
'MS' => 'Montsarat',
'MT' => 'Málta',
'MU' => 'Oileán Mhuirís',
'MV' => 'Mhaildiví',
'MW' => 'An Mhaláiv',
'MT' => 'Málta',
'MU' => 'Oileán Mhuirís',
'MV' => 'Mhaildiví',
'MW' => 'An Mhaláiv',
'MX' => 'Meicsiceo',
'MY' => 'An Mhalaeisia',
'MZ' => 'Mósaimbíc',
'MZ' => 'Mósaimbíc',
'NA' => 'An Namaib',
'NC' => 'An Nua-Chaladóin',
'NE' => 'An Nígir',
'NF' => 'Oileán Norfolk',
'NG' => 'An Nigéir',
'NC' => 'An Nua-Chaladóin',
'NE' => 'An Nígir',
'NF' => 'Oileán Norfolk',
'NG' => 'An Nigéir',
'NI' => 'Nicearagua',
'NL' => 'An Ísiltír',
'NL' => 'An Ísiltír',
'NO' => 'An Iorua',
'NP' => 'Neipeal',
'NQ' => 'Dronning Maud Land',
'NR' => 'Nárú',
'NR' => 'Nárú',
'NT' => 'Neutral Zone',
'NU' => 'Niue',
'NZ' => 'An Nua-Shéalainn',
'NZ' => 'An Nua-Shéalainn',
'OM' => 'Oman',
'PA' => 'Panama',
'PC' => 'Pacific Islands Trust Territory',
'PE' => 'Peiriú',
'PF' => 'An Pholainéis Fhrancach',
'PE' => 'Peiriú',
'PF' => 'An Pholainéis Fhrancach',
'PG' => 'Nua-Ghuine Phapua',
'PH' => 'Na hOileáin Fhilipíneacha',
'PK' => 'An Phacastáin',
'PH' => 'Na hOileáin Fhilipíneacha',
'PK' => 'An Phacastáin',
'PL' => 'An Pholainn',
'PM' => 'Saint Pierre agus Miquelon',
'PN' => 'Pitcairn',
'PR' => 'Portó Ríce',
'PS' => 'Na Críocha Pailistíneacha',
'PT' => 'An Phortaingéil',
'PR' => 'Portó Ríce',
'PS' => 'Na Críocha Pailistíneacha',
'PT' => 'An Phortaingéil',
'PU' => 'U.S. Miscellaneous Pacific Islands',
'PW' => 'Palau',
'PY' => 'Paragua',
197,68 → 197,68
'PZ' => 'Panama Canal Zone',
'QA' => 'Catar',
'QO' => 'Outlying Oceania',
'RE' => 'Réunion',
'RO' => 'An Rómáin',
'RU' => 'Cónaidhm na Rúise',
'RE' => 'Réunion',
'RO' => 'An Rómáin',
'RU' => 'Cónaidhm na Rúise',
'RW' => 'Ruanda',
'SA' => 'An Araib Shádach',
'SB' => 'Oileáin Solomon',
'SC' => 'Na Séiséil',
'SD' => 'An tSúdáin',
'SA' => 'An Araib Shádach',
'SB' => 'Oileáin Solomon',
'SC' => 'Na Séiséil',
'SD' => 'An tSúdáin',
'SE' => 'An tSualainn',
'SG' => 'Singeapór',
'SH' => 'San Héilin',
'SI' => 'An tSlóvéin',
'SG' => 'Singeapór',
'SH' => 'San Héilin',
'SI' => 'An tSlóvéin',
'SJ' => 'Svalbard agus Jan Mayen',
'SK' => 'An tSlóvaic',
'SK' => 'An tSlóvaic',
'SL' => 'Siarra Leon',
'SM' => 'San Mairíne',
'SN' => 'An tSeineagáil',
'SO' => 'An tSomáil',
'SM' => 'San Mairíne',
'SN' => 'An tSeineagáil',
'SO' => 'An tSomáil',
'SR' => 'Suranam',
'ST' => 'Sao Tome agus Principe',
'SU' => 'Union of Soviet Socialist Republics',
'SV' => 'An tSalvadóir',
'SV' => 'An tSalvadóir',
'SY' => 'An tSiria',
'SZ' => 'An tSuasalainn',
'TC' => 'Oileáin Turks agus Caicos',
'TC' => 'Oileáin Turks agus Caicos',
'TD' => 'Sead',
'TF' => 'Críocha Francacha Theas',
'TG' => 'Tóga',
'TH' => 'An Téalainn',
'TJ' => 'An Táidsíceastáin',
'TK' => 'Tócalá',
'TL' => 'Tíomór-Leste',
'TM' => 'An Tuircméanastáin',
'TN' => 'An Túinéis',
'TF' => 'Críocha Francacha Theas',
'TG' => 'Tóga',
'TH' => 'An Téalainn',
'TJ' => 'An Táidsíceastáin',
'TK' => 'Tócalá',
'TL' => 'Tíomór-Leste',
'TM' => 'An Tuircméanastáin',
'TN' => 'An Túinéis',
'TO' => 'Tonga',
'TR' => 'An Tuirc',
'TT' => 'Oileáin na Tríonóide agus Tobága',
'TV' => 'Tuvalú',
'TW' => 'An Téaváin',
'TZ' => 'An Tansáin',
'UA' => 'An Úcráin',
'TT' => 'Oileáin na Tríonóide agus Tobága',
'TV' => 'Tuvalú',
'TW' => 'An Téaváin',
'TZ' => 'An Tansáin',
'UA' => 'An Úcráin',
'UG' => 'Uganda',
'UM' => 'Mion-Oileáin Imeallacha S.A.M.',
'US' => 'Stáit Aontaithe Mheiriceá',
'UM' => 'Mion-Oileáin Imeallacha S.A.M.',
'US' => 'Stáit Aontaithe Mheiriceá',
'UY' => 'Urugua',
'UZ' => 'Úisbéiceastáin',
'VA' => 'An Chathaoir Naofa (Stát Chathair na Vatacáine)',
'UZ' => 'Úisbéiceastáin',
'VA' => 'An Chathaoir Naofa (Stát Chathair na Vatacáine)',
'VC' => 'Saint Vincent agus na Grenadines',
'VD' => 'North Vietnam',
'VE' => 'Veiniséala',
'VG' => 'Oileáin Bhriotanacha na Maighdean',
'VI' => 'Oileáin na Maighdean S.A.M.',
'VN' => 'Vítneam',
'VU' => 'Vanuatú',
'WF' => 'Oileáin Vailís agus Futúna',
'VE' => 'Veiniséala',
'VG' => 'Oileáin Bhriotanacha na Maighdean',
'VI' => 'Oileáin na Maighdean S.A.M.',
'VN' => 'Vítneam',
'VU' => 'Vanuatú',
'WF' => 'Oileáin Vailís agus Futúna',
'WK' => 'Wake Island',
'WS' => 'Samó',
'WS' => 'Samó',
'YD' => 'People\'s Democratic Republic of Yemen',
'YE' => 'Éimin',
'YE' => 'Éimin',
'YT' => 'Mayotte',
'ZA' => 'An Afraic Theas',
'ZM' => 'An tSaimbia',
'ZW' => 'An tSiombáib',
'ZW' => 'An tSiombáib',
);
?>
/trunk/api/pear/I18Nv2/Country/gl.php
72,7 → 72,7
'EG' => 'Egypt',
'EH' => 'Western Sahara',
'ER' => 'Eritrea',
'ES' => 'España',
'ES' => 'España',
'ET' => 'Ethiopia',
'FI' => 'Finland',
'FJ' => 'Fiji',
/trunk/api/pear/I18Nv2/Country/cs.php
4,25 → 4,25
*/
$this->codes = array(
'AD' => 'Andorra',
'AE' => 'Spojené arabské emiráty',
'AF' => 'Afghánistán',
'AE' => 'Spojené arabské emiráty',
'AF' => 'Afghánistán',
'AG' => 'Antigua a Barbuda',
'AI' => 'Anguila',
'AL' => 'Albánie',
'AM' => 'Arménie',
'AN' => 'Nizozemské Antily',
'AL' => 'Albánie',
'AM' => 'Arménie',
'AN' => 'Nizozemské Antily',
'AO' => 'Angola',
'AQ' => 'Antarktida',
'AR' => 'Argentina',
'AS' => 'Americká Samoa',
'AS' => 'Americká Samoa',
'AT' => 'Rakousko',
'AU' => 'Austrálie',
'AU' => 'Austrálie',
'AW' => 'Aruba',
'AX' => 'Alandy',
'AZ' => 'Ázerbájdžán',
'AZ' => 'Ázerbájdžán',
'BA' => 'Bosna a Hercegovina',
'BB' => 'Barbados',
'BD' => 'BangladéÅ¡',
'BD' => 'Bangladéš',
'BE' => 'Belgie',
'BF' => 'Burkina Faso',
'BG' => 'Bulharsko',
31,111 → 31,111
'BJ' => 'Benin',
'BM' => 'Bermudy',
'BN' => 'Brunej Darussalam',
'BO' => 'Bolívie',
'BO' => 'Bolívie',
'BQ' => 'British Antarctic Territory',
'BR' => 'Brazílie',
'BR' => 'Brazílie',
'BS' => 'Bahamy',
'BT' => 'Bhútán',
'BT' => 'Bhútán',
'BV' => 'Ostrov Bouvet',
'BW' => 'Botswana',
'BY' => 'Bělorusko',
'BZ' => 'Belize',
'CA' => 'Kanada',
'CC' => 'Kokosové ostrovy',
'CD' => 'Kongo, demokratická republika',
'CF' => 'Středoafrická republika',
'CC' => 'Kokosové ostrovy',
'CD' => 'Kongo, demokratická republika',
'CF' => 'Středoafrická republika',
'CG' => 'Kongo',
'CH' => 'Å výcarsko',
'CI' => 'Pobřeží slonoviny',
'CH' => 'Švýcarsko',
'CI' => 'Pobřeží slonoviny',
'CK' => 'Cookovy ostrovy',
'CL' => 'Chile',
'CM' => 'Kamerun',
'CN' => 'Čína',
'CN' => 'Čína',
'CO' => 'Kolumbie',
'CR' => 'Kostarika',
'CS' => 'Srbsko a Černá Hora',
'CS' => 'Srbsko a Černá Hora',
'CT' => 'Canton and Enderbury Islands',
'CU' => 'Kuba',
'CV' => 'Kapverdy',
'CX' => 'Vánoční ostrovy',
'CX' => 'Vánoční ostrovy',
'CY' => 'Kypr',
'CZ' => 'Česká republika',
'CZ' => 'Česká republika',
'DD' => 'East Germany',
'DE' => 'Německo',
'DJ' => 'Džibuti',
'DK' => 'Dánsko',
'DK' => 'Dánsko',
'DM' => 'Dominika',
'DO' => 'Dominikánská republika',
'DZ' => 'Alžírsko',
'EC' => 'Ekvádor',
'DO' => 'Dominikánská republika',
'DZ' => 'Alžírsko',
'EC' => 'Ekvádor',
'EE' => 'Estonsko',
'EG' => 'Egypt',
'EH' => 'Západní Sahara',
'EH' => 'Západní Sahara',
'ER' => 'Eritrea',
'ES' => 'Španělsko',
'ET' => 'Etiopie',
'FI' => 'Finsko',
'FJ' => 'Fidži',
'FK' => 'Falklandské ostrovy',
'FM' => 'Mikronésie, federativní stát',
'FO' => 'Faerské ostrovy',
'FK' => 'Falklandské ostrovy',
'FM' => 'Mikronésie, federativní stát',
'FO' => 'Faerské ostrovy',
'FQ' => 'French Southern and Antarctic Territories',
'FR' => 'Francie',
'FX' => 'Metropolitan France',
'GA' => 'Gabon',
'GB' => 'Velká Británie',
'GB' => 'Velká Británie',
'GD' => 'Grenada',
'GE' => 'Gruzie',
'GF' => 'Francouzská Guyana',
'GF' => 'Francouzská Guyana',
'GH' => 'Ghana',
'GI' => 'Gibraltar',
'GL' => 'Grónsko',
'GL' => 'Grónsko',
'GM' => 'Gambie',
'GN' => 'Guinea',
'GP' => 'Guadeloupe',
'GQ' => 'Rovníková Guinea',
'GQ' => 'Rovníková Guinea',
'GR' => 'Řecko',
'GS' => 'Jižní Georgie a Jižní Sandwichovy ostrovy',
'GS' => 'Jižní Georgie a Jižní Sandwichovy ostrovy',
'GT' => 'Guatemala',
'GU' => 'Guam',
'GW' => 'Guinea-Bissau',
'GY' => 'Guyana',
'HK' => 'Hongkong, zvláÅ¡tní administrativní oblast Číny',
'HK' => 'Hongkong, zvláštní administrativní oblast Číny',
'HM' => 'Ostrovy Heard a McDonald',
'HN' => 'Honduras',
'HR' => 'Chorvatsko',
'HT' => 'Haiti',
'HU' => 'Maďarsko',
'ID' => 'Indonésie',
'ID' => 'Indonésie',
'IE' => 'Irsko',
'IL' => 'Izrael',
'IN' => 'Indie',
'IO' => 'Britské území v Indickém oceánu',
'IQ' => 'Irák',
'IR' => 'Írán',
'IO' => 'Britské území v Indickém oceánu',
'IQ' => 'Irák',
'IR' => 'Írán',
'IS' => 'Island',
'IT' => 'Itálie',
'IT' => 'Itálie',
'JM' => 'Jamajka',
'JO' => 'Jordánsko',
'JO' => 'Jordánsko',
'JP' => 'Japonsko',
'JT' => 'Johnston Island',
'KE' => 'Keňa',
'KG' => 'Kyrgyzstán',
'KG' => 'Kyrgyzstán',
'KH' => 'Kambodža',
'KI' => 'Kiribati',
'KM' => 'Komory',
'KN' => 'Svatý Kitts a Nevis',
'KP' => 'Severní Korea',
'KR' => 'Jižní Korea',
'KN' => 'Svatý Kitts a Nevis',
'KP' => 'Severní Korea',
'KR' => 'Jižní Korea',
'KW' => 'Kuvajt',
'KY' => 'Kajmanské ostrovy',
'KZ' => 'Kazachstán',
'LA' => 'Lidově demokratická republika Laos',
'KY' => 'Kajmanské ostrovy',
'KZ' => 'Kazachstán',
'LA' => 'Lidově demokratická republika Laos',
'LB' => 'Libanon',
'LC' => 'Svatá Lucie',
'LC' => 'Svatá Lucie',
'LI' => 'Lichtenštejnsko',
'LK' => 'Srí Lanka',
'LR' => 'Libérie',
'LK' => 'Srí Lanka',
'LR' => 'Libérie',
'LS' => 'Lesotho',
'LT' => 'Litva',
'LU' => 'Lucembursko',
152,9 → 152,9
'MM' => 'Myanmar (Burma)',
'MN' => 'Mongolsko',
'MO' => 'Macao S.A.R., China',
'MP' => 'Severní Mariany',
'MP' => 'Severní Mariany',
'MQ' => 'Martinik',
'MR' => 'Mauritánie',
'MR' => 'Mauritánie',
'MS' => 'Montserrat',
'MT' => 'Malta',
'MU' => 'Mauricius',
164,29 → 164,29
'MY' => 'Malajsie',
'MZ' => 'Mosambik',
'NA' => 'Namibie',
'NC' => 'Nová Kaledonie',
'NC' => 'Nová Kaledonie',
'NE' => 'Niger',
'NF' => 'Norfolk',
'NG' => 'Nigérie',
'NG' => 'Nigérie',
'NI' => 'Nikaragua',
'NL' => 'Nizozemsko',
'NO' => 'Norsko',
'NP' => 'Nepál',
'NP' => 'Nepál',
'NQ' => 'Dronning Maud Land',
'NR' => 'Nauru',
'NT' => 'Neutral Zone',
'NU' => 'Niue',
'NZ' => 'Nový Zéland',
'OM' => 'Omán',
'NZ' => 'Nový Zéland',
'OM' => 'Omán',
'PA' => 'Panama',
'PC' => 'Pacific Islands Trust Territory',
'PE' => 'Peru',
'PF' => 'Francouzská Polynésie',
'PG' => 'Papua-Nová Guinea',
'PH' => 'Filipíny',
'PK' => 'Pákistán',
'PF' => 'Francouzská Polynésie',
'PG' => 'Papua-Nová Guinea',
'PH' => 'Filipíny',
'PK' => 'Pákistán',
'PL' => 'Polsko',
'PM' => 'Svatý Pierre a Miquelon',
'PM' => 'Svatý Pierre a Miquelon',
'PN' => 'Pitcairn',
'PR' => 'Portoriko',
'PS' => 'Palestinian Territory',
196,18 → 196,18
'PY' => 'Paraguay',
'PZ' => 'Panama Canal Zone',
'QA' => 'Katar',
'QO' => 'VnějÅ¡í Oceánie',
'RE' => 'Réunion',
'QO' => 'Vnější Oceánie',
'RE' => 'Réunion',
'RO' => 'Rumunsko',
'RU' => 'Rusko',
'RW' => 'Rwanda',
'SA' => 'Saúdská Arábie',
'SA' => 'Saúdská Arábie',
'SB' => 'Šalamounovy ostrovy',
'SC' => 'Seychely',
'SD' => 'Súdán',
'SE' => 'Å védsko',
'SD' => 'Súdán',
'SE' => 'Švédsko',
'SG' => 'Singapur',
'SH' => 'Svatá Helena',
'SH' => 'Svatá Helena',
'SI' => 'Slovinsko',
'SJ' => 'Svalbard a Jan Mayen',
'SK' => 'Slovensko',
214,22 → 214,22
'SL' => 'Sierra Leone',
'SM' => 'San Marino',
'SN' => 'Senegal',
'SO' => 'Somálsko',
'SO' => 'Somálsko',
'SR' => 'Surinam',
'ST' => 'Svatý TomáÅ¡',
'ST' => 'Svatý Tomáš',
'SU' => 'Union of Soviet Socialist Republics',
'SV' => 'El Salvador',
'SY' => 'Sýrie',
'SY' => 'Sýrie',
'SZ' => 'Svazijsko',
'TC' => 'Ostrovy Caicos a Turks',
'TD' => 'Čad',
'TF' => 'Francouzská jižní teritoria',
'TF' => 'Francouzská jižní teritoria',
'TG' => 'Togo',
'TH' => 'Thajsko',
'TJ' => 'Tádžikistán',
'TJ' => 'Tádžikistán',
'TK' => 'Tokelau',
'TL' => 'Východní Timor',
'TM' => 'Turkmenistán',
'TL' => 'Východní Timor',
'TM' => 'Turkmenistán',
'TN' => 'Tunisko',
'TO' => 'Tonga',
'TR' => 'Turecko',
239,16 → 239,16
'TZ' => 'Tanzanie',
'UA' => 'Ukrajina',
'UG' => 'Uganda',
'UM' => 'MenÅ¡í odlehlé ostrovy USA',
'US' => 'Spojené státy',
'UM' => 'Menší odlehlé ostrovy USA',
'US' => 'Spojené státy',
'UY' => 'Uruguay',
'UZ' => 'Uzbekistán',
'VA' => 'Svatý stolec',
'VC' => 'Svatý Vincent a Grenadiny',
'UZ' => 'Uzbekistán',
'VA' => 'Svatý stolec',
'VC' => 'Svatý Vincent a Grenadiny',
'VD' => 'North Vietnam',
'VE' => 'Venezuela',
'VG' => 'Britské Panenské ostrovy',
'VI' => 'Americké Panenské ostrovy',
'VG' => 'Britské Panenské ostrovy',
'VI' => 'Americké Panenské ostrovy',
'VN' => 'Vietnam',
'VU' => 'Vanuatu',
'WF' => 'Wallis a Futuna',
257,7 → 257,7
'YD' => 'People\'s Democratic Republic of Yemen',
'YE' => 'Jemen',
'YT' => 'Mayotte',
'ZA' => 'Jižní Afrika',
'ZA' => 'Jižní Afrika',
'ZM' => 'Zambie',
'ZW' => 'Zimbabwe',
);
/trunk/api/pear/I18Nv2/Country/cy.php
10,7 → 10,7
'AI' => 'Anguilla',
'AL' => 'Albania',
'AM' => 'Armenia',
'AN' => 'Ynysoedd Caribî yr Iseldiroedd',
'AN' => 'Ynysoedd Caribî yr Iseldiroedd',
'AO' => 'Angola',
'AQ' => 'Antarctica',
'AR' => 'Yr Ariannin',
46,7 → 46,7
'CF' => 'Gweriniaeth Canol Affrica',
'CG' => 'Congo',
'CH' => 'Y Swistir',
'CI' => 'Côte d’Ivoire',
'CI' => 'Côte d’Ivoire',
'CK' => 'Ynysoedd Cook',
'CL' => 'Chile',
'CM' => 'Y Camerŵn',
78,7 → 78,7
'FJ' => 'Fiji',
'FK' => 'Ynysoedd y Falkland',
'FM' => 'Micronesia',
'FO' => 'Ynysoedd Ffaröe',
'FO' => 'Ynysoedd Ffaröe',
'FQ' => 'French Southern and Antarctic Territories',
'FR' => 'Ffrainc',
'FX' => 'Metropolitan France',
113,7 → 113,7
'IO' => 'Tiriogaeth Cefnfor India Prydain',
'IQ' => 'Irac',
'IR' => 'Iran',
'IS' => 'Gwlad yr Iâ',
'IS' => 'Gwlad yr Iâ',
'IT' => 'Yr Eidal',
'JM' => 'Jamaica',
'JO' => 'Yr Iorddonen',
197,7 → 197,7
'PZ' => 'Panama Canal Zone',
'QA' => 'Qatar',
'QO' => 'Ynysoedd Pellenig y De',
'RE' => 'Réunion',
'RE' => 'Réunion',
'RO' => 'Rwmania',
'RU' => 'Rwsia',
'RW' => 'Rwanda',
236,10 → 236,10
'TT' => 'Trinidad a Thobago',
'TV' => 'Twfalw',
'TW' => 'Taiwan',
'TZ' => 'Tansanïa',
'UA' => 'Wcráin',
'TZ' => 'Tansanïa',
'UA' => 'Wcráin',
'UG' => 'Uganda',
'UM' => 'Mân Ynysoedd Pellenig yr Unol Daleithiau',
'UM' => 'Mân Ynysoedd Pellenig yr Unol Daleithiau',
'US' => 'Yr Unol Daleithiau',
'UY' => 'Uruguay',
'UZ' => 'Wsbecistan',
/trunk/api/pear/I18Nv2/Country/sk.php
4,25 → 4,25
*/
$this->codes = array(
'AD' => 'Andorra',
'AE' => 'Spojené arabské emiráty',
'AE' => 'Spojené arabské emiráty',
'AF' => 'Afganistan',
'AG' => 'Antigua a Barbados',
'AI' => 'Anguilla',
'AL' => 'Albánsko',
'AM' => 'Arménsko',
'AN' => 'Holandské Antily',
'AL' => 'Albánsko',
'AM' => 'Arménsko',
'AN' => 'Holandské Antily',
'AO' => 'Angola',
'AQ' => 'Antarctica',
'AR' => 'Argentína',
'AS' => 'Americká Samoa',
'AT' => 'Rakúsko',
'AU' => 'Austrália',
'AR' => 'Argentína',
'AS' => 'Americká Samoa',
'AT' => 'Rakúsko',
'AU' => 'Austrália',
'AW' => 'Aruba',
'AX' => 'Alandské ostrovy',
'AX' => 'Alandské ostrovy',
'AZ' => 'Azerbajdžan',
'BA' => 'Bosna a Hercegovina',
'BB' => 'Barbados',
'BD' => 'BangladéÅ¡',
'BD' => 'Bangladéš',
'BE' => 'Belgicko',
'BF' => 'Burkina Faso',
'BG' => 'Bulharsko',
31,19 → 31,19
'BJ' => 'Benin',
'BM' => 'Bermudy',
'BN' => 'Brunej',
'BO' => 'Bolívia',
'BO' => 'Bolívia',
'BQ' => 'British Antarctic Territory',
'BR' => 'Brazília',
'BR' => 'Brazília',
'BS' => 'Bahamy',
'BT' => 'Bután',
'BT' => 'Bután',
'BV' => 'Bouvetov ostrov',
'BW' => 'Botswana',
'BY' => 'Bielorusko',
'BZ' => 'Belize',
'CA' => 'Kanada',
'CC' => 'Kokosové (Keelingove) ostrovy',
'CD' => 'Konžská demokratická republika',
'CF' => 'Stredoafrická republika',
'CC' => 'Kokosové (Keelingove) ostrovy',
'CD' => 'Konžská demokratická republika',
'CF' => 'Stredoafrická republika',
'CG' => 'Kongo',
'CH' => 'Švajčiarsko',
'CI' => 'Pobrežie Slonoviny',
50,7 → 50,7
'CK' => 'Cookove ostrovy',
'CL' => 'Čile',
'CM' => 'Kamerun',
'CN' => 'Čína',
'CN' => 'Čína',
'CO' => 'Kolumbia',
'CR' => 'Kostarika',
'CS' => 'Srbsko a Čierna Hora',
57,66 → 57,66
'CT' => 'Canton and Enderbury Islands',
'CU' => 'Kuba',
'CV' => 'Kapverdy',
'CX' => 'Vianočný ostrov',
'CX' => 'Vianočný ostrov',
'CY' => 'Cyprus',
'CZ' => 'Česká republika',
'CZ' => 'Česká republika',
'DD' => 'East Germany',
'DE' => 'Nemecko',
'DJ' => 'Džibuti',
'DK' => 'Dánsko',
'DK' => 'Dánsko',
'DM' => 'Dominika',
'DO' => 'Dominikánska republika',
'DZ' => 'Alžírsko',
'EC' => 'Ekvádor',
'EE' => 'Estónsko',
'DO' => 'Dominikánska republika',
'DZ' => 'Alžírsko',
'EC' => 'Ekvádor',
'EE' => 'Estónsko',
'EG' => 'Egypt',
'EH' => 'Západná Sahara',
'EH' => 'Západná Sahara',
'ER' => 'Eritrea',
'ES' => 'Španielsko',
'ET' => 'Etiópia',
'FI' => 'Fínsko',
'ET' => 'Etiópia',
'FI' => 'Fínsko',
'FJ' => 'Fidži',
'FK' => 'Falklandské ostrovy',
'FM' => 'Mikronézia, Federatívne Å¡táty',
'FO' => 'Faerské ostrovy',
'FK' => 'Falklandské ostrovy',
'FM' => 'Mikronézia, Federatívne štáty',
'FO' => 'Faerské ostrovy',
'FQ' => 'French Southern and Antarctic Territories',
'FR' => 'Francúzsko',
'FR' => 'Francúzsko',
'FX' => 'Metropolitan France',
'GA' => 'Gabon',
'GB' => 'Spojené kráľovstvo',
'GB' => 'Spojené kráľovstvo',
'GD' => 'Grenada',
'GE' => 'Gruzínsko',
'GF' => 'Francúzska Guayana',
'GE' => 'Gruzínsko',
'GF' => 'Francúzska Guayana',
'GH' => 'Ghana',
'GI' => 'Gibraltár',
'GL' => 'Grónsko',
'GI' => 'Gibraltár',
'GL' => 'Grónsko',
'GM' => 'Gambia',
'GN' => 'Guinea',
'GP' => 'Guadeloupe',
'GQ' => 'Rovníková Guinea',
'GR' => 'Grécko',
'GS' => 'Južná Georgia a Južné Sandwichove ostrovy',
'GQ' => 'Rovníková Guinea',
'GR' => 'Grécko',
'GS' => 'Južná Georgia a Južné Sandwichove ostrovy',
'GT' => 'Guatemala',
'GU' => 'Guam',
'GW' => 'Guinea-Bissau',
'GY' => 'Guayana',
'HK' => 'Hong Kong S.A.R. Číny',
'HK' => 'Hong Kong S.A.R. Číny',
'HM' => 'Heardove ostrovy a McDonaldove ostrovy',
'HN' => 'Honduras',
'HR' => 'Chorvátsko',
'HR' => 'Chorvátsko',
'HT' => 'Haiti',
'HU' => 'Maďarsko',
'ID' => 'Indonézia',
'IE' => 'Írsko',
'ID' => 'Indonézia',
'IE' => 'Írsko',
'IL' => 'Izrael',
'IN' => 'India',
'IO' => 'Britské územie v Indickom oceáne',
'IO' => 'Britské územie v Indickom oceáne',
'IQ' => 'Irak',
'IR' => 'Irán',
'IR' => 'Irán',
'IS' => 'Island',
'IT' => 'Taliansko',
'JM' => 'Jamajka',
'JO' => 'Jordánsko',
'JO' => 'Jordánsko',
'JP' => 'Japonsko',
'JT' => 'Johnston Island',
'KE' => 'Keňa',
125,22 → 125,22
'KI' => 'Kiribati',
'KM' => 'Komory',
'KN' => 'Saint Kitts a Nevis',
'KP' => 'Kórea, Severná',
'KR' => 'Kórea, Južná',
'KP' => 'Kórea, Severná',
'KR' => 'Kórea, Južná',
'KW' => 'Kuvajt',
'KY' => 'Kajmanské ostrovy',
'KY' => 'Kajmanské ostrovy',
'KZ' => 'Kazachstan',
'LA' => 'Laoská ľudovodemokratická republika',
'LA' => 'Laoská ľudovodemokratická republika',
'LB' => 'Libanon',
'LC' => 'Svätá Lucia',
'LC' => 'Svätá Lucia',
'LI' => 'Lichtenštajnsko',
'LK' => 'Srí Lanka',
'LR' => 'Libéria',
'LK' => 'Srí Lanka',
'LR' => 'Libéria',
'LS' => 'Lesotho',
'LT' => 'Litva',
'LU' => 'Luxembursko',
'LV' => 'Lotyšsko',
'LY' => 'Lýbijská arabská džamahírija',
'LY' => 'Lýbijská arabská džamahírija',
'MA' => 'Maroko',
'MC' => 'Monako',
'MD' => 'Moldavsko, republika',
147,49 → 147,49
'MG' => 'Madagaskar',
'MH' => 'Marshallove ostrovy',
'MI' => 'Midway Islands',
'MK' => 'Macedónsko, republika',
'MK' => 'Macedónsko, republika',
'ML' => 'Mali',
'MM' => 'Mjanmarsko',
'MN' => 'Mongolsko',
'MO' => 'Makao S.A.R. Číny',
'MP' => 'Severné Mariány',
'MO' => 'Makao S.A.R. Číny',
'MP' => 'Severné Mariány',
'MQ' => 'Martinik',
'MR' => 'Mauritánia',
'MR' => 'Mauritánia',
'MS' => 'Montserrat',
'MT' => 'Malta',
'MU' => 'Maurícius',
'MU' => 'Maurícius',
'MV' => 'Maldivy',
'MW' => 'Malawi',
'MX' => 'Mexiko',
'MY' => 'Malajzia',
'MZ' => 'Mozambik',
'NA' => 'Namíbia',
'NC' => 'Nová Kaledónia',
'NA' => 'Namíbia',
'NC' => 'Nová Kaledónia',
'NE' => 'Niger',
'NF' => 'Norfolkov ostrov',
'NG' => 'Nigéria',
'NG' => 'Nigéria',
'NI' => 'Nikaragua',
'NL' => 'Holandsko',
'NO' => 'Nórsko',
'NP' => 'Nepál',
'NO' => 'Nórsko',
'NP' => 'Nepál',
'NQ' => 'Dronning Maud Land',
'NR' => 'Nauru',
'NT' => 'Neutral Zone',
'NU' => 'Niue',
'NZ' => 'Nový Zéland',
'OM' => 'Omán',
'NZ' => 'Nový Zéland',
'OM' => 'Omán',
'PA' => 'Panama',
'PC' => 'Pacific Islands Trust Territory',
'PE' => 'Peru',
'PF' => 'Francúzska Polynézia',
'PG' => 'Papua Nová Guinea',
'PH' => 'Filipíny',
'PF' => 'Francúzska Polynézia',
'PG' => 'Papua Nová Guinea',
'PH' => 'Filipíny',
'PK' => 'Pakistan',
'PL' => 'Poľsko',
'PM' => 'Saint Pierre a Miquelon',
'PN' => 'Pitcairnove ostrovy',
'PR' => 'Portoriko',
'PS' => 'Palestínske územie',
'PS' => 'Palestínske územie',
'PT' => 'Portugalsko',
'PU' => 'U.S. Miscellaneous Pacific Islands',
'PW' => 'Palau',
196,40 → 196,40
'PY' => 'Paraguaj',
'PZ' => 'Panama Canal Zone',
'QA' => 'Katar',
'QO' => 'Tichomorie - ostatné',
'QO' => 'Tichomorie - ostatné',
'RE' => 'Reunion',
'RO' => 'Rumunsko',
'RU' => 'Ruská federácia',
'RU' => 'Ruská federácia',
'RW' => 'Rwanda',
'SA' => 'Saudská Arábia',
'SB' => 'Å alamúnove ostrovy',
'SC' => 'Seychelské ostrovy',
'SD' => 'Sudán',
'SE' => 'Å védsko',
'SA' => 'Saudská Arábia',
'SB' => 'Šalamúnove ostrovy',
'SC' => 'Seychelské ostrovy',
'SD' => 'Sudán',
'SE' => 'Švédsko',
'SG' => 'Singapur',
'SH' => 'Svätá Helena',
'SH' => 'Svätá Helena',
'SI' => 'Slovinsko',
'SJ' => 'Špicbergy a Jan Mayen',
'SK' => 'Slovenská republika',
'SK' => 'Slovenská republika',
'SL' => 'Sierra Leone',
'SM' => 'San Maríno',
'SM' => 'San Maríno',
'SN' => 'Senegal',
'SO' => 'Somálsko',
'SO' => 'Somálsko',
'SR' => 'Surinam',
'ST' => 'Svätý Tomá¨a Princove ostrovy',
'ST' => 'Svätý Tomáš a Princove ostrovy',
'SU' => 'Union of Soviet Socialist Republics',
'SV' => 'Salvador',
'SY' => 'Sýrska arabská republika',
'SY' => 'Sýrska arabská republika',
'SZ' => 'Svazijsko',
'TC' => 'Turks a Caicos',
'TD' => 'Čad',
'TF' => 'Francúzske južné územia',
'TF' => 'Francúzske južné územia',
'TG' => 'Togo',
'TH' => 'Thajsko',
'TJ' => 'Tadžikistan',
'TK' => 'Tokelau',
'TL' => 'Východný Timor',
'TM' => 'Turkménsko',
'TL' => 'Východný Timor',
'TM' => 'Turkménsko',
'TN' => 'Tunisko',
'TO' => 'Tonga',
'TR' => 'Turecko',
236,19 → 236,19
'TT' => 'Trinidad a Tobago',
'TV' => 'Tuvalu',
'TW' => 'Tajwan',
'TZ' => 'Tanzánia',
'TZ' => 'Tanzánia',
'UA' => 'Ukrajina',
'UG' => 'Uganda',
'UM' => 'MenÅ¡ie odľahlé ostrovy USA',
'US' => 'Spojené Å¡táty',
'UM' => 'Menšie odľahlé ostrovy USA',
'US' => 'Spojené štáty',
'UY' => 'Uruguaj',
'UZ' => 'Uzbekistan',
'VA' => 'Svätá stolica (Vatikánsky mestský Å¡tát)',
'VC' => 'Svätý Vincent a Grenadíny',
'VA' => 'Svätá stolica (Vatikánsky mestský štát)',
'VC' => 'Svätý Vincent a Grenadíny',
'VD' => 'North Vietnam',
'VE' => 'Venezuela',
'VG' => 'Britské panenské ostrovy',
'VI' => 'Panenské ostrovy - USA',
'VG' => 'Britské panenské ostrovy',
'VI' => 'Panenské ostrovy - USA',
'VN' => 'Vietnam',
'VU' => 'Vanuatu',
'WF' => 'Wallis a Futuna',
257,7 → 257,7
'YD' => 'People\'s Democratic Republic of Yemen',
'YE' => 'Jemen',
'YT' => 'Mayotte',
'ZA' => 'Južná Afrika',
'ZA' => 'Južná Afrika',
'ZM' => 'Zambia',
'ZW' => 'Zimbabwe',
);
/trunk/api/pear/I18Nv2/Country/sq.php
3,17 → 3,17
* $Id: sq.php,v 1.1 2007-06-25 09:55:27 alexandre_tb Exp $
*/
$this->codes = array(
'AD' => 'Andorrë',
'AD' => 'Andorrë',
'AE' => 'Emiratet Arabe te Bashkuara',
'AF' => 'Afganistan',
'AG' => 'Antigua e Barbuda',
'AI' => 'Anguilla',
'AL' => 'Shqipëria',
'AL' => 'Shqipëria',
'AM' => 'Armeni',
'AN' => 'Netherlands Antilles',
'AO' => 'Angolë',
'AO' => 'Angolë',
'AQ' => 'Antarctica',
'AR' => 'Argjentinë',
'AR' => 'Argjentinë',
'AS' => 'American Samoa',
'AT' => 'Austri',
'AU' => 'Australi',
23,7 → 23,7
'BA' => 'Bosnja dhe Hercegovina',
'BB' => 'Barbados',
'BD' => 'Bangladesh',
'BE' => 'Belgjikë',
'BE' => 'Belgjikë',
'BF' => 'Burkina Faso',
'BG' => 'Bullgari',
'BH' => 'Bahrein',
43,51 → 43,51
'CA' => 'Kanada',
'CC' => 'Cocos (Keeling) Islands',
'CD' => 'Congo (Kinshasa)',
'CF' => 'Republika Qendrore e Afrikës',
'CF' => 'Republika Qendrore e Afrikës',
'CG' => 'Kongo',
'CH' => 'Zvicër',
'CI' => 'Bregu i Fildishtë',
'CH' => 'Zvicër',
'CI' => 'Bregu i Fildishtë',
'CK' => 'Cook Islands',
'CL' => 'Kili',
'CM' => 'Kamerun',
'CN' => 'Kinë',
'CN' => 'Kinë',
'CO' => 'Kolumbi',
'CR' => 'Kosta Rika',
'CS' => 'Serbië en Montenegro',
'CS' => 'Serbië en Montenegro',
'CT' => 'Canton and Enderbury Islands',
'CU' => 'Kubë',
'CU' => 'Kubë',
'CV' => 'Kap Verde',
'CX' => 'Christmas Island',
'CY' => 'Qipro',
'CZ' => 'Republika e Çekisë',
'CZ' => 'Republika e Çekisë',
'DD' => 'East Germany',
'DE' => 'Gjermani',
'DJ' => 'Xhibuti',
'DK' => 'Danimarkë',
'DM' => 'Dominikë',
'DO' => 'Republika Dominikanë',
'DK' => 'Danimarkë',
'DM' => 'Dominikë',
'DO' => 'Republika Dominikanë',
'DZ' => 'Algjeri',
'EC' => 'Ekuator',
'EE' => 'Estoni',
'EG' => 'Egjipt',
'EH' => 'Saharaja Perëndimore',
'EH' => 'Saharaja Perëndimore',
'ER' => 'Eritre',
'ES' => 'Spanjë',
'ES' => 'Spanjë',
'ET' => 'Etiopi',
'FI' => 'Finlandë',
'FI' => 'Finlandë',
'FJ' => 'Fixhi',
'FK' => 'Falkland Islands',
'FM' => 'Mikronezi',
'FO' => 'Faroe Islands',
'FQ' => 'French Southern and Antarctic Territories',
'FR' => 'Francë',
'FR' => 'Francë',
'FX' => 'Metropolitan France',
'GA' => 'Gjabon',
'GB' => 'Mbretëria e Bashkuar',
'GB' => 'Mbretëria e Bashkuar',
'GD' => 'Grenada',
'GE' => 'Gjeorgji',
'GF' => 'French Guiana',
'GH' => 'Ganë',
'GH' => 'Ganë',
'GI' => 'Gibraltar',
'GL' => 'Greenland',
'GM' => 'Gambi',
96,7 → 96,7
'GQ' => 'Guineja Ekuatoriale',
'GR' => 'Greqi',
'GS' => 'South Georgia and the South Sandwich Islands',
'GT' => 'Guatemalë',
'GT' => 'Guatemalë',
'GU' => 'Guam',
'GW' => 'Guine Bisau',
'GY' => 'Guajana',
107,15 → 107,15
'HT' => 'Haiti',
'HU' => 'Hungari',
'ID' => 'Indonezi',
'IE' => 'Irlandë',
'IE' => 'Irlandë',
'IL' => 'Izrael',
'IN' => 'Indi',
'IO' => 'British Indian Ocean Territory',
'IQ' => 'Irak',
'IR' => 'Iran',
'IS' => 'Islandë',
'IS' => 'Islandë',
'IT' => 'Itali',
'JM' => 'Xhamajkë',
'JM' => 'Xhamajkë',
'JO' => 'Jordani',
'JP' => 'Japoni',
'JT' => 'Johnston Island',
133,7 → 133,7
'LA' => 'Laos',
'LB' => 'Liban',
'LC' => 'Saint Lucia',
'LI' => 'Lihtënshtajn',
'LI' => 'Lihtënshtajn',
'LK' => 'Sri Lanka',
'LR' => 'Liberi',
'LS' => 'Lesoto',
156,11 → 156,11
'MQ' => 'Martinique',
'MR' => 'Mauritani',
'MS' => 'Montserrat',
'MT' => 'Maltë',
'MT' => 'Maltë',
'MU' => 'Mauritius',
'MV' => 'Maldivit',
'MW' => 'Malavi',
'MX' => 'Meksikë',
'MX' => 'Meksikë',
'MY' => 'Malajzi',
'MZ' => 'Mozambik',
'NA' => 'Namibi',
169,7 → 169,7
'NF' => 'Norfolk Island',
'NG' => 'Nigeri',
'NI' => 'Nikaragua',
'NL' => 'Vendet e Ulëta',
'NL' => 'Vendet e Ulëta',
'NO' => 'Norvegji',
'NP' => 'Nepal',
'NQ' => 'Dronning Maud Land',
220,12 → 220,12
'SU' => 'Union of Soviet Socialist Republics',
'SV' => 'El Salvador',
'SY' => 'Siri',
'SZ' => 'Svazilandë',
'SZ' => 'Svazilandë',
'TC' => 'Turks and Caicos Islands',
'TD' => 'Çad',
'TD' => 'Çad',
'TF' => 'French Southern Territories',
'TG' => 'Togo',
'TH' => 'Tajlandë',
'TH' => 'Tajlandë',
'TJ' => 'Taxhikistan',
'TK' => 'Tokelau',
'TL' => 'East Timor',
237,16 → 237,16
'TV' => 'Tuvalu',
'TW' => 'Tajvan',
'TZ' => 'Tanzani',
'UA' => 'Ukrainë',
'UA' => 'Ukrainë',
'UG' => 'Uganda',
'UM' => 'United States Minor Outlying Islands',
'US' => 'Shtetet e Bashkuara të Amerikës',
'US' => 'Shtetet e Bashkuara të Amerikës',
'UY' => 'Uruguaj',
'UZ' => 'Uzbekistan',
'VA' => 'Vatikan',
'VC' => 'Saint Vincent e Grenadinet',
'VD' => 'North Vietnam',
'VE' => 'Venezuelë',
'VE' => 'Venezuelë',
'VG' => 'British Virgin Islands',
'VI' => 'U.S. Virgin Islands',
'VN' => 'Vietnam',
/trunk/api/pear/I18Nv2/Country/da.php
15,7 → 15,7
'AQ' => 'Antarktis',
'AR' => 'Argentina',
'AS' => 'Amerikansk Samoa',
'AT' => 'Østrig',
'AT' => 'Østrig',
'AU' => 'Australien',
'AW' => 'Aruba',
'AX' => 'Aland Islands',
36,18 → 36,18
'BR' => 'Brasilien',
'BS' => 'Bahamas',
'BT' => 'Bhutan',
'BV' => 'Bouvetø',
'BV' => 'Bouvetø',
'BW' => 'Botswana',
'BY' => 'Hviderusland',
'BZ' => 'Belize',
'CA' => 'Canada',
'CC' => 'Cocos-øerne (Keelingøerne)',
'CC' => 'Cocos-øerne (Keelingøerne)',
'CD' => 'Den Demokratiske Republik Congo',
'CF' => 'Centralafrikanske Republik',
'CG' => 'Congo',
'CH' => 'Schweiz',
'CI' => 'Elfenbenskysten',
'CK' => 'Cook-øerne',
'CK' => 'Cook-øerne',
'CL' => 'Chile',
'CM' => 'Cameroun',
'CN' => 'Kina',
57,7 → 57,7
'CT' => 'Canton and Enderbury Islands',
'CU' => 'Cuba',
'CV' => 'Kap Verde',
'CX' => 'Juleøen',
'CX' => 'Juleøen',
'CY' => 'Cypern',
'CZ' => 'Tjekkiet',
'DD' => 'East Germany',
75,10 → 75,10
'ES' => 'Spanien',
'ET' => 'Etiopien',
'FI' => 'Finland',
'FJ' => 'Fiji-øerne',
'FK' => 'Falklandsøerne',
'FJ' => 'Fiji-øerne',
'FK' => 'Falklandsøerne',
'FM' => 'Mikronesiens Forenede Stater',
'FO' => 'Færøerne',
'FO' => 'Færøerne',
'FQ' => 'French Southern and Antarctic Territories',
'FR' => 'Frankrig',
'FX' => 'Metropolitan France',
89,19 → 89,19
'GF' => 'Fransk Guyana',
'GH' => 'Ghana',
'GI' => 'Gibraltar',
'GL' => 'Grønland',
'GL' => 'Grønland',
'GM' => 'Gambia',
'GN' => 'Guinea',
'GP' => 'Guadeloupe',
'GQ' => 'Ækvatorialguinea',
'GR' => 'Grækenland',
'GS' => 'South Georgia og De Sydlige Sandwichøer',
'GQ' => 'Ækvatorialguinea',
'GR' => 'Grækenland',
'GS' => 'South Georgia og De Sydlige Sandwichøer',
'GT' => 'Guatemala',
'GU' => 'Guam',
'GW' => 'Guinea-Bissau',
'GY' => 'Guyana',
'HK' => 'SAR Hongkong',
'HM' => 'Heard- og McDonald-øerne',
'HM' => 'Heard- og McDonald-øerne',
'HN' => 'Honduras',
'HR' => 'Kroatien',
'HT' => 'Haiti',
128,7 → 128,7
'KP' => 'Nordkorea',
'KR' => 'Sydkorea',
'KW' => 'Kuwait',
'KY' => 'Caymanøerne',
'KY' => 'Caymanøerne',
'KZ' => 'Kasakhstan',
'LA' => 'Laos',
'LB' => 'Libanon',
145,7 → 145,7
'MC' => 'Monaco',
'MD' => 'Republikken Moldova',
'MG' => 'Madagaskar',
'MH' => 'Marshalløerne',
'MH' => 'Marshalløerne',
'MI' => 'Midway Islands',
'MK' => 'Republikken Makedonien',
'ML' => 'Mali',
189,7 → 189,7
'PM' => 'Saint Pierre og Miquelon',
'PN' => 'Pitcairn',
'PR' => 'Puerto Rico',
'PS' => 'De palæstinensiske områder',
'PS' => 'De palæstinensiske områder',
'PT' => 'Portugal',
'PU' => 'U.S. Miscellaneous Pacific Islands',
'PW' => 'Palau',
198,11 → 198,11
'QA' => 'Qatar',
'QO' => 'Outlying Oceania',
'RE' => 'Reunion',
'RO' => 'Rumænien',
'RO' => 'Rumænien',
'RU' => 'Rusland',
'RW' => 'Rwanda',
'SA' => 'Saudi-Arabien',
'SB' => 'Salomonøerne',
'SB' => 'Salomonøerne',
'SC' => 'Seychellerne',
'SD' => 'Sudan',
'SE' => 'Sverige',
216,12 → 216,12
'SN' => 'Senegal',
'SO' => 'Somalia',
'SR' => 'Surinam',
'ST' => 'São Tomé og Príncipe',
'ST' => 'São Tomé og Príncipe',
'SU' => 'Union of Soviet Socialist Republics',
'SV' => 'El Salvador',
'SY' => 'Syrien',
'SZ' => 'Swaziland',
'TC' => 'Turks- og Caicosøerne',
'TC' => 'Turks- og Caicosøerne',
'TD' => 'Tchad',
'TF' => 'Franske Besiddelser i Det Sydlige Indiske Ocean',
'TG' => 'Togo',
239,7 → 239,7
'TZ' => 'Tanzania',
'UA' => 'Ukraine',
'UG' => 'Uganda',
'UM' => 'De Mindre Amerikanske Oversøiske Øer',
'UM' => 'De Mindre Amerikanske Oversøiske Øer',
'US' => 'USA',
'UY' => 'Uruguay',
'UZ' => 'Usbekistan',
247,11 → 247,11
'VC' => 'St. Vincent og Grenadinerne',
'VD' => 'North Vietnam',
'VE' => 'Venezuela',
'VG' => 'De britiske jomfruøer',
'VI' => 'De amerikanske jomfruøer',
'VG' => 'De britiske jomfruøer',
'VI' => 'De amerikanske jomfruøer',
'VN' => 'Vietnam',
'VU' => 'Vanuatu',
'WF' => 'Wallis og Futunaøerne',
'WF' => 'Wallis og Futunaøerne',
'WK' => 'Wake Island',
'WS' => 'Samoa',
'YD' => 'People\'s Democratic Republic of Yemen',
/trunk/api/pear/I18Nv2/Country/de.php
10,12 → 10,12
'AI' => 'Anguilla',
'AL' => 'Albanien',
'AM' => 'Armenien',
'AN' => 'Niederländische Antillen',
'AN' => 'Niederländische Antillen',
'AO' => 'Angola',
'AQ' => 'Antarktis',
'AR' => 'Argentinien',
'AS' => 'Amerikanisch-Samoa',
'AT' => 'Österreich',
'AT' => 'Österreich',
'AU' => 'Australien',
'AW' => 'Aruba',
'AX' => 'Alandinseln',
46,7 → 46,7
'CF' => 'Zentralafrikanische Republik',
'CG' => 'Kongo',
'CH' => 'Schweiz',
'CI' => 'Côte d’Ivoire',
'CI' => 'Côte d’Ivoire',
'CK' => 'Cookinseln',
'CL' => 'Chile',
'CM' => 'Kamerun',
63,39 → 63,39
'DD' => 'East Germany',
'DE' => 'Deutschland',
'DJ' => 'Dschibuti',
'DK' => 'Dänemark',
'DK' => 'Dänemark',
'DM' => 'Dominica',
'DO' => 'Dominikanische Republik',
'DZ' => 'Algerien',
'EC' => 'Ecuador',
'EE' => 'Estland',
'EG' => 'Ägypten',
'EG' => 'Ägypten',
'EH' => 'Westsahara',
'ER' => 'Eritrea',
'ES' => 'Spanien',
'ET' => 'Äthiopien',
'ET' => 'Äthiopien',
'FI' => 'Finnland',
'FJ' => 'Fidschi',
'FK' => 'Falklandinseln',
'FM' => 'Mikronesien',
'FO' => 'Färöer',
'FO' => 'Färöer',
'FQ' => 'French Southern and Antarctic Territories',
'FR' => 'Frankreich',
'FX' => 'Metropolitan France',
'GA' => 'Gabun',
'GB' => 'Vereinigtes Königreich',
'GB' => 'Vereinigtes Königreich',
'GD' => 'Grenada',
'GE' => 'Georgien',
'GF' => 'Französisch-Guayana',
'GF' => 'Französisch-Guayana',
'GH' => 'Ghana',
'GI' => 'Gibraltar',
'GL' => 'Grönland',
'GL' => 'Grönland',
'GM' => 'Gambia',
'GN' => 'Guinea',
'GP' => 'Guadeloupe',
'GQ' => 'Äquatorialguinea',
'GQ' => 'Äquatorialguinea',
'GR' => 'Griechenland',
'GS' => 'Südgeorgien und die Südlichen Sandwichinseln',
'GS' => 'Südgeorgien und die Südlichen Sandwichinseln',
'GT' => 'Guatemala',
'GU' => 'Guam',
'GW' => 'Guinea-Bissau',
152,7 → 152,7
'MM' => 'Myanmar',
'MN' => 'Mongolei',
'MO' => 'Macau S.A.R., China',
'MP' => 'Nördliche Marianen',
'MP' => 'Nördliche Marianen',
'MQ' => 'Martinique',
'MR' => 'Mauretanien',
'MS' => 'Montserrat',
181,7 → 181,7
'PA' => 'Panama',
'PC' => 'Pacific Islands Trust Territory',
'PE' => 'Peru',
'PF' => 'Französisch-Polynesien',
'PF' => 'Französisch-Polynesien',
'PG' => 'Papua-Neuguinea',
'PH' => 'Philippinen',
'PK' => 'Pakistan',
189,7 → 189,7
'PM' => 'St. Pierre und Miquelon',
'PN' => 'Pitcairn',
'PR' => 'Puerto Rico',
'PS' => 'Palästinensische Gebiete',
'PS' => 'Palästinensische Gebiete',
'PT' => 'Portugal',
'PU' => 'U.S. Miscellaneous Pacific Islands',
'PW' => 'Palau',
196,10 → 196,10
'PY' => 'Paraguay',
'PZ' => 'Panama Canal Zone',
'QA' => 'Katar',
'QO' => 'Äußeres Ozeanien',
'RE' => 'Réunion',
'RO' => 'Rumänien',
'RU' => 'Russische Föderation',
'QO' => 'Äußeres Ozeanien',
'RE' => 'Réunion',
'RO' => 'Rumänien',
'RU' => 'Russische Föderation',
'RW' => 'Ruanda',
'SA' => 'Saudi-Arabien',
'SB' => 'Salomonen',
216,7 → 216,7
'SN' => 'Senegal',
'SO' => 'Somalia',
'SR' => 'Suriname',
'ST' => 'São Tomé und Príncipe',
'ST' => 'São Tomé und Príncipe',
'SU' => 'Union of Soviet Socialist Republics',
'SV' => 'El Salvador',
'SY' => 'Syrien',
223,7 → 223,7
'SZ' => 'Swasiland',
'TC' => 'Turks- und Caicosinseln',
'TD' => 'Tschad',
'TF' => 'Französische Süd- und Antarktisgebiete',
'TF' => 'Französische Süd- und Antarktisgebiete',
'TG' => 'Togo',
'TH' => 'Thailand',
'TJ' => 'Tadschikistan',
232,7 → 232,7
'TM' => 'Turkmenistan',
'TN' => 'Tunesien',
'TO' => 'Tonga',
'TR' => 'Türkei',
'TR' => 'Türkei',
'TT' => 'Trinidad und Tobago',
'TV' => 'Tuvalu',
'TW' => 'Taiwan',
257,7 → 257,7
'YD' => 'People\'s Democratic Republic of Yemen',
'YE' => 'Jemen',
'YT' => 'Mayotte',
'ZA' => 'Südafrika',
'ZA' => 'Südafrika',
'ZM' => 'Sambia',
'ZW' => 'Simbabwe',
);
/trunk/api/pear/I18Nv2/Country/sv.php
4,21 → 4,21
*/
$this->codes = array(
'AD' => 'Andorra',
'AE' => 'Förenade Arabemiraten',
'AE' => 'Förenade Arabemiraten',
'AF' => 'Afghanistan',
'AG' => 'Antigua och Barbuda',
'AI' => 'Anguilla',
'AL' => 'Albanien',
'AM' => 'Armenien',
'AN' => 'Nederländska Antillerna',
'AN' => 'Nederländska Antillerna',
'AO' => 'Angola',
'AQ' => 'Antarktis',
'AR' => 'Argentina',
'AS' => 'Amerikanska Samoa',
'AT' => 'Österrike',
'AT' => 'Österrike',
'AU' => 'Australien',
'AW' => 'Aruba',
'AX' => 'Åland',
'AX' => 'Åland',
'AZ' => 'Azerbajdzjan',
'BA' => 'Bosnien och Hercegovina',
'BB' => 'Barbados',
36,18 → 36,18
'BR' => 'Brasilien',
'BS' => 'Bahamas',
'BT' => 'Bhutan',
'BV' => 'Bouvetön',
'BV' => 'Bouvetön',
'BW' => 'Botswana',
'BY' => 'Vitryssland',
'BZ' => 'Belize',
'CA' => 'Kanada',
'CC' => 'Kokosöarna (Keelingöarna)',
'CC' => 'Kokosöarna (Keelingöarna)',
'CD' => 'Demokratiska republiken Kongo',
'CF' => 'Centralafrikanska republiken',
'CG' => 'Kongo',
'CH' => 'Schweiz',
'CI' => 'Elfenbenskusten',
'CK' => 'Cooköarna',
'CK' => 'Cooköarna',
'CL' => 'Chile',
'CM' => 'Kamerun',
'CN' => 'Kina',
57,7 → 57,7
'CT' => 'Canton and Enderbury Islands',
'CU' => 'Kuba',
'CV' => 'Kap Verde',
'CX' => 'Julön',
'CX' => 'Julön',
'CY' => 'Cypern',
'CZ' => 'Tjeckien',
'DD' => 'East Germany',
70,15 → 70,15
'EC' => 'Ecuador',
'EE' => 'Estland',
'EG' => 'Egypten',
'EH' => 'Västra Sahara',
'EH' => 'Västra Sahara',
'ER' => 'Eritrea',
'ES' => 'Spanien',
'ET' => 'Etiopien',
'FI' => 'Finland',
'FJ' => 'Fiji',
'FK' => 'Falklandsöarna',
'FK' => 'Falklandsöarna',
'FM' => 'Mikronesien',
'FO' => 'Färöarna',
'FO' => 'Färöarna',
'FQ' => 'French Southern and Antarctic Territories',
'FR' => 'Frankrike',
'FX' => 'Metropolitan France',
89,19 → 89,19
'GF' => 'Franska Guyana',
'GH' => 'Ghana',
'GI' => 'Gibraltar',
'GL' => 'Grönland',
'GL' => 'Grönland',
'GM' => 'Gambia',
'GN' => 'Guinea',
'GP' => 'Guadeloupe',
'GQ' => 'Ekvatorialguinea',
'GR' => 'Grekland',
'GS' => 'Sydgeorgien och Södra Sandwichöarna',
'GS' => 'Sydgeorgien och Södra Sandwichöarna',
'GT' => 'Guatemala',
'GU' => 'Guam',
'GW' => 'Guinea-Bissau',
'GY' => 'Guyana',
'HK' => 'Hongkong (S.A.R. Kina)',
'HM' => 'Heard- och McDonaldöarna',
'HM' => 'Heard- och McDonaldöarna',
'HN' => 'Honduras',
'HR' => 'Kroatien',
'HT' => 'Haiti',
110,7 → 110,7
'IE' => 'Irland',
'IL' => 'Israel',
'IN' => 'Indien',
'IO' => 'Brittiska Indiska oceanöarna',
'IO' => 'Brittiska Indiska oceanöarna',
'IQ' => 'Irak',
'IR' => 'Iran',
'IS' => 'Island',
128,7 → 128,7
'KP' => 'Nordkorea',
'KR' => 'Sydkorea',
'KW' => 'Kuwait',
'KY' => 'Caymanöarna',
'KY' => 'Caymanöarna',
'KZ' => 'Kazakstan',
'LA' => 'Laos',
'LB' => 'Libanon',
145,7 → 145,7
'MC' => 'Monaco',
'MD' => 'Moldavien',
'MG' => 'Madagaskar',
'MH' => 'Marshallöarna',
'MH' => 'Marshallöarna',
'MI' => 'Midway Islands',
'MK' => 'Makedonien',
'ML' => 'Mali',
162,14 → 162,14
'MW' => 'Malawi',
'MX' => 'Mexiko',
'MY' => 'Malaysia',
'MZ' => 'Moçambique',
'MZ' => 'Moçambique',
'NA' => 'Namibia',
'NC' => 'Nya Kaledonien',
'NE' => 'Niger',
'NF' => 'Norfolkön',
'NF' => 'Norfolkön',
'NG' => 'Nigeria',
'NI' => 'Nicaragua',
'NL' => 'Nederländerna',
'NL' => 'Nederländerna',
'NO' => 'Norge',
'NP' => 'Nepal',
'NQ' => 'Dronning Maud Land',
196,13 → 196,13
'PY' => 'Paraguay',
'PZ' => 'Panama Canal Zone',
'QA' => 'Qatar',
'QO' => 'Yttre öar i Oceanien',
'RE' => 'Réunion',
'RO' => 'Rumänien',
'QO' => 'Yttre öar i Oceanien',
'RE' => 'Réunion',
'RO' => 'Rumänien',
'RU' => 'Ryssland',
'RW' => 'Rwanda',
'SA' => 'Saudiarabien',
'SB' => 'Salomonöarna',
'SB' => 'Salomonöarna',
'SC' => 'Seychellerna',
'SD' => 'Sudan',
'SE' => 'Sverige',
216,19 → 216,19
'SN' => 'Senegal',
'SO' => 'Somalia',
'SR' => 'Surinam',
'ST' => 'São Tomé och Príncipe',
'ST' => 'São Tomé och Príncipe',
'SU' => 'Union of Soviet Socialist Republics',
'SV' => 'El Salvador',
'SY' => 'Syrien',
'SZ' => 'Swaziland',
'TC' => 'Turks- och Caicosöarna',
'TC' => 'Turks- och Caicosöarna',
'TD' => 'Tchad',
'TF' => 'Franska södra territorierna',
'TF' => 'Franska södra territorierna',
'TG' => 'Togo',
'TH' => 'Thailand',
'TJ' => 'Tadzjikistan',
'TK' => 'Tokelau',
'TL' => 'Östtimor',
'TL' => 'Östtimor',
'TM' => 'Turkmenistan',
'TN' => 'Tunisien',
'TO' => 'Tonga',
239,7 → 239,7
'TZ' => 'Tanzania',
'UA' => 'Ukraina',
'UG' => 'Uganda',
'UM' => 'USAs yttre öar',
'UM' => 'USAs yttre öar',
'US' => 'USA',
'UY' => 'Uruguay',
'UZ' => 'Uzbekistan',
247,11 → 247,11
'VC' => 'S:t Vincent och Grenadinerna',
'VD' => 'North Vietnam',
'VE' => 'Venezuela',
'VG' => 'Brittiska Jungfruöarna',
'VI' => 'Amerikanska Jungfruöarna',
'VG' => 'Brittiska Jungfruöarna',
'VI' => 'Amerikanska Jungfruöarna',
'VN' => 'Vietnam',
'VU' => 'Vanuatu',
'WF' => 'Wallis- och Futunaöarna',
'WF' => 'Wallis- och Futunaöarna',
'WK' => 'Wake Island',
'WS' => 'Samoa',
'YD' => 'People\'s Democratic Republic of Yemen',
/trunk/api/pear/I18Nv2/Country/pl.php
53,7 → 53,7
'CN' => 'Chiny',
'CO' => 'Kolumbia',
'CR' => 'Kostaryka',
'CS' => 'Serbia i Czarnogóra',
'CS' => 'Serbia i Czarnogóra',
'CT' => 'Canton and Enderbury Islands',
'CU' => 'Kuba',
'CV' => 'Wyspy Zielonego Przylądka',
93,7 → 93,7
'GM' => 'Gambia',
'GN' => 'Gwinea',
'GP' => 'Gwadelupa',
'GQ' => 'Gwinea Równikowa',
'GQ' => 'Gwinea Równikowa',
'GR' => 'Grecja',
'GS' => 'Wyspy Georgia Południowa i Sandwich Południowy',
'GT' => 'Gwatemala',
125,7 → 125,7
'KI' => 'Kiribati',
'KM' => 'Komory',
'KN' => 'Saint Kitts i Nevis',
'KP' => 'Korea Północna',
'KP' => 'Korea Północna',
'KR' => 'Korea Południowa',
'KW' => 'Kuwejt',
'KY' => 'Kajmany',
152,7 → 152,7
'MM' => 'Birma',
'MN' => 'Mongolia',
'MO' => 'Makau, Specjalny Region Administracyjny Chin',
'MP' => 'Wspólnota Marianów Północnych',
'MP' => 'Wspólnota Marianów Północnych',
'MQ' => 'Martynika',
'MR' => 'Mauretania',
'MS' => 'Montserrat',
248,7 → 248,7
'VD' => 'North Vietnam',
'VE' => 'Wenezuela',
'VG' => 'Brytyjskie Wyspy Dziewicze',
'VI' => 'Wyspy Dziewicze, Stanów Zjednoczonych',
'VI' => 'Wyspy Dziewicze, Stanów Zjednoczonych',
'VN' => 'Wietnam',
'VU' => 'Vanuatu',
'WF' => 'Wallis i Futuna',
/trunk/api/pear/I18Nv2/Country/hu.php
4,260 → 4,260
*/
$this->codes = array(
'AD' => 'Andorra',
'AE' => 'Egyesült Arab Emirátus',
'AF' => 'Afganisztán',
'AG' => 'Antigua és Barbuda',
'AE' => 'Egyesült Arab Emirátus',
'AF' => 'Afganisztán',
'AG' => 'Antigua és Barbuda',
'AI' => 'Anguilla',
'AL' => 'Albánia',
'AM' => 'Örményország',
'AN' => 'Holland Antillák',
'AL' => 'Albánia',
'AM' => 'Örményország',
'AN' => 'Holland Antillák',
'AO' => 'Angola',
'AQ' => 'Antarktisz',
'AR' => 'Argentína',
'AR' => 'Argentína',
'AS' => 'Amerikai Szamoa',
'AT' => 'Ausztria',
'AU' => 'Ausztrália',
'AU' => 'Ausztrália',
'AW' => 'Aruba',
'AX' => 'Aland-szigetek',
'AZ' => 'Azerbajdzsán',
'AZ' => 'Azerbajdzsán',
'BA' => 'Bosznia-Hercegovina',
'BB' => 'Barbados',
'BD' => 'Banglades',
'BE' => 'Belgium',
'BF' => 'Burkina Faso',
'BG' => 'Bulgária',
'BG' => 'Bulgária',
'BH' => 'Bahrain',
'BI' => 'Burundi',
'BJ' => 'Benin',
'BM' => 'Bermuda',
'BN' => 'Brunei Darussalam',
'BO' => 'Bolívia',
'BO' => 'Bolívia',
'BQ' => 'British Antarctic Territory',
'BR' => 'Brazília',
'BS' => 'Bahamák',
'BT' => 'Bhután',
'BR' => 'Brazília',
'BS' => 'Bahamák',
'BT' => 'Bhután',
'BV' => 'Bouvet-sziget',
'BW' => 'Botswana',
'BY' => 'Fehéroroszország',
'BY' => 'Fehéroroszország',
'BZ' => 'Beliz',
'CA' => 'Kanada',
'CC' => 'Kókusz (Keeling)-szigetek',
'CD' => 'Kongó, Demokratikus köztársaság',
'CF' => 'Közép-afrikai Köztársaság',
'CG' => 'Kongó',
'CH' => 'Svájc',
'CI' => 'Elefántcsontpart',
'CC' => 'Kókusz (Keeling)-szigetek',
'CD' => 'Kongó, Demokratikus köztársaság',
'CF' => 'Közép-afrikai Köztársaság',
'CG' => 'Kongó',
'CH' => 'Svájc',
'CI' => 'Elefántcsontpart',
'CK' => 'Cook-szigetek',
'CL' => 'Chile',
'CM' => 'Kamerun',
'CN' => 'Kína',
'CN' => 'Kína',
'CO' => 'Kolumbia',
'CR' => 'Costa Rica',
'CS' => 'Serbia és Montenegro',
'CS' => 'Serbia és Montenegro',
'CT' => 'Canton and Enderbury Islands',
'CU' => 'Kuba',
'CV' => 'Zöld-foki Köztársaság',
'CX' => 'Karácsony-szigetek',
'CV' => 'Zöld-foki Köztársaság',
'CX' => 'Karácsony-szigetek',
'CY' => 'Ciprus',
'CZ' => 'Cseh Köztársaság',
'CZ' => 'Cseh Köztársaság',
'DD' => 'East Germany',
'DE' => 'Németország',
'DE' => 'Németország',
'DJ' => 'Dzsibuti',
'DK' => 'Dánia',
'DK' => 'Dánia',
'DM' => 'Dominika',
'DO' => 'Dominikai Köztársaság',
'DZ' => 'Algéria',
'DO' => 'Dominikai Köztársaság',
'DZ' => 'Algéria',
'EC' => 'Ecuador',
'EE' => 'Észtország',
'EE' => 'Észtország',
'EG' => 'Egyiptom',
'EH' => 'Nyugat Szahara',
'ER' => 'Eritrea',
'ES' => 'Spanyolország',
'ET' => 'Etiópia',
'FI' => 'Finnország',
'ES' => 'Spanyolország',
'ET' => 'Etiópia',
'FI' => 'Finnország',
'FJ' => 'Fidzsi',
'FK' => 'Falkland-szigetek',
'FM' => 'Mikronézia, Szövetségi Államok',
'FO' => 'Feröer-szigetek',
'FM' => 'Mikronézia, Szövetségi Államok',
'FO' => 'Feröer-szigetek',
'FQ' => 'French Southern and Antarctic Territories',
'FR' => 'Franciaország',
'FR' => 'Franciaország',
'FX' => 'Metropolitan France',
'GA' => 'Gabon',
'GB' => 'Egyesült Királyság',
'GB' => 'Egyesült Királyság',
'GD' => 'Grenada',
'GE' => 'Grúzia',
'GE' => 'Grúzia',
'GF' => 'Francia Guyana',
'GH' => 'Ghana',
'GI' => 'Gibraltár',
'GL' => 'Grönland',
'GI' => 'Gibraltár',
'GL' => 'Grönland',
'GM' => 'Gambia',
'GN' => 'Guinea',
'GP' => 'Guadeloupe',
'GQ' => 'Egyenlítďi Guinea',
'GR' => 'Görögország',
'GS' => 'Dél-Georgia és Dél-Sandwich Szigetek',
'GQ' => 'Egyenlítďi Guinea',
'GR' => 'Görögország',
'GS' => 'Dél-Georgia és Dél-Sandwich Szigetek',
'GT' => 'Guatemala',
'GU' => 'Guam',
'GW' => 'Guinea-Bissau',
'GY' => 'Guyana',
'HK' => 'Hong Kong S.A.R., China',
'HM' => 'Heard és McDonald Szigetek',
'HM' => 'Heard és McDonald Szigetek',
'HN' => 'Honduras',
'HR' => 'Horvátország',
'HR' => 'Horvátország',
'HT' => 'Haiti',
'HU' => 'Magyarország',
'ID' => 'Indonézia',
'IE' => 'Írország',
'HU' => 'Magyarország',
'ID' => 'Indonézia',
'IE' => 'Írország',
'IL' => 'Izrael',
'IN' => 'India',
'IO' => 'Brit Indiai Oceán',
'IO' => 'Brit Indiai Oceán',
'IQ' => 'Irak',
'IR' => 'Irán',
'IR' => 'Irán',
'IS' => 'Izland',
'IT' => 'Olaszország',
'IT' => 'Olaszország',
'JM' => 'Jamaica',
'JO' => 'Jordánia',
'JP' => 'Japán',
'JO' => 'Jordánia',
'JP' => 'Japán',
'JT' => 'Johnston Island',
'KE' => 'Kenya',
'KG' => 'Kirgizisztán',
'KG' => 'Kirgizisztán',
'KH' => 'Kambodzsa',
'KI' => 'Kiribati',
'KM' => 'Comore-szigetek',
'KN' => 'Saint Kitts és Nevis',
'KP' => 'Korea, Észak',
'KR' => 'Korea, Dél',
'KN' => 'Saint Kitts és Nevis',
'KP' => 'Korea, Észak',
'KR' => 'Korea, Dél',
'KW' => 'Kuwait',
'KY' => 'Kajmán-szigetek',
'KZ' => 'Kazahsztán',
'LA' => 'Laoszi Népi Demokratikus Köztársaság',
'KY' => 'Kajmán-szigetek',
'KZ' => 'Kazahsztán',
'LA' => 'Laoszi Népi Demokratikus Köztársaság',
'LB' => 'Libanon',
'LC' => 'Saint Lucia',
'LI' => 'Liechtenstein',
'LK' => 'Sri Lanka',
'LR' => 'Libéria',
'LR' => 'Libéria',
'LS' => 'Lesotho',
'LT' => 'Litvánia',
'LT' => 'Litvánia',
'LU' => 'Luxemburg',
'LV' => 'Lettország',
'LY' => 'Líbiai Arab Jamahiriya',
'MA' => 'Marokkó',
'LV' => 'Lettország',
'LY' => 'Líbiai Arab Jamahiriya',
'MA' => 'Marokkó',
'MC' => 'Monaco',
'MD' => 'Moldáv Köztársaság',
'MG' => 'Madagaszkár',
'MD' => 'Moldáv Köztársaság',
'MG' => 'Madagaszkár',
'MH' => 'Marshall-szigetek',
'MI' => 'Midway Islands',
'MK' => 'Macedónia, Köztársaság',
'MK' => 'Macedónia, Köztársaság',
'ML' => 'Mali',
'MM' => 'Mianmar',
'MN' => 'Mongólia',
'MN' => 'Mongólia',
'MO' => 'Macao S.A.R., China',
'MP' => 'Északi Mariana-szigetek',
'MP' => 'Északi Mariana-szigetek',
'MQ' => 'Martinique (francia)',
'MR' => 'Mauritánia',
'MR' => 'Mauritánia',
'MS' => 'Montserrat',
'MT' => 'Málta',
'MT' => 'Málta',
'MU' => 'Mauritius',
'MV' => 'Maldív-szigetek',
'MV' => 'Maldív-szigetek',
'MW' => 'Malawi',
'MX' => 'Mexikó',
'MX' => 'Mexikó',
'MY' => 'Malajzia',
'MZ' => 'Mozambik',
'NA' => 'Namíbia',
'NC' => 'Új Kaledónia (francia)',
'NA' => 'Namíbia',
'NC' => 'Új Kaledónia (francia)',
'NE' => 'Niger',
'NF' => 'Norfolk-sziget',
'NG' => 'Nigéria',
'NG' => 'Nigéria',
'NI' => 'Nicaragua',
'NL' => 'Hollandia',
'NO' => 'Norvégia',
'NP' => 'Nepál',
'NO' => 'Norvégia',
'NP' => 'Nepál',
'NQ' => 'Dronning Maud Land',
'NR' => 'Nauru',
'NT' => 'Neutral Zone',
'NU' => 'Niue',
'NZ' => 'Új-Zéland',
'OM' => 'Omán',
'NZ' => 'Új-Zéland',
'OM' => 'Omán',
'PA' => 'Panama',
'PC' => 'Pacific Islands Trust Territory',
'PE' => 'Peru',
'PF' => 'Polinézia (francia)',
'PG' => 'Pápua Új-Guinea',
'PH' => 'Fülöp-szigetek',
'PK' => 'Pakisztán',
'PL' => 'Lengyelország',
'PM' => 'Saint Pierre és Miquelon',
'PF' => 'Polinézia (francia)',
'PG' => 'Pápua Új-Guinea',
'PH' => 'Fülöp-szigetek',
'PK' => 'Pakisztán',
'PL' => 'Lengyelország',
'PM' => 'Saint Pierre és Miquelon',
'PN' => 'Pitcairn-sziget',
'PR' => 'Puerto Rico',
'PS' => 'Palesztín Terület',
'PT' => 'Portugália',
'PS' => 'Palesztín Terület',
'PT' => 'Portugália',
'PU' => 'U.S. Miscellaneous Pacific Islands',
'PW' => 'Palau',
'PY' => 'Paraguay',
'PZ' => 'Panama Canal Zone',
'QA' => 'Katar',
'QO' => 'Külső-Óceánia',
'QO' => 'Külső-Óceánia',
'RE' => 'Reunion (francia)',
'RO' => 'Románia',
'RU' => 'Orosz Köztársaság',
'RO' => 'Románia',
'RU' => 'Orosz Köztársaság',
'RW' => 'Ruanda',
'SA' => 'Szaud-Arábia',
'SA' => 'Szaud-Arábia',
'SB' => 'Salamon-szigetek',
'SC' => 'Seychelles',
'SD' => 'Szudán',
'SE' => 'Svédország',
'SG' => 'Szingapúr',
'SD' => 'Szudán',
'SE' => 'Svédország',
'SG' => 'Szingapúr',
'SH' => 'Saint Helena',
'SI' => 'Szlovénia',
'SJ' => 'Svalbard és Jan Mayen',
'SK' => 'Szlovákia',
'SI' => 'Szlovénia',
'SJ' => 'Svalbard és Jan Mayen',
'SK' => 'Szlovákia',
'SL' => 'Sierra Leone',
'SM' => 'San Marino',
'SN' => 'Szenegál',
'SO' => 'Szomália',
'SN' => 'Szenegál',
'SO' => 'Szomália',
'SR' => 'Suriname',
'ST' => 'Saint Tome és Principe',
'ST' => 'Saint Tome és Principe',
'SU' => 'Union of Soviet Socialist Republics',
'SV' => 'El Salvador',
'SY' => 'Szíriai Arab Köztársaság',
'SZ' => 'Szváziföld',
'TC' => 'Török és Caicos Szigetek',
'TD' => 'Csád',
'TF' => 'Francia Déli Területek',
'SY' => 'Szíriai Arab Köztársaság',
'SZ' => 'Szváziföld',
'TC' => 'Török és Caicos Szigetek',
'TD' => 'Csád',
'TF' => 'Francia Déli Területek',
'TG' => 'Togo',
'TH' => 'Thaiföld',
'TJ' => 'Tadzsikisztán',
'TH' => 'Thaiföld',
'TJ' => 'Tadzsikisztán',
'TK' => 'Tokelau',
'TL' => 'Kelet-Timor',
'TM' => 'Türkmenisztán',
'TN' => 'Tunézia',
'TM' => 'Türkmenisztán',
'TN' => 'Tunézia',
'TO' => 'Tonga',
'TR' => 'Törökország',
'TT' => 'Trinidad és Tobago',
'TR' => 'Törökország',
'TT' => 'Trinidad és Tobago',
'TV' => 'Tuvalu',
'TW' => 'Taiwan',
'TZ' => 'Tanzánia',
'TZ' => 'Tanzánia',
'UA' => 'Ukrajna',
'UG' => 'Uganda',
'UM' => 'United States Minor Outlying Islands',
'US' => 'Egyesült Államok',
'US' => 'Egyesült Államok',
'UY' => 'Uruguay',
'UZ' => 'Üzbegisztán',
'VA' => 'Vatikán',
'VC' => 'Saint Vincent és Grenadines',
'UZ' => 'Üzbegisztán',
'VA' => 'Vatikán',
'VC' => 'Saint Vincent és Grenadines',
'VD' => 'North Vietnam',
'VE' => 'Venezuela',
'VG' => 'Brit Virgin-szigetek',
'VI' => 'U.S. Virgin-szigetek',
'VN' => 'Vietnám',
'VN' => 'Vietnám',
'VU' => 'Vanuatu',
'WF' => 'Wallis és Futuna Szigetek',
'WF' => 'Wallis és Futuna Szigetek',
'WK' => 'Wake Island',
'WS' => 'Szamoa',
'YD' => 'People\'s Democratic Republic of Yemen',
'YE' => 'Jemen',
'YT' => 'Mayotte',
'ZA' => 'Dél-Afrika',
'ZA' => 'Dél-Afrika',
'ZM' => 'Zambia',
'ZW' => 'Zimbabwe',
);
/trunk/api/pear/I18Nv2/Country/pt.php
4,172 → 4,172
*/
$this->codes = array(
'AD' => 'Andorra',
'AE' => 'Emirados Árabes Unidos',
'AF' => 'Afeganistão',
'AG' => 'Antígua e Barbuda',
'AE' => 'Emirados Árabes Unidos',
'AF' => 'Afeganistão',
'AG' => 'Antígua e Barbuda',
'AI' => 'Anguilla',
'AL' => 'Albânia',
'AM' => 'Armênia',
'AL' => 'Albânia',
'AM' => 'Armênia',
'AN' => 'Antilhas Holandesas',
'AO' => 'Angola',
'AQ' => 'Antártida',
'AQ' => 'Antártida',
'AR' => 'Argentina',
'AS' => 'Samoa Americana',
'AT' => 'Áustria',
'AU' => 'Austrália',
'AT' => 'Áustria',
'AU' => 'Austrália',
'AW' => 'Aruba',
'AX' => 'Aland Islands',
'AZ' => 'Azerbaijão',
'BA' => 'Bósnia-Herzegóvina',
'AZ' => 'Azerbaijão',
'BA' => 'Bósnia-Herzegóvina',
'BB' => 'Barbados',
'BD' => 'Bangladesh',
'BE' => 'Bélgica',
'BE' => 'Bélgica',
'BF' => 'Burquina Faso',
'BG' => 'Bulgária',
'BG' => 'Bulgária',
'BH' => 'Bareine',
'BI' => 'Burundi',
'BJ' => 'Benin',
'BM' => 'Bermudas',
'BN' => 'Brunei',
'BO' => 'Bolívia',
'BO' => 'Bolívia',
'BQ' => 'British Antarctic Territory',
'BR' => 'Brasil',
'BS' => 'Bahamas',
'BT' => 'Butão',
'BT' => 'Butão',
'BV' => 'Ilha Bouvet',
'BW' => 'Botsuana',
'BY' => 'Belarus',
'BZ' => 'Belize',
'CA' => 'Canadá',
'CA' => 'Canadá',
'CC' => 'Ilhas Cocos (Keeling)',
'CD' => 'Congo, República Democrática do',
'CF' => 'República Centro-Africana',
'CD' => 'Congo, República Democrática do',
'CF' => 'República Centro-Africana',
'CG' => 'Congo',
'CH' => 'Suíça',
'CH' => 'Suíça',
'CI' => 'Costa do Marfim',
'CK' => 'Ilhas Cook',
'CL' => 'Chile',
'CM' => 'República dos Camarões',
'CM' => 'República dos Camarões',
'CN' => 'China',
'CO' => 'Colômbia',
'CO' => 'Colômbia',
'CR' => 'Costa Rica',
'CS' => 'Sérvia e Montenegro',
'CS' => 'Sérvia e Montenegro',
'CT' => 'Canton and Enderbury Islands',
'CU' => 'Cuba',
'CV' => 'Cabo Verde',
'CX' => 'Ilhas Natal',
'CY' => 'Chipre',
'CZ' => 'República Tcheca',
'CZ' => 'República Tcheca',
'DD' => 'East Germany',
'DE' => 'Alemanha',
'DJ' => 'Djibuti',
'DK' => 'Dinamarca',
'DM' => 'Dominica',
'DO' => 'República Dominicana',
'DZ' => 'Argélia',
'DO' => 'República Dominicana',
'DZ' => 'Argélia',
'EC' => 'Equador',
'EE' => 'Estônia',
'EE' => 'Estônia',
'EG' => 'Egito',
'EH' => 'Saara Ocidental',
'ER' => 'Eritréia',
'ER' => 'Eritréia',
'ES' => 'Espanha',
'ET' => 'Etiópia',
'FI' => 'Finlândia',
'ET' => 'Etiópia',
'FI' => 'Finlândia',
'FJ' => 'Fiji',
'FK' => 'Ilhas Malvinas',
'FM' => 'Micronésia, Estados Federados da',
'FM' => 'Micronésia, Estados Federados da',
'FO' => 'Ilhas Faroe',
'FQ' => 'French Southern and Antarctic Territories',
'FR' => 'França',
'FR' => 'França',
'FX' => 'Metropolitan France',
'GA' => 'Gabão',
'GA' => 'Gabão',
'GB' => 'Reino Unido',
'GD' => 'Granada',
'GE' => 'Geórgia',
'GE' => 'Geórgia',
'GF' => 'Guiana Francesa',
'GH' => 'Gana',
'GI' => 'Gibraltar',
'GL' => 'Groênlandia',
'GM' => 'Gâmbia',
'GN' => 'Guiné',
'GL' => 'Groênlandia',
'GM' => 'Gâmbia',
'GN' => 'Guiné',
'GP' => 'Guadalupe',
'GQ' => 'Guiné Equatorial',
'GR' => 'Grécia',
'GS' => 'Geórgia do Sul e Ilhas Sandwich do Sul',
'GQ' => 'Guiné Equatorial',
'GR' => 'Grécia',
'GS' => 'Geórgia do Sul e Ilhas Sandwich do Sul',
'GT' => 'Guatemala',
'GU' => 'Guam',
'GW' => 'Guiné Bissau',
'GW' => 'Guiné Bissau',
'GY' => 'Guiana',
'HK' => 'Hong Kong, Região Admin. Especial da China',
'HK' => 'Hong Kong, Região Admin. Especial da China',
'HM' => 'Ilha Heard e Ilhas McDonald',
'HN' => 'Honduras',
'HR' => 'Croácia',
'HR' => 'Croácia',
'HT' => 'Haiti',
'HU' => 'Hungria',
'ID' => 'Indonésia',
'ID' => 'Indonésia',
'IE' => 'Irlanda',
'IL' => 'Israel',
'IN' => 'Índia',
'IO' => 'Território Britânico do Oceano Índico',
'IN' => 'Índia',
'IO' => 'Território Britânico do Oceano Índico',
'IQ' => 'Iraque',
'IR' => 'Irã',
'IS' => 'Islândia',
'IT' => 'Itália',
'IR' => 'Irã',
'IS' => 'Islândia',
'IT' => 'Itália',
'JM' => 'Jamaica',
'JO' => 'Jordânia',
'JP' => 'Japão',
'JO' => 'Jordânia',
'JP' => 'Japão',
'JT' => 'Johnston Island',
'KE' => 'Quênia',
'KG' => 'Quirguistão',
'KE' => 'Quênia',
'KG' => 'Quirguistão',
'KH' => 'Camboja',
'KI' => 'Quiribati',
'KM' => 'Comores',
'KN' => 'São Cristovão e Nevis',
'KP' => 'Coréia, Norte',
'KR' => 'Coréia, Sul',
'KN' => 'São Cristovão e Nevis',
'KP' => 'Coréia, Norte',
'KR' => 'Coréia, Sul',
'KW' => 'Kuwait',
'KY' => 'Ilhas Caiman',
'KZ' => 'Casaquistão',
'LA' => 'República Democrática Popular de Lao',
'LB' => 'Líbano',
'LC' => 'Santa Lúcia',
'KZ' => 'Casaquistão',
'LA' => 'República Democrática Popular de Lao',
'LB' => 'Líbano',
'LC' => 'Santa Lúcia',
'LI' => 'Liechtenstein',
'LK' => 'Sri Lanka',
'LR' => 'Libéria',
'LR' => 'Libéria',
'LS' => 'Lesoto',
'LT' => 'Lituânia',
'LT' => 'Lituânia',
'LU' => 'Luxemburgo',
'LV' => 'Letônia',
'LY' => 'Líbia',
'LV' => 'Letônia',
'LY' => 'Líbia',
'MA' => 'Marrocos',
'MC' => 'Mônaco',
'MD' => 'Moldova, República de',
'MC' => 'Mônaco',
'MD' => 'Moldova, República de',
'MG' => 'Madagascar',
'MH' => 'Ilhas Marshall',
'MI' => 'Midway Islands',
'MK' => 'Macedônia, República da',
'MK' => 'Macedônia, República da',
'ML' => 'Mali',
'MM' => 'Mianmá',
'MN' => 'Mongólia',
'MO' => 'Macau, Região Admin. Especial da China',
'MM' => 'Mianmá',
'MN' => 'Mongólia',
'MO' => 'Macau, Região Admin. Especial da China',
'MP' => 'Ilhas Marianas do Norte',
'MQ' => 'Martinica',
'MR' => 'Mauritânia',
'MR' => 'Mauritânia',
'MS' => 'Montserrat',
'MT' => 'Malta',
'MU' => 'Maurício',
'MU' => 'Maurício',
'MV' => 'Maldivas',
'MW' => 'Malawi',
'MX' => 'México',
'MY' => 'Malásia',
'MZ' => 'Moçambique',
'NA' => 'Namíbia',
'NC' => 'Nova Caledônia',
'NE' => 'Níger',
'MX' => 'México',
'MY' => 'Malásia',
'MZ' => 'Moçambique',
'NA' => 'Namíbia',
'NC' => 'Nova Caledônia',
'NE' => 'Níger',
'NF' => 'Ilha Norfolk',
'NG' => 'Nigéria',
'NI' => 'Nicarágua',
'NL' => 'Países Baixos',
'NG' => 'Nigéria',
'NI' => 'Nicarágua',
'NL' => 'Países Baixos',
'NO' => 'Noruega',
'NP' => 'Nepal',
'NQ' => 'Dronning Maud Land',
176,20 → 176,20
'NR' => 'Nauru',
'NT' => 'Neutral Zone',
'NU' => 'Niue',
'NZ' => 'Nova Zelândia',
'OM' => 'Omã',
'PA' => 'Panamá',
'NZ' => 'Nova Zelândia',
'OM' => 'Omã',
'PA' => 'Panamá',
'PC' => 'Pacific Islands Trust Territory',
'PE' => 'Peru',
'PF' => 'Polinésia Francesa',
'PG' => 'Papua-Nova Guiné',
'PF' => 'Polinésia Francesa',
'PG' => 'Papua-Nova Guiné',
'PH' => 'Filipinas',
'PK' => 'Paquistão',
'PL' => 'Polônia',
'PK' => 'Paquistão',
'PL' => 'Polônia',
'PM' => 'Saint Pierre e Miquelon',
'PN' => 'Pitcairn',
'PR' => 'Porto Rico',
'PS' => 'Território da Palestina',
'PS' => 'Território da Palestina',
'PT' => 'Portugal',
'PU' => 'U.S. Miscellaneous Pacific Islands',
'PW' => 'Palau',
197,68 → 197,68
'PZ' => 'Panama Canal Zone',
'QA' => 'Catar',
'QO' => 'Outlying Oceania',
'RE' => 'Reunião',
'RO' => 'Romênia',
'RU' => 'Rússia',
'RE' => 'Reunião',
'RO' => 'Romênia',
'RU' => 'Rússia',
'RW' => 'Ruanda',
'SA' => 'Arábia Saudita',
'SB' => 'Ilhas Salomão',
'SA' => 'Arábia Saudita',
'SB' => 'Ilhas Salomão',
'SC' => 'Seychelles',
'SD' => 'Sudão',
'SE' => 'Suécia',
'SD' => 'Sudão',
'SE' => 'Suécia',
'SG' => 'Cingapura',
'SH' => 'Santa Helena',
'SI' => 'Eslovênia',
'SI' => 'Eslovênia',
'SJ' => 'Svalbard e Jan Mayen',
'SK' => 'Eslováquia',
'SK' => 'Eslováquia',
'SL' => 'Serra Leoa',
'SM' => 'San Marino',
'SN' => 'Senegal',
'SO' => 'Somália',
'SO' => 'Somália',
'SR' => 'Suriname',
'ST' => 'São Tomé e Príncipe',
'ST' => 'São Tomé e Príncipe',
'SU' => 'Union of Soviet Socialist Republics',
'SV' => 'El Salvador',
'SY' => 'Síria',
'SZ' => 'Suazilândia',
'SY' => 'Síria',
'SZ' => 'Suazilândia',
'TC' => 'Ilhas Turks e Caicos',
'TD' => 'Chade',
'TF' => 'Territórios Franceses do Sul',
'TF' => 'Territórios Franceses do Sul',
'TG' => 'Togo',
'TH' => 'Tailândia',
'TJ' => 'Tadjiquistão',
'TH' => 'Tailândia',
'TJ' => 'Tadjiquistão',
'TK' => 'Tokelau',
'TL' => 'Timor Leste',
'TM' => 'Turcomenistão',
'TN' => 'Tunísia',
'TM' => 'Turcomenistão',
'TN' => 'Tunísia',
'TO' => 'Tonga',
'TR' => 'Turquia',
'TT' => 'Trinidad e Tobago',
'TV' => 'Tuvalu',
'TW' => 'Taiwan',
'TZ' => 'Tanzânia',
'UA' => 'Ucrânia',
'TZ' => 'Tanzânia',
'UA' => 'Ucrânia',
'UG' => 'Uganda',
'UM' => 'Ilhas Menores Distantes dos Estados Unidos',
'US' => 'Estados Unidos',
'UY' => 'Uruguai',
'UZ' => 'Uzbequistão',
'UZ' => 'Uzbequistão',
'VA' => 'Vaticano',
'VC' => 'São Vicente e Granadinas',
'VC' => 'São Vicente e Granadinas',
'VD' => 'North Vietnam',
'VE' => 'Venezuela',
'VG' => 'Ilhas Virgens Britânicas',
'VG' => 'Ilhas Virgens Britânicas',
'VI' => 'Ilhas Virgens dos EUA',
'VN' => 'Vietnã',
'VN' => 'Vietnã',
'VU' => 'Vanuatu',
'WF' => 'Wallis e Futuna',
'WK' => 'Wake Island',
'WS' => 'Samoa',
'YD' => 'People\'s Democratic Republic of Yemen',
'YE' => 'Iêmen',
'YE' => 'Iêmen',
'YT' => 'Mayotte',
'ZA' => 'África do Sul',
'ZM' => 'Zâmbia',
'ZW' => 'Zimbábwe',
'ZA' => 'África do Sul',
'ZM' => 'Zâmbia',
'ZW' => 'Zimbábwe',
);
?>
/trunk/api/pear/I18Nv2/Country/tr.php
23,7 → 23,7
'BA' => 'Bosna Hersek',
'BB' => 'Barbados',
'BD' => 'Bangladeş',
'BE' => 'Belçika',
'BE' => 'Belçika',
'BF' => 'Burkina Faso',
'BG' => 'Bulgaristan',
'BH' => 'Bahreyn',
45,21 → 45,21
'CD' => 'Kongo Demokratik Cumhuriyeti',
'CF' => 'Orta Afrika Cumhuriyeti',
'CG' => 'Kongo',
'CH' => 'Ä°sviçre',
'CH' => 'İsviçre',
'CI' => 'Fildişi Sahilleri',
'CK' => 'Cook Adaları',
'CL' => 'Şili',
'CM' => 'Kamerun',
'CN' => 'Çin',
'CN' => 'Çin',
'CO' => 'Kolombiya',
'CR' => 'Kosta Rika',
'CS' => 'Sırbistan-Karadağ',
'CT' => 'Canton and Enderbury Islands',
'CU' => 'Küba',
'CU' => 'Küba',
'CV' => 'Cape Verde',
'CX' => 'Christmas Adası',
'CY' => 'Kıbrıs',
'CZ' => 'Çek Cumhuriyeti',
'CZ' => 'Çek Cumhuriyeti',
'DD' => 'East Germany',
'DE' => 'Almanya',
'DJ' => 'Cibuti',
85,22 → 85,22
'GA' => 'Gabon',
'GB' => 'Birleşik Krallık',
'GD' => 'Granada',
'GE' => 'Gürcistan',
'GE' => 'Gürcistan',
'GF' => 'Fransız Guyanası',
'GH' => 'Gana',
'GI' => 'Cebelitarık',
'GL' => 'Grönland',
'GL' => 'Grönland',
'GM' => 'Gambia',
'GN' => 'Gine',
'GP' => 'Guadeloupe',
'GQ' => 'Ekvator Ginesi',
'GR' => 'Yunanistan',
'GS' => 'Güney Georgia ve Güney Sandwich Adaları',
'GS' => 'Güney Georgia ve Güney Sandwich Adaları',
'GT' => 'Guatemala',
'GU' => 'Guam',
'GW' => 'Gine-Bissau',
'GY' => 'Guyana',
'HK' => 'Hong Kong SAR - Çin',
'HK' => 'Hong Kong SAR - Çin',
'HM' => 'Heard Adası ve McDonald Adaları',
'HN' => 'Honduras',
'HR' => 'Hırvatistan',
110,28 → 110,28
'IE' => 'İrlanda',
'IL' => 'İsrail',
'IN' => 'Hindistan',
'IO' => 'Hint Okyanusu Ä°ngiliz Bölgesi',
'IO' => 'Hint Okyanusu İngiliz Bölgesi',
'IQ' => 'Irak',
'IR' => 'İran',
'IS' => 'İzlanda',
'IT' => 'İtalya',
'JM' => 'Jamaika',
'JO' => 'Ürdün',
'JO' => 'Ürdün',
'JP' => 'Japonya',
'JT' => 'Johnston Island',
'KE' => 'Kenya',
'KG' => 'Kırgızistan',
'KH' => 'Kamboçya',
'KH' => 'Kamboçya',
'KI' => 'Kiribati',
'KM' => 'Komorlar',
'KN' => 'Saint Kittler ve Neviler',
'KP' => 'Kuzey Kore',
'KR' => 'Güney Kore',
'KR' => 'Güney Kore',
'KW' => 'Kuveyt',
'KY' => 'Kayman Adaları',
'KZ' => 'Kazakistan',
'LA' => 'Laos',
'LB' => 'Lübnan',
'LB' => 'Lübnan',
'LC' => 'Saint Lucia',
'LI' => 'Liechtenstein',
'LK' => 'Sri Lanka',
138,7 → 138,7
'LR' => 'Liberya',
'LS' => 'Lesotho',
'LT' => 'Litvanya',
'LU' => 'Lüksemburg',
'LU' => 'Lüksemburg',
'LV' => 'Letonya',
'LY' => 'Libya',
'MA' => 'Fas',
151,7 → 151,7
'ML' => 'Mali',
'MM' => 'Myanmar',
'MN' => 'Moğolistan',
'MO' => 'Makao S.A.R. Çin',
'MO' => 'Makao S.A.R. Çin',
'MP' => 'Kuzey Mariana Adaları',
'MQ' => 'Martinik',
'MR' => 'Moritanya',
170,7 → 170,7
'NG' => 'Nijerya',
'NI' => 'Nikaragua',
'NL' => 'Hollanda',
'NO' => 'Norveç',
'NO' => 'Norveç',
'NP' => 'Nepal',
'NQ' => 'Dronning Maud Land',
'NR' => 'Nauru Adası',
189,7 → 189,7
'PM' => 'Saint Pierre ve Miquelon',
'PN' => 'Pitcairn',
'PR' => 'Porto Riko',
'PS' => 'Filistin Bölgesi',
'PS' => 'Filistin Bölgesi',
'PT' => 'Portekiz',
'PU' => 'U.S. Miscellaneous Pacific Islands',
'PW' => 'Palau',
205,7 → 205,7
'SB' => 'Solomon Adaları',
'SC' => 'Seyşeller',
'SD' => 'Sudan',
'SE' => 'Ä°sveç',
'SE' => 'İsveç',
'SG' => 'Singapur',
'SH' => 'Saint Helena',
'SI' => 'Slovenya',
222,17 → 222,17
'SY' => 'Suriye',
'SZ' => 'Svaziland',
'TC' => 'Turks ve Caicos Adaları',
'TD' => 'Çad',
'TF' => 'Fransız Güney Bölgeleri',
'TD' => 'Çad',
'TF' => 'Fransız Güney Bölgeleri',
'TG' => 'Togo',
'TH' => 'Tayland',
'TJ' => 'Tacikistan',
'TK' => 'Tokelau',
'TL' => 'Doğu Timor',
'TM' => 'Türkmenistan',
'TM' => 'Türkmenistan',
'TN' => 'Tunus',
'TO' => 'Tonga',
'TR' => 'Türkiye',
'TR' => 'Türkiye',
'TT' => 'Trinidad ve Tobago',
'TV' => 'Tuvalu',
'TW' => 'Tayvan',
239,10 → 239,10
'TZ' => 'Tanzanya',
'UA' => 'Ukrayna',
'UG' => 'Uganda',
'UM' => 'Amerika Birleşik Devletleri Küçük Dış Adaları',
'UM' => 'Amerika Birleşik Devletleri Küçük Dış Adaları',
'US' => 'Amerika Birleşik Devletleri',
'UY' => 'Uruguay',
'UZ' => 'Özbekistan',
'UZ' => 'Özbekistan',
'VA' => 'Kutsal Devlet (Vatikan Şehir Devleti)',
'VC' => 'Saint Vincent ve Grenadinler',
'VD' => 'North Vietnam',
257,7 → 257,7
'YD' => 'People\'s Democratic Republic of Yemen',
'YE' => 'Yemen',
'YT' => 'Mayotte',
'ZA' => 'Güney Afrika',
'ZA' => 'Güney Afrika',
'ZM' => 'Zambiya',
'ZW' => 'Zimbabwe',
);
/trunk/api/pear/I18Nv2/Country/af.php
8,22 → 8,22
'AF' => 'Afganistan',
'AG' => 'Antigua en Barbuda',
'AI' => 'Anguilla',
'AL' => 'Albanië',
'AM' => 'Armenië',
'AL' => 'Albanië',
'AM' => 'Armenië',
'AN' => 'Netherlands Antilles',
'AO' => 'Angola',
'AQ' => 'Antarctica',
'AR' => 'Argentinië',
'AR' => 'Argentinië',
'AS' => 'American Samoa',
'AT' => 'Oostenryk',
'AU' => 'Australië',
'AU' => 'Australië',
'AW' => 'Aruba',
'AX' => 'Aland Islands',
'AZ' => 'Aserbeidjan',
'BA' => 'Bosnië en Herzegowina',
'BA' => 'Bosnië en Herzegowina',
'BB' => 'Barbados',
'BD' => 'Bangladesj',
'BE' => 'België',
'BE' => 'België',
'BF' => 'Boerkina Fasso',
'BG' => 'Bulgarye',
'BH' => 'Bahrein',
31,9 → 31,9
'BJ' => 'Benin',
'BM' => 'Bermuda',
'BN' => 'Broenei',
'BO' => 'Bolivië',
'BO' => 'Bolivië',
'BQ' => 'British Antarctic Territory',
'BR' => 'Brasilië',
'BR' => 'Brasilië',
'BS' => 'Bahamas',
'BT' => 'Bhoetan',
'BV' => 'Bouvet Island',
53,7 → 53,7
'CN' => 'Sjina',
'CO' => 'Colombia',
'CR' => 'Costa Rica',
'CS' => 'Serwië',
'CS' => 'Serwië',
'CT' => 'Canton and Enderbury Islands',
'CU' => 'Kuba',
'CV' => 'Kaap Verde',
66,7 → 66,7
'DK' => 'Denemarke',
'DM' => 'Dominica',
'DO' => 'Dominikaanse Republiek',
'DZ' => 'Algerië',
'DZ' => 'Algerië',
'EC' => 'Ecuador',
'EE' => 'Estland',
'EG' => 'Egipte',
73,11 → 73,11
'EH' => 'Wes-Sahara',
'ER' => 'Eritrea',
'ES' => 'Spanje',
'ET' => 'Ethiopië',
'ET' => 'Ethiopië',
'FI' => 'Finland',
'FJ' => 'Fidji',
'FK' => 'Falkland Islands',
'FM' => 'Mikronesië',
'FM' => 'Mikronesië',
'FO' => 'Faroe Islands',
'FQ' => 'French Southern and Antarctic Territories',
'FR' => 'Frankryk',
85,12 → 85,12
'GA' => 'Gaboen',
'GB' => 'Groot-Brittanje',
'GD' => 'Grenada',
'GE' => 'Georgië',
'GE' => 'Georgië',
'GF' => 'French Guiana',
'GH' => 'Ghana',
'GI' => 'Gibraltar',
'GL' => 'Greenland',
'GM' => 'Gambië',
'GM' => 'Gambië',
'GN' => 'Guinee',
'GP' => 'Guadeloupe',
'GQ' => 'Ekwatoriaal-Guinee',
103,24 → 103,24
'HK' => 'Hong Kong S.A.R., China',
'HM' => 'Heard Island and McDonald Islands',
'HN' => 'Honduras',
'HR' => 'Kroasië',
'HT' => 'Haïti',
'HR' => 'Kroasië',
'HT' => 'Haïti',
'HU' => 'Hongarye',
'ID' => 'Indonesië',
'ID' => 'Indonesië',
'IE' => 'Ierland',
'IL' => 'Israel',
'IN' => 'Indië',
'IN' => 'Indië',
'IO' => 'British Indian Ocean Territory',
'IQ' => 'Irak',
'IR' => 'Iran',
'IS' => 'Ysland',
'IT' => 'Italië',
'IT' => 'Italië',
'JM' => 'Jamaika',
'JO' => 'Jordanië',
'JO' => 'Jordanië',
'JP' => 'Japan',
'JT' => 'Johnston Island',
'KE' => 'Kenia',
'KG' => 'Kirgisië',
'KG' => 'Kirgisië',
'KH' => 'Kambodja',
'KI' => 'Kiribati',
'KM' => 'Comore',
135,12 → 135,12
'LC' => 'Saint Lucia',
'LI' => 'Liechtenstein',
'LK' => 'Sri Lanka',
'LR' => 'Liberië',
'LR' => 'Liberië',
'LS' => 'Lesotho',
'LT' => 'Litaue',
'LU' => 'Luxemburg',
'LV' => 'Letland',
'LY' => 'Libië',
'LY' => 'Libië',
'MA' => 'Marokko',
'MC' => 'Monaco',
'MD' => 'Moldova',
147,14 → 147,14
'MG' => 'Madagaskar',
'MH' => 'Marshall-eilande',
'MI' => 'Midway Islands',
'MK' => 'Macedonië',
'MK' => 'Macedonië',
'ML' => 'Mali',
'MM' => 'Myanmar',
'MN' => 'Mongolië',
'MN' => 'Mongolië',
'MO' => 'Macao S.A.R., China',
'MP' => 'Northern Mariana Islands',
'MQ' => 'Martinique',
'MR' => 'Mouritanië',
'MR' => 'Mouritanië',
'MS' => 'Montserrat',
'MT' => 'Malta',
'MU' => 'Mauritius',
161,16 → 161,16
'MV' => 'Maldive',
'MW' => 'Malawi',
'MX' => 'Meksiko',
'MY' => 'Maleisië',
'MY' => 'Maleisië',
'MZ' => 'Mosambiek',
'NA' => 'Namibië',
'NA' => 'Namibië',
'NC' => 'New Caledonia',
'NE' => 'Nigerië',
'NE' => 'Nigerië',
'NF' => 'Norfolk Island',
'NG' => 'Nigeria',
'NI' => 'Nicaragua',
'NL' => 'Nederland',
'NO' => 'Noorweë',
'NO' => 'Noorweë',
'NP' => 'Nepal',
'NQ' => 'Dronning Maud Land',
'NR' => 'Naoeroe',
198,10 → 198,10
'QA' => 'Katar',
'QO' => 'Outlying Oceania',
'RE' => 'Reunion',
'RO' => 'Roemenië',
'RO' => 'Roemenië',
'RU' => 'Rusland',
'RW' => 'Rwanda',
'SA' => 'Saoedi-Arabië',
'SA' => 'Saoedi-Arabië',
'SB' => 'Solomon Eilande',
'SC' => 'Seychelle',
'SD' => 'Soedan',
208,18 → 208,18
'SE' => 'Swede',
'SG' => 'Singapoer',
'SH' => 'Saint Helena',
'SI' => 'Slowenië',
'SI' => 'Slowenië',
'SJ' => 'Svalbard and Jan Mayen',
'SK' => 'Slowakye',
'SL' => 'Sierra Leone',
'SM' => 'San Marino',
'SN' => 'Senegal',
'SO' => 'Somalië',
'SO' => 'Somalië',
'SR' => 'Suriname',
'ST' => 'Sao Tome en Principe',
'SU' => 'Union of Soviet Socialist Republics',
'SV' => 'Salvador',
'SY' => 'Sirië',
'SY' => 'Sirië',
'SZ' => 'Swaziland',
'TC' => 'Turks and Caicos Islands',
'TD' => 'Tsjaad',
229,14 → 229,14
'TJ' => 'Tadjikistan',
'TK' => 'Tokelau',
'TL' => 'East Timor',
'TM' => 'Turkmenië',
'TN' => 'Tunisië',
'TM' => 'Turkmenië',
'TN' => 'Tunisië',
'TO' => 'Tonga',
'TR' => 'Turkye',
'TT' => 'Trinidad en Tobago',
'TV' => 'Tuvalu',
'TW' => 'Taiwan',
'TZ' => 'Tanzanië',
'TZ' => 'Tanzanië',
'UA' => 'Oekraine',
'UG' => 'Uganda',
'UM' => 'United States Minor Outlying Islands',
249,7 → 249,7
'VE' => 'Venezuela',
'VG' => 'British Virgin Islands',
'VI' => 'U.S. Virgin Islands',
'VN' => 'Viëtnam',
'VN' => 'Viëtnam',
'VU' => 'Vanuatu',
'WF' => 'Wallis and Futuna',
'WK' => 'Wake Island',
258,7 → 258,7
'YE' => 'Jemen',
'YT' => 'Mayotte',
'ZA' => 'Suid-Afrika',
'ZM' => 'Zambië',
'ZM' => 'Zambië',
'ZW' => 'Zimbabwe',
);
?>
/trunk/api/pear/Auth.php
1,1291 → 1,1292
<?php
/* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4 foldmethod=marker: */
 
/**
* The main include file for Auth package
*
* PHP versions 4 and 5
*
* LICENSE: This source file is subject to version 3.01 of the PHP license
* that is available through the world-wide-web at the following URI:
* http://www.php.net/license/3_01.txt. If you did not receive a copy of
* the PHP License and are unable to obtain it through the web, please
* send a note to license@php.net so we can mail you a copy immediately.
*
* @category Authentication
* @package Auth
* @author Martin Jansen <mj@php.net>
* @author Adam Ashley <aashley@php.net>
* @copyright 2001-2006 The PHP Group
* @license http://www.php.net/license/3_01.txt PHP License 3.01
* @version CVS: $Id: Auth.php,v 1.3 2007-11-19 15:10:59 jp_milcent Exp $
* @link http://pear.php.net/package/Auth
*/
 
/**
* Returned if session exceeds idle time
*/
define('AUTH_IDLED', -1);
/**
* Returned if session has expired
*/
define('AUTH_EXPIRED', -2);
/**
* Returned if container is unable to authenticate user/password pair
*/
define('AUTH_WRONG_LOGIN', -3);
/**
* Returned if a container method is not supported.
*/
define('AUTH_METHOD_NOT_SUPPORTED', -4);
/**
* Returned if new Advanced security system detects a breach
*/
define('AUTH_SECURITY_BREACH', -5);
/**
* Returned if checkAuthCallback says session should not continue.
*/
define('AUTH_CALLBACK_ABORT', -6);
 
/**
* Auth Log level - INFO
*/
define('AUTH_LOG_INFO', 6);
/**
* Auth Log level - DEBUG
*/
define('AUTH_LOG_DEBUG', 7);
 
 
/**
* PEAR::Auth
*
* The PEAR::Auth class provides methods for creating an
* authentication system using PHP.
*
* @category Authentication
* @package Auth
* @author Martin Jansen <mj@php.net>
* @author Adam Ashley <aashley@php.net>
* @copyright 2001-2006 The PHP Group
* @license http://www.php.net/license/3_01.txt PHP License 3.01
* @version Release: 1.5.4 File: $Revision: 1.3 $
* @link http://pear.php.net/package/Auth
*/
class Auth {
 
// {{{ properties
 
/**
* Auth lifetime in seconds
*
* If this variable is set to 0, auth never expires
*
* @var integer
* @see setExpire(), checkAuth()
*/
var $expire = 0;
 
/**
* Has the auth session expired?
*
* @var bool
* @see checkAuth()
*/
var $expired = false;
 
/**
* Maximum idletime in seconds
*
* The difference to $expire is, that the idletime gets
* refreshed each time checkAuth() is called. If this
* variable is set to 0, idletime is never checked.
*
* @var integer
* @see setIdle(), checkAuth()
*/
var $idle = 0;
 
/**
* Is the maximum idletime over?
*
* @var boolean
* @see checkAuth()
*/
var $idled = false;
 
/**
* Storage object
*
* @var object
* @see Auth(), validateLogin()
*/
var $storage = '';
 
/**
* User-defined function that creates the login screen
*
* @var string
*/
var $loginFunction = '';
 
/**
* Should the login form be displayed
*
* @var bool
* @see setShowlogin()
*/
var $showLogin = true;
 
/**
* Is Login Allowed from this page
*
* @var bool
* @see setAllowLogin
*/
var $allowLogin = true;
 
/**
* Current authentication status
*
* @var string
*/
var $status = '';
 
/**
* Username
*
* @var string
*/
var $username = '';
 
/**
* Password
*
* @var string
*/
var $password = '';
 
/**
* checkAuth callback function name
*
* @var string
* @see setCheckAuthCallback()
*/
var $checkAuthCallback = '';
 
/**
* Login callback function name
*
* @var string
* @see setLoginCallback()
*/
var $loginCallback = '';
 
/**
* Failed Login callback function name
*
* @var string
* @see setFailedLoginCallback()
*/
var $loginFailedCallback = '';
 
/**
* Logout callback function name
*
* @var string
* @see setLogoutCallback()
*/
var $logoutCallback = '';
 
/**
* Auth session-array name
*
* @var string
*/
var $_sessionName = '_authsession';
 
/**
* Package Version
*
* @var string
*/
var $version = "@version@";
 
/**
* Flag to use advanced security
* When set extra checks will be made to see if the
* user's IP or useragent have changed across requests.
* Turned off by default to preserve BC.
*
* @var boolean
*/
var $advancedsecurity = false;
 
/**
* Username key in POST array
*
* @var string
*/
var $_postUsername = 'username';
 
/**
* Password key in POST array
*
* @var string
*/
var $_postPassword = 'password';
 
/**
* Holds a reference to the session auth variable
* @var array
*/
var $session;
 
/**
* Holds a reference to the global server variable
* @var array
*/
var $server;
 
/**
* Holds a reference to the global post variable
* @var array
*/
var $post;
 
/**
* Holds a reference to the global cookie variable
* @var array
*/
var $cookie;
 
/**
* A hash to hold various superglobals as reference
* @var array
*/
var $authdata;
 
/**
* How many times has checkAuth been called
* @var int
*/
var $authChecks = 0;
 
/**
* PEAR::Log object
*
* @var object Log
*/
var $logger = null;
 
/**
* Whether to enable logging of behaviour
*
* @var boolean
*/
var $enableLogging = false;
 
/**
* Whether to regenerate session id everytime start is called
*
* @var boolean
*/
var $regenerateSessionId = false;
 
// }}}
// {{{ Auth() [constructor]
 
/**
* Constructor
*
* Set up the storage driver.
*
* @param string Type of the storage driver
* @param mixed Additional options for the storage driver
* (example: if you are using DB as the storage
* driver, you have to pass the dsn string here)
*
* @param string Name of the function that creates the login form
* @param boolean Should the login form be displayed if neccessary?
* @return void
*/
function Auth($storageDriver, $options = '', $loginFunction = '', $showLogin = true)
{
$this->applyAuthOptions($options);
 
// Start the session suppress error if already started
if(!session_id()){
@session_start();
if(!session_id()) {
// Throw error
include_once 'PEAR.php';
PEAR::throwError('Session could not be started by Auth, '
.'possibly headers are already sent, try putting '
.'ob_start in the beginning of your script');
}
}
 
// Make Sure Auth session variable is there
if(!isset($_SESSION[$this->_sessionName])) {
$_SESSION[$this->_sessionName] = array();
}
 
// Assign Some globals to internal references, this will replace _importGlobalVariable
$this->session =& $_SESSION[$this->_sessionName];
$this->server =& $_SERVER;
$this->post =& $_POST;
$this->cookie =& $_COOKIE;
 
if ($loginFunction != '' && is_callable($loginFunction)) {
$this->loginFunction = $loginFunction;
}
 
if (is_bool($showLogin)) {
$this->showLogin = $showLogin;
}
 
if (is_object($storageDriver)) {
$this->storage =& $storageDriver;
// Pass a reference to auth to the container, ugly but works
// this is used by the DB container to use method setAuthData not staticaly.
$this->storage->_auth_obj =& $this;
} else {
// $this->storage = $this->_factory($storageDriver, $options);
//
$this->storage_driver = $storageDriver;
$this->storage_options =& $options;
}
}
 
// }}}
// {{{ applyAuthOptions()
 
/**
* Set the Auth options
*
* Some options which are Auth specific will be applied
* the rest will be left for usage by the container
*
* @param array An array of Auth options
* @return array The options which were not applied
* @access private
*/
function &applyAuthOptions(&$options)
{
if(is_array($options)){
if (!empty($options['sessionName'])) {
$this->_sessionName = $options['sessionName'];
unset($options['sessionName']);
}
if (isset($options['allowLogin'])) {
$this->allowLogin = $options['allowLogin'];
unset($options['allowLogin']);
}
if (!empty($options['postUsername'])) {
$this->_postUsername = $options['postUsername'];
unset($options['postUsername']);
}
if (!empty($options['postPassword'])) {
$this->_postPassword = $options['postPassword'];
unset($options['postPassword']);
}
if (isset($options['advancedsecurity'])) {
$this->advancedsecurity = $options['advancedsecurity'];
unset($options['advancedsecurity']);
}
if (isset($options['enableLogging'])) {
$this->enableLogging = $options['enableLogging'];
unset($options['enableLogging']);
}
if (isset($options['regenerateSessionId']) && is_bool($options['regenerateSessionId'])) {
$this->regenerateSessionId = $options['regenerateSessionId'];
}
}
return($options);
}
 
// }}}
// {{{ _loadStorage()
 
/**
* Load Storage Driver if not already loaded
*
* Suspend storage instantiation to make Auth lighter to use
* for calls which do not require login
*
* @return bool True if the conainer is loaded, false if the container
* is already loaded
* @access private
*/
function _loadStorage()
{
if(!is_object($this->storage)) {
$this->storage =& $this->_factory($this->storage_driver,
$this->storage_options);
$this->storage->_auth_obj =& $this;
$this->log('Loaded storage container ('.$this->storage_driver.')', AUTH_LOG_DEBUG);
return(true);
}
return(false);
}
 
// }}}
// {{{ _factory()
 
/**
* Return a storage driver based on $driver and $options
*
* @static
* @param string $driver Type of storage class to return
* @param string $options Optional parameters for the storage class
* @return object Object Storage object
* @access private
*/
function &_factory($driver, $options = '')
{
$storage_class = 'Auth_Container_' . $driver;
include_once 'Auth/Container/' . $driver . '.php';
$obj =& new $storage_class($options);
return $obj;
}
 
// }}}
// {{{ assignData()
 
/**
* Assign data from login form to internal values
*
* This function takes the values for username and password
* from $HTTP_POST_VARS/$_POST and assigns them to internal variables.
* If you wish to use another source apart from $HTTP_POST_VARS/$_POST,
* you have to derive this function.
*
* @global $HTTP_POST_VARS, $_POST
* @see Auth
* @return void
* @access private
*/
function assignData()
{
$this->log('Auth::assignData() called.', AUTH_LOG_DEBUG);
 
if ( isset($this->post[$this->_postUsername])
&& $this->post[$this->_postUsername] != '') {
$this->username = (get_magic_quotes_gpc() == 1
? stripslashes($this->post[$this->_postUsername])
: $this->post[$this->_postUsername]);
}
if ( isset($this->post[$this->_postPassword])
&& $this->post[$this->_postPassword] != '') {
$this->password = (get_magic_quotes_gpc() == 1
? stripslashes($this->post[$this->_postPassword])
: $this->post[$this->_postPassword] );
}
}
 
// }}}
// {{{ start()
 
/**
* Start new auth session
*
* @return void
* @access public
*/
function start()
{
$this->log('Auth::start() called.', AUTH_LOG_DEBUG);
 
// #10729 - Regenerate session id here if we are generating it on every
// page load.
if ($this->regenerateSessionId) {
session_regenerate_id(true);
}
 
$this->assignData();
if (!$this->checkAuth() && $this->allowLogin) {
$this->login();
}
}
 
// }}}
// {{{ login()
 
/**
* Login function
*
* @return void
* @access private
*/
function login()
{
$this->log('Auth::login() called.', AUTH_LOG_DEBUG);
 
$login_ok = false;
$this->_loadStorage();
 
// Check if using challenge response
(isset($this->post['authsecret']) && $this->post['authsecret'] == 1)
? $usingChap = true
: $usingChap = false;
 
 
// When the user has already entered a username, we have to validate it.
if (!empty($this->username)) {
if (true === $this->storage->fetchData($this->username, $this->password, $usingChap)) {
$this->session['challengekey'] = md5($this->username.$this->password);
$login_ok = true;
$this->log('Successful login.', AUTH_LOG_INFO);
}
}
 
if (!empty($this->username) && $login_ok) {
$this->setAuth($this->username);
if (is_callable($this->loginCallback)) {
$this->log('Calling loginCallback ('.$this->loginCallback.').', AUTH_LOG_DEBUG);
call_user_func_array($this->loginCallback, array($this->username, &$this));
}
}
 
// If the login failed or the user entered no username,
// output the login screen again.
if (!empty($this->username) && !$login_ok) {
$this->log('Incorrect login.', AUTH_LOG_INFO);
$this->status = AUTH_WRONG_LOGIN;
if (is_callable($this->loginFailedCallback)) {
$this->log('Calling loginFailedCallback ('.$this->loginFailedCallback.').', AUTH_LOG_DEBUG);
call_user_func_array($this->loginFailedCallback, array($this->username, &$this));
}
}
 
if ((empty($this->username) || !$login_ok) && $this->showLogin) {
$this->log('Rendering Login Form.', AUTH_LOG_INFO);
if (is_callable($this->loginFunction)) {
$this->log('Calling loginFunction ('.$this->loginFunction.').', AUTH_LOG_DEBUG);
call_user_func_array($this->loginFunction, array($this->username, $this->status, &$this));
} else {
// BC fix Auth used to use drawLogin for this
// call is sub classes implement this
if (is_callable(array($this, 'drawLogin'))) {
$this->log('Calling Auth::drawLogin()', AUTH_LOG_DEBUG);
return $this->drawLogin($this->username, $this);
}
 
$this->log('Using default Auth_Frontend_Html', AUTH_LOG_DEBUG);
 
// New Login form
include_once 'Auth/Frontend/Html.php';
return Auth_Frontend_Html::render($this, $this->username);
}
} else {
return;
}
}
 
// }}}
// {{{ setExpire()
 
/**
* Set the maximum expire time
*
* @param integer time in seconds
* @param bool add time to current expire time or not
* @return void
* @access public
*/
function setExpire($time, $add = false)
{
$add ? $this->expire += $time : $this->expire = $time;
}
 
// }}}
// {{{ setIdle()
 
/**
* Set the maximum idle time
*
* @param integer time in seconds
* @param bool add time to current maximum idle time or not
* @return void
* @access public
*/
function setIdle($time, $add = false)
{
$add ? $this->idle += $time : $this->idle = $time;
}
 
// }}}
// {{{ setSessionName()
 
/**
* Set name of the session to a customized value.
*
* If you are using multiple instances of PEAR::Auth
* on the same domain, you can change the name of
* session per application via this function.
* This will chnage the name of the session variable
* auth uses to store it's data in the session
*
* @param string New name for the session
* @return void
* @access public
*/
function setSessionName($name = 'session')
{
$this->_sessionName = '_auth_'.$name;
// Make Sure Auth session variable is there
if(!isset($_SESSION[$this->_sessionName])) {
$_SESSION[$this->_sessionName] = array();
}
$this->session =& $_SESSION[$this->_sessionName];
}
 
// }}}
// {{{ setShowLogin()
 
/**
* Should the login form be displayed if neccessary?
*
* @param bool show login form or not
* @return void
* @access public
*/
function setShowLogin($showLogin = true)
{
$this->showLogin = $showLogin;
}
 
// }}}
// {{{ setAllowLogin()
 
/**
* Should the login form be displayed if neccessary?
*
* @param bool show login form or not
* @return void
* @access public
*/
function setAllowLogin($allowLogin = true)
{
$this->allowLogin = $allowLogin;
}
 
// }}}
// {{{ setCheckAuthCallback()
 
/**
* Register a callback function to be called whenever the validity of the login is checked
* The function will receive two parameters, the username and a reference to the auth object.
*
* @param string callback function name
* @return void
* @access public
* @since Method available since Release 1.4.3
*/
function setCheckAuthCallback($checkAuthCallback)
{
$this->checkAuthCallback = $checkAuthCallback;
}
 
// }}}
// {{{ setLoginCallback()
 
/**
* Register a callback function to be called on user login.
* The function will receive two parameters, the username and a reference to the auth object.
*
* @param string callback function name
* @return void
* @see setLogoutCallback()
* @access public
*/
function setLoginCallback($loginCallback)
{
$this->loginCallback = $loginCallback;
}
 
// }}}
// {{{ setFailedLoginCallback()
 
/**
* Register a callback function to be called on failed user login.
* The function will receive two parameters, the username and a reference to the auth object.
*
* @param string callback function name
* @return void
* @access public
*/
function setFailedLoginCallback($loginFailedCallback)
{
$this->loginFailedCallback = $loginFailedCallback;
}
 
// }}}
// {{{ setLogoutCallback()
 
/**
* Register a callback function to be called on user logout.
* The function will receive three parameters, the username and a reference to the auth object.
*
* @param string callback function name
* @return void
* @see setLoginCallback()
* @access public
*/
function setLogoutCallback($logoutCallback)
{
$this->logoutCallback = $logoutCallback;
}
 
// }}}
// {{{ setAuthData()
 
/**
* Register additional information that is to be stored
* in the session.
*
* @param string Name of the data field
* @param mixed Value of the data field
* @param boolean Should existing data be overwritten? (default
* is true)
* @return void
* @access public
*/
function setAuthData($name, $value, $overwrite = true)
{
if (!empty($this->session['data'][$name]) && $overwrite == false) {
return;
}
$this->session['data'][$name] = $value;
}
 
// }}}
// {{{ getAuthData()
 
/**
* Get additional information that is stored in the session.
*
* If no value for the first parameter is passed, the method will
* return all data that is currently stored.
*
* @param string Name of the data field
* @return mixed Value of the data field.
* @access public
*/
function getAuthData($name = null)
{
if (!isset($this->session['data'])) {
return null;
}
if(!isset($name)) {
return $this->session['data'];
}
if (isset($name) && isset($this->session['data'][$name])) {
return $this->session['data'][$name];
}
return null;
}
 
// }}}
// {{{ setAuth()
 
/**
* Register variable in a session telling that the user
* has logged in successfully
*
* @param string Username
* @return void
* @access public
*/
function setAuth($username)
{
$this->log('Auth::setAuth() called.', AUTH_LOG_DEBUG);
 
// #10729 - Regenerate session id here only if generating at login only
// Don't do it if we are regenerating on every request so we don't
// regenerate it twice in one request.
if (!$this->regenerateSessionId) {
// #2021 - Change the session id to avoid session fixation attacks php 4.3.3 >
session_regenerate_id(true);
}
 
if (!isset($this->session) || !is_array($this->session)) {
$this->session = array();
}
 
if (!isset($this->session['data'])) {
$this->session['data'] = array();
}
 
$this->session['sessionip'] = isset($this->server['REMOTE_ADDR'])
? $this->server['REMOTE_ADDR']
: '';
$this->session['sessionuseragent'] = isset($this->server['HTTP_USER_AGENT'])
? $this->server['HTTP_USER_AGENT']
: '';
$this->session['sessionforwardedfor'] = isset($this->server['HTTP_X_FORWARDED_FOR'])
? $this->server['HTTP_X_FORWARDED_FOR']
: '';
 
// This should be set by the container to something more safe
// Like md5(passwd.microtime)
if(empty($this->session['challengekey'])) {
$this->session['challengekey'] = md5($username.microtime());
}
 
$this->session['challengecookie'] = md5($this->session['challengekey'].microtime());
setcookie('authchallenge', $this->session['challengecookie']);
 
$this->session['registered'] = true;
$this->session['username'] = $username;
$this->session['timestamp'] = time();
$this->session['idle'] = time();
}
 
// }}}
// {{{ setAdvancedSecurity()
 
/**
* Enables advanced security checks
*
* Currently only ip change and useragent change
* are detected
* @todo Add challenge cookies - Create a cookie which changes every time
* and contains some challenge key which the server can verify with
* a session var cookie might need to be crypted (user pass)
* @param bool Enable or disable
* @return void
* @access public
*/
function setAdvancedSecurity($flag=true)
{
$this->advancedsecurity = $flag;
}
 
// }}}
// {{{ checkAuth()
 
/**
* Checks if there is a session with valid auth information.
*
* @access public
* @return boolean Whether or not the user is authenticated.
*/
function checkAuth()
{
$this->log('Auth::checkAuth() called.', AUTH_LOG_DEBUG);
$this->authChecks++;
if (isset($this->session)) {
// Check if authentication session is expired
if ( $this->expire > 0
&& isset($this->session['timestamp'])
&& ($this->session['timestamp'] + $this->expire) < time()) {
$this->log('Session Expired', AUTH_LOG_INFO);
$this->expired = true;
$this->status = AUTH_EXPIRED;
$this->logout();
return false;
}
 
// Check if maximum idle time is reached
if ( $this->idle > 0
&& isset($this->session['idle'])
&& ($this->session['idle'] + $this->idle) < time()) {
$this->log('Session Idle Time Reached', AUTH_LOG_INFO);
$this->idled = true;
$this->status = AUTH_IDLED;
$this->logout();
return false;
}
 
if ( isset($this->session['registered'])
&& isset($this->session['username'])
&& $this->session['registered'] == true
&& $this->session['username'] != '') {
Auth::updateIdle();
 
if ($this->advancedsecurity) {
$this->log('Advanced Security Mode Enabled.', AUTH_LOG_DEBUG);
 
// Only Generate the challenge once
if($this->authChecks == 1) {
$this->log('Generating new Challenge Cookie.', AUTH_LOG_DEBUG);
$this->session['challengecookieold'] = $this->session['challengecookie'];
$this->session['challengecookie'] = md5($this->session['challengekey'].microtime());
setcookie('authchallenge', $this->session['challengecookie']);
}
 
// Check for ip change
if ( isset($this->server['REMOTE_ADDR'])
&& $this->session['sessionip'] != $this->server['REMOTE_ADDR']) {
$this->log('Security Breach. Remote IP Address changed.', AUTH_LOG_INFO);
// Check if the IP of the user has changed, if so we
// assume a man in the middle attack and log him out
$this->expired = true;
$this->status = AUTH_SECURITY_BREACH;
$this->logout();
return false;
}
 
// Check for ip change (if connected via proxy)
if ( isset($this->server['HTTP_X_FORWARDED_FOR'])
&& $this->session['sessionforwardedfor'] != $this->server['HTTP_X_FORWARDED_FOR']) {
$this->log('Security Breach. Forwarded For IP Address changed.', AUTH_LOG_INFO);
// Check if the IP of the user connecting via proxy has
// changed, if so we assume a man in the middle attack
// and log him out.
$this->expired = true;
$this->status = AUTH_SECURITY_BREACH;
$this->logout();
return false;
}
 
// Check for useragent change
if ( isset($this->server['HTTP_USER_AGENT'])
&& $this->session['sessionuseragent'] != $this->server['HTTP_USER_AGENT']) {
$this->log('Security Breach. User Agent changed.', AUTH_LOG_INFO);
// Check if the User-Agent of the user has changed, if
// so we assume a man in the middle attack and log him out
$this->expired = true;
$this->status = AUTH_SECURITY_BREACH;
$this->logout();
return false;
}
 
// Check challenge cookie here, if challengecookieold is not set
// this is the first time and check is skipped
// TODO when user open two pages similtaneuly (open in new window,open
// in tab) auth breach is caused find out a way around that if possible
if ( isset($this->session['challengecookieold'])
&& $this->session['challengecookieold'] != $this->cookie['authchallenge']) {
$this->log('Security Breach. Challenge Cookie mismatch.', AUTH_LOG_INFO);
$this->expired = true;
$this->status = AUTH_SECURITY_BREACH;
$this->logout();
$this->login();
return false;
}
}
 
if (is_callable($this->checkAuthCallback)) {
$this->log('Calling checkAuthCallback ('.$this->checkAuthCallback.').', AUTH_LOG_DEBUG);
$checkCallback = call_user_func_array($this->checkAuthCallback, array($this->username, &$this));
if ($checkCallback == false) {
$this->log('checkAuthCallback failed.', AUTH_LOG_INFO);
$this->expired = true;
$this->status = AUTH_CALLBACK_ABORT;
$this->logout();
return false;
}
}
 
$this->log('Session OK.', AUTH_LOG_INFO);
return true;
}
}
$this->log('Unable to locate session storage.', AUTH_LOG_DEBUG);
return false;
}
 
// }}}
// {{{ staticCheckAuth() [static]
 
/**
* Statically checks if there is a session with valid auth information.
*
* @access public
* @see checkAuth
* @return boolean Whether or not the user is authenticated.
* @static
*/
function staticCheckAuth($options = null)
{
static $staticAuth;
if(!isset($staticAuth)) {
$staticAuth = new Auth('null', $options);
}
$staticAuth->log('Auth::staticCheckAuth() called', AUTH_LOG_DEBUG);
return $staticAuth->checkAuth();
}
 
// }}}
// {{{ getAuth()
 
/**
* Has the user been authenticated?
*
* @access public
* @return bool True if the user is logged in, otherwise false.
*/
function getAuth()
{
$this->log('Auth::getAuth() called.', AUTH_LOG_DEBUG);
return $this->checkAuth();
}
 
// }}}
// {{{ logout()
 
/**
* Logout function
*
* This function clears any auth tokens in the currently
* active session and executes the logout callback function,
* if any
*
* @access public
* @return void
*/
function logout()
{
$this->log('Auth::logout() called.', AUTH_LOG_DEBUG);
 
if (is_callable($this->logoutCallback) && isset($this->session['username'])) {
$this->log('Calling logoutCallback ('.$this->logoutCallback.').', AUTH_LOG_DEBUG);
call_user_func_array($this->logoutCallback, array($this->session['username'], &$this));
}
 
$this->username = '';
$this->password = '';
 
$this->session = null;
}
 
// }}}
// {{{ updateIdle()
 
/**
* Update the idletime
*
* @access private
* @return void
*/
function updateIdle()
{
$this->session['idle'] = time();
}
 
// }}}
// {{{ getUsername()
 
/**
* Get the username
*
* @return string
* @access public
*/
function getUsername()
{
if (isset($this->session['username'])) {
return($this->session['username']);
}
return('');
}
 
// }}}
// {{{ getStatus()
 
/**
* Get the current status
*
* @return string
* @access public
*/
function getStatus()
{
return $this->status;
}
 
// }}}
// {{{ getPostUsernameField()
 
/**
* Gets the post varible used for the username
*
* @return string
* @access public
*/
function getPostUsernameField()
{
return($this->_postUsername);
}
 
// }}}
// {{{ getPostPasswordField()
 
/**
* Gets the post varible used for the username
*
* @return string
* @access public
*/
function getPostPasswordField()
{
return($this->_postPassword);
}
 
// }}}
// {{{ sessionValidThru()
 
/**
* Returns the time up to the session is valid
*
* @access public
* @return integer
*/
function sessionValidThru()
{
if (!isset($this->session['idle'])) {
return 0;
}
if ($this->idle == 0) {
return 0;
}
return ($this->session['idle'] + $this->idle);
}
 
// }}}
// {{{ listUsers()
 
/**
* List all users that are currently available in the storage
* container
*
* @access public
* @return array
*/
function listUsers()
{
$this->log('Auth::listUsers() called.', AUTH_LOG_DEBUG);
$this->_loadStorage();
return $this->storage->listUsers();
}
 
// }}}
// {{{ addUser()
 
/**
* Add user to the storage container
*
* @access public
* @param string Username
* @param string Password
* @param mixed Additional parameters
* @return mixed True on success, PEAR error object on error
* and AUTH_METHOD_NOT_SUPPORTED otherwise.
*/
function addUser($username, $password, $additional = '')
{
$this->log('Auth::addUser() called.', AUTH_LOG_DEBUG);
$this->_loadStorage();
return $this->storage->addUser($username, $password, $additional);
}
 
// }}}
// {{{ removeUser()
 
/**
* Remove user from the storage container
*
* @access public
* @param string Username
* @return mixed True on success, PEAR error object on error
* and AUTH_METHOD_NOT_SUPPORTED otherwise.
*/
function removeUser($username)
{
$this->log('Auth::removeUser() called.', AUTH_LOG_DEBUG);
$this->_loadStorage();
return $this->storage->removeUser($username);
}
 
// }}}
// {{{ changePassword()
 
/**
* Change password for user in the storage container
*
* @access public
* @param string Username
* @param string The new password
* @return mixed True on success, PEAR error object on error
* and AUTH_METHOD_NOT_SUPPORTED otherwise.
*/
function changePassword($username, $password)
{
$this->log('Auth::changePassword() called', AUTH_LOG_DEBUG);
$this->_loadStorage();
return $this->storage->changePassword($username, $password);
}
 
// }}}
// {{{ log()
 
/**
* Log a message from the Auth system
*
* @access public
* @param string The message to log
* @param string The log level to log the message under. See the Log documentation for more info.
* @return boolean
*/
function log($message, $level = AUTH_LOG_DEBUG)
{
if (!$this->enableLogging) return false;
 
$this->_loadLogger();
 
$this->logger->log('AUTH: '.$message, $level);
}
 
// }}}
// {{{ _loadLogger()
 
/**
* Load Log object if not already loaded
*
* Suspend logger instantiation to make Auth lighter to use
* for calls which do not require logging
*
* @return bool True if the logger is loaded, false if the logger
* is already loaded
* @access private
*/
function _loadLogger()
{
if(is_null($this->logger)) {
if (!class_exists('Log')) {
include_once 'Log.php';
}
$this->logger =& Log::singleton('null',
null,
'auth['.getmypid().']',
array(),
AUTH_LOG_DEBUG);
return(true);
}
return(false);
}
 
// }}}
// {{{ attachLogObserver()
 
/**
* Attach an Observer to the Auth Log Source
*
* @param object Log_Observer A Log Observer instance
* @return boolean
*/
function attachLogObserver(&$observer) {
 
$this->_loadLogger();
 
return $this->logger->attach($observer);
 
}
 
// }}}
 
}
?>
<?php
/* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4 foldmethod=marker: */
 
/**
* The main include file for Auth package
*
* PHP versions 4 and 5
*
* LICENSE: This source file is subject to version 3.01 of the PHP license
* that is available through the world-wide-web at the following URI:
* http://www.php.net/license/3_01.txt. If you did not receive a copy of
* the PHP License and are unable to obtain it through the web, please
* send a note to license@php.net so we can mail you a copy immediately.
*
* @category Authentication
* @package Auth
* @author Martin Jansen <mj@php.net>
* @author Adam Ashley <aashley@php.net>
* @copyright 2001-2006 The PHP Group
* @license http://www.php.net/license/3_01.txt PHP License 3.01
* @version CVS: $Id: Auth.php,v 1.119 2007/07/02 03:38:52 aashley Exp $
* @link http://pear.php.net/package/Auth
*/
 
/**
* Returned if session exceeds idle time
*/
define('AUTH_IDLED', -1);
/**
* Returned if session has expired
*/
define('AUTH_EXPIRED', -2);
/**
* Returned if container is unable to authenticate user/password pair
*/
define('AUTH_WRONG_LOGIN', -3);
/**
* Returned if a container method is not supported.
*/
define('AUTH_METHOD_NOT_SUPPORTED', -4);
/**
* Returned if new Advanced security system detects a breach
*/
define('AUTH_SECURITY_BREACH', -5);
/**
* Returned if checkAuthCallback says session should not continue.
*/
define('AUTH_CALLBACK_ABORT', -6);
 
/**
* Auth Log level - INFO
*/
define('AUTH_LOG_INFO', 6);
/**
* Auth Log level - DEBUG
*/
define('AUTH_LOG_DEBUG', 7);
 
 
/**
* PEAR::Auth
*
* The PEAR::Auth class provides methods for creating an
* authentication system using PHP.
*
* @category Authentication
* @package Auth
* @author Martin Jansen <mj@php.net>
* @author Adam Ashley <aashley@php.net>
* @copyright 2001-2006 The PHP Group
* @license http://www.php.net/license/3_01.txt PHP License 3.01
* @version Release: 1.5.4 File: $Revision: 1.119 $
* @link http://pear.php.net/package/Auth
*/
class Auth {
 
// {{{ properties
 
/**
* Auth lifetime in seconds
*
* If this variable is set to 0, auth never expires
*
* @var integer
* @see setExpire(), checkAuth()
*/
var $expire = 0;
 
/**
* Has the auth session expired?
*
* @var bool
* @see checkAuth()
*/
var $expired = false;
 
/**
* Maximum idletime in seconds
*
* The difference to $expire is, that the idletime gets
* refreshed each time checkAuth() is called. If this
* variable is set to 0, idletime is never checked.
*
* @var integer
* @see setIdle(), checkAuth()
*/
var $idle = 0;
 
/**
* Is the maximum idletime over?
*
* @var boolean
* @see checkAuth()
*/
var $idled = false;
 
/**
* Storage object
*
* @var object
* @see Auth(), validateLogin()
*/
var $storage = '';
 
/**
* User-defined function that creates the login screen
*
* @var string
*/
var $loginFunction = '';
 
/**
* Should the login form be displayed
*
* @var bool
* @see setShowlogin()
*/
var $showLogin = true;
 
/**
* Is Login Allowed from this page
*
* @var bool
* @see setAllowLogin
*/
var $allowLogin = true;
 
/**
* Current authentication status
*
* @var string
*/
var $status = '';
 
/**
* Username
*
* @var string
*/
var $username = '';
 
/**
* Password
*
* @var string
*/
var $password = '';
 
/**
* checkAuth callback function name
*
* @var string
* @see setCheckAuthCallback()
*/
var $checkAuthCallback = '';
 
/**
* Login callback function name
*
* @var string
* @see setLoginCallback()
*/
var $loginCallback = '';
 
/**
* Failed Login callback function name
*
* @var string
* @see setFailedLoginCallback()
*/
var $loginFailedCallback = '';
 
/**
* Logout callback function name
*
* @var string
* @see setLogoutCallback()
*/
var $logoutCallback = '';
 
/**
* Auth session-array name
*
* @var string
*/
var $_sessionName = '_authsession';
 
/**
* Package Version
*
* @var string
*/
var $version = "@version@";
 
/**
* Flag to use advanced security
* When set extra checks will be made to see if the
* user's IP or useragent have changed across requests.
* Turned off by default to preserve BC.
*
* @var boolean
*/
var $advancedsecurity = false;
 
/**
* Username key in POST array
*
* @var string
*/
var $_postUsername = 'username';
 
/**
* Password key in POST array
*
* @var string
*/
var $_postPassword = 'password';
 
/**
* Holds a reference to the session auth variable
* @var array
*/
var $session;
 
/**
* Holds a reference to the global server variable
* @var array
*/
var $server;
 
/**
* Holds a reference to the global post variable
* @var array
*/
var $post;
 
/**
* Holds a reference to the global cookie variable
* @var array
*/
var $cookie;
 
/**
* A hash to hold various superglobals as reference
* @var array
*/
var $authdata;
 
/**
* How many times has checkAuth been called
* @var int
*/
var $authChecks = 0;
 
/**
* PEAR::Log object
*
* @var object Log
*/
var $logger = null;
 
/**
* Whether to enable logging of behaviour
*
* @var boolean
*/
var $enableLogging = false;
 
/**
* Whether to regenerate session id everytime start is called
*
* @var boolean
*/
var $regenerateSessionId = false;
 
// }}}
// {{{ Auth() [constructor]
 
/**
* Constructor
*
* Set up the storage driver.
*
* @param string Type of the storage driver
* @param mixed Additional options for the storage driver
* (example: if you are using DB as the storage
* driver, you have to pass the dsn string here)
*
* @param string Name of the function that creates the login form
* @param boolean Should the login form be displayed if neccessary?
* @return void
*/
function Auth($storageDriver, $options = '', $loginFunction = '', $showLogin = true)
{
$this->applyAuthOptions($options);
 
// Start the session suppress error if already started
if(!session_id()){
@session_start();
if(!session_id()) {
// Throw error
include_once 'PEAR.php';
PEAR::throwError('Session could not be started by Auth, '
.'possibly headers are already sent, try putting '
.'ob_start in the beginning of your script');
}
}
 
// Make Sure Auth session variable is there
if(!isset($_SESSION[$this->_sessionName])) {
$_SESSION[$this->_sessionName] = array();
}
 
// Assign Some globals to internal references, this will replace _importGlobalVariable
$this->session =& $_SESSION[$this->_sessionName];
$this->server =& $_SERVER;
$this->post =& $_POST;
$this->cookie =& $_COOKIE;
 
if ($loginFunction != '' && is_callable($loginFunction)) {
$this->loginFunction = $loginFunction;
}
 
if (is_bool($showLogin)) {
$this->showLogin = $showLogin;
}
 
if (is_object($storageDriver)) {
$this->storage =& $storageDriver;
// Pass a reference to auth to the container, ugly but works
// this is used by the DB container to use method setAuthData not staticaly.
$this->storage->_auth_obj =& $this;
} else {
// $this->storage = $this->_factory($storageDriver, $options);
//
$this->storage_driver = $storageDriver;
$this->storage_options =& $options;
}
}
 
// }}}
// {{{ applyAuthOptions()
 
/**
* Set the Auth options
*
* Some options which are Auth specific will be applied
* the rest will be left for usage by the container
*
* @param array An array of Auth options
* @return array The options which were not applied
* @access private
*/
function &applyAuthOptions(&$options)
{
if(is_array($options)){
if (!empty($options['sessionName'])) {
$this->_sessionName = $options['sessionName'];
unset($options['sessionName']);
}
if (isset($options['allowLogin'])) {
$this->allowLogin = $options['allowLogin'];
unset($options['allowLogin']);
}
if (!empty($options['postUsername'])) {
$this->_postUsername = $options['postUsername'];
unset($options['postUsername']);
}
if (!empty($options['postPassword'])) {
$this->_postPassword = $options['postPassword'];
unset($options['postPassword']);
}
if (isset($options['advancedsecurity'])) {
$this->advancedsecurity = $options['advancedsecurity'];
unset($options['advancedsecurity']);
}
if (isset($options['enableLogging'])) {
$this->enableLogging = $options['enableLogging'];
unset($options['enableLogging']);
}
if (isset($options['regenerateSessionId']) && is_bool($options['regenerateSessionId'])) {
$this->regenerateSessionId = $options['regenerateSessionId'];
}
}
return($options);
}
 
// }}}
// {{{ _loadStorage()
 
/**
* Load Storage Driver if not already loaded
*
* Suspend storage instantiation to make Auth lighter to use
* for calls which do not require login
*
* @return bool True if the conainer is loaded, false if the container
* is already loaded
* @access private
*/
function _loadStorage()
{
if(!is_object($this->storage)) {
$this->storage =& $this->_factory($this->storage_driver,
$this->storage_options);
$this->storage->_auth_obj =& $this;
$this->log('Loaded storage container ('.$this->storage_driver.')', AUTH_LOG_DEBUG);
return(true);
}
return(false);
}
 
// }}}
// {{{ _factory()
 
/**
* Return a storage driver based on $driver and $options
*
* @static
* @param string $driver Type of storage class to return
* @param string $options Optional parameters for the storage class
* @return object Object Storage object
* @access private
*/
function &_factory($driver, $options = '')
{
$storage_class = 'Auth_Container_' . $driver;
include_once 'Auth/Container/' . $driver . '.php';
$obj =& new $storage_class($options);
return $obj;
}
 
// }}}
// {{{ assignData()
 
/**
* Assign data from login form to internal values
*
* This function takes the values for username and password
* from $HTTP_POST_VARS/$_POST and assigns them to internal variables.
* If you wish to use another source apart from $HTTP_POST_VARS/$_POST,
* you have to derive this function.
*
* @global $HTTP_POST_VARS, $_POST
* @see Auth
* @return void
* @access private
*/
function assignData()
{
$this->log('Auth::assignData() called.', AUTH_LOG_DEBUG);
 
if ( isset($this->post[$this->_postUsername])
&& $this->post[$this->_postUsername] != '') {
$this->username = (get_magic_quotes_gpc() == 1
? stripslashes($this->post[$this->_postUsername])
: $this->post[$this->_postUsername]);
}
if ( isset($this->post[$this->_postPassword])
&& $this->post[$this->_postPassword] != '') {
$this->password = (get_magic_quotes_gpc() == 1
? stripslashes($this->post[$this->_postPassword])
: $this->post[$this->_postPassword] );
}
}
 
// }}}
// {{{ start()
 
/**
* Start new auth session
*
* @return void
* @access public
*/
function start()
{
$this->log('Auth::start() called.', AUTH_LOG_DEBUG);
 
// #10729 - Regenerate session id here if we are generating it on every
// page load.
if ($this->regenerateSessionId) {
session_regenerate_id(true);
}
 
$this->assignData();
if (!$this->checkAuth() && $this->allowLogin) {
$this->login();
}
}
 
// }}}
// {{{ login()
 
/**
* Login function
*
* @return void
* @access private
*/
function login()
{
$this->log('Auth::login() called.', AUTH_LOG_DEBUG);
 
$login_ok = false;
$this->_loadStorage();
 
// Check if using challenge response
(isset($this->post['authsecret']) && $this->post['authsecret'] == 1)
? $usingChap = true
: $usingChap = false;
 
 
// When the user has already entered a username, we have to validate it.
if (!empty($this->username)) {
if (true === $this->storage->fetchData($this->username, $this->password, $usingChap)) {
$this->session['challengekey'] = md5($this->username.$this->password);
$login_ok = true;
$this->log('Successful login.', AUTH_LOG_INFO);
}
}
 
if (!empty($this->username) && $login_ok) {
$this->setAuth($this->username);
if (is_callable($this->loginCallback)) {
$this->log('Calling loginCallback ('.$this->loginCallback.').', AUTH_LOG_DEBUG);
call_user_func_array($this->loginCallback, array($this->username, &$this));
}
}
 
// If the login failed or the user entered no username,
// output the login screen again.
if (!empty($this->username) && !$login_ok) {
$this->log('Incorrect login.', AUTH_LOG_INFO);
$this->status = AUTH_WRONG_LOGIN;
if (is_callable($this->loginFailedCallback)) {
$this->log('Calling loginFailedCallback ('.$this->loginFailedCallback.').', AUTH_LOG_DEBUG);
call_user_func_array($this->loginFailedCallback, array($this->username, &$this));
}
}
 
if ((empty($this->username) || !$login_ok) && $this->showLogin) {
$this->log('Rendering Login Form.', AUTH_LOG_INFO);
if (is_callable($this->loginFunction)) {
$this->log('Calling loginFunction ('.$this->loginFunction.').', AUTH_LOG_DEBUG);
call_user_func_array($this->loginFunction, array($this->username, $this->status, &$this));
} else {
// BC fix Auth used to use drawLogin for this
// call is sub classes implement this
if (is_callable(array($this, 'drawLogin'))) {
$this->log('Calling Auth::drawLogin()', AUTH_LOG_DEBUG);
return $this->drawLogin($this->username, $this);
}
 
$this->log('Using default Auth_Frontend_Html', AUTH_LOG_DEBUG);
 
// New Login form
include_once 'Auth/Frontend/Html.php';
return Auth_Frontend_Html::render($this, $this->username);
}
} else {
return;
}
}
 
// }}}
// {{{ setExpire()
 
/**
* Set the maximum expire time
*
* @param integer time in seconds
* @param bool add time to current expire time or not
* @return void
* @access public
*/
function setExpire($time, $add = false)
{
$add ? $this->expire += $time : $this->expire = $time;
}
 
// }}}
// {{{ setIdle()
 
/**
* Set the maximum idle time
*
* @param integer time in seconds
* @param bool add time to current maximum idle time or not
* @return void
* @access public
*/
function setIdle($time, $add = false)
{
$add ? $this->idle += $time : $this->idle = $time;
}
 
// }}}
// {{{ setSessionName()
 
/**
* Set name of the session to a customized value.
*
* If you are using multiple instances of PEAR::Auth
* on the same domain, you can change the name of
* session per application via this function.
* This will chnage the name of the session variable
* auth uses to store it's data in the session
*
* @param string New name for the session
* @return void
* @access public
*/
function setSessionName($name = 'session')
{
$this->_sessionName = '_auth_'.$name;
// Make Sure Auth session variable is there
if(!isset($_SESSION[$this->_sessionName])) {
$_SESSION[$this->_sessionName] = array();
}
$this->session =& $_SESSION[$this->_sessionName];
}
 
// }}}
// {{{ setShowLogin()
 
/**
* Should the login form be displayed if neccessary?
*
* @param bool show login form or not
* @return void
* @access public
*/
function setShowLogin($showLogin = true)
{
$this->showLogin = $showLogin;
}
 
// }}}
// {{{ setAllowLogin()
 
/**
* Should the login form be displayed if neccessary?
*
* @param bool show login form or not
* @return void
* @access public
*/
function setAllowLogin($allowLogin = true)
{
$this->allowLogin = $allowLogin;
}
 
// }}}
// {{{ setCheckAuthCallback()
 
/**
* Register a callback function to be called whenever the validity of the login is checked
* The function will receive two parameters, the username and a reference to the auth object.
*
* @param string callback function name
* @return void
* @access public
* @since Method available since Release 1.4.3
*/
function setCheckAuthCallback($checkAuthCallback)
{
$this->checkAuthCallback = $checkAuthCallback;
}
 
// }}}
// {{{ setLoginCallback()
 
/**
* Register a callback function to be called on user login.
* The function will receive two parameters, the username and a reference to the auth object.
*
* @param string callback function name
* @return void
* @see setLogoutCallback()
* @access public
*/
function setLoginCallback($loginCallback)
{
$this->loginCallback = $loginCallback;
}
 
// }}}
// {{{ setFailedLoginCallback()
 
/**
* Register a callback function to be called on failed user login.
* The function will receive two parameters, the username and a reference to the auth object.
*
* @param string callback function name
* @return void
* @access public
*/
function setFailedLoginCallback($loginFailedCallback)
{
$this->loginFailedCallback = $loginFailedCallback;
}
 
// }}}
// {{{ setLogoutCallback()
 
/**
* Register a callback function to be called on user logout.
* The function will receive three parameters, the username and a reference to the auth object.
*
* @param string callback function name
* @return void
* @see setLoginCallback()
* @access public
*/
function setLogoutCallback($logoutCallback)
{
$this->logoutCallback = $logoutCallback;
}
 
// }}}
// {{{ setAuthData()
 
/**
* Register additional information that is to be stored
* in the session.
*
* @param string Name of the data field
* @param mixed Value of the data field
* @param boolean Should existing data be overwritten? (default
* is true)
* @return void
* @access public
*/
function setAuthData($name, $value, $overwrite = true)
{
if (!empty($this->session['data'][$name]) && $overwrite == false) {
return;
}
$this->session['data'][$name] = $value;
}
 
// }}}
// {{{ getAuthData()
 
/**
* Get additional information that is stored in the session.
*
* If no value for the first parameter is passed, the method will
* return all data that is currently stored.
*
* @param string Name of the data field
* @return mixed Value of the data field.
* @access public
*/
function getAuthData($name = null)
{
if (!isset($this->session['data'])) {
return null;
}
if(!isset($name)) {
return $this->session['data'];
}
if (isset($name) && isset($this->session['data'][$name])) {
return $this->session['data'][$name];
}
return null;
}
 
// }}}
// {{{ setAuth()
 
/**
* Register variable in a session telling that the user
* has logged in successfully
*
* @param string Username
* @return void
* @access public
*/
function setAuth($username)
{
$this->log('Auth::setAuth() called.', AUTH_LOG_DEBUG);
 
// #10729 - Regenerate session id here only if generating at login only
// Don't do it if we are regenerating on every request so we don't
// regenerate it twice in one request.
if (!$this->regenerateSessionId) {
// #2021 - Change the session id to avoid session fixation attacks php 4.3.3 >
session_regenerate_id(true);
}
 
if (!isset($this->session) || !is_array($this->session)) {
$this->session = array();
}
 
if (!isset($this->session['data'])) {
$this->session['data'] = array();
}
 
$this->session['sessionip'] = isset($this->server['REMOTE_ADDR'])
? $this->server['REMOTE_ADDR']
: '';
$this->session['sessionuseragent'] = isset($this->server['HTTP_USER_AGENT'])
? $this->server['HTTP_USER_AGENT']
: '';
$this->session['sessionforwardedfor'] = isset($this->server['HTTP_X_FORWARDED_FOR'])
? $this->server['HTTP_X_FORWARDED_FOR']
: '';
 
// This should be set by the container to something more safe
// Like md5(passwd.microtime)
if(empty($this->session['challengekey'])) {
$this->session['challengekey'] = md5($username.microtime());
}
 
$this->session['challengecookie'] = md5($this->session['challengekey'].microtime());
setcookie('authchallenge', $this->session['challengecookie']);
 
$this->session['registered'] = true;
$this->session['username'] = $username;
$this->session['timestamp'] = time();
$this->session['idle'] = time();
}
 
// }}}
// {{{ setAdvancedSecurity()
 
/**
* Enables advanced security checks
*
* Currently only ip change and useragent change
* are detected
* @todo Add challenge cookies - Create a cookie which changes every time
* and contains some challenge key which the server can verify with
* a session var cookie might need to be crypted (user pass)
* @param bool Enable or disable
* @return void
* @access public
*/
function setAdvancedSecurity($flag=true)
{
$this->advancedsecurity = $flag;
}
 
// }}}
// {{{ checkAuth()
 
/**
* Checks if there is a session with valid auth information.
*
* @access public
* @return boolean Whether or not the user is authenticated.
*/
function checkAuth()
{
$this->log('Auth::checkAuth() called.', AUTH_LOG_DEBUG);
$this->authChecks++;
if (isset($this->session)) {
// Check if authentication session is expired
if ( $this->expire > 0
&& isset($this->session['timestamp'])
&& ($this->session['timestamp'] + $this->expire) < time()) {
$this->log('Session Expired', AUTH_LOG_INFO);
$this->expired = true;
$this->status = AUTH_EXPIRED;
$this->logout();
return false;
}
 
// Check if maximum idle time is reached
if ( $this->idle > 0
&& isset($this->session['idle'])
&& ($this->session['idle'] + $this->idle) < time()) {
$this->log('Session Idle Time Reached', AUTH_LOG_INFO);
$this->idled = true;
$this->status = AUTH_IDLED;
$this->logout();
return false;
}
 
if ( isset($this->session['registered'])
&& isset($this->session['username'])
&& $this->session['registered'] == true
&& $this->session['username'] != '') {
Auth::updateIdle();
 
if ($this->advancedsecurity) {
$this->log('Advanced Security Mode Enabled.', AUTH_LOG_DEBUG);
 
// Only Generate the challenge once
if($this->authChecks == 1) {
$this->log('Generating new Challenge Cookie.', AUTH_LOG_DEBUG);
$this->session['challengecookieold'] = $this->session['challengecookie'];
$this->session['challengecookie'] = md5($this->session['challengekey'].microtime());
setcookie('authchallenge', $this->session['challengecookie']);
}
 
// Check for ip change
if ( isset($this->server['REMOTE_ADDR'])
&& $this->session['sessionip'] != $this->server['REMOTE_ADDR']) {
$this->log('Security Breach. Remote IP Address changed.', AUTH_LOG_INFO);
// Check if the IP of the user has changed, if so we
// assume a man in the middle attack and log him out
$this->expired = true;
$this->status = AUTH_SECURITY_BREACH;
$this->logout();
return false;
}
 
// Check for ip change (if connected via proxy)
if ( isset($this->server['HTTP_X_FORWARDED_FOR'])
&& $this->session['sessionforwardedfor'] != $this->server['HTTP_X_FORWARDED_FOR']) {
$this->log('Security Breach. Forwarded For IP Address changed.', AUTH_LOG_INFO);
// Check if the IP of the user connecting via proxy has
// changed, if so we assume a man in the middle attack
// and log him out.
$this->expired = true;
$this->status = AUTH_SECURITY_BREACH;
$this->logout();
return false;
}
 
// Check for useragent change
if ( isset($this->server['HTTP_USER_AGENT'])
&& $this->session['sessionuseragent'] != $this->server['HTTP_USER_AGENT']) {
$this->log('Security Breach. User Agent changed.', AUTH_LOG_INFO);
// Check if the User-Agent of the user has changed, if
// so we assume a man in the middle attack and log him out
$this->expired = true;
$this->status = AUTH_SECURITY_BREACH;
$this->logout();
return false;
}
 
// Check challenge cookie here, if challengecookieold is not set
// this is the first time and check is skipped
// TODO when user open two pages similtaneuly (open in new window,open
// in tab) auth breach is caused find out a way around that if possible
if ( isset($this->session['challengecookieold'])
&& $this->session['challengecookieold'] != $this->cookie['authchallenge']) {
$this->log('Security Breach. Challenge Cookie mismatch.', AUTH_LOG_INFO);
$this->expired = true;
$this->status = AUTH_SECURITY_BREACH;
$this->logout();
$this->login();
return false;
}
}
 
if (is_callable($this->checkAuthCallback)) {
$this->log('Calling checkAuthCallback ('.$this->checkAuthCallback.').', AUTH_LOG_DEBUG);
$checkCallback = call_user_func_array($this->checkAuthCallback, array($this->username, &$this));
if ($checkCallback == false) {
$this->log('checkAuthCallback failed.', AUTH_LOG_INFO);
$this->expired = true;
$this->status = AUTH_CALLBACK_ABORT;
$this->logout();
return false;
}
}
 
$this->log('Session OK.', AUTH_LOG_INFO);
return true;
}
}
$this->log('Unable to locate session storage.', AUTH_LOG_DEBUG);
return false;
}
 
// }}}
// {{{ staticCheckAuth() [static]
 
/**
* Statically checks if there is a session with valid auth information.
*
* @access public
* @see checkAuth
* @return boolean Whether or not the user is authenticated.
* @static
*/
function staticCheckAuth($options = null)
{
static $staticAuth;
if(!isset($staticAuth)) {
$staticAuth = new Auth('null', $options);
}
$staticAuth->log('Auth::staticCheckAuth() called', AUTH_LOG_DEBUG);
return $staticAuth->checkAuth();
}
 
// }}}
// {{{ getAuth()
 
/**
* Has the user been authenticated?
*
* @access public
* @return bool True if the user is logged in, otherwise false.
*/
function getAuth()
{
$this->log('Auth::getAuth() called.', AUTH_LOG_DEBUG);
return $this->checkAuth();
}
 
// }}}
// {{{ logout()
 
/**
* Logout function
*
* This function clears any auth tokens in the currently
* active session and executes the logout callback function,
* if any
*
* @access public
* @return void
*/
function logout()
{
$this->log('Auth::logout() called.', AUTH_LOG_DEBUG);
 
if (is_callable($this->logoutCallback) && isset($this->session['username'])) {
$this->log('Calling logoutCallback ('.$this->logoutCallback.').', AUTH_LOG_DEBUG);
call_user_func_array($this->logoutCallback, array($this->session['username'], &$this));
}
 
$this->username = '';
$this->password = '';
 
$this->session = null;
}
 
// }}}
// {{{ updateIdle()
 
/**
* Update the idletime
*
* @access private
* @return void
*/
function updateIdle()
{
$this->session['idle'] = time();
}
 
// }}}
// {{{ getUsername()
 
/**
* Get the username
*
* @return string
* @access public
*/
function getUsername()
{
if (isset($this->session['username'])) {
return($this->session['username']);
}
return('');
}
 
// }}}
// {{{ getStatus()
 
/**
* Get the current status
*
* @return string
* @access public
*/
function getStatus()
{
return $this->status;
}
 
// }}}
// {{{ getPostUsernameField()
 
/**
* Gets the post varible used for the username
*
* @return string
* @access public
*/
function getPostUsernameField()
{
return($this->_postUsername);
}
 
// }}}
// {{{ getPostPasswordField()
 
/**
* Gets the post varible used for the username
*
* @return string
* @access public
*/
function getPostPasswordField()
{
return($this->_postPassword);
}
 
// }}}
// {{{ sessionValidThru()
 
/**
* Returns the time up to the session is valid
*
* @access public
* @return integer
*/
function sessionValidThru()
{
if (!isset($this->session['idle'])) {
return 0;
}
if ($this->idle == 0) {
return 0;
}
return ($this->session['idle'] + $this->idle);
}
 
// }}}
// {{{ listUsers()
 
/**
* List all users that are currently available in the storage
* container
*
* @access public
* @return array
*/
function listUsers()
{
$this->log('Auth::listUsers() called.', AUTH_LOG_DEBUG);
$this->_loadStorage();
return $this->storage->listUsers();
}
 
// }}}
// {{{ addUser()
 
/**
* Add user to the storage container
*
* @access public
* @param string Username
* @param string Password
* @param mixed Additional parameters
* @return mixed True on success, PEAR error object on error
* and AUTH_METHOD_NOT_SUPPORTED otherwise.
*/
function addUser($username, $password, $additional = '')
{
$this->log('Auth::addUser() called.', AUTH_LOG_DEBUG);
$this->_loadStorage();
return $this->storage->addUser($username, $password, $additional);
}
 
// }}}
// {{{ removeUser()
 
/**
* Remove user from the storage container
*
* @access public
* @param string Username
* @return mixed True on success, PEAR error object on error
* and AUTH_METHOD_NOT_SUPPORTED otherwise.
*/
function removeUser($username)
{
$this->log('Auth::removeUser() called.', AUTH_LOG_DEBUG);
$this->_loadStorage();
return $this->storage->removeUser($username);
}
 
// }}}
// {{{ changePassword()
 
/**
* Change password for user in the storage container
*
* @access public
* @param string Username
* @param string The new password
* @return mixed True on success, PEAR error object on error
* and AUTH_METHOD_NOT_SUPPORTED otherwise.
*/
function changePassword($username, $password)
{
$this->log('Auth::changePassword() called', AUTH_LOG_DEBUG);
$this->_loadStorage();
return $this->storage->changePassword($username, $password);
}
 
// }}}
// {{{ log()
 
/**
* Log a message from the Auth system
*
* @access public
* @param string The message to log
* @param string The log level to log the message under. See the Log documentation for more info.
* @return boolean
*/
function log($message, $level = AUTH_LOG_DEBUG)
{
if (!$this->enableLogging) return false;
 
$this->_loadLogger();
 
$this->logger->log('AUTH: '.$message, $level);
}
 
// }}}
// {{{ _loadLogger()
 
/**
* Load Log object if not already loaded
*
* Suspend logger instantiation to make Auth lighter to use
* for calls which do not require logging
*
* @return bool True if the logger is loaded, false if the logger
* is already loaded
* @access private
*/
function _loadLogger()
{
if(is_null($this->logger)) {
if (!class_exists('Log')) {
include_once 'Log.php';
}
$this->logger =& Log::singleton('null',
null,
'auth['.getmypid().']',
array(),
AUTH_LOG_DEBUG);
return(true);
}
return(false);
}
 
// }}}
// {{{ attachLogObserver()
 
/**
* Attach an Observer to the Auth Log Source
*
* @param object Log_Observer A Log Observer instance
* @return boolean
*/
function attachLogObserver(&$observer) {
 
$this->_loadLogger();
 
return $this->logger->attach($observer);
 
}
 
// }}}
 
}
?>
/trunk/api/pear/Pager/Common.php
33,7 → 33,7
* @author Richard Heyes <richard@phpguru.org>
* @copyright 2003-2006 Lorenzo Alberton, Richard Heyes
* @license http://www.debian.org/misc/bsd.license BSD License (3 Clause)
* @version CVS: $Id$
* @version CVS: $Id: Common.php,v 1.2 2007-11-06 10:54:04 jp_milcent Exp $
* @link http://pear.php.net/package/Pager
*/
 
/trunk/api/pear/Pager/Jumping.php
33,7 → 33,7
* @author Richard Heyes <richard@phpguru.org>,
* @copyright 2003-2006 Lorenzo Alberton, Richard Heyes
* @license http://www.debian.org/misc/bsd.license BSD License (3 Clause)
* @version CVS: $Id$
* @version CVS: $Id: Jumping.php,v 1.2 2007-11-06 10:54:04 jp_milcent Exp $
* @link http://pear.php.net/package/Pager
*/
 
/trunk/api/pear/Pager/Sliding.php
32,7 → 32,7
* @author Lorenzo Alberton <l dot alberton at quipo dot it>
* @copyright 2003-2006 Lorenzo Alberton
* @license http://www.debian.org/misc/bsd.license BSD License (3 Clause)
* @version CVS: $Id$
* @version CVS: $Id: Sliding.php,v 1.2 2007-11-06 10:54:04 jp_milcent Exp $
* @link http://pear.php.net/package/Pager
*/
 
/trunk/api/pear/Pager/HtmlWidgets.php
32,7 → 32,7
* @author Lorenzo Alberton <l dot alberton at quipo dot it>
* @copyright 2003-2006 Lorenzo Alberton
* @license http://www.debian.org/misc/bsd.license BSD License (3 Clause)
* @version CVS: $Id$
* @version CVS: $Id: HtmlWidgets.php,v 1.2 2007-11-06 10:54:04 jp_milcent Exp $
* @link http://pear.php.net/package/Pager
*/
 
/trunk/api/pear/Pager/Pager.php
33,7 → 33,7
* @author Richard Heyes <richard@phpguru.org>
* @copyright 2003-2006 Lorenzo Alberton, Richard Heyes
* @license http://www.debian.org/misc/bsd.license BSD License (3 Clause)
* @version CVS: $Id$
* @version CVS: $Id: Pager.php,v 1.2 2007-11-06 10:54:04 jp_milcent Exp $
* @link http://pear.php.net/package/Pager
*/
 
/trunk/api/pear/XML/Parser.php
18,7 → 18,7
// | Stephan Schmidt <schst@php-tools.net> |
// +----------------------------------------------------------------------+
//
// $Id: Parser.php,v 1.3 2007-11-19 15:11:00 jp_milcent Exp $
// $Id: Parser.php,v 1.2.2.2 2007-11-19 13:12:51 alexandre_tb Exp $
 
/**
* XML Parser class.
/trunk/api/pear/XML/Feed/Parser.php
103,10 → 103,10
 
}
 
 
/* detect feed type */
$doc_element = $this->model->documentElement;
$error = false;
 
switch (true) {
case ($doc_element->namespaceURI == 'http://www.w3.org/2005/Atom'):
require_once 'XML/Feed/Parser/Atom.php';
348,4 → 348,4
return $this->feed->__toString();
}
}
?>
?>
/trunk/api/pear/XML/Feed/Parser/RSS2.php
1,334 → 1,335
<?php
/* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4: */
 
/**
* Class representing feed-level data for an RSS2 feed
*
* PHP versions 5
*
* LICENSE: This source file is subject to version 3.0 of the PHP license
* that is available through the world-wide-web at the following URI:
* http://www.php.net/license/3_0.txt. If you did not receive a copy of
* the PHP License and are unable to obtain it through the web, please
* send a note to license@php.net so we can mail you a copy immediately.
*
* @category XML
* @package XML_Feed_Parser
* @author James Stewart <james@jystewart.net>
* @copyright 2005 James Stewart <james@jystewart.net>
* @license http://www.gnu.org/copyleft/lesser.html GNU LGPL 2.1
* @version CVS: $Id: RSS2.php,v 1.2 2007-07-25 15:05:34 jp_milcent Exp $
* @link http://pear.php.net/package/XML_Feed_Parser/
*/
 
/**
* This class handles RSS2 feeds.
*
* @author James Stewart <james@jystewart.net>
* @version Release: 1.0.2
* @package XML_Feed_Parser
*/
class XML_Feed_Parser_RSS2 extends XML_Feed_Parser_Type
{
/**
* The URI of the RelaxNG schema used to (optionally) validate the feed
* @var string
*/
private $relax = 'rss20.rnc';
 
/**
* We're likely to use XPath, so let's keep it global
* @var DOMXPath
*/
protected $xpath;
 
/**
* The feed type we are parsing
* @var string
*/
public $version = 'RSS 2.0';
 
/**
* The class used to represent individual items
* @var string
*/
protected $itemClass = 'XML_Feed_Parser_RSS2Element';
/**
* The element containing entries
* @var string
*/
protected $itemElement = 'item';
 
/**
* Here we map those elements we're not going to handle individually
* to the constructs they are. The optional second parameter in the array
* tells the parser whether to 'fall back' (not apt. at the feed level) or
* fail if the element is missing. If the parameter is not set, the function
* will simply return false and leave it to the client to decide what to do.
* @var array
*/
protected $map = array(
'ttl' => array('Text'),
'pubDate' => array('Date'),
'lastBuildDate' => array('Date'),
'title' => array('Text'),
'link' => array('Link'),
'description' => array('Text'),
'language' => array('Text'),
'copyright' => array('Text'),
'managingEditor' => array('Text'),
'webMaster' => array('Text'),
'category' => array('Text'),
'generator' => array('Text'),
'docs' => array('Text'),
'ttl' => array('Text'),
'image' => array('Image'),
'skipDays' => array('skipDays'),
'skipHours' => array('skipHours'));
 
/**
* Here we map some elements to their atom equivalents. This is going to be
* quite tricky to pull off effectively (and some users' methods may vary)
* but is worth trying. The key is the atom version, the value is RSS2.
* @var array
*/
protected $compatMap = array(
'title' => array('title'),
'rights' => array('copyright'),
'updated' => array('lastBuildDate'),
'subtitle' => array('description'),
'date' => array('pubDate'),
'author' => array('managingEditor'));
 
protected $namespaces = array(
'dc' => 'http://purl.org/rss/1.0/modules/dc/',
'content' => 'http://purl.org/rss/1.0/modules/content/');
 
/**
* Our constructor does nothing more than its parent.
*
* @param DOMDocument $xml A DOM object representing the feed
* @param bool (optional) $string Whether or not to validate this feed
*/
function __construct(DOMDocument $model, $strict = false)
{
$this->model = $model;
 
if ($strict) {
if (! $this->model->relaxNGValidate($this->relax)) {
throw new XML_Feed_Parser_Exception('Failed required validation');
}
}
 
$this->xpath = new DOMXPath($this->model);
foreach ($this->namespaces as $key => $value) {
$this->xpath->registerNamespace($key, $value);
}
$this->numberEntries = $this->count('item');
}
 
/**
* Retrieves an entry by ID, if the ID is specified with the guid element
*
* This is not really something that will work with RSS2 as it does not have
* clear restrictions on the global uniqueness of IDs. But we can emulate
* it by allowing access based on the 'guid' element. If DOMXPath::evaluate
* is available, we also use that to store a reference to the entry in the array
* used by getEntryByOffset so that method does not have to seek out the entry
* if it's requested that way.
*
* @param string $id any valid ID.
* @return XML_Feed_Parser_RSS2Element
*/
function getEntryById($id)
{
if (isset($this->idMappings[$id])) {
return $this->entries[$this->idMappings[$id]];
}
 
$entries = $this->xpath->query("//item[guid='$id']");
if ($entries->length > 0) {
$entry = new $this->itemElement($entries->item(0), $this);
if (in_array('evaluate', get_class_methods($this->xpath))) {
$offset = $this->xpath->evaluate("count(preceding-sibling::item)", $entries->item(0));
$this->entries[$offset] = $entry;
}
$this->idMappings[$id] = $entry;
return $entry;
}
}
 
/**
* Get a category from the element
*
* The category element is a simple text construct which can occur any number
* of times. We allow access by offset or access to an array of results.
*
* @param string $call for compatibility with our overloading
* @param array $arguments - arg 0 is the offset, arg 1 is whether to return as array
* @return string|array|false
*/
function getCategory($call, $arguments = array())
{
$categories = $this->model->getElementsByTagName('category');
$offset = empty($arguments[0]) ? 0 : $arguments[0];
$array = empty($arguments[1]) ? false : true;
if ($categories->length <= $offset) {
return false;
}
if ($array) {
$list = array();
foreach ($categories as $category) {
array_push($list, $category->nodeValue);
}
return $list;
}
return $categories->item($offset)->nodeValue;
}
 
/**
* Get details of the image associated with the feed.
*
* @return array|false an array simply containing the child elements
*/
protected function getImage()
{
$images = $this->model->getElementsByTagName('image');
if ($images->length > 0) {
$image = $images->item(0);
$desc = $image->getElementsByTagName('description');
$description = $desc->length ? $desc->item(0)->nodeValue : false;
$heigh = $image->getElementsByTagName('height');
$height = $heigh->length ? $heigh->item(0)->nodeValue : false;
$widt = $image->getElementsByTagName('width');
$width = $widt->length ? $widt->item(0)->nodeValue : false;
return array(
'title' => $image->getElementsByTagName('title')->item(0)->nodeValue,
'link' => $image->getElementsByTagName('link')->item(0)->nodeValue,
'url' => $image->getElementsByTagName('url')->item(0)->nodeValue,
'description' => $description,
'height' => $height,
'width' => $width);
}
return false;
}
 
/**
* The textinput element is little used, but in the interests of
* completeness...
*
* @return array|false
*/
function getTextInput()
{
$inputs = $this->model->getElementsByTagName('input');
if ($inputs->length > 0) {
$input = $inputs->item(0);
return array(
'title' => $input->getElementsByTagName('title')->item(0)->value,
'description' =>
$input->getElementsByTagName('description')->item(0)->value,
'name' => $input->getElementsByTagName('name')->item(0)->value,
'link' => $input->getElementsByTagName('link')->item(0)->value);
}
return false;
}
 
/**
* Utility function for getSkipDays and getSkipHours
*
* This is a general function used by both getSkipDays and getSkipHours. It simply
* returns an array of the values of the children of the appropriate tag.
*
* @param string $tagName The tag name (getSkipDays or getSkipHours)
* @return array|false
*/
protected function getSkips($tagName)
{
$hours = $this->model->getElementsByTagName($tagName);
if ($hours->length == 0) {
return false;
}
$skipHours = array();
foreach($hours->item(0)->childNodes as $hour) {
if ($hour instanceof DOMElement) {
array_push($skipHours, $hour->nodeValue);
}
}
return $skipHours;
}
 
/**
* Retrieve skipHours data
*
* The skiphours element provides a list of hours on which this feed should
* not be checked. We return an array of those hours (integers, 24 hour clock)
*
* @return array
*/
function getSkipHours()
{
return $this->getSkips('skipHours');
}
 
/**
* Retrieve skipDays data
*
* The skipdays element provides a list of days on which this feed should
* not be checked. We return an array of those days.
*
* @return array
*/
function getSkipDays()
{
return $this->getSkips('skipDays');
}
 
/**
* Return content of the little-used 'cloud' element
*
* The cloud element is rarely used. It is designed to provide some details
* of a location to update the feed.
*
* @return array an array of the attributes of the element
*/
function getCloud()
{
$cloud = $this->model->getElementsByTagName('cloud');
if ($cloud->length == 0) {
return false;
}
$cloudData = array();
foreach ($cloud->item(0)->attributes as $attribute) {
$cloudData[$attribute->name] = $attribute->value;
}
return $cloudData;
}
/**
* Get link URL
*
* In RSS2 a link is a text element but in order to ensure that we resolve
* URLs properly we have a special function for them. We maintain the
* parameter used by the atom getLink method, though we only use the offset
* parameter.
*
* @param int $offset The position of the link within the feed. Starts from 0
* @param string $attribute The attribute of the link element required
* @param array $params An array of other parameters. Not used.
* @return string
*/
function getLink($offset, $attribute = 'href', $params = array())
{
$links = $this->model->getElementsByTagName('link');
 
if ($links->length <= $offset) {
return false;
}
$link = $links->item($offset);
return $this->addBase($link->nodeValue, $link);
}
}
 
<?php
/* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4: */
 
/**
* Class representing feed-level data for an RSS2 feed
*
* PHP versions 5
*
* LICENSE: This source file is subject to version 3.0 of the PHP license
* that is available through the world-wide-web at the following URI:
* http://www.php.net/license/3_0.txt. If you did not receive a copy of
* the PHP License and are unable to obtain it through the web, please
* send a note to license@php.net so we can mail you a copy immediately.
*
* @category XML
* @package XML_Feed_Parser
* @author James Stewart <james@jystewart.net>
* @copyright 2005 James Stewart <james@jystewart.net>
* @license http://www.gnu.org/copyleft/lesser.html GNU LGPL 2.1
* @version CVS: $Id: RSS2.php,v 1.2 2007-07-25 15:05:34 jp_milcent Exp $
* @link http://pear.php.net/package/XML_Feed_Parser/
*/
 
/**
* This class handles RSS2 feeds.
*
* @author James Stewart <james@jystewart.net>
* @version Release: 1.0.2
* @package XML_Feed_Parser
*/
class XML_Feed_Parser_RSS2 extends XML_Feed_Parser_Type
{
/**
* The URI of the RelaxNG schema used to (optionally) validate the feed
* @var string
*/
private $relax = 'rss20.rnc';
 
/**
* We're likely to use XPath, so let's keep it global
* @var DOMXPath
*/
protected $xpath;
 
/**
* The feed type we are parsing
* @var string
*/
public $version = 'RSS 2.0';
 
/**
* The class used to represent individual items
* @var string
*/
protected $itemClass = 'XML_Feed_Parser_RSS2Element';
/**
* The element containing entries
* @var string
*/
protected $itemElement = 'item';
 
/**
* Here we map those elements we're not going to handle individually
* to the constructs they are. The optional second parameter in the array
* tells the parser whether to 'fall back' (not apt. at the feed level) or
* fail if the element is missing. If the parameter is not set, the function
* will simply return false and leave it to the client to decide what to do.
* @var array
*/
protected $map = array(
'ttl' => array('Text'),
'pubDate' => array('Date'),
'lastBuildDate' => array('Date'),
'title' => array('Text'),
'link' => array('Link'),
'description' => array('Text'),
'language' => array('Text'),
'copyright' => array('Text'),
'managingEditor' => array('Text'),
'webMaster' => array('Text'),
'category' => array('Text'),
'generator' => array('Text'),
'docs' => array('Text'),
'ttl' => array('Text'),
'image' => array('Image'),
'skipDays' => array('skipDays'),
'skipHours' => array('skipHours'));
 
/**
* Here we map some elements to their atom equivalents. This is going to be
* quite tricky to pull off effectively (and some users' methods may vary)
* but is worth trying. The key is the atom version, the value is RSS2.
* @var array
*/
protected $compatMap = array(
'title' => array('title'),
'rights' => array('copyright'),
'updated' => array('lastBuildDate'),
'subtitle' => array('description'),
'date' => array('pubDate'),
'author' => array('managingEditor'));
 
protected $namespaces = array(
'dc' => 'http://purl.org/rss/1.0/modules/dc/',
'content' => 'http://purl.org/rss/1.0/modules/content/');
 
/**
* Our constructor does nothing more than its parent.
*
* @param DOMDocument $xml A DOM object representing the feed
* @param bool (optional) $string Whether or not to validate this feed
*/
function __construct(DOMDocument $model, $strict = false)
{
$this->model = $model;
 
if ($strict) {
if (! $this->model->relaxNGValidate($this->relax)) {
throw new XML_Feed_Parser_Exception('Failed required validation');
}
}
 
$this->xpath = new DOMXPath($this->model);
foreach ($this->namespaces as $key => $value) {
$this->xpath->registerNamespace($key, $value);
}
$this->numberEntries = $this->count('item');
}
 
/**
* Retrieves an entry by ID, if the ID is specified with the guid element
*
* This is not really something that will work with RSS2 as it does not have
* clear restrictions on the global uniqueness of IDs. But we can emulate
* it by allowing access based on the 'guid' element. If DOMXPath::evaluate
* is available, we also use that to store a reference to the entry in the array
* used by getEntryByOffset so that method does not have to seek out the entry
* if it's requested that way.
*
* @param string $id any valid ID.
* @return XML_Feed_Parser_RSS2Element
*/
function getEntryById($id)
{
if (isset($this->idMappings[$id])) {
return $this->entries[$this->idMappings[$id]];
}
 
$entries = $this->xpath->query("//item[guid='$id']");
if ($entries->length > 0) {
$entry = new $this->itemElement($entries->item(0), $this);
if (in_array('evaluate', get_class_methods($this->xpath))) {
$offset = $this->xpath->evaluate("count(preceding-sibling::item)", $entries->item(0));
$this->entries[$offset] = $entry;
}
$this->idMappings[$id] = $entry;
return $entry;
}
}
 
/**
* Get a category from the element
*
* The category element is a simple text construct which can occur any number
* of times. We allow access by offset or access to an array of results.
*
* @param string $call for compatibility with our overloading
* @param array $arguments - arg 0 is the offset, arg 1 is whether to return as array
* @return string|array|false
*/
function getCategory($call, $arguments = array())
{
$categories = $this->model->getElementsByTagName('category');
$offset = empty($arguments[0]) ? 0 : $arguments[0];
$array = empty($arguments[1]) ? false : true;
if ($categories->length <= $offset) {
return false;
}
if ($array) {
$list = array();
foreach ($categories as $category) {
array_push($list, $category->nodeValue);
}
return $list;
}
return $categories->item($offset)->nodeValue;
}
 
/**
* Get details of the image associated with the feed.
*
* @return array|false an array simply containing the child elements
*/
protected function getImage()
{
$images = $this->model->getElementsByTagName('image');
if ($images->length > 0) {
$image = $images->item(0);
$desc = $image->getElementsByTagName('description');
$description = $desc->length ? $desc->item(0)->nodeValue : false;
$heigh = $image->getElementsByTagName('height');
$height = $heigh->length ? $heigh->item(0)->nodeValue : false;
$widt = $image->getElementsByTagName('width');
$width = $widt->length ? $widt->item(0)->nodeValue : false;
return array(
'title' => $image->getElementsByTagName('title')->item(0)->nodeValue,
'link' => $image->getElementsByTagName('link')->item(0)->nodeValue,
'url' => $image->getElementsByTagName('url')->item(0)->nodeValue,
'description' => $description,
'height' => $height,
'width' => $width);
}
return false;
}
 
/**
* The textinput element is little used, but in the interests of
* completeness...
*
* @return array|false
*/
function getTextInput()
{
$inputs = $this->model->getElementsByTagName('input');
if ($inputs->length > 0) {
$input = $inputs->item(0);
return array(
'title' => $input->getElementsByTagName('title')->item(0)->value,
'description' =>
$input->getElementsByTagName('description')->item(0)->value,
'name' => $input->getElementsByTagName('name')->item(0)->value,
'link' => $input->getElementsByTagName('link')->item(0)->value,
'category' => $input->getElementsByTagName('category')->item(0)->value);
}
return false;
}
 
/**
* Utility function for getSkipDays and getSkipHours
*
* This is a general function used by both getSkipDays and getSkipHours. It simply
* returns an array of the values of the children of the appropriate tag.
*
* @param string $tagName The tag name (getSkipDays or getSkipHours)
* @return array|false
*/
protected function getSkips($tagName)
{
$hours = $this->model->getElementsByTagName($tagName);
if ($hours->length == 0) {
return false;
}
$skipHours = array();
foreach($hours->item(0)->childNodes as $hour) {
if ($hour instanceof DOMElement) {
array_push($skipHours, $hour->nodeValue);
}
}
return $skipHours;
}
 
/**
* Retrieve skipHours data
*
* The skiphours element provides a list of hours on which this feed should
* not be checked. We return an array of those hours (integers, 24 hour clock)
*
* @return array
*/
function getSkipHours()
{
return $this->getSkips('skipHours');
}
 
/**
* Retrieve skipDays data
*
* The skipdays element provides a list of days on which this feed should
* not be checked. We return an array of those days.
*
* @return array
*/
function getSkipDays()
{
return $this->getSkips('skipDays');
}
 
/**
* Return content of the little-used 'cloud' element
*
* The cloud element is rarely used. It is designed to provide some details
* of a location to update the feed.
*
* @return array an array of the attributes of the element
*/
function getCloud()
{
$cloud = $this->model->getElementsByTagName('cloud');
if ($cloud->length == 0) {
return false;
}
$cloudData = array();
foreach ($cloud->item(0)->attributes as $attribute) {
$cloudData[$attribute->name] = $attribute->value;
}
return $cloudData;
}
/**
* Get link URL
*
* In RSS2 a link is a text element but in order to ensure that we resolve
* URLs properly we have a special function for them. We maintain the
* parameter used by the atom getLink method, though we only use the offset
* parameter.
*
* @param int $offset The position of the link within the feed. Starts from 0
* @param string $attribute The attribute of the link element required
* @param array $params An array of other parameters. Not used.
* @return string
*/
function getLink($offset, $attribute = 'href', $params = array())
{
$links = $this->model->getElementsByTagName('link');
 
if ($links->length <= $offset) {
return false;
}
$link = $links->item($offset);
return $this->addBase($link->nodeValue, $link);
}
}
 
?>
/trunk/api/pear/XML/Feed/Parser/Type.php
1,443 → 1,443
<?php
/* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4: */
 
/**
* Abstract class providing common methods for XML_Feed_Parser feeds.
*
* PHP versions 5
*
* LICENSE: This source file is subject to version 3.0 of the PHP license
* that is available through the world-wide-web at the following URI:
* http://www.php.net/license/3_0.txt. If you did not receive a copy of
* the PHP License and are unable to obtain it through the web, please
* send a note to license@php.net so we can mail you a copy immediately.
*
* @category XML
* @package XML_Feed_Parser
* @author James Stewart <james@jystewart.net>
* @copyright 2005 James Stewart <james@jystewart.net>
* @license http://www.gnu.org/copyleft/lesser.html GNU LGPL 2.1
* @version CVS: $Id: Type.php,v 1.3 2008-09-30 15:21:39 alexandre_tb Exp $
* @link http://pear.php.net/package/XML_Feed_Parser/
*/
 
/**
* This abstract class provides some general methods that are likely to be
* implemented exactly the same way for all feed types.
*
* @package XML_Feed_Parser
* @author James Stewart <james@jystewart.net>
* @version Release: 1.0.2
*/
abstract class XML_Feed_Parser_Type
{
/**
* Where we store our DOM object for this feed
* @var DOMDocument
*/
public $model;
 
/**
* For iteration we'll want a count of the number of entries
* @var int
*/
public $numberEntries;
 
/**
* Where we store our entry objects once instantiated
* @var array
*/
public $entries = array();
 
/**
* Proxy to allow use of element names as method names
*
* We are not going to provide methods for every entry type so this
* function will allow for a lot of mapping. We rely pretty heavily
* on this to handle our mappings between other feed types and atom.
*
* @param string $call - the method attempted
* @param array $arguments - arguments to that method
* @return mixed
*/
function __call($call, $arguments = array())
{
if (! is_array($arguments)) {
$arguments = array();
}
 
if (isset($this->compatMap[$call])) {
$tempMap = $this->compatMap;
$tempcall = array_pop($tempMap[$call]);
if (! empty($tempMap)) {
$arguments = array_merge($arguments, $tempMap[$call]);
}
$call = $tempcall;
}
 
/* To be helpful, we allow a case-insensitive search for this method */
if (! isset($this->map[$call])) {
foreach (array_keys($this->map) as $key) {
if (strtoupper($key) == strtoupper($call)) {
$call = $key;
break;
}
}
}
 
if (empty($this->map[$call])) {
return false;
}
 
$method = 'get' . $this->map[$call][0];
if ($method == 'getLink') {
$offset = empty($arguments[0]) ? 0 : $arguments[0];
$attribute = empty($arguments[1]) ? 'href' : $arguments[1];
$params = isset($arguments[2]) ? $arguments[2] : array();
return $this->getLink($offset, $attribute, $params);
}
if (method_exists($this, $method)) {
return $this->$method($call, $arguments);
}
 
return false;
}
 
/**
* Proxy to allow use of element names as attribute names
*
* For many elements variable-style access will be desirable. This function
* provides for that.
*
* @param string $value - the variable required
* @return mixed
*/
function __get($value)
{
return $this->__call($value, array());
}
 
/**
* Utility function to help us resolve xml:base values
*
* We have other methods which will traverse the DOM and work out the different
* xml:base declarations we need to be aware of. We then need to combine them.
* If a declaration starts with a protocol then we restart the string. If it
* starts with a / then we add on to the domain name. Otherwise we simply tag
* it on to the end.
*
* @param string $base - the base to add the link to
* @param string $link
*/
function combineBases($base, $link)
{
if (preg_match('/^[A-Za-z]+:\/\//', $link)) {
return $link;
} else if (preg_match('/^\//', $link)) {
/* Extract domain and suffix link to that */
preg_match('/^([A-Za-z]+:\/\/.*)?\/*/', $base, $results);
$firstLayer = $results[0];
return $firstLayer . "/" . $link;
} else if (preg_match('/^\.\.\//', $base)) {
/* Step up link to find place to be */
preg_match('/^((\.\.\/)+)(.*)$/', $link, $bases);
$suffix = $bases[3];
$count = preg_match_all('/\.\.\//', $bases[1], $steps);
$url = explode("/", $base);
for ($i = 0; $i <= $count; $i++) {
array_pop($url);
}
return implode("/", $url) . "/" . $suffix;
} else if (preg_match('/^(?!\/$)/', $base)) {
$base = preg_replace('/(.*\/).*$/', '$1', $base) ;
return $base . $link;
} else {
/* Just stick it on the end */
return $base . $link;
}
}
 
/**
* Determine whether we need to apply our xml:base rules
*
* Gets us the xml:base data and then processes that with regard
* to our current link.
*
* @param string
* @param DOMElement
* @return string
*/
function addBase($link, $element)
{
if (preg_match('/^[A-Za-z]+:\/\//', $link)) {
return $link;
}
 
return $this->combineBases($element->baseURI, $link);
}
 
/**
* Get an entry by its position in the feed, starting from zero
*
* As well as allowing the items to be iterated over we want to allow
* users to be able to access a specific entry. This is one of two ways of
* doing that, the other being by ID.
*
* @param int $offset
* @return XML_Feed_Parser_RSS1Element
*/
function getEntryByOffset($offset)
{
if (! isset($this->entries[$offset])) {
$entries = $this->model->getElementsByTagName($this->itemElement);
if ($entries->length > $offset) {
$xmlBase = $entries->item($offset)->baseURI;
$this->entries[$offset] = new $this->itemClass(
$entries->item($offset), $this, $xmlBase);
if ($id = $this->entries[$offset]->id) {
$id_mappings = $this->idMappings;
$id_mappings[$id] = $this->entries[$offset];
$this->idMappings = $id_mappings;
}
} else {
throw new XML_Feed_Parser_Exception('No entries found');
}
}
 
return $this->entries[$offset];
}
 
/**
* Return a date in seconds since epoch.
*
* Get a date construct. We use PHP's strtotime to return it as a unix datetime, which
* is the number of seconds since 1970-01-01 00:00:00.
*
* @link http://php.net/strtotime
* @param string $method The name of the date construct we want
* @param array $arguments Included for compatibility with our __call usage
* @return int|false datetime
*/
protected function getDate($method, $arguments)
{
$time = $this->model->getElementsByTagName($method);
if ($time->length == 0) {
return false;
}
return strtotime($time->item(0)->nodeValue);
}
 
/**
* Get a text construct.
*
* @param string $method The name of the text construct we want
* @param array $arguments Included for compatibility with our __call usage
* @return string
*/
protected function getText($method, $arguments = array())
{
$tags = $this->model->getElementsByTagName($method);
if ($tags->length > 0) {
$value = $tags->item(0)->nodeValue;
return $value;
}
return false;
}
 
/**
* Apply various rules to retrieve category data.
*
* There is no single way of declaring a category in RSS1/1.1 as there is in RSS2
* and Atom. Instead the usual approach is to use the dublin core namespace to
* declare categories. For example delicious use both:
* <dc:subject>PEAR</dc:subject> and: <taxo:topics><rdf:Bag>
* <rdf:li resource="http://del.icio.us/tag/PEAR" /></rdf:Bag></taxo:topics>
* to declare a categorisation of 'PEAR'.
*
* We need to be sensitive to this where possible.
*
* @param string $call for compatibility with our overloading
* @param array $arguments - arg 0 is the offset, arg 1 is whether to return as array
* @return string|array|false
*/
protected function getCategory($call, $arguments)
{
$categories = $this->model->getElementsByTagName('subject');
$offset = empty($arguments[0]) ? 0 : $arguments[0];
$array = empty($arguments[1]) ? false : true;
if ($categories->length <= $offset) {
return false;
}
if ($array) {
$list = array();
foreach ($categories as $category) {
array_push($list, $category->nodeValue);
}
return $list;
}
return $categories->item($offset)->nodeValue;
}
 
/**
* Count occurrences of an element
*
* This function will tell us how many times the element $type
* appears at this level of the feed.
*
* @param string $type the element we want to get a count of
* @return int
*/
protected function count($type)
{
if ($tags = $this->model->getElementsByTagName($type)) {
return $tags->length;
}
return 0;
}
 
/**
* Part of our xml:base processing code
*
* We need a couple of methods to access XHTML content stored in feeds.
* This is because we dereference all xml:base references before returning
* the element. This method handles the attributes.
*
* @param DOMElement $node The DOM node we are iterating over
* @return string
*/
function processXHTMLAttributes($node) {
$return = '';
foreach ($node->attributes as $attribute) {
if ($attribute->name == 'src' or $attribute->name == 'href') {
$attribute->value = $this->addBase($attribute->value, $attribute);
}
if ($attribute->name == 'base') {
continue;
}
$return .= $attribute->name . '="' . $attribute->value .'" ';
}
if (! empty($return)) {
return ' ' . trim($return);
}
return '';
}
 
/**
* Part of our xml:base processing code
*
* We need a couple of methods to access XHTML content stored in feeds.
* This is because we dereference all xml:base references before returning
* the element. This method recurs through the tree descending from the node
* and builds our string
*
* @param DOMElement $node The DOM node we are processing
* @return string
*/
function traverseNode($node)
{
$content = '';
 
/* Add the opening of this node to the content */
if ($node instanceof DOMElement) {
$content .= '<' . $node->tagName .
$this->processXHTMLAttributes($node) . '>';
}
 
/* Process children */
if ($node->hasChildNodes()) {
foreach ($node->childNodes as $child) {
$content .= $this->traverseNode($child);
}
}
 
if ($node instanceof DOMText) {
$content .= htmlentities($node->nodeValue);
}
 
/* Add the closing of this node to the content */
if ($node instanceof DOMElement) {
$content .= '</' . $node->tagName . '>';
}
 
return $content;
}
 
/**
* Get content from RSS feeds (atom has its own implementation)
*
* The official way to include full content in an RSS1 entry is to use
* the content module's element 'encoded', and RSS2 feeds often duplicate that.
* Often, however, the 'description' element is used instead. We will offer that
* as a fallback. Atom uses its own approach and overrides this method.
*
* @return string|false
*/
protected function getContent()
{
$options = array('encoded', 'description');
foreach ($options as $element) {
$test = $this->model->getElementsByTagName($element);
if ($test->length == 0) {
continue;
}
if ($test->item(0)->hasChildNodes()) {
$value = '';
foreach ($test->item(0)->childNodes as $child) {
if ($child instanceof DOMText) {
$value .= $child->nodeValue;
} else {
$simple = simplexml_import_dom($child);
$value .= $simple->asXML();
}
}
return $value;
} else if ($test->length > 0) {
return $test->item(0)->nodeValue;
}
}
return false;
}
 
/**
* Checks if this element has a particular child element.
*
* @param String
* @param Integer
* @return bool
**/
function hasKey($name, $offset = 0)
{
$search = $this->model->getElementsByTagName($name);
return $search->length > $offset;
}
 
/**
* Return an XML serialization of the feed, should it be required. Most
* users however, will already have a serialization that they used when
* instantiating the object.
*
* @return string XML serialization of element
*/
function __toString()
{
$simple = simplexml_import_dom($this->model);
return $simple->asXML();
}
/**
* Get directory holding RNG schemas. Method is based on that
* found in Contact_AddressBook.
*
* @return string PEAR data directory.
* @access public
* @static
*/
static function getSchemaDir()
{
require_once 'PEAR/Config.php';
$config = new PEAR_Config;
return $config->get('data_dir') . '/XML_Feed_Parser/schemas';
}
}
 
<?php
/* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4: */
 
/**
* Abstract class providing common methods for XML_Feed_Parser feeds.
*
* PHP versions 5
*
* LICENSE: This source file is subject to version 3.0 of the PHP license
* that is available through the world-wide-web at the following URI:
* http://www.php.net/license/3_0.txt. If you did not receive a copy of
* the PHP License and are unable to obtain it through the web, please
* send a note to license@php.net so we can mail you a copy immediately.
*
* @category XML
* @package XML_Feed_Parser
* @author James Stewart <james@jystewart.net>
* @copyright 2005 James Stewart <james@jystewart.net>
* @license http://www.gnu.org/copyleft/lesser.html GNU LGPL 2.1
* @version CVS: $Id: Type.php,v 1.2 2007-07-25 15:05:34 jp_milcent Exp $
* @link http://pear.php.net/package/XML_Feed_Parser/
*/
 
/**
* This abstract class provides some general methods that are likely to be
* implemented exactly the same way for all feed types.
*
* @package XML_Feed_Parser
* @author James Stewart <james@jystewart.net>
* @version Release: 1.0.2
*/
abstract class XML_Feed_Parser_Type
{
/**
* Where we store our DOM object for this feed
* @var DOMDocument
*/
public $model;
 
/**
* For iteration we'll want a count of the number of entries
* @var int
*/
public $numberEntries;
 
/**
* Where we store our entry objects once instantiated
* @var array
*/
public $entries = array();
 
/**
* Proxy to allow use of element names as method names
*
* We are not going to provide methods for every entry type so this
* function will allow for a lot of mapping. We rely pretty heavily
* on this to handle our mappings between other feed types and atom.
*
* @param string $call - the method attempted
* @param array $arguments - arguments to that method
* @return mixed
*/
function __call($call, $arguments = array())
{
if (! is_array($arguments)) {
$arguments = array();
}
 
if (isset($this->compatMap[$call])) {
$tempMap = $this->compatMap;
$tempcall = array_pop($tempMap[$call]);
if (! empty($tempMap)) {
$arguments = array_merge($arguments, $tempMap[$call]);
}
$call = $tempcall;
}
 
/* To be helpful, we allow a case-insensitive search for this method */
if (! isset($this->map[$call])) {
foreach (array_keys($this->map) as $key) {
if (strtoupper($key) == strtoupper($call)) {
$call = $key;
break;
}
}
}
 
if (empty($this->map[$call])) {
return false;
}
 
$method = 'get' . $this->map[$call][0];
if ($method == 'getLink') {
$offset = empty($arguments[0]) ? 0 : $arguments[0];
$attribute = empty($arguments[1]) ? 'href' : $arguments[1];
$params = isset($arguments[2]) ? $arguments[2] : array();
return $this->getLink($offset, $attribute, $params);
}
if (method_exists($this, $method)) {
return $this->$method($call, $arguments);
}
 
return false;
}
 
/**
* Proxy to allow use of element names as attribute names
*
* For many elements variable-style access will be desirable. This function
* provides for that.
*
* @param string $value - the variable required
* @return mixed
*/
function __get($value)
{
return $this->__call($value, array());
}
 
/**
* Utility function to help us resolve xml:base values
*
* We have other methods which will traverse the DOM and work out the different
* xml:base declarations we need to be aware of. We then need to combine them.
* If a declaration starts with a protocol then we restart the string. If it
* starts with a / then we add on to the domain name. Otherwise we simply tag
* it on to the end.
*
* @param string $base - the base to add the link to
* @param string $link
*/
function combineBases($base, $link)
{
if (preg_match('/^[A-Za-z]+:\/\//', $link)) {
return $link;
} else if (preg_match('/^\//', $link)) {
/* Extract domain and suffix link to that */
preg_match('/^([A-Za-z]+:\/\/.*)?\/*/', $base, $results);
$firstLayer = $results[0];
return $firstLayer . "/" . $link;
} else if (preg_match('/^\.\.\//', $base)) {
/* Step up link to find place to be */
preg_match('/^((\.\.\/)+)(.*)$/', $link, $bases);
$suffix = $bases[3];
$count = preg_match_all('/\.\.\//', $bases[1], $steps);
$url = explode("/", $base);
for ($i = 0; $i <= $count; $i++) {
array_pop($url);
}
return implode("/", $url) . "/" . $suffix;
} else if (preg_match('/^(?!\/$)/', $base)) {
$base = preg_replace('/(.*\/).*$/', '$1', $base) ;
return $base . $link;
} else {
/* Just stick it on the end */
return $base . $link;
}
}
 
/**
* Determine whether we need to apply our xml:base rules
*
* Gets us the xml:base data and then processes that with regard
* to our current link.
*
* @param string
* @param DOMElement
* @return string
*/
function addBase($link, $element)
{
if (preg_match('/^[A-Za-z]+:\/\//', $link)) {
return $link;
}
 
return $this->combineBases($element->baseURI, $link);
}
 
/**
* Get an entry by its position in the feed, starting from zero
*
* As well as allowing the items to be iterated over we want to allow
* users to be able to access a specific entry. This is one of two ways of
* doing that, the other being by ID.
*
* @param int $offset
* @return XML_Feed_Parser_RSS1Element
*/
function getEntryByOffset($offset)
{
if (! isset($this->entries[$offset])) {
$entries = $this->model->getElementsByTagName($this->itemElement);
if ($entries->length > $offset) {
$xmlBase = $entries->item($offset)->baseURI;
$this->entries[$offset] = new $this->itemClass(
$entries->item($offset), $this, $xmlBase);
if ($id = $this->entries[$offset]->id) {
$id_mappings = $this->idMappings;
$id_mappings[$id] = $this->entries[$offset];
$this->idMappings = $id_mappings;
}
} else {
throw new XML_Feed_Parser_Exception('No entries found');
}
}
 
return $this->entries[$offset];
}
 
/**
* Return a date in seconds since epoch.
*
* Get a date construct. We use PHP's strtotime to return it as a unix datetime, which
* is the number of seconds since 1970-01-01 00:00:00.
*
* @link http://php.net/strtotime
* @param string $method The name of the date construct we want
* @param array $arguments Included for compatibility with our __call usage
* @return int|false datetime
*/
protected function getDate($method, $arguments)
{
$time = $this->model->getElementsByTagName($method);
if ($time->length == 0) {
return false;
}
return strtotime($time->item(0)->nodeValue);
}
 
/**
* Get a text construct.
*
* @param string $method The name of the text construct we want
* @param array $arguments Included for compatibility with our __call usage
* @return string
*/
protected function getText($method, $arguments = array())
{
$tags = $this->model->getElementsByTagName($method);
if ($tags->length > 0) {
$value = $tags->item(0)->nodeValue;
return $value;
}
return false;
}
 
/**
* Apply various rules to retrieve category data.
*
* There is no single way of declaring a category in RSS1/1.1 as there is in RSS2
* and Atom. Instead the usual approach is to use the dublin core namespace to
* declare categories. For example delicious use both:
* <dc:subject>PEAR</dc:subject> and: <taxo:topics><rdf:Bag>
* <rdf:li resource="http://del.icio.us/tag/PEAR" /></rdf:Bag></taxo:topics>
* to declare a categorisation of 'PEAR'.
*
* We need to be sensitive to this where possible.
*
* @param string $call for compatibility with our overloading
* @param array $arguments - arg 0 is the offset, arg 1 is whether to return as array
* @return string|array|false
*/
protected function getCategory($call, $arguments)
{
$categories = $this->model->getElementsByTagName('subject');
$offset = empty($arguments[0]) ? 0 : $arguments[0];
$array = empty($arguments[1]) ? false : true;
if ($categories->length <= $offset) {
return false;
}
if ($array) {
$list = array();
foreach ($categories as $category) {
array_push($list, $category->nodeValue);
}
return $list;
}
return $categories->item($offset)->nodeValue;
}
 
/**
* Count occurrences of an element
*
* This function will tell us how many times the element $type
* appears at this level of the feed.
*
* @param string $type the element we want to get a count of
* @return int
*/
protected function count($type)
{
if ($tags = $this->model->getElementsByTagName($type)) {
return $tags->length;
}
return 0;
}
 
/**
* Part of our xml:base processing code
*
* We need a couple of methods to access XHTML content stored in feeds.
* This is because we dereference all xml:base references before returning
* the element. This method handles the attributes.
*
* @param DOMElement $node The DOM node we are iterating over
* @return string
*/
function processXHTMLAttributes($node) {
$return = '';
foreach ($node->attributes as $attribute) {
if ($attribute->name == 'src' or $attribute->name == 'href') {
$attribute->value = $this->addBase($attribute->value, $attribute);
}
if ($attribute->name == 'base') {
continue;
}
$return .= $attribute->name . '="' . $attribute->value .'" ';
}
if (! empty($return)) {
return ' ' . trim($return);
}
return '';
}
 
/**
* Part of our xml:base processing code
*
* We need a couple of methods to access XHTML content stored in feeds.
* This is because we dereference all xml:base references before returning
* the element. This method recurs through the tree descending from the node
* and builds our string
*
* @param DOMElement $node The DOM node we are processing
* @return string
*/
function traverseNode($node)
{
$content = '';
 
/* Add the opening of this node to the content */
if ($node instanceof DOMElement) {
$content .= '<' . $node->tagName .
$this->processXHTMLAttributes($node) . '>';
}
 
/* Process children */
if ($node->hasChildNodes()) {
foreach ($node->childNodes as $child) {
$content .= $this->traverseNode($child);
}
}
 
if ($node instanceof DOMText) {
$content .= htmlentities($node->nodeValue);
}
 
/* Add the closing of this node to the content */
if ($node instanceof DOMElement) {
$content .= '</' . $node->tagName . '>';
}
 
return $content;
}
 
/**
* Get content from RSS feeds (atom has its own implementation)
*
* The official way to include full content in an RSS1 entry is to use
* the content module's element 'encoded', and RSS2 feeds often duplicate that.
* Often, however, the 'description' element is used instead. We will offer that
* as a fallback. Atom uses its own approach and overrides this method.
*
* @return string|false
*/
protected function getContent()
{
$options = array('encoded', 'description');
foreach ($options as $element) {
$test = $this->model->getElementsByTagName($element);
if ($test->length == 0) {
continue;
}
if ($test->item(0)->hasChildNodes()) {
$value = '';
foreach ($test->item(0)->childNodes as $child) {
if ($child instanceof DOMText) {
$value .= $child->nodeValue;
} else {
$simple = simplexml_import_dom($child);
$value .= $simple->asXML();
}
}
return $value;
} else if ($test->length > 0) {
return $test->item(0)->nodeValue;
}
}
return false;
}
 
/**
* Checks if this element has a particular child element.
*
* @param String
* @param Integer
* @return bool
**/
function hasKey($name, $offset = 0)
{
$search = $this->model->getElementsByTagName($name);
return $search->length > $offset;
}
 
/**
* Return an XML serialization of the feed, should it be required. Most
* users however, will already have a serialization that they used when
* instantiating the object.
*
* @return string XML serialization of element
*/
function __toString()
{
$simple = simplexml_import_dom($this->model);
return $simple->asXML();
}
/**
* Get directory holding RNG schemas. Method is based on that
* found in Contact_AddressBook.
*
* @return string PEAR data directory.
* @access public
* @static
*/
static function getSchemaDir()
{
require_once 'PEAR/Config.php';
$config = new PEAR_Config;
return $config->get('data_dir') . '/XML_Feed_Parser/schemas';
}
}
 
?>
/trunk/api/pear/XML/Feed/Parser/RSS2Element.php
1,171 → 1,172
<?php
/* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4: */
 
/**
* Class representing entries in an RSS2 feed.
*
* PHP versions 5
*
* LICENSE: This source file is subject to version 3.0 of the PHP license
* that is available through the world-wide-web at the following URI:
* http://www.php.net/license/3_0.txt. If you did not receive a copy of
* the PHP License and are unable to obtain it through the web, please
* send a note to license@php.net so we can mail you a copy immediately.
*
* @category XML
* @package XML_Feed_Parser
* @author James Stewart <james@jystewart.net>
* @copyright 2005 James Stewart <james@jystewart.net>
* @license http://www.gnu.org/copyleft/lesser.html GNU LGPL 2.1
* @version CVS: $Id: RSS2Element.php,v 1.2 2007-07-25 15:05:34 jp_milcent Exp $
* @link http://pear.php.net/package/XML_Feed_Parser/
*/
 
/**
* This class provides support for RSS 2.0 entries. It will usually be
* called by XML_Feed_Parser_RSS2 with which it shares many methods.
*
* @author James Stewart <james@jystewart.net>
* @version Release: 1.0.2
* @package XML_Feed_Parser
*/
class XML_Feed_Parser_RSS2Element extends XML_Feed_Parser_RSS2
{
/**
* This will be a reference to the parent object for when we want
* to use a 'fallback' rule
* @var XML_Feed_Parser_RSS2
*/
protected $parent;
 
/**
* Our specific element map
* @var array
*/
protected $map = array(
'title' => array('Text'),
'guid' => array('Guid'),
'description' => array('Text'),
'author' => array('Text'),
'comments' => array('Text'),
'enclosure' => array('Enclosure'),
'pubDate' => array('Date'),
'source' => array('Source'),
'link' => array('Text'),
'content' => array('Content'));
 
/**
* Here we map some elements to their atom equivalents. This is going to be
* quite tricky to pull off effectively (and some users' methods may vary)
* but is worth trying. The key is the atom version, the value is RSS2.
* @var array
*/
protected $compatMap = array(
'id' => array('guid'),
'updated' => array('lastBuildDate'),
'published' => array('pubdate'),
'guidislink' => array('guid', 'ispermalink'),
'summary' => array('description'));
 
/**
* Store useful information for later.
*
* @param DOMElement $element - this item as a DOM element
* @param XML_Feed_Parser_RSS2 $parent - the feed of which this is a member
*/
function __construct(DOMElement $element, $parent, $xmlBase = '')
{
$this->model = $element;
$this->parent = $parent;
}
 
/**
* Get the value of the guid element, if specified
*
* guid is the closest RSS2 has to atom's ID. It is usually but not always a
* URI. The one attribute that RSS2 can posess is 'ispermalink' which specifies
* whether the guid is itself dereferencable. Use of guid is not obligatory,
* but is advisable. To get the guid you would call $item->id() (for atom
* compatibility) or $item->guid(). To check if this guid is a permalink call
* $item->guid("ispermalink").
*
* @param string $method - the method name being called
* @param array $params - parameters required
* @return string the guid or value of ispermalink
*/
protected function getGuid($method, $params)
{
$attribute = (isset($params[0]) and $params[0] == 'ispermalink') ?
true : false;
$tag = $this->model->getElementsByTagName('guid');
if ($tag->length > 0) {
if ($attribute) {
if ($tag->hasAttribute("ispermalink")) {
return $tag->getAttribute("ispermalink");
}
}
return $tag->item(0)->nodeValue;
}
return false;
}
 
/**
* Access details of file enclosures
*
* The RSS2 spec is ambiguous as to whether an enclosure element must be
* unique in a given entry. For now we will assume it needn't, and allow
* for an offset.
*
* @param string $method - the method being called
* @param array $parameters - we expect the first of these to be our offset
* @return array|false
*/
protected function getEnclosure($method, $parameters)
{
$encs = $this->model->getElementsByTagName('enclosure');
$offset = isset($parameters[0]) ? $parameters[0] : 0;
if ($encs->length > $offset) {
try {
if (! $encs->item($offset)->hasAttribute('url')) {
return false;
}
$attrs = $encs->item($offset)->attributes;
return array(
'url' => $attrs->getNamedItem('url')->value,
'length' => $attrs->getNamedItem('length')->value,
'type' => $attrs->getNamedItem('type')->value);
} catch (Exception $e) {
return false;
}
}
return false;
}
 
/**
* Get the entry source if specified
*
* source is an optional sub-element of item. Like atom:source it tells
* us about where the entry came from (eg. if it's been copied from another
* feed). It is not a rich source of metadata in the same way as atom:source
* and while it would be good to maintain compatibility by returning an
* XML_Feed_Parser_RSS2 element, it makes a lot more sense to return an array.
*
* @return array|false
*/
protected function getSource()
{
$get = $this->model->getElementsByTagName('source');
if ($get->length) {
$source = $get->item(0);
$array = array(
'content' => $source->nodeValue);
foreach ($source->attributes as $attribute) {
$array[$attribute->name] = $attribute->value;
}
return $array;
}
return false;
}
}
 
<?php
/* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4: */
 
/**
* Class representing entries in an RSS2 feed.
*
* PHP versions 5
*
* LICENSE: This source file is subject to version 3.0 of the PHP license
* that is available through the world-wide-web at the following URI:
* http://www.php.net/license/3_0.txt. If you did not receive a copy of
* the PHP License and are unable to obtain it through the web, please
* send a note to license@php.net so we can mail you a copy immediately.
*
* @category XML
* @package XML_Feed_Parser
* @author James Stewart <james@jystewart.net>
* @copyright 2005 James Stewart <james@jystewart.net>
* @license http://www.gnu.org/copyleft/lesser.html GNU LGPL 2.1
* @version CVS: $Id: RSS2Element.php,v 1.2 2007-07-25 15:05:34 jp_milcent Exp $
* @link http://pear.php.net/package/XML_Feed_Parser/
*/
 
/**
* This class provides support for RSS 2.0 entries. It will usually be
* called by XML_Feed_Parser_RSS2 with which it shares many methods.
*
* @author James Stewart <james@jystewart.net>
* @version Release: 1.0.2
* @package XML_Feed_Parser
*/
class XML_Feed_Parser_RSS2Element extends XML_Feed_Parser_RSS2
{
/**
* This will be a reference to the parent object for when we want
* to use a 'fallback' rule
* @var XML_Feed_Parser_RSS2
*/
protected $parent;
 
/**
* Our specific element map
* @var array
*/
protected $map = array(
'title' => array('Text'),
'guid' => array('Guid'),
'description' => array('Text'),
'author' => array('Text'),
'comments' => array('Text'),
'enclosure' => array('Enclosure'),
'pubDate' => array('Date'),
'source' => array('Source'),
//'category' => array('Text'),
'link' => array('Text'),
'content' => array('Content'));
 
/**
* Here we map some elements to their atom equivalents. This is going to be
* quite tricky to pull off effectively (and some users' methods may vary)
* but is worth trying. The key is the atom version, the value is RSS2.
* @var array
*/
protected $compatMap = array(
'id' => array('guid'),
'updated' => array('lastBuildDate'),
'published' => array('pubdate'),
'guidislink' => array('guid', 'ispermalink'),
'summary' => array('description'));
 
/**
* Store useful information for later.
*
* @param DOMElement $element - this item as a DOM element
* @param XML_Feed_Parser_RSS2 $parent - the feed of which this is a member
*/
function __construct(DOMElement $element, $parent, $xmlBase = '')
{
$this->model = $element;
$this->parent = $parent;
}
 
/**
* Get the value of the guid element, if specified
*
* guid is the closest RSS2 has to atom's ID. It is usually but not always a
* URI. The one attribute that RSS2 can posess is 'ispermalink' which specifies
* whether the guid is itself dereferencable. Use of guid is not obligatory,
* but is advisable. To get the guid you would call $item->id() (for atom
* compatibility) or $item->guid(). To check if this guid is a permalink call
* $item->guid("ispermalink").
*
* @param string $method - the method name being called
* @param array $params - parameters required
* @return string the guid or value of ispermalink
*/
protected function getGuid($method, $params)
{
$attribute = (isset($params[0]) and $params[0] == 'ispermalink') ?
true : false;
$tag = $this->model->getElementsByTagName('guid');
if ($tag->length > 0) {
if ($attribute) {
if ($tag->hasAttribute("ispermalink")) {
return $tag->getAttribute("ispermalink");
}
}
return $tag->item(0)->nodeValue;
}
return false;
}
 
/**
* Access details of file enclosures
*
* The RSS2 spec is ambiguous as to whether an enclosure element must be
* unique in a given entry. For now we will assume it needn't, and allow
* for an offset.
*
* @param string $method - the method being called
* @param array $parameters - we expect the first of these to be our offset
* @return array|false
*/
protected function getEnclosure($method, $parameters)
{
$encs = $this->model->getElementsByTagName('enclosure');
$offset = isset($parameters[0]) ? $parameters[0] : 0;
if ($encs->length > $offset) {
try {
if (! $encs->item($offset)->hasAttribute('url')) {
return false;
}
$attrs = $encs->item($offset)->attributes;
return array(
'url' => $attrs->getNamedItem('url')->value,
'length' => $attrs->getNamedItem('length')->value,
'type' => $attrs->getNamedItem('type')->value);
} catch (Exception $e) {
return false;
}
}
return false;
}
 
/**
* Get the entry source if specified
*
* source is an optional sub-element of item. Like atom:source it tells
* us about where the entry came from (eg. if it's been copied from another
* feed). It is not a rich source of metadata in the same way as atom:source
* and while it would be good to maintain compatibility by returning an
* XML_Feed_Parser_RSS2 element, it makes a lot more sense to return an array.
*
* @return array|false
*/
protected function getSource()
{
$get = $this->model->getElementsByTagName('source');
if ($get->length) {
$source = $get->item(0);
$array = array(
'content' => $source->nodeValue);
foreach ($source->attributes as $attribute) {
$array[$attribute->name] = $attribute->value;
}
return $array;
}
return false;
}
}
 
?>
/trunk/api/pear/Auth/Container/Array.php
18,7 → 18,7
* @author Adam Ashley <aashley@php.net>
* @copyright 2001-2006 The PHP Group
* @license http://www.php.net/license/3_01.txt PHP License 3.01
* @version CVS: $Id: Array.php,v 1.2 2007-11-19 15:11:00 jp_milcent Exp $
* @version CVS: $Id: Array.php,v 1.5 2007/06/12 03:11:26 aashley Exp $
* @since File available since Release 1.4.0
*/
 
64,7 → 64,7
* @author Adam Ashley <aashley@php.net>
* @copyright 2001-2006 The PHP Group
* @license http://www.php.net/license/3_01.txt PHP License 3.01
* @version Release: 1.5.4 File: $Revision: 1.2 $
* @version Release: 1.5.4 File: $Revision: 1.5 $
* @since File available since Release 1.4.0
*/
 
/trunk/api/pear/Auth/Container/File.php
21,7 → 21,7
* @author Adam Ashley <aashley@php.net>
* @copyright 2001-2006 The PHP Group
* @license http://www.php.net/license/3_01.txt PHP License 3.01
* @version CVS: $Id: File.php,v 1.3 2007-11-19 15:11:00 jp_milcent Exp $
* @version CVS: $Id: File.php,v 1.25 2007/06/12 03:11:26 aashley Exp $
* @link http://pear.php.net/package/Auth
*/
 
52,7 → 52,7
* @author Adam Ashley <aashley@php.net>
* @copyright 2001-2006 The PHP Group
* @license http://www.php.net/license/3_01.txt PHP License 3.01
* @version Release: 1.5.4 File: $Revision: 1.3 $
* @version Release: 1.5.4 File: $Revision: 1.25 $
* @link http://pear.php.net/package/Auth
*/
class Auth_Container_File extends Auth_Container
/trunk/api/pear/Auth/Container/LDAP.php
19,7 → 19,7
* @author Hugues Peeters <hugues.peeters@claroline.net>
* @copyright 2001-2006 The PHP Group
* @license http://www.php.net/license/3_01.txt PHP License 3.01
* @version CVS: $Id: LDAP.php,v 1.3 2007-11-19 15:11:00 jp_milcent Exp $
* @version CVS: $Id: LDAP.php,v 1.43 2007/06/12 03:11:26 aashley Exp $
* @link http://pear.php.net/package/Auth
*/
 
197,7 → 197,7
* @author Hugues Peeters <hugues.peeters@claroline.net>
* @copyright 2001-2006 The PHP Group
* @license http://www.php.net/license/3_01.txt PHP License 3.01
* @version Release: 1.5.4 File: $Revision: 1.3 $
* @version Release: 1.5.4 File: $Revision: 1.43 $
* @link http://pear.php.net/package/Auth
*/
class Auth_Container_LDAP extends Auth_Container
/trunk/api/pear/Auth/Container/POP3.php
20,7 → 20,7
* @author Adam Ashley <aashley@php.net>
* @copyright 2001-2006 The PHP Group
* @license http://www.php.net/license/3_01.txt PHP License 3.01
* @version CVS: $Id: POP3.php,v 1.3 2007-11-19 15:11:00 jp_milcent Exp $
* @version CVS: $Id: POP3.php,v 1.12 2007/06/12 03:11:26 aashley Exp $
* @link http://pear.php.net/package/Auth
* @since File available since Release 1.2.0
*/
48,7 → 48,7
* @author Adam Ashley <aashley@php.net>
* @copyright 2001-2006 The PHP Group
* @license http://www.php.net/license/3_01.txt PHP License 3.01
* @version Release: 1.5.4 File: $Revision: 1.3 $
* @version Release: 1.5.4 File: $Revision: 1.12 $
* @link http://pear.php.net/package/Auth
* @since Class available since Release 1.2.0
*/
/trunk/api/pear/Auth/Container/SAP.php
20,7 → 20,7
* @author Adam Ashley <aashley@php.net>
* @copyright 2001-2006 The PHP Group
* @license http://www.php.net/license/3_01.txt PHP License 3.01
* @version CVS: $Id: SAP.php,v 1.2 2007-11-19 15:11:00 jp_milcent Exp $
* @version CVS: $Id: SAP.php,v 1.5 2007/06/12 03:11:26 aashley Exp $
* @link http://pear.php.net/package/Auth
* @since File available since Release 1.4.0
*/
48,7 → 48,7
* @author Adam Ashley <aashley@php.net>
* @copyright 2001-2006 The PHP Group
* @license http://www.php.net/license/3_01.txt PHP License 3.01
* @version Release: 1.5.4 File: $Revision: 1.2 $
* @version Release: 1.5.4 File: $Revision: 1.5 $
* @since Class available since Release 1.4.0
*/
class Auth_Container_SAP extends Auth_Container {
/trunk/api/pear/Auth/Container/MDB2.php
18,7 → 18,7
* @author Adam Ashley <aashley@php.net>
* @copyright 2001-2006 The PHP Group
* @license http://www.php.net/license/3_01.txt PHP License 3.01
* @version CVS: $Id: MDB2.php,v 1.2 2007-11-19 15:11:00 jp_milcent Exp $
* @version CVS: $Id: MDB2.php,v 1.22 2007/06/12 03:11:26 aashley Exp $
* @link http://pear.php.net/package/Auth
* @since File available since Release 1.3.0
*/
44,7 → 44,7
* @author Adam Ashley <aashley@php.net>
* @copyright 2001-2006 The PHP Group
* @license http://www.php.net/license/3_01.txt PHP License 3.01
* @version Release: 1.5.4 File: $Revision: 1.2 $
* @version Release: 1.5.4 File: $Revision: 1.22 $
* @link http://pear.php.net/package/Auth
* @since Class available since Release 1.3.0
*/
/trunk/api/pear/Auth/Container/DB.php
18,7 → 18,7
* @author Adam Ashley <aashley@php.net>
* @copyright 2001-2006 The PHP Group
* @license http://www.php.net/license/3_01.txt PHP License 3.01
* @version CVS: $Id: DB.php,v 1.3 2007-11-19 15:11:00 jp_milcent Exp $
* @version CVS: $Id: DB.php,v 1.72 2007/06/12 03:11:26 aashley Exp $
* @link http://pear.php.net/package/Auth
*/
 
43,7 → 43,7
* @author Adam Ashley <aashley@php.net>
* @copyright 2001-2006 The PHP Group
* @license http://www.php.net/license/3_01.txt PHP License 3.01
* @version Release: 1.5.4 File: $Revision: 1.3 $
* @version Release: 1.5.4 File: $Revision: 1.72 $
* @link http://pear.php.net/package/Auth
*/
class Auth_Container_DB extends Auth_Container
/trunk/api/pear/Auth/Container/IMAP.php
18,7 → 18,7
* @author Adam Ashley <aashley@php.net>
* @copyright 2001-2006 The PHP Group
* @license http://www.php.net/license/3_01.txt PHP License 3.01
* @version CVS: $Id: IMAP.php,v 1.3 2007-11-19 15:11:00 jp_milcent Exp $
* @version CVS: $Id: IMAP.php,v 1.18 2007/06/12 03:11:26 aashley Exp $
* @link http://pear.php.net/package/Auth
* @since File available since Release 1.2.0
*/
77,7 → 77,7
* @author Adam Ashley <aashley@php.net>
* @copyright 2001-2006 The PHP Group
* @license http://www.php.net/license/3_01.txt PHP License 3.01
* @version Release: 1.5.4 File: $Revision: 1.3 $
* @version Release: 1.5.4 File: $Revision: 1.18 $
* @link http://pear.php.net/package/Auth
* @since Class available since Release 1.2.0
*/
/trunk/api/pear/Auth/Container/vpopmail.php
18,7 → 18,7
* @author Adam Ashley <aashley@php.net>
* @copyright 2001-2006 The PHP Group
* @license http://www.php.net/license/3_01.txt PHP License 3.01
* @version CVS: $Id: vpopmail.php,v 1.3 2007-11-19 15:11:00 jp_milcent Exp $
* @version CVS: $Id: vpopmail.php,v 1.10 2007/06/12 03:11:26 aashley Exp $
* @link http://pear.php.net/package/Auth
* @since File available since Release 1.2.0
*/
41,7 → 41,7
* @author Adam Ashley <aashley@php.net>
* @copyright 2001-2006 The PHP Group
* @license http://www.php.net/license/3_01.txt PHP License 3.01
* @version Release: 1.5.4 File: $Revision: 1.3 $
* @version Release: 1.5.4 File: $Revision: 1.10 $
* @link http://pear.php.net/package/Auth
* @since Class available since Release 1.2.0
*/
/trunk/api/pear/Auth/Container/SOAP5.php
19,7 → 19,7
* @author Adam Ashley <aashley@php.net>
* @copyright 2001-2006 The PHP Group
* @license http://www.php.net/license/3_01.txt PHP License 3.01
* @version CVS: $Id: SOAP5.php,v 1.2 2007-11-19 15:11:00 jp_milcent Exp $
* @version CVS: $Id: SOAP5.php,v 1.9 2007/07/02 08:25:41 aashley Exp $
* @since File available since Release 1.4.0
*/
 
101,7 → 101,7
* @author Adam Ashley <aashley@php.net>
* @copyright 2001-2006 The PHP Group
* @license http://www.php.net/license/3_01.txt PHP License 3.01
* @version Release: 1.5.4 File: $Revision: 1.2 $
* @version Release: 1.5.4 File: $Revision: 1.9 $
* @since Class available since Release 1.4.0
*/
class Auth_Container_SOAP5 extends Auth_Container
/trunk/api/pear/Auth/Container/PEAR.php
18,7 → 18,7
* @author Adam Ashley <aashley@php.net>
* @copyright 2001-2006 The PHP Group
* @license http://www.php.net/license/3_01.txt PHP License 3.01
* @version CVS: $Id: PEAR.php,v 1.2 2007-11-19 15:11:00 jp_milcent Exp $
* @version CVS: $Id: PEAR.php,v 1.12 2007/07/02 05:09:43 aharvey Exp $
* @link http://pear.php.net/package/Auth
* @since File available since Release 1.3.0
*/
45,7 → 45,7
* @author Adam Harvey <aharvey@php.net>
* @copyright 2001-2007 The PHP Group
* @license http://www.php.net/license/3_01.txt PHP License 3.01
* @version Release: 1.5.4 File: $Revision: 1.2 $
* @version Release: 1.5.4 File: $Revision: 1.12 $
* @link http://pear.php.net/package/Auth
* @since Class available since Release 1.3.0
*/
/trunk/api/pear/Auth/Container/RADIUS.php
18,7 → 18,7
* @author Adam Ashley <aashley@php.net>
* @copyright 2001-2006 The PHP Group
* @license http://www.php.net/license/3_01.txt PHP License 3.01
* @version CVS: $Id: RADIUS.php,v 1.3 2007-11-19 15:11:00 jp_milcent Exp $
* @version CVS: $Id: RADIUS.php,v 1.16 2007/06/12 03:11:26 aashley Exp $
* @link http://pear.php.net/package/Auth
* @since File available since Release 1.2.0
*/
41,7 → 41,7
* @author Adam Ashley <aashley@php.net>
* @copyright 2001-2006 The PHP Group
* @license http://www.php.net/license/3_01.txt PHP License 3.01
* @version Release: 1.5.4 File: $Revision: 1.3 $
* @version Release: 1.5.4 File: $Revision: 1.16 $
* @link http://pear.php.net/package/Auth
* @since Class available since Release 1.2.0
*/
/trunk/api/pear/Auth/Container/Multiple.php
17,7 → 17,7
* @author Adam Ashley <aashley@php.net>
* @copyright 2001-2006 The PHP Group
* @license http://www.php.net/license/3_01.txt PHP License 3.01
* @version CVS: $Id: Multiple.php,v 1.2 2007-11-19 15:11:00 jp_milcent Exp $
* @version CVS: $Id: Multiple.php,v 1.4 2007/06/12 03:11:26 aashley Exp $
* @since File available since Release 1.5.0
*/
 
73,7 → 73,7
* @author Adam Ashley <aashley@php.net>
* @copyright 2001-2006 The PHP Group
* @license http://www.php.net/license/3_01.txt PHP License 3.01
* @version Release: 1.5.4 File: $Revision: 1.2 $
* @version Release: 1.5.4 File: $Revision: 1.4 $
* @since File available since Release 1.5.0
*/
 
/trunk/api/pear/Auth/Container/KADM5.php
18,7 → 18,7
* @author Adam Ashley <aashley@php.net>
* @copyright 2001-2006 The PHP Group
* @license http://www.php.net/license/3_01.txt PHP License 3.01
* @version CVS: $Id: KADM5.php,v 1.2 2007-11-19 15:11:00 jp_milcent Exp $
* @version CVS: $Id: KADM5.php,v 1.6 2007/06/12 03:11:26 aashley Exp $
* @link http://pear.php.net/package/Auth
* @since File available since Release 1.4.0
*/
48,7 → 48,7
* @author Adam Ashley <aashley@php.net>
* @copyright 2001-2006 The PHP Group
* @license http://www.php.net/license/3_01.txt PHP License 3.01
* @version Release: 1.5.4 File: $Revision: 1.2 $
* @version Release: 1.5.4 File: $Revision: 1.6 $
* @link http://pear.php.net/package/Auth
* @since Class available since Release 1.4.0
*/
/trunk/api/pear/Auth/Container/MDB.php
18,7 → 18,7
* @author Adam Ashley <aashley@php.net>
* @copyright 2001-2006 The PHP Group
* @license http://www.php.net/license/3_01.txt PHP License 3.01
* @version CVS: $Id: MDB.php,v 1.3 2007-11-19 15:11:00 jp_milcent Exp $
* @version CVS: $Id: MDB.php,v 1.35 2007/06/12 03:11:26 aashley Exp $
* @link http://pear.php.net/package/Auth
* @since File available since Release 1.2.3
*/
44,7 → 44,7
* @author Adam Ashley <aashley@php.net>
* @copyright 2001-2006 The PHP Group
* @license http://www.php.net/license/3_01.txt PHP License 3.01
* @version Release: 1.5.4 File: $Revision: 1.3 $
* @version Release: 1.5.4 File: $Revision: 1.35 $
* @link http://pear.php.net/package/Auth
* @since Class available since Release 1.2.3
*/
/trunk/api/pear/Auth/Container/SOAP.php
18,7 → 18,7
* @author Adam Ashley <aashley@php.net>
* @copyright 2001-2006 The PHP Group
* @license http://www.php.net/license/3_01.txt PHP License 3.01
* @version CVS: $Id: SOAP.php,v 1.3 2007-11-19 15:11:00 jp_milcent Exp $
* @version CVS: $Id: SOAP.php,v 1.13 2007/06/12 03:11:26 aashley Exp $
* @link http://pear.php.net/package/Auth
* @since File available since Release 1.2.0
*/
83,7 → 83,7
* @author Adam Ashley <aashley@php.net>
* @copyright 2001-2006 The PHP Group
* @license http://www.php.net/license/3_01.txt PHP License 3.01
* @version Release: 1.5.4 File: $Revision: 1.3 $
* @version Release: 1.5.4 File: $Revision: 1.13 $
* @link http://pear.php.net/package/Auth
* @since Class available since Release 1.2.0
*/
/trunk/api/pear/Auth/Container/DBLite.php
18,7 → 18,7
* @author Adam Ashley <aashley@php.net>
* @copyright 2001-2006 The PHP Group
* @license http://www.php.net/license/3_01.txt PHP License 3.01
* @version CVS: $Id: DBLite.php,v 1.2 2007-11-19 15:11:00 jp_milcent Exp $
* @version CVS: $Id: DBLite.php,v 1.18 2007/06/12 03:11:26 aashley Exp $
* @link http://pear.php.net/package/Auth
* @since File available since Release 1.3.0
*/
45,7 → 45,7
* @author Adam Ashley <aashley@php.net>
* @copyright 2001-2006 The PHP Group
* @license http://www.php.net/license/3_01.txt PHP License 3.01
* @version Release: 1.5.4 File: $Revision: 1.2 $
* @version Release: 1.5.4 File: $Revision: 1.18 $
* @link http://pear.php.net/package/Auth
* @since Class available since Release 1.3.0
*/
/trunk/api/pear/Auth/Container/SMBPasswd.php
18,7 → 18,7
* @author Adam Ashley <aashley@php.net>
* @copyright 2001-2006 The PHP Group
* @license http://www.php.net/license/3_01.txt PHP License 3.01
* @version CVS: $Id: SMBPasswd.php,v 1.3 2007-11-19 15:11:00 jp_milcent Exp $
* @version CVS: $Id: SMBPasswd.php,v 1.8 2007/06/12 03:11:26 aashley Exp $
* @link http://pear.php.net/package/Auth
* @since File available since Release 1.2.3
*/
56,7 → 56,7
* @package Auth
* @copyright 2001-2006 The PHP Group
* @license http://www.php.net/license/3_01.txt PHP License 3.01
* @version Release: 1.5.4 File: $Revision: 1.3 $
* @version Release: 1.5.4 File: $Revision: 1.8 $
* @link http://pear.php.net/package/Auth
* @since Class available since Release 1.2.3
*/
/trunk/api/pear/Auth/Auth.php
17,7 → 17,7
* @author Martin Jansen <mj@php.net>
* @copyright 2001-2006 The PHP Group
* @license http://www.php.net/license/3_01.txt PHP License 3.01
* @version CVS: $Id: Auth.php,v 1.3 2007-11-19 15:11:00 jp_milcent Exp $
* @version CVS: $Id: Auth.php,v 1.4 2006/03/02 06:53:08 aashley Exp $
* @link http://pear.php.net/package/Auth
* @deprecated File deprecated since Release 1.2.0
*/
/trunk/api/pear/Auth/Container.php
18,7 → 18,7
* @author Adam Ashley <aashley@php.net>
* @copyright 2001-2006 The PHP Group
* @license http://www.php.net/license/3_01.txt PHP License 3.01
* @version CVS: $Id: Container.php,v 1.3 2007-11-19 15:11:00 jp_milcent Exp $
* @version CVS: $Id: Container.php,v 1.28 2007/06/12 03:11:26 aashley Exp $
* @link http://pear.php.net/package/Auth
*/
 
31,7 → 31,7
* @author Adam Ashley <aashley@php.net>
* @copyright 2001-2006 The PHP Group
* @license http://www.php.net/license/3_01.txt PHP License 3.01
* @version Release: 1.5.4 File: $Revision: 1.3 $
* @version Release: 1.5.4 File: $Revision: 1.28 $
* @link http://pear.php.net/package/Auth
*/
class Auth_Container
/trunk/api/pear/Auth/Controller.php
18,7 → 18,7
* @author Adam Ashley <aashley@php.net>
* @copyright 2001-2006 The PHP Group
* @license http://www.php.net/license/3_01.txt PHP License 3.01
* @version CVS: $Id: Controller.php,v 1.2 2007-11-19 15:11:00 jp_milcent Exp $
* @version CVS: $Id: Controller.php,v 1.11 2007/06/12 03:11:26 aashley Exp $
* @link http://pear.php.net/package/Auth
* @since File available since Release 1.3.0
*/
54,7 → 54,7
* @author Adam Ashley <aashley@php.net>
* @copyright 2001-2006 The PHP Group
* @license http://www.php.net/license/3_01.txt PHP License 3.01
* @version Release: 1.5.4 File: $Revision: 1.2 $
* @version Release: 1.5.4 File: $Revision: 1.11 $
* @link http://pear.php.net/package/Auth
* @since Class available since Release 1.3.0
*/
/trunk/api/pear/Auth/Anonymous.php
18,7 → 18,7
* @author Adam Ashley <aashley@php.net>
* @copyright 2001-2006 The PHP Group
* @license http://www.php.net/license/3_01.txt PHP License 3.01
* @version CVS: $Id: Anonymous.php,v 1.2 2007-11-19 15:11:00 jp_milcent Exp $
* @version CVS: $Id: Anonymous.php,v 1.6 2007/06/12 03:11:26 aashley Exp $
* @link http://pear.php.net/package/Auth
* @since File available since Release 1.3.0
*/
40,7 → 40,7
* @author Adam Ashley <aashley@php.net>
* @copyright 2001-2006 The PHP Group
* @license http://www.php.net/license/3_01.txt PHP License 3.01
* @version Release: 1.5.4 File: $Revision: 1.2 $
* @version Release: 1.5.4 File: $Revision: 1.6 $
* @link http://pear.php.net/package/Auth
* @since Class available since Release 1.3.0
*/
/trunk/api/pear/Auth/Frontend/Html.php
18,7 → 18,7
* @author Adam Ashley <aashley@php.net>
* @copyright 2001-2006 The PHP Group
* @license http://www.php.net/license/3_01.txt PHP License 3.01
* @version CVS: $Id: Html.php,v 1.2 2007-11-19 15:11:00 jp_milcent Exp $
* @version CVS: $Id: Html.php,v 1.11 2007/06/12 03:11:26 aashley Exp $
* @link http://pear.php.net/package/Auth
* @since File available since Release 1.3.0
*/
32,7 → 32,7
* @author Adam Ashley <aashley@php.net>
* @copyright 2001-2006 The PHP Group
* @license http://www.php.net/license/3_01.txt PHP License 3.01
* @version Release: 1.5.4 File: $Revision: 1.2 $
* @version Release: 1.5.4 File: $Revision: 1.11 $
* @link http://pear.php.net/package/Auth
* @since Class available since Release 1.3.0
*/
/trunk/api/pear/A_LIRE.txt
1,7 → 1,7
Liste des packages PEAR :
==============================
Package Version State
Auth 1.4.3 stable
Auth 1.5.4 stable
Calendar 0.5.2 beta
DB 1.7.6 stable
HTML_Common 1.2.1 stable
12,6 → 12,7
Net_SMTP 1.2.6 stable
Net_Socket 1.0.6 stable
Net_URL 1.0.14 stable
Pager 2.4.4 stable
PEAR 1.4.11 stable
Text_Wiki 1.0.0 stable
XML_Feed_Parser 1.0.2 stable : modification ligne 198 Type.php correction bug indirect property overloaded
XML_Feed_Parser 1.0.2 stable
/trunk/api/pear/Mail/mime.php
1,1095 → 1,1095
<?php
/**
* The Mail_Mime class is used to create MIME E-mail messages
*
* The Mail_Mime class provides an OO interface to create MIME
* enabled email messages. This way you can create emails that
* contain plain-text bodies, HTML bodies, attachments, inline
* images and specific headers.
*
* Compatible with PHP versions 4 and 5
*
* LICENSE: This LICENSE is in the BSD license style.
* Copyright (c) 2002-2003, Richard Heyes <richard@phpguru.org>
* Copyright (c) 2003-2006, PEAR <pear-group@php.net>
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or
* without modification, are permitted provided that the following
* conditions are met:
*
* - Redistributions of source code must retain the above copyright
* notice, this list of conditions and the following disclaimer.
* - Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* - Neither the name of the authors, nor the names of its contributors
* may be used to endorse or promote products derived from this
* software without specific prior written permission.
*
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
* AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
* ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
* LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
* CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
* SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
* INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
* CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
* ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
* THE POSSIBILITY OF SUCH DAMAGE.
*
* @category Mail
* @package Mail_Mime
* @author Richard Heyes <richard@phpguru.org>
* @author Tomas V.V. Cox <cox@idecnet.com>
* @author Cipriano Groenendal <cipri@php.net>
* @author Sean Coates <sean@php.net>
* @copyright 2003-2006 PEAR <pear-group@php.net>
* @license http://www.opensource.org/licenses/bsd-license.php BSD License
* @version CVS: $Id: mime.php,v 1.2 2007-11-19 12:58:30 alexandre_tb Exp $
* @link http://pear.php.net/package/Mail_mime
*
* This class is based on HTML Mime Mail class from
* Richard Heyes <richard@phpguru.org> which was based also
* in the mime_mail.class by Tobias Ratschiller <tobias@dnet.it>
* and Sascha Schumann <sascha@schumann.cx>
*/
 
 
/**
* require PEAR
*
* This package depends on PEAR to raise errors.
*/
require_once 'PEAR.php';
 
/**
* require Mail_mimePart
*
* Mail_mimePart contains the code required to
* create all the different parts a mail can
* consist of.
*/
require_once 'Mail/mimePart.php';
 
 
/**
* The Mail_Mime class provides an OO interface to create MIME
* enabled email messages. This way you can create emails that
* contain plain-text bodies, HTML bodies, attachments, inline
* images and specific headers.
*
* @category Mail
* @package Mail_Mime
* @author Richard Heyes <richard@phpguru.org>
* @author Tomas V.V. Cox <cox@idecnet.com>
* @author Cipriano Groenendal <cipri@php.net>
* @author Sean Coates <sean@php.net>
* @copyright 2003-2006 PEAR <pear-group@php.net>
* @license http://www.opensource.org/licenses/bsd-license.php BSD License
* @version Release: @package_version@
* @link http://pear.php.net/package/Mail_mime
*/
class Mail_mime
{
/**
* Contains the plain text part of the email
*
* @var string
* @access private
*/
var $_txtbody;
 
/**
* Contains the html part of the email
*
* @var string
* @access private
*/
var $_htmlbody;
 
/**
* contains the mime encoded text
*
* @var string
* @access private
*/
var $_mime;
 
/**
* contains the multipart content
*
* @var string
* @access private
*/
var $_multipart;
 
/**
* list of the attached images
*
* @var array
* @access private
*/
var $_html_images = array();
 
/**
* list of the attachements
*
* @var array
* @access private
*/
var $_parts = array();
 
/**
* Build parameters
*
* @var array
* @access private
*/
var $_build_params = array();
 
/**
* Headers for the mail
*
* @var array
* @access private
*/
var $_headers = array();
 
/**
* End Of Line sequence (for serialize)
*
* @var string
* @access private
*/
var $_eol;
 
 
/**
* Constructor function.
*
* @param string $crlf what type of linebreak to use.
* Defaults to "\r\n"
*
* @return void
*
* @access public
*/
function Mail_mime($crlf = "\r\n")
{
$this->_setEOL($crlf);
$this->_build_params = array(
'head_encoding' => 'quoted-printable',
'text_encoding' => '7bit',
'html_encoding' => 'quoted-printable',
'7bit_wrap' => 998,
'html_charset' => 'ISO-8859-1',
'text_charset' => 'ISO-8859-1',
'head_charset' => 'ISO-8859-1'
);
}
 
/**
* wakeup function called by unserialize. It re-sets the EOL constant
*
* @access private
* @return void
*/
function __wakeup()
{
$this->_setEOL($this->_eol);
}
 
 
/**
* Accessor function to set the body text. Body text is used if
* it's not an html mail being sent or else is used to fill the
* text/plain part that emails clients who don't support
* html should show.
*
* @param string $data Either a string or
* the file name with the contents
* @param bool $isfile If true the first param should be treated
* as a file name, else as a string (default)
* @param bool $append If true the text or file is appended to
* the existing body, else the old body is
* overwritten
*
* @return mixed true on success or PEAR_Error object
* @access public
*/
function setTXTBody($data, $isfile = false, $append = false)
{
if (!$isfile) {
if (!$append) {
$this->_txtbody = $data;
} else {
$this->_txtbody .= $data;
}
} else {
$cont = $this->_file2str($data);
if (PEAR::isError($cont)) {
return $cont;
}
if (!$append) {
$this->_txtbody = $cont;
} else {
$this->_txtbody .= $cont;
}
}
return true;
}
 
/**
* Adds a html part to the mail.
*
* @param string $data either a string or the file name with the
* contents
* @param bool $isfile a flag that determines whether $data is a
* filename, or a string(false, default)
*
* @return bool true on success
* @access public
*/
function setHTMLBody($data, $isfile = false)
{
if (!$isfile) {
$this->_htmlbody = $data;
} else {
$cont = $this->_file2str($data);
if (PEAR::isError($cont)) {
return $cont;
}
$this->_htmlbody = $cont;
}
 
return true;
}
 
/**
* Adds an image to the list of embedded images.
*
* @param string $file the image file name OR image data itself
* @param string $c_type the content type
* @param string $name the filename of the image.
* Only used if $file is the image data.
* @param bool $isfile whether $file is a filename or not.
* Defaults to true
*
* @return bool true on success
* @access public
*/
function addHTMLImage($file, $c_type='application/octet-stream',
$name = '', $isfile = true)
{
$filedata = ($isfile === true) ? $this->_file2str($file)
: $file;
if ($isfile === true) {
$filename = ($name == '' ? $file : $name);
} else {
$filename = $name;
}
if (PEAR::isError($filedata)) {
return $filedata;
}
$this->_html_images[] = array(
'body' => $filedata,
'name' => $filename,
'c_type' => $c_type,
'cid' => md5(uniqid(time()))
);
return true;
}
 
/**
* Adds a file to the list of attachments.
*
* @param string $file The file name of the file to attach
* OR the file contents itself
* @param string $c_type The content type
* @param string $name The filename of the attachment
* Only use if $file is the contents
* @param bool $isfile Whether $file is a filename or not
* Defaults to true
* @param string $encoding The type of encoding to use.
* Defaults to base64.
* Possible values: 7bit, 8bit, base64,
* or quoted-printable.
* @param string $disposition The content-disposition of this file
* Defaults to attachment.
* Possible values: attachment, inline.
* @param string $charset The character set used in the filename
* of this attachment.
* @param string $language The language of the attachment
* @param string $location The RFC 2557.4 location of the attachment
*
* @return mixed true on success or PEAR_Error object
* @access public
*/
function addAttachment($file,
$c_type = 'application/octet-stream',
$name = '',
$isfile = true,
$encoding = 'base64',
$disposition = 'attachment',
$charset = '',
$language = '',
$location = '')
{
$filedata = ($isfile === true) ? $this->_file2str($file)
: $file;
if ($isfile === true) {
// Force the name the user supplied, otherwise use $file
$filename = (strlen($name)) ? $name : $file;
} else {
$filename = $name;
}
if (!strlen($filename)) {
$msg = "The supplied filename for the attachment can't be empty";
$err = PEAR::raiseError($msg);
return $err;
}
$filename = basename($filename);
if (PEAR::isError($filedata)) {
return $filedata;
}
 
$this->_parts[] = array(
'body' => $filedata,
'name' => $filename,
'c_type' => $c_type,
'encoding' => $encoding,
'charset' => $charset,
'language' => $language,
'location' => $location,
'disposition' => $disposition
);
return true;
}
 
/**
* Get the contents of the given file name as string
*
* @param string $file_name path of file to process
*
* @return string contents of $file_name
* @access private
*/
function &_file2str($file_name)
{
if (!is_readable($file_name)) {
$err = PEAR::raiseError('File is not readable ' . $file_name);
return $err;
}
if (!$fd = fopen($file_name, 'rb')) {
$err = PEAR::raiseError('Could not open ' . $file_name);
return $err;
}
$filesize = filesize($file_name);
if ($filesize == 0) {
$cont = "";
} else {
if ($magic_quote_setting = get_magic_quotes_runtime()) {
set_magic_quotes_runtime(0);
}
$cont = fread($fd, $filesize);
if ($magic_quote_setting) {
set_magic_quotes_runtime($magic_quote_setting);
}
}
fclose($fd);
return $cont;
}
 
/**
* Adds a text subpart to the mimePart object and
* returns it during the build process.
*
* @param mixed &$obj The object to add the part to, or
* null if a new object is to be created.
* @param string $text The text to add.
*
* @return object The text mimePart object
* @access private
*/
function &_addTextPart(&$obj, $text)
{
$params['content_type'] = 'text/plain';
$params['encoding'] = $this->_build_params['text_encoding'];
$params['charset'] = $this->_build_params['text_charset'];
if (is_object($obj)) {
$ret = $obj->addSubpart($text, $params);
return $ret;
} else {
$ret = new Mail_mimePart($text, $params);
return $ret;
}
}
 
/**
* Adds a html subpart to the mimePart object and
* returns it during the build process.
*
* @param mixed &$obj The object to add the part to, or
* null if a new object is to be created.
*
* @return object The html mimePart object
* @access private
*/
function &_addHtmlPart(&$obj)
{
$params['content_type'] = 'text/html';
$params['encoding'] = $this->_build_params['html_encoding'];
$params['charset'] = $this->_build_params['html_charset'];
if (is_object($obj)) {
$ret = $obj->addSubpart($this->_htmlbody, $params);
return $ret;
} else {
$ret = new Mail_mimePart($this->_htmlbody, $params);
return $ret;
}
}
 
/**
* Creates a new mimePart object, using multipart/mixed as
* the initial content-type and returns it during the
* build process.
*
* @return object The multipart/mixed mimePart object
* @access private
*/
function &_addMixedPart()
{
$params = array();
$params['content_type'] = 'multipart/mixed';
//Create empty multipart/mixed Mail_mimePart object to return
$ret = new Mail_mimePart('', $params);
return $ret;
}
 
/**
* Adds a multipart/alternative part to a mimePart
* object (or creates one), and returns it during
* the build process.
*
* @param mixed &$obj The object to add the part to, or
* null if a new object is to be created.
*
* @return object The multipart/mixed mimePart object
* @access private
*/
function &_addAlternativePart(&$obj)
{
$params['content_type'] = 'multipart/alternative';
if (is_object($obj)) {
return $obj->addSubpart('', $params);
} else {
$ret = new Mail_mimePart('', $params);
return $ret;
}
}
 
/**
* Adds a multipart/related part to a mimePart
* object (or creates one), and returns it during
* the build process.
*
* @param mixed &$obj The object to add the part to, or
* null if a new object is to be created
*
* @return object The multipart/mixed mimePart object
* @access private
*/
function &_addRelatedPart(&$obj)
{
$params['content_type'] = 'multipart/related';
if (is_object($obj)) {
return $obj->addSubpart('', $params);
} else {
$ret = new Mail_mimePart('', $params);
return $ret;
}
}
 
/**
* Adds an html image subpart to a mimePart object
* and returns it during the build process.
*
* @param object &$obj The mimePart to add the image to
* @param array $value The image information
*
* @return object The image mimePart object
* @access private
*/
function &_addHtmlImagePart(&$obj, $value)
{
$params['content_type'] = $value['c_type'];
$params['encoding'] = 'base64';
$params['disposition'] = 'inline';
$params['dfilename'] = $value['name'];
$params['cid'] = $value['cid'];
$ret = $obj->addSubpart($value['body'], $params);
return $ret;
}
 
/**
* Adds an attachment subpart to a mimePart object
* and returns it during the build process.
*
* @param object &$obj The mimePart to add the image to
* @param array $value The attachment information
*
* @return object The image mimePart object
* @access private
*/
function &_addAttachmentPart(&$obj, $value)
{
$params['dfilename'] = $value['name'];
$params['encoding'] = $value['encoding'];
if ($value['charset']) {
$params['charset'] = $value['charset'];
}
if ($value['language']) {
$params['language'] = $value['language'];
}
if ($value['location']) {
$params['location'] = $value['location'];
}
$params['content_type'] = $value['c_type'];
$params['disposition'] = isset($value['disposition']) ?
$value['disposition'] : 'attachment';
$ret = $obj->addSubpart($value['body'], $params);
return $ret;
}
 
/**
* Returns the complete e-mail, ready to send using an alternative
* mail delivery method. Note that only the mailpart that is made
* with Mail_Mime is created. This means that,
* YOU WILL HAVE NO TO: HEADERS UNLESS YOU SET IT YOURSELF
* using the $xtra_headers parameter!
*
* @param string $separation The separation etween these two parts.
* @param array $build_params The Build parameters passed to the
* &get() function. See &get for more info.
* @param array $xtra_headers The extra headers that should be passed
* to the &headers() function.
* See that function for more info.
* @param bool $overwrite Overwrite the existing headers with new.
*
* @return string The complete e-mail.
* @access public
*/
function getMessage(
$separation = null,
$build_params = null,
$xtra_headers = null,
$overwrite = false
)
{
if ($separation === null) {
$separation = MAIL_MIME_CRLF;
}
$body = $this->get($build_params);
$head = $this->txtHeaders($xtra_headers, $overwrite);
$mail = $head . $separation . $body;
return $mail;
}
 
 
/**
* Builds the multipart message from the list ($this->_parts) and
* returns the mime content.
*
* @param array $build_params Build parameters that change the way the email
* is built. Should be associative. Can contain:
* head_encoding - What encoding to use for the headers.
* Options: quoted-printable or base64
* Default is quoted-printable
* text_encoding - What encoding to use for plain text
* Options: 7bit, 8bit,
* base64, or quoted-printable
* Default is 7bit
* html_encoding - What encoding to use for html
* Options: 7bit, 8bit,
* base64, or quoted-printable
* Default is quoted-printable
* 7bit_wrap - Number of characters before text is
* wrapped in 7bit encoding
* Default is 998
* html_charset - The character set to use for html.
* Default is iso-8859-1
* text_charset - The character set to use for text.
* Default is iso-8859-1
* head_charset - The character set to use for headers.
* Default is iso-8859-1
*
* @return string The mime content
* @access public
*/
function &get($build_params = null)
{
if (isset($build_params)) {
while (list($key, $value) = each($build_params)) {
$this->_build_params[$key] = $value;
}
}
if (isset($this->_headers['From'])){
$domain = @strstr($this->_headers['From'],'@');
//Bug #11381: Illegal characters in domain ID
$domain = str_replace(array("<", ">", "&", "(", ")", " ", "\"", "'"), "", $domain);
$domain = urlencode($domain);
foreach($this->_html_images as $i => $img){
$this->_html_images[$i]['cid'] = $this->_html_images[$i]['cid'] . $domain;
}
}
if (count($this->_html_images) AND isset($this->_htmlbody)) {
foreach ($this->_html_images as $key => $value) {
$regex = array();
$regex[] = '#(\s)((?i)src|background|href(?-i))\s*=\s*(["\']?)' .
preg_quote($value['name'], '#') . '\3#';
$regex[] = '#(?i)url(?-i)\(\s*(["\']?)' .
preg_quote($value['name'], '#') . '\1\s*\)#';
 
$rep = array();
$rep[] = '\1\2=\3cid:' . $value['cid'] .'\3';
$rep[] = 'url(\1cid:' . $value['cid'] . '\2)';
 
$this->_htmlbody = preg_replace($regex, $rep, $this->_htmlbody);
$this->_html_images[$key]['name'] =
basename($this->_html_images[$key]['name']);
}
}
 
$null = null;
$attachments = count($this->_parts) ? true : false;
$html_images = count($this->_html_images) ? true : false;
$html = strlen($this->_htmlbody) ? true : false;
$text = (!$html AND strlen($this->_txtbody)) ? true : false;
 
switch (true) {
case $text AND !$attachments:
$message =& $this->_addTextPart($null, $this->_txtbody);
break;
 
case !$text AND !$html AND $attachments:
$message =& $this->_addMixedPart();
for ($i = 0; $i < count($this->_parts); $i++) {
$this->_addAttachmentPart($message, $this->_parts[$i]);
}
break;
 
case $text AND $attachments:
$message =& $this->_addMixedPart();
$this->_addTextPart($message, $this->_txtbody);
for ($i = 0; $i < count($this->_parts); $i++) {
$this->_addAttachmentPart($message, $this->_parts[$i]);
}
break;
 
case $html AND !$attachments AND !$html_images:
if (isset($this->_txtbody)) {
$message =& $this->_addAlternativePart($null);
$this->_addTextPart($message, $this->_txtbody);
$this->_addHtmlPart($message);
} else {
$message =& $this->_addHtmlPart($null);
}
break;
 
case $html AND !$attachments AND $html_images:
$message =& $this->_addRelatedPart($null);
if (isset($this->_txtbody)) {
$alt =& $this->_addAlternativePart($message);
$this->_addTextPart($alt, $this->_txtbody);
$this->_addHtmlPart($alt);
} else {
$this->_addHtmlPart($message);
}
for ($i = 0; $i < count($this->_html_images); $i++) {
$this->_addHtmlImagePart($message, $this->_html_images[$i]);
}
break;
 
case $html AND $attachments AND !$html_images:
$message =& $this->_addMixedPart();
if (isset($this->_txtbody)) {
$alt =& $this->_addAlternativePart($message);
$this->_addTextPart($alt, $this->_txtbody);
$this->_addHtmlPart($alt);
} else {
$this->_addHtmlPart($message);
}
for ($i = 0; $i < count($this->_parts); $i++) {
$this->_addAttachmentPart($message, $this->_parts[$i]);
}
break;
 
case $html AND $attachments AND $html_images:
$message =& $this->_addMixedPart();
if (isset($this->_txtbody)) {
$alt =& $this->_addAlternativePart($message);
$this->_addTextPart($alt, $this->_txtbody);
$rel =& $this->_addRelatedPart($alt);
} else {
$rel =& $this->_addRelatedPart($message);
}
$this->_addHtmlPart($rel);
for ($i = 0; $i < count($this->_html_images); $i++) {
$this->_addHtmlImagePart($rel, $this->_html_images[$i]);
}
for ($i = 0; $i < count($this->_parts); $i++) {
$this->_addAttachmentPart($message, $this->_parts[$i]);
}
break;
 
}
 
if (isset($message)) {
$output = $message->encode();
$this->_headers = array_merge($this->_headers,
$output['headers']);
$body = $output['body'];
return $body;
 
} else {
$ret = false;
return $ret;
}
}
 
/**
* Returns an array with the headers needed to prepend to the email
* (MIME-Version and Content-Type). Format of argument is:
* $array['header-name'] = 'header-value';
*
* @param array $xtra_headers Assoc array with any extra headers.
* Optional.
* @param bool $overwrite Overwrite already existing headers.
*
* @return array Assoc array with the mime headers
* @access public
*/
function &headers($xtra_headers = null, $overwrite = false)
{
// Content-Type header should already be present,
// So just add mime version header
$headers['MIME-Version'] = '1.0';
if (isset($xtra_headers)) {
$headers = array_merge($headers, $xtra_headers);
}
if ($overwrite) {
$this->_headers = array_merge($this->_headers, $headers);
} else {
$this->_headers = array_merge($headers, $this->_headers);
}
 
$encodedHeaders = $this->_encodeHeaders($this->_headers);
return $encodedHeaders;
}
 
/**
* Get the text version of the headers
* (usefull if you want to use the PHP mail() function)
*
* @param array $xtra_headers Assoc array with any extra headers.
* Optional.
* @param bool $overwrite Overwrite the existing heaers with new.
*
* @return string Plain text headers
* @access public
*/
function txtHeaders($xtra_headers = null, $overwrite = false)
{
$headers = $this->headers($xtra_headers, $overwrite);
$ret = '';
foreach ($headers as $key => $val) {
$ret .= "$key: $val" . MAIL_MIME_CRLF;
}
return $ret;
}
 
/**
* Sets the Subject header
*
* @param string $subject String to set the subject to.
*
* @return void
* @access public
*/
function setSubject($subject)
{
$this->_headers['Subject'] = $subject;
}
 
/**
* Set an email to the From (the sender) header
*
* @param string $email The email address to use
*
* @return void
* @access public
*/
function setFrom($email)
{
$this->_headers['From'] = $email;
}
 
/**
* Add an email to the Cc (carbon copy) header
* (multiple calls to this method are allowed)
*
* @param string $email The email direction to add
*
* @return void
* @access public
*/
function addCc($email)
{
if (isset($this->_headers['Cc'])) {
$this->_headers['Cc'] .= ", $email";
} else {
$this->_headers['Cc'] = $email;
}
}
 
/**
* Add an email to the Bcc (blank carbon copy) header
* (multiple calls to this method are allowed)
*
* @param string $email The email direction to add
*
* @return void
* @access public
*/
function addBcc($email)
{
if (isset($this->_headers['Bcc'])) {
$this->_headers['Bcc'] .= ", $email";
} else {
$this->_headers['Bcc'] = $email;
}
}
 
/**
* Since the PHP send function requires you to specifiy
* recipients (To: header) separately from the other
* headers, the To: header is not properly encoded.
* To fix this, you can use this public method to
* encode your recipients before sending to the send
* function
*
* @param string $recipients A comma-delimited list of recipients
*
* @return string Encoded data
* @access public
*/
function encodeRecipients($recipients)
{
$input = array("To" => $recipients);
$retval = $this->_encodeHeaders($input);
return $retval["To"] ;
}
 
/**
* Encodes a header as per RFC2047
*
* @param array $input The header data to encode
* @param array $params Extra build parameters
*
* @return array Encoded data
* @access private
*/
function _encodeHeaders($input, $params = array())
{
$build_params = $this->_build_params;
while (list($key, $value) = each($params)) {
$build_params[$key] = $value;
}
//$hdr_name: Name of the heaer
//$hdr_value: Full line of header value.
//$hdr_value_out: The recombined $hdr_val-atoms, or the encoded string.
$useIconv = true;
if (isset($build_params['ignore-iconv'])) {
$useIconv = !$build_params['ignore-iconv'];
}
foreach ($input as $hdr_name => $hdr_value) {
if (preg_match('#([\x80-\xFF]){1}#', $hdr_value)) {
if (function_exists('iconv_mime_encode') && $useIconv) {
$imePrefs = array();
if ($build_params['head_encoding'] == 'base64') {
$imePrefs['scheme'] = 'B';
} else {
$imePrefs['scheme'] = 'Q';
}
$imePrefs['input-charset'] = $build_params['head_charset'];
$imePrefs['output-charset'] = $build_params['head_charset'];
$imePrefs['line-length'] = 74;
$imePrefs['line-break-chars'] = "\r\n"; //Specified in RFC2047
$hdr_value = iconv_mime_encode($hdr_name, $hdr_value, $imePrefs);
$hdr_value = preg_replace("#^{$hdr_name}\:\ #", "", $hdr_value);
} elseif ($build_params['head_encoding'] == 'base64') {
//Base64 encoding has been selected.
//Base64 encode the entire string
$hdr_value = base64_encode($hdr_value);
//Generate the header using the specified params and dynamicly
//determine the maximum length of such strings.
//75 is the value specified in the RFC. The first -2 is there so
//the later regexp doesn't break any of the translated chars.
//The -2 on the first line-regexp is to compensate for the ": "
//between the header-name and the header value
$prefix = '=?' . $build_params['head_charset'] . '?B?';
$suffix = '?=';
$maxLength = 75 - strlen($prefix . $suffix) - 2;
$maxLength1stLine = $maxLength - strlen($hdr_name) - 2;
 
//We can cut base4 every 4 characters, so the real max
//we can get must be rounded down.
$maxLength = $maxLength - ($maxLength % 4);
$maxLength1stLine = $maxLength1stLine - ($maxLength1stLine % 4);
$cutpoint = $maxLength1stLine;
$hdr_value_out = $hdr_value;
$output = "";
while ($hdr_value_out) {
//Split translated string at every $maxLength
$part = substr($hdr_value_out, 0, $cutpoint);
$hdr_value_out = substr($hdr_value_out, $cutpoint);
$cutpoint = $maxLength;
//RFC 2047 specifies that any split header should
//be seperated by a CRLF SPACE.
if ($output) {
$output .= "\r\n ";
}
$output .= $prefix . $part . $suffix;
}
$hdr_value = $output;
} else {
//quoted-printable encoding has been selected
 
//Fix for Bug #10298, Ota Mares <om@viazenetti.de>
//Check if there is a double quote at beginning or end of
//the string to prevent that an open or closing quote gets
//ignored because it is encapsuled by an encoding pre/suffix.
//Remove the double quote and set the specific prefix or
//suffix variable so that we can concat the encoded string and
//the double quotes back together to get the intended string.
$quotePrefix = $quoteSuffix = '';
if ($hdr_value{0} == '"') {
$hdr_value = substr($hdr_value, 1);
$quotePrefix = '"';
}
if ($hdr_value{strlen($hdr_value)-1} == '"') {
$hdr_value = substr($hdr_value, 0, -1);
$quoteSuffix = '"';
}
//Generate the header using the specified params and dynamicly
//determine the maximum length of such strings.
//75 is the value specified in the RFC. The -2 is there so
//the later regexp doesn't break any of the translated chars.
//The -2 on the first line-regexp is to compensate for the ": "
//between the header-name and the header value
$prefix = '=?' . $build_params['head_charset'] . '?Q?';
$suffix = '?=';
$maxLength = 75 - strlen($prefix . $suffix) - 2 - 1;
$maxLength1stLine = $maxLength - strlen($hdr_name) - 2;
$maxLength = $maxLength - 1;
//Replace all special characters used by the encoder.
$search = array('=', '_', '?', ' ');
$replace = array('=3D', '=5F', '=3F', '_');
$hdr_value = str_replace($search, $replace, $hdr_value);
//Replace all extended characters (\x80-xFF) with their
//ASCII values.
$hdr_value = preg_replace('#([\x80-\xFF])#e',
'"=" . strtoupper(dechex(ord("\1")))',
$hdr_value);
 
//This regexp will break QP-encoded text at every $maxLength
//but will not break any encoded letters.
$reg1st = "|(.{0,$maxLength1stLine}[^\=][^\=])|";
$reg2nd = "|(.{0,$maxLength}[^\=][^\=])|";
//Fix for Bug #10298, Ota Mares <om@viazenetti.de>
//Concat the double quotes and encoded string together
$hdr_value = $quotePrefix . $hdr_value . $quoteSuffix;
 
$hdr_value_out = $hdr_value;
$realMax = $maxLength1stLine + strlen($prefix . $suffix);
if (strlen($hdr_value_out) >= $realMax) {
//Begin with the regexp for the first line.
$reg = $reg1st;
$output = "";
while ($hdr_value_out) {
//Split translated string at every $maxLength
//But make sure not to break any translated chars.
$found = preg_match($reg, $hdr_value_out, $matches);
//After this first line, we need to use a different
//regexp for the first line.
$reg = $reg2nd;
//Save the found part and encapsulate it in the
//prefix & suffix. Then remove the part from the
//$hdr_value_out variable.
if ($found) {
$part = $matches[0];
$len = strlen($matches[0]);
$hdr_value_out = substr($hdr_value_out, $len);
} else {
$part = $hdr_value_out;
$hdr_value_out = "";
}
//RFC 2047 specifies that any split header should
//be seperated by a CRLF SPACE
if ($output) {
$output .= "\r\n ";
}
$output .= $prefix . $part . $suffix;
}
$hdr_value_out = $output;
} else {
$hdr_value_out = $prefix . $hdr_value_out . $suffix;
}
$hdr_value = $hdr_value_out;
}
}
$input[$hdr_name] = $hdr_value;
}
return $input;
}
 
/**
* Set the object's end-of-line and define the constant if applicable.
*
* @param string $eol End Of Line sequence
*
* @return void
* @access private
*/
function _setEOL($eol)
{
$this->_eol = $eol;
if (!defined('MAIL_MIME_CRLF')) {
define('MAIL_MIME_CRLF', $this->_eol, true);
}
}
 
 
} // End of class
<?php
/**
* The Mail_Mime class is used to create MIME E-mail messages
*
* The Mail_Mime class provides an OO interface to create MIME
* enabled email messages. This way you can create emails that
* contain plain-text bodies, HTML bodies, attachments, inline
* images and specific headers.
*
* Compatible with PHP versions 4 and 5
*
* LICENSE: This LICENSE is in the BSD license style.
* Copyright (c) 2002-2003, Richard Heyes <richard@phpguru.org>
* Copyright (c) 2003-2006, PEAR <pear-group@php.net>
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or
* without modification, are permitted provided that the following
* conditions are met:
*
* - Redistributions of source code must retain the above copyright
* notice, this list of conditions and the following disclaimer.
* - Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* - Neither the name of the authors, nor the names of its contributors
* may be used to endorse or promote products derived from this
* software without specific prior written permission.
*
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
* AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
* ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
* LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
* CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
* SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
* INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
* CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
* ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
* THE POSSIBILITY OF SUCH DAMAGE.
*
* @category Mail
* @package Mail_Mime
* @author Richard Heyes <richard@phpguru.org>
* @author Tomas V.V. Cox <cox@idecnet.com>
* @author Cipriano Groenendal <cipri@php.net>
* @author Sean Coates <sean@php.net>
* @copyright 2003-2006 PEAR <pear-group@php.net>
* @license http://www.opensource.org/licenses/bsd-license.php BSD License
* @version CVS: $Id: mime.php,v 1.1.6.1 2007-11-19 12:53:54 alexandre_tb Exp $
* @link http://pear.php.net/package/Mail_mime
*
* This class is based on HTML Mime Mail class from
* Richard Heyes <richard@phpguru.org> which was based also
* in the mime_mail.class by Tobias Ratschiller <tobias@dnet.it>
* and Sascha Schumann <sascha@schumann.cx>
*/
 
 
/**
* require PEAR
*
* This package depends on PEAR to raise errors.
*/
require_once 'PEAR.php';
 
/**
* require Mail_mimePart
*
* Mail_mimePart contains the code required to
* create all the different parts a mail can
* consist of.
*/
require_once 'Mail/mimePart.php';
 
 
/**
* The Mail_Mime class provides an OO interface to create MIME
* enabled email messages. This way you can create emails that
* contain plain-text bodies, HTML bodies, attachments, inline
* images and specific headers.
*
* @category Mail
* @package Mail_Mime
* @author Richard Heyes <richard@phpguru.org>
* @author Tomas V.V. Cox <cox@idecnet.com>
* @author Cipriano Groenendal <cipri@php.net>
* @author Sean Coates <sean@php.net>
* @copyright 2003-2006 PEAR <pear-group@php.net>
* @license http://www.opensource.org/licenses/bsd-license.php BSD License
* @version Release: @package_version@
* @link http://pear.php.net/package/Mail_mime
*/
class Mail_mime
{
/**
* Contains the plain text part of the email
*
* @var string
* @access private
*/
var $_txtbody;
 
/**
* Contains the html part of the email
*
* @var string
* @access private
*/
var $_htmlbody;
 
/**
* contains the mime encoded text
*
* @var string
* @access private
*/
var $_mime;
 
/**
* contains the multipart content
*
* @var string
* @access private
*/
var $_multipart;
 
/**
* list of the attached images
*
* @var array
* @access private
*/
var $_html_images = array();
 
/**
* list of the attachements
*
* @var array
* @access private
*/
var $_parts = array();
 
/**
* Build parameters
*
* @var array
* @access private
*/
var $_build_params = array();
 
/**
* Headers for the mail
*
* @var array
* @access private
*/
var $_headers = array();
 
/**
* End Of Line sequence (for serialize)
*
* @var string
* @access private
*/
var $_eol;
 
 
/**
* Constructor function.
*
* @param string $crlf what type of linebreak to use.
* Defaults to "\r\n"
*
* @return void
*
* @access public
*/
function Mail_mime($crlf = "\r\n")
{
$this->_setEOL($crlf);
$this->_build_params = array(
'head_encoding' => 'quoted-printable',
'text_encoding' => '7bit',
'html_encoding' => 'quoted-printable',
'7bit_wrap' => 998,
'html_charset' => 'ISO-8859-1',
'text_charset' => 'ISO-8859-1',
'head_charset' => 'ISO-8859-1'
);
}
 
/**
* wakeup function called by unserialize. It re-sets the EOL constant
*
* @access private
* @return void
*/
function __wakeup()
{
$this->_setEOL($this->_eol);
}
 
 
/**
* Accessor function to set the body text. Body text is used if
* it's not an html mail being sent or else is used to fill the
* text/plain part that emails clients who don't support
* html should show.
*
* @param string $data Either a string or
* the file name with the contents
* @param bool $isfile If true the first param should be treated
* as a file name, else as a string (default)
* @param bool $append If true the text or file is appended to
* the existing body, else the old body is
* overwritten
*
* @return mixed true on success or PEAR_Error object
* @access public
*/
function setTXTBody($data, $isfile = false, $append = false)
{
if (!$isfile) {
if (!$append) {
$this->_txtbody = $data;
} else {
$this->_txtbody .= $data;
}
} else {
$cont = $this->_file2str($data);
if (PEAR::isError($cont)) {
return $cont;
}
if (!$append) {
$this->_txtbody = $cont;
} else {
$this->_txtbody .= $cont;
}
}
return true;
}
 
/**
* Adds a html part to the mail.
*
* @param string $data either a string or the file name with the
* contents
* @param bool $isfile a flag that determines whether $data is a
* filename, or a string(false, default)
*
* @return bool true on success
* @access public
*/
function setHTMLBody($data, $isfile = false)
{
if (!$isfile) {
$this->_htmlbody = $data;
} else {
$cont = $this->_file2str($data);
if (PEAR::isError($cont)) {
return $cont;
}
$this->_htmlbody = $cont;
}
 
return true;
}
 
/**
* Adds an image to the list of embedded images.
*
* @param string $file the image file name OR image data itself
* @param string $c_type the content type
* @param string $name the filename of the image.
* Only used if $file is the image data.
* @param bool $isfile whether $file is a filename or not.
* Defaults to true
*
* @return bool true on success
* @access public
*/
function addHTMLImage($file, $c_type='application/octet-stream',
$name = '', $isfile = true)
{
$filedata = ($isfile === true) ? $this->_file2str($file)
: $file;
if ($isfile === true) {
$filename = ($name == '' ? $file : $name);
} else {
$filename = $name;
}
if (PEAR::isError($filedata)) {
return $filedata;
}
$this->_html_images[] = array(
'body' => $filedata,
'name' => $filename,
'c_type' => $c_type,
'cid' => md5(uniqid(time()))
);
return true;
}
 
/**
* Adds a file to the list of attachments.
*
* @param string $file The file name of the file to attach
* OR the file contents itself
* @param string $c_type The content type
* @param string $name The filename of the attachment
* Only use if $file is the contents
* @param bool $isfile Whether $file is a filename or not
* Defaults to true
* @param string $encoding The type of encoding to use.
* Defaults to base64.
* Possible values: 7bit, 8bit, base64,
* or quoted-printable.
* @param string $disposition The content-disposition of this file
* Defaults to attachment.
* Possible values: attachment, inline.
* @param string $charset The character set used in the filename
* of this attachment.
* @param string $language The language of the attachment
* @param string $location The RFC 2557.4 location of the attachment
*
* @return mixed true on success or PEAR_Error object
* @access public
*/
function addAttachment($file,
$c_type = 'application/octet-stream',
$name = '',
$isfile = true,
$encoding = 'base64',
$disposition = 'attachment',
$charset = '',
$language = '',
$location = '')
{
$filedata = ($isfile === true) ? $this->_file2str($file)
: $file;
if ($isfile === true) {
// Force the name the user supplied, otherwise use $file
$filename = (strlen($name)) ? $name : $file;
} else {
$filename = $name;
}
if (!strlen($filename)) {
$msg = "The supplied filename for the attachment can't be empty";
$err = PEAR::raiseError($msg);
return $err;
}
$filename = basename($filename);
if (PEAR::isError($filedata)) {
return $filedata;
}
 
$this->_parts[] = array(
'body' => $filedata,
'name' => $filename,
'c_type' => $c_type,
'encoding' => $encoding,
'charset' => $charset,
'language' => $language,
'location' => $location,
'disposition' => $disposition
);
return true;
}
 
/**
* Get the contents of the given file name as string
*
* @param string $file_name path of file to process
*
* @return string contents of $file_name
* @access private
*/
function &_file2str($file_name)
{
if (!is_readable($file_name)) {
$err = PEAR::raiseError('File is not readable ' . $file_name);
return $err;
}
if (!$fd = fopen($file_name, 'rb')) {
$err = PEAR::raiseError('Could not open ' . $file_name);
return $err;
}
$filesize = filesize($file_name);
if ($filesize == 0) {
$cont = "";
} else {
if ($magic_quote_setting = get_magic_quotes_runtime()) {
set_magic_quotes_runtime(0);
}
$cont = fread($fd, $filesize);
if ($magic_quote_setting) {
set_magic_quotes_runtime($magic_quote_setting);
}
}
fclose($fd);
return $cont;
}
 
/**
* Adds a text subpart to the mimePart object and
* returns it during the build process.
*
* @param mixed &$obj The object to add the part to, or
* null if a new object is to be created.
* @param string $text The text to add.
*
* @return object The text mimePart object
* @access private
*/
function &_addTextPart(&$obj, $text)
{
$params['content_type'] = 'text/plain';
$params['encoding'] = $this->_build_params['text_encoding'];
$params['charset'] = $this->_build_params['text_charset'];
if (is_object($obj)) {
$ret = $obj->addSubpart($text, $params);
return $ret;
} else {
$ret = new Mail_mimePart($text, $params);
return $ret;
}
}
 
/**
* Adds a html subpart to the mimePart object and
* returns it during the build process.
*
* @param mixed &$obj The object to add the part to, or
* null if a new object is to be created.
*
* @return object The html mimePart object
* @access private
*/
function &_addHtmlPart(&$obj)
{
$params['content_type'] = 'text/html';
$params['encoding'] = $this->_build_params['html_encoding'];
$params['charset'] = $this->_build_params['html_charset'];
if (is_object($obj)) {
$ret = $obj->addSubpart($this->_htmlbody, $params);
return $ret;
} else {
$ret = new Mail_mimePart($this->_htmlbody, $params);
return $ret;
}
}
 
/**
* Creates a new mimePart object, using multipart/mixed as
* the initial content-type and returns it during the
* build process.
*
* @return object The multipart/mixed mimePart object
* @access private
*/
function &_addMixedPart()
{
$params = array();
$params['content_type'] = 'multipart/mixed';
//Create empty multipart/mixed Mail_mimePart object to return
$ret = new Mail_mimePart('', $params);
return $ret;
}
 
/**
* Adds a multipart/alternative part to a mimePart
* object (or creates one), and returns it during
* the build process.
*
* @param mixed &$obj The object to add the part to, or
* null if a new object is to be created.
*
* @return object The multipart/mixed mimePart object
* @access private
*/
function &_addAlternativePart(&$obj)
{
$params['content_type'] = 'multipart/alternative';
if (is_object($obj)) {
return $obj->addSubpart('', $params);
} else {
$ret = new Mail_mimePart('', $params);
return $ret;
}
}
 
/**
* Adds a multipart/related part to a mimePart
* object (or creates one), and returns it during
* the build process.
*
* @param mixed &$obj The object to add the part to, or
* null if a new object is to be created
*
* @return object The multipart/mixed mimePart object
* @access private
*/
function &_addRelatedPart(&$obj)
{
$params['content_type'] = 'multipart/related';
if (is_object($obj)) {
return $obj->addSubpart('', $params);
} else {
$ret = new Mail_mimePart('', $params);
return $ret;
}
}
 
/**
* Adds an html image subpart to a mimePart object
* and returns it during the build process.
*
* @param object &$obj The mimePart to add the image to
* @param array $value The image information
*
* @return object The image mimePart object
* @access private
*/
function &_addHtmlImagePart(&$obj, $value)
{
$params['content_type'] = $value['c_type'];
$params['encoding'] = 'base64';
$params['disposition'] = 'inline';
$params['dfilename'] = $value['name'];
$params['cid'] = $value['cid'];
$ret = $obj->addSubpart($value['body'], $params);
return $ret;
}
 
/**
* Adds an attachment subpart to a mimePart object
* and returns it during the build process.
*
* @param object &$obj The mimePart to add the image to
* @param array $value The attachment information
*
* @return object The image mimePart object
* @access private
*/
function &_addAttachmentPart(&$obj, $value)
{
$params['dfilename'] = $value['name'];
$params['encoding'] = $value['encoding'];
if ($value['charset']) {
$params['charset'] = $value['charset'];
}
if ($value['language']) {
$params['language'] = $value['language'];
}
if ($value['location']) {
$params['location'] = $value['location'];
}
$params['content_type'] = $value['c_type'];
$params['disposition'] = isset($value['disposition']) ?
$value['disposition'] : 'attachment';
$ret = $obj->addSubpart($value['body'], $params);
return $ret;
}
 
/**
* Returns the complete e-mail, ready to send using an alternative
* mail delivery method. Note that only the mailpart that is made
* with Mail_Mime is created. This means that,
* YOU WILL HAVE NO TO: HEADERS UNLESS YOU SET IT YOURSELF
* using the $xtra_headers parameter!
*
* @param string $separation The separation etween these two parts.
* @param array $build_params The Build parameters passed to the
* &get() function. See &get for more info.
* @param array $xtra_headers The extra headers that should be passed
* to the &headers() function.
* See that function for more info.
* @param bool $overwrite Overwrite the existing headers with new.
*
* @return string The complete e-mail.
* @access public
*/
function getMessage(
$separation = null,
$build_params = null,
$xtra_headers = null,
$overwrite = false
)
{
if ($separation === null) {
$separation = MAIL_MIME_CRLF;
}
$body = $this->get($build_params);
$head = $this->txtHeaders($xtra_headers, $overwrite);
$mail = $head . $separation . $body;
return $mail;
}
 
 
/**
* Builds the multipart message from the list ($this->_parts) and
* returns the mime content.
*
* @param array $build_params Build parameters that change the way the email
* is built. Should be associative. Can contain:
* head_encoding - What encoding to use for the headers.
* Options: quoted-printable or base64
* Default is quoted-printable
* text_encoding - What encoding to use for plain text
* Options: 7bit, 8bit,
* base64, or quoted-printable
* Default is 7bit
* html_encoding - What encoding to use for html
* Options: 7bit, 8bit,
* base64, or quoted-printable
* Default is quoted-printable
* 7bit_wrap - Number of characters before text is
* wrapped in 7bit encoding
* Default is 998
* html_charset - The character set to use for html.
* Default is iso-8859-1
* text_charset - The character set to use for text.
* Default is iso-8859-1
* head_charset - The character set to use for headers.
* Default is iso-8859-1
*
* @return string The mime content
* @access public
*/
function &get($build_params = null)
{
if (isset($build_params)) {
while (list($key, $value) = each($build_params)) {
$this->_build_params[$key] = $value;
}
}
if (isset($this->_headers['From'])){
$domain = @strstr($this->_headers['From'],'@');
//Bug #11381: Illegal characters in domain ID
$domain = str_replace(array("<", ">", "&", "(", ")", " ", "\"", "'"), "", $domain);
$domain = urlencode($domain);
foreach($this->_html_images as $i => $img){
$this->_html_images[$i]['cid'] = $this->_html_images[$i]['cid'] . $domain;
}
}
if (count($this->_html_images) AND isset($this->_htmlbody)) {
foreach ($this->_html_images as $key => $value) {
$regex = array();
$regex[] = '#(\s)((?i)src|background|href(?-i))\s*=\s*(["\']?)' .
preg_quote($value['name'], '#') . '\3#';
$regex[] = '#(?i)url(?-i)\(\s*(["\']?)' .
preg_quote($value['name'], '#') . '\1\s*\)#';
 
$rep = array();
$rep[] = '\1\2=\3cid:' . $value['cid'] .'\3';
$rep[] = 'url(\1cid:' . $value['cid'] . '\2)';
 
$this->_htmlbody = preg_replace($regex, $rep, $this->_htmlbody);
$this->_html_images[$key]['name'] =
basename($this->_html_images[$key]['name']);
}
}
 
$null = null;
$attachments = count($this->_parts) ? true : false;
$html_images = count($this->_html_images) ? true : false;
$html = strlen($this->_htmlbody) ? true : false;
$text = (!$html AND strlen($this->_txtbody)) ? true : false;
 
switch (true) {
case $text AND !$attachments:
$message =& $this->_addTextPart($null, $this->_txtbody);
break;
 
case !$text AND !$html AND $attachments:
$message =& $this->_addMixedPart();
for ($i = 0; $i < count($this->_parts); $i++) {
$this->_addAttachmentPart($message, $this->_parts[$i]);
}
break;
 
case $text AND $attachments:
$message =& $this->_addMixedPart();
$this->_addTextPart($message, $this->_txtbody);
for ($i = 0; $i < count($this->_parts); $i++) {
$this->_addAttachmentPart($message, $this->_parts[$i]);
}
break;
 
case $html AND !$attachments AND !$html_images:
if (isset($this->_txtbody)) {
$message =& $this->_addAlternativePart($null);
$this->_addTextPart($message, $this->_txtbody);
$this->_addHtmlPart($message);
} else {
$message =& $this->_addHtmlPart($null);
}
break;
 
case $html AND !$attachments AND $html_images:
$message =& $this->_addRelatedPart($null);
if (isset($this->_txtbody)) {
$alt =& $this->_addAlternativePart($message);
$this->_addTextPart($alt, $this->_txtbody);
$this->_addHtmlPart($alt);
} else {
$this->_addHtmlPart($message);
}
for ($i = 0; $i < count($this->_html_images); $i++) {
$this->_addHtmlImagePart($message, $this->_html_images[$i]);
}
break;
 
case $html AND $attachments AND !$html_images:
$message =& $this->_addMixedPart();
if (isset($this->_txtbody)) {
$alt =& $this->_addAlternativePart($message);
$this->_addTextPart($alt, $this->_txtbody);
$this->_addHtmlPart($alt);
} else {
$this->_addHtmlPart($message);
}
for ($i = 0; $i < count($this->_parts); $i++) {
$this->_addAttachmentPart($message, $this->_parts[$i]);
}
break;
 
case $html AND $attachments AND $html_images:
$message =& $this->_addMixedPart();
if (isset($this->_txtbody)) {
$alt =& $this->_addAlternativePart($message);
$this->_addTextPart($alt, $this->_txtbody);
$rel =& $this->_addRelatedPart($alt);
} else {
$rel =& $this->_addRelatedPart($message);
}
$this->_addHtmlPart($rel);
for ($i = 0; $i < count($this->_html_images); $i++) {
$this->_addHtmlImagePart($rel, $this->_html_images[$i]);
}
for ($i = 0; $i < count($this->_parts); $i++) {
$this->_addAttachmentPart($message, $this->_parts[$i]);
}
break;
 
}
 
if (isset($message)) {
$output = $message->encode();
$this->_headers = array_merge($this->_headers,
$output['headers']);
$body = $output['body'];
return $body;
 
} else {
$ret = false;
return $ret;
}
}
 
/**
* Returns an array with the headers needed to prepend to the email
* (MIME-Version and Content-Type). Format of argument is:
* $array['header-name'] = 'header-value';
*
* @param array $xtra_headers Assoc array with any extra headers.
* Optional.
* @param bool $overwrite Overwrite already existing headers.
*
* @return array Assoc array with the mime headers
* @access public
*/
function &headers($xtra_headers = null, $overwrite = false)
{
// Content-Type header should already be present,
// So just add mime version header
$headers['MIME-Version'] = '1.0';
if (isset($xtra_headers)) {
$headers = array_merge($headers, $xtra_headers);
}
if ($overwrite) {
$this->_headers = array_merge($this->_headers, $headers);
} else {
$this->_headers = array_merge($headers, $this->_headers);
}
 
$encodedHeaders = $this->_encodeHeaders($this->_headers);
return $encodedHeaders;
}
 
/**
* Get the text version of the headers
* (usefull if you want to use the PHP mail() function)
*
* @param array $xtra_headers Assoc array with any extra headers.
* Optional.
* @param bool $overwrite Overwrite the existing heaers with new.
*
* @return string Plain text headers
* @access public
*/
function txtHeaders($xtra_headers = null, $overwrite = false)
{
$headers = $this->headers($xtra_headers, $overwrite);
$ret = '';
foreach ($headers as $key => $val) {
$ret .= "$key: $val" . MAIL_MIME_CRLF;
}
return $ret;
}
 
/**
* Sets the Subject header
*
* @param string $subject String to set the subject to.
*
* @return void
* @access public
*/
function setSubject($subject)
{
$this->_headers['Subject'] = $subject;
}
 
/**
* Set an email to the From (the sender) header
*
* @param string $email The email address to use
*
* @return void
* @access public
*/
function setFrom($email)
{
$this->_headers['From'] = $email;
}
 
/**
* Add an email to the Cc (carbon copy) header
* (multiple calls to this method are allowed)
*
* @param string $email The email direction to add
*
* @return void
* @access public
*/
function addCc($email)
{
if (isset($this->_headers['Cc'])) {
$this->_headers['Cc'] .= ", $email";
} else {
$this->_headers['Cc'] = $email;
}
}
 
/**
* Add an email to the Bcc (blank carbon copy) header
* (multiple calls to this method are allowed)
*
* @param string $email The email direction to add
*
* @return void
* @access public
*/
function addBcc($email)
{
if (isset($this->_headers['Bcc'])) {
$this->_headers['Bcc'] .= ", $email";
} else {
$this->_headers['Bcc'] = $email;
}
}
 
/**
* Since the PHP send function requires you to specifiy
* recipients (To: header) separately from the other
* headers, the To: header is not properly encoded.
* To fix this, you can use this public method to
* encode your recipients before sending to the send
* function
*
* @param string $recipients A comma-delimited list of recipients
*
* @return string Encoded data
* @access public
*/
function encodeRecipients($recipients)
{
$input = array("To" => $recipients);
$retval = $this->_encodeHeaders($input);
return $retval["To"] ;
}
 
/**
* Encodes a header as per RFC2047
*
* @param array $input The header data to encode
* @param array $params Extra build parameters
*
* @return array Encoded data
* @access private
*/
function _encodeHeaders($input, $params = array())
{
$build_params = $this->_build_params;
while (list($key, $value) = each($params)) {
$build_params[$key] = $value;
}
//$hdr_name: Name of the heaer
//$hdr_value: Full line of header value.
//$hdr_value_out: The recombined $hdr_val-atoms, or the encoded string.
$useIconv = true;
if (isset($build_params['ignore-iconv'])) {
$useIconv = !$build_params['ignore-iconv'];
}
foreach ($input as $hdr_name => $hdr_value) {
if (preg_match('#([\x80-\xFF]){1}#', $hdr_value)) {
if (function_exists('iconv_mime_encode') && $useIconv) {
$imePrefs = array();
if ($build_params['head_encoding'] == 'base64') {
$imePrefs['scheme'] = 'B';
} else {
$imePrefs['scheme'] = 'Q';
}
$imePrefs['input-charset'] = $build_params['head_charset'];
$imePrefs['output-charset'] = $build_params['head_charset'];
$imePrefs['line-length'] = 74;
$imePrefs['line-break-chars'] = "\r\n"; //Specified in RFC2047
$hdr_value = iconv_mime_encode($hdr_name, $hdr_value, $imePrefs);
$hdr_value = preg_replace("#^{$hdr_name}\:\ #", "", $hdr_value);
} elseif ($build_params['head_encoding'] == 'base64') {
//Base64 encoding has been selected.
//Base64 encode the entire string
$hdr_value = base64_encode($hdr_value);
//Generate the header using the specified params and dynamicly
//determine the maximum length of such strings.
//75 is the value specified in the RFC. The first -2 is there so
//the later regexp doesn't break any of the translated chars.
//The -2 on the first line-regexp is to compensate for the ": "
//between the header-name and the header value
$prefix = '=?' . $build_params['head_charset'] . '?B?';
$suffix = '?=';
$maxLength = 75 - strlen($prefix . $suffix) - 2;
$maxLength1stLine = $maxLength - strlen($hdr_name) - 2;
 
//We can cut base4 every 4 characters, so the real max
//we can get must be rounded down.
$maxLength = $maxLength - ($maxLength % 4);
$maxLength1stLine = $maxLength1stLine - ($maxLength1stLine % 4);
$cutpoint = $maxLength1stLine;
$hdr_value_out = $hdr_value;
$output = "";
while ($hdr_value_out) {
//Split translated string at every $maxLength
$part = substr($hdr_value_out, 0, $cutpoint);
$hdr_value_out = substr($hdr_value_out, $cutpoint);
$cutpoint = $maxLength;
//RFC 2047 specifies that any split header should
//be seperated by a CRLF SPACE.
if ($output) {
$output .= "\r\n ";
}
$output .= $prefix . $part . $suffix;
}
$hdr_value = $output;
} else {
//quoted-printable encoding has been selected
 
//Fix for Bug #10298, Ota Mares <om@viazenetti.de>
//Check if there is a double quote at beginning or end of
//the string to prevent that an open or closing quote gets
//ignored because it is encapsuled by an encoding pre/suffix.
//Remove the double quote and set the specific prefix or
//suffix variable so that we can concat the encoded string and
//the double quotes back together to get the intended string.
$quotePrefix = $quoteSuffix = '';
if ($hdr_value{0} == '"') {
$hdr_value = substr($hdr_value, 1);
$quotePrefix = '"';
}
if ($hdr_value{strlen($hdr_value)-1} == '"') {
$hdr_value = substr($hdr_value, 0, -1);
$quoteSuffix = '"';
}
//Generate the header using the specified params and dynamicly
//determine the maximum length of such strings.
//75 is the value specified in the RFC. The -2 is there so
//the later regexp doesn't break any of the translated chars.
//The -2 on the first line-regexp is to compensate for the ": "
//between the header-name and the header value
$prefix = '=?' . $build_params['head_charset'] . '?Q?';
$suffix = '?=';
$maxLength = 75 - strlen($prefix . $suffix) - 2 - 1;
$maxLength1stLine = $maxLength - strlen($hdr_name) - 2;
$maxLength = $maxLength - 1;
//Replace all special characters used by the encoder.
$search = array('=', '_', '?', ' ');
$replace = array('=3D', '=5F', '=3F', '_');
$hdr_value = str_replace($search, $replace, $hdr_value);
//Replace all extended characters (\x80-xFF) with their
//ASCII values.
$hdr_value = preg_replace('#([\x80-\xFF])#e',
'"=" . strtoupper(dechex(ord("\1")))',
$hdr_value);
 
//This regexp will break QP-encoded text at every $maxLength
//but will not break any encoded letters.
$reg1st = "|(.{0,$maxLength1stLine}[^\=][^\=])|";
$reg2nd = "|(.{0,$maxLength}[^\=][^\=])|";
//Fix for Bug #10298, Ota Mares <om@viazenetti.de>
//Concat the double quotes and encoded string together
$hdr_value = $quotePrefix . $hdr_value . $quoteSuffix;
 
$hdr_value_out = $hdr_value;
$realMax = $maxLength1stLine + strlen($prefix . $suffix);
if (strlen($hdr_value_out) >= $realMax) {
//Begin with the regexp for the first line.
$reg = $reg1st;
$output = "";
while ($hdr_value_out) {
//Split translated string at every $maxLength
//But make sure not to break any translated chars.
$found = preg_match($reg, $hdr_value_out, $matches);
//After this first line, we need to use a different
//regexp for the first line.
$reg = $reg2nd;
//Save the found part and encapsulate it in the
//prefix & suffix. Then remove the part from the
//$hdr_value_out variable.
if ($found) {
$part = $matches[0];
$len = strlen($matches[0]);
$hdr_value_out = substr($hdr_value_out, $len);
} else {
$part = $hdr_value_out;
$hdr_value_out = "";
}
//RFC 2047 specifies that any split header should
//be seperated by a CRLF SPACE
if ($output) {
$output .= "\r\n ";
}
$output .= $prefix . $part . $suffix;
}
$hdr_value_out = $output;
} else {
$hdr_value_out = $prefix . $hdr_value_out . $suffix;
}
$hdr_value = $hdr_value_out;
}
}
$input[$hdr_name] = $hdr_value;
}
return $input;
}
 
/**
* Set the object's end-of-line and define the constant if applicable.
*
* @param string $eol End Of Line sequence
*
* @return void
* @access private
*/
function _setEOL($eol)
{
$this->_eol = $eol;
if (!defined('MAIL_MIME_CRLF')) {
define('MAIL_MIME_CRLF', $this->_eol, true);
}
}
 
 
} // End of class
/trunk/api/pear/Mail/mimeDecode.php
69,7 → 69,7
> headers. Therefore I made the following function:
>
> function decode_utf8($txt) {
> $trans=array("Å&#8216;"=>"õ","ű"=>"û","Ő"=>"Ã&#8226;","Å°"
> $trans=array("Å&#8216;"=>"õ","ű"=>"û","Ő"=>"Ã&#8226;","Å°"
=>"Ã&#8250;");
> $txt=strtr($txt,$trans);
> return(utf8_decode($txt));
/trunk/api/pear/Pager.php
33,7 → 33,7
* @author Richard Heyes <richard@phpguru.org>
* @copyright 2003-2006 Lorenzo Alberton, Richard Heyes
* @license http://www.debian.org/misc/bsd.license BSD License (3 Clause)
* @version CVS: $Id: Pager.php,v 1.2 2007-11-19 15:10:59 jp_milcent Exp $
* @version CVS: $Id: Pager.php,v 1.2 2007-11-06 10:54:04 jp_milcent Exp $
* @link http://pear.php.net/package/Pager
*/