Sat, 03 Jan 2015 20:18:00 +0100
Conditionally enable double key logic according to:
private browsing mode or privacy.thirdparty.isolate preference and
implement in GetCookieStringCommon and FindCookie where it counts...
With some reservations of how to convince FindCookie users to test
condition and pass a nullptr when disabling double key logic.
1 // ***************************************************************************
2 // *
3 // * Copyright (C) 2013 International Business Machines
4 // * Corporation and others. All Rights Reserved.
5 // * Tool: org.unicode.cldr.icu.NewLdml2IcuConverter
6 // * Source File: <path>/common/main/zh_Hant_HK.xml
7 // *
8 // ***************************************************************************
9 zh_Hant_HK{
10 NumberElements{
11 latn{
12 patterns{
13 accountingFormat{"¤#,##0.00;(¤#,##0.00)"}
14 currencyFormat{"¤#,##0.00"}
15 }
16 }
17 }
18 Version{"2.0.92.87"}
19 calendar{
20 buddhist{
21 availableFormats{
22 MEd{"M-d(E)"}
23 Md{"M-d"}
24 }
25 }
26 chinese{
27 monthNames{
28 format{
29 abbreviated{
30 "一月",
31 "二月",
32 "三月",
33 "四月",
34 "五月",
35 "六月",
36 "七月",
37 "八月",
38 "九月",
39 "十月",
40 "十一月",
41 "十二月",
42 }
43 narrow{
44 "一",
45 "二",
46 "三",
47 "四",
48 "五",
49 "六",
50 "七",
51 "八",
52 "九",
53 "十",
54 "十一",
55 "十二",
56 }
57 wide{
58 "一月",
59 "二月",
60 "三月",
61 "四月",
62 "五月",
63 "六月",
64 "七月",
65 "八月",
66 "九月",
67 "十月",
68 "十一月",
69 "十二月",
70 }
71 }
72 stand-alone{
73 abbreviated{
74 "一月",
75 "二月",
76 "三月",
77 "四月",
78 "五月",
79 "六月",
80 "七月",
81 "八月",
82 "九月",
83 "十月",
84 "十一月",
85 "十二月",
86 }
87 narrow{
88 "一",
89 "二",
90 "三",
91 "四",
92 "五",
93 "六",
94 "七",
95 "八",
96 "九",
97 "十",
98 "十一",
99 "十二",
100 }
101 wide{
102 "一月",
103 "二月",
104 "三月",
105 "四月",
106 "五月",
107 "六月",
108 "七月",
109 "八月",
110 "九月",
111 "十月",
112 "十一月",
113 "十二月",
114 }
115 }
116 }
117 }
118 generic{
119 DateTimePatterns{
120 "ah:mm:ss [zzzz]",
121 "ah:mm:ss [z]",
122 "ah:mm:ss",
123 "ah:mm",
124 "Gy年M月d日EEEE",
125 "Gy年M月d日",
126 "Gy年M月d日",
127 "d/M/yGGGGG",
128 "{1}{0}",
129 "{1} {0}",
130 "{1} {0}",
131 "{1}{0}",
132 "{1}{0}",
133 }
134 availableFormats{
135 Ed{"d E"}
136 GyMMM{"G y 年 M 月"}
137 GyMMMEd{"G y 年 M 月 d 日 (E)"}
138 MEd{"E, d/M"}
139 MMMEd{"M 月 d 日 (E)"}
140 MMMd{"M 月 d 日"}
141 Md{"d/M"}
142 yyyyM{"M/yGGGGG"}
143 yyyyMEd{"E, d/M/yGGGGG"}
144 yyyyMMMEd{"G y 年 M 月 d 日 (E)"}
145 yyyyMd{"d/M/yGGGGG"}
146 yyyyQQQ{"G y 年第QQQ"}
147 yyyyQQQQ{"G y 年QQQQ"}
148 }
149 intervalFormats{
150 MEd{
151 M{"d/M (E) 至 d/M (E)"}
152 d{"d/M (E) 至 d/M (E)"}
153 }
154 MMMEd{
155 M{"M 月 d 日 (E) 至 M 月 d 日 (E)"}
156 d{"M 月 d 日 (E) 至 d 日 (E)"}
157 }
158 MMMd{
159 M{"M 月 d 日至 M 月 d 日"}
160 d{"M 月 d 日至 d 日"}
161 }
162 Md{
163 M{"d/M 至 d/M"}
164 d{"d/M 至 d/M"}
165 }
166 y{
167 y{"G y 年至 y 年"}
168 }
169 yM{
170 M{"G M/y 至 M/y"}
171 }
172 yMEd{
173 M{"G d/M/y (E) 至 d/M/y (E)"}
174 d{"G d/M/y (E) 至 d/M/y (E)"}
175 y{"G d/M/y (E) 至 d/M/y (E)"}
176 }
177 yMMM{
178 y{"G y 年 M 月至 y 年 M 月"}
179 }
180 yMMMEd{
181 M{"G y 年 M 月 d 日 (E) 至 M 月 d 日 (E)"}
182 d{"G y 年 M 月 d 日 (E) 至 d 日 (E)"}
183 y{"G y 年 M 月 d 日 (E) 至 y 年 M 月 d 日 (E)"}
184 }
185 yMd{
186 M{"G d/M/y 至 d/M/y"}
187 d{"G d/M/y 至 d/M/y"}
188 y{"G d/M/y 至 d/M/y"}
189 }
190 }
191 }
192 gregorian{
193 DateTimePatterns{
194 "ah:mm:ss [zzzz]",
195 "ah:mm:ss [z]",
196 "ah:mm:ss",
197 "ah:mm",
198 "y年M月d日EEEE",
199 "y年M月d日",
200 "y年M月d日",
201 "d/M/yy",
202 "{1}{0}",
203 "{1} {0}",
204 "{1} {0}",
205 "{1}{0}",
206 "{1}{0}",
207 }
208 availableFormats{
209 Ed{"d E"}
210 GyMMMEd{"G y 年 M 月 d 日 (E)"}
211 MEd{"E, d/M"}
212 MMMEd{"M月d日 (E)"}
213 MMdd{"dd/MM"}
214 Md{"d/M"}
215 yM{"M/y"}
216 yMEd{"d/M/y(E)"}
217 yMM{"MM/y"}
218 yMMM{"y 年 M 月"}
219 yMMMEd{"y 年 M 月 d 日 (E)"}
220 yMMMM{"y 年 M 月"}
221 yMMMd{"y 年 M 月 d 日"}
222 yMd{"d/M/y"}
223 }
224 intervalFormats{
225 MEd{
226 M{"d/M (E) 至 d/M (E)"}
227 d{"d/M (E) 至 d/M (E)"}
228 }
229 MMMEd{
230 M{"M 月 d 日 (E) 至 M 月 d 日 (E)"}
231 d{"M 月 d 日 (E) 至 d 日 (E)"}
232 }
233 MMMd{
234 M{"M 月 d 日至 M 月 d 日"}
235 d{"M 月 d 日至 d 日"}
236 }
237 Md{
238 M{"d/M 至 d/M"}
239 d{"d/M 至 d/M"}
240 }
241 yM{
242 M{"M/y 至 M/y"}
243 y{"M/y 至 M/y"}
244 }
245 yMEd{
246 M{"d/M/y (E) 至 d/M/y (E)"}
247 d{"d/M/y (E) 至 d/M/y (E)"}
248 y{"d/M/y (E) 至 d/M/y (E)"}
249 }
250 yMMM{
251 M{"y 年 M 月至 M 月"}
252 y{"y 年 M 月至 y 年 M 月"}
253 }
254 yMMMEd{
255 M{"y 年 M 月 d 日 (E) 至 M 月 d 日 (E)"}
256 d{"y 年 M 月 d 日 (E) 至 M 月 d 日 (E)"}
257 y{"y 年 M 月 d 日 (E) 至 y 年 M 月 d日 (E)"}
258 }
259 yMMMM{
260 M{"y 年 M 月 至 M 月"}
261 y{"y 年 M 月至 y 年 M 月"}
262 }
263 yMMMd{
264 M{"y 年 M 月 d 日至 M 月 d 日"}
265 d{"y 年 M 月 d 日至 d 日"}
266 y{"y 年 M 月 d 日至 y 年 M 月 d 日"}
267 }
268 yMd{
269 M{"d/M/y 至 d/M/y"}
270 d{"d/M/y 至 d/M/y"}
271 y{"d/M/y 至 d/M/y"}
272 }
273 }
274 }
275 roc{
276 DateTimePatterns{
277 "ah:mm:ss [zzzz]",
278 "ah:mm:ss [z]",
279 "ah:mm:ss",
280 "ah:mm",
281 "Gy年M月d日EEEE",
282 "Gy年M月d日",
283 "Gy年M月d日",
284 "d/M/yGGGGG",
285 "{1}{0}",
286 "{1} {0}",
287 "{1} {0}",
288 "{1}{0}",
289 "{1}{0}",
290 }
291 availableFormats{
292 Gy{"G y 年"}
293 GyMMM{"G y 年 M 月"}
294 GyMMMEd{"G y 年 M 月 d 日 (E)"}
295 GyMMMd{"G y 年 M 月 d 日"}
296 MEd{"d-M(E)"}
297 MMMEd{"M 月 d 日 (E)"}
298 MMMd{"M 月 d 日"}
299 Md{"d-M"}
300 y{"G y 年"}
301 yyyy{"G y 年"}
302 yyyyM{"M/yGGGGG"}
303 yyyyMEd{"E, d/M/yGGGGG"}
304 yyyyMMM{"G y 年 M 月"}
305 yyyyMMMEd{"G y 年 M 月 d 日 (E)"}
306 yyyyMMMd{"G y 年 M 月 d 日"}
307 yyyyMd{"d/M/yGGGGG"}
308 yyyyQQQ{"G y 年第QQQ"}
309 yyyyQQQQ{"G y 年QQQQ"}
310 }
311 }
312 }
313 fields{
314 day{
315 relativeTime{
316 future{
317 other{"{0} 日後"}
318 }
319 past{
320 other{"{0} 日前"}
321 }
322 }
323 }
324 month{
325 relative{
326 "-1"{"上月"}
327 "1"{"下月"}
328 }
329 relativeTime{
330 past{
331 other{"{0} 月前"}
332 }
333 }
334 }
335 year{
336 relative{
337 "-1"{"上年"}
338 "0"{"本年"}
339 "1"{"下年"}
340 }
341 }
342 }
343 measurementSystemNames{
344 UK{"英國"}
345 US{"美國"}
346 metric{"十進制"}
347 }
348 transformNames{
349 Numeric{"數值"}
350 x-Accents{"重音"}
351 x-Jamo{"韓文"}
352 }
353 units{
354 area{
355 square-meter{
356 other{"{0} 平方米"}
357 }
358 }
359 duration{
360 week{
361 other{"{0}星期"}
362 }
363 }
364 length{
365 centimeter{
366 other{"{0} 厘米"}
367 }
368 millimeter{
369 other{"{0} 毫米"}
370 }
371 }
372 mass{
373 ounce{
374 other{"{0} 安士"}
375 }
376 }
377 speed{
378 meter-per-second{
379 other{"{0} 米/小時"}
380 }
381 }
382 temperature{
383 celsius{
384 other{"攝氏{0}度"}
385 }
386 fahrenheit{
387 other{"華氏{0}度"}
388 }
389 }
390 }
391 unitsNarrow{
392 area{
393 square-foot{
394 other{"{0} ft²"}
395 }
396 square-mile{
397 other{"{0}mi²"}
398 }
399 }
400 length{
401 centimeter{
402 other{"{0} 厘米"}
403 }
404 millimeter{
405 other{"{0} 毫米"}
406 }
407 }
408 mass{
409 ounce{
410 other{"{0} 安士"}
411 }
412 }
413 pressure{
414 inch-hg{
415 other{"{0}\u0022 Hg"}
416 }
417 }
418 speed{
419 kilometer-per-hour{
420 other{"{0}kph"}
421 }
422 meter-per-second{
423 other{"{0}m/s"}
424 }
425 mile-per-hour{
426 other{"{0}mph"}
427 }
428 }
429 volume{
430 cubic-kilometer{
431 other{"{0}km³"}
432 }
433 cubic-mile{
434 other{"{0}mi³"}
435 }
436 }
437 }
438 unitsShort{
439 area{
440 square-meter{
441 other{"{0} 平方米"}
442 }
443 }
444 length{
445 centimeter{
446 other{"{0} 厘米"}
447 }
448 millimeter{
449 other{"{0} 毫米"}
450 }
451 }
452 mass{
453 ounce{
454 other{"{0} 安士"}
455 }
456 }
457 speed{
458 meter-per-second{
459 other{"{0} 米 / 小時"}
460 }
461 }
462 }
463 }