Skip to content

i18n(ja): fix mistranslation of log redaction - #23434

Open
yahonda wants to merge 3 commits into
pingcap:i18n-ja-release-8.5from
yahonda:i18n-ja-log-redaction-term
Open

i18n(ja): fix mistranslation of log redaction#23434
yahonda wants to merge 3 commits into
pingcap:i18n-ja-release-8.5from
yahonda:i18n-ja-log-redaction-term

Conversation

@yahonda

@yahonda yahonda commented Aug 5, 2026

Copy link
Copy Markdown
Member

What is changed, added or deleted? (Required)

The English term "log redaction" (masking sensitive data in logs) was machine-translated as ログ編集 / ログの編集, which literally means "log editing" — a false-friend mistranslation that loses the security/masking meaning. The docs already use the correct term 秘匿化 for redaction elsewhere (e.g. tidb-cloud-auditing.md), so this unifies log-redaction usage to match it:

  • ログ編集 / ログの編集ログの秘匿化
  • 編集機能秘匿化機能 (in tidb-cloud-log-redaction.md)
  • 編集済みログファイル秘匿化されたログファイル (EN: "Redacted Log Files")
  • 監査ログの編集をサポートします監査ログの秘匿化をサポートします (EN: "Support audit log redaction")

Scope: 45 changes across 18 files, including log-redaction.md and tidb-cloud/tidb-cloud-log-redaction.md (headings + body), inbound links from TOC.md, encryption-at-rest.md, system-variable-reference.md, pd-configuration-file.md, tikv-configuration-file.md, tiflash/tiflash-configuration.md, scheduling-configuration-file.md, tso-configuration-file.md, clinic guides, basic-features.md, tidb-cloud/features.md, and several release notes.

Anchors are English-derived and left unchanged; only the visible heading text and its inbound link text change together, so links keep resolving.

Left unchanged (verified correct as-is): tidb-cloud/essential-database-audit-logging.md's "監査ログの編集" (EN: "Edit audit logging") is genuinely about editing audit-log settings, not redaction — not a mistranslation.

Which TiDB version(s) do your changes apply to? (Required)

  • master (the latest development version)
  • v8.5 (TiDB 8.5 versions)
  • v8.1 (TiDB 8.1 versions)
  • v7.5 (TiDB 7.5 versions)
  • v7.1 (TiDB 7.1 versions)
  • v6.5 (TiDB 6.5 versions)
  • v6.1 (TiDB 6.1 versions)
  • v5.4 (TiDB 5.4 versions)

What is the related PR or file link(s)?

N/A

Do your changes match any of the following descriptions?

  • Delete files
  • Change aliases
  • Need modification after applied to another branch
  • Might cause conflicts after applied to another branch

@ti-chi-bot

ti-chi-bot Bot commented Aug 5, 2026

Copy link
Copy Markdown

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by:
Once this PR has been reviewed and has the lgtm label, please assign hfxsd for approval. For more information see the Code Review Process.
Please ensure that each of them provides their approval before proceeding.

The full list of commands accepted by this bot can be found here.

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@coderabbitai

coderabbitai Bot commented Aug 5, 2026

Copy link
Copy Markdown

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro Plus

Run ID: 5ef07a8b-70d6-4d97-be9d-60a59083ae68

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@ti-chi-bot ti-chi-bot Bot added missing-translation-status This PR does not have translation status info. size/L Denotes a PR that changes 100-499 lines, ignoring generated files. labels Aug 5, 2026
@yahonda
yahonda force-pushed the i18n-ja-log-redaction-term branch from c0b5499 to 0968d2d Compare August 5, 2026 01:22
@yahonda yahonda changed the title i18n(ja): fix mistranslation of log redaction (ログ編集 -> ログの秘匿化) i18n(ja): fix mistranslation of log redaction Aug 5, 2026
The English term "log redaction" (masking sensitive data in logs) was machine-
translated as ログ編集 / ログの編集, which literally means "log editing" -- a false
friend that does not convey the security/masking meaning. Docs already use the
correct term 秘匿化 for redaction elsewhere (tidb-cloud-auditing.md), so unify the
log-redaction usage to match: ログ編集 / ログの編集 -> ログの秘匿化, 編集機能 -> 秘匿化機能,
編集済みログファイル -> 秘匿化されたログファイル.

Anchors are English-derived and left unchanged (only the visible heading text and
inbound link text change together). 45 changes / 18 files.

Left unchanged: tidb-cloud/essential-database-audit-logging.md's "監査ログの編集"
(EN: "Edit audit logging") is genuinely about editing audit-log SETTINGS, not
redaction -- not a mistranslation, out of scope.
@yahonda
yahonda force-pushed the i18n-ja-log-redaction-term branch 2 times, most recently from beb0c53 to 0130a53 Compare August 5, 2026 02:25
…tion"

Broader sweep beyond the ログ編集/ログの編集 heading pattern: the English verb
"redact"/"redaction" was also mistranslated as 編集 ("edit") or マスキング
("masking", a different TiDB Cloud feature name) in sentences not containing
the word ログ directly (e.g. "user data is redacted", "SQL statements are
redacted", "Data redaction" heading, "Unredact the audit log"). Unify these
to 秘匿化 as well, matching the established term.

Also fix a pre-existing missing subject particle on a touched line in
release-4.0.10.md: `security.redact-info-log` `true` に設定すると -> add が
between the two backtick terms.

23 changes / 14 files: scheduling-configuration-file.md, tso-configuration-file.md,
system-variables.md, identify-slow-queries.md, several releases/*.md,
tidb-cloud/essential-database-audit-logging.md (heading anchor #data-redaction kept;
its genuine "Edit audit logging"/"Edit a filter rule" sections are untouched),
tidb-cloud/ticloud-serverless-audit-log-config-update.md (--unredacted flag
description). Left unchanged: tidb-cloud/releases/release-notes-2020.md's
"redact-log" (a literal config-item name kept in English, not a mistranslation).
@yahonda
yahonda force-pushed the i18n-ja-log-redaction-term branch from 0130a53 to 5ad31db Compare August 5, 2026 02:28
Found by a deep 1:1 re-review against English:
- clinic/clinic-user-guide-for-tiup.md and clinic/quick-start-with-clinic.md:
  a pre-existing missing を before ご覧ください on the line this PR already
  touches (EN: "For more information, see [log redaction](...)").
- log-redaction.md: three occurrences of "redact"/"redaction" that were still
  mistranslated as 編集 ("edit") outside the originally-searched pattern
  ("all logs ... are redacted" -> すべてのログが編集されます; "customize the
  redaction rules" x2 -> 編集ルール). Fixed to 秘匿化 to match the rest of the
  now-corrected page.
@qiancai qiancai added translation/no-need No need to translate this PR. and removed missing-translation-status This PR does not have translation status info. labels Aug 5, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size/L Denotes a PR that changes 100-499 lines, ignoring generated files. translation/no-need No need to translate this PR.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants