diff --git a/src/i18n.js b/src/i18n.js index e0818010c..182ead720 100644 --- a/src/i18n.js +++ b/src/i18n.js @@ -80,9 +80,9 @@ class I18n { updateConfigs() { /** @type {string} */ - this.primaryLanguage = atom.config.get("core.languageSettings.primaryLanguage"); + this.primaryLanguage = this.config.get("core.languageSettings.primaryLanguage"); /** @type {Array} */ - this.fallbackLanguages = atom.config.get("core.languageSettings.fallbackLanguages"); + this.fallbackLanguages = this.config.get("core.languageSettings.fallbackLanguages"); } registerStrings(packageId, strings) {