style: Adjust app name

- Remove braces
- Rename string name
- Make short name stays as "Yōkai"
- Removed `app_name_prod`, merged with short name
This commit is contained in:
ziro 2024-02-08 12:29:52 +07:00
parent cf255bdb46
commit 3bdbc61624
Signed by: null2264
GPG key ID: BA64F8B60AF3EFB6
5 changed files with 7 additions and 9 deletions

View file

@ -16,6 +16,7 @@ Since there's a lot of new people coming over, I'll repeat my statement a few re
- Repositioned cutout options in settings
- Splash icon now uses coloured variant of the icon
- Removed deep link for sources, this should be handled by extensions
- Removed braces from nightly (and debug) app name
## Fixes
- Fixed splash icon hardcoded to white

View file

@ -1,5 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<string name="app_name" translatable="false">Yōkai (Debug)</string>
<string name="app_short_name" translatable="false">Yōkai (Debug)</string>
<string name="app_name" translatable="false">Yōkai Debug</string>
</resources>

View file

@ -83,8 +83,8 @@ class LocalSource(private val context: Context) : CatalogueSource, UnmeteredSour
}
private fun getBaseDirectories(context: Context): List<File> {
val library = context.getString(R.string.app_name_prod) + File.separator + "local"
val normalized = context.getString(R.string.app_name_normalized) + File.separator + "local"
val library = context.getString(R.string.app_short_name) + File.separator + "local"
val normalized = context.getString(R.string.app_normalized_name) + File.separator + "local"
val j2k = "TachiyomiJ2K" + File.separator + "local"
val tachi = "Tachiyomi" + File.separator + "local"
return DiskUtil.getExternalStorages(context).map {

View file

@ -2,8 +2,7 @@
<resources>
<string name="app_name" translatable="false">Yōkai</string>
<string name="app_short_name" translatable="false">Yōkai</string>
<string name="app_name_prod" translatable="false">Yōkai</string>
<string name="app_name_normalized" translatable="false">Yokai</string>
<string name="app_normalized_name" translatable="false">Yokai</string>
<string name="all_files_permission_required">File permissions required</string>
<string name="external_storage_permission_notice">TachiyomiJ2K requires access to all files in Android 11 to download chapters, create automatic backups, and read local series. \n\nOn the next screen, enable \"Allow access to manage all files.\"</string>

View file

@ -1,5 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<string name="app_name" translatable="false">Yōkai (Nightly)</string>
<string name="app_short_name" translatable="false">Yōkai (Nightly)</string>
</resources>
<string name="app_name" translatable="false">Yōkai Nightly</string>
</resources>