Translations update from Hosted Weblate#78
Conversation
Currently translated at 97.6% (452 of 463 strings) Translation: Ferrite/Ferrite UI Translate-URL: https://hosted.weblate.org/projects/ferrite/ferrite-ui/de/
📝 WalkthroughWalkthroughAdds new "about" translation blocks for the Find and Replace panel in German and Japanese locales ( Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 minutes Possibly related PRs
Poem
🚥 Pre-merge checks | ✅ 3✅ Passed checks (3 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing touches🧪 Generate unit tests (beta)
Comment |
There was a problem hiding this comment.
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 undersettings:(creatingsettings.about.*paths), but its placement immediately after the# Find and Replace panelcomment is confusing sinceaboutis unrelated to Find and Replace. Consider moving the comment to line 219 (beforefind:) or adding a separate# About sectioncomment 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 |
There was a problem hiding this comment.
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.
| 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/
There was a problem hiding this comment.
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.
| # 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: |
There was a problem hiding this comment.
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.
| # 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.
Currently translated at 97.8% (454 of 464 strings) Translation: Ferrite/Ferrite UI Translate-URL: https://hosted.weblate.org/projects/ferrite/ferrite-ui/de/
Currently translated at 100.0% (464 of 464 strings) Translation: Ferrite/Ferrite UI Translate-URL: https://hosted.weblate.org/projects/ferrite/ferrite-ui/de/
There was a problem hiding this comment.
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 | 🔴 CriticalYAML structural error:
large_file_performanceis nested under wrong parent.The
large_file_performance:key at lines 467-468 is indented but appears before thetree_viewer:block starts at line 469. This places it under the precedingnotification:block, creating the pathnotification.large_file_performanceinstead of the intendedtree_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.
| 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: |
There was a problem hiding this comment.
🧩 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
fiRepository: 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
fiRepository: 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 -nRepository: 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.yamlRepository: 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.
Translations update from Hosted Weblate for Ferrite/Ferrite UI.
Current translation status:
Summary by CodeRabbit