From f0af38e69677d1afe17e48b3f5267128db3db1a4 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Thu, 30 Jul 2020 14:54:31 +0200 Subject: Fix lint --- scripts/i18n/create-custom-files.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'scripts/i18n') 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) 'Sorry', 'This video is not available because the remote instance is not responding.' ]) - .forEach(v => serverKeys[v] = v) + .forEach(v => { serverKeys[v] = v }) // More keys Object.assign(serverKeys, { - 'Misc': 'Misc', - 'Unknown': 'Unknown' + Misc: 'Misc', + Unknown: 'Unknown' }) // ISO 639 keys const languageKeys: any = {} const languages = buildLanguages() -Object.keys(languages).forEach(k => languageKeys[languages[k]] = languages[k]) +Object.keys(languages).forEach(k => { languageKeys[languages[k]] = languages[k] }) Object.assign(serverKeys, languageKeys) -- cgit v1.2.3