diff options
author | Chocobozzz <me@florianbigard.com> | 2020-06-23 14:10:17 +0200 |
---|---|---|
committer | Chocobozzz <chocobozzz@cpy.re> | 2020-06-23 16:00:49 +0200 |
commit | 67ed6552b831df66713bac9e672738796128d33f (patch) | |
tree | 59c97d41e0b49d75a90aa3de987968ab9b1ff447 /client/src/app/helpers/locales | |
parent | 0c4bacbff53bc732f5a2677d62a6ead7752e2405 (diff) | |
download | PeerTube-67ed6552b831df66713bac9e672738796128d33f.tar.gz PeerTube-67ed6552b831df66713bac9e672738796128d33f.tar.zst PeerTube-67ed6552b831df66713bac9e672738796128d33f.zip |
Reorganize client shared modules
Diffstat (limited to 'client/src/app/helpers/locales')
-rw-r--r-- | client/src/app/helpers/locales/index.ts | 1 | ||||
-rw-r--r-- | client/src/app/helpers/locales/oc.ts | 104 |
2 files changed, 105 insertions, 0 deletions
diff --git a/client/src/app/helpers/locales/index.ts b/client/src/app/helpers/locales/index.ts new file mode 100644 index 000000000..b0e4d6148 --- /dev/null +++ b/client/src/app/helpers/locales/index.ts | |||
@@ -0,0 +1 @@ | |||
export * from './oc' | |||
diff --git a/client/src/app/helpers/locales/oc.ts b/client/src/app/helpers/locales/oc.ts new file mode 100644 index 000000000..d3b2e8407 --- /dev/null +++ b/client/src/app/helpers/locales/oc.ts | |||
@@ -0,0 +1,104 @@ | |||
1 | |||
2 | // This code is not generated | ||
3 | // See angular/tools/gulp-tasks/cldr/extract.js | ||
4 | |||
5 | const u: any = undefined | ||
6 | |||
7 | function plural (n: number): number { | ||
8 | const i = Math.floor(Math.abs(n)) | ||
9 | if (i === 0 || i === 1) return 1 | ||
10 | return 5 | ||
11 | } | ||
12 | |||
13 | export default [ | ||
14 | 'oc', | ||
15 | [['a. m.', 'p. m.'], u, u], | ||
16 | u, | ||
17 | [ | ||
18 | ['dg', 'dl', 'dm', 'dc', 'dj', 'dv', 'ds'], ['dg.', 'dl.', 'dm.', 'dc.', 'dj.', 'dv.', 'ds.'], | ||
19 | ['dimenge', 'diluns', 'dimars', 'dimècres', 'dijòus', 'divendres', 'dissabte'], | ||
20 | ['dg.', 'dl.', 'dm.', 'dc.', 'dj.', 'dv.', 'ds.'] | ||
21 | ], | ||
22 | u, | ||
23 | [ | ||
24 | ['GN', 'FB', 'MÇ', 'AB', 'MA', 'JN', 'JL', 'AG', 'ST', 'OC', 'NV', 'DC'], | ||
25 | [ | ||
26 | 'de gen.', 'de febr.', 'de març', 'd’abr.', 'de mai', 'de junh', 'de jul.', 'd’ag.', | ||
27 | 'de set.', 'd’oct.', 'de nov.', 'de dec.' | ||
28 | ], | ||
29 | [ | ||
30 | 'de genièr', 'de febrièr', 'de març', 'd’abril', 'de mai', 'de junh', 'de julhet', | ||
31 | 'd’agòst', 'de setembre', 'd’octòbre', 'de novembre', 'de decembre' | ||
32 | ] | ||
33 | ], | ||
34 | [ | ||
35 | ['GN', 'FB', 'MÇ', 'AB', 'MA', 'JN', 'JL', 'AG', 'ST', 'OC', 'NV', 'DC'], | ||
36 | [ | ||
37 | 'gen.', 'febr.', 'març', 'abr.', 'mai', 'junh', 'jul.', 'ag.', 'set.', 'oct.', 'nov.', | ||
38 | 'dec.' | ||
39 | ], | ||
40 | [ | ||
41 | 'genièr', 'febrièr', 'març', 'abril', 'mai', 'junh', 'julhet', 'agòst', 'setembre', 'octòbre', | ||
42 | 'novembre', 'decembre' | ||
43 | ] | ||
44 | ], | ||
45 | [['aC', 'dC'], u, ['abans Jèsus-Crist', 'aprèp Jèsus-Crist']], | ||
46 | 1, | ||
47 | [6, 0], | ||
48 | ['d/M/yy', 'd MMM y', 'd MMMM \'de\' y', 'EEEE, d MMMM \'de\' y'], | ||
49 | ['H:mm', 'H:mm:ss', 'H:mm:ss z', 'H:mm:ss zzzz'], | ||
50 | ['{1} {0}', '{1}, {0}', '{1} \'a\' \'les\' {0}', u], | ||
51 | [',', '.', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], | ||
52 | ['#,##0.###', '#,##0%', '#,##0.00 ¤', '#E0'], | ||
53 | 'EUR', | ||
54 | '€', | ||
55 | 'euro', | ||
56 | { | ||
57 | 'ARS': ['$AR', '$'], | ||
58 | 'AUD': ['$AU', '$'], | ||
59 | 'BEF': ['FB'], | ||
60 | 'BMD': ['$BM', '$'], | ||
61 | 'BND': ['$BN', '$'], | ||
62 | 'BZD': ['$BZ', '$'], | ||
63 | 'CAD': ['$CA', '$'], | ||
64 | 'CLP': ['$CL', '$'], | ||
65 | 'CNY': [u, '¥'], | ||
66 | 'COP': ['$CO', '$'], | ||
67 | 'CYP': ['£CY'], | ||
68 | 'EGP': [u, '£E'], | ||
69 | 'FJD': ['$FJ', '$'], | ||
70 | 'FKP': ['£FK', '£'], | ||
71 | 'FRF': ['F'], | ||
72 | 'GBP': ['£GB', '£'], | ||
73 | 'GIP': ['£GI', '£'], | ||
74 | 'HKD': [u, '$'], | ||
75 | 'IEP': ['£IE'], | ||
76 | 'ILP': ['£IL'], | ||
77 | 'ITL': ['₤IT'], | ||
78 | 'JPY': [u, '¥'], | ||
79 | 'KMF': [u, 'FC'], | ||
80 | 'LBP': ['£LB', '£L'], | ||
81 | 'MTP': ['£MT'], | ||
82 | 'MXN': ['$MX', '$'], | ||
83 | 'NAD': ['$NA', '$'], | ||
84 | 'NIO': [u, '$C'], | ||
85 | 'NZD': ['$NZ', '$'], | ||
86 | 'RHD': ['$RH'], | ||
87 | 'RON': [u, 'L'], | ||
88 | 'RWF': [u, 'FR'], | ||
89 | 'SBD': ['$SB', '$'], | ||
90 | 'SGD': ['$SG', '$'], | ||
91 | 'SRD': ['$SR', '$'], | ||
92 | 'TOP': [u, '$T'], | ||
93 | 'TTD': ['$TT', '$'], | ||
94 | 'TWD': [u, 'NT$'], | ||
95 | 'USD': ['$US', '$'], | ||
96 | 'UYU': ['$UY', '$'], | ||
97 | 'WST': ['$WS'], | ||
98 | 'XCD': [u, '$'], | ||
99 | 'XPF': ['FCFP'], | ||
100 | 'ZMW': [u, 'Kw'] | ||
101 | }, | ||
102 | 'ltr', | ||
103 | plural | ||
104 | ] | ||