komikku/i18n-kmk/src/commonMain/moko-resources/base/strings.xml
kana-shii c41d5fb847
feat(discord): Discord RPC from Anikku (#1100)
* Add RPC [Barebone, barely works]

Co-Authored-By: Cuong-Tran <16017808+cuong-tran@users.noreply.github.com>

* refactor connections

* RPC (#223)

* Add error handling and refactor DiscordRPCService methods

* Add Discord RPC customization options and preferences

* Update Discord RPC button labels and clean up comments

* Refactor DiscordRPCService to improve readability by adding braces for null checks

* Refactor ConnectionsPreferences to improve code clarity and organization

* Refactor ConnectionsPreferences to improve code clarity and organization

(cherry picked from commit df42d196368d28c3c9dcee3692f3f9140da7f2a1)

* Feat: implement Discord account management enhancements and RPC restart functionality (#245)

* fix: correct indentation in CastManager for better readability

* feat: implement Discord account management enhancements and RPC restart functionality

(cherry picked from commit b7c50f1f0184dd717c5cc4dee0310053bfb8d613)

* Notification color & icon for DiscordRPC

Co-Authored-By: Cuong-Tran <16017808+cuong-tran@users.noreply.github.com>

* Change foss variant application id suffix to '.foss' and more (mihonapp/mihon#1831)

- Remove `BuildConfig.PREVIEW`
- Rename `BuildConfig.INCLUDE_ANALYTICS` -> `BuildConfig.ANALYTICS_INCLUDED`
- Rename `BuildConfig.INCLUDE_UPDATER` -> `BuildConfig.UPDATER_ENABLED`
- Rename build property `with-analytics` -> `include-analytics`
- Rename build property `with-updater` -> `enable-updater`
- Add build property to disable code shrink
- Add build property to include dependency info in apk/app bundle

(cherry picked from commit 0893609ad2c4791dc404d72a5e69a2e0373517ae)

* feat(discord): update App/icon & fully works with all screens

* update Discord Rich Presence application ID and icon URLs

* Fix updateDiscordRPC for all screens (also reuse code)

* integrate Discord Rich Presence for WebViewScreen

* feat: ghibli style images for Discord RPC

* optimize code

* further optimize

* supprest useless warning

* refactor: simplify setScreen calls related to lastUsedScreen

* optimize whole file

* a

Co-Authored-By: Cuong-Tran <16017808+cuong-tran@users.noreply.github.com>

* fix(discord): update download button URL to point to the official website

* feat(discord): allow stop Discord RPC from notification

also improve error handling

* fix(i18n): Torrent server "stop" multi-lang

* Start DiscordRPCService as foreground service on Android O+

This commit modifies the `DiscordRPCService` to start as a foreground service on Android O (API level 26) and above. This change ensures the service continues to run in the background, especially when the app is not in the foreground.

- Added a conditional check using `Build.VERSION.SDK_INT` to detect if the device is running Android O or later.
- If the device is running Android O or later, `startForegroundService` is called instead of `startService` to ensure it runs as foreground service.
- If the device is running a version prior to Android O, `startService` is called.

(cherry picked from commit 869617d8cac3aa8461158f1f9a34b9e29147e8f0)

* fix(discord): episode/chapter formating

* fix(discord): Fix & improve Discord login/accounts

* New webview with DiscordLoginScreen

* Add appbar

* Using Webview directly instead of AndroidView and add clearCookies, browsing navigation

* Using coroutine instead of thread

* Revert service

* use response block

* save preference in coroutine too

* no web navigator

* address comments for DiscordLoginScreen

* Refactor Settings screen & dialog

* Using serialization to parse JSON to avoid blocking API

* Don't clear all cookies and web storage aggressively

* Extract constant

* Fix login

Co-Authored-By: Cuong-Tran <16017808+cuong-tran@users.noreply.github.com>

* fix(discord): Fix screen crash & token retrievement

* Update images to my liking

* spotless

* small fixes

* Update strings.xml

* Revert "Update images to my liking"

This reverts commit 4ad3b9f84fdada45ee480ae7dc242b6e1b4bc18a.

* small fixes

* hopeful fix + chapter progress

* Update ReaderActivity.kt

* Update ReaderActivity.kt

* remove timestamps

* Remove isNSFW check

because 95% of tachi extensions are rated as +18, even when there is sfw content

* Clean up

* Fix ReaderActivity

* Cleanup Settings

* Fix login

* Fix lag when getting categories

* Fix jump to pages

* Remove old SDK check

* Fix status when back from reading

* Remove pages progress

* Only set necessary action in ReaderActivity

* Using IO coroutine instead

* Add back timestamps

* Fix strings & settings

* Fix crash

* ActivityType

* Adjust description

* refactor Discord settings menu

* Using its own scope

* Optimize the connection waiting

* remove source.isNSFW

* Using screenModelScope

* Fix state access

* add modifier

* sharing OkHttpClient instance for better resource management

* Restart RPC directly via service intent instead of toggling

* remove lint suppression

* add back showProgress

* Fix set Discord status

* Fix Discord login no avatar

* Handle API rate limits and errors in getDiscordUri

* Token-based isLogged checking

* Make Discord token sensitive data and not in backup

* Minor fix

* remove debug message

---------

Co-authored-by: Cuong-Tran <16017808+cuong-tran@users.noreply.github.com>
Co-authored-by: Cuong-Tran <cuongtran.tm@gmail.com>
Co-authored-by: Dark25 <nadiecaca2000@gmail.com>
Co-authored-by: AntsyLich <59261191+AntsyLich@users.noreply.github.com>
Co-authored-by: Jery <jery99961@gmail.com>
2025-09-04 12:40:32 +07:00

215 lines
15 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<resources>
<!-- Actions -->
<string name="action_search_for_source">Search for sources</string>
<string name="action_source_search">Search in source</string>
<string name="action_library_search">Library search</string>
<string name="action_toggle_nsfw_only">Toggle NSFW only</string>
<string name="action_bulk_select">Bulk selection mode</string>
<string name="action_faq_and_guides">FAQ and Guides</string>
<string name="action_move_up">Move up</string>
<string name="action_move_down">Move down</string>
<string name="action_confirm_color">Confirm Color</string>
<string name="action_remove_merged">Remove original entries from library?</string>
<string name="action_hide">Hide</string>
<string name="action_show_hidden_categories">Show hidden categories</string>
<string name="action_panorama_cover">Panorama cover</string>
<string name="action_open_folder">Open folder</string>
<string name="action_clear_manga">Clear manga</string>
<string name="action_update">Update</string>
<!-- Reader -->
<!-- Reader Actions -->
<string name="action_copy_to_clipboard_first_page">Copy first page to clipboard</string>
<string name="action_copy_to_clipboard_second_page">Copy second page to clipboard</string>
<string name="action_copy_to_clipboard_combined_page">Copy combined page to clipboard</string>
<string name="pref_viewer_nav_smaller_tap_zone">Smaller tap zones</string>
<string name="error_opening_folder">Failed to open folder</string>
<!-- Preferences -->
<!-- Appearance section -->
<string name="pref_custom_theme_style">Custom theme style</string>
<string name="pref_manga_info">Manga Info</string>
<string name="pref_theme_cover_based">Theme based on cover</string>
<string name="pref_theme_cover_based_style">Cover based theme style</string>
<string name="pref_theme_cover_based_style_tonalspot">Tonal Spot</string>
<string name="pref_theme_cover_based_style_neutral">Neutral</string>
<string name="pref_theme_cover_based_style_vibrant">Vibrant</string>
<string name="pref_theme_cover_based_style_expressive">Expressive</string>
<string name="pref_theme_cover_based_style_rainbow">Rainbow</string>
<string name="pref_theme_cover_based_style_fruitsalad">Fruit Salad</string>
<string name="pref_theme_cover_based_style_monochrome">Monochrome</string>
<string name="pref_theme_cover_based_style_fidelity">Fidelity</string>
<string name="pref_theme_cover_based_style_content">Content</string>
<string name="pref_panorama_cover">Panorama Cover</string>
<string name="pref_panorama_cover_summary">Show cover in landscape mode if it\'s a wide image</string>
<string name="pref_panorama_cover_flow">Panorama Cover Flow</string>
<string name="pref_panorama_cover_flow_summary">Show panorama cover in Global Search &amp; Suggestions</string>
<string name="pref_top_align_cover">Align Cover to Top</string>
<string name="pref_top_align_cover_summary">Show the cover aligned to the top alongside manga info</string>
<string name="action_display_comfortable_grid_panorama">Panorama comfortable grid</string>
<string name="pref_expand_related_mangas">Expand Suggestions</string>
<string name="pref_expand_related_mangas_summary">If turned off, Suggestions won\'t automatically load &amp; show expanded</string>
<string name="put_related_mangas_in_overflow">Suggestions in overflow</string>
<string name="put_related_mangas_in_overflow_summary">Put the Suggestions button in the overflow menu instead of on the entry page</string>
<string name="pref_show_home_on_related_mangas">Home from Suggestions</string>
<string name="pref_show_home_on_related_mangas_summary">Show an icon while browsing Suggestions to navigate directly back to Home</string>
<string name="theme_cloudflare">Cloudflare</string>
<string name="theme_cottoncandy">Cotton Candy</string>
<string name="theme_doom">Doom</string>
<string name="theme_matrix">Matrix</string>
<string name="theme_mocha">Mocha</string>
<string name="theme_sapphire">Sapphire</string>
<!-- Custom Color Picker -->
<string name="pref_custom_color">Palette Personalizer</string>
<string name="custom_color_description">Pick a seed color for the custom Theme</string>
<string name="theme_custom">Custom Theme</string>
<string name="custom_theme_palette_casual">Casual</string>
<string name="custom_theme_palette_sunset">Sunset</string>
<string name="custom_theme_palette_outrun">Outrun</string>
<string name="custom_theme_palette_raspberry">Raspberry</string>
<string name="custom_theme_palette_pop">Pop</string>
<string name="custom_theme_palette_cathode">Cathode</string>
<string name="custom_theme_palette_bubblegum">Bubblegum</string>
<string name="custom_theme_palette_night_at_the_beach">Night at the beach</string>
<string name="custom_theme_palette_spectral">Spectral</string>
<string name="custom_theme_palette_patagonia">Patagonia</string>
<string name="custom_theme_palette_springfield">Springfield</string>
<string name="custom_theme_palette_lcd">LCD</string>
<string name="custom_theme_palette_pico">PICO-8</string>
<!-- Library section -->
<string name="pref_show_updating_progress_banner">Show updating progress banner</string>
<string name="action_display_source_badge">Source icon</string>
<string name="action_display_language_icon">Use language icon</string>
<string name="pref_library_filter_categories_details">Entries in excluded categories will not be shown even if they are also in included categories.</string>
<string name="updating">Updating</string>
<!-- Extension section -->
<string name="extensions_page_need_refresh">Refresh extension page to update list.</string>
<string name="extensions_page_more">More extensions...</string>
<!-- Extension repos -->
<!-- Downloads section -->
<string name="download_cache_renew_interval">Download cache renew interval</string>
<string name="download_cache_renew_interval_manual">Manual</string>
<string name="download_cache_renew_interval_1hour">1 hour</string>
<string name="download_cache_renew_interval_2hour">2 hours</string>
<string name="download_cache_renew_interval_6hour">6 hours</string>
<string name="download_cache_renew_interval_12hour">12 hours</string>
<string name="download_cache_renew_interval_24hour">1 day</string>
<string name="download_cache_renew_interval_info">If set to "manual", either refresh each manga or using the "Reindex downloads" action in "Advanced"</string>
<!-- Tracking section -->
<string name="pref_auto_sync_progress_from_trackers">Auto sync progress from Trackers</string>
<string name="sync_progress_from_trackers_up_to_chapter">Sync progress from Trackers up to chapter %d</string>
<string name="pref_track_on_add_library">Open track menu on adding to library</string>
<!-- Sync section -->
<string name="pref_show_restoring_progress_banner">Show restoring progress banner</string>
<string name="pref_show_syncing_progress_banner">Show syncing progress banner</string>
<!-- Advanced section -->
<string name="pref_clean_invalid_downloads">Clean invalid downloads</string>
<string name="pref_clean_invalid_downloads_summary">Find and remove all downloads, files, folders which are not saved in your library</string>
<string name="invalid_downloads_cleaned">Invalid downloads cleaned</string>
<string name="pref_private_installer_warning">Avoid using Private Installer because it\'s not stable yet, will lead to really slow start/resume App.</string>
<string name="saved_searches_feeds">Saved Searches &amp; Feeds</string>
<string name="preload_library_cover_color">Preload library's cover color</string>
<string name="auto_update_app">Auto-update app</string>
<string name="auto_update_app_disable_auto_download">Don't auto download update</string>
<!-- Onboarding section -->
<string name="onboarding_permission_external_storage">Access media files permission</string>
<string name="onboarding_permission_external_storage_description">Allow using custom covers in entry's Edit Info</string>
<string name="onboarding_permission_writing_external_storage_description">Allow saving covers &amp; using custom covers in entry's Edit Info</string>
<string name="permission_writing_external_storage_succeed">Permission granted. Try action again.</string>
<!-- About section -->
<string name="whats_coming">What\'s coming (soon)</string>
<!-- Manga info -->
<string name="action_allow_duplicate_manga">Allow it</string>
<string name="action_skip_duplicate_manga">Skip it</string>
<string name="action_allow_all_duplicate_manga">Allow all</string>
<string name="action_skip_all_duplicate_manga">Skip all</string>
<string name="downloaded_data">Downloaded data</string>
<string name="chapters_from_database">Chapters &amp; History from Database</string>
<!--UpdateCheck-->
<string name="update_check_try_now">Try now</string>
<string name="update_completed">Update completed</string>
<string name="open">Open</string>
<string name="release_page">Release page</string>
<string name="could_not_install_update">Could not install update</string>
<!--UpdateCheck Notifications-->
<string name="update_check_notification_preview_available">Coming (soon) updates!</string>
<!-- About -->
<string name="changelogs">Change Logs</string>
<string name="action_manual_install">Manual install</string>
<string name="manual_download">Manual download</string>
<!-- Browse settings -->
<string name="pref_source_related_mangas">Suggestions</string>
<string name="pref_source_related_mangas_summary">Show source-website's Suggestions while viewing entry</string>
<string name="related_mangas_website_suggestions">Website Suggestions</string>
<string name="related_mangas_more">More like these...</string>
<string name="saved_searches_add_feed">Saved Searches (Hold to add to Feed)</string>
<string name="saved_searches_delete">Saved Searches (Hold to delete)</string>
<!-- Error Screen -->
<string name="option_label_library_update_errors">Library update errors</string>
<string name="label_library_update_errors">Library update errors (%d)</string>
<string name="info_empty_library_update_errors">You have no library update errors.</string>
<string name="action_scroll_to_top">Scroll to top</string>
<string name="action_scroll_to_bottom">Scroll to bottom</string>
<string name="action_scroll_to_previous">Scroll to previous</string>
<string name="action_scroll_to_next">Scroll to next</string>
<!-- Feed Tab -->
<string name="too_many_in_feed">Too many sources in your feed, cannot add more than 20</string>
<string name="action_sort_feed">Sort feeds</string>
<string name="sort_feed_confirmation">Would you like to sort the feeds alphabetically?</string>
<!-- Migration -->
<string name="current_">Current: %1$s</string>
<string name="migrating_all_entries">Migrating all entries from source</string>
<!-- Misc -->
<string name="label_to_be_updated">To be updated</string>
<string name="sponsor_me">Sponsor Me</string>
<string name="batch_add_description">Support: MangaDex, E-H, ExH, nH, 8Muses, Tsumino</string>
<!-- Connections section -->
<string name="special_services">Special Services</string>
<string name="pref_category_connections">Connections</string>
<string name="pref_connections_summary">Discord, more to come..</string>
<string name="pref_discord_configuration">Configure Discord RPC</string>
<string name="connections_discord">Discord</string>
<string name="connections_discord_info">This Discord Service works through token logging. Use at your own risk. Your token is stored locally and %s does not share it anywhere else</string>
<string name="pref_discord_rpc">Discord Rich Presence</string>
<string name="show_chapters_titles_title">Show Chapter Titles</string>
<string name="show_chapters_titles_subtitle">Show the title of the chapter you are reading</string>
<string name="pref_enable_discord_rpc">Enable Discord Rich Presence</string>
<string name="pref_discord_status">Discord Status</string>
<string name="pref_discord_dnd">⛔ Do Not Disturb</string>
<string name="pref_discord_idle">🌙 Idle</string>
<string name="pref_discord_online">🟢 Online</string>
<string name="pref_category_discord_incognito">RPC Incognito</string>
<string name="pref_discord_incognito">Discord Incognito mode</string>
<string name="pref_discord_incognito_summary">Overridden when Incognito Mode is enabled</string>
<string name="pref_discord_incognito_categories_details">Entries in included categories will not be displayed in Discord</string>
<string name="discord_accounts">Discord Accounts</string>
<string name="active_account">Active Account</string>
<string name="no_accounts_found">No accounts found</string>
<string name="login_failed">Failed to login</string>
<!-- Discord section -->
<string name="discord_status_description">%1$s %2$s</string>
<string name="discord_status_using">Using</string>
<string name="discord_status_browsing">Browsing</string>
<string name="discord_status_scrolling">Scrolling through</string>
<string name="discord_status_messing">Messing around with</string>
<string name="discord_download_button">Read on %s</string>
<string name="discord_app_description">Komikku - a manga reader app</string>
<!-- Discord RPC Customization -->
<string name="pref_category_discord_customization">Discord Customization</string>
<string name="pref_discord_custom_message">Custom Message</string>
<string name="pref_discord_custom_message_summary">Custom message that will be displayed on Discord</string>
<string name="pref_discord_show_progress">Show Progress</string>
<string name="pref_discord_show_progress_summary">Display the current reading chapter</string>
<string name="pref_discord_show_timestamp">Show Time</string>
<string name="pref_discord_show_timestamp_summary">Display activity time</string>
<string name="pref_discord_show_buttons">Show Buttons</string>
<string name="pref_discord_show_buttons_summary">Display buttons to download the app or join the Discord server</string>
<string name="pref_discord_show_download_button">Show Download Button</string>
<string name="pref_discord_show_download_button_summary">Displays a button to download the app</string>
<string name="pref_discord_show_discord_button">Show Discord Button</string>
<string name="pref_discord_show_discord_button_summary">Displays a button to join the Discord server</string>
</resources>