From 7838becc3ccacaf039e3177dd554152ab6c53f54 Mon Sep 17 00:00:00 2001 From: TAKAHASHI Shuuji Date: Sun, 14 Jun 2026 00:51:45 +0900 Subject: [PATCH 1/3] fix(i18n): improve Japanese translation for chart alt text and add new translation --- i18n/locales/ja-JP.json | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/i18n/locales/ja-JP.json b/i18n/locales/ja-JP.json index 7fa675e32e..68d4271b0b 100644 --- a/i18n/locales/ja-JP.json +++ b/i18n/locales/ja-JP.json @@ -532,6 +532,7 @@ "weekly_downloads": "週間ダウンロード数", "keywords": "キーワード", "license": "ライセンス", + "version": "バージョン", "select": "パッケージを選択", "select_maximum": "最大 {count} 個のパッケージを選択できます" }, @@ -698,17 +699,17 @@ "apply_correction": "補正を適用", "copy_alt": { "trend_none": "ほぼ横ばい", - "trend_strong": "強い", - "trend_weak": "弱い", + "trend_strong": "上昇", + "trend_weak": "下降", "trend_undefined": "未定義(データ不足)", "button_label": "altテキストをコピー", "watermark": "下部に「./npmx a fast, modern browser for the npm registry」のウォーターマークあり", - "analysis": "{package_name} は {start_value} で始まり {end_value} で終了。{trend} 傾向を示し、時間間隔あたりのダウンロード傾斜は {downloads_slope} です。", + "analysis": "{package_name} は {start_value} で始まり {end_value} で終了。{trend} の傾向を示し、時間間隔あたりのダウンロード数のグラフの傾きは {downloads_slope} です。", "estimation": "最終値は、現在の期間の部分的データに基づく推定値です。", "estimations": "最終値は、現在の期間の部分的データに基づく推定値です。", "compare": "パッケージダウンロード比較折れ線グラフ: {packages}", "single_package": "{package} パッケージのダウンロード折れ線グラフ", - "general_description": "Y軸はダウンロード数、X軸は {start_date} から {end_date} までの期間(単位:{granularity})を示します。{estimation_notice} {packages_analysis}。{watermark}。", + "general_description": "Y軸はダウンロード数、X軸は {start_date} から {end_date} までの期間(単位:{granularity})を示します。{estimation_notice} {packages_analysis} {watermark}。", "facet_bar_general_description": "{packages} の横棒グラフ: {facet} の比較 ({description})。{facet_analysis} {watermark}。", "facet_bar_analysis": "{package_name} の値は {value} です。" } From dff3d2393eb08cb5fdc3cbde7ab52ffd50125f12 Mon Sep 17 00:00:00 2001 From: TAKAHASHI Shuuji Date: Mon, 15 Jun 2026 22:57:37 +0900 Subject: [PATCH 2/3] fix(i18n): fill missing keys --- i18n/locales/ja-JP.json | 54 +++++++++++++++++++++++++++++++++++++---- 1 file changed, 49 insertions(+), 5 deletions(-) diff --git a/i18n/locales/ja-JP.json b/i18n/locales/ja-JP.json index 68d4271b0b..f7a7b21da6 100644 --- a/i18n/locales/ja-JP.json +++ b/i18n/locales/ja-JP.json @@ -46,7 +46,8 @@ "disable_shortcuts": "{settings} でキーボードショートカットを無効化できます。", "open_main": "メイン情報を開く", "open_diff": "バージョンの差分を開く", - "open_timeline": "タイムラインを開く" + "open_timeline": "タイムラインを開く", + "open_stats": "Open stats" }, "search": { "label": "npmパッケージを検索", @@ -154,7 +155,8 @@ "diff": "差分", "compare": "このパッケージを比較", "download": "tarballをダウンロード", - "changelog": "Changelog" + "changelog": "Changelog", + "stats": "Stats" }, "package_actions": { "copy_run": "実行コマンドをコピー" @@ -229,6 +231,31 @@ "more_replies": "さらに{count}件の返信…" } }, + "noodles": { + "title": "noodles", + "meta_description": "Every noodle we've ever shown on npmx — the seasonal logos, easter eggs, and the stories behind them.", + "latest": "Latest noodles", + "what_is": "What is noodles", + "what_is_body": "Noodles are the playful variants of the npmx logo we run on the homepage to mark releases, holidays, events, and other moments worth celebrating. Think of them like Google Doodles, but for npm packages.", + "empty": "No noodles yet.", + "load_more": "Load {count} more", + "dates": "Active dates", + "shipped_in": "Shipped in", + "credits": "Credits", + "learn_more": "Learn more", + "carousel_prev": "Previous image", + "carousel_next": "Next image", + "carousel_dots": "Variant image navigation", + "carousel_jump": "Go to image {index}", + "lens_label": "{title} — image reel", + "lens_slide": "image {index}", + "lens_slide_position": "Slide {index} of {total}", + "back_to_archive": "Back to all noodles", + "missing": { + "title": "This noodle never made it out of the bowl.", + "body": "We don't have a “{slug}” noodle on the menu. Either it's still being plated, or it was never written. Either way — back to the archive." + } + }, "settings": { "title": "設定", "tagline": "npmxの体験をカスタマイズ", @@ -400,8 +427,8 @@ "example": "例:", "native": "これは Node {nodeVersion} 以降で利用可能な {replacement} で置き換え可能です。", "native_no_version": "このパッケージは {replacement} で置き換え可能です。", - "simple": "{community} はこのパッケージを冗長としてフラグを立てており、次のアドバイスがあります: {replacement}", - "documented": "{community} により、このパッケージにはよりパフォーマンスの高い代替手段があることが報告されています。", + "simple": "このパッケージは冗長としてフラグが立てられています。推奨:{replacement}", + "documented": "このパッケージは、よりパフォーマンスの高い代替手段があるとフラグが立てられています。", "none": "このパッケージは不要になったとフラグが立てられています。その機能はすべてのエンジンでネイティブに利用できる可能性があります。", "learn_more": "詳細はこちら", "learn_more_above": "詳細は上記を確認してください。", @@ -420,7 +447,10 @@ "size_tooltip": { "unpacked": "展開サイズ: {size} (このパッケージ)", "total": "総展開サイズ: {size} (linux-x64向けの全 {count} 個の依存関係を含む)" - } + }, + "main_information": "Main Information", + "trends": "Trends", + "version_distribution": "Version Distribution" }, "skills": { "title": "エージェント スキル", @@ -451,6 +481,7 @@ "fund": "資金援助", "compare": "比較", "timeline": "タイムライン", + "stats": "stats", "compare_this_package": "このパッケージを比較", "changelog": "changelog" }, @@ -712,6 +743,12 @@ "general_description": "Y軸はダウンロード数、X軸は {start_date} から {end_date} までの期間(単位:{granularity})を示します。{estimation_notice} {packages_analysis} {watermark}。", "facet_bar_general_description": "{packages} の横棒グラフ: {facet} の比較 ({description})。{facet_analysis} {watermark}。", "facet_bar_analysis": "{package_name} の値は {value} です。" + }, + "embedding": { + "chart": "Embed this chart", + "copy_url": "Copy this URL to embed the chart into your website", + "preview": "Preview", + "tip": "If startDate and endDate are not provided, the chart defaults to the last 12 months." } }, "downloads": { @@ -1398,6 +1435,10 @@ "label": "GitHub Stars", "description": "GitHubリポジトリのスター数" }, + "githubForks": { + "label": "GitHub Forks", + "description": "Number of forks on the GitHub repository" + }, "githubIssues": { "label": "GitHub Issues", "description": "GitHubリポジトリのIssues数" @@ -1465,6 +1506,9 @@ "change_ratio": "変更率", "char_edits": "文字編集数", "diff_distance": "差分距離", + "diff_truncated": "Diff truncated for performance. Showing the first changed lines only.", + "large_diff_mode": "Large file diff shown with inline edit merging disabled for performance.", + "large_diff_options_disabled": "Large file mode disables inline edit merging for performance.", "loading_diff": "差分を読み込み中...", "loading_diff_error": "差分の読み込みに失敗しました", "merge_modified_lines": "変更行をマージ", From 492e8cb7cfd0ee8773e17433fe88aa70c41376c5 Mon Sep 17 00:00:00 2001 From: TAKAHASHI Shuuji Date: Mon, 15 Jun 2026 23:22:44 +0900 Subject: [PATCH 3/3] fix(i18n): update Japanese translations --- i18n/locales/ja-JP.json | 68 ++++++++++++++++++++--------------------- 1 file changed, 34 insertions(+), 34 deletions(-) diff --git a/i18n/locales/ja-JP.json b/i18n/locales/ja-JP.json index f7a7b21da6..d35167633e 100644 --- a/i18n/locales/ja-JP.json +++ b/i18n/locales/ja-JP.json @@ -47,7 +47,7 @@ "open_main": "メイン情報を開く", "open_diff": "バージョンの差分を開く", "open_timeline": "タイムラインを開く", - "open_stats": "Open stats" + "open_stats": "統計を表示" }, "search": { "label": "npmパッケージを検索", @@ -156,7 +156,7 @@ "compare": "このパッケージを比較", "download": "tarballをダウンロード", "changelog": "Changelog", - "stats": "Stats" + "stats": "統計" }, "package_actions": { "copy_run": "実行コマンドをコピー" @@ -233,27 +233,27 @@ }, "noodles": { "title": "noodles", - "meta_description": "Every noodle we've ever shown on npmx — the seasonal logos, easter eggs, and the stories behind them.", - "latest": "Latest noodles", - "what_is": "What is noodles", - "what_is_body": "Noodles are the playful variants of the npmx logo we run on the homepage to mark releases, holidays, events, and other moments worth celebrating. Think of them like Google Doodles, but for npm packages.", - "empty": "No noodles yet.", - "load_more": "Load {count} more", - "dates": "Active dates", - "shipped_in": "Shipped in", - "credits": "Credits", - "learn_more": "Learn more", - "carousel_prev": "Previous image", - "carousel_next": "Next image", - "carousel_dots": "Variant image navigation", - "carousel_jump": "Go to image {index}", - "lens_label": "{title} — image reel", - "lens_slide": "image {index}", - "lens_slide_position": "Slide {index} of {total}", - "back_to_archive": "Back to all noodles", + "meta_description": "季節ごとのロゴやイースターエッグ、その背景にあるストーリーなど、npmxでこれまでに公開されたすべてのnoodles。", + "latest": "最新のnoodles", + "what_is": "noodlesとは", + "what_is_body": "noodlesとは、リリース、祝日、イベント、その他の記念すべき瞬間を祝うためにホームページに掲載される、npmxロゴの遊び心あふれるバリエーションです。Google Doodlesのnpmパッケージ版のようなものと考えてください。", + "empty": "noodlesはまだありません。", + "load_more": "さらに {count} 件を読み込む", + "dates": "公開期間", + "shipped_in": "リリース", + "credits": "クレジット", + "learn_more": "詳細はこちら", + "carousel_prev": "前の画像", + "carousel_next": "次の画像", + "carousel_dots": "バリエーション画像のナビゲーション", + "carousel_jump": "画像 {index} へ移動", + "lens_label": "{title} — 画像リール", + "lens_slide": "画像 {index}", + "lens_slide_position": "スライド {index} / {total}", + "back_to_archive": "すべてのnoodlesに戻る", "missing": { - "title": "This noodle never made it out of the bowl.", - "body": "We don't have a “{slug}” noodle on the menu. Either it's still being plated, or it was never written. Either way — back to the archive." + "title": "このnoodleはボウルから出られませんでした。", + "body": "メニューに「{slug}」というnoodleはありません。まだ調理中か、作成されなかったかのどちらかです。いずれにせよ、アーカイブに戻りましょう。" } }, "settings": { @@ -448,9 +448,9 @@ "unpacked": "展開サイズ: {size} (このパッケージ)", "total": "総展開サイズ: {size} (linux-x64向けの全 {count} 個の依存関係を含む)" }, - "main_information": "Main Information", - "trends": "Trends", - "version_distribution": "Version Distribution" + "main_information": "主な情報", + "trends": "トレンド", + "version_distribution": "バージョン分布" }, "skills": { "title": "エージェント スキル", @@ -481,7 +481,7 @@ "fund": "資金援助", "compare": "比較", "timeline": "タイムライン", - "stats": "stats", + "stats": "統計", "compare_this_package": "このパッケージを比較", "changelog": "changelog" }, @@ -745,10 +745,10 @@ "facet_bar_analysis": "{package_name} の値は {value} です。" }, "embedding": { - "chart": "Embed this chart", - "copy_url": "Copy this URL to embed the chart into your website", - "preview": "Preview", - "tip": "If startDate and endDate are not provided, the chart defaults to the last 12 months." + "chart": "このチャートを埋め込む", + "copy_url": "ウェブサイトにチャートを埋め込むには、このURLをコピーしてください", + "preview": "プレビュー", + "tip": "startDateとendDateが指定されていない場合、チャートはデフォルトで過去12ヶ月間のデータを表示します。" } }, "downloads": { @@ -1437,7 +1437,7 @@ }, "githubForks": { "label": "GitHub Forks", - "description": "Number of forks on the GitHub repository" + "description": "GitHubリポジトリのフォーク数" }, "githubIssues": { "label": "GitHub Issues", @@ -1506,9 +1506,9 @@ "change_ratio": "変更率", "char_edits": "文字編集数", "diff_distance": "差分距離", - "diff_truncated": "Diff truncated for performance. Showing the first changed lines only.", - "large_diff_mode": "Large file diff shown with inline edit merging disabled for performance.", - "large_diff_options_disabled": "Large file mode disables inline edit merging for performance.", + "diff_truncated": "パフォーマンス向上のため、diffが途中で切り捨てられました。最初の変更された行のみを表示しています。", + "large_diff_mode": "パフォーマンス向上のため、インライン編集のマージを無効にして大型ファイルのdiffを表示しています。", + "large_diff_options_disabled": "大型ファイルモードでは、パフォーマンス向上のためインライン編集のマージが無効になります。", "loading_diff": "差分を読み込み中...", "loading_diff_error": "差分の読み込みに失敗しました", "merge_modified_lines": "変更行をマージ",