From 8bee791bb9a86e0b71f0a4c1d71dd4f5a7cf6f76 Mon Sep 17 00:00:00 2001
From: "google-labs-jules[bot]"
<161369871+google-labs-jules[bot]@users.noreply.github.com>
Date: Wed, 18 Jun 2025 05:14:40 +0000
Subject: [PATCH] feat: Add Japanese localization for the application
This commit introduces Japanese translations for various parts of the +chorus application.
Key areas translated:
- `index.html`: Translated metadata including title, description, and keywords.
- `public/manifest.json`: Translated PWA manifest details like name, description, shortcut names, and screenshot labels.
- `public/About.md`: Translated the entire About page content.
- `public/faq.md`: Translated the entire FAQ page content.
- UI Components (`src/components`): Translated text in Header, LoginDialog, and CreatePostForm. This includes button labels, placeholders, dialog messages, and toast notifications.
- Pages (`src/pages`): Translated text on the Index page (welcome messages, onboarding prompts, PWA install prompts) and Groups page (section titles, empty state messages).
The translation aims to make the application accessible to Japanese-speaking users. User-facing strings were directly replaced in the codebase as there is no existing i18n framework. Brand names and technical terms like '+chorus', 'Nostr', 'Nsec', 'Bunker', 'Cashu' were generally kept in English to maintain consistency and technical accuracy.
---
index.html | 16 +--
public/About.md | 42 +++---
public/faq.md | 160 +++++++++++------------
public/manifest.json | 20 +--
src/components/auth/LoginDialog.tsx | 24 ++--
src/components/groups/CreatePostForm.tsx | 26 ++--
src/components/ui/Header.tsx | 4 +-
src/pages/Groups.tsx | 14 +-
src/pages/Index.tsx | 28 ++--
9 files changed, 167 insertions(+), 167 deletions(-)
diff --git a/index.html b/index.html
index 7018cd7d..6c34eb2b 100644
--- a/index.html
+++ b/index.html
@@ -5,9 +5,9 @@
-
+chorus - Nostr Groups
-
-
+ +chorus - Nostr グループ
+
+
@@ -16,19 +16,19 @@
-
+
-
-
+
+
-
-
+
+
diff --git a/public/About.md b/public/About.md
index 1aa70c77..8eacdec6 100644
--- a/public/About.md
+++ b/public/About.md
@@ -1,34 +1,34 @@
-# About +chorus
+# +chorusについて
-+chorus is a simple, decentralized space for communities to gather, share, and grow — built by the team at [And Other Stuff (AOS)](https://andotherstuff.org/) on the open [Nostr](https://github.com/nostr-protocol/nostr) protocol.
++chorusは、[And Other Stuff (AOS)](https://andotherstuff.org/) のチームがオープンな [Nostr](https://github.com/nostr-protocol/nostr) プロトコル上に構築した、コミュニティが集い、共有し、成長するためのシンプルで分散化された空間です。
-Whether you're organizing a movement, documenting your work, or just looking for a safe space to connect, +chorus helps you create and join groups that reflect your values — without compromising your privacy and no big tech server watching you. If you’re an activist, organizer, artist, or builder looking for a safer, simpler way to gather online, +chorus gives you the tools to do that on your terms.
+運動を組織している場合でも、仕事を記録している場合でも、あるいは単につながるための安全な空間を探している場合でも、+chorusはあなたの価値観を反映したグループを作成し、参加するのに役立ちます — プライバシーを侵害することなく、大手テック企業のサーバーに監視されることもありません。もしあなたが活動家、主催者、アーティスト、またはオンラインで集まるためのより安全でシンプルな方法を探しているビルダーなら、+chorusはあなた自身の条件でそれを行うためのツールを提供します。
-We give you the keys. You drive the conversation.
+私たちはあなたに鍵を渡します。あなたが会話をขับเคลื่อนします。
-## What can you do with +chorus?
+## +chorusで何ができますか?
-- Create your own group and set the tone for your community
-- Post notes and photos — share updates, reflections, or inspiration
-- Join conversations in public communities that align with your work
-- Stay anonymous or show up with intention — use a pseudonym, stay private, or bring your existing Nostr identity
-- Use it on the go — fast, lightweight, and mobile-ready
-- Crowdfund your cause through community-driven micropayments using eCash via the [Cashu](https://cashu.space/) protocol
-- Support the voices you believe in — pay fellow contributors, reward organizers, fund projects
-- Receive support for your own work, activism, or ideas from a like-minded community
+- 独自のグループを作成し、コミュニティのトーンを設定します
+- ノートや写真を投稿 — 更新情報、考察、またはインスピレーションを共有します
+- あなたの仕事に合致するパブリックコミュニティの会話に参加します
+- 匿名を維持するか、意図を持って参加します — 仮名を使用するか、プライベートを維持するか、既存のNostrアイデンティティを持ち込みます
+- 外出先でも使用可能 — 高速、軽量、モバイル対応
+- [Cashu](https://cashu.space/) プロトコル経由のeCashを使用したコミュニティ主導のマイクロペイメントを通じて、あなたの活動目的のためにクラウドファンディングを行います
+- あなたが信じる声をサポートします — 仲間の貢献者に支払い、主催者に報酬を与え、プロジェクトに資金を提供します
+- 同じ考えを持つコミュニティから、あなた自身の仕事、活動、またはアイデアに対するサポートを受けます
-## About And Other Stuff (AOS)
+## And Other Stuff (AOS)について
-[And Other Stuff (AOS)](https://andotherstuff.org/) is the team behind +chorus.
+[And Other Stuff (AOS)](https://andotherstuff.org/) は+chorusの背後にいるチームです。
-We build open-source tools that help people connect, organize, and collaborate — especially for communities that need more flexible, trustworthy options. Our purpose is to support the development of open-source infrastructure, tooling, products, and related initiatives in the Nostr ecosystem that expand human agency, connection, and productivity.
+私たちは、人々がつながり、組織し、協力するのに役立つオープンソースツールを構築しています — 特に、より柔軟で信頼性の高いオプションを必要とするコミュニティのために。私たちの目的は、人間の主体性、つながり、生産性を拡大するNostrエコシステムにおけるオープンソースのインフラストラクチャ、ツール、製品、および関連イニシアチブの開発をサポートすることです。
-By focusing on practical, composable apps and shared infrastructure, we’re helping [Nostr](https://github.com/nostr-protocol/nostr) grow from an experimental protocol into a sustainable, widely adopted ecosystem — through collaboration, contribution, and community support.
+実用的で構成可能なアプリと共有インフラストラクチャに焦点を当てることで、私たちは協力、貢献、コミュニティサポートを通じて、[Nostr](https://github.com/nostr-protocol/nostr) が実験的なプロトコルから持続可能で広く採用されるエコシステムへと成長するのを支援しています。
-## Have questions?
+## ご質問はありますか?
-Check out our [FAQ](/faq) for answers to common questions.
+一般的な質問への回答については、[FAQ](/faq) をご覧ください。
-## Talk to us
+## お問い合わせ
-Love +chorus? Have an idea for how to make it better? Come say hello in [our group](https://chorus.community/group/34550%3A932614571afcbad4d17a191ee281e39eebbb41b93fac8fd87829622aeb112f4d%3Aand-other-stuff-mb3c9stb) or visit our [GitHub](https://github.com/andotherstuff). We welcome your feedback, ideas, contributions, and [bug reports](https://github.com/andotherstuff/chorus/issues/new).
++chorusを気に入っていただけましたか?より良くするためのアイデアはありますか?[私たちのグループ](https://chorus.community/group/34550%3A932614571afcbad4d17a191ee281e39eebbb41b93fac8fd87829622aeb112f4d%3Aand-other-stuff-mb3c9stb) で挨拶に来るか、[GitHub](https://github.com/andotherstuff) にアクセスしてください。フィードバック、アイデア、貢献、[バグレポート](https://github.com/andotherstuff/chorus/issues/new) を歓迎します。
diff --git a/public/faq.md b/public/faq.md
index 02c50c2b..6cb2f2c7 100644
--- a/public/faq.md
+++ b/public/faq.md
@@ -1,134 +1,134 @@
-# Frequently Asked Questions
+# よくある質問
-## What is +chorus?
+## +chorusとは何ですか?
-+chorus is a simple, decentralized space for communities to gather, share, and grow — built by the team at [And Other Stuff (AOS)](https://andotherstuff.org/) on the open [Nostr](https://github.com/nostr-protocol/nostr) protocol.
++chorusは、[And Other Stuff (AOS)](https://andotherstuff.org/) のチームがオープンな [Nostr](https://github.com/nostr-protocol/nostr) プロトコル上に構築した、コミュニティが集い、共有し、成長するためのシンプルで分散化された空間です。
-**You can use +chorus to create or join groups, post freely, and connect with others** — without handing over your personal data or relying on big tech.
+**+chorusを使用して、グループを作成または参加し、自由に投稿し、他の人とつながることができます** — 個人データを提供したり、大手テック企業に依存したりすることなく。
-Whether you're organizing a movement or supporting one, +chorus gives you the tools to do it on your terms.
+運動を組織している場合でも、支援している場合でも、+chorusはあなた自身の条件でそれを行うためのツールを提供します。
-**And, you can fuel your community with more than words.** Support the people and projects you care about securely and instantly, without leaving the app or adding a credit card.
+**そして、言葉以上のものでコミュニティを活性化できます。** アプリを離れたりクレジットカードを追加したりすることなく、安全かつ即座に、あなたが気にかける人々やプロジェクトをサポートします。
-With +chorus, we give you the keys. You drive the conversation — and the economy around it.
++chorusでは、私たちがあなたに鍵を渡します。あなたが会話を — そしてそれを取り巻く経済を — ขับเคลื่อนします。
-## How can I send or receive funds through +chorus?
+## +chorusを通じて資金を送受信するにはどうすればよいですか?
-+chorus makes it easy to support the people and projects you care about — and just as easy to receive support for your own work.
++chorusを使用すると、あなたが気にかける人々やプロジェクトを簡単にサポートでき、またあなた自身の仕事に対するサポートを簡単に受け取ることができます。
-You can send small, instant eCash payments to show appreciation, fund ideas, or back a cause. These payments are powered by a privacy-first system called [Cashu](https://cashu.space).
+感謝の気持ちを示したり、アイデアに資金を提供したり、大義を支援したりするために、少額のeCash支払いを即座に送信できます。これらの支払いは、[Cashu](https://cashu.space) と呼ばれるプライバシー第一のシステムによって行われます。
-If you're sharing your voice, leading a community, or building something meaningful, others can support you directly — right in the conversation.
+あなたが自分の声を共有したり、コミュニティを率いたり、意味のあるものを構築したりしている場合、他の人は会話の中で直接あなたをサポートできます。
-## Do I need a wallet to send or receive payments?
+## 支払いを行うためにウォレットは必要ですか?
-No wallet? No problem. Click on your screen name in the top-right corner and select **Wallet** to set up eCash. With one click, we will have you ready to send and receive funds.
+ウォレットがなくても問題ありません。画面右上のスクリーンネームをクリックし、**ウォレット** を選択してeCashを設定します。ワンクリックで、資金の送受信の準備が整います。
-## Do I need to create an account?
+## アカウントを作成する必要がありますか?
-Nope. There are no accounts to create. +chorus uses cryptographic key pairs instead of usernames and passwords.
+いいえ。作成するアカウントはありません。+chorusは、ユーザー名とパスワードの代わりに暗号鍵ペアを使用します。
-This means **you control your identity** — no company owns your login.
+これは、**あなたが自分のアイデンティティを管理する**ことを意味します — あなたのログイン情報を所有する会社はありません。
-## What is the role of group owners and moderators?
+## グループオーナーとモデレーターの役割は何ですか?
-**Group Owner**
+**グループオーナー**
-The person who creates a group automatically becomes its Owner. Owners have full administrative control, including the ability to:
-- Add or remove moderators
-- Manage group settings and permissions
-- Rename the group
-- Manage contributions to the group
+グループを作成した人は自動的にそのオーナーになります。オーナーは、以下を含む完全な管理権限を持ちます。
+- モデレーターの追加または削除
+- グループ設定と権限の管理
+- グループ名の変更
+- グループへの貢献の管理
-**Moderators**
+**モデレーター**
-Moderators help maintain a productive and respectful environment. They can:
-- Approve or remove members
-- Pin important messages
-- Enforce the group’s community guidelines
+モデレーターは、生産的で敬意のある環境を維持するのに役立ちます。彼らは次のことができます。
+- メンバーの承認または削除
+- 重要なメッセージのピン留め
+- グループのコミュニティガイドラインの施行
-Groups can have multiple moderators, but only one owner. Owners can promote other members to moderators at any time.
+グループには複数のモデレーターを設定できますが、オーナーは1人のみです。オーナーはいつでも他のメンバーをモデレーターに昇格させることができます。
-## What is a cryptographic key?
+## 暗号鍵とは何ですか?
-A cryptographic key is a string of characters used to secure your identity and content. Think of it like a master password that proves who you are and allows you to post, sign messages, and access your communities.
+暗号鍵は、あなたのアイデンティティとコンテンツを保護するために使用される文字列です。あなたが誰であるかを証明し、投稿、メッセージへの署名、コミュニティへのアクセスを可能にするマスターパスワードのようなものだと考えてください。
-- Your **public key** is like your username — others can see it. It usually starts with `npub…`
-- Your **private key** must be kept secret — it's what proves you're really you. It usually starts with `nsec…`
+- あなたの **公開鍵** はユーザー名のようなものです — 他の人が見ることができます。通常、`npub…` で始まります。
+- あなたの **秘密鍵** は秘密にしておく必要があります — それがあなたが本当にあなたであることを証明するものです。通常、`nsec…` で始まります。
-**If someone else gets your private key, they can act as you forever — so keep it safe.**
+**他の誰かがあなたの秘密鍵を入手すると、彼らは永久にあなたとして行動できるようになります — だから安全に保管してください。**
-## Can I delete my +chorus account?
+## +chorusアカウントを削除できますか?
-There's no traditional account to delete. Your identity on +chorus is tied to a cryptographic key.
+削除する従来のアカウントはありません。+chorusでのあなたのアイデンティティは暗号鍵に関連付けられています。
-If you want to stop using +chorus:
++chorusの使用をやめたい場合:
-- You can remove your key from your browser, extension, or device.
-- If you used a temporary key, just stop using it.
+- ブラウザ、拡張機能、またはデバイスからキーを削除できます。
+- 一時キーを使用した場合は、単にそれを使用するのをやめてください。
-Your content may also disappear over time if the relays you used remove old data — but this depends on each relay's policy and isn't guaranteed.
+使用したリレーが古いデータを削除した場合、あなたのコンテンツも時間とともに消える可能性がありますが、これは各リレーのポリシーに依存し、保証されていません。
-## Is +chorus private?
+## +chorusはプライベートですか?
-+chorus doesn't track you or collect personal data. You don't need an email, phone number, or name to join or post. You can use a pseudonym or stay anonymous.
++chorusはあなたを追跡したり、個人データを収集したりしません。参加したり投稿したりするために、メールアドレス、電話番号、または名前は必要ありません。仮名を使用したり、匿名のままでいることができます。
-However, Nostr is a public protocol — so unless you're using encrypted direct messages or private groups (which are not currently supported in +chorus), your posts are visible to anyone using a compatible app.
+ただし、Nostrは公開プロトコルです — そのため、暗号化されたダイレクトメッセージやプライベートグループ(現在+chorusではサポートされていません)を使用していない限り、あなたの投稿は互換性のあるアプリを使用している誰にでも表示されます。
-**Always be thoughtful about what you share.**
+**共有するものについては常に慎重に考えてください。**
-## Is +chorus secure?
+## +chorusは安全ですか?
-+chorus is designed with security by default. But because you control your keys, some of the responsibility lies with you.
++chorusはデフォルトでセキュリティを考慮して設計されています。しかし、あなたが自分のキーを管理するため、責任の一部はあなたにあります。
-- Your identity is tied to your **private key** (the one that starts with `nsec…`). Keep it safe and never share it.
-- If someone else gets your private key, they can impersonate you — permanently.
-- To protect your key, you can use tools like [Alby](https://getalby.com/) to log in without exposing it directly.
+- あなたのアイデンティティはあなたの **秘密鍵**(`nsec…`で始まるもの)に関連付けられています。安全に保管し、決して共有しないでください。
+- 他の誰かがあなたの秘密鍵を入手すると、彼らはあなたになりすますことができます — 永久に。
+- キーを保護するために、[Alby](https://getalby.com/) のようなツールを使用して、直接公開せずにログインすることができます。
-## Who can see what I post?
+## 私が投稿したものは誰が見ることができますか?
-+chorus groups are public communities meaning anyone using +chorus or another Nostr app can see your content.
++chorusグループはパブリックコミュニティであり、+chorusまたは別のNostrアプリを使用している誰でもあなたのコンテンツを見ることができます。
-Posts are stored on public relays. +chorus helps you create and manage posts and communities — it doesn't control what's stored or shared.
+投稿はパブリックリレーに保存されます。+chorusは投稿とコミュニティの作成と管理を支援します — 保存または共有されるものを制御しません。
-## Can I remove something I posted?
+## 投稿したものを削除できますか?
-You can request that relays delete your content. However, because the protocol is decentralized, content can persist if relays or users choose to keep it.
+リレーにコンテンツの削除を要求できます。ただし、プロトコルは分散化されているため、リレーまたはユーザーがそれを保持することを選択した場合、コンテンツは存続する可能性があります。
-## How can I access +chorus?
+## +chorusにアクセスするにはどうすればよいですか?
-+chorus is a browser-based app designed with mobile use in mind. No app store required — just visit the site on your phone and save to your homescreen for quick access.
++chorusは、モバイルでの使用を念頭に置いて設計されたブラウザベースのアプリです。アプリストアは必要ありません — スマートフォンでサイトにアクセスし、ホーム画面に保存してすばやくアクセスできます。
-## What if I'm new to Nostr?
+## Nostrを初めて使用する場合はどうすればよいですか?
-That's totally cool. +chorus is designed for people who have never used Nostr before. If you have a Nostr key, you can use it. If not, you can generate one in seconds.
+それは全く問題ありません。+chorusはNostrを一度も使用したことがない人向けに設計されています。Nostrキーをお持ちの場合は、それを使用できます。お持ちでない場合は、数秒で生成できます。
-## How can I check out the technical details?
+## 技術的な詳細を確認するにはどうすればよいですか?
-+chorus is an open-source project built on several key technologies:
++chorusは、いくつかの主要なテクノロジーに基づいて構築されたオープンソースプロジェクトです。
-**Nostr Protocol Integration**
-- Implements [NIP-72](https://github.com/nostr-protocol/nips/blob/master/72.md) for moderated communities
-- Uses [NIP-60](https://github.com/nostr-protocol/nips/blob/master/60.md) for Cashu wallet integration
-- Supports [NIP-57](https://github.com/nostr-protocol/nips/blob/master/57.md) for Lightning zaps
-- Implements [NIP-44](https://github.com/nostr-protocol/nips/blob/master/44.md) for encrypted payloads
+**Nostrプロトコル統合**
+- モデレートされたコミュニティのために [NIP-72](https://github.com/nostr-protocol/nips/blob/master/72.md) を実装
+- Cashuウォレット統合のために [NIP-60](https://github.com/nostr-protocol/nips/blob/master/60.md) を使用
+- Lightning zapsのために [NIP-57](https://github.com/nostr-protocol/nips/blob/master/57.md) をサポート
+- 暗号化されたペイロードのために [NIP-44](https://github.com/nostr-protocol/nips/blob/master/44.md) を実装
-**Cashu Integration**
-- Built-in Cashu wallet for instant eCash payments
-- Support for multiple Cashu mints
-- Private, non-custodial transactions
-- Encrypted transaction history
-- Automatic wallet configuration via Nostr events
+**Cashu統合**
+- 即時eCash支払い用の組み込みCashuウォレット
+- 複数のCashuミントのサポート
+- プライベートな非管理型トランザクション
+- 暗号化されたトランザクション履歴
+- Nostrイベント経由の自動ウォレット設定
-**Technical Stack**
-- React 18.x with TypeScript
-- TailwindCSS 3.x for styling
-- Vite for fast development
-- shadcn/ui for accessible components
-- TanStack Query for data management
+**テクニカルスタック**
+- React 18.x と TypeScript
+- スタイリングのためのTailwindCSS 3.x
+- 高速開発のためのVite
+- アクセシブルなコンポーネントのためのshadcn/ui
+- データ管理のためのTanStack Query
-You can explore our code, design decisions, and documentation on [GitHub](https://github.com/andotherstuff/chorus).
+私たちのコード、設計上の決定、ドキュメントは[GitHub](https://github.com/andotherstuff/chorus)で確認できます。
-## Something isn't working — how can I get help?
+## 何か問題が発生しています — どうすれば助けを得られますか?
-Feel free to ask in our [+chorus group](https://chorus.community/group/34550%3A932614571afcbad4d17a191ee281e39eebbb41b93fac8fd87829622aeb112f4d%3Aand-other-stuff-mb3c9stb), visit our [GitHub](https://github.com/andotherstuff), or check out our [website](https://andotherstuff.org). We welcome your questions, feedback, ideas, contributions, and [bug reports](https://github.com/andotherstuff/chorus/issues/new).
+私たちの[+chorusグループ](https://chorus.community/group/34550%3A932614571afcbad4d17a191ee281e39eebbb41b93fac8fd87829622aeb112f4d%3Aand-other-stuff-mb3c9stb)でお気軽にお尋ねいただくか、[GitHub](https://github.com/andotherstuff)にアクセスするか、私たちの[ウェブサイト](https://andotherstuff.org)をご確認ください。ご質問、フィードバック、アイデア、貢献、[バグレポート](https://github.com/andotherstuff/chorus/issues/new)を歓迎します。
diff --git a/public/manifest.json b/public/manifest.json
index fe9b6402..1d78f136 100644
--- a/public/manifest.json
+++ b/public/manifest.json
@@ -1,8 +1,8 @@
{
"id": "chorus-nostr-groups",
- "name": "+chorus - Nostr Groups",
+ "name": "+chorus - Nostr グループ",
"short_name": "+chorus",
- "description": "Join, create, and participate in decentralized groups powered by the Nostr protocol. Connect with communities through censorship-resistant social networking.",
+ "description": "Nostrプロトコルを利用した分散型グループに参加、作成、参加しましょう。検閲に強いソーシャルネットワーキングを通じてコミュニティとつながりましょう。",
"start_url": "/",
"scope": "/",
"display": "standalone",
@@ -30,21 +30,21 @@
"sizes": "1280x720",
"type": "image/png",
"form_factor": "wide",
- "label": "+chorus desktop view showing group discussions"
+ "label": "+chorus デスクトップビュー グループディスカッション表示"
},
{
"src": "/screenshots/mobile.png",
"sizes": "750x1334",
"type": "image/png",
"form_factor": "narrow",
- "label": "+chorus mobile view for group chat"
+ "label": "+chorus モバイルビュー グループチャット用"
}
],
"shortcuts": [
{
- "name": "New Group",
- "short_name": "New Group",
- "description": "Create a new decentralized group",
+ "name": "新しいグループ",
+ "short_name": "新しいグループ",
+ "description": "新しい分散型グループを作成する",
"url": "/groups/new",
"icons": [
{
@@ -54,9 +54,9 @@
]
},
{
- "name": "Notifications",
- "short_name": "Notifications",
- "description": "View your notifications",
+ "name": "お知らせ",
+ "short_name": "お知らせ",
+ "description": "お知らせを見る",
"url": "/notifications",
"icons": [
{
diff --git a/src/components/auth/LoginDialog.tsx b/src/components/auth/LoginDialog.tsx
index 5354b178..6a4436c9 100644
--- a/src/components/auth/LoginDialog.tsx
+++ b/src/components/auth/LoginDialog.tsx
@@ -34,7 +34,7 @@ const LoginDialog: React.FC = ({ isOpen, onClose, onLogin }) =
setIsLoading(true);
try {
if (!('nostr' in window)) {
- throw new Error('Nostr extension not found. Please install a NIP-07 extension.');
+ throw new Error('Nostr拡張機能が見つかりません。NIP-07拡張機能をインストールしてください。');
}
const loginInfo = await login.extension();
@@ -104,16 +104,16 @@ const LoginDialog: React.FC = ({ isOpen, onClose, onLogin }) =