Skip to content
This repository was archived by the owner on Jul 9, 2025. It is now read-only.

Commit fc8a93e

Browse files
committed
Update Japanese translations for domain, config, and build docs
1 parent 8e37c6a commit fc8a93e

File tree

3 files changed

+61
-61
lines changed

3 files changed

+61
-61
lines changed

docs/locale/ja/LC_MESSAGES/build.po

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ msgid ""
22
msgstr ""
33
"Project-Id-Version: doma-docs\n"
44
"Report-Msgid-Bugs-To: \n"
5-
"POT-Creation-Date: 2024-06-01 23:17+0900\n"
5+
"POT-Creation-Date: 2025-02-24 14:52+0900\n"
66
"Last-Translator: \n"
77
"Language-Team: Japanese\n"
88
"MIME-Version: 1.0\n"

docs/locale/ja/LC_MESSAGES/config.po

Lines changed: 32 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ msgid ""
22
msgstr ""
33
"Project-Id-Version: doma-docs\n"
44
"Report-Msgid-Bugs-To: \n"
5-
"POT-Creation-Date: 2025-01-18 21:46+0900\n"
5+
"POT-Creation-Date: 2025-02-24 14:52+0900\n"
66
"Last-Translator: \n"
77
"Language-Team: Japanese\n"
88
"MIME-Version: 1.0\n"
@@ -541,34 +541,58 @@ msgid "The above ``EmployeeDao`` interface must be annotated with the ``@Dao`` a
541541
msgstr "上記の ``EmployeeDao`` インタフェースには、次のように ``@Dao`` アノテーションを付ける必要があります。"
542542

543543
#: ../../config.rst:368
544+
msgid "More Simple definition"
545+
msgstr "さらに単純な定義"
546+
547+
#: ../../config.rst:370
548+
msgid "You can build the configuration more easily by using ``org.seasar.doma.jdbc.SimpleConfig``."
549+
msgstr "``org.seasar.doma.jdbc.SimpleConfig`` を使用すると、より簡単に構成を構築できます。"
550+
551+
#: ../../config.rst:372
552+
msgid "``SimpleConfig`` determines the ``Dialect`` based on the connection string and manages transactions using local transactions."
553+
msgstr "``SimpleConfig`` は接続文字列に基づいて``Dialect`` を決定し、ローカルトランザクションを使用してトランザクションを管理します。"
554+
555+
#: ../../config.rst:374
556+
msgid "Here is an example of building a ``Config`` using ``SimpleConfig``."
557+
msgstr "ここでは、``SimpleConfig`` を使用して ``Config`` を構築する例を示します。"
558+
559+
#: ../../config.rst:383
560+
msgid "You can use the above ``config`` instance as follows:"
561+
msgstr "上記の ``config`` インスタンスは以下のように使用できます。"
562+
563+
#: ../../config.rst:391
564+
msgid "``SimpleConfig`` is primarily intended for use in sample or test code."
565+
msgstr "``SimpleConfig`` は、主にサンプルコードまたはテストコードで使用するために使用されます。"
566+
567+
#: ../../config.rst:394
544568
msgid "Advanced definition"
545569
msgstr "高度な定義"
546570

547-
#: ../../config.rst:370
571+
#: ../../config.rst:396
548572
msgid "The advanced definition is appropriate in following cases:"
549573
msgstr "高度な定義は、次の場合に適しています。"
550574

551-
#: ../../config.rst:372
575+
#: ../../config.rst:398
552576
msgid "The configuration instance is managed as a singleton object in the dependency injection container"
553577
msgstr "設定インスタンスが依存性注入コンテナ内のシングルトンオブジェクトとして管理される"
554578

555-
#: ../../config.rst:373
579+
#: ../../config.rst:399
556580
msgid "The transaction manager is provided from the application server or framework you use"
557581
msgstr "トランザクションマネージャが使用するアプリケーションサーバーまたはフレームワークから提供される"
558582

559-
#: ../../config.rst:375
583+
#: ../../config.rst:401
560584
msgid "Suppose the ``dialect`` and the ``dataSource`` are injected by the dependency injection container:"
561585
msgstr "``dialect`` と ``dataSource`` が依存性注入コンテナによって注入されると仮定します。"
562586

563-
#: ../../config.rst:404
587+
#: ../../config.rst:430
564588
msgid "To inject the instance of the above class to your DAO implementation instance, you have to annotate your DAO interfaces with ``@AnnotateWith``:"
565589
msgstr "上記のクラスのインスタンスを DAO のインスタンスに注入するには、DAO インタフェースに ``@AnnotateWith`` アノテーションを付ける必要があります。"
566590

567-
#: ../../config.rst:431
591+
#: ../../config.rst:457
568592
msgid "To avoid annotating your DAO interfaces with ``@AnnotateWith`` repeatedly, annotate the arbitrary annotation with it only once:"
569593
msgstr "DAO インタフェースに ``@AnnotateWith`` で繰り返しアノテーションを付けることを避けるには、任意のアノテーションに 1 回だけアノテーションを付けます。"
570594

571-
#: ../../config.rst:442
595+
#: ../../config.rst:468
572596
msgid "Then, you can annotate your DAO interfaces with the above ``@InjectConfig`` annotation:"
573597
msgstr "次に、DAO インタフェースに上記の ``@InjectConfig`` アノテーションを付けることができます。"
574598

docs/locale/ja/LC_MESSAGES/domain.po

Lines changed: 28 additions & 52 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ msgid ""
22
msgstr ""
33
"Project-Id-Version: doma-docs\n"
44
"Report-Msgid-Bugs-To: \n"
5-
"POT-Creation-Date: 2025-01-18 21:46+0900\n"
5+
"POT-Creation-Date: 2025-02-24 14:52+0900\n"
66
"Last-Translator: \n"
77
"Language-Team: Japanese\n"
88
"MIME-Version: 1.0\n"
@@ -89,85 +89,61 @@ msgstr "外部ドメインクラス"
8989

9090
#: ../../domain.rst:190
9191
msgid "This feature allows you to define any class as a domain class, even if you cannot annotate the class with the ``@Domain`` annotation."
92-
msgstr ""
92+
msgstr "この機能を使用すると、``@Domain`` アノテーションでクラスに注釈を付けることができなくても、任意のクラスをドメインクラスとして定義できます。"
9393

9494
#: ../../domain.rst:193
95-
msgid "To define external domain classes, you have to do as follows:"
96-
msgstr "外部ドメイン クラスを定義するには、次のようにします。"
97-
98-
#: ../../domain.rst:195
99-
msgid "Create a class that implements ``org.seasar.doma.jdbc.domain.DomainConverter`` and annotate ``@ExternalDomain`` to the class"
100-
msgstr "``org.seasar.Doma.jdbc.domain.DomainConverter`` を実装するクラスを作成し、クラスに ``@ExternalDomain`` アノテーションを付ける"
101-
102-
#: ../../domain.rst:197
103-
msgid "Create a class that is annotated with ``@DomainConverters``"
104-
msgstr "``@DomainConverters`` アノテーションを付けたクラスを作成する"
105-
106-
#: ../../domain.rst:198
107-
msgid "Specify the class annotated with ``@ExternalDomain`` to the ``@DomainConverters``'s ``value`` element"
108-
msgstr "``@DomainConverters`` の ``value`` 要素に ``@ExternalDomain`` アノテーションを付けたクラスを指定する"
95+
msgid "To define external domain classes, you have to create a class that implements ``org.seasar.doma.jdbc.domain.DomainConverter`` and annotate ``@ExternalDomain`` to the class."
96+
msgstr "外部ドメインクラスを定義するには、``org.seasar.doma.jdbc.domainConverter`` を実装するクラスを作成し、``@ExternalDomain`` を注釈する必要があります。"
10997

110-
#: ../../domain.rst:199
111-
msgid "Specify the full qualified name of the class annotated with ``@DomainConverters`` to the option of :doc:`annotation-processing`"
112-
msgstr ":doc:`annotation-processing` のオプションに ``@DomainConverters`` アノテーションを付けたクラスの完全修飾名を指定する"
113-
114-
#: ../../domain.rst:202
98+
#: ../../domain.rst:196
11599
msgid "Suppose, for instance, there is the ``PhoneNumber`` class that you can change:"
116-
msgstr "たとえば、ソースコードを変更でない ``PhoneNumber`` クラスがあるとします。"
117-
118-
#: ../../domain.rst:223
119-
msgid "First, to define the ``PhoneNumber`` class as an external domain class, create following class:"
120-
msgstr "まず、``PhoneNumber`` クラスを外部ドメインクラスとして定義するために、次のクラスを作成します。"
121-
122-
#: ../../domain.rst:242
123-
msgid "Then create following class and specify the above class to the ``@DomainConverters``'s ``value`` element:"
124-
msgstr "次に、次のクラスを作成し、上記のクラスを ``@DomainConverters`` の ``value`` 要素に指定します。"
100+
msgstr "たとえば、ソースコードを変更できない ``PhoneNumber`` クラスがあるとします。"
125101

126-
#: ../../domain.rst:250
127-
msgid "Finally, specify the full qualified name of the above class to the option of :doc:`annotation-processing`. If you use Gradle, specify the option in the build script as follows:"
128-
msgstr "最後に、:doc:`annotation-processing` のオプションに上記クラスの完全修飾名を指定します。 Gradle を使用する場合は、ビルド スクリプトで次のようにオプションを指定します。"
102+
#: ../../domain.rst:217
103+
msgid "To define the ``PhoneNumber`` class as an external domain class, create following class:"
104+
msgstr "``PhoneNumber`` クラスを外部ドメインクラスとして定義するには、次のクラスを作成します。"
129105

130-
#: ../../domain.rst:262
106+
#: ../../domain.rst:237
131107
msgid "Using type parameters in external domain classes"
132108
msgstr "外部ドメインクラスにおける型パラメータの使用"
133109

134-
#: ../../domain.rst:264
110+
#: ../../domain.rst:239
135111
msgid "All external domain class declarations have type parameters:"
136112
msgstr "外部ドメインクラスには任意の数の型パラメータを宣言できます。"
137113

138-
#: ../../domain.rst:281
114+
#: ../../domain.rst:256
139115
msgid "In the ``DomainConverter`` implementation class, specify a wildcard ``?`` as type arguments to the external domain class:"
140116
msgstr "``DomainConverter`` 実装クラスで、外部ドメインクラスへの型引数としてワイルドカード ``?`` を指定します。"
141117

142-
#: ../../domain.rst:303
118+
#: ../../domain.rst:278
143119
msgid "Direct mapping of external domain classes to the database"
144-
msgstr ""
120+
msgstr "外部ドメインクラスのデータベースへの直接マッピング"
145121

146-
#: ../../domain.rst:305
122+
#: ../../domain.rst:280
147123
msgid "All external domain classes can be directly mapped to any database type."
148-
msgstr ""
124+
msgstr "すべての外部ドメインクラスは、直接任意のデータベースの型にマッピングできます。"
149125

150-
#: ../../domain.rst:307
126+
#: ../../domain.rst:282
151127
msgid "Here's an example of mapping ``java.util.UUID`` to PostgreSQL's UUID type."
152-
msgstr ""
128+
msgstr "``java.util.UUID`` を PostgreSQL の UUID 型にマッピングする例を次に示します。"
153129

154-
#: ../../domain.rst:309
130+
#: ../../domain.rst:284
155131
msgid "First, create an implementation of ``org.seasar.doma.jdbc.type.JdbcType`` to handle the mapping:"
156-
msgstr ""
132+
msgstr "まず、マッピングを処理するために ``org.seasar.doma.jdbc.type.JdbcType`` の実装を作成します。"
157133

158-
#: ../../domain.rst:343
159-
msgid "Next, create a class that extends ``org.seasar.doma.it.domain.JdbcTypeProvider``, and in the ``getJdbcType`` method, return an instance of the ``JdbcType`` implementation created above. Don't forget to annotate the class with ``@ExternalDomain``:"
160-
msgstr ""
134+
#: ../../domain.rst:318
135+
msgid "Then, create a class that extends ``org.seasar.doma.it.domain.JdbcTypeProvider``, and in the ``getJdbcType`` method, return an instance of the ``JdbcType`` implementation created above:"
136+
msgstr "次に、``org.seasar.doma.it.domain.JdbcTypeProvider`` を拡張したクラスを作成し、``getJdbcType`` メソッドで上記で作成した ``JdbcType`` 実装のインスタンスを返します。"
161137

162-
#: ../../domain.rst:360
163-
msgid "The rest follows the standard approach. Simply add ``PostgresUUIDConverter`` to the ``@DomainConverters`` annotation, and specify the fully qualified name of the class with the ``@DomainConverters`` annotation in the annotation processing options."
164-
msgstr ""
138+
#: ../../domain.rst:334
139+
msgid "Don't forget to annotate the class with ``@ExternalDomain``."
140+
msgstr "クラスに ``@ExternalDomain`` を注釈することを忘れないでください。"
165141

166-
#: ../../domain.rst:366
142+
#: ../../domain.rst:337
167143
msgid "Example"
168144
msgstr "例"
169145

170-
#: ../../domain.rst:368
146+
#: ../../domain.rst:339
171147
msgid "The Domain classes showed above are used as follows:"
172148
msgstr "上記のドメインクラスは次のように使用されます。"
173149

0 commit comments

Comments
 (0)