diff options
Diffstat (limited to 'scripts/i18n')
-rwxr-xr-x | scripts/i18n/create-custom-files.ts | 8 |
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 |
56 | Object.assign(serverKeys, { | 56 | Object.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 |
62 | const languageKeys: any = {} | 62 | const languageKeys: any = {} |
63 | const languages = buildLanguages() | 63 | const languages = buildLanguages() |
64 | Object.keys(languages).forEach(k => languageKeys[languages[k]] = languages[k]) | 64 | Object.keys(languages).forEach(k => { languageKeys[languages[k]] = languages[k] }) |
65 | 65 | ||
66 | Object.assign(serverKeys, languageKeys) | 66 | Object.assign(serverKeys, languageKeys) |
67 | 67 | ||