Skip to content

Translations update from Hosted Weblate - #134

Merged
OlaProeis merged 1 commit into
OlaProeis:masterfrom
weblate:weblate-ferrite-ferrite-ui
May 13, 2026
Merged

Translations update from Hosted Weblate#134
OlaProeis merged 1 commit into
OlaProeis:masterfrom
weblate:weblate-ferrite-ferrite-ui

Conversation

@weblate

@weblate weblate commented May 12, 2026

Copy link
Copy Markdown
Contributor

Translations update from Hosted Weblate for Ferrite/Ferrite UI.

Current translation status:

Weblate translation status

Summary by CodeRabbit

Release Notes

  • Documentation
    • Comprehensive Japanese localization updates added for new features including PDF and HTML export, print preview, code execution with timeout controls, accent color customization, document outline statistics, keyboard shortcut descriptions, pipeline output display, and enhanced UI text across settings and editor panels.

Review Change Stack

Currently translated at 100.0% (862 of 862 strings)

Translation: Ferrite/Ferrite UI
Translate-URL: https://hosted.weblate.org/projects/ferrite/ferrite-ui/ja/
@coderabbitai

coderabbitai Bot commented May 12, 2026

Copy link
Copy Markdown
📝 Walkthrough

Walkthrough

Japanese UI localization file updated with 144 new translation strings across file operations, code execution controls, export settings, appearance customization, document utilities, and Mermaid diagram support.

Changes

Japanese UI Localization

Layer / File(s) Summary
File export and print preview
locales/ja.yaml
File menu labels and keyboard shortcut descriptions added for PDF export and print preview operations.
PDF and HTML export configuration
locales/ja.yaml
Export settings UI strings including page size, margins, image handling, self-contained mode, and outline control options for PDF and HTML formats.
Code execution editor settings
locales/ja.yaml
Settings panel strings for code execution permissions, run warnings, shell and Python execution toggles, timeout duration, and inline output display configuration.
Code execution runtime UI
locales/ja.yaml
Code block execution labels, status messages (running, complete, failed, timeout), cancellation feedback, output display, insertion, copying and stopping actions; plus pipeline panel stdout/stderr labels.
Appearance and color customization
locales/ja.yaml
Accent color settings, reset controls, and description text for theme customization displayed in settings and welcome page.
Mermaid diagram documentation and insertion
locales/ja.yaml
Mermaid syntax guide with diagram type descriptions and documentation links; diagram insertion menu labels for print preview tab and formatting toolbar.
Document, workspace, and task utilities
locales/ja.yaml
Document statistics JSON notation for boolean and null types, workspace warning line number formatting, productivity task deletion and priority operations, and AI placeholder hint text with pomodoro status values.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~3 minutes

Possibly related PRs

  • OlaProeis/Ferrite#123: Translation updates that add and update the same UI localization keys across language YAML files.
  • OlaProeis/Ferrite#69: Prior modifications to locales/ja.yaml for Japanese UI translations.

Poem

🐰 A thousand strings in Japanese bright,
From menus to mermaid, each UI in sight,
Export and runtime, colors that gleam,
Localization dreams make the interface team! ✨

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title 'Translations update from Hosted Weblate' accurately describes the main change—a translation update for Japanese locales from Weblate—and is clear and concise.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

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 and usage tips.

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 4

🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In `@locales/ja.yaml`:
- Around line 752-757: The interpolation placeholders in the run_finished and
run_failed entries use {output} and {error} which are inconsistent with the rest
of this locale (which uses %{...}); update the placeholders in run_finished and
run_failed to use %{output} and %{error} respectively so they match the i18n
interpolation format used elsewhere (preserve existing line breaks/pipe literal
style for YAML).
- Around line 902-904: The YAML key print_preview is currently placed before the
welcome: block so it becomes ribbon.print_preview; to fix, move or re-indent the
print_preview entry so it is nested under the welcome: mapping (i.e., as
welcome.print_preview) if the string is for the Welcome screen, or alternatively
move it under ribbon: if it truly belongs to the ribbon; adjust indentation
accordingly to ensure the correct parent key (reference keys: print_preview,
welcome, ribbon).
- Around line 852-853: The key warning_line is currently defined outside the
workspace mapping, so code expecting workspace.warning_line will miss it; move
the warning_line entry to be a child of the workspace section (indent it under
workspace) so it becomes workspace.warning_line and retains the value '行 %{line}
:'.
- Around line 563-565: The two entries currently live under shortcuts.commands
(shortcuts.commands.export_pdf and shortcuts.commands.print_preview) due to
wrong indentation; move those keys so they are children of shortcuts.file (i.e.,
change their indentation/nesting so they become shortcuts.file.export_pdf and
shortcuts.file.print_preview) so the help panel which looks up shortcuts.file.*
can find them.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: e879a0bf-6d87-4e6e-be5a-10c705559c11

📥 Commits

Reviewing files that changed from the base of the PR and between 327690e and dfeae4d.

📒 Files selected for processing (1)
  • locales/ja.yaml

Comment thread locales/ja.yaml
Comment on lines +563 to 565
export_pdf: PDF へエクスポート
print_preview: 印刷プレビュー
file:

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue | 🟡 Minor | ⚡ Quick win

shortcuts.file の新規項目が shortcuts.commands 側に入っています

Line 563-564 は現在のインデントだと shortcuts.commands.export_pdf / shortcuts.commands.print_preview になり、shortcuts.file.* には入りません。ヘルプパネル側で shortcuts.file を参照している場合、表示されません。

💡 Suggested fix
-  # File shortcuts (for help panel)
-    export_pdf: PDF へエクスポート
-    print_preview: 印刷プレビュー
-  file:
+  # File shortcuts (for help panel)
+  file:
+    export_pdf: PDF へエクスポート
+    print_preview: 印刷プレビュー
     new: "新しいファイル"
     open: "ファイルを開く"
📝 Committable suggestion

‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

Suggested change
export_pdf: PDF へエクスポート
print_preview: 印刷プレビュー
file:
# File shortcuts (for help panel)
file:
export_pdf: PDF へエクスポート
print_preview: 印刷プレビュー
🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@locales/ja.yaml` around lines 563 - 565, The two entries currently live under
shortcuts.commands (shortcuts.commands.export_pdf and
shortcuts.commands.print_preview) due to wrong indentation; move those keys so
they are children of shortcuts.file (i.e., change their indentation/nesting so
they become shortcuts.file.export_pdf and shortcuts.file.print_preview) so the
help panel which looks up shortcuts.file.* can find them.

Comment thread locales/ja.yaml
Comment on lines +752 to +757
run_finished: |-
実行完了 :
{output}
run_failed: |-
実行失敗 :
{error}

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue | 🟡 Minor | ⚡ Quick win

補間プレースホルダー形式が他キーと不一致です

Line 754 と Line 757 は {output} / {error} ですが、このファイル内の他キーは %{...} 形式です。i18n 補間方式が %{} 前提なら値が展開されず生文字列になります。

💡 Suggested fix
     run_finished: |-
       実行完了 :
-      {output}
+      %{output}
     run_failed: |-
       実行失敗 :
-      {error}
+      %{error}
🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@locales/ja.yaml` around lines 752 - 757, The interpolation placeholders in
the run_finished and run_failed entries use {output} and {error} which are
inconsistent with the rest of this locale (which uses %{...}); update the
placeholders in run_finished and run_failed to use %{output} and %{error}
respectively so they match the i18n interpolation format used elsewhere
(preserve existing line breaks/pipe literal style for YAML).

Comment thread locales/ja.yaml
Comment on lines +852 to 853
warning_line: '行 %{line} :'
workspace:

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue | 🟡 Minor | ⚡ Quick win

warning_lineworkspace ではなく直前セクション配下になっています

Line 852 は Line 853 より前にあり、現在は workspace.warning_line ではなく前段セクションの子キーになります。workspace.warning_line を参照する実装だと未翻訳扱いになります。

💡 Suggested fix
-  warning_line: '行 %{line} :'
 workspace:
+  warning_line: '行 %{line} :'
   close_folder: "フォルダーを閉じる"
📝 Committable suggestion

‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

Suggested change
warning_line: '行 %{line} :'
workspace:
workspace:
warning_line: '行 %{line} :'
close_folder: "フォルダーを閉じる"
🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@locales/ja.yaml` around lines 852 - 853, The key warning_line is currently
defined outside the workspace mapping, so code expecting workspace.warning_line
will miss it; move the warning_line entry to be a child of the workspace section
(indent it under workspace) so it becomes workspace.warning_line and retains the
value '行 %{line} :'.

Comment thread locales/ja.yaml
Comment on lines +902 to 904
print_preview: 🖨 印刷プレビュー...
welcome:
subtitle: "エディタを設定して利用を開始しましょう。"

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue | 🟡 Minor | ⚡ Quick win

print_previewwelcome 配下ではなく ribbon 配下に入っています

Line 902 は Line 903 の welcome: より前にあるため、welcome.print_preview ではなく ribbon.print_preview として解釈されます。Welcome 画面向けの文言ならキー位置を移動してください。

💡 Suggested fix
-  print_preview: 🖨 印刷プレビュー...
 welcome:
+  print_preview: 🖨 印刷プレビュー...
   subtitle: "エディタを設定して利用を開始しましょう。"
📝 Committable suggestion

‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

Suggested change
print_preview: 🖨 印刷プレビュー...
welcome:
subtitle: "エディタを設定して利用を開始しましょう。"
welcome:
print_preview: 🖨 印刷プレビュー...
subtitle: "エディタを設定して利用を開始しましょう。"
🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@locales/ja.yaml` around lines 902 - 904, The YAML key print_preview is
currently placed before the welcome: block so it becomes ribbon.print_preview;
to fix, move or re-indent the print_preview entry so it is nested under the
welcome: mapping (i.e., as welcome.print_preview) if the string is for the
Welcome screen, or alternatively move it under ribbon: if it truly belongs to
the ribbon; adjust indentation accordingly to ensure the correct parent key
(reference keys: print_preview, welcome, ribbon).

@OlaProeis
OlaProeis merged commit e4ef363 into OlaProeis:master May 13, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants