This repository has been archived by the owner on Apr 16, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathattributes.lol
93 lines (75 loc) · 1.58 KB
/
attributes.lol
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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
/* basic values */
<brandName1 "Firefox"
title: "Mozilla Firefox"
>
<about1 "About {{ brandName1::title }}">
<brandName2 "Firefox"
title: {
*win: "Firefox on Windows",
linux: "Firefox on Linux"
}
>
<about2 "About {{ brandName2::title }}">
<about2Win "About {{ brandName2::title.win }}">
<about2Linux "About {{ brandName2::title.linux }}">
/* relative references */
<brandName3 "Firefox"
title: "Mozilla {{ ~ }}"
>
<about3 "About {{ brandName3::title }}">
<brandName4 "Firefox"
title: {
*win: "{{ ~ }} on Windows",
linux: "{{ ~ }} on Linux"
}
>
<about4 "About {{ brandName4::title }}">
<about4Win "About {{ brandName4::title.win }}">
<about4Linux "About {{ brandName4::title.linux }}">
<brandName5 {
*nominative: "Firefox",
genitive: "Firefox's"
}
title: {
win: "{{ ~ }} on Windows",
linux: "{{ ~ }} on Linux"
}
>
<brandName6 {
*nominative: "Firefox",
genitive: "Firefox's"
}
title: {
*win: "{{ ~.genitive }} on Windows",
linux: "{{ ~.genitive }} on Linux"
}
>
<brandName7 "{{ ~::title }}"
title: "Mozilla Firefox"
>
/* indexes */
<brandName9['beta'] {
release: "Firefox",
beta: "Firefox Beta",
testing: "Aurora"
}
accesskey: {
release: "F",
beta: "B",
testing: "A"
}
>
<about9 "About {{ brandName9 }}">
<about9Accesskey "Press {{ brandName9::accesskey }}">
/* cyclic references */
<brandName10 "Firefox"
title: {
*win: "{{ ~::title.self }} on Windows",
self: "{{ ~ }}"
}
>
<about10 "About {{ brandName10::title }}">
<brandName11 "Firefox"
title: "{{ ~::title }}"
>
<about11 "About {{ brandName11::title }}">