Merge branch 'devel' into feature/suggestions
This commit is contained in:
@@ -1,6 +1,8 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<resources>
|
||||
|
||||
<attr name="sliderPreferenceStyle" />
|
||||
|
||||
<declare-styleable name="Theme">
|
||||
<attr name="navigationBarDividerColor" format="color" />
|
||||
<attr name="colorControlLight" format="color" />
|
||||
@@ -8,9 +10,14 @@
|
||||
</declare-styleable>
|
||||
|
||||
<!--CoverImageView attrs-->
|
||||
|
||||
<declare-styleable name="CoverImageView">
|
||||
<attr name="android:orientation" />
|
||||
</declare-styleable>
|
||||
|
||||
<declare-styleable name="SliderPreference">
|
||||
<attr name="android:valueFrom" />
|
||||
<attr name="android:valueTo" />
|
||||
<attr name="android:stepSize" />
|
||||
</declare-styleable>
|
||||
|
||||
</resources>
|
||||
@@ -1,6 +1,7 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<resources>
|
||||
<bool name="is_tablet">false</bool>
|
||||
<bool name="use_light_status">false</bool>
|
||||
<bool name="use_light_navigation">false</bool>
|
||||
<bool name="light_status_bar">true</bool>
|
||||
<bool name="light_navigation_bar">false</bool>
|
||||
<bool name="elevation_overlay_enabled">false</bool>
|
||||
</resources>
|
||||
@@ -1,29 +1,17 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<resources>
|
||||
|
||||
<color name="color_primary">#1976D2</color>
|
||||
<color name="color_primary_variant">#1565C0</color>
|
||||
<color name="color_on_secondary">@android:color/white</color>
|
||||
<color name="splash_color_background">#FFFFFF</color>
|
||||
<color name="splash_color">#1976D2</color>
|
||||
|
||||
<color name="color_control_light">#39000000</color>
|
||||
<color name="color_surface">#FFFFFF</color>
|
||||
<color name="color_background">#FFFFFF</color>
|
||||
<color name="error">#BA1B1B</color>
|
||||
<color name="errorContainer">#FFDAD4</color>
|
||||
<color name="onError">#FFFFFF</color>
|
||||
<color name="onErrorContainer">#410001</color>
|
||||
|
||||
<!-- Scrim colors -->
|
||||
<color name="system_ui_scrim_light">#B3FFFFFF</color> <!-- 70% white -->
|
||||
<color name="system_ui_scrim_dark">#40272727</color> <!-- 25% grey -->
|
||||
|
||||
<!-- We use a dark scrim by default since light status is API 23+ -->
|
||||
<color name="status_bar_scrim">@color/system_ui_scrim_dark</color>
|
||||
<!-- We use a dark scrim by default since light nav bar is API 27+ -->
|
||||
<color name="nav_bar_scrim">@color/system_ui_scrim_dark</color>
|
||||
|
||||
<!-- Other colors with dark mode alternatives -->
|
||||
<color name="list_divider">#1f000000</color>
|
||||
<color name="error">#B00020</color>
|
||||
|
||||
<!-- AMOLED colors -->
|
||||
<color name="system_ui_scrim_amoled">#B3000000</color>
|
||||
<!-- AMOLED Theme -->
|
||||
<color name="surface_amoled">#000001</color>
|
||||
<color name="background_amoled">#000000</color>
|
||||
|
||||
<!-- Other Colors -->
|
||||
|
||||
|
||||
29
app/src/main/res/values/colors_kotatsu.xml
Normal file
29
app/src/main/res/values/colors_kotatsu.xml
Normal file
@@ -0,0 +1,29 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
~ Colors for Default theme
|
||||
~ M3 colors generated by Material Theme Builder (https://goo.gle/material-theme-builder-web)
|
||||
-->
|
||||
<resources>
|
||||
<color name="kotatsu_primary">#005FB1</color>
|
||||
<color name="kotatsu_onPrimary">#FFFFFF</color>
|
||||
<color name="kotatsu_primaryContainer">#D3E3FF</color>
|
||||
<color name="kotatsu_onPrimaryContainer">#001C3B</color>
|
||||
<color name="kotatsu_secondary">#555F71</color>
|
||||
<color name="kotatsu_onSecondary">#FFFFFF</color>
|
||||
<color name="kotatsu_secondaryContainer">#D8E3F8</color>
|
||||
<color name="kotatsu_onSecondaryContainer">#121C2B</color>
|
||||
<color name="kotatsu_tertiary">#6E5676</color>
|
||||
<color name="kotatsu_onTertiary">#FFFFFF</color>
|
||||
<color name="kotatsu_tertiaryContainer">#F7D8FF</color>
|
||||
<color name="kotatsu_onTertiaryContainer">#271330</color>
|
||||
<color name="kotatsu_background">#FDFBFF</color>
|
||||
<color name="kotatsu_onBackground">#1B1B1D</color>
|
||||
<color name="kotatsu_surface">#FDFBFF</color>
|
||||
<color name="kotatsu_onSurface">#1B1B1D</color>
|
||||
<color name="kotatsu_surfaceVariant">#DFE2EB</color>
|
||||
<color name="kotatsu_onSurfaceVariant">#43474E</color>
|
||||
<color name="kotatsu_outline">#74777F</color>
|
||||
<color name="kotatsu_inverseOnSurface">#F1F0F4</color>
|
||||
<color name="kotatsu_inverseSurface">#2F3033</color>
|
||||
<color name="kotatsu_primaryInverse">#A4C8FF</color>
|
||||
</resources>
|
||||
@@ -18,9 +18,9 @@
|
||||
<dimen name="grid_spacing_outer">2dp</dimen>
|
||||
<dimen name="manga_list_item_height">86dp</dimen>
|
||||
<dimen name="manga_list_details_item_height">120dp</dimen>
|
||||
<dimen name="chapter_list_item_height">46dp</dimen>
|
||||
<dimen name="chapter_list_item_height">56dp</dimen>
|
||||
<dimen name="preferred_grid_width">120dp</dimen>
|
||||
<dimen name="header_height">34dp</dimen>
|
||||
<dimen name="header_height">48dp</dimen>
|
||||
<dimen name="elevation_large">16dp</dimen>
|
||||
<dimen name="list_footer_height_inner">36dp</dimen>
|
||||
<dimen name="list_footer_height_outer">48dp</dimen>
|
||||
|
||||
@@ -2,4 +2,5 @@
|
||||
<resources>
|
||||
<item name="toolbar" type="id" />
|
||||
<item name="container" type="id" />
|
||||
<item name="action_leaks" type="id" />
|
||||
</resources>
|
||||
@@ -7,8 +7,8 @@
|
||||
<string name="local_storage">Local storage</string>
|
||||
<string name="favourites">Favourites</string>
|
||||
<string name="history">History</string>
|
||||
<string name="error_occurred">An error has occurred</string>
|
||||
<string name="network_error">Network connection error</string>
|
||||
<string name="error_occurred">An error occurred</string>
|
||||
<string name="network_error">Could not connect to the Internet</string>
|
||||
<string name="details">Details</string>
|
||||
<string name="chapters">Chapters</string>
|
||||
<string name="list">List</string>
|
||||
@@ -23,12 +23,12 @@
|
||||
<string name="try_again">Try again</string>
|
||||
<string name="clear_history">Clear history</string>
|
||||
<string name="nothing_found">Nothing found</string>
|
||||
<string name="history_is_empty">History is empty</string>
|
||||
<string name="history_is_empty">No history yet</string>
|
||||
<string name="read">Read</string>
|
||||
<string name="add_bookmark">Add bookmark</string>
|
||||
<string name="you_have_not_favourites_yet">You have not favourites yet</string>
|
||||
<string name="add_to_favourites">Add to favourites</string>
|
||||
<string name="add_new_category">Add new category</string>
|
||||
<string name="you_have_not_favourites_yet">No favourites yet</string>
|
||||
<string name="add_to_favourites">Favourite this</string>
|
||||
<string name="add_new_category">New category</string>
|
||||
<string name="add">Add</string>
|
||||
<string name="enter_category_name">Enter category name</string>
|
||||
<string name="save">Save</string>
|
||||
@@ -37,40 +37,40 @@
|
||||
<string name="share_s">Share %s</string>
|
||||
<string name="search">Search</string>
|
||||
<string name="search_manga">Search manga</string>
|
||||
<string name="manga_downloading_">Manga downloading…</string>
|
||||
<string name="manga_downloading_">Downloading…</string>
|
||||
<string name="processing_">Processing…</string>
|
||||
<string name="download_complete">Download complete</string>
|
||||
<string name="download_complete">Downloaded</string>
|
||||
<string name="downloads">Downloads</string>
|
||||
<string name="by_name">By name</string>
|
||||
<string name="by_name">Name</string>
|
||||
<string name="popular">Popular</string>
|
||||
<string name="updated">Updated</string>
|
||||
<string name="newest">Newest</string>
|
||||
<string name="by_rating">By rating</string>
|
||||
<string name="by_rating">Rating</string>
|
||||
<string name="all">All</string>
|
||||
<string name="sort_order">Sort order</string>
|
||||
<string name="sort_order">Sorting order</string>
|
||||
<string name="genre">Genre</string>
|
||||
<string name="filter">Filter</string>
|
||||
<string name="theme">Theme</string>
|
||||
<string name="light">Light</string>
|
||||
<string name="dark">Dark</string>
|
||||
<string name="automatic">Automatic</string>
|
||||
<string name="automatic">Follow system</string>
|
||||
<string name="pages">Pages</string>
|
||||
<string name="clear">Clear</string>
|
||||
<string name="text_clear_history_prompt">Do you really want to clear all your reading history? This action cannot be undone.</string>
|
||||
<string name="text_clear_history_prompt">Clear all reading history permanently?</string>
|
||||
<string name="remove">Remove</string>
|
||||
<string name="_s_removed_from_history">\"%s\" removed from history</string>
|
||||
<string name="_s_deleted_from_local_storage">\"%s\" deleted from local storage</string>
|
||||
<string name="wait_for_loading_finish">Wait for the load to finish</string>
|
||||
<string name="wait_for_loading_finish">Wait for loading to finish…</string>
|
||||
<string name="save_page">Save page</string>
|
||||
<string name="page_saved">Page saved successful</string>
|
||||
<string name="page_saved">Saved</string>
|
||||
<string name="share_image">Share image</string>
|
||||
<string name="_import">Import</string>
|
||||
<string name="delete">Delete</string>
|
||||
<string name="operation_not_supported">This operation is not supported</string>
|
||||
<string name="text_file_not_supported">Invalid file. Only ZIP and CBZ are supported.</string>
|
||||
<string name="text_file_not_supported">Either pick a ZIP or CBZ file.</string>
|
||||
<string name="no_description">No description</string>
|
||||
<string name="history_and_cache">History and cache</string>
|
||||
<string name="clear_pages_cache">Clear pages cache</string>
|
||||
<string name="clear_pages_cache">Clear page cache</string>
|
||||
<string name="cache">Cache</string>
|
||||
<string name="text_file_sizes">B|kB|MB|GB|TB</string>
|
||||
<string name="standard">Standard</string>
|
||||
@@ -79,32 +79,32 @@
|
||||
<string name="grid_size">Grid size</string>
|
||||
<string name="search_on_s">Search on %s</string>
|
||||
<string name="delete_manga">Delete manga</string>
|
||||
<string name="text_delete_local_manga">Do you really want to delete \"%s\" from your phone\'s local storage? \nThis operation cannot be undone.</string>
|
||||
<string name="text_delete_local_manga">Delete \"%s\" from device permanently?</string>
|
||||
<string name="reader_settings">Reader settings</string>
|
||||
<string name="switch_pages">Switch pages</string>
|
||||
<string name="taps_on_edges">Taps on edges</string>
|
||||
<string name="taps_on_edges">Edge taps</string>
|
||||
<string name="volume_buttons">Volume buttons</string>
|
||||
<string name="_continue">Continue</string>
|
||||
<string name="warning">Warning</string>
|
||||
<string name="network_consumption_warning">This operation may consume a lot of network traffic</string>
|
||||
<string name="dont_ask_again">Don`t ask again</string>
|
||||
<string name="network_consumption_warning">This may transfer a lot of data</string>
|
||||
<string name="dont_ask_again">Don\'t ask again</string>
|
||||
<string name="cancelling_">Cancelling…</string>
|
||||
<string name="error">Error</string>
|
||||
<string name="clear_thumbs_cache">Clear thumbnails cache</string>
|
||||
<string name="clear_search_history">Clear search history</string>
|
||||
<string name="search_history_cleared">Search history cleared</string>
|
||||
<string name="search_history_cleared">Cleared</string>
|
||||
<string name="gestures_only">Gestures only</string>
|
||||
<string name="internal_storage">Internal storage</string>
|
||||
<string name="external_storage">External storage</string>
|
||||
<string name="domain">Domain</string>
|
||||
<string name="application_update">Check for updates automatically</string>
|
||||
<string name="app_update_available">Application update is available</string>
|
||||
<string name="show_notification_app_update">Show notification if update is available</string>
|
||||
<string name="open_in_browser">Open in browser</string>
|
||||
<string name="large_manga_save_confirm">This manga has %s. Do you want to save all of it?</string>
|
||||
<string name="save_manga">Save manga</string>
|
||||
<string name="application_update">Check for new versions of the app</string>
|
||||
<string name="app_update_available">A new version of the app is available</string>
|
||||
<string name="show_notification_app_update">Show notification if a new version is available</string>
|
||||
<string name="open_in_browser">Open in web browser</string>
|
||||
<string name="large_manga_save_confirm">This manga has %s. Save all of it?</string>
|
||||
<string name="save_manga">Save</string>
|
||||
<string name="notifications">Notifications</string>
|
||||
<string name="enabled_d_of_d" tools:ignore="PluralsCandidate">Enabled %1$d of %2$d</string>
|
||||
<string name="enabled_d_of_d" tools:ignore="PluralsCandidate">Turned on %1$d of %2$d</string>
|
||||
<string name="new_chapters">New chapters</string>
|
||||
<string name="show_notification_new_chapters">Notify about updates of manga you are reading</string>
|
||||
<string name="download">Download</string>
|
||||
@@ -112,61 +112,61 @@
|
||||
<string name="restart">Restart</string>
|
||||
<string name="notifications_settings">Notifications settings</string>
|
||||
<string name="notification_sound">Notification sound</string>
|
||||
<string name="light_indicator">Light indicator</string>
|
||||
<string name="light_indicator">LED indicator</string>
|
||||
<string name="vibration">Vibration</string>
|
||||
<string name="favourites_categories">Favourites categories</string>
|
||||
<string name="favourites_categories">Favourite categories</string>
|
||||
<string name="categories_">Categories…</string>
|
||||
<string name="rename">Rename</string>
|
||||
<string name="category_delete_confirm">Do you really want to remove category \"%s\" from your favourites? \nAll containing manga will be lost.</string>
|
||||
<string name="remove_category">Remove category</string>
|
||||
<string name="category_delete_confirm">Remove the \"%s\" category from your favourites? \nAll manga in it will be lost.</string>
|
||||
<string name="remove_category">Remove</string>
|
||||
<string name="text_empty_holder_primary">It\'s kind of empty here…</string>
|
||||
<string name="text_categories_holder">You can use categories to organize your favourite manga. Press «+» to create a category</string>
|
||||
<string name="text_categories_holder">You can use categories to organize your favourites. Press «+» to create a category</string>
|
||||
<string name="text_search_holder_secondary">Try to reformulate the query.</string>
|
||||
<string name="text_history_holder_primary">Manga you are reading will be displayed here</string>
|
||||
<string name="text_history_holder_secondary">You can find what to read in side menu.</string>
|
||||
<string name="text_local_holder_primary">You have not any saved manga yet</string>
|
||||
<string name="text_local_holder_secondary">You can save it from online sources or import from file.</string>
|
||||
<string name="manga_shelf">Manga shelf</string>
|
||||
<string name="recent_manga">Recent manga</string>
|
||||
<string name="pages_animation">Pages animation</string>
|
||||
<string name="manga_save_location">Manga download location</string>
|
||||
<string name="text_history_holder_primary">What you read will be displayed here</string>
|
||||
<string name="text_history_holder_secondary">Find what to read in side menu.</string>
|
||||
<string name="text_local_holder_primary">Save something first</string>
|
||||
<string name="text_local_holder_secondary">Save it from online sources or import files.</string>
|
||||
<string name="manga_shelf">Shelf</string>
|
||||
<string name="recent_manga">Recent</string>
|
||||
<string name="pages_animation">Page animation</string>
|
||||
<string name="manga_save_location">Folder for downloads</string>
|
||||
<string name="not_available">Not available</string>
|
||||
<string name="cannot_find_available_storage">Cannot find any available storage</string>
|
||||
<string name="cannot_find_available_storage">No available storage</string>
|
||||
<string name="other_storage">Other storage</string>
|
||||
<string name="use_ssl">Use secure connection (HTTPS)</string>
|
||||
<string name="use_ssl">Use secure (HTTPS) connection</string>
|
||||
<string name="done">Done</string>
|
||||
<string name="all_favourites">All favourites</string>
|
||||
<string name="favourites_category_empty">This category is empty</string>
|
||||
<string name="favourites_category_empty">Empty category</string>
|
||||
<string name="read_later">Read later</string>
|
||||
<string name="updates">Updates</string>
|
||||
<string name="text_feed_holder">Here you will see the new chapters of the manga you are reading</string>
|
||||
<string name="text_feed_holder">New chapters of what you are reading is shown here</string>
|
||||
<string name="search_results">Search results</string>
|
||||
<string name="related">Related</string>
|
||||
<string name="new_version_s">New version: %s</string>
|
||||
<string name="size_s">Size: %s</string>
|
||||
<string name="waiting_for_network">Waiting for network…</string>
|
||||
<string name="clear_updates_feed">Clear updates feed</string>
|
||||
<string name="updates_feed_cleared">Updates feed cleared</string>
|
||||
<string name="updates_feed_cleared">Cleared</string>
|
||||
<string name="rotate_screen">Rotate screen</string>
|
||||
<string name="update">Update</string>
|
||||
<string name="feed_will_update_soon">Feed update will start soon</string>
|
||||
<string name="track_sources">Check updates for manga</string>
|
||||
<string name="dont_check">Don`t check</string>
|
||||
<string name="track_sources">Look for updates</string>
|
||||
<string name="dont_check">Don\'t check</string>
|
||||
<string name="enter_password">Enter password</string>
|
||||
<string name="wrong_password">Wrong password</string>
|
||||
<string name="protect_application">Protect application</string>
|
||||
<string name="protect_application_summary">Ask for password on application start</string>
|
||||
<string name="repeat_password">Repeat password</string>
|
||||
<string name="passwords_mismatch">Passwords do not match</string>
|
||||
<string name="protect_application">Protect the app</string>
|
||||
<string name="protect_application_summary">Ask for password when starting Kotatsu</string>
|
||||
<string name="repeat_password">Repeat the password</string>
|
||||
<string name="passwords_mismatch">Mismatching passwords</string>
|
||||
<string name="about">About</string>
|
||||
<string name="app_version">Version %s</string>
|
||||
<string name="check_for_updates">Check for updates</string>
|
||||
<string name="checking_for_updates">Checking for updates…</string>
|
||||
<string name="update_check_failed">Update check failed</string>
|
||||
<string name="update_check_failed">Could not look for updates</string>
|
||||
<string name="no_update_available">No updates available</string>
|
||||
<string name="right_to_left">Right to left</string>
|
||||
<string name="prefer_rtl_reader">Prefer Right to left reader</string>
|
||||
<string name="prefer_rtl_reader_summary">You can set up the reading mode for each manga separately</string>
|
||||
<string name="right_to_left">Right-to-left (←)</string>
|
||||
<string name="prefer_rtl_reader">Prefer right-to-left (→) reader</string>
|
||||
<string name="prefer_rtl_reader_summary">Reading mode can be set up separately for each series</string>
|
||||
<string name="create_category">New category</string>
|
||||
<string name="report_github">Create issue on GitHub</string>
|
||||
<string name="scale_mode">Scale mode</string>
|
||||
@@ -174,17 +174,17 @@
|
||||
<string name="zoom_mode_fit_height">Fit to height</string>
|
||||
<string name="zoom_mode_fit_width">Fit to width</string>
|
||||
<string name="zoom_mode_keep_start">Keep at start</string>
|
||||
<string name="black_dark_theme">Black dark theme</string>
|
||||
<string name="black_dark_theme_summary">Useful for AMOLED screens</string>
|
||||
<string name="black_dark_theme">Black</string>
|
||||
<string name="black_dark_theme_summary">Uses less power on AMOLED screens</string>
|
||||
<string name="restart_required">Restart required</string>
|
||||
<string name="backup_restore"><![CDATA[Backup & Restore]]></string>
|
||||
<string name="backup_restore"><![CDATA[Backup and restore]]></string>
|
||||
<string name="create_backup">Create data backup</string>
|
||||
<string name="restore_backup">Restore from backup</string>
|
||||
<string name="data_restored">Data restored</string>
|
||||
<string name="data_restored">Restored</string>
|
||||
<string name="preparing_">Preparing…</string>
|
||||
<string name="file_not_found">File not found</string>
|
||||
<string name="data_restored_success">All data restored successfully</string>
|
||||
<string name="data_restored_with_errors">The data restored, but there are errors</string>
|
||||
<string name="data_restored_success">All data was restored</string>
|
||||
<string name="data_restored_with_errors">The data was restored, but there are errors</string>
|
||||
<string name="backup_information">You can create backup of your history and favourites and restore it</string>
|
||||
<string name="just_now">Just now</string>
|
||||
<string name="yesterday">Yesterday</string>
|
||||
@@ -192,54 +192,65 @@
|
||||
<string name="group">Group</string>
|
||||
<string name="today">Today</string>
|
||||
<string name="tap_to_try_again">Tap to try again</string>
|
||||
<string name="reader_mode_hint">Chosen configuration will be remembered for this manga</string>
|
||||
<string name="reader_mode_hint">The chosen configuration will be remembered for this manga</string>
|
||||
<string name="silent">Silent</string>
|
||||
<string name="captcha_required">CAPTCHA is required</string>
|
||||
<string name="captcha_required">CAPTCHA required</string>
|
||||
<string name="captcha_solve">Solve</string>
|
||||
<string name="clear_cookies">Clear cookies</string>
|
||||
<string name="cookies_cleared">All cookies was removed</string>
|
||||
<string name="cookies_cleared">All cookies were removed</string>
|
||||
<string name="chapters_checking_progress">Checking for new chapters: %1$d of %2$d</string>
|
||||
<string name="clear_feed">Clear feed</string>
|
||||
<string name="text_clear_updates_feed_prompt">All updates history will be cleared and this action cannot be undone. Are you sure?</string>
|
||||
<string name="new_chapters_checking">New chapters checking</string>
|
||||
<string name="text_clear_updates_feed_prompt">Clear all update history permanently?</string>
|
||||
<string name="new_chapters_checking">Looking for new chapters…</string>
|
||||
<string name="reverse">Reverse</string>
|
||||
<string name="sign_in">Sign in</string>
|
||||
<string name="auth_required">You should authorize to view this content</string>
|
||||
<string name="auth_required">Sign in to view this content</string>
|
||||
<string name="default_s">Default: %s</string>
|
||||
<string name="_and_x_more">…and %1$d more</string>
|
||||
<string name="next">Next</string>
|
||||
<string name="protect_application_subtitle">Enter password that will be required when the application starts</string>
|
||||
<string name="protect_application_subtitle">Enter a password to start the app with</string>
|
||||
<string name="confirm">Confirm</string>
|
||||
<string name="password_length_hint">Password must be at least 4 characters</string>
|
||||
<string name="password_length_hint">The password must be 4 characters or more</string>
|
||||
<string name="hide_toolbar">Hide toolbar when scrolling</string>
|
||||
<string name="search_only_on_s">Search only on %s</string>
|
||||
<string name="text_clear_search_history_prompt">Do you really want to remove all recent search queries? This action cannot be undone.</string>
|
||||
<string name="text_clear_search_history_prompt">Remove all recent search queries permanently?</string>
|
||||
<string name="other">Other</string>
|
||||
<string name="languages">Languages</string>
|
||||
<string name="welcome">Welcome</string>
|
||||
<string name="description">Description</string>
|
||||
<string name="backup_saved">Backup saved successfully</string>
|
||||
<string name="tracker_warning">Some manufacturers can change the system behavior, which may breaks background tasks.</string>
|
||||
<string name="read_more">Read more</string>
|
||||
<string name="queued">Queued</string>
|
||||
<string name="text_downloads_holder">There are currently no active downloads</string>
|
||||
<string name="chapter_is_missing_text">This chapter is missing on your device. Download or read it online.</string>
|
||||
<string name="chapter_is_missing">Chapter is missing</string>
|
||||
<string name="about_app_translation_summary">Translate this app</string>
|
||||
<string name="about_app_translation">Translation</string>
|
||||
<string name="about_author">Author</string>
|
||||
<string name="about_feedback">Feedback</string>
|
||||
<string name="about_feedback_4pda">Topic on 4PDA</string>
|
||||
<string name="about_support_developer">Support the developer</string>
|
||||
<string name="about_support_developer_summary">If you like this app, you can help financially through Yoomoney (ex. Yandex.Money)</string>
|
||||
<string name="about_gratitudes">Gratitudes</string>
|
||||
<string name="about_gratitudes_summary">These people make Kotatsu become better!</string>
|
||||
<string name="about_copyright_and_licenses">Copyright & Licenses</string>
|
||||
<string name="about_license">License</string>
|
||||
<string name="auth_complete">Authorization complete</string>
|
||||
<string name="auth_not_supported_by">Authorization on %s is not supported</string>
|
||||
<string name="text_clear_cookies_prompt">You will be logged out from all sources that you are authorized in</string>
|
||||
<string name="welcome">Welcome</string>
|
||||
<string name="description">Description</string>
|
||||
<string name="backup_saved">Backup saved</string>
|
||||
<string name="tracker_warning">Some devices have different system behavior, which may break background tasks.</string>
|
||||
<string name="read_more">Read more</string>
|
||||
<string name="queued">Queued</string>
|
||||
<string name="text_downloads_holder">No active downloads</string>
|
||||
<string name="chapter_is_missing_text">Download or read this missing chapter online.</string>
|
||||
<string name="chapter_is_missing">The chapter is missing</string>
|
||||
<string name="about_app_translation_summary">Translate this app</string>
|
||||
<string name="about_app_translation">Translation</string>
|
||||
<string name="about_author">Author</string>
|
||||
<string name="about_feedback">Feedback</string>
|
||||
<string name="about_feedback_4pda">Topic on 4PDA</string>
|
||||
<string name="about_support_developer">Support the developer</string>
|
||||
<string name="about_support_developer_summary">If you like this app, you can send money through Yoomoney (ex. Yandex.Money)</string>
|
||||
<string name="about_gratitudes">Gratitudes</string>
|
||||
<string name="about_gratitudes_summary">These people all made Kotatsu better</string>
|
||||
<string name="about_copyright_and_licenses">Copyright and Licenses</string>
|
||||
<string name="about_license">License</string>
|
||||
<string name="auth_complete">Authorized</string>
|
||||
<string name="auth_not_supported_by">Logging in on %s is not supported</string>
|
||||
<string name="text_clear_cookies_prompt">You will be logged out from all sources</string>
|
||||
<string name="genres">Genres</string>
|
||||
<string name="suggestions">Suggestions</string>
|
||||
<string name="text_suggestion_holder">Start reading manga and you will get personalized suggestions</string>
|
||||
<string name="state_finished">Finished</string>
|
||||
<string name="state_ongoing">Ongoing</string>
|
||||
<string name="date_format">Date format</string>
|
||||
<string name="system_default">Default</string>
|
||||
<string name="exclude_nsfw_from_history">Exclude NSFW manga from history</string>
|
||||
<string name="error_empty_name">You must enter a name</string>
|
||||
<string name="show_pages_numbers">Numbered pages</string>
|
||||
<string name="enabled_sources">Used sources</string>
|
||||
<string name="available_sources">Available sources</string>
|
||||
<string name="dynamic_theme">Dynamic theme</string>
|
||||
<string name="dynamic_theme_summary">Applies a theme created on the color scheme of your wallpaper</string>
|
||||
<string name="suggestions">Suggestions</string>
|
||||
<string name="text_suggestion_holder">Start reading manga and you will get personalized suggestions</string>
|
||||
</resources>
|
||||
@@ -1,39 +1,35 @@
|
||||
<resources>
|
||||
<resources xmlns:tools="http://schemas.android.com/tools">
|
||||
|
||||
<!--Toolbars-->
|
||||
|
||||
<style name="Theme.Kotatsu.ActionMode.CloseButton" parent="Widget.AppCompat.ActionButton.CloseMode">
|
||||
<item name="android:tint">?attr/colorOnSurface</item>
|
||||
</style>
|
||||
|
||||
<style name="Theme.Kotatsu.ActionButton.Overflow" parent="Widget.AppCompat.ActionButton.Overflow">
|
||||
<item name="android:tint">?attr/colorOnSurface</item>
|
||||
</style>
|
||||
|
||||
<!--AlertDialog-->
|
||||
|
||||
<style name="ThemeOverlay.Kotatsu.MaterialAlertDialog" parent="ThemeOverlay.Material3.MaterialAlertDialog">
|
||||
<item name="android:background">?attr/colorSurface</item>
|
||||
<item name="android:textColorPrimary">?attr/colorOnSurface</item>
|
||||
<item name="android:textColor">?attr/colorOnSurface</item>
|
||||
<item name="dialogCornerRadius">28dp</item>
|
||||
</style>
|
||||
|
||||
<!-- Widget styles -->
|
||||
|
||||
<style name="Widget.Kotatsu" parent="@android:style/Widget.Material" />
|
||||
|
||||
<style name="Widget.Kotatsu.AppBar" parent="@style/Widget.Design.AppBarLayout">
|
||||
<item name="android:background">?attr/colorSurface</item>
|
||||
<item name="android:elevation">4dp</item>
|
||||
<style name="Widget.Kotatsu.Tabs" parent="@style/Widget.Material3.TabLayout">
|
||||
<item name="tabGravity">center</item>
|
||||
<item name="tabInlineLabel">true</item>
|
||||
<item name="tabMinWidth">75dp</item>
|
||||
<item name="tabMode">scrollable</item>
|
||||
<item name="tabRippleColor">@color/ripple_toolbar</item>
|
||||
</style>
|
||||
|
||||
<style name="Widget.Kotatsu.Sheet.AppBar" parent="@style/Widget.Kotatsu.AppBar">
|
||||
<item name="android:elevation">0dp</item>
|
||||
</style>
|
||||
|
||||
<style name="Widget.Kotatsu.Toolbar" parent="Widget.MaterialComponents.Toolbar">
|
||||
<item name="android:paddingEnd">8dp</item>
|
||||
<item name="popupTheme">@style/ThemeOverlay.Kotatsu</item>
|
||||
<item name="titleTextAppearance">@style/TextAppearance.Kotatsu.ToolbarTitle</item>
|
||||
</style>
|
||||
|
||||
<style name="Widget.Kotatsu.Tabs" parent="@style/Widget.MaterialComponents.TabLayout">
|
||||
<item name="tabIndicatorFullWidth">false</item>
|
||||
<item name="android:background">@drawable/tabs_background</item>
|
||||
<item name="tabIndicator">@drawable/tab_indicator</item>
|
||||
<item name="tabIconTint">@color/tab_text</item>
|
||||
<item name="tabSelectedTextColor">?colorPrimary</item>
|
||||
<item name="tabTextColor">@color/tab_text</item>
|
||||
<item name="tabTextAppearance">@style/TextAppearance.Kotatsu.Tab</item>
|
||||
<item name="tabIndicatorAnimationMode">elastic</item>
|
||||
</style>
|
||||
|
||||
<style name="Widget.Kotatsu.NavigationView" parent="@style/Widget.MaterialComponents.NavigationView">
|
||||
<item name="itemBackground">@drawable/navigation_item_background</item>
|
||||
<item name="itemHorizontalPadding">@dimen/nav_item_horizontal_padding</item>
|
||||
</style>
|
||||
<style name="Widget.Kotatsu.NavigationView" parent="@style/Widget.Material3.NavigationView" />
|
||||
|
||||
<style name="Widget.Kotatsu.SearchView" parent="@style/Widget.AppCompat.SearchView">
|
||||
<item name="iconifiedByDefault">false</item>
|
||||
@@ -43,43 +39,61 @@
|
||||
<item name="android:textSize">18sp</item>
|
||||
</style>
|
||||
|
||||
<style name="Widget.Kotatsu.Chip" parent="Widget.MaterialComponents.Chip.Action">
|
||||
<item name="chipStrokeWidth">1dp</item>
|
||||
<item name="chipStrokeColor">?attr/colorPrimary</item>
|
||||
<item name="chipBackgroundColor">@android:color/transparent</item>
|
||||
<item name="chipIconTint">?attr/colorPrimary</item>
|
||||
|
||||
<!-- Smaller text/height -->
|
||||
<item name="android:textSize">12sp</item>
|
||||
<style name="Widget.Kotatsu.Chip" parent="Widget.Material3.Chip.Suggestion">
|
||||
<item name="chipSurfaceColor">?attr/colorSurface</item>
|
||||
<item name="android:textColor">?attr/colorOnSurfaceVariant</item>
|
||||
<item name="strokeColor">?attr/colorOutline</item>
|
||||
<item name="rippleColor">?attr/colorControlHighlight</item>
|
||||
|
||||
<!-- Custom chip states -->
|
||||
<item name="android:clickable">true</item>
|
||||
<item name="android:focusable">true</item>
|
||||
|
||||
<!-- Smaller text/height -->
|
||||
<item name="chipMinHeight">28dp</item>
|
||||
|
||||
<!-- Collapse horizontal margin -->
|
||||
<item name="chipMinTouchTargetSize">28dp</item>
|
||||
</style>
|
||||
|
||||
<style name="Widget.Kotatsu.ToggleButton" parent="Widget.MaterialComponents.Button.OutlinedButton">
|
||||
<style name="Widget.Kotatsu.ToggleButton" parent="Widget.Material3.Button.OutlinedButton">
|
||||
<item name="android:checkable">true</item>
|
||||
<item name="android:gravity">center_vertical|start</item>
|
||||
<item name="android:textAlignment">textStart</item>
|
||||
<item name="iconPadding">16dp</item>
|
||||
<item name="android:paddingTop">10dp</item>
|
||||
<item name="android:paddingBottom">10dp</item>
|
||||
</style>
|
||||
|
||||
<style name="Widget.Kotatsu.ActionMode" parent="Widget.AppCompat.ActionMode">
|
||||
<style name="Widget.Kotatsu.ActionMode" parent="Widget.Material3.ActionMode">
|
||||
<item name="titleTextStyle">?attr/textAppearanceHeadline6</item>
|
||||
<item name="subtitleTextStyle">?attr/textAppearanceSubtitle1</item>
|
||||
</style>
|
||||
|
||||
<!-- textAppearance alone doesn't support line spacing attrs. Multiline body text will use
|
||||
style="Widget.Kotatsu.MultilineBody" instead of the equivalent textAppearance.
|
||||
-->
|
||||
<style name="Widget.Kotatsu.MultilineBody">
|
||||
<item name="android:lineSpacingExtra">4sp</item>
|
||||
<item name="android:textColor">?android:textColorSecondary</item>
|
||||
<style name="Widget.Kotatsu.Switch" parent="Widget.Material3.CompoundButton.Switch">
|
||||
<item name="materialThemeOverlay">@style/ThemeOverlay.Kotatsu.Switch</item>
|
||||
</style>
|
||||
|
||||
<style name="Widget.Kotatsu.Button.InlineButton" parent="Widget.Material3.Button.TextButton">
|
||||
<item name="android:minHeight">0dp</item>
|
||||
<item name="android:minWidth">0dp</item>
|
||||
<item name="android:paddingTop">0dp</item>
|
||||
<item name="android:paddingBottom">0dp</item>
|
||||
<item name="android:insetTop">0dp</item>
|
||||
<item name="android:insetBottom">0dp</item>
|
||||
|
||||
<item name="android:background">?android:attr/colorBackground</item>
|
||||
<item name="backgroundTint">@null</item>
|
||||
<item name="rippleColor">@null</item>
|
||||
</style>
|
||||
|
||||
<style name="ThemeOverlay.Kotatsu.Switch" parent="">
|
||||
<item name="elevationOverlayEnabled">@bool/elevation_overlay_enabled</item>
|
||||
</style>
|
||||
|
||||
<!-- TextAppearance -->
|
||||
|
||||
<style name="TextAppearance.Widget.Menu" parent="TextAppearance.AppCompat.Menu">
|
||||
<item name="android:textColor">?attr/colorOnBackground</item>
|
||||
</style>
|
||||
|
||||
<style name="TextAppearance.Kotatsu.ToolbarTitle" parent="@style/TextAppearance.Widget.AppCompat.Toolbar.Title">
|
||||
<item name="android:textSize">20sp</item>
|
||||
</style>
|
||||
@@ -93,10 +107,7 @@
|
||||
<item name="android:textAllCaps">false</item>
|
||||
</style>
|
||||
|
||||
<style name="TextAppearance.Kotatsu.Button" parent="TextAppearance.MaterialComponents.Button">
|
||||
<item name="android:letterSpacing">0</item>
|
||||
<item name="android:textAllCaps">false</item>
|
||||
</style>
|
||||
<style name="TextAppearance.Kotatsu.Button" parent="TextAppearance.Material3.TitleSmall"/>
|
||||
|
||||
<style name="TextAppearance.Kotatsu.ListPrimary" parent="TextAppearance.MaterialComponents.Body1">
|
||||
<item name="android:letterSpacing">0</item>
|
||||
@@ -104,12 +115,29 @@
|
||||
|
||||
<style name="TextAppearance.Kotatsu.Body2" parent="TextAppearance.MaterialComponents.Body2" />
|
||||
|
||||
<style name="TextAppearance.Kotatsu.H1" parent="@style/TextAppearance.MaterialComponents.Headline5">
|
||||
<style name="TextAppearance.Kotatsu.H1" parent="@style/TextAppearance.Material3.HeadlineLarge">
|
||||
<item name="android:textSize">@dimen/text_size_h1</item>
|
||||
</style>
|
||||
|
||||
<style name="TextAppearance.Kotatsu.NoticeBody" parent="@style/Widget.Kotatsu.MultilineBody">
|
||||
<item name="android:textSize">18sp</item>
|
||||
<style name="TextAppearance.Kotatsu.FloatingTitle" parent="TextAppearance.Material3.TitleLarge">
|
||||
<item name="android:textSize">16sp</item>
|
||||
</style>
|
||||
|
||||
<style name="TextAppearance.Kotatsu.Preference.Secondary" parent="TextAppearance.Material3.BodySmall" />
|
||||
|
||||
<style name="TextAppearance.Kotatsu.SectionHeader" parent="TextAppearance.Material3.LabelLarge">
|
||||
<item name="android:textColor">?android:attr/textColorSecondary</item>
|
||||
</style>
|
||||
|
||||
<!--Preferences-->
|
||||
|
||||
<style name="PreferenceThemeOverlay.Kotatsu">
|
||||
<item name="preferenceCategoryTitleTextAppearance">?attr/textAppearanceBodyMedium</item>
|
||||
<item name="singleLineTitle">false</item>
|
||||
</style>
|
||||
|
||||
<style name="Preference.Slider" parent="Preference.SeekBarPreference.Material">
|
||||
<item name="android:layout">@layout/pref_slider</item>
|
||||
</style>
|
||||
|
||||
</resources>
|
||||
@@ -2,48 +2,86 @@
|
||||
<resources xmlns:tools="http://schemas.android.com/tools">
|
||||
|
||||
<!-- Base application theme. -->
|
||||
<style name="Base.AppTheme" parent="Theme.MaterialComponents.DayNight.NoActionBar">
|
||||
<!-- Customize your theme here. -->
|
||||
<item name="colorPrimary">@color/color_primary</item>
|
||||
<item name="colorPrimaryVariant">@color/color_primary_variant</item>
|
||||
<item name="colorSecondary">?attr/colorPrimary</item>
|
||||
<item name="colorOnSecondary">@color/color_on_secondary</item>
|
||||
<item name="colorControlLight">@color/color_control_light</item>
|
||||
<style name="Base.Theme.Kotatsu" parent="Theme.Material3.DayNight.NoActionBar">
|
||||
|
||||
<!-- Window decor -->
|
||||
<item name="android:windowLightStatusBar" tools:targetApi="m">@bool/use_light_status</item>
|
||||
<item name="android:statusBarColor">@color/status_bar_scrim</item>
|
||||
<item name="android:windowLightNavigationBar" tools:targetApi="o_mr1">@bool/use_light_navigation</item>
|
||||
<item name="android:navigationBarColor">@color/nav_bar_scrim</item>
|
||||
<item name="popupTheme">@style/ThemeOverlay.Kotatsu</item>
|
||||
<!-- Disallow 'Force dark theme' -->
|
||||
<item name="android:forceDarkAllowed" tools:targetApi="Q">false</item>
|
||||
|
||||
<!-- Widget styles -->
|
||||
<item name="toolbarStyle">@style/Widget.Kotatsu.Toolbar</item>
|
||||
<item name="tabStyle">@style/Widget.Kotatsu.Tabs</item>
|
||||
<item name="navigationViewStyle">@style/Widget.Kotatsu.NavigationView</item>
|
||||
<item name="searchViewStyle">@style/Widget.Kotatsu.SearchView</item>
|
||||
<!-- Theme Colors -->
|
||||
<item name="colorPrimary">@color/kotatsu_primary</item>
|
||||
<item name="colorOnPrimary">@color/kotatsu_onPrimary</item>
|
||||
<item name="colorPrimaryContainer">@color/kotatsu_primaryContainer</item>
|
||||
<item name="colorOnPrimaryContainer">@color/kotatsu_onPrimaryContainer</item>
|
||||
<item name="colorSecondary">@color/kotatsu_secondary</item>
|
||||
<item name="colorOnSecondary">@color/kotatsu_onSecondary</item>
|
||||
<item name="colorSecondaryContainer">@color/kotatsu_secondaryContainer</item>
|
||||
<item name="colorOnSecondaryContainer">@color/kotatsu_onSecondaryContainer</item>
|
||||
<item name="colorTertiary">@color/kotatsu_tertiary</item>
|
||||
<item name="colorOnTertiary">@color/kotatsu_onTertiary</item>
|
||||
<item name="colorTertiaryContainer">@color/kotatsu_tertiaryContainer</item>
|
||||
<item name="colorOnTertiaryContainer">@color/kotatsu_onTertiaryContainer</item>
|
||||
<item name="android:colorBackground">@color/kotatsu_background</item>
|
||||
<item name="colorOnBackground">@color/kotatsu_onBackground</item>
|
||||
<item name="colorSurface">@color/kotatsu_surface</item>
|
||||
<item name="colorOnSurface">@color/kotatsu_onSurface</item>
|
||||
<item name="colorSurfaceVariant">@color/kotatsu_surfaceVariant</item>
|
||||
<item name="colorOnSurfaceVariant">@color/kotatsu_onSurfaceVariant</item>
|
||||
<item name="colorOutline">@color/kotatsu_outline</item>
|
||||
<item name="colorOnSurfaceInverse">@color/kotatsu_inverseOnSurface</item>
|
||||
<item name="colorSurfaceInverse">@color/kotatsu_inverseSurface</item>
|
||||
<item name="colorPrimaryInverse">@color/kotatsu_primaryInverse</item>
|
||||
<item name="colorError">@color/error</item>
|
||||
<item name="colorOnError">@color/onError</item>
|
||||
<item name="colorErrorContainer">@color/errorContainer</item>
|
||||
<item name="colorOnErrorContainer">@color/onErrorContainer</item>
|
||||
|
||||
<!-- Text appearances -->
|
||||
<item name="textAppearanceBody2">@style/TextAppearance.Kotatsu.Body2</item>
|
||||
<!-- Ripples -->
|
||||
<item name="colorControlHighlight">?attr/colorSurfaceVariant</item>
|
||||
|
||||
<!-- Handles RTL text -->
|
||||
<item name="android:textAlignment">gravity</item>
|
||||
<item name="android:textDirection">locale</item>
|
||||
|
||||
<!-- Themes -->
|
||||
<item name="android:windowLightStatusBar" tools:targetApi="M">@bool/light_status_bar</item>
|
||||
<item name="android:statusBarColor">@android:color/transparent</item>
|
||||
<item name="android:navigationBarColor">@color/surface_amoled</item>
|
||||
<item name="android:navigationBarDividerColor" tools:targetApi="o_mr1">@null</item>
|
||||
<item name="android:enforceNavigationBarContrast" tools:targetApi="Q">false</item>
|
||||
<item name="android:enforceStatusBarContrast" tools:targetApi="Q">false</item>
|
||||
<item name="android:itemTextAppearance">@style/TextAppearance.Widget.Menu</item>
|
||||
<item name="alertDialogTheme">@style/ThemeOverlay.Kotatsu.MaterialAlertDialog</item>
|
||||
<item name="materialAlertDialogTheme">@style/ThemeOverlay.Kotatsu.MaterialAlertDialog</item>
|
||||
<item name="textAppearanceButton">@style/TextAppearance.Kotatsu.Button</item>
|
||||
<item name="textAppearanceListItem">@style/TextAppearance.Kotatsu.ListPrimary</item>
|
||||
|
||||
<!-- ActionMode attrs -->
|
||||
<item name="android:windowActionModeOverlay">true</item>
|
||||
<item name="android:buttonStyle">?attr/borderlessButtonStyle</item>
|
||||
<item name="android:backgroundDimAmount">0.32</item>
|
||||
<item name="windowActionModeOverlay">true</item>
|
||||
<item name="actionModeCloseDrawable">@drawable/ic_cross</item>
|
||||
<item name="actionModeStyle">@style/Widget.Kotatsu.ActionMode</item>
|
||||
<item name="actionOverflowButtonStyle">@style/Theme.Kotatsu.ActionButton.Overflow</item>
|
||||
<item name="actionModeCloseButtonStyle">@style/Theme.Kotatsu.ActionMode.CloseButton</item>
|
||||
<item name="actionModeCloseDrawable">@drawable/ic_close</item>
|
||||
<item name="preferenceTheme">@style/PreferenceThemeOverlay.Kotatsu</item>
|
||||
<item name="chipStyle">@style/Widget.Kotatsu.Chip</item>
|
||||
<item name="textInputStyle">@style/Widget.Material3.TextInputLayout.OutlinedBox</item>
|
||||
<item name="toolbarStyle">@style/Widget.Material3.Toolbar</item>
|
||||
<item name="appBarLayoutStyle">@style/Widget.Material3.AppBarLayout</item>
|
||||
<item name="tabStyle">@style/Widget.Kotatsu.Tabs</item>
|
||||
<item name="switchStyle">@style/Widget.Kotatsu.Switch</item>
|
||||
<item name="materialCardViewStyle">@style/Widget.Material3.CardView.Elevated</item>
|
||||
|
||||
<!-- Preference text appearance -->
|
||||
<item name="android:textAppearanceListItem">?attr/textAppearanceBodyLarge</item>
|
||||
<item name="android:textAppearanceListItemSecondary">@style/TextAppearance.Kotatsu.Preference.Secondary</item>
|
||||
|
||||
</style>
|
||||
|
||||
<style name="ThemeOverlay.Kotatsu" parent="ThemeOverlay.MaterialComponents.Light">
|
||||
<item name="colorPrimary">@color/color_primary</item>
|
||||
<item name="colorPrimaryVariant">@color/color_primary_variant</item>
|
||||
</style>
|
||||
<!--== Default Theme ==-->
|
||||
<style name="Theme.Kotatsu" parent="Base.Theme.Kotatsu" />
|
||||
|
||||
<style name="AppTheme" parent="Base.AppTheme">
|
||||
<item name="android:statusBarColor">@color/nav_bar_scrim</item>
|
||||
</style>
|
||||
<!-- Monet theme only support S+ -->
|
||||
<style name="Theme.Kotatsu.Monet" />
|
||||
|
||||
<style name="AppTheme.AMOLED" parent="Base.AppTheme" />
|
||||
<style name="ThemeOverlay.Kotatsu" parent="ThemeOverlay.Material3.Light" />
|
||||
|
||||
<style name="ThemeOverlay.Kotatsu.AMOLED" parent="" />
|
||||
|
||||
</resources>
|
||||
Reference in New Issue
Block a user