🚀 New Credits and About options
Added new credits and options in About screen.
This commit is contained in:
parent
e9c2deab6a
commit
cb39cc4edf
6 changed files with 40 additions and 13 deletions
|
|
@ -1,4 +1,4 @@
|
|||
Almost all Icons are licensed under Apache License 2.0 and were taken from Material Design Icons.
|
||||
Almost all Icons, except Brand Icons (e.g. Reddit, Patreon, X) are licensed under Apache License 2.0 and were taken from Material Design Icons.
|
||||
|
||||
https://www.apache.org/licenses/LICENSE-2.0.html
|
||||
https://fonts.google.com/icons
|
||||
|
|
@ -119,6 +119,7 @@ private fun provideCredits() = listOf(
|
|||
source = "GitHub",
|
||||
credits = listOf(
|
||||
UIText.StringResource(R.string.credits_design),
|
||||
UIText.StringResource(R.string.credits_ideas),
|
||||
UIText.StringValue("Readme")
|
||||
),
|
||||
website = "https://www.github.com/mihonapp/mihon"
|
||||
|
|
@ -127,7 +128,8 @@ private fun provideCredits() = listOf(
|
|||
name = "Kitsune",
|
||||
source = "GitHub",
|
||||
credits = listOf(
|
||||
UIText.StringResource(R.string.credits_updates)
|
||||
UIText.StringResource(R.string.credits_updates),
|
||||
UIText.StringResource(R.string.credits_ideas)
|
||||
),
|
||||
website = "https://www.github.com/Drumber/Kitsune"
|
||||
),
|
||||
|
|
@ -139,6 +141,23 @@ private fun provideCredits() = listOf(
|
|||
),
|
||||
website = "https://fonts.google.com/icons"
|
||||
),
|
||||
Credit(
|
||||
name = "Material Design Fonts",
|
||||
source = "Google Fonts",
|
||||
credits = listOf(
|
||||
UIText.StringResource(R.string.credits_fonts)
|
||||
),
|
||||
website = "https://fonts.google.com"
|
||||
),
|
||||
Credit(
|
||||
name = "Weblate",
|
||||
source = "Hosted Weblate",
|
||||
credits = listOf(
|
||||
UIText.StringResource(R.string.credits_translation),
|
||||
UIText.StringResource(R.string.credits_contribution)
|
||||
),
|
||||
website = "https://hosted.weblate.org/projects/book-story"
|
||||
),
|
||||
)
|
||||
|
||||
private fun provideHelpTips() = listOf(
|
||||
|
|
@ -393,11 +412,11 @@ private fun provideAboutBadges() = listOf(
|
|||
url = null
|
||||
),
|
||||
Badge(
|
||||
id = "github_project",
|
||||
drawable = R.drawable.github,
|
||||
id = "patreon",
|
||||
drawable = R.drawable.patreon,
|
||||
imageVector = null,
|
||||
contentDescription = R.string.github_project_content_desc,
|
||||
url = "https://www.github.com/Acclorite/book-story"
|
||||
contentDescription = R.string.patreon_content_desc,
|
||||
url = "https://www.patreon.com/Acclorite"
|
||||
),
|
||||
Badge(
|
||||
id = "github_profile",
|
||||
|
|
|
|||
|
|
@ -243,12 +243,12 @@ private fun AboutScreen(
|
|||
|
||||
item {
|
||||
AboutItem(
|
||||
title = stringResource(id = R.string.support_option),
|
||||
title = stringResource(id = R.string.help_translate_option),
|
||||
description = null
|
||||
) {
|
||||
onEvent(
|
||||
AboutEvent.OnNavigateToBrowserPage(
|
||||
context.getString(R.string.support_page),
|
||||
context.getString(R.string.translation_page),
|
||||
context,
|
||||
noAppsFound = {
|
||||
Toast.makeText(
|
||||
|
|
|
|||
BIN
app/src/main/res/drawable/patreon.png
Normal file
BIN
app/src/main/res/drawable/patreon.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 1.8 KiB |
|
|
@ -351,15 +351,19 @@
|
|||
<string name="app_version_option_desc_2">Натисніть, щоб перевірити на оновлення</string>
|
||||
<string name="report_bug_option">Повідомити про помилку</string>
|
||||
<string name="whats_new_option">Що нового</string>
|
||||
<string name="support_option">Підтримати мою роботу</string>
|
||||
<string name="licenses_option">Ліцензії з відкритим кодом</string>
|
||||
<string name="credits_option">Заслуги</string>
|
||||
<string name="help_translate_option">Допомогти перекласти</string>
|
||||
<string name="slava_ukraini">Слава Україні!</string>
|
||||
|
||||
<!-- Credits -->
|
||||
<string name="credits_design">Дизайн</string>
|
||||
<string name="credits_icon">Іконки</string>
|
||||
<string name="credits_updates">Керування новими оновленнями</string>
|
||||
<string name="credits_fonts">Шрифти</string>
|
||||
<string name="credits_translation">Переклад</string>
|
||||
<string name="credits_contribution">Внесок</string>
|
||||
<string name="credits_ideas">Ідеї</string>
|
||||
|
||||
<!-- Help -->
|
||||
<string name="help_clickable_note_1">Будь ласка, зверніть увагу, що на</string>
|
||||
|
|
|
|||
|
|
@ -20,8 +20,8 @@
|
|||
<string name="issues_page" translatable="false">
|
||||
https://www.github.com/Acclorite/book-story/issues
|
||||
</string>
|
||||
<string name="support_page" translatable="false">
|
||||
https://www.buymeacoffee.com/acclorite
|
||||
<string name="translation_page" translatable="false">
|
||||
https://hosted.weblate.org/projects/book-story
|
||||
</string>
|
||||
|
||||
<!-- Notifications -->
|
||||
|
|
@ -370,15 +370,19 @@
|
|||
<string name="app_version_option_desc_2">Click to check for updates</string>
|
||||
<string name="report_bug_option">Report a bug</string>
|
||||
<string name="whats_new_option">What\'s new</string>
|
||||
<string name="support_option">Support my work</string>
|
||||
<string name="licenses_option">Open source licenses</string>
|
||||
<string name="credits_option">Credits</string>
|
||||
<string name="help_translate_option">Help translate</string>
|
||||
<string name="slava_ukraini">Slava Ukraini!</string>
|
||||
|
||||
<!-- Credits -->
|
||||
<string name="credits_design">Design</string>
|
||||
<string name="credits_icon">Icons</string>
|
||||
<string name="credits_updates">New updates managing</string>
|
||||
<string name="credits_fonts">Fonts</string>
|
||||
<string name="credits_translation">Translation</string>
|
||||
<string name="credits_contribution">Contribution</string>
|
||||
<string name="credits_ideas">Ideas</string>
|
||||
|
||||
<!-- Help -->
|
||||
<string name="help_clickable_note_1">Please note, that</string>
|
||||
|
|
@ -609,8 +613,8 @@
|
|||
<string name="shuffle_color_preset_content_desc">Shuffle colors</string>
|
||||
<string name="x_content_desc" translatable="false">X</string>
|
||||
<string name="reddit_content_desc" translatable="false">Reddit</string>
|
||||
<string name="patreon_content_desc" translatable="false">Patreon</string>
|
||||
<string name="tryzub_content_desc">Tryzub</string>
|
||||
<string name="github_project_content_desc">GitHub Project</string>
|
||||
<string name="github_profile_content_desc">GitHub Profile</string>
|
||||
<string name="drag_content_desc">Drag</string>
|
||||
<string name="filter_content_desc">Filter</string>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue