Compare commits

..
11 Commits
Author SHA1 Message Date
robin 0d3577aa2f CHANGELOG update 2026-10-03 17:35:06 +02:00
robin 33277b25e5 Merge pull request 'chore(l10n): update translations' (#12) from weblate-translations into main
Reviewed-on: Schanbro/WeekFocus#12
2026-10-03 15:32:18 +00:00
robin e2dff7cdf6 chore(l10n): update English translation
Co-authored-by: Weblate Admin <robin@schanbros.de>
Language: English
Progress: 100.0% (5 of 5 strings)
Translate-URL: https://weblate.schamagusa.de/projects/weekfocus/weekfocus/en/
Translation: WeekFocus/WeekFocus
2026-10-03 15:31:55 +00:00
robin 2ea4c2dbad refactor: move hardcoded strings to strings.xml 2026-10-03 17:29:08 +02:00
robin f05184a712 Important message: heavy development 2026-10-03 15:22:43 +00:00
robin e415b49232 Added Weblate/Translation information 2026-10-03 15:20:51 +00:00
robin 642bb0c3bd Merge pull request 'chore(l10n): update translations' (#11) from weblate-translations into main
Reviewed-on: Schanbro/WeekFocus#11
2026-10-03 15:10:19 +00:00
robin bdc9208b8b chore(l10n): update English translation
Translation: WeekFocus/WeekFocus
Language: English
Progress: 100.0% (2 of 2 strings)
Translate-URL: https://weblate.schamagusa.de/projects/weekfocus/weekfocus/en/
2026-10-03 15:09:30 +00:00
robin 2d88c0464b chore(l10n): update German (formal) translation
Translation: WeekFocus/WeekFocus
Language: German (formal)
Progress: 100.0% (2 of 2 strings)
Translate-URL: https://weblate.schamagusa.de/projects/weekfocus/weekfocus/de@formal/
2026-10-03 15:09:30 +00:00
robin d9bb781135 chore(l10n): add English translation
Translation: WeekFocus/WeekFocus
Language: English
Translate-URL: https://weblate.schamagusa.de/projects/weekfocus/weekfocus/en/
2026-10-03 15:03:18 +00:00
robin c373c523a5 refactor: move hardcoded texts to strings.xml 2026-10-03 17:02:17 +02:00
5 changed files with 34 additions and 5 deletions

No files matched your search

+4 -1
View File
@@ -1,6 +1,9 @@
# Changelog
## [1.1.0] - 2026-10-03
## [1.1.1] - 2026-10-03
### Changed
- refactor: move hardcoded text to strings.xml
## [1.1.0] - 2026-10-03
### New
- chore: auto-generate apk files #6
+12
View File
@@ -1,3 +1,6 @@
> [!IMPORTANT]
> This app is under heavy development currently.
<div align="center">
# WeekFocus
@@ -11,6 +14,7 @@
![Platform](https://img.shields.io/badge/Platform-Android-3DDC84?logo=android&logoColor=white)
[![Release](https://img.shields.io/gitea/v/release/Schanbro/WeekFocus?gitea_url=https://git.schamagusa.de&label=Release)](https://git.schamagusa.de/Schanbro/WeekFocus/releases)
[![License: GPL-3.0](https://img.shields.io/badge/License-GPL--3.0-blue)](LICENSE)
[![Translation status](https://weblate.schamagusa.de/widgets/weekfocus/-/svg-badge.svg)](https://weblate.schamagusa.de/engage/weekfocus/)
</div>
@@ -26,6 +30,7 @@
- [Building from Source](#building-from-source)
- [Contributing](#contributing)
- [License](#license)
- [Translations](#translations)
## About
@@ -117,3 +122,10 @@ Found a bug or have an idea? Please open an [issue](https://git.schamagusa.de/Sc
This project is licensed under the [GNU General Public License v3.0](LICENSE) (GPL-3.0).
You are free to use, modify and redistribute this software under the terms of the GPLv3. Derivative works must be released under the same license.
## Translations
WeekFocus is translated via [Weblate](https://weblate.schamagusa.de/engage/weekfocus/).
Help translate the app into your language!
[![Translation status](https://weblate.schamagusa.de/widgets/weekfocus/-/multi-auto.svg)](https://weblate.schamagusa.de/engage/weekfocus/)
@@ -16,6 +16,7 @@ import androidx.compose.ui.unit.dp
import android.appwidget.AppWidgetManager
import android.content.ComponentName
import de.schanbro.weekfocus.ui.theme.WeekFocusTheme
import androidx.compose.ui.res.stringResource
class MainActivity : ComponentActivity() {
override fun onCreate(savedInstanceState: Bundle?) {
@@ -63,7 +64,7 @@ fun WordListScreen(modifier: Modifier = Modifier) {
OutlinedTextField(
value = textInput,
onValueChange = { textInput = it },
label = { Text("Neues Wort eingeben...") },
label = { Text(stringResource(R.string.hint_new_word)) },
modifier = Modifier.fillMaxWidth(),
singleLine = true
)
@@ -83,13 +84,13 @@ fun WordListScreen(modifier: Modifier = Modifier) {
},
modifier = Modifier.fillMaxWidth()
) {
Text("Wort hinzufügen")
Text(stringResource(R.string.hint_add_word))
}
Spacer(modifier = Modifier.height(24.dp))
Text(
text = "Gespeicherte Wörter:",
text = stringResource(R.string.title_saved_words),
style = MaterialTheme.typography.titleMedium
)
@@ -98,7 +99,7 @@ fun WordListScreen(modifier: Modifier = Modifier) {
// Liste der Wörter
if (wordList.isEmpty()) {
Text(
text = "Noch keine Wörter vorhanden.",
text = stringResource(R.string.msg_no_words_yet),
style = MaterialTheme.typography.bodyMedium
)
} else {
+8
View File
@@ -0,0 +1,8 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<string name="app_name">WeekFocus</string>
<string name="hint_new_word">Enter new Word</string>
<string name="hint_add_word">Add word</string>
<string name="title_saved_words">Saved words:</string>
<string name="msg_no_words_yet">No words yet.</string>
</resources>
+5
View File
@@ -1,3 +1,8 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<string name="app_name">WeekFocus</string>
<string name="hint_new_word">Neues Wort eingeben</string>
<string name="hint_add_word">Wort hinzufügen</string>
<string name="title_saved_words">Gespeicherte Wörter:</string>
<string name="msg_no_words_yet">Noch keine Wörter vorhanden.</string>
</resources>