Skip to content

Commit cb730ff

Browse files
nakamura-toclaude
andauthored
docs: Clean up Japanese documentation and Python format annotations (#1394)
* docs: Fix broken links in Japanese documentation Fixed broken links in Japanese translation files that were pointing to outdated reStructuredText references. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <[email protected]> * docs: Clean up Python format annotations in Japanese .po files Remove unnecessary Python format annotations (python-format, python-brace-format) from Japanese translation files to improve compatibility and reduce clutter. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <[email protected]> * docs: Fix broken Markdown links in Japanese translation files Fixed broken links in Japanese .po translation files that were incorrectly formatted after the RST to Markdown conversion. The links now properly use Markdown syntax with correct relative paths and descriptive link text. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <[email protected]> --------- Co-authored-by: Claude <[email protected]>
1 parent 22d1c9c commit cb730ff

28 files changed

+223
-2310
lines changed

docs/locale/ja/LC_MESSAGES/aggregate-strategy.po

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -179,18 +179,18 @@ msgid "Using the expansion directive"
179179
msgstr "選択カラムリスト展開ディレクティブの使用"
180180

181181
#: ../../aggregate-strategy.md:146
182-
, python-brace-format
182+
183183
msgid ""
184184
"By using the [expansion directive](sql.md#expansion-directive), the above"
185185
" SELECT statement can be written more concisely:"
186-
msgstr ":ref:`選択カラムリスト展開ディレクティブ <expand>` を使用することで、上記のSELECT文をより簡潔に記述することができます。"
186+
msgstr "[選択カラムリスト展開ディレクティブ](sql.md#expansion-directive) を使用することで、上記のSELECT文をより簡潔に記述することができます。"
187187

188188
#: ../../aggregate-strategy.md:161
189189
msgid "How expansion works"
190190
msgstr "カラムリスト展開の仕組み"
191191

192192
#: ../../aggregate-strategy.md:163
193-
, python-format
193+
194194
msgid ""
195195
"The `/*%expand*/*` directive automatically expands into a column list "
196196
"following predefined aliasing rules."

docs/locale/ja/LC_MESSAGES/codegen.po

Lines changed: 91 additions & 39 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ msgid ""
33
msgstr ""
44
"Project-Id-Version: doma-docs\n"
55
"Report-Msgid-Bugs-To: \n"
6-
"POT-Creation-Date: 2025-07-12 00:57+0900\n"
6+
"POT-Creation-Date: 2025-07-12 10:26+0900\n"
77
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
88
"Last-Translator: \n"
99
"Language: ja_JP\n"
@@ -33,8 +33,9 @@ msgid ""
3333
" is a Gradle plugin that generates Java, Kotlin, and SQL files from a "
3434
"database schema."
3535
msgstr ""
36-
"[Doma CodeGenプラグイン](https://plugins.gradle.org/plugin/org.domaframework.doma.codegen) は "
37-
"Gradle プラグインです。データベーススキーマから Java、Kotlin、および SQL ファイルを生成します。"
36+
"[Doma "
37+
"CodeGenプラグイン](https://plugins.gradle.org/plugin/org.domaframework.doma.codegen)"
38+
" は Gradle プラグインです。データベーススキーマから Java、Kotlin、および SQL ファイルを生成します。"
3839

3940
#: ../../codegen.md:12
4041
msgid "Key Benefits"
@@ -105,7 +106,8 @@ msgid ""
105106
"Documentation for Ant-based Doma-Gen is available at [the Doma-Gen GitHub"
106107
" repository](https://github.com/domaframework/doma-gen/tree/master/docs)."
107108
msgstr ""
108-
"AntベースのDoma-Genのドキュメントは、 [Doma-Gen GitHub リポジトリ](https://github.com/domaframework/doma-gen/tree/master/docs) にあります。"
109+
"AntベースのDoma-Genのドキュメントは、 [Doma-Gen GitHub "
110+
"リポジトリ](https://github.com/domaframework/doma-gen/tree/master/docs) にあります。"
109111

110112
#: ../../codegen.md:33
111113
msgid ""
@@ -282,7 +284,8 @@ msgid ""
282284
"the *Postgresql* part corresponds to the `postgresql` block."
283285
msgstr ""
284286
"上記のタスク名の *Xxx* 部分は、`domaCodeGen` "
285-
"ブロックの下で定義されているブロック名に置き換えられます。上記の使用例では、*Postgresql* 部分は `postgresql` ブロックに対応しています。"
287+
"ブロックの下で定義されているブロック名に置き換えられます。上記の使用例では、*Postgresql* 部分は `postgresql` "
288+
"ブロックに対応しています。"
286289

287290
#: ../../codegen.md:290
288291
msgid "To check all defined task names, run the `tasks` task:"
@@ -351,7 +354,7 @@ msgid "JDBC connection URL to your database"
351354
msgstr ""
352355

353356
#: ../../codegen.md:356
354-
msgid "`jdbc:postgresql://localhost:5432/mydb`"
357+
msgid "``jdbc:postgresql://localhost:5432/mydb``"
355358
msgstr ""
356359

357360
#: ../../codegen.md:357 ../../codegen.md:361 ../../codegen.md:365
@@ -367,7 +370,7 @@ msgid "Database username for authentication"
367370
msgstr ""
368371

369372
#: ../../codegen.md:360
370-
msgid "`myuser`"
373+
msgid "``myuser``"
371374
msgstr ""
372375

373376
#: ../../codegen.md:362
@@ -379,7 +382,7 @@ msgid "Database password for authentication"
379382
msgstr ""
380383

381384
#: ../../codegen.md:364
382-
msgid "`mypass`"
385+
msgid "``mypass``"
383386
msgstr ""
384387

385388
#: ../../codegen.md:366
@@ -411,7 +414,7 @@ msgid "Database catalog name to filter tables"
411414
msgstr "テーブルをフィルタリングするデータベースのカタログ名"
412415

413416
#: ../../codegen.md:376
414-
msgid "`sales_catalog`"
417+
msgid "``sales_catalog``"
415418
msgstr ""
416419

417420
#: ../../codegen.md:378
@@ -423,7 +426,7 @@ msgid "Database schema name to filter tables"
423426
msgstr "テーブルをフィルタリングするデータベースのスキーマ名"
424427

425428
#: ../../codegen.md:380
426-
msgid "`public`, `dbo`, `hr`"
429+
msgid "``public``, ``dbo``, ``hr``"
427430
msgstr ""
428431

429432
#: ../../codegen.md:382
@@ -435,11 +438,11 @@ msgid "Regex pattern to include specific tables"
435438
msgstr ""
436439

437440
#: ../../codegen.md:384
438-
msgid "`user_.*` (tables starting with \"user\\_\")"
441+
msgid "``user_.*`` (tables starting with \"user\\_\")"
439442
msgstr ""
440443

441444
#: ../../codegen.md:385
442-
msgid "`.*` (all tables)"
445+
msgid "``.*`` (all tables)"
443446
msgstr ""
444447

445448
#: ../../codegen.md:386
@@ -451,11 +454,11 @@ msgid "Regex pattern to exclude tables"
451454
msgstr ""
452455

453456
#: ../../codegen.md:388
454-
msgid "`temp_.*` (ignore temp tables)"
457+
msgid "``temp_.*`` (ignore temp tables)"
455458
msgstr ""
456459

457460
#: ../../codegen.md:389
458-
msgid "`.*$.*` (ignore system tables)"
461+
msgid "``.*$.*`` (ignore system tables)"
459462
msgstr ""
460463

461464
#: ../../codegen.md:390
@@ -467,11 +470,12 @@ msgid "Types of database objects to include"
467470
msgstr ""
468471

469472
#: ../../codegen.md:392
470-
msgid "`[\"TABLE\", \"VIEW\"]` (include tables and views)"
473+
msgid "``[\"TABLE\", \"VIEW\"]`` (include tables and views)"
471474
msgstr ""
472475

473476
#: ../../codegen.md:393
474-
msgid "`[\"TABLE\"]`"
477+
#, fuzzy
478+
msgid "``[\"TABLE\"]``"
475479
msgstr "`[\"TABLE\"]`"
476480

477481
#: ../../codegen.md:394
@@ -483,11 +487,13 @@ msgid "Regex to identify version columns"
483487
msgstr ""
484488

485489
#: ../../codegen.md:396
486-
msgid "`VERSION([_]?NO)?` or `.*_version`"
487-
msgstr ""
490+
#, fuzzy
491+
msgid "``VERSION([_]?NO)?`` or ``.*_version``"
492+
msgstr "`VERSION([_]?NO)?`"
488493

489494
#: ../../codegen.md:397
490-
msgid "`VERSION([_]?NO)?`"
495+
#, fuzzy
496+
msgid "``VERSION([_]?NO)?``"
491497
msgstr "`VERSION([_]?NO)?`"
492498

493499
#: ../../codegen.md:398
@@ -499,11 +505,13 @@ msgid "Target programming language"
499505
msgstr ""
500506

501507
#: ../../codegen.md:400
502-
msgid "`LanguageType.JAVA` or `LanguageType.KOTLIN`"
508+
#, fuzzy
509+
msgid "``LanguageType.JAVA`` or ``LanguageType.KOTLIN``"
503510
msgstr "`LanguageType.JAVA` または `LanguageType.KOTLIN`"
504511

505512
#: ../../codegen.md:401
506-
msgid "`LanguageType.JAVA`"
513+
#, fuzzy
514+
msgid "``LanguageType.JAVA``"
507515
msgstr "`LanguageType.JAVA`"
508516

509517
#: ../../codegen.md:402
@@ -515,7 +523,7 @@ msgid "Directory containing custom FreeMarker templates"
515523
msgstr "カスタムFreeMarkerテンプレートを含むディレクトリ"
516524

517525
#: ../../codegen.md:404
518-
msgid "`file(\"$projectDir/custom-templates\")`"
526+
msgid "``file(\"$projectDir/custom-templates\")``"
519527
msgstr ""
520528

521529
#: ../../codegen.md:406
@@ -527,11 +535,12 @@ msgid "Text encoding for generated source files"
527535
msgstr "生成されるソースファイルのテキストエンコーディング"
528536

529537
#: ../../codegen.md:408
530-
msgid "`UTF-8`, `Shift_JIS`"
538+
msgid "``UTF-8``, ``Shift_JIS``"
531539
msgstr ""
532540

533541
#: ../../codegen.md:409
534-
msgid "`UTF-8`"
542+
#, fuzzy
543+
msgid "``UTF-8``"
535544
msgstr "`UTF-8`"
536545

537546
#: ../../codegen.md:410
@@ -543,7 +552,7 @@ msgid "Output directory for generated source files"
543552
msgstr "生成されたソースファイルの出力ディレクトリ"
544553

545554
#: ../../codegen.md:412
546-
msgid "`src/main/java`, `src/main/kotlin`"
555+
msgid "``src/main/java``, ``src/main/kotlin``"
547556
msgstr ""
548557

549558
#: ../../codegen.md:413
@@ -559,7 +568,8 @@ msgid "Output directory for generated SQL files"
559568
msgstr "生成されたSQLファイルの出力ディレクトリ"
560569

561570
#: ../../codegen.md:416 ../../codegen.md:417
562-
msgid "`src/main/resources`"
571+
#, fuzzy
572+
msgid "``src/main/resources``"
563573
msgstr "`src/main/resources`"
564574

565575
#: ../../codegen.md:418
@@ -582,8 +592,7 @@ msgstr "エンティティ設定"
582592
msgid ""
583593
"The `entity` block configures how entity classes are generated. This "
584594
"block must be defined within a named configuration."
585-
msgstr ""
586-
"`entity` ブロックはエンティティクラスの生成方法を設定します。このブロックは名前付き設定内で定義する必要があります。"
595+
msgstr "`entity` ブロックはエンティティクラスの生成方法を設定します。このブロックは名前付き設定内で定義する必要があります。"
587596

588597
#: ../../codegen.md:428 ../../codegen.md:566
589598
msgid "**Basic Example**"
@@ -810,7 +819,8 @@ msgid "whether to overwrite generated DAO files or not"
810819
msgstr "生成されたDAOファイルを上書きするかどうか"
811820

812821
#: ../../codegen.md:591
813-
msgid "`false`"
822+
#, fuzzy
823+
msgid "``false``"
814824
msgstr "`false`"
815825

816826
#: ../../codegen.md:593
@@ -843,16 +853,17 @@ msgid ""
843853
"directory. These include basic READ operations like `selectById.sql` and "
844854
"`selectByIdAndVersion.sql`."
845855
msgstr ""
846-
"SQLファイルは `src/main/resources/META-INF/<package>/dao/` ディレクトリに生成されます。"
847-
"これには `selectById.sql` や `selectByIdAndVersion.sql` のような基本的なREAD操作が含まれます。"
856+
"SQLファイルは `src/main/resources/META-INF/<package>/dao/` ディレクトリに生成されます。これには "
857+
"`selectById.sql` や `selectByIdAndVersion.sql` のような基本的なREAD操作が含まれます。"
848858

849859
#: ../../codegen.md:631
850860
msgid "whether to overwrite generated sql files or not"
851861
msgstr "生成された SQL ファイルを上書きするかどうか"
852862

853863
#: ../../codegen.md:633
854-
msgid "`true`"
855-
msgstr ""
864+
#, fuzzy
865+
msgid "``true``"
866+
msgstr "`true`"
856867

857868
#: ../../codegen.md:636
858869
msgid "SQL Test Configuration"
@@ -938,7 +949,10 @@ msgid ""
938949
"repository](https://github.com/domaframework/doma-codegen-"
939950
"plugin/tree/master/codegen/src/main/resources/org/seasar/doma/gradle/codegen/template)."
940951
msgstr ""
941-
"デフォルトのテンプレートファイルは [ソースコードリポジトリ](https://github.com/domaframework/doma-codegen-plugin/tree/master/codegen/src/main/resources/org/seasar/doma/gradle/codegen/template) にあります。"
952+
"デフォルトのテンプレートファイルは [ソースコードリポジトリ](https://github.com/domaframework/doma-"
953+
"codegen-"
954+
"plugin/tree/master/codegen/src/main/resources/org/seasar/doma/gradle/codegen/template)"
955+
" にあります。"
942956

943957
#: ../../codegen.md:736
944958
msgid "Template File"
@@ -1506,10 +1520,48 @@ msgstr "[kotlin-sample](https://github.com/domaframework/kotlin-sample)"
15061520
#~ "`GenerationType` の FQN は "
15071521
#~ "`org.seasar.doma.gradle.codegen.desc.GenerationType` です。"
15081522

1509-
#~ msgid ""
1510-
#~ "The FQN of `NamingType` is "
1511-
#~ "`org.seasar.doma.gradle.codegen.NamingType`"
1523+
#~ msgid "The FQN of `NamingType` is `org.seasar.doma.gradle.codegen.NamingType`"
1524+
#~ msgstr "`NamingType` の FQN は `org.seasar.doma.gradle.codegen.NamingType` です。"
1525+
1526+
#~ msgid "`jdbc:postgresql://localhost:5432/mydb`"
1527+
#~ msgstr ""
1528+
1529+
#~ msgid "`myuser`"
1530+
#~ msgstr ""
1531+
1532+
#~ msgid "`mypass`"
1533+
#~ msgstr ""
1534+
1535+
#~ msgid "`sales_catalog`"
1536+
#~ msgstr ""
1537+
1538+
#~ msgid "`public`, `dbo`, `hr`"
1539+
#~ msgstr ""
1540+
1541+
#~ msgid "`user_.*` (tables starting with \"user\\_\")"
1542+
#~ msgstr ""
1543+
1544+
#~ msgid "`.*` (all tables)"
1545+
#~ msgstr ""
1546+
1547+
#~ msgid "`temp_.*` (ignore temp tables)"
1548+
#~ msgstr ""
1549+
1550+
#~ msgid "`.*$.*` (ignore system tables)"
1551+
#~ msgstr ""
1552+
1553+
#~ msgid "`[\"TABLE\", \"VIEW\"]` (include tables and views)"
1554+
#~ msgstr ""
1555+
1556+
#~ msgid "`VERSION([_]?NO)?` or `.*_version`"
1557+
#~ msgstr ""
1558+
1559+
#~ msgid "`file(\"$projectDir/custom-templates\")`"
1560+
#~ msgstr ""
1561+
1562+
#~ msgid "`UTF-8`, `Shift_JIS`"
1563+
#~ msgstr ""
1564+
1565+
#~ msgid "`src/main/java`, `src/main/kotlin`"
15121566
#~ msgstr ""
1513-
#~ "`NamingType` の FQN は "
1514-
#~ "`org.seasar.doma.gradle.codegen.NamingType` です。"
15151567

docs/locale/ja/LC_MESSAGES/config.po

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ msgstr ""
4848
"トランザクションが必要な場合は、 `LocalTransactionDataSource` を返します。"
4949

5050
#: ../../config.md:17 ../../config.md:150
51-
python-brace-format
51+
5252
msgid "See also: [](transaction.md)"
5353
msgstr "[トランザクション](transaction.md) も参照してください。"
5454

@@ -468,7 +468,7 @@ msgid "Query timeout"
468468
msgstr "クエリタイムアウト"
469469

470470
#: ../../config.md:174
471-
python-brace-format
471+
472472
msgid ""
473473
"Return the query timeout (in seconds) from the `getQueryTimeout` method. "
474474
"This value is used as the default in [](query/index.md)."
@@ -481,7 +481,7 @@ msgid "Max rows"
481481
msgstr "最大行数"
482482

483483
#: ../../config.md:179
484-
python-brace-format
484+
485485
msgid ""
486486
"Return the max rows from the `getMaxRows` method. This value is used as "
487487
"the default in [](query/select.md)."
@@ -492,7 +492,7 @@ msgid "Fetch size"
492492
msgstr "フェッチサイズ"
493493

494494
#: ../../config.md:184
495-
python-brace-format
495+
496496
msgid ""
497497
"Return the fetch size from the `getFetchSize` method. This value is used "
498498
"as the default in [](query/select.md)."
@@ -505,7 +505,7 @@ msgid "Batch size"
505505
msgstr "バッチサイズ"
506506

507507
#: ../../config.md:189
508-
python-brace-format
508+
509509
msgid ""
510510
"Return the batch size from the `getBatchSize` method. This value is used "
511511
"as the default in [](query/batch-insert.md), [](query/batch-update.md) "

0 commit comments

Comments
 (0)