Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 13 additions & 13 deletions app/src/main/res/values-hu-rHU/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -26,12 +26,12 @@
<item quantity="other">%d kiválasztott alkalmazás</item>
</plurals>
<plurals name="success_uninstalled">
<item quantity="one">Sikeresesn töröltél %d alkalmazást!</item>
<item quantity="other">Sikeresesn töröltél %d alkalmazást!</item>
<item quantity="one">Sikeresen töröltél %d alkalmazást!</item>
<item quantity="other">Sikeresen töröltél %d alkalmazást!</item>
</plurals>
<plurals name="success_reinstalled">
<item quantity="one">Sikeresesn újratelepítettél %d alkalmazást!</item>
<item quantity="other">Sikeresesn újratelepítettél %d alkalmazást!</item>
<item quantity="one">Sikeresen újratelepítettél %d alkalmazást!</item>
<item quantity="other">Sikeresen újratelepítettél %d alkalmazást!</item>
</plurals>
<string name="copy">Másolás</string>
<string name="app_settings">App infó</string>
Expand All @@ -51,8 +51,8 @@
<string name="proceed">Folytatás</string>
<string name="confirm_uninstall_description">Megjelenjen az eltávolítási művelet megerősítésére szolgáló párbeszédpanel?</string>
<string name="select_all">Mind kijelölése</string>
<string name="select_all_tip">Még %d alkalommal érintse meg az \"Mind kijelölése\" funkció engedélyezéséhez!</string>
<string name="select_all_enabled">A \"Mind kijelölése\" engedélyezésre került az Ajánlott” szűrőtípushoz. </string>
<string name="select_all_tip">Még %d alkalommal érintse meg az \"Mind kijelölése\" funkció engedélyezéséhez.</string>
<string name="select_all_enabled">A Mind kijelölése engedélyezésre került az \"Ajánlott” szűrőtípushoz.</string>
Comment thread
coderabbitai[bot] marked this conversation as resolved.
<string name="uninstall_options_title">Törlési Opciók</string>
<string name="uninstall_app">Alkalmazás eltávolítása</string>
<string name="reset_to_factory_version">Reset to factory version</string>
Expand Down Expand Up @@ -97,20 +97,20 @@
<string name="commits_url">Commits URL</string>
<string name="commits_url_description">Where to get commit info for updates from</string>
<string name="reset_to_default">Reset to default</string>
<string name="advanced_settings">Advanced settings</string>
<string name="advanced_settings">Haladó beállítások</string>
<string name="click_to_expand">Click to expand</string>
<string name="bloat_list_url">Bloat list URL</string>
<string name="bloat_list_url_description">Where to get badges and descriptions from.</string>
<string name="allow_unsafe_selections">Allow unsafe selections</string>
<string name="allow_unsafe_uninstalls_description">Whether to allow selecting apps marked as unsafe (applying presets bypasses this already).</string>
Comment on lines 101 to 105

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

🎯 Functional Correctness | 🟡 Minor | ⚡ Quick win

🧩 Analysis chain

🏁 Script executed:

#!/bin/bash
set -euo pipefail

echo "Files:"
fd 'strings\.xml$' . | sort

echo
echo "Hungarian target file size and relevant lines:"
wc -l app/src/main/res/values-hu-rHU/strings.xml
nl -ba app/src/main/res/values-hu-rHU/strings.xml | sed -n '1,180p'

echo
echo "Search target resource name usage:"
rg -n 'name="(click_to_expand|bloat_list_url|bloat_list_url_description|allow_unsafe_selections|allow_unsafe_uninstalls_description|success|hide_success_dialog|hide_success_dialog_description|require_auth_setting_desc)"' app/src/main/res || true

echo
echo "Search target resource name implementation/usages:"
rg -n '`@string/`(click_to_expand|bloat_list_url|bloat_list_url_description|allow_unsafe_selections|allow_unsafe_uninstalls_description|success|hide_success_dialog|hide_success_dialog_description|require_auth_setting_desc)|click_to_expand|bloat_list_url|bloat_list_url_description|allow_unsafe_selections|allow_unsafe_uninstalls_description|success|hide_success_dialog|hide_success_dialog_description|require_auth_setting_desc' app/src/main/res/app/src/main/java app/src/main/kotlin 2>/dev/null || true

Repository: samolego/Canta

Length of output: 2259


🏁 Script executed:

#!/bin/bash
set -euo pipefail

echo "Hungarian target file contents:"
awk '{printf "%5d\t%s\n", NR, $0}' app/src/main/res/values-hu-rHU/strings.xml

echo
echo "Target string values in Hungarian and default resources:"
python3 - <<'PY'
from pathlib import Path
import re
files = {
    "hungarian": Path("app/src/main/res/values-hu-rHU/strings.xml"),
    "default": Path("app/src/main/res/values/strings.xml"),
}
names = [
    "click_to_expand",
    "bloat_list_url",
    "bloat_list_url_description",
    "allow_unsafe_selections",
    "allow_unsafe_uninstalls_description",
    "success",
    "hide_success_dialog",
    "hide_success_dialog_description",
    "require_auth_setting_desc",
]
pattern = re.compile(r'<string name="([^"]+)"[^>]*>(.*?)</string>', re.S)
for lang, path in files.items():
    print(f"--- {lang}: {path} ---")
    text = path.read_text()
    entries = {m.group(1): " ".join(m.group(2).split()) for m in pattern.finditer(text)}
    for name in names:
        value = entries.get(name)
        print(f"{name}: {value!s}")
PY

echo
echo "Usages of target string references/usages:"
rg -n '`@string/`(click_to_expand|bloat_list_url|bloat_list_url_description|allow_unsafe_selections|allow_unsafe_uninstalls_description|success|hide_success_dialog|hide_success_dialog_description|require_auth_setting_desc)' app || true

Repository: samolego/Canta

Length of output: 11098


Translate the remaining English Hungarian fallbacks.

The Hungarian file still falls back to English for: click_to_expand, bloat_list_url, bloat_list_url_description, allow_unsafe_selections, allow_unsafe_uninstalls_description, success, hide_success_dialog, hide_success_dialog_description, and require_auth_setting_desc. Translate these values to keep the settings and auth/error screens fully localized.

🤖 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 `@app/src/main/res/values-hu-rHU/strings.xml` around lines 101 - 105, Translate
the English values for the listed string resources in the Hungarian resource
file: click_to_expand, bloat_list_url, bloat_list_url_description,
allow_unsafe_selections, allow_unsafe_uninstalls_description, success,
hide_success_dialog, hide_success_dialog_description, and
require_auth_setting_desc. Preserve each resource name and XML structure while
replacing only the fallback text with Hungarian translations.

<string name="donate">Donate</string>
<string name="canta_donate_request">Enjoying Canta? It\'s built in my free time with privacy in mind - no ads, no tracking. If you find it useful, please consider supporting its development!</string>
<string name="donate">Támogatás</string>
<string name="canta_donate_request">Tetszik a Canta? Szabadidőmben fejlesztettem, szem előtt tartva az adatvédelmet - nincs benne reklám, nincs nyomkövetés. Ha hasznosnak találod, kérlek, fontold meg a fejlesztés támogatását!</string>
<string name="success">Success %1$s!</string>
<string name="hide_success_dialog">Hide success dialog</string>
<string name="hide_success_dialog_description">Hides the success dialog after uninstall / reinstall.</string>
<string name="auth_required">Authentication required</string>
<string name="auth_required_description">This action requires higher privileges.</string>
<string name="auth_required">Azonosítás szükséges</string>
<string name="auth_required_description">Ehhez a művelethez magasabb jogosultságok szükségesek.</string>
<string name="require_auth_setting_desc">Require authentication for uninstalling or reinstalling apps.</string>
<string name="require_auth_setting">Require authentication</string>
<string name="enable_usb_debugging">(Optional) Enable USB debugging</string>
<string name="require_auth_setting">Azonosítás szükséges</string>
<string name="enable_usb_debugging">(Opcionális) Az USB hibakeresés engedélyezése</string>

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

🎯 Functional Correctness | 🟡 Minor | ⚡ Quick win

🧩 Analysis chain

🌐 Web query:

Magyar helyesírás USB hibakeresés hivatásos nyelvvizsga USB-hibakeresés

💡 Result:

Az „USB-hibakeresés” kifejezés helyesírása az AkH. (A magyar helyesírás szabályai) 12. kiadása szerinti szabályok alapján az alábbiak szerint alakul: Az USB-hibakeresés írásmódja kötőjeles, mivel egy mozaikszóból (USB) és egy összetett főnévből (hibakeresés) álló összetételről van szó. A mozaikszóhoz járuló utótagot az AkH. 289. a) pontja értelmében kötőjellel kapcsoljuk. Bár a technikai szakirodalomban és a felhasználói felületeken (pl. Android menüpontok) gyakran találkozhatunk a kötőjel nélküli „USB hibakeresés” formával [1][2][3], a helyesírási szabályok alapján a kötőjeles írásmód a javasolt [4][5][6]. Összegzés: - Helyes írásmód: USB-hibakeresés [4][5][6] - Gyakran előforduló (de helyesírási szempontból kevésbé pontos) forma: USB hibakeresés [1][2][3] A kifejezés az Android operációs rendszer egy speciális fejlesztői beállítása, amely lehetővé teszi az eszköz és a számítógép közötti mélyebb szintű, ADB (Android Debug Bridge) protokollon alapuló kommunikációt [2][3][7]. Biztonsági okokból ajánlott csak akkor engedélyezni, ha konkrét fejlesztői, tesztelési vagy rendszer-helyreállítási feladatra van szükség [2][8][7].

Citations:


Use USB-hibakeresés in the Hungarian label.

The label contains a user-facing string, so apply the standard compound spelling.

Proposed fix
-    <string name="enable_usb_debugging">(Opcionális) Az USB hibakeresés engedélyezése</string>
+    <string name="enable_usb_debugging">(Opcionális) Az USB-hibakeresés engedélyezése</string>
📝 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
<string name="enable_usb_debugging">(Opcionális) Az USB hibakeresés engedélyezése</string>
<string name="enable_usb_debugging">(Opcionális) Az USB-hibakeresés engedélyezése</string>
🤖 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 `@app/src/main/res/values-hu-rHU/strings.xml` at line 115, Update the Hungarian
enable_usb_debugging string to use the standard compound spelling
“USB-hibakeresés” in the user-facing label.

</resources>