Repository navigation
Expand file tree
/
Copy pathfix_lang.js
More file actions
63 lines (61 loc) · 1.75 KB
/
Copy pathfix_lang.js
File metadata and controls
63 lines (61 loc) · 1.75 KB
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
(function () {
'use strict';
function fix_lang() {
Lampa.Lang.add({
tv_status_returning_series: {
ru: 'Идет',
en: 'Returning Series',
uk: 'Триває'
},
tv_status_planned: {
ru: 'Запланирован',
en: 'Planned',
uk: 'Заплановано'
},
tv_status_in_production: {
ru: 'В производстве',
en: 'In Production',
uk: 'У виробництві'
},
tv_status_ended: {
ru: 'Завершен',
en: 'Ended',
uk: 'Завершено'
},
tv_status_canceled: {
ru: 'Отменен',
en: 'Canceled',
uk: 'Скасовано'
},
tv_status_pilot: {
ru: 'Пилот',
en: 'Pilot',
uk: 'Пілот'
},
tv_status_released: {
ru: 'Вышел',
en: 'Released',
uk: 'Випущено'
},
tv_status_rumored: {
ru: 'По слухам',
en: 'Rumored',
uk: 'За чутками'
},
tv_status_post_production: {
ru: 'Скоро',
en: 'Post Production',
uk: 'Скоро'
}
});
}
if (window.appready) {
fix_lang();
} else {
Lampa.Listener.follow('app', function (event) {
if (event.type === 'ready') {
fix_lang();
}
});
}
})();