 timeoutHandle = 0
 REMOTE_HOST = 'http://api.kcwiki.moe/subtitles/diff'
 langs = ['zh-CN', 'zh-TW']
-subtitlesI18nPath[lang] = path.join(APPDATA_PATH, 'plugins', 'node_modules', 'poi-plugin-subtitle', 'i18n', "#{lang}.json") for lang in langs
+i18nSubtitleBaseDir = path.join(APPDATA_PATH, 'poi-plugin-subtitle', 'i18n')
+subtitlesI18nPath[lang] = path.join(i18nSubtitleBaseDir, "#{lang}.json") for lang in langs
 subtitlesBackupPath = path.join __dirname, 'subtitles.json'
 voiceKey = [604825,607300,613847,615318,624009,631856,635451,637218,640529,643036,652687,658008,662481,669598,675545,685034,687703,696444,702593,703894,711191,714166,720579,728970,738675,740918,743009,747240,750347,759846,764051,770064,773457,779858,786843,790526,799973,803260,808441,816028,825381,827516,832463,837868,843091,852548,858315,867580,875771,879698,882759,885564,888837,896168]
 convertFilename = (shipId, voiceId) ->

  voiceMap[shipNo][convertFilename(shipNo,i)] = i for i in [1..voiceKey.length]

__ = i18n["poi-plugin-subtitle"].__.bind(i18n["poi-plugin-subtitle"])

loadSubtitles = async (_path) ->
  err = yield fs.ensureFileAsync _path

  {_ships, _decks, _teitokuLv} = window
  shipgraph[ship.api_filename] = ship.api_id for ship in body.api_mst_shipgraph
  getSubtitles()
  initSubtitlesI18n()

alert = (text, prior, stickyFor) ->
  window.log "#{text}",
