PoiDBTrans

Translate ship names and menu items on db.kcwiki.org

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴Greasemonkey 油猴子Violentmonkey 暴力猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴Violentmonkey 暴力猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴Userscripts ,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展后才能安装此脚本。

(我已经安装了用户脚本管理器,让我安装!)

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

(我已经安装了用户样式管理器,让我安装!)

作者
Joe Barker
日安装量
0
总安装量
167
评分
1 0 0
版本
9
创建于
2017-06-23
更新于
2018-04-07
大小
20.0 KB
许可证
Public Domain
适用于

This userscript will translate ship names, equipment names, and a small set of other items on the poi-statistics website.

Unowned Ship Marking

This script optionally supports marking ships not owned by the player, by importing a list of ships from KC3Kai.

  1. In KC3Kai Strategy Room, go to Player/Profile
  2. Click 'Export Basic Profile' and save this file somewhere
  3. Go to the main drop page, or a map node's drop list, and click the 'Choose file' button below the ship list
  4. Select the file you just saved
  5. If loading succeeds, a popup box will appear informing you so

Naturally, this will need to be repeated each time your ship roster is updated.

(Note, only heartlocked ships are counted.)

Notes

Translations are loaded from KC3Kai sources on GitHub (a mirror, actually), so they should be as up to date as KC3Kai is.

There is a rare issue with the Unowned Ship Marking feature, where all ships will be marked as unowned. Simply reloading the page usually fixes the issue.

After major updates it may be necessary to wipe the data the script stores locally. In Chrome/Tampermonkey: More Tools -> Extensions -> Tampermonkey Options -> Click "PoiDBTrans" -> Click "Factory Reset" button (middle, sawtooth-like icon). If you loaded any owned ship data, you will need to re-load it after this.

Sometimes when PoiDB make major updates (such as to support a new event) this can cause strange errors. Clearing your cache (or doing a reload bypassing cache, Ctrl-Shift-R in Chrome) should fix this.

Do not use any whole-page translation (such as Google Translate) alongside this script, they will not play well together.

I can't promise to keep this script updated or add new features, but it is public domain. Feel free to fork and do what you like with it.