Debian Codegraph @

closure-library/closure/goog/i18n/currencycodemap.js

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