aboutsummaryrefslogtreecommitdiffhomepage
path: root/scripts/i18n
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/i18n')
-rwxr-xr-xscripts/i18n/create-custom-files.ts8
1 files changed, 4 insertions, 4 deletions
diff --git a/scripts/i18n/create-custom-files.ts b/scripts/i18n/create-custom-files.ts
index d39a15974..2862b230e 100755
--- a/scripts/i18n/create-custom-files.ts
+++ b/scripts/i18n/create-custom-files.ts
@@ -50,18 +50,18 @@ values(VIDEO_CATEGORIES)
50 'Sorry', 50 'Sorry',
51 'This video is not available because the remote instance is not responding.' 51 'This video is not available because the remote instance is not responding.'
52 ]) 52 ])
53 .forEach(v => serverKeys[v] = v) 53 .forEach(v => { serverKeys[v] = v })
54 54
55// More keys 55// More keys
56Object.assign(serverKeys, { 56Object.assign(serverKeys, {
57 'Misc': 'Misc', 57 Misc: 'Misc',
58 'Unknown': 'Unknown' 58 Unknown: 'Unknown'
59}) 59})
60 60
61// ISO 639 keys 61// ISO 639 keys
62const languageKeys: any = {} 62const languageKeys: any = {}
63const languages = buildLanguages() 63const languages = buildLanguages()
64Object.keys(languages).forEach(k => languageKeys[languages[k]] = languages[k]) 64Object.keys(languages).forEach(k => { languageKeys[languages[k]] = languages[k] })
65 65
66Object.assign(serverKeys, languageKeys) 66Object.assign(serverKeys, languageKeys)
67 67