Auto-fix lint errors
This commit is contained in:
parent
4c5720a573
commit
ae0a8b8da4
625 changed files with 3170 additions and 3232 deletions
|
@ -27,7 +27,7 @@ import PlatformPeg from "./PlatformPeg";
|
|||
// @ts-ignore - $webapp is a webpack resolve alias pointing to the output directory, see webpack config
|
||||
import webpackLangJsonUrl from "$webapp/i18n/languages.json";
|
||||
import { SettingLevel } from "./settings/SettingLevel";
|
||||
import {retry} from "./utils/promise";
|
||||
import { retry } from "./utils/promise";
|
||||
|
||||
const i18nFolder = 'i18n/';
|
||||
|
||||
|
@ -100,7 +100,7 @@ function safeCounterpartTranslate(text: string, options?: object) {
|
|||
if (translated === undefined && count !== undefined) {
|
||||
// counterpart does not do fallback if no pluralisation exists
|
||||
// in the preferred language, so do it here
|
||||
translated = counterpart.translate(text, Object.assign({}, options, {locale: 'en'}));
|
||||
translated = counterpart.translate(text, Object.assign({}, options, { locale: 'en' }));
|
||||
}
|
||||
return translated;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue