Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion app/src/main/java/be/scri/helpers/ui/RatingHelper.kt
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,12 @@ object RatingHelper {
try {
context.startActivity(intent)
} catch (e: ActivityNotFoundException) {
Toast.makeText(context, "No browser found to open $storeName page", Toast.LENGTH_SHORT).show()
Toast
.makeText(
context,
context.getString(R.string.i18n_app_about_feedback_no_browser_found).replace("{store}", storeName),
Toast.LENGTH_SHORT,
).show()
Log.e("RatingHelper", "Unable to open $storeName link", e)
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ fun HintDialogContent(
shape = RoundedCornerShape(8.dp),
) {
Text(
text = "OK",
text = stringResource(R.string.i18n_app_settings_option_ok),
style = MaterialTheme.typography.headlineMedium,
modifier = Modifier,
)
Expand Down
2 changes: 1 addition & 1 deletion app/src/main/java/be/scri/ui/screens/ConjugateScreen.kt
Original file line number Diff line number Diff line change
Expand Up @@ -434,7 +434,7 @@ fun ConjugateScreen(
verticalAlignment = Alignment.CenterVertically,
) {
Text(
text = "Clear all ✕",
text = stringResource(R.string.i18n_app__global_clear_all) + " ✕",
fontWeight = FontWeight.Bold,
color = MaterialTheme.colorScheme.onPrimary,
style = MaterialTheme.typography.bodySmall,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ fun ConjugationSelectionScreen(
modifier = Modifier.fillMaxWidth(0.9f),
) {
DropdownMenuItem(
text = { Text("All tenses") },
text = { Text(stringResource(R.string.i18n_app_conjugate_choose_conjugation_all_tenses)) },
onClick = {
selectedTenseGroup = null
expanded = false
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ fun TutorialHomeScreen(
)
Icon(
imageVector = Icons.AutoMirrored.Filled.KeyboardArrowRight,
contentDescription = "Go to ${chapter.title}",
contentDescription = stringResource(R.string.i18n_app_accessibility_go_to_chapter).replace("{title}", chapter.title),
tint = secondaryTextColor,
)
}
Expand Down
3 changes: 3 additions & 0 deletions app/src/main/res/values/string.xml
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@
<string name="i18n.app.about.community.wikimedia.text_2">Wikidata is a collaboratively edited multilingual knowledge graph hosted by the Wikimedia Foundation. It provides freely available data that anyone can use under a Creative Commons Public Domain license (CC0). Scribe uses language data from Wikidata to provide users with verb conjugations, noun-form annotations, noun plurals, and many other features.</string>
<string name="i18n.app.about.community.wikimedia.text_3">Wikipedia is a multilingual free online encyclopedia written and maintained by a community of volunteers through open collaboration and a wiki-based editing system. Scribe uses data from Wikipedia to produce autosuggestions by deriving the most common words in a language as well as the most common words that follow them.</string>
<string name="i18n.app.about.feedback.bug_report">Report a bug</string>
<string name="i18n.app.about.feedback.no_browser_found">No browser found to open {store} page</string>
<string name="i18n.app.about.feedback.rate_conjugate">Rate Scribe Conjugate</string>
<string name="i18n.app.about.feedback.rate_description_amazon">Rate us on Amazon Appstore</string>
<string name="i18n.app.about.feedback.rate_description_f_droid">Rate us on F-Droid</string>
Expand All @@ -75,6 +76,7 @@
<string name="i18n.app.accessibility.clear">Clear</string>
<string name="i18n.app.accessibility.copy_conjugation">Copy conjugation</string>
<string name="i18n.app.accessibility.expand_tenses">Expand tenses</string>
<string name="i18n.app.accessibility.go_to_chapter">Go to {title}</string>
<string name="i18n.app.accessibility.leading_icon">Leading icon</string>
<string name="i18n.app.accessibility.play_button">Play button</string>
<string name="i18n.app.accessibility.right_arrow">Right Arrow</string>
Expand All @@ -87,6 +89,7 @@
<string name="i18n.app.clipboard.copy_to_clipboard">Copy to clipboard</string>
<string name="i18n.app.clipboard.title">Clipboard</string>
<string name="i18n.app.conjugate.app_hint_tooltip">Download verb data with the menu below to start conjugating verbs.</string>
<string name="i18n.app.conjugate.choose_conjugation.all_tenses">All tenses</string>
<string name="i18n.app.conjugate.choose_conjugation.select_tense">Select tense</string>
<string name="i18n.app.conjugate.choose_conjugation.title">Choose a conjugation below</string>
<string name="i18n.app.conjugate.data_not_present_in_wikidata">Data not present in Wikidata</string>
Expand Down
Loading