Skip to content

Commit 477ca28

Browse files
chore: Hide untranslatable strings, move plural strings into plural file, adjust app greeting message
1 parent c463980 commit 477ca28

2 files changed

Lines changed: 29 additions & 26 deletions

File tree

app/src/main/res/values/plurals.xml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,12 @@
1111
<plurals name="selected_count">
1212
<item quantity="other">%d selected</item>
1313
</plurals>
14+
<plurals name="patch_profile_bundle_patch_count">
15+
<item quantity="one">%d patch</item>
16+
<item quantity="other">%d patches</item>
17+
</plurals>
18+
<plurals name="patch_profile_bundle_count">
19+
<item quantity="one">%d bundle</item>
20+
<item quantity="other">%d bundles</item>
21+
</plurals>
1422
</resources>

app/src/main/res/values/strings.xml

Lines changed: 21 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -3,24 +3,25 @@
33
<string name="morphe_home_youtube" translatable="false">YouTube</string>
44
<string name="morphe_home_youtube_music" translatable="false">YouTube Music</string>
55
<string name="morphe_home_bundles">Patch bundle</string>
6-
<string name="morphe_home_greeting_1">What app do you want to patch? 🛠️</string>
6+
<string name="morphe_home_greeting_1">What app do you want to patch?</string>
77
<!-- Humorous hype message with light nostalgia -->
8-
<string name="morphe_home_greeting_2">Ready to make YouTube legendary again? 🔥📺</string>
9-
<!-- Energetic, light-hearted joke to build excitement -->
10-
<string name="morphe_home_greeting_3">Buckle up, it\'s patching time 🚀</string>
8+
<string name="morphe_home_greeting_2">Ready to make YouTube legendary again?</string>
9+
<!-- "Buckle up" referring to fasten your vehicle seat belt. A light-hearted joke to build excitement. -->
10+
<string name="morphe_home_greeting_3">Buckle up, it\'s patching time</string>
1111
<!-- Sarcastic joke about blocking ads, intentionally over-the-top -->
12-
<string name="morphe_home_greeting_4">Another day, another ad-blocked masterpiece 😌🚫</string>
13-
<string name="morphe_home_greeting_5">Want to watch ads? Me neither 🙃❌</string>
12+
<string name="morphe_home_greeting_4">Another day, another ad-blocked masterpiece</string>
13+
<!-- "Watch ads" refers to watching video ads in unpatched apps -->
14+
<string name="morphe_home_greeting_5">Want to watch ads? Me neither</string>
1415
<!-- Friendly, slightly mischievous joke about controlling app behavior -->
15-
<string name="morphe_home_greeting_6">Let\'s make your apps behave 😏📱</string>
16+
<string name="morphe_home_greeting_6">Let\'s make your apps behave</string>
1617
<!-- Whimsical forecast-style joke, not meant literally -->
17-
<string name="morphe_home_greeting_7">Today\'s forecast: 100% chance of patching 🌩️🧩</string>
18-
<!-- Self-aware humorous greeting, breaking the fourth wall -->
19-
<string name="morphe_home_greeting_8">Patch responsibly… or don\'t 😄⚙️</string>
18+
<string name="morphe_home_greeting_7">Today\'s forecast: 100% chance of patching</string>
19+
<!-- From mediocrity to amazing -->
20+
<string name="morphe_home_greeting_8">Ready to change underwhelming into awesome?</string>
2021
<!-- Playful exaggeration, making patching feel heroic -->
21-
<string name="morphe_home_greeting_9">Saving apps from themselves since today 🦸‍♂️✨</string>
22+
<string name="morphe_home_greeting_9">Saving apps from themselves since today</string>
2223
<!-- Light sarcasm, casual and tech-savvy humor -->
23-
<string name="morphe_home_greeting_10">Powered by caffeine and good patches ☕🧠</string>
24+
<string name="morphe_home_greeting_10">Powered by caffeine and good patches</string>
2425
<string name="morphe_home_bundle_type_api">API Bundle</string>
2526
<string name="morphe_home_update_error">Update failed</string>
2627
<string name="morphe_home_update_error_subtitle">Check your internet connection and try again</string>
@@ -561,14 +562,14 @@ Signature (SHA-256): %2$s"</string>
561562
<string name="debug_logs_export_read_failed">Failed to read logs (exit code %d)</string>
562563
<string name="debug_logs_export_failed">Failed to export logs</string>
563564
<string name="debug_logs_export_success">Exported logs</string>
564-
<string name="api_url">API URL</string>
565+
<string name="api_url" translatable="false">API URL</string>
565566
<string name="api_url_description">The API used to download necessary files</string>
566567
<string name="api_url_dialog_title">Change API URL</string>
567568
<string name="api_url_dialog_description">Change the API URL of Morphe. Morphe uses the API to download patches and updates.</string>
568569
<string name="api_url_dialog_warning">Morphe connects to the API to download patches and updates. Make sure that you trust it.</string>
569570
<string name="api_url_dialog_save">Set</string>
570571
<string name="api_url_dialog_reset">Reset API URL</string>
571-
<string name="github_pat">GitHub PAT</string>
572+
<string name="github_pat" translatable="false">GitHub PAT</string>
572573
<string name="github_pat_description">GitHub Personal Access Token needed for GitHub integration</string>
573574
<string name="set_github_pat_dialog_title">Set GitHub PAT</string>
574575
<string name="set_github_pat_dialog_description">Set a GitHub Personal Access Token in order to be able to add Pull Requests as external sources. Create a PAT with scope public_repo</string>
@@ -652,16 +653,18 @@ Which should be saved to this profile?"</string>
652653
<string name="patch_profile_created_at">Created %1$s</string>
653654
<string name="patch_profile_bundle_header" translatable="false">%1$s • %2$s</string>
654655
<string name="patch_profile_bundle_unavailable_suffix">%1$s (unavailable)</string>
655-
<string name="patch_profile_bundle_uid_label">UID: %1$d</string>
656+
<string name="patch_profile_bundle_uid_label" translatable="false">UID: %1$d</string>
656657
<string name="patch_profile_bundle_change_uid">Change UID</string>
657658
<string name="patch_profile_bundle_change_uid_title">Change UID for %1$s</string>
658659
<string name="patch_profile_bundle_change_uid_invalid">Enter a valid numeric UID.</string>
659660
<string name="patch_profile_bundle_change_uid_success">Bundle UID updated to %1$d.</string>
660661
<string name="patch_profile_bundle_change_uid_not_found">No local patch bundle found with UID %1$d.</string>
661662
<string name="patcher_process_exit_message">Patcher process exited with code %1$d.</string>
662663
<string name="patcher_memory_adjustment_title">The patcher ran out of memory</string>
663-
<string name="patcher_memory_adjustment_message_reduced">The experimental patcher process stopped because it ran out of memory. We lowered its memory limit from %1$d MB to %2$d MB so you can try again immediately.</string>
664-
<string name="patcher_memory_adjustment_message_no_change">The experimental patcher process stopped because it ran out of memory, but the memory limit is already at %1$d MB. Try lowering it further in Advanced settings or disable the experimental mode before retrying.</string>
664+
<!-- Dormant code and not used -->
665+
<string name="patcher_memory_adjustment_message_reduced" translatable="false">The experimental patcher process stopped because it ran out of memory. We lowered its memory limit from %1$d MB to %2$d MB so you can try again immediately.</string>
666+
<!-- Dormant code and not used -->
667+
<string name="patcher_memory_adjustment_message_no_change" translatable="false">The experimental patcher process stopped because it ran out of memory, but the memory limit is already at %1$d MB. Try lowering it further in Advanced settings or disable the experimental mode before retrying.</string>
665668
<string name="patcher_memory_adjustment_retry">Try again</string>
666669
<string name="patcher_memory_adjustment_dismiss">Dismiss</string>
667670
<string name="patcher_missing_patch_title">Patch selection needs attention</string>
@@ -676,14 +679,6 @@ You can remove them automatically, adjust the selection, or continue anyway."</s
676679
%1$s
677680
Enable them again (or pick alternatives) and then try patching once more."</string>
678681
<string name="patch_profile_delete_multiple_dialog_description">Delete the selected patch profiles?</string>
679-
<plurals name="patch_profile_bundle_patch_count">
680-
<item quantity="one">%d patch</item>
681-
<item quantity="other">%d patches</item>
682-
</plurals>
683-
<plurals name="patch_profile_bundle_count">
684-
<item quantity="one">%d bundle</item>
685-
<item quantity="other">%d bundles</item>
686-
</plurals>
687682
<string name="this_version">This version</string>
688683
<string name="universal">Any app</string>
689684
<string name="search_patches">Search patches</string>
@@ -932,7 +927,7 @@ Open-source at its core, Morphe thrives on community feedback and contributions
932927
<string name="installing_manager_update">Installing update…</string>
933928
<string name="downloading_manager_update">Downloading update…</string>
934929
<string name="manager_update_banner_title">Downloading manager update</string>
935-
<string name="manager_update_progress_detail">%1$.1f MB / %2$.1f MB (%3$d%%)</string>
930+
<string name="manager_update_progress_detail" translatable="false">%1$.1f MB / %2$.1f MB (%3$d%%)</string>
936931
<string name="download_manager_failed">Failed to download update: %s</string>
937932
<string name="save">Save</string>
938933
<string name="save_with_count">Save (%1$s)</string>

0 commit comments

Comments
 (0)