-
Notifications
You must be signed in to change notification settings - Fork 1
/
substitutions_en.v
54 lines (53 loc) · 1.22 KB
/
substitutions_en.v
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
module slugify
// substitutions_en are the default and fallback substitution mappings.
// When passing a different language to `make_lang`, any mapping found in the passed language will
// override the mappings in `substitutions_en`. Mappings that exist in `substitutions_en` but not in
// the passed language will still apply.
//
// Please note that some symbols are not only used for a single meaning. For example `£` is not only
// used for british pounds. In such cases it is best to use either more ambiguous replacement than
// `GBP` or none at all and let the character be removed.
//
// Replacements should only contain `\w` characters and hyphens `-`, any other character will be removed.
const substitutions_en = {
'&': 'and'
'@': 'at'
'%': 'percent'
'<': 'less'
'>': 'greater'
'|': 'or'
'€': 'EUR'
'¢': 'C'
'£': 'PS'
'¥': 'Y'
'฿': 'Bh'
'₠': 'ECU'
'₢': 'Cr'
'₣': 'FF'
'₤': 'L'
'₥': 'mil'
'₦': 'N'
'₧': 'Pts'
'₨': 'Rs'
'₩': 'W'
'₪': 'NS'
'₫': 'D'
'₭': 'K'
'₮': 'T'
'₯': 'Dr'
'₰': 'Pf'
'₱': 'P'
'₲': 'G'
'₳': 'A'
'₴': 'UAH'
'₵': 'C'
'₸': 'T'
'₹': 'Rs'
'₺': 'L'
'₽': 'R'
'₿': 'BTC'
'∆': 'delta'
'∑': 'sum'
'∞': 'infinity'
'♥': 'heart'
}