-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
fa166c7
commit 5df0b4d
Showing
10 changed files
with
43 additions
and
74 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
distributionBase=GRADLE_USER_HOME | ||
distributionPath=wrapper/dists | ||
distributionUrl=https\://services.gradle.org/distributions/gradle-6.7-rc-4-bin.zip | ||
distributionUrl=https\://services.gradle.org/distributions/gradle-6.7-bin.zip | ||
zipStoreBase=GRADLE_USER_HOME | ||
zipStorePath=wrapper/dists |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
20 changes: 20 additions & 0 deletions
20
presentation/src/main/java/com/jcaique/dialetus/presentation/strings.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
package com.jcaique.dialetus.presentation | ||
|
||
import androidx.compose.runtime.ambientOf | ||
import androidx.compose.runtime.getValue | ||
import androidx.compose.runtime.setValue | ||
|
||
val StringsAmbient = ambientOf<Strings> { error("Strings not initialized") } | ||
|
||
data class Strings( | ||
val appName: String = "Dialetus", | ||
val meaning: String = "Significado", | ||
val examples: String = "Exemplos", | ||
val search: String = "Pesquisar", | ||
val moreDialectsOn: String = "Mais dialetos em %s", | ||
val tryAgain: String = "Tentar novamente", | ||
val noDialectFoundTitle: String = "Nenhum dialeto cadastrado", | ||
val noDialectFoundSubtitle: String = "Não foi encontrado nenhum dialeto ou região.", | ||
val defaultError: String = "Ops, algo deu errado", | ||
val loadRegionsError: String = "Não conseguimos carregar as regiões" | ||
) |
4 changes: 2 additions & 2 deletions
4
presentation/src/main/java/com/jcaique/dialetus/presentation/ui/common.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,10 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<resources> | ||
<color name="colorPrimary">@color/white</color> | ||
<color name="colorPrimaryDark">@color/white</color> | ||
<color name="colorAccent">@color/green</color> | ||
<color name="colorPrimary">@color/white</color> | ||
<color name="colorPrimaryDark">@color/white</color> | ||
<color name="colorAccent">@color/green</color> | ||
|
||
<color name="green">#249042</color> | ||
<color name="white">@android:color/white</color> | ||
<color name="blackAlpha">#AA333333</color> | ||
<color name="lightGray1">#F8F9FD</color> | ||
<color name="lightGray2">#DCE0E9</color> | ||
<color name="darkGray1">#2D3844</color> | ||
<color name="darkGray2">#5a6872</color> | ||
<color name="green">#249042</color> | ||
<color name="white">@android:color/white</color> | ||
<color name="blackAlpha">#AA333333</color> | ||
</resources> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,3 @@ | ||
<resources> | ||
<string name="app_name">Dialetus</string> | ||
<string name="text_button_try_again">Tentar novamente</string> | ||
<string name="text_title_error">Ops, algo deu errado.</string> | ||
<string name="menu_contribute_web">Adicionar mais dialetos</string> | ||
<string name="text_description_error">Não conseguimos carregar as regiões</string> | ||
<string name="title_no_events_found">Nenhum dialeto cadastrado</string> | ||
<string name="text_description_no_dialects_found">Não foi encontrado nenhum dialeto ou região.</string> | ||
<string name="menu_android">Contribuir com o aplicativo</string> | ||
<string name="meaning">Significado</string> | ||
<string name="examples">Exemplos</string> | ||
<string name="more_dialects_on">Mais dialetos em %s</string> | ||
<string name="search">Pesquisar</string> | ||
</resources> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters