mirror of
https://github.com/KokaKiwi/BarInsta
synced 2024-11-22 14:47:29 +00:00
bibliogram theme, translation setup
This commit is contained in:
parent
841f61f6cf
commit
7ac9c965e3
@ -69,6 +69,8 @@ public final class LocaleUtils {
|
||||
if (appLanguageIndex == 8) return "pl";
|
||||
if (appLanguageIndex == 9) return "tr";
|
||||
if (appLanguageIndex == 10) return "pt";
|
||||
if (appLanguageIndex == 11) return "fa";
|
||||
if (appLanguageIndex == 12) return "mk";
|
||||
|
||||
return null;
|
||||
}
|
||||
|
@ -3,15 +3,17 @@
|
||||
<string-array name="languages">
|
||||
<item>System Default</item>
|
||||
<item>English</item>
|
||||
<item>French [Thanks to @kernoeb (Telegram)]</item>
|
||||
<item>Spanish [Thanks to @sguinetti (GitLab)]</item>
|
||||
<item>French [Thanks to @kernoeb]</item>
|
||||
<item>Spanish [Thanks to @sguinetti]</item>
|
||||
<item>Chinese Simplified</item>
|
||||
<item>Indonesian [Thanks to @Galang23 (GitLab)]</item>
|
||||
<item>Italian [Thanks to @RAR_Ramar (Telegram)]</item>
|
||||
<item>German [Thanks to @peterge1998 (GitHub)]</item>
|
||||
<item>Polish [Thanks to @Lego8486 (GitHub)]</item>
|
||||
<item>Turkish [Thanks to @faydin90 (Telegram)]</item>
|
||||
<item>Brazilian Portuguese [Thanks to @wagnim (GitHub)]</item>
|
||||
<item>Indonesian [Thanks to @Galang23]</item>
|
||||
<item>Italian [Thanks to @RAR_Ramar]</item>
|
||||
<item>German [Thanks to @peterge1998]</item>
|
||||
<item>Polish [Thanks to @Lego8486]</item>
|
||||
<item>Turkish [Thanks to @faydin90]</item>
|
||||
<item>Brazilian Portuguese [Thanks to @wagnim]</item>
|
||||
<item>Persian [Thanks to @farzadx]</item>
|
||||
<item>Macedonian [Thanks to @snajdovski]</item>
|
||||
</string-array>
|
||||
<string-array name="languages_values">
|
||||
<item>0</item>
|
||||
@ -120,10 +122,12 @@
|
||||
<string-array name="light_themes">
|
||||
<item>@string/light_white_theme</item>
|
||||
<item>@string/light_barinsta_theme</item>
|
||||
<item>@string/light_bibliogram_theme</item>
|
||||
</string-array>
|
||||
<string-array name="light_theme_values">
|
||||
<item>@style/AppTheme.Light.White</item>
|
||||
<item>@style/AppTheme.Light.Barinsta</item>
|
||||
<item>@style/AppTheme.Light.Bibliogram</item>
|
||||
</string-array>
|
||||
<string-array name="dark_themes">
|
||||
<item>@string/dark_black_theme</item>
|
||||
|
@ -94,4 +94,14 @@
|
||||
<color name="barinstaColorSecondaryDark">#a17c4f</color>
|
||||
<color name="barinstaPrimaryTextColor">#616161</color>
|
||||
<color name="barinstaSecondaryTextColor">@color/white</color>
|
||||
|
||||
<!-- Bibliogram Theme colors -->
|
||||
<color name="bibliogramColorPrimary">#d63f44</color>
|
||||
<color name="bibliogramColorPrimaryLight">#fff4e8</color>
|
||||
<color name="bibliogramColorPrimaryDark">#8e2929</color>
|
||||
<color name="bibliogramColorSecondary">#d63f44</color>
|
||||
<color name="bibliogramColorSecondaryLight">#fff4e8</color>
|
||||
<color name="bibliogramColorSecondaryDark">#8e2929</color>
|
||||
<color name="bibliogramPrimaryTextColor">#000000</color>
|
||||
<color name="bibliogramSecondaryTextColor">@color/white</color>
|
||||
</resources>
|
@ -281,6 +281,7 @@
|
||||
<string name="dark_black_theme">Black</string>
|
||||
<string name="light_theme_settings">Light theme</string>
|
||||
<string name="dark_theme_settings">Dark theme</string>
|
||||
<string name="light_barinsta_theme">Barinsta</string>
|
||||
<string name="light_barinsta_theme" comment="Yes, this one is Barista (the theme), you can also substitute it with other coffee-related words">Barista</string>
|
||||
<string name="light_bibliogram_theme" translatable="false">Bibliogram</string>
|
||||
<string name="dark_material_dark_theme">Material Dark</string>
|
||||
</resources>
|
@ -55,6 +55,21 @@
|
||||
<item name="toolbarStyle">@style/Widget.MaterialComponents.Toolbar.Light.Barinsta</item>
|
||||
</style>
|
||||
|
||||
<style name="AppTheme.Light.Bibliogram" parent="AppTheme.Light">
|
||||
<item name="colorPrimary">@color/bibliogramColorPrimary</item>
|
||||
<item name="colorPrimaryDark">@color/bibliogramColorPrimaryDark</item>
|
||||
<item name="colorPrimaryVariant">@color/bibliogramColorPrimaryLight</item>
|
||||
<item name="colorSecondary">@color/bibliogramColorSecondary</item>
|
||||
<item name="colorSecondaryVariant">@color/bibliogramColorSecondaryDark</item>
|
||||
<item name="colorSurface">@color/grey_200</item>
|
||||
<item name="colorControlHighlight">@color/bibliogramColorSecondaryDark</item>
|
||||
<item name="colorAccent">@color/bibliogramColorSecondaryDark</item>
|
||||
<item name="android:windowBackground">?colorSurface</item>
|
||||
<item name="bottomNavigationStyle">@style/Widget.BottomNavigationView.Light.Barinsta</item>
|
||||
<item name="android:textColorPrimary">@color/bibliogramPrimaryTextColor</item>
|
||||
<item name="toolbarStyle">@style/Widget.MaterialComponents.Toolbar.Light.Barinsta</item>
|
||||
</style>
|
||||
|
||||
|
||||
<!-- Dark Themes -->
|
||||
<style name="AppTheme.Dark" parent="Theme.MaterialComponents.NoActionBar">
|
||||
|
Loading…
Reference in New Issue
Block a user