From 7ac9c965e32e050a7ae889a1326b1ae40196aa42 Mon Sep 17 00:00:00 2001 From: Austin Huang Date: Tue, 15 Sep 2020 20:18:23 -0400 Subject: [PATCH] bibliogram theme, translation setup --- .../awais/instagrabber/utils/LocaleUtils.java | 2 ++ app/src/main/res/values/arrays.xml | 20 +++++++++++-------- app/src/main/res/values/color.xml | 10 ++++++++++ app/src/main/res/values/strings.xml | 3 ++- app/src/main/res/values/themes.xml | 15 ++++++++++++++ 5 files changed, 41 insertions(+), 9 deletions(-) diff --git a/app/src/main/java/awais/instagrabber/utils/LocaleUtils.java b/app/src/main/java/awais/instagrabber/utils/LocaleUtils.java index 0d91bac3..cb743c55 100755 --- a/app/src/main/java/awais/instagrabber/utils/LocaleUtils.java +++ b/app/src/main/java/awais/instagrabber/utils/LocaleUtils.java @@ -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; } diff --git a/app/src/main/res/values/arrays.xml b/app/src/main/res/values/arrays.xml index 5b37cfd6..3a65c322 100755 --- a/app/src/main/res/values/arrays.xml +++ b/app/src/main/res/values/arrays.xml @@ -3,15 +3,17 @@ System Default English - French [Thanks to @kernoeb (Telegram)] - Spanish [Thanks to @sguinetti (GitLab)] + French [Thanks to @kernoeb] + Spanish [Thanks to @sguinetti] Chinese Simplified - Indonesian [Thanks to @Galang23 (GitLab)] - Italian [Thanks to @RAR_Ramar (Telegram)] - German [Thanks to @peterge1998 (GitHub)] - Polish [Thanks to @Lego8486 (GitHub)] - Turkish [Thanks to @faydin90 (Telegram)] - Brazilian Portuguese [Thanks to @wagnim (GitHub)] + Indonesian [Thanks to @Galang23] + Italian [Thanks to @RAR_Ramar] + German [Thanks to @peterge1998] + Polish [Thanks to @Lego8486] + Turkish [Thanks to @faydin90] + Brazilian Portuguese [Thanks to @wagnim] + Persian [Thanks to @farzadx] + Macedonian [Thanks to @snajdovski] 0 @@ -120,10 +122,12 @@ @string/light_white_theme @string/light_barinsta_theme + @string/light_bibliogram_theme @style/AppTheme.Light.White @style/AppTheme.Light.Barinsta + @style/AppTheme.Light.Bibliogram @string/dark_black_theme diff --git a/app/src/main/res/values/color.xml b/app/src/main/res/values/color.xml index 1c18c8a9..90ff3501 100755 --- a/app/src/main/res/values/color.xml +++ b/app/src/main/res/values/color.xml @@ -94,4 +94,14 @@ #a17c4f #616161 @color/white + + + #d63f44 + #fff4e8 + #8e2929 + #d63f44 + #fff4e8 + #8e2929 + #000000 + @color/white \ No newline at end of file diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index 79a12a50..c98f724a 100755 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -281,6 +281,7 @@ Black Light theme Dark theme - Barinsta + Barista + Bibliogram Material Dark \ No newline at end of file diff --git a/app/src/main/res/values/themes.xml b/app/src/main/res/values/themes.xml index dad9accf..d4358cfa 100644 --- a/app/src/main/res/values/themes.xml +++ b/app/src/main/res/values/themes.xml @@ -55,6 +55,21 @@ @style/Widget.MaterialComponents.Toolbar.Light.Barinsta + +