Skip to content

Commit eb71773

Browse files
Suggestions for abbreviation changes
1 parent 0a9cc99 commit eb71773

File tree

2 files changed

+14
-19
lines changed

2 files changed

+14
-19
lines changed

src/components/Class.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,11 +38,11 @@
3838
</v-card-text>
3939
</div>
4040
</v-card>
41-
<!--<v-btn v-if="warnings.length>0&&(!classInfo.overrideWarnings||hover)" slot="badge" icon @click="warningDialog = true">
41+
<v-btn v-if="warnings.length>0&&(!classInfo.overrideWarnings||hover)" slot="badge" icon @click="warningDialog = true">
4242
<v-icon medium>
4343
warning
4444
</v-icon>
45-
</v-btn>-->
45+
</v-btn>
4646
</v-badge>
4747
</v-hover>
4848
<v-dialog v-model="warningDialog" max-width="600">

src/utils/abbreviations.js

Lines changed: 12 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -9,15 +9,13 @@ const abbreviations = {
99
'v': nonAbbreviator + '5',
1010
'vi': nonAbbreviator + '6',
1111
'undergraduate': 'undergrad',
12-
'materials': 'mat',
1312
'computer': 'comp',
1413
'special': 'spec',
1514
'engineering': 'eng',
1615
'subject': 'subj',
1716
'science': 'sci',
1817
'introduction': 'intro',
1918
'advanced': 'adv',
20-
'research': 'res',
2119
'technology': 'tech',
2220
'management': 'mgmt',
2321
'studies': 'stud',
@@ -41,7 +39,6 @@ const abbreviations = {
4139
'biological': 'bio',
4240
'modern': 'mod',
4341
'literature': 'lit',
44-
'music': 'mus',
4542
'communication': 'communic',
4643
'political': 'poli',
4744
'politics': 'poli',
@@ -51,7 +48,7 @@ const abbreviations = {
5148
'public': 'pub',
5249
'applications': 'applic',
5350
'applied': 'appl',
54-
'system': 'syst',
51+
'system': 'sys',
5552
'oceanography': 'oceanogr',
5653
'international': 'internat',
5754
'philosophy': 'phil',
@@ -65,12 +62,12 @@ const abbreviations = {
6562
'structural': 'struct',
6663
'medicine': 'med',
6764
'structure': 'struct',
68-
'geology': 'geol',
69-
'statistical': 'statist',
65+
'geology': 'geo',
66+
'statistical': 'stat',
7067
'french': 'fr',
7168
'probability': 'prob',
7269
'spanish': 'span',
73-
'evolution': 'evol',
70+
'evolution': 'evo',
7471
'foundations': 'found',
7572
'experimental': 'exper',
7673
'selected': 'sel',
@@ -85,7 +82,6 @@ const abbreviations = {
8582
'anthropology': 'anthropol',
8683
'industrial': 'industr',
8784
'present': 'pres',
88-
'east': 'e',
8985
'mathematical': 'math',
9086
'latin': 'lat',
9187
'japanese': 'jp',
@@ -99,9 +95,8 @@ const abbreviations = {
9995
'german': 'ger',
10096
'composition': 'compos',
10197
'photography': 'photogr',
102-
'intelligence': 'intell',
103-
'microbiology': 'microbiol',
104-
'disease': 'dis',
98+
'intelligence': 'intel',
99+
'microbiology': 'microbio',
105100
'theoretical': 'theoret',
106101
'future': 'fut',
107102
'education': 'educ',
@@ -127,7 +122,7 @@ const abbreviations = {
127122
'astronautics': 'astronaut',
128123
'algebra': 'alg',
129124
'narrative': 'narrat',
130-
'hydrology': 'hydrol',
125+
'hydrology': 'hydro',
131126
'general': 'gen',
132127
'artificial': 'artific',
133128
'measurement': 'measurem',
@@ -140,7 +135,7 @@ const abbreviations = {
140135
'diseases': 'dis',
141136
'school': 'sch',
142137
'spectroscopy': 'spectrosc',
143-
'educational': 'educ',
138+
'educational': 'edu',
144139
'investment': 'investm',
145140
'military': 'milit',
146141
'western': 'west',
@@ -162,7 +157,7 @@ const abbreviations = {
162157
'method': 'meth',
163158
'communications': 'communic',
164159
'optics': 'opt',
165-
'ecological': 'ecol',
160+
'ecological': 'eco',
166161
'industry': 'ind',
167162
'construction': 'constr',
168163
'college': 'coll',
@@ -210,20 +205,20 @@ const abbreviations = {
210205
'russia': 'ru',
211206
'year': 'yr',
212207
'analytic': 'analyt',
213-
'cryptography': 'cryptogr',
208+
'cryptography': 'crypto',
214209
'religion': 'relig',
215210
'translation': 'transl',
216211
'intellectual': 'intellect',
217212
'authors': 'auth',
218213
'museum': 'mus',
219214
'metaphysics': 'metaph',
220-
'evolutionary': 'evol',
215+
'evolutionary': 'evo',
221216
'affairs': 'aff',
222217
'reproductive': 'reprod',
223218
'concrete': 'concr',
224219
'limnology': 'limnol',
225220
'pharmaceutical': 'pharma',
226-
'metropolis': 'metrop',
221+
'metropolis': 'metro',
227222
'representing': 'repr',
228223
'against': 'agst',
229224
'property': 'prop',

0 commit comments

Comments
 (0)