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
30 changes: 28 additions & 2 deletions README.fr.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@

🇬🇧 [English version](README.md)

**v3.5.0 — novembre 2026** · [Politique de confidentialité](PRIVACY.md) · [Conditions d'utilisation](TERMS.md) · [Sécurité](SECURITY.fr.md)
**v3.6.0 — décembre 2026** · [Politique de confidentialité](PRIVACY.md) · [Conditions d'utilisation](TERMS.md) · [Sécurité](SECURITY.fr.md)

Application de prise de notes Markdown chiffrée pour Android, écrite en **Kotlin** avec Jetpack
Compose. **100 % locale, sans permission Internet.** Interface en **anglais, français, allemand,
italien et espagnol**. Coffres par dossier (phrase secrète Argon2id ou code lié au Keystore),
italien, espagnol, portugais du Brésil et néerlandais**. Coffres par dossier (phrase secrète Argon2id ou code lié au Keystore),
verrouillage de l'application par code et biométrie forte, recherche plein texte FTS5, dictée
Whisper sur l'appareil, rétroliens `[[note]]`, notes lues en fiche à leur couleur, mode panique en plusieurs étapes.

Expand All @@ -21,6 +21,32 @@ vérifier.**

---

## Nouveautés de la 3.6.0

- **Portugais du Brésil et néerlandais**, au choix dans Réglages › Langue, avec la politique de
confidentialité, les conditions et la fiche de l'application. L'interface et la fiche en portugais
du Brésil ont été traduites par [TraduxBR](https://github.com/TraduxBR)
([#81](https://github.com/gitubpatrice/notes_tech/pull/81)), merci ! Le néerlandais, et les pages
légales en portugais du Brésil, ont été traduits avec une aide automatique et ne sont pas encore relus
par un locuteur natif : les corrections sont bienvenues dans les
[issues](https://github.com/gitubpatrice/notes_tech/issues). Les pages légales disent, dans chaque
langue, que la version française fait foi.
- **Construction** : Android Gradle Plugin 9.5.2, Gradle 9.9.2, KSP 2.3.14. Rien d'autre ne change :
toujours aucune permission réseau, les mêmes quatre permissions.

## Nouveautés de la 3.5.0

- **Listes à cocher** : une case se coche d'un toucher en lecture ; ⋮ › Liste à cocher met des cases
devant les lignes, ou les retire ; Entrée continue une liste, Entrée sur un élément vide la termine.
- **Écran d'accueil** : Réglages › Écran d'accueil ouvre l'appli sur Toutes les notes ou sur la Boîte
de réception ([#59](https://github.com/gitubpatrice/notes_tech/issues/59)).
- **Une recherche propre aux Archives**
([#72](https://github.com/gitubpatrice/notes_tech/issues/72)) ; Retour dans les Archives ramène à la
liste affichée avant, au lieu de fermer l'appli.
- **Corrigé** : l'export et la sauvegarde disent qu'ils omettent les notes à durée de vie ; le dépôt
rapide signale un collage ou un titre trop long ; un texte ou un fichier partagé vers Notes Tech est
lu dans un délai borné.

## Nouveautés de la 3.4.0

- **Des notes à durée de vie** : ⋮ › Durée de vie… — une note s'efface pour de bon après 1 heure,
Expand Down
30 changes: 27 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@

🇫🇷 [Version française](README.fr.md)

**v3.5.0 — November 2026** · [Privacy policy](PRIVACY.md) · [Terms of use](TERMS.md) · [Security](SECURITY.md)
**v3.6.0 — December 2026** · [Privacy policy](PRIVACY.md) · [Terms of use](TERMS.md) · [Security](SECURITY.md)

Encrypted Markdown note-taking app for Android, written in **Kotlin** with Jetpack Compose.
**100% local, no Internet permission.** Interface in **English, French, German, Italian and
Spanish**. Per-folder vaults (Argon2id passphrase or Keystore-bound PIN), an app lock with PIN and
**100% local, no Internet permission.** Interface in **English, French, German, Italian, Spanish,
Brazilian Portuguese and Dutch**. Per-folder vaults (Argon2id passphrase or Keystore-bound PIN), an app lock with PIN and
strong biometrics, FTS5 full-text search, on-device Whisper voice dictation, `[[note]]` backlinks,
notes read as cards in their colour, multi-step panic mode.

Expand All @@ -20,6 +20,30 @@ technically unable to send anything, and you can check that in its manifest.**

---

## What's new in 3.6.0

- **Brazilian Portuguese and Dutch**, chosen in Settings › Language, with the privacy policy, the
terms and the store listing. The Brazilian Portuguese interface and store listing were translated
by [TraduxBR](https://github.com/TraduxBR) ([#81](https://github.com/gitubpatrice/notes_tech/pull/81)),
thank you! Dutch, and the Brazilian Portuguese legal pages, were translated with machine
assistance and are not yet reviewed by a native speaker: corrections are welcome in the
[issues](https://github.com/gitubpatrice/notes_tech/issues). The legal pages say, in every
language, that the French version prevails.
- **Build**: Android Gradle Plugin 9.5.2, Gradle 9.9.2, KSP 2.3.14. Nothing else changes: still no
network permission, the same four permissions.

## What's new in 3.5.0

- **Checklists**: a box is ticked with a tap while reading; ⋮ › Checklist puts boxes in front of the
lines, or takes them away; Enter continues a list, Enter on an empty item ends it.
- **Home screen**: Settings › Home screen opens the app on All notes or on the Inbox
([#59](https://github.com/gitubpatrice/notes_tech/issues/59)).
- **A search of its own in the Archive**
([#72](https://github.com/gitubpatrice/notes_tech/issues/72)); Back in the Archive returns to the
list shown before, instead of closing the app.
- **Fixed**: export and backup say they leave out notes with a lifetime; the quick drop says when a
paste or a title is too long; a text or file shared to Notes Tech is read within a time limit.

## What's new in 3.4.0

- **Notes with a lifetime**: ⋮ › Lifetime… — a note is erased for good after 1 hour, 24 hours, 7 or 30
Expand Down
2 changes: 1 addition & 1 deletion SECURITY.fr.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

*English version: [SECURITY.md](SECURITY.md)*

**Version actuelle : v3.5.0 — novembre 2026.** Notes Tech 3.0 est une réécriture en Kotlin. Le journal
**Version actuelle : v3.6.0 — décembre 2026** (deux langues et outils de construction, aucun changement de sécurité). Notes Tech 3.0 est une réécriture en Kotlin. Le journal
de sécurité des versions Flutter 1.x et 2.x est conservé tel quel, dans
[`SECURITY.fr.md` au tag v2.0.9](https://github.com/gitubpatrice/notes_tech/blob/v2.0.9/SECURITY.fr.md).

Expand Down
2 changes: 1 addition & 1 deletion SECURITY.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

*Version française : [SECURITY.fr.md](SECURITY.fr.md)*

**Current version: v3.5.0 — November 2026.** Notes Tech 3.0 is a rewrite in Kotlin. The security log
**Current version: v3.6.0 — December 2026** (two languages and build tools, no security change). Notes Tech 3.0 is a rewrite in Kotlin. The security log
of the Flutter versions 1.x and 2.x is kept as it was, in
[`SECURITY.md` at tag v2.0.9](https://github.com/gitubpatrice/notes_tech/blob/v2.0.9/SECURITY.md).

Expand Down
3 changes: 2 additions & 1 deletion app/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,8 @@ android {
// time, without an error — the app would offer it and then speak English. It must be
// `LocalePreference.LANGUES`, which `LanguesDeLApplicationTest` checks (Pass Tech lost its
// German, Spanish and Italian this way, 2026-09-20: only `aapt2` on the APK showed it).
localeFilters += listOf("en", "fr", "de", "es", "it")
// AGP writes a region as Android's folders do: "pt-rBR" for the tag "pt-BR", as Agenda Tech.
localeFilters += listOf("en", "fr", "de", "es", "it", "pt-rBR", "nl")
}

bundle {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ class LanguesDansLApkTest {
val anglais = ressources("en")
val traduites = LocalePreference.LANGUES - "en"
// The witness first: were the list empty, the loop below would prove nothing.
assertThat(traduites).containsAtLeast("fr", "de", "es", "it")
assertThat(traduites).containsAtLeast("fr", "de", "es", "it", "pt-BR", "nl")

for (langue in traduites) {
val traduction = ressources(langue)
Expand All @@ -58,4 +58,18 @@ class LanguesDansLApkTest {
}
}
}

/**
* A phone in European Portuguese is shown the Brazilian strings, there being no `values-pt`: Android
* (7.0 and later) takes a resource of the same language when its region has none. `cleDeLangue`
* follows it for the dates and the Archive's headings — this test is what that choice rests on (3.6.0).
*/
@Test
fun un_telephone_en_portugais_du_portugal_lit_le_portugais_du_bresil() {
val portugal = ressources("pt-PT")
assertThat(portugal.getString(R.string.common_cancel))
.isEqualTo(ressources("pt-BR").getString(R.string.common_cancel))
assertThat(portugal.getString(R.string.common_cancel))
.isNotEqualTo(ressources("en").getString(R.string.common_cancel))
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,15 @@ class EcranDInstallationVocaleTest {
regle.onNodeWithText(texte(R.string.voice_setup_error_checksum)).assertIsDisplayed()
// In every language of the app, each read in its own configuration: the check used to read
// the device's language only, and a CI emulator in English failed on the French word (3.1.1).
mapOf("en" to "deleted", "fr" to "supprimé", "de" to "gelöscht", "it" to "eliminato", "es" to "eliminado")
mapOf(
"en" to "deleted",
"fr" to "supprimé",
"de" to "gelöscht",
"it" to "eliminato",
"es" to "eliminado",
"pt-BR" to "excluído",
"nl" to "verwijderd",
)
.forEach { (langue, mot) ->
val configuration = Configuration(regle.activity.resources.configuration)
configuration.setLocale(Locale.forLanguageTag(langue))
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,9 @@ enum class ThemePreference { SYSTEM, LIGHT, DARK }
*
* [code] is both what is persisted — in the preferences file shared with notes_tech 2.0.9, which
* knows "fr", "en" and "system" — and the language tag the resources are chosen by. German, Spanish
* and Italian are the port's (2026-09-25): 2.0.9 reads their codes as "follow the system".
* and Italian are the port's (2026-09-25): 2.0.9 reads their codes as "follow the system". Brazilian
* Portuguese and Dutch came with 3.6.0, as in Agenda Tech: "pt-BR" is a BCP 47 tag, whose resource
* folders Android names `values-pt-rBR` and `raw-pt-rBR`.
*/
enum class LocalePreference(val code: String?) {
SYSTEM(null),
Expand All @@ -25,6 +27,8 @@ enum class LocalePreference(val code: String?) {
GERMAN("de"),
SPANISH("es"),
ITALIAN("it"),
PORTUGUESE_BRAZIL("pt-BR"),
DUTCH("nl"),
;

companion object {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,20 +43,37 @@ fun rememberNoteDateFormatter(): (Instant) -> String {
* Portuguese months (found while adding German, Spanish and Italian, 2026-09-25).
*/
internal fun formateurDeDate(locale: Locale): DateTimeFormatter {
val parlee = if (locale.language in MOTIFS_DE_DATE) locale else Locale.ENGLISH
return DateTimeFormatter.ofPattern(MOTIFS_DE_DATE.getValue(parlee.language), parlee)
val cle = cleDeLangue(locale, MOTIFS_DE_DATE)
val parlee = if (cle != null) locale else Locale.ENGLISH
return DateTimeFormatter.ofPattern(MOTIFS_DE_DATE.getValue(cle ?: "en"), parlee)
}

/**
* The key of [motifs] that [locale] speaks, or null: its full tag, then its language alone, then any key
* of the same language — "de-AT" → "de", "nl-BE" → "nl", "pt-PT" → "pt-BR".
*
* The last step follows Android's own choice of resources (7.0 and later): a phone in European
* Portuguese, with no `values-pt`, is shown `values-pt-rBR` — Portuguese screens, so Portuguese dates.
* A first version sent it to English, and so put English dates under Portuguese screens (i18n audit of
* 3.6.0).
*/
internal fun cleDeLangue(locale: Locale, motifs: Map<String, String>): String? =
locale.toLanguageTag().takeIf { it in motifs }
?: locale.language.takeIf { it in motifs }
?: motifs.keys.firstOrNull { Locale.forLanguageTag(it).language == locale.language }

/**
* One pattern per language of the app (`LocalePreference.LANGUES`, checked by a test). French and
* English are 2.0.9's; German, Spanish and Italian keep its order — day, month, year, 24-hour time.
* English are 2.0.9's; the others keep its order — day, month, year, 24-hour time.
*/
internal val MOTIFS_DE_DATE = mapOf(
"fr" to "dd MMM yyyy · HH:mm",
"en" to "MMM d, yyyy · HH:mm",
"de" to "d. MMM yyyy · HH:mm",
"es" to "d MMM yyyy · HH:mm",
"it" to "d MMM yyyy · HH:mm",
"pt-BR" to "d MMM yyyy · HH:mm",
"nl" to "d MMM yyyy · HH:mm",
)

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ import com.filestech.notes_tech.domain.model.Note
import com.filestech.notes_tech.domain.model.NoteSortMode
import com.filestech.notes_tech.ui.common.ConfigurationCompat
import com.filestech.notes_tech.ui.common.MOTIFS_DE_DATE
import com.filestech.notes_tech.ui.common.cleDeLangue
import java.time.Instant
import java.time.YearMonth
import java.time.ZoneId
Expand Down Expand Up @@ -70,20 +71,23 @@ internal sealed interface LigneDeLArchive {
* lower case inside a sentence.
*/
internal fun formateurDeMois(locale: Locale): (YearMonth) -> String {
val parlee = if (locale.language in MOTIFS_DE_MOIS) locale else Locale.ENGLISH
val formateur = DateTimeFormatter.ofPattern(MOTIFS_DE_MOIS.getValue(parlee.language), parlee)
val cle = cleDeLangue(locale, MOTIFS_DE_MOIS)
val parlee = if (cle != null) locale else Locale.ENGLISH
val formateur = DateTimeFormatter.ofPattern(MOTIFS_DE_MOIS.getValue(cle ?: "en"), parlee)
return { mois ->
formateur.format(mois).replaceFirstChar { if (it.isLowerCase()) it.titlecase(parlee) else it.toString() }
}
}

/** One pattern per language of the app — the same five as [MOTIFS_DE_DATE], checked by a test. */
/** One pattern per language of the app — the same languages as [MOTIFS_DE_DATE], checked by a test. */
internal val MOTIFS_DE_MOIS = mapOf(
"fr" to "MMMM yyyy",
"en" to "MMMM yyyy",
"de" to "MMMM yyyy",
"es" to "MMMM 'de' yyyy",
"it" to "MMMM yyyy",
"pt-BR" to "MMMM 'de' yyyy",
"nl" to "MMMM yyyy",
)

@Composable
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -151,6 +151,8 @@ fun SettingsRoute(onBack: () -> Unit, onOpenAbout: () -> Unit, onOpenVoiceSetup:
LocalePreference.GERMAN -> R.string.settings_language_changed_de
LocalePreference.SPANISH -> R.string.settings_language_changed_es
LocalePreference.ITALIAN -> R.string.settings_language_changed_it
LocalePreference.PORTUGUESE_BRAZIL -> R.string.settings_language_changed_pt_br
LocalePreference.DUTCH -> R.string.settings_language_changed_nl
LocalePreference.SYSTEM -> null
}
// `announceForAccessibility` est déprécié et reste le seul moyen d'annoncer un
Expand Down Expand Up @@ -877,6 +879,8 @@ private fun libelleDeLangue(value: LocalePreference): Int = when (value) {
LocalePreference.GERMAN -> R.string.settings_language_de
LocalePreference.SPANISH -> R.string.settings_language_es
LocalePreference.ITALIAN -> R.string.settings_language_it
LocalePreference.PORTUGUESE_BRAZIL -> R.string.settings_language_pt_br
LocalePreference.DUTCH -> R.string.settings_language_nl
}

/**
Expand Down
Loading
Loading