Skip to content

Commit 4e6ec03

Browse files
committed
i18n(ja): restore English admonition labels
Machine translation left 95 admonition labels (注記/警告/ヒント) in Japanese across 42 files instead of the English Note/Warning/Tip that the site's renderer keys on to produce a styled callout box -- the Japanese-labeled versions render as plain bold text instead. Restored each to match its corresponding English label's exact colon form (inside/outside/none) at the same position in the source, verified by pairing every JA and EN admonition occurrence in each file positionally and confirming word + count match with zero mismatches before applying any change. resources/doc-templates/ (9 of the 95 sites) is intentionally excluded per an earlier scoping decision and left untouched; 86 sites across 38 real doc pages are fixed. Also fixed 2 related false-friend defects found while auditing every remaining 注記/警告/ヒント occurrence in the corpus: - tidb-cloud/monitor-alert-email.md: a link to the "Alert" page had been mistranslated as 警告 (a "warning"), not the page name. - optimizer-fix-controls.md: a cross-reference to "the **Note** in [Explain Statements Using Index Merge]" had 注記 in place of the literal English label the referenced page's own admonition uses.
1 parent 46285fa commit 4e6ec03

40 files changed

Lines changed: 90 additions & 90 deletions

File tree

ai/examples/hybrid-search-with-pytidb.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ summary: より包括的な結果を得るには、ベクトル検索と全文
1717
- **TiDB Cloud Starterインスタンス**: [TiDB Cloud](https://tidbcloud.com/free-trial)で無料のTiDB Cloud Starterインスタンスを作成できます。
1818
- **OpenAI API キー**: [OpenAI](https://platform.openai.com/api-keys)から OpenAI API キーを取得します。
1919

20-
> **注記**
20+
> **Note**
2121
>
2222
> 現在、全文検索は以下の製品オプションおよび地域でのみご利用いただけます。
2323
>

ai/integrations/vector-search-integrate-with-amazon-bedrock.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ aliases: ['/ja/tidbcloud/vector-search-integrate-with-amazon-bedrock/']
1717
> - ベクトル検索機能はパブリックプレビューです。予告なく変更される場合があります。バグを発見した場合は、GitHubで[問題](https://github.com/pingcap/tidb/issues)を報告してください。
1818
> - ベクトル検索機能は、 [TiDB Self-Managed](/overview.md)[{{{ .starter }}}](/tidb-cloud/select-cluster-tier.md#starter) で利用できます。TiDB Self-Managedの場合、TiDBのバージョンはv8.4.0以降である必要があります(v8.5.0以降を推奨)。
1919
20-
> **ヒント**
20+
> **Tip**
2121
>
2222
> 完全な[サンプルコード](https://github.com/aws-samples/aws-generativeai-partner-samples/blob/main/tidb/samples/tidb-bedrock-boto3-rag.ipynb)Notebook 形式で表示できます。
2323

ai/integrations/vector-search-integrate-with-langchain.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ aliases: ['/ja/tidb/stable/vector-search-integrate-with-langchain/','/ja/tidb/de
1313
> - ベクトル検索機能はパブリックプレビューです。予告なく変更される場合があります。バグを発見した場合は、GitHubで[問題](https://github.com/pingcap/tidb/issues)を報告してください。
1414
> - ベクトル検索機能は、 [TiDB Self-Managed](/overview.md)[TiDB Cloud Starter](/tidb-cloud/select-cluster-tier.md#starter)で利用できます。TiDB Self-Managedの場合、TiDBのバージョンはv8.4.0以降である必要があります(v8.5.0以降を推奨)。
1515
16-
> **ヒント**
16+
> **Tip**
1717
>
1818
> 完全な[サンプルコード](https://github.com/langchain-ai/langchain/blob/master/docs/docs/integrations/vectorstores/tidb_vector.ipynb)Jupyter Notebook で表示することも、 [Colab](https://colab.research.google.com/github/langchain-ai/langchain/blob/master/docs/docs/integrations/vectorstores/tidb_vector.ipynb)オンライン環境で直接実行することもできます。
1919

ai/integrations/vector-search-integrate-with-llamaindex.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ aliases: ['/ja/tidb/stable/vector-search-integrate-with-llamaindex/','/ja/tidb/d
1313
> - ベクトル検索機能はパブリックプレビューです。予告なく変更される場合があります。バグを発見した場合は、GitHubで[問題](https://github.com/pingcap/tidb/issues)を報告してください。
1414
> - ベクトル検索機能は、 [TiDB Self-Managed](/overview.md)[TiDB Cloud Starter](/tidb-cloud/select-cluster-tier.md#starter)で利用できます。TiDB Self-Managedの場合、TiDBのバージョンはv8.4.0以降である必要があります(v8.5.0以降を推奨)。
1515
16-
> **ヒント**
16+
> **Tip**
1717
>
1818
> 完全な[サンプルコード](https://github.com/run-llama/llama_index/blob/main/docs/examples/vector_stores/TiDBVector.ipynb)Jupyter Notebook で表示することも、 [Colab](https://colab.research.google.com/github/run-llama/llama_index/blob/main/docs/examples/vector_stores/TiDBVector.ipynb)オンライン環境で直接実行することもできます。
1919
@@ -212,7 +212,7 @@ response = query_engine.query("What did the author do?")
212212
print(textwrap.fill(str(response), 100))
213213
```
214214

215-
> **注記**
215+
> **Note**
216216
>
217217
> `TiDBVectorStore` [`default`](https://docs.llamaindex.ai/en/stable/api_reference/storage/vector_store/?h=vectorstorequerymode#llama_index.core.vector_stores.types.VectorStoreQueryMode)クエリ モードのみをサポートしています。
218218

ai/quickstart-via-sql.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ Query OK, 3 rows affected (0.15 sec)
112112
Records: 3 Duplicates: 0 Warnings: 0
113113
```
114114
115-
> **注記**
115+
> **Note**
116116
>
117117
> この例では、ベクトル埋め込みの次元を簡略化し、説明のために3次元ベクトルのみを使用しています。
118118
>

ai/vector-search-get-started-using-python.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ def text_to_embedding(text):
141141

142142
`TiDBVectorClient`クラスを使用して TiDB に接続し、ベクトル列を持つテーブル`embedded_documents`を作成します。
143143

144-
> **注記**
144+
> **Note**
145145
>
146146
> テーブル内のベクトル列の次元が、埋め込みモデルによって生成されるベクトルの次元と一致していることを確認してください。たとえば、 **msmarco-MiniLM-L12-cos-v5**モデルは 384 次元のベクトルを生成するため、 `embedded_documents`内のベクトル列の次元も 384 にする必要があります。
147147

develop/dev-guide-sample-application-aws-lambda.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ TiDBはMySQL互換データベース、 [AWS Lambda関数](https://aws.amazon.co
1515
- アプリケーションをビルドして実行します。オプションで、基本的な CRUD 操作用の[サンプルコードスニペット](#sample-code-snippets)を見つけることができます。
1616
- AWS Lambda関数をデプロイ。
1717

18-
> **注記**
18+
> **Note**
1919
>
2020
> このチュートリアルは、 TiDB Cloud Starter、 TiDB Cloud Essential、 TiDB Cloud Premium、およびTiDB Self-Managedに対応しています。
2121
@@ -41,7 +41,7 @@ AWSアカウントまたはユーザーをお持ちでない場合は、 [Lambda
4141

4242
このセクションでは、サンプルアプリケーションコードを実行してTiDBに接続する方法を説明します。
4343

44-
> **注記**
44+
> **Note**
4545
>
4646
> 完全なコードスニペットと実行手順については、 [tidb-samples/tidb-aws-lambda-quickstart](https://github.com/tidb-samples/tidb-aws-lambda-quickstart) GitHubリポジトリを参照してください。
4747
@@ -84,13 +84,13 @@ npm install
8484

8585
- お使いの環境に合った**オペレーティングシステム**を選択してください。
8686

87-
> **注記**
87+
> **Note**
8888
>
8989
> Node.jsアプリケーションでは、SSL CA証明書を提供する必要はありません。Node.jsはTLS(SSL)接続を確立する際に、デフォルトで組み込みの[Mozilla CA証明書](https://wiki.mozilla.org/CA/Included_Certificates)を使用するためです。
9090
9191
4. **「パスワードを生成」を**クリックすると、ランダムなパスワードが生成されます。
9292

93-
> **ヒント**
93+
> **Tip**
9494
>
9595
> 以前にパスワードを作成したことがある場合は、元のパスワードを使用するか、 **「パスワードをリセット」**をクリックして新しいパスワードを作成できます。
9696

develop/dev-guide-sample-application-nextjs.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ TiDBはMySQL互換のデータベースであり、 [mysql2](https://github.com/
1414
- mysql2を使用してTiDBに接続します。
1515
- アプリケーションをビルドして実行します。オプションで、基本的な CRUD 操作用の[サンプルコードスニペット](#sample-code-snippets)を見つけることができます。
1616

17-
> **注記**
17+
> **Note**
1818
>
1919
> このチュートリアルは、 TiDB Cloud Starter、 TiDB Cloud Essential、 TiDB Cloud Premium、およびTiDB Self-Managedに対応しています。
2020
@@ -35,7 +35,7 @@ TiDBはMySQL互換のデータベースであり、 [mysql2](https://github.com/
3535

3636
このセクションでは、サンプルアプリケーションコードを実行してTiDBに接続する方法を説明します。
3737

38-
> **注記**
38+
> **Note**
3939
>
4040
> 完全なコードスニペットと実行手順については、 [tidb-nextjs-vercel-quickstart](https://github.com/tidb-samples/tidb-nextjs-vercel-quickstart) GitHubリポジトリを参照してください。
4141
@@ -78,13 +78,13 @@ npm install
7878

7979
- お使いの環境に合った**オペレーティングシステム**を選択してください。
8080

81-
> **注記**
81+
> **Note**
8282
>
8383
> Node.jsアプリケーションでは、SSL CA証明書を提供する必要はありません。Node.jsはTLS(SSL)接続を確立する際に、デフォルトで組み込みの[Mozilla CA証明書](https://wiki.mozilla.org/CA/Included_Certificates)を使用するためです。
8484
8585
4. **「パスワード生成」をクリックすると、ランダムなパスワード**が生成されます。
8686

87-
> **ヒント**
87+
> **Tip**
8888
>
8989
> 以前にパスワードを作成したことがある場合は、元のパスワードを使用するか、 **「パスワードをリセット」**をクリックして新しいパスワードを生成できます。
9090

develop/dev-guide-sample-application-nodejs-mysql2.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ npm install mysql2 dotenv --save
9999
TIDB_ENABLE_SSL=true
100100
```
101101

102-
> **注記**
102+
> **Note**
103103
>
104104
> TiDB Cloud Starterの場合、パブリックエンドポイントを使用する際には、 `TIDB_ENABLE_SSL`を介して TLS 接続を有効にする**必要があります**
105105

@@ -177,7 +177,7 @@ npm install mysql2 dotenv --save
177177
TIDB_CA_PATH={downloaded_ssl_ca_path}
178178
```
179179

180-
> **注記**
180+
> **Note**
181181
>
182182
> TiDB Cloud Dedicatedへの接続にパブリックエンドポイントを使用する場合は、TLS接続を有効にすることをお勧めします。
183183
>
@@ -275,7 +275,7 @@ async function main() {
275275
void main();
276276
```
277277

278-
> **注記**
278+
> **Note**
279279
>
280280
> TiDB Cloud StarterおよびTiDB Cloud Essentialでは、パブリック エンドポイントを使用する場合、 `TIDB_ENABLE_SSL`を介して TLS 接続を有効にする必要が**あり****ます**。ただし、Node.js はデフォルトで組み込みの Mozilla CA を使用するため、 `TIDB_CA_PATH`を介して SSL CA 証明書を指定する必要はありません。この組み込みの[Mozilla CA証明書](https://wiki.mozilla.org/CA/Included_Certificates)はTiDB Cloud Starterによって信頼されています。
281281

develop/dev-guide-sample-application-nodejs-mysqljs.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ npm install mysql dotenv --save
9999
TIDB_ENABLE_SSL=true
100100
```
101101

102-
> **注記**
102+
> **Note**
103103
>
104104
> TiDB Cloud Starterの場合、パブリックエンドポイントを使用する際には、 `TIDB_ENABLE_SSL`を介して TLS 接続を有効にする**必要があります**
105105

@@ -177,7 +177,7 @@ npm install mysql dotenv --save
177177
TIDB_CA_PATH={downloaded_ssl_ca_path}
178178
```
179179

180-
> **注記**
180+
> **Note**
181181
>
182182
> TiDB Cloud Dedicatedへの接続にパブリックエンドポイントを使用する場合は、TLS接続を有効にすることをお勧めします。
183183
>
@@ -271,7 +271,7 @@ const conn = createConnection(options);
271271
conn.end();
272272
```
273273

274-
> **注記**
274+
> **Note**
275275
>
276276
> TiDB Cloud StarterおよびTiDB Cloud Essentialでは、パブリック エンドポイントを使用する場合、 `TIDB_ENABLE_SSL`を介して TLS 接続を有効にする必要が**あり****ます**。ただし、Node.js はデフォルトで組み込みの Mozilla CA を使用するため、 `TIDB_CA_PATH`を介して SSL CA 証明書を指定する必要はありません。この組み込みの[Mozilla CA証明書](https://wiki.mozilla.org/CA/Included_Certificates)はTiDB Cloud Starterによって信頼されています。
277277
@@ -349,7 +349,7 @@ conn.query('DELETE FROM players WHERE id = ?;', [1], (err, ok) => {
349349

350350
- SQL インジェクション攻撃を回避するには、SQL を実行する前に[クエリ値のエスケープ](https://github.com/mysqljs/mysql#escaping-query-values)を使用することをお勧めします。
351351

352-
> **注記**
352+
> **Note**
353353
>
354354
> `mysqljs/mysql`パッケージはまだプリペアド ステートメントをサポートしておらず、クライアント側で値をエスケープするだけです (関連する問題:[mysqljs/mysql#274](https://github.com/mysqljs/mysql/issues/274) )。
355355
>

0 commit comments

Comments
 (0)