Skip to content

Resolve lintVitalRelease ExtraTranslation failures by restoring missing default string keys#108

Merged
Goooler merged 2 commits into
trunkfrom
copilot/fix-lint-errors
Apr 22, 2026
Merged

Resolve lintVitalRelease ExtraTranslation failures by restoring missing default string keys#108
Goooler merged 2 commits into
trunkfrom
copilot/fix-lint-errors

Conversation

Copy link
Copy Markdown

Copilot AI commented Apr 22, 2026

app:lintVitalRelease was failing on ExtraTranslation because multiple locale-specific strings.xml entries no longer had corresponding keys in the default values/strings.xml. This PR restores default-locale coverage for those keys so translated resources are consistent with the base locale.

  • Root cause addressed

    • Reintroduced missing default string resources that were still present in localized bundles (VI/JA/KO/ZH/RU), eliminating the mismatch that triggered ExtraTranslation.
  • Resource sync updates

    • Added default entries for update/profile/provider/script/sideload/sniffer-related keys, including:
      • format_update_complete, format_update_failure
      • profile_process_result, profile_process_status, profile_service_status, profile_updater, profile_updating
      • provider_files, script_mode
      • sideload_geoip, sideload_geoip_summary
      • sniffing, sniff, port_whitelist, disable_sniffer, sniffer_config, sniffer_override
      • update_failure, update_successfully
  • Minor wording normalization

    • Refined two newly added default messages for clearer English:
      • format_update_complete: "Update %s completed"
      • update_successfully: "Update successful"
<!-- app/src/main/res/values/strings.xml -->
<string name="sniffing">Sniffer Mode</string>
<string name="port_whitelist">Port Whitelist</string>
<string name="disable_sniffer">Disable Sniffer</string>
<string name="sniffer_config">Load Sniffer From Config</string>
<string name="sniffer_override">Override Sniffer Config</string>

@Goooler Goooler merged commit fe2f55b into trunk Apr 22, 2026
3 checks passed
@Goooler Goooler deleted the copilot/fix-lint-errors branch April 22, 2026 15:09
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