mozilla-japan / gecko-l10n

Gecko (Firefox などのブラウザエンジン) の日本語ローカライズ
48 stars 26 forks source link

comm-l10n 対応 #359

Closed marsf closed 1 month ago

marsf commented 1 year ago

Thunderbird / SeaMonkey の l10n リポジトリ (mail, calendar, chat, suite) が gecko-strings から comm-l10n へ移転するので、ワークフローを見直す。 https://hg.mozilla.org/projects/comm-l10n/

gecko-l10n 上の説明を整理する。 その他、必要な作業手順等を書き出す。

marsf commented 1 year ago

本家へのコミットについて

gecko-l10n 上のリソースについて

marsf commented 1 year ago

今日現在、comm-l10n/ja, ja-JP-macl10n-central/ja, ja-JP-mac の最新のリビジョンに更新されている。 Gecko 107.0 に対応。

marsf commented 1 year ago

gecko-l10n 上のリソースについて

  • ファイル構成は現状のままでも問題ないと思う。

将来的には、/ja/ を /ja/gecko/ と /ja/comm/mail, ... に分けたほうが良いかもしれない。 現状では lot のビルドスクリプトを手直しする必要がある。

marsf commented 1 year ago
marsf commented 1 year ago

gecko-l10n に更新用の issue を立てて、そこにパッチを上げて拾ってもらうか。

パッチを拾ってもらうための issue を #360 に立てた。 comm-l10n のリソースを更新するパッチをここに投稿する。

marsf commented 1 year ago

compare-locales で mail の差分を取るための toml を作りました。 comm-l10n-mail.toml.txt ↑拡張子の .txt を削除してください。

以下のように同じフォルダー階層に置いて、

このコマンドを実行する: compare-locales --full ./comm-l10n-mail.toml ./gecko-l10n ja

marsf commented 1 year ago

/comm-l10n/en-US の更新リビジョンは、

hg log -u trybld -u flod

のようにコミッターのユーザー名で取れそうな感じ。移行後の en-US の更新がまだ無いので、後で確認する。

12/1追記: https://hg.mozilla.org/projects/comm-l10n/rev/2b1c1c311cec422bf52392283473b62cd65ec9ed

marsf commented 1 year ago

ファイル整理のため、/extensions 以下の inspector と irc を削除した。 (issue #361)

marsf commented 1 year ago

リソースの同期履歴を記録している ja.status を一旦閉めて、ja.gecko.status と ja.comm.status に分けたい。

ja.gecko.status に移行しました。 toolkit などは共有しているので、同じバージョンでまとまっていた方が良さそう。 行頭にリポジトリーの列を追加したので区別できるはずです。

とりあえず仮の履歴を記入してあります。

[l10n-mozilla-108.0]
repo | target dir               hg changeset rev:id (pushdate)   by             comment
--------------------------------------------------------------------------------------------------------
comm | mail                     *****:************ (2022-11-**)  mar            sync mail
geck | dom, toolkit             *****:************ (2022-11-**)  mar            sync dom, toolkit
geck | browser, devtools        *****:************ (2022-11-**)  hATrayflood    sync browser, devtools
marsf commented 1 year ago

ワークフローとメモを wiki に書き出した。 https://github.com/mozilla-japan/gecko-l10n/wiki/workflow

marsf commented 1 year ago

compare-locales で mail の差分を取るための toml を作りました。 comm-l10n-mail.toml.txt

suite 用も作成しました。(chatzilla を含む) comm-l10n-suite.toml.txt

marsf commented 1 year ago

comm-l10n/ja への最初のパッチがコミットされました。\o/ https://hg.mozilla.org/projects/comm-l10n/rev/4e416ee82adda8dac605f4857d32f361d42d346a

パッチにヘッダーを付ける必要あり。要検討。 Rob さんから:

There was no commit header in those diff files, so I rebuilt it from what is in Git. If you're able to include it next time, it will help with attribution.

marsf commented 1 year ago

/comm-l10n/en-US の更新リビジョンは、 hg log -u trybld -u flod のようにコミッターのユーザー名で取れそうな感じ。移行後の en-US の更新がまだ無いので、後で確認する。

en-US 他のリビジョンはこれで取得できる。 hg log -u trybld -u Rob

ja に直接コミットされたリビジョンは以下のコマンドで取得できる。 gecko-l10n にフォールバックする必要あり。 hg log -I ja hg diff -c [rev]

marsf commented 2 months ago

2024-07-03 時点で、Thunderbird の作業対象ソースが Github の thunderbird-l10n-source に切り替わった。

jfx2006 wrote:

Pontoon is now using the thunderbird-l10n-source repository for its source strings.

thunderbird-l10n is not used yet. Please continue to use comm-l10n.

新しいプルリクエスト先のリポジトリー (thunderbird-l10n) ができているが、まだ受け入れ準備ができていないため、comm-l10n へのパッチ提出を継続する。

SeaMonkey チームからはまだ何も連絡がないため、/suite のみ comm-l10n に残留している。

marsf commented 1 month ago

Github の thunderbird-l10n へ移行したので close。