Path: blob/trunk/third_party/closure/goog/i18n/currencycodemap.js
2868 views
// Copyright 2008 The Closure Library Authors. All Rights Reserved.1//2// Licensed under the Apache License, Version 2.0 (the "License");3// you may not use this file except in compliance with the License.4// You may obtain a copy of the License at5//6// http://www.apache.org/licenses/LICENSE-2.07//8// Unless required by applicable law or agreed to in writing, software9// distributed under the License is distributed on an "AS-IS" BASIS,10// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.11// See the License for the specific language governing permissions and12// limitations under the License.1314/**15* @fileoverview Currency code map.16*/171819/**20* Namespace for locale number format functions21*/22goog.provide('goog.i18n.currencyCodeMap');23goog.provide('goog.i18n.currencyCodeMapTier2');242526/**27* Deprecated, this data is not being updated. Please use28* {@link goog.i18n.currency}.29*30* The mapping of currency symbol through intl currency code.31* The source of information is mostly from wikipedia and CLDR. Since there is32* no authoritative source, items are judged by personal perception.3334* If an application need currency support that available in tier2, it35* should extend currencyCodeMap to include tier2 data by doing this:36* goog.object.extend(goog.i18n.currencyCodeMap,37* goog.i18n.currencyCodeMapTier2);38*39* @deprecated Use {@link goog.i18n.currency.getLocalCurrencyPattern} instead.40* @const {!Object<string, string>}41*/42goog.i18n.currencyCodeMap = {43'AED': '\u062F\u002e\u0625',44'ARS': '$',45'AUD': '$',46'BDT': '\u09F3',47'BRL': 'R$',48'CAD': '$',49'CHF': 'Fr.',50'CLP': '$',51'CNY': '\u00a5',52'COP': '$',53'CRC': '\u20a1',54'CUP': '$',55'CZK': 'K\u010d',56'DKK': 'kr.',57'DOP': 'RD$',58'EGP': '\u00a3',59'EUR': '\u20ac',60'GBP': '\u00a3',61'HKD': '$',62'HRK': 'kn',63'HUF': 'Ft',64'IDR': 'Rp',65'ILS': '\u20AA',66'INR': 'Rs',67'IQD': '\u0639\u062F',68'ISK': 'kr',69'JMD': '$',70'JPY': '\u00a5',71'KRW': '\u20A9',72'KWD': '\u062F\u002e\u0643',73'LKR': 'Rs',74'LVL': 'Ls',75'MNT': '\u20AE',76'MXN': '$',77'MYR': 'RM',78'NOK': 'kr',79'NZD': '$',80'PAB': 'B/.',81'PEN': 'S/.',82'PHP': 'P',83'PKR': 'Rs.',84'PLN': 'z\u0142',85'RON': 'L',86'RUB': '\u20bd',87'SAR': '\u0633\u002E\u0631',88'SEK': 'kr',89'SGD': '$',90'SYP': 'SYP',91'THB': '\u0e3f',92'TRY': 'TL',93'TWD': 'NT$',94'USD': '$',95'UYU': '$',96'VEF': 'Bs.F',97'VND': '\u20AB',98'XAF': 'FCFA',99'XCD': '$',100'YER': 'YER',101'ZAR': 'R'102};103104105/**106* Deprecated, this data is not being updated. Please use107* {@link goog.i18n.currency}.108*109* This group of currency data is unlikely to be used. In case they are,110* program need to merge it into goog.locale.CurrencyCodeMap.111*112* @deprecated Call {@link goog.i18n.currency.addTier2Support} and then use113* {@link goog.i18n.currency.getLocalCurrencyPattern}.114* @const {!Object<string, string>}115*/116goog.i18n.currencyCodeMapTier2 = {117'AFN': '\u060b',118'ALL': 'Lek',119'AMD': '\u0564\u0580\u002e',120'ANG': 'ANf.',121'AOA': 'Kz',122'AWG': '\u0192',123'AZN': '\u20bc',124'BAM': '\u041a\u041c',125'BBD': '$',126'BGN': '\u043b\u0432',127'BHD': '\u0628\u002e\u062f\u002e',128'BIF': 'FBu',129'BMD': '$',130'BND': '$',131'BOB': 'B$',132'BSD': '$',133'BTN': 'Nu.',134'BWP': 'P',135'BYR': 'p.',136'BZD': '$',137'CDF': 'F',138'CUC': 'CUC$',139'CVE': '$',140'DJF': 'Fdj',141'DZD': '\u062f\u062C',142'ERN': 'Nfk',143'ETB': 'Br',144'FJD': '$',145'FKP': '\u00a3',146'GEL': 'GEL',147'GHS': '\u20B5',148'GIP': '\u00a3',149'GMD': 'D',150'GNF': 'FG',151'GTQ': 'Q',152'GYD': '$',153'HNL': 'L',154'HTG': 'G',155'IRR': '\ufdfc',156'JOD': 'JOD',157'KES': 'KSh',158'KGS': 'som',159'KHR': '\u17DB',160'KMF': 'KMF',161'KPW': '\u20A9',162'KYD': '$',163'KZT': 'KZT',164'LAK': '\u20AD',165'LBP': '\u0644\u002e\u0644',166'LRD': '$',167'LSL': 'L',168'LTL': 'Lt',169'LYD': '\u0644\u002e\u062F',170'MAD': '\u0645\u002E\u062F\u002E',171'MDL': 'MDL',172'MGA': 'MGA',173'MKD': 'MKD',174'MMK': 'K',175'MOP': 'MOP$',176'MRO': 'UM',177'MUR': 'Rs',178'MVR': 'Rf',179'MWK': 'MK',180'MZN': 'MTn',181'NAD': '$',182'NGN': '\u20A6',183'NIO': 'C$',184'NPR': 'Rs',185'OMR': '\u0639\u002E\u062F\u002E',186'PGK': 'K',187'PYG': 'Gs.',188'QAR': '\u0642\u002E\u0631',189'RSD': '\u0420\u0421\u0414',190'RWF': 'RF',191'SBD': '$',192'SCR': 'SR',193'SDG': 'SDG',194'SHP': '\u00a3',195'SLL': 'Le',196'SOS': 'So. Sh.',197'SRD': '$',198'SSP': '£',199'STD': 'Db',200'SZL': 'L',201'TJS': 'TJS',202'TND': '\u062F\u002e\u062A ',203'TOP': 'T$',204'TTD': '$',205'TZS': 'TZS',206'UAH': 'грн.',207'UGX': 'USh',208'UZS': 'UZS',209'VUV': 'Vt',210'WST': 'WS$',211'XOF': 'CFA',212'XPF': 'F',213'ZMW': 'ZMW',214'ZWD': '$'215};216217218