Skip to content

Translations update from Hosted Weblate#78

Open
weblate wants to merge 9 commits intoOlaProeis:masterfrom
weblate:weblate-ferrite-ferrite-ui
Open

Translations update from Hosted Weblate#78
weblate wants to merge 9 commits intoOlaProeis:masterfrom
weblate:weblate-ferrite-ferrite-ui

Conversation

@weblate
Copy link
Contributor

@weblate weblate commented Feb 10, 2026

Translations update from Hosted Weblate for Ferrite/Ferrite UI.

Current translation status:

Weblate translation status

Summary by CodeRabbit

  • Localization
    • Added German translations for About/Updates and extended Find & Replace UI (titles, match/replace controls, navigation/tooltips, update messages, links, license, report issue).
    • Added Japanese translations for About/Updates and update-status messages (title, description, check for updates/status, view release, report issue, license, source code).
    • Added German messaging for large-file performance in file viewer.

Currently translated at 97.6% (452 of 463 strings)

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

coderabbitai bot commented Feb 10, 2026

📝 Walkthrough

Walkthrough

Adds new "about" translation blocks for the Find and Replace panel in German and Japanese locales (settings.find.about), extends settings.find German entries, and adds a tree_viewer.large_file_performance key in locales/de.yaml. No code or control-flow changes.

Changes

Cohort / File(s) Summary
Localization — German
locales/de.yaml
Added settings.find.about keys (source_code, new_version, try_again, up_to_date, title, updates, license, report_issue, check_for_updates, checking, check_again, check_failed, update_available, links, all_releases, view_release, description). Extended settings.find with additional UI keys (match_case, whole_word, use_regex, replace*, keyboard_hints, etc.). Added tree_viewer.large_file_performance.
Localization — Japanese
locales/ja.yaml
Inserted an expanded settings.find.about block (title, description, updates, check_for_updates, checking, up_to_date, view_release, report_issue, source_code, license, and related status keys). No removals.

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~10 minutes

Possibly related PRs

Poem

🐰 I hop through keys with whiskered care,
German lines and 日本語 dance in the air,
"About" and "Updates" tucked in their place,
Locales stitched with a joyful grace,
🥕 translations complete — a rabbit's small pace.

🚥 Pre-merge checks | ✅ 3
✅ Passed checks (3 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' directly matches the PR's purpose of updating translation files (de.yaml and ja.yaml) from Hosted Weblate.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.

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

✨ Finishing touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment

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

Copy link

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

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

Actionable comments posted: 1

🤖 Fix all issues with AI agents
In `@locales/de.yaml`:
- Line 215: The translation for the YAML key new_version is likely too short
("Version") and should be expanded to convey "new version" in German; update the
value for the new_version key (the YAML entry labeled new_version) to a clearer
string such as "Neue Version" or "Neue Version verfügbar" to match the intended
meaning in the UI.
🧹 Nitpick comments (1)
locales/de.yaml (1)

212-219: Verify placement and comment alignment.

The about: block is correctly nested under settings: (creating settings.about.* paths), but its placement immediately after the # Find and Replace panel comment is confusing since about is unrelated to Find and Replace. Consider moving the comment to line 219 (before find:) or adding a separate # About section comment above line 213 for clarity.

📝 Suggested comment placement
 # Find and Replace panel
+  # About section (Settings > About)
   about:
     source_code: Quellcode

# Find and Replace panel
about:
source_code: Quellcode
new_version: Version
Copy link

Choose a reason for hiding this comment

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

⚠️ Potential issue | 🟡 Minor

Translation may be incomplete for new_version.

The key new_version suggests the full meaning "new version" (e.g., "a new version is available"), but the translation is just Version. Consider using Neue Version or Neue Version verfügbar to fully convey the intended meaning, unless this is intentionally abbreviated for UI space constraints.

🌐 Suggested translation fix
-    new_version: Version
+    new_version: Neue Version
📝 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
new_version: Version
new_version: Neue Version
🤖 Prompt for AI Agents
In `@locales/de.yaml` at line 215, The translation for the YAML key new_version is
likely too short ("Version") and should be expanded to convey "new version" in
German; update the value for the new_version key (the YAML entry labeled
new_version) to a clearer string such as "Neue Version" or "Neue Version
verfügbar" to match the intended meaning in the UI.

Currently translated at 99.3% (460 of 463 strings)

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

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

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

Actionable comments posted: 1

🤖 Fix all issues with AI agents
In `@locales/ja.yaml`:
- Around line 202-221: The YAML places the "about:" translations at top-level
(symbols: about:) while the UI expects them under the Find/Replace parent
(symbol: find:), causing unresolved keys; move the entire about: block so it
becomes a child of find (i.e., find.about.*) with correct indentation, removing
or consolidating the original top-level about: to avoid duplicate keys and
ensuring the path matches the UI's expected key structure.

Comment on lines 202 to 221
# Find and Replace panel
about:
title: Ferrite について
description: Markdown,JSON などに対応した高速で軽量なテキスト エディタ
updates: アップデート
check_for_updates: 更新の確認
checking: 更新の確認中...
up_to_date: 最新バージョンを使用しています!
check_again: 再確認
update_available: 新しいバージョンが利用可能です!
new_version: バージョン
view_release: リリースを表示してダウンロード
check_failed: 更新を確認できませんでした
try_again: 再試行
links: リンク
all_releases: すべてのリリース
report_issue: 問題の報告
source_code: ソースコード
license: MITライセンス
find:
Copy link

Choose a reason for hiding this comment

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

⚠️ Potential issue | 🟠 Major

Fix misplaced about translations under Find/Replace.

At Line 203 the about: block is indented under settings, but the Find/Replace strings are under top‑level find (Line 221). If the UI expects find.about.* (or settings.find.about), these keys won’t resolve and will fall back to English. Move the block under the correct parent to keep key paths consistent.

✅ Suggested fix (move under find)
 # Find and Replace panel
-  about:
-    title: Ferrite について
-    description: Markdown,JSON などに対応した高速で軽量なテキスト エディタ
-    updates: アップデート
-    check_for_updates: 更新の確認
-    checking: 更新の確認中...
-    up_to_date: 最新バージョンを使用しています!
-    check_again: 再確認
-    update_available: 新しいバージョンが利用可能です!
-    new_version: バージョン
-    view_release: リリースを表示してダウンロード
-    check_failed: 更新を確認できませんでした
-    try_again: 再試行
-    links: リンク
-    all_releases: すべてのリリース
-    report_issue: 問題の報告
-    source_code: ソースコード
-    license: MITライセンス
-find:
+find:
+  about:
+    title: Ferrite について
+    description: Markdown,JSON などに対応した高速で軽量なテキスト エディタ
+    updates: アップデート
+    check_for_updates: 更新の確認
+    checking: 更新の確認中...
+    up_to_date: 最新バージョンを使用しています!
+    check_again: 再確認
+    update_available: 新しいバージョンが利用可能です!
+    new_version: バージョン
+    view_release: リリースを表示してダウンロード
+    check_failed: 更新を確認できませんでした
+    try_again: 再試行
+    links: リンク
+    all_releases: すべてのリリース
+    report_issue: 問題の報告
+    source_code: ソースコード
+    license: MITライセンス
   placeholder: "検索..."
📝 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
# Find and Replace panel
about:
title: Ferrite について
description: Markdown,JSON などに対応した高速で軽量なテキスト エディタ
updates: アップデート
check_for_updates: 更新の確認
checking: 更新の確認中...
up_to_date: 最新バージョンを使用しています!
check_again: 再確認
update_available: 新しいバージョンが利用可能です!
new_version: バージョン
view_release: リリースを表示してダウンロード
check_failed: 更新を確認できませんでした
try_again: 再試行
links: リンク
all_releases: すべてのリリース
report_issue: 問題の報告
source_code: ソースコード
license: MITライセンス
find:
# Find and Replace panel
find:
about:
title: Ferrite について
description: Markdown,JSON などに対応した高速で軽量なテキスト エディタ
updates: アップデート
check_for_updates: 更新の確認
checking: 更新の確認中...
up_to_date: 最新バージョンを使用しています!
check_again: 再確認
update_available: 新しいバージョンが利用可能です!
new_version: バージョン
view_release: リリースを表示してダウンロード
check_failed: 更新を確認できませんでした
try_again: 再試行
links: リンク
all_releases: すべてのリリース
report_issue: 問題の報告
source_code: ソースコード
license: MITライセンス
🤖 Prompt for AI Agents
In `@locales/ja.yaml` around lines 202 - 221, The YAML places the "about:"
translations at top-level (symbols: about:) while the UI expects them under the
Find/Replace parent (symbol: find:), causing unresolved keys; move the entire
about: block so it becomes a child of find (i.e., find.about.*) with correct
indentation, removing or consolidating the original top-level about: to avoid
duplicate keys and ensuring the path matches the UI's expected key structure.

Copy link

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

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

Actionable comments posted: 1

Caution

Some comments are outside the diff and can’t be posted inline due to platform limitations.

⚠️ Outside diff range comments (1)
locales/de.yaml (1)

467-475: ⚠️ Potential issue | 🔴 Critical

YAML structural error: large_file_performance is nested under wrong parent.

The large_file_performance: key at lines 467-468 is indented but appears before the tree_viewer: block starts at line 469. This places it under the preceding notification: block, creating the path notification.large_file_performance instead of the intended tree_viewer.large_file_performance.

The key should be moved inside the tree_viewer: block.

🐛 Proposed fix to correct the YAML structure
 # Tree viewer (JSON/YAML/TOML)
-  large_file_performance: Große Datei (%{size} MB). Evtl. eingeschränkte 
-    Geschwindigkeit.
 tree_viewer:
   collapse_all: "▶ Alles einklappen"
   expand_all: "▼ Alles aufklappen"
   copy_path: "📋 Pfad kopieren"
   show_raw: "Rohtext anzeigen"
   parse_error: "⚠ Parsing-Fehler:"
   large_file_warning: "Große Datei (%{size} MB). Rohtext wird angezeigt."
+  large_file_performance: "Große Datei (%{size} MB). Evtl. eingeschränkte Geschwindigkeit."
🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@locales/de.yaml` around lines 467 - 475, The key large_file_performance is
currently indented so it sits outside the intended tree_viewer block, placing it
under notification; move the large_file_performance entry so it is nested under
the tree_viewer mapping (same indentation level as
collapse_all/expand_all/copy_path/etc.) to create
tree_viewer.large_file_performance and remove the misplaced
notification.large_file_performance; ensure the interpolation %{size} and
surrounding text remain unchanged.
🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.

Inline comments:
In `@locales/de.yaml`:
- Around line 213-231: Move the comment "# Find and Replace panel" so it follows
the about: block instead of preceding it; specifically, relocate the comment
that currently appears before the about: block to immediately after the
about.description line (i.e., right before the find: key) in locales/de.yaml to
mirror the structure used in en.yaml and ja.yaml.

---

Outside diff comments:
In `@locales/de.yaml`:
- Around line 467-475: The key large_file_performance is currently indented so
it sits outside the intended tree_viewer block, placing it under notification;
move the large_file_performance entry so it is nested under the tree_viewer
mapping (same indentation level as collapse_all/expand_all/copy_path/etc.) to
create tree_viewer.large_file_performance and remove the misplaced
notification.large_file_performance; ensure the interpolation %{size} and
surrounding text remain unchanged.

Comment on lines +213 to 231
about:
source_code: Quellcode
new_version: Version
try_again: Nochmal versuchen
up_to_date: Die aktuellste Version wird verwendet!
title: Info
updates: Neue Versionen
license: 'Lizenz: MIT'
report_issue: Problem melden
check_for_updates: Neue Versionen suchen
checking: Neue Versionen werden gesucht...
check_again: Nochmal suchen
check_failed: Neue Versionen konnten nicht gesucht werden
update_available: Es gibt eine neue Version!
links: Links
all_releases: Alle Versionen
view_release: Version anschauen und laden
description: Ein schneller, schlanker Editor für Markdown, JSON und mehr
find:
Copy link

Choose a reason for hiding this comment

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

⚠️ Potential issue | 🟡 Minor

🧩 Analysis chain

🏁 Script executed:

#!/bin/bash
# Check the structure in en.yaml
echo "=== Checking en.yaml structure around 'find' and 'about' ==="
if fd -t f 'en.yaml' locales; then
  rg -n -B2 -A30 '^\s*(find|about):' locales/en.yaml | head -100
fi

echo ""
echo "=== Checking ja.yaml structure around 'find' and 'about' ==="
if fd -t f 'ja.yaml' locales; then
  rg -n -B2 -A30 '^\s*(find|about):' locales/ja.yaml | head -100
fi

echo ""
echo "=== Checking de.yaml indentation around lines 213-235 ==="
if fd -t f 'de.yaml' locales; then
  sed -n '210,235p' locales/de.yaml | cat -n
fi

Repository: OlaProeis/Ferrite

Length of output: 7553


🏁 Script executed:

#!/bin/bash
# Check if de.yaml has a root-level about block (like en.yaml line 294+)
echo "=== Checking for root-level 'about:' in de.yaml ==="
rg -n '^\about:' locales/de.yaml

echo ""
echo "=== Checking de.yaml around line 294 area ==="
if fd -t f 'de.yaml' locales; then
  # Find the line count first
  total_lines=$(wc -l < locales/de.yaml)
  echo "Total lines in de.yaml: $total_lines"
  
  # Show lines around 290-320 if they exist
  start_line=$((total_lines - 50))
  if [ $start_line -lt 1 ]; then start_line=1; fi
  sed -n "${start_line},${total_lines}p" locales/de.yaml | tail -60 | cat -n
fi

Repository: OlaProeis/Ferrite

Length of output: 1932


🏁 Script executed:

#!/bin/bash
# Check context around line 213 to see what parent this about block belongs to
echo "=== Context around lines 200-235 in de.yaml ==="
sed -n '200,235p' locales/de.yaml | cat -n

echo ""
echo "=== Compare with en.yaml context around lines 195-225 ==="
sed -n '195,225p' locales/en.yaml | cat -n

Repository: OlaProeis/Ferrite

Length of output: 2917


🏁 Script executed:

#!/bin/bash
echo "=== Checking for all 'about:' blocks in locale files ==="
echo "en.yaml about blocks:"
rg -n '^about:' locales/en.yaml

echo ""
echo "ja.yaml about blocks:"
rg -n '^about:' locales/ja.yaml

echo ""
echo "de.yaml about blocks:"
rg -n '^about:' locales/de.yaml

Repository: OlaProeis/Ferrite

Length of output: 218


Reposition the "# Find and Replace panel" comment.

The comment on line 212 should follow the about: block instead of preceding it, matching the structure in en.yaml and ja.yaml. Move it to after line 231 (after description:), before the find: section.

🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@locales/de.yaml` around lines 213 - 231, Move the comment "# Find and Replace
panel" so it follows the about: block instead of preceding it; specifically,
relocate the comment that currently appears before the about: block to
immediately after the about.description line (i.e., right before the find: key)
in locales/de.yaml to mirror the structure used in en.yaml and ja.yaml.

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.

2 participants