Skip to content

Commit

Permalink
Updated to 0.2.2b
Browse files Browse the repository at this point in the history
- Added "Contact developer on Telegram" in Settings #27
- Improvements for dark theme
- Added "as: অসমীয়া" (Assamese), "pa-IN: ਪੰਜਾਬੀ" (Punjabi), "pl: polski" (Polish), "rm-vallader: Rumantsch Vallader" support --> Added also on Crowdin (exept the rm-vallader, bacause in that portal doesn't exist) #28
- Updated languages
- Updated images
- Added PRIVACY.md
- Updated README.md
  • Loading branch information
Sav22999 committed Jan 26, 2020
1 parent 4a63d80 commit c1c334e
Show file tree
Hide file tree
Showing 27 changed files with 83 additions and 15 deletions.
13 changes: 13 additions & 0 deletions PRIVACY.md
@@ -0,0 +1,13 @@


# <img src="images/icon.png" width="40px" alt=""></img> Privacy: Common Voice Android App

The app doesn’t collect your data. Anyway, some data are saved on your device (*user_id* of CV, *selected language*, *validations and recordings number*). You can clear them just *Clear data* of the app (but they are necessary to use Common Voice Android App).

The app requires *Storage* and *Microphone* permissions when you use *Speak section*: because the app saves your recording, but then they are deleted automatically.

If you want additional information about the Policy privacy of Common Voice project, [Read the official doc](https://voice.mozilla.org/en/privacy) by Mozilla.



*Last update: 26th Jan in 2020*
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -4,7 +4,7 @@

This is not the official app of the Common Voice project by Mozilla. This app is developed by Saverio Morelli, using the Android Studio IDE.

[![Crowdin](https://badges.crowdin.net/common-voice-android/localized.svg)](https://crowdin.com/project/common-voice-android) [![Generic badge](https://img.shields.io/badge/supported%20languages-6-green.svg)](https://crowdin.com/project/common-voice-android) [![GitHub release](https://img.shields.io/github/release/Sav22999/common-voice-android.svg)](https://github.com/Sav22999/common-voice-android/releases/) [![GitHub license](https://img.shields.io/github/license/Sav22999/common-voice-android.svg)](https://github.com/Sav22999/common-voice-android/blob/master/LICENSE) [![Github all releases](https://img.shields.io/github/downloads/Sav22999/common-voice-android/total.svg)](https://GitHub.com/Sav22999/common-voice-android/releases/) ![Maintenance](https://img.shields.io/badge/Maintained%3F-yes-green.svg)
[![Crowdin](https://badges.crowdin.net/common-voice-android/localized.svg)](https://crowdin.com/project/common-voice-android) [![Generic badge](https://img.shields.io/badge/translations%20number-6-green.svg)](https://crowdin.com/project/common-voice-android) [![GitHub release](https://img.shields.io/github/release/Sav22999/common-voice-android.svg)](https://github.com/Sav22999/common-voice-android/releases/) [![GitHub license](https://img.shields.io/github/license/Sav22999/common-voice-android.svg)](https://github.com/Sav22999/common-voice-android/blob/master/LICENSE) [![Github all releases](https://img.shields.io/github/downloads/Sav22999/common-voice-android/total.svg)](https://GitHub.com/Sav22999/common-voice-android/releases/) ![Maintenance](https://img.shields.io/badge/Maintained%3F-yes-green.svg)

[<img src="images/googlePlayBadge.png" width="200px"></img>](https://play.google.com/store/apps/details?id=org.commonvoice.saverio) [<img src="images/aptoideBadge.png" height="50px"></img>](https://common-voice-android.en.aptoide.com/?store_name=sav22999) [<img src="images/crowdinBadge.png" height="50px"></img>](https://crowdin.com/project/common-voice-android)

Expand Down
4 changes: 2 additions & 2 deletions app/build.gradle
Expand Up @@ -10,8 +10,8 @@ android {
applicationId "org.commonvoice.saverio"
minSdkVersion 23
targetSdkVersion 28
versionCode = 71
versionName '0.2.1b'
versionCode = 73
versionName '0.2.2b'
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
}
buildTypes {
Expand Down
Binary file modified app/release/app-release.aab
Binary file not shown.
Expand Up @@ -98,6 +98,13 @@ class SettingsFragment : Fragment() {
startActivity(browserIntent)
}

var btnContactDeveloperTelegram: Button = root.findViewById(R.id.buttonContactOnTelegram)
btnContactDeveloperTelegram.setOnClickListener {
val browserIntent =
Intent(Intent.ACTION_VIEW, Uri.parse("https://t.me/Sav22999"))
startActivity(browserIntent)
}

var btnOpenTutorial: Button = root.findViewById(R.id.buttonOpenTutorial)
btnOpenTutorial.setOnClickListener {
main.openTutorial()
Expand Down
2 changes: 1 addition & 1 deletion app/src/main/res/layout/fragment_dashboard.xml
Expand Up @@ -19,7 +19,7 @@
android:layout_marginStart="16dp"
android:layout_marginTop="20dp"
android:layout_marginEnd="16dp"
android:background="@color/colorPrimary"
android:background="@color/colorSeparator"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/imageEverSpeak" />
Expand Down
46 changes: 38 additions & 8 deletions app/src/main/res/layout/fragment_settings.xml
Expand Up @@ -13,6 +13,36 @@
android:isScrollContainer="true"
android:paddingBottom="10dp">

<Button
android:id="@+id/buttonContactOnTelegram"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:background="@color/colorBackground"
android:foreground="@drawable/ripple"
android:gravity="center|clip_vertical|start"
android:padding="20dp"
android:stateListAnimator="@null"
android:text="@string/contact_developer_on_telegram"
android:textAllCaps="false"
android:textAppearance="@style/TextAppearance.AppCompat.Medium"
android:textColor="@color/colorBlack"
android:textSize="20sp"
android:textStyle="normal"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/separator8" />

<View
android:id="@+id/separator8"
android:layout_width="match_parent"
android:layout_height="1dp"
android:layout_marginStart="16dp"
android:layout_marginEnd="16dp"
android:background="@color/colorSeparator"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/switchDarkTheme" />

<Switch
android:id="@+id/switchDarkTheme"
android:layout_width="0dp"
Expand All @@ -39,7 +69,7 @@
android:layout_height="1dp"
android:layout_marginStart="16dp"
android:layout_marginEnd="16dp"
android:background="@color/colorPrimary"
android:background="@color/colorSeparator"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/textDonatePayPal" />
Expand All @@ -50,10 +80,10 @@
android:layout_height="1dp"
android:layout_marginStart="16dp"
android:layout_marginEnd="16dp"
android:background="@color/colorPrimary"
android:background="@color/colorSeparator"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/switchDarkTheme" />
app:layout_constraintTop_toBottomOf="@+id/buttonContactOnTelegram" />

<TextView
android:id="@+id/text_settingsOther"
Expand All @@ -79,7 +109,7 @@
android:layout_height="1dp"
android:layout_marginStart="16dp"
android:layout_marginEnd="16dp"
android:background="@color/colorPrimary"
android:background="@color/colorSeparator"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/textProjectGitHub" />
Expand All @@ -90,7 +120,7 @@
android:layout_height="1dp"
android:layout_marginStart="16dp"
android:layout_marginEnd="16dp"
android:background="@color/colorPrimary"
android:background="@color/colorSeparator"
android:visibility="gone"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
Expand All @@ -103,7 +133,7 @@
android:layout_height="1dp"
android:layout_marginStart="16dp"
android:layout_marginEnd="16dp"
android:background="@color/colorPrimary"
android:background="@color/colorSeparator"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/buttonOpenTutorial" />
Expand Down Expand Up @@ -132,7 +162,7 @@
android:layout_height="1dp"
android:layout_marginStart="16dp"
android:layout_marginEnd="16dp"
android:background="@color/colorPrimary"
android:background="@color/colorSeparator"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/switchAutoPlayClips" />
Expand Down Expand Up @@ -184,7 +214,7 @@
android:layout_marginStart="16dp"
android:layout_marginTop="10dp"
android:layout_marginEnd="16dp"
android:background="@color/colorPrimary"
android:background="@color/colorSeparator"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/languageList" />
Expand Down
1 change: 1 addition & 0 deletions app/src/main/res/values-eu/strings.xml
Expand Up @@ -77,6 +77,7 @@
<string name="txt_dark_theme_settings">Gai iluna</string>
<string name="toast_dark_theme_on">Gai iluna aktibatuta</string>
<string name="toast_dark_theme_off">Gai iluna desaktibatuta</string>
<string name="contact_developer_on_telegram">Jarri harremanetan garatzailearekin Telegramen</string>
<!-- Speak & Listen-->
<string name="txt_loading_sentence">Esaldi bat kargatzen...</string>
<string name="btn_skip_sentence">Saltatu</string>
Expand Down
1 change: 1 addition & 0 deletions app/src/main/res/values-fr/strings.xml
Expand Up @@ -77,6 +77,7 @@
<string name="txt_dark_theme_settings">Thème sombre</string>
<string name="toast_dark_theme_on">Thème sombre activé</string>
<string name="toast_dark_theme_off">Thème sombre désactivé</string>
<string name="contact_developer_on_telegram">Contact the developer on Telegram</string>
<!-- Speak & Listen-->
<string name="txt_loading_sentence">Chargement d\'une phrase ...</string>
<string name="btn_skip_sentence">Passer</string>
Expand Down
7 changes: 4 additions & 3 deletions app/src/main/res/values-ia/strings.xml
Expand Up @@ -74,9 +74,10 @@
<string name="txt_autoplay_clips_after_loading_settings">Autoreproduction del registration al cargamento</string>
<string name="toast_autoplay_clip_on">Autoreproduction del registration activate</string>
<string name="toast_autoplay_clip_off">Autoreproduction del registration disactivate</string>
<string name="txt_dark_theme_settings">Dark theme</string>
<string name="toast_dark_theme_on">Dark theme turned on</string>
<string name="toast_dark_theme_off">Dark theme turned off</string>
<string name="txt_dark_theme_settings">Thema obscur</string>
<string name="toast_dark_theme_on">Thema obscur activate</string>
<string name="toast_dark_theme_off">Thema obscur extincte</string>
<string name="contact_developer_on_telegram">Contacta le disveloppator sur Telegram</string>
<!-- Speak & Listen-->
<string name="txt_loading_sentence">Cargante un phrase ...</string>
<string name="btn_skip_sentence">Saltar</string>
Expand Down
1 change: 1 addition & 0 deletions app/src/main/res/values-it/strings.xml
Expand Up @@ -77,6 +77,7 @@
<string name="txt_dark_theme_settings">Tema scuro</string>
<string name="toast_dark_theme_on">Tema scuro attivato</string>
<string name="toast_dark_theme_off">Tema scuro disattivato</string>
<string name="contact_developer_on_telegram">Contatta lo sviluppatore su Telegram</string>
<!-- Speak & Listen-->
<string name="txt_loading_sentence">Caricamento di una frase ...</string>
<string name="btn_skip_sentence">Salta</string>
Expand Down
1 change: 1 addition & 0 deletions app/src/main/res/values-sv/strings.xml
Expand Up @@ -77,6 +77,7 @@
<string name="txt_dark_theme_settings">Dark theme</string>
<string name="toast_dark_theme_on">Dark theme turned on</string>
<string name="toast_dark_theme_off">Dark theme turned off</string>
<string name="contact_developer_on_telegram">Contact the developer on Telegram</string>
<!-- Speak & Listen-->
<string name="txt_loading_sentence">Laddar en mening ...</string>
<string name="btn_skip_sentence">Hoppa över</string>
Expand Down
1 change: 1 addition & 0 deletions app/src/main/res/values/colors.xml
Expand Up @@ -14,6 +14,7 @@
<color name="colorLightRed">#FFAAAA</color>
<color name="colorLightGreen">#228822</color>
<color name="colorGray">#666666</color>
<color name="colorSeparator">#404040</color>

<!-- Level - Login -->
<color name="colorLevel1">#FF0000</color>
Expand Down
9 changes: 9 additions & 0 deletions app/src/main/res/values/strings.xml
Expand Up @@ -78,6 +78,7 @@
<string name="txt_dark_theme_settings">Dark theme</string>
<string name="toast_dark_theme_on">Dark theme turned on</string>
<string name="toast_dark_theme_off">Dark theme turned off</string>
<string name="contact_developer_on_telegram">Contact the developer on Telegram</string>
<!-- Speak & Listen-->
<string name="txt_loading_sentence">Loading a sentence ...</string>
<string name="btn_skip_sentence">Skip</string>
Expand Down Expand Up @@ -138,6 +139,7 @@
<string-array name="languages" translatable="false">
<item>Аԥсуа</item> <!-- ab -->
<item>العربية</item> <!-- ar -->
<item>অসমীয়া</item> <!-- as -->
<item>Brezhoneg</item> <!-- br -->
<item>català</item> <!-- ca -->
<item>Laiholh (Hakha)</item> <!-- cnh -->
Expand Down Expand Up @@ -166,8 +168,11 @@
<item>Latviešu</item> <!-- lv -->
<item>Монгол хэл</item> <!-- mn -->
<item>Nederlands</item> <!-- nl -->
<item>ਪੰਜਾਬੀ</item> <!-- pa-IN -->
<item>polski</item> <!-- pl -->
<item>Português</item> <!-- pt -->
<item>romontsch sursilvan</item> <!-- rm-sursilv -->
<item>Rumantsch Vallader</item> <!-- rm-vallader -->
<item>Română</item> <!-- ro -->
<item>Русский</item> <!-- ru -->
<item>Ikinyarwanda</item> <!-- rw -->
Expand All @@ -186,6 +191,7 @@
<string-array name="languages_short" translatable="false">
<item>ab</item>
<item>ar</item>
<item>as</item>
<item>br</item>
<item>ca</item>
<item>cnh</item>
Expand Down Expand Up @@ -214,8 +220,11 @@
<item>lv</item>
<item>mn</item>
<item>nl</item>
<item>pa-IN</item>
<item>pl</item>
<item>pt</item>
<item>rm-sursilv</item>
<item>rm-vallader</item>
<item>ro</item>
<item>ru</item>
<item>rw</item>
Expand Down
3 changes: 3 additions & 0 deletions fastlane/metadata/android/en-US/changelogs/000202.txt
@@ -0,0 +1,3 @@
- Improvements to the dark theme
- Added button in Settings to contact the developer on Telegram
- Adde 4 newsupported languages (Assamese, Punjabi, Polish and Rumantsch Vallader)
Binary file modified fastlane/metadata/android/en-US/images/phoneScreenshots/2.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified fastlane/metadata/android/en-US/images/phoneScreenshots/3.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified fastlane/metadata/android/en-US/images/phoneScreenshots/4.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified fastlane/metadata/android/en-US/images/phoneScreenshots/5.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified screenshots/promotional/2.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified screenshots/promotional/2.xcf
Binary file not shown.
Binary file modified screenshots/promotional/3.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified screenshots/promotional/3.xcf
Binary file not shown.
Binary file modified screenshots/promotional/4.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified screenshots/promotional/4.xcf
Binary file not shown.
Binary file modified screenshots/promotional/5.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified screenshots/promotional/5.xcf
Binary file not shown.

0 comments on commit c1c334e

Please sign in to comment.