Compare commits

..

4 Commits

Author SHA1 Message Date
52a5a66a93 Ship Brazilian Portuguese
Community translation by bkrz, reviewed and applied via Weblate (~32% of
strings). Adds the pt-BR locale entry plus changelog notes in every locale.
2026-08-11 18:01:18 +02:00
aca9e2059c Merge remote-tracking branch 'origin/main' into release/v2.19.1 2026-08-11 17:57:51 +02:00
Jean-Luc Makiola
3c66a3a6d7 Setting to turn drag-to-reschedule off (#173) (#174)
Settings → Views → *Drag to reschedule*, on by default.

Turned off, CalendarHost provides no EventMoveScope, which is the existing "moving is off" contract: no event block in month, week or day view registers a drag gesture, and the screen-reader Move… action goes away with it. Nothing changes for anyone who leaves it on.

Closes #173

Co-authored-by: Jean-Luc Makiola <business@jeanlucmakiola.de>
Reviewed-on: https://codeberg.org/jlmakiola/calendula/pulls/174
2026-08-11 17:48:45 +02:00
ce2936a2a7 2.19.1 — drag-to-reschedule can be turned off 2026-08-11 16:53:48 +02:00
4 changed files with 4 additions and 13 deletions

View File

@@ -23,14 +23,6 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
[bkrz](https://weblate.dev.jeanlucmakiola.de/user/bkrz/) for getting it
started; help finishing it is very welcome.
### Fixed
- **The language picker forgot which language was picked.** Android hands the
applied language back with its script filled in — Simplified Chinese goes in
as `zh-CN` and comes out as `zh-Hans-CN` — so after a restart no entry in
Settings → Language showed as selected, and the row above it named the
language the long way round. Only languages that imply a script were
affected.
## [2.19.0] — 2026-08-10
### Added

View File

@@ -302,14 +302,13 @@ private fun ReportProblemRow(position: Position) {
@Composable
private fun LanguageRow(position: Position) {
val context = LocalContext.current
val supported = remember { AppLanguage.supportedTags(context, R.xml.locales_config) }
// Setting a locale recreates the activity; mirror the choice locally so the
// row updates instantly even before the recreation lands.
var current by remember { mutableStateOf(AppLanguage.currentTag(supported)) }
var current by remember { mutableStateOf(AppLanguage.currentTag()) }
var showDialog by remember { mutableStateOf(false) }
// null = follow the system; the rest are BCP-47 tags from locales_config.xml.
val options = remember(supported) { listOf<String?>(null) + supported }
val options = remember { listOf<String?>(null) + AppLanguage.supportedTags(context, R.xml.locales_config) }
GroupedRow(
title = stringResource(R.string.settings_language),

View File

@@ -1,6 +1,6 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-9.6.1-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-9.5.1-bin.zip
distributionSha256Sum=bafc141b619ad6350fd975fc903156dd5c151998cc8b058e8c1044ab5f7b031f
networkTimeout=10000
validateDistributionUrl=true