Coder Social home page Coder Social logo

starsector-mod-japanesetranslation's Introduction

starsector-mod-JapaneseTranslation

これは Starsector で日本語を表示するための、翻訳テキスト Mod です。
現在は、ごく僅かな文章のみ翻訳されています。

注意

ビルド

  1. Starsector 本体にリンクをはります。
    • make check でチェック可能
  2. poetry update
    • ライブラリを更新します。
    • poetry run pip list -o 等も必要に応じて
  3. make setup
    • POTファイルの生成
    • 旧版のPOファイルのマージ
  4. 生成されたPOファイルを翻訳します。
    • *.edit.po が翻訳作業用ファイル
    • *.po はバージョン管理用ファイル
    • Poedit がお手軽
  5. make build
    • moファイルの生成
    • 訳文の反映
    • modの生成
  6. make packaging
    • JapaneseTranslation-x.y.z.zip が完成品です。

Wiki

雑多な情報はこちらです。

ライセンス

MIT License としています。


starsector-mod-japanesetranslation's People

Contributors

hirmiura avatar

Stargazers

 avatar

Watchers

 avatar

starsector-mod-japanesetranslation's Issues

Javaファイルの翻訳機構を作る

概要

Javaファイルを翻訳するための仕組みを考える。

理想はgettext化だけど面倒なので、

.java -> patch -> xgettext -> po -> mo -> .java translated

かな?

未定

翻訳ファイルの命名規則を変更する

概要

Makefileのパターンルールに適合するようにファイル名の命名規則を変更する。

オリジナル pot edit po mo 翻訳
hoge.csv hoge.pot hoge.edit.po hoge.po hoge.mo hoge.csv
hoge.csv hoge.csv.pot hoge.csv.edit.po hoge.csv.po hoge.csv.mo hoge.csv

フォルダリスト

  • /trans #27
  • /trans/campaign #24
  • /trans/hullmods #25
  • /trans/strings #23
  • /trans/world
  • /trans/world/factions #26

改行が安定しない

日本語化あるあるだけど、安定しない。

  • 上の「最新施設のセキュリティコードの用途を見つけられる人のようだ」は、ちゃんと改行されている。
  • 下の「これらのコードはローテーションされる、えぇ、月イチぐらいだ。場合によるが。」は、見切れている。

ゼロ幅スペース (U+200B zero width space) を入れたほうがいいかも。

改行が安定しない

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.