Skip to content

Commit

Permalink
Prepare v1.11.0 (#352)
Browse files Browse the repository at this point in the history
* upgrade Flutter and Dart versions

* bump application version

* bump dependencies versions

* fix: lint

* fix: todo

* update localizations

* update changelogs
  • Loading branch information
maelchiotti authored Jan 5, 2025
1 parent 84293c2 commit d009c92
Show file tree
Hide file tree
Showing 23 changed files with 532 additions and 442 deletions.
14 changes: 14 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,20 @@ All notable changes to this project will be documented in this file.

The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## 1.11.0 - 2025-01-05

### Added

- Choose the font of the application and the notes editor
- More actions on multi-selection: share and add labels
- Swipe actions in the bin

### Fixed

- Already existing notes missing while searching
- Back action from the labels pages
- Wrong icon for hidden labels

## 1.10.1 - 2024-12-23

### Fixed
Expand Down
9 changes: 9 additions & 0 deletions fastlane/metadata/android/en-US/changelogs/240.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
ADDED
- Choose the font of the application and the notes editor
- More actions on multi-selection: share and add labels
- Swipe actions in the bin

FIXED
- Already existing notes missing while searching
- Back action from the labels pages
- Wrong icon for hidden labels
9 changes: 9 additions & 0 deletions fastlane/metadata/android/fr-FR/changelogs/240.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
AJOUTÉ
- Choix de la police de l'application et de l'éditeur de notes
- Plus d'actions en multi-sélection : partager et ajouter des étiquettes
- Actions de balayage dans la corbeille

CORRIGÉ
- Absence des notes déjà existantes lors de la recherche
- Action de retour depuis les pages d'étiquettes
- Mauvaise icône pour les étiquettes cachées
4 changes: 2 additions & 2 deletions fastlane/metadata/android/zh-CN/full_description.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
full_description: |
<p>
<b>Material Notes</b> 是基于文本的笔记应用程序,旨在简单。它包含 Material 设计。
它在本地存储笔记,并且没有任何互联网权限,因此您是唯一可以访问笔记的人
它在本地存储笔记,并且没有任何互联网权限,因此只有您可以访问笔记
</p>
<p>
Expand All @@ -11,7 +11,7 @@ full_description: |
<li>撰写文本笔记(标题和内容)</li>
<li>利用高级格式选项,包括清单</li>
<li>编辑时撤销和恢复更改</li>
<li>使用主屏幕上的快建操作快速添加笔记</li>
<li>使用主屏幕上的快捷操作快速添加笔记</li>
</ul>
<p>
Expand Down
3 changes: 3 additions & 0 deletions lib/common/constants/labels.dart
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
import 'package:flutter/material.dart';
import '../../models/label/label.dart';

// TODO: remove on next Flutter release
// ignore_for_file: deprecated_member_use

/// Labels used when running integration tests.
final integrationTestLabels = <Label>[];

Expand Down
18 changes: 9 additions & 9 deletions lib/common/enums/localization_completion.dart
Original file line number Diff line number Diff line change
Expand Up @@ -4,37 +4,37 @@ import 'package:flutter/material.dart';
/// Lists the localization completion for every supported language.
enum LocalizationCompletion {
/// Czech.
cs(Locale('cs'), 1),
cs(Locale('cs'), .99),

/// English.
en(Locale('en'), 1),

/// Spanish.
es(Locale('es'), .85),
es(Locale('es'), .99),

/// French.
fr(Locale('fr'), 1),

/// German.
de(Locale('de'), .92),
de(Locale('de'), .79),

/// Hindi.
hi(Locale('hi'), .98),
hi(Locale('hi'), .82),

/// Polish.
pl(Locale('pl'), .73),
pl(Locale('pl'), .62),

/// Portuguese.
pt(Locale('pt'), .74),
pt(Locale('pt'), .63),

/// Russian.
ru(Locale('ru'), .99),
ru(Locale('ru'), .90),

/// Turkish.
tr(Locale('tr'), .98),
tr(Locale('tr'), .82),

/// Chinese Simplified.
zh(Locale('zh'), 1),
zh(Locale('zh'), .99),
;

/// The locale of this localization.
Expand Down
17 changes: 14 additions & 3 deletions lib/common/preferences/enums/font.dart
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
// ignore_for_file: public_member_api_docs

import '../../constants/constants.dart';
import '../../extensions/iterable_extension.dart';
import '../preference_key.dart';

/// List of fonts.
enum Font {
systemDefault('Roboto', 'System default'),
systemDefault('Roboto'),
barlow('Barlow', 'Barlow'),
comicSansMS('Comic Sans MS', 'Comic Sans MS'),
dancingScript('Dancing Script', 'Dancing Script'),
Expand All @@ -24,10 +25,10 @@ enum Font {
final String familyName;

/// The name of the font family to display.
final String displayName;
final String? _displayName;

/// A font identified by its [familyName] that can be used in the application.
const Font(this.familyName, this.displayName);
const Font(this.familyName, [this._displayName]);

/// Returns the value of the preference if set, or its default value otherwise.
factory Font.appFromPreference() {
Expand Down Expand Up @@ -60,4 +61,14 @@ enum Font {

return font;
}

/// Returns the display name of this font.
String get displayName {
// Return the localized display name for the system default font
if (this == systemDefault) {
return l.font_system_default;
}

return _displayName!;
}
}
78 changes: 64 additions & 14 deletions lib/l10n/translations/app_cs.arb
Original file line number Diff line number Diff line change
Expand Up @@ -109,18 +109,14 @@
"@button_sort_ascending": {
"description": "Text of the button to sort the notes list in ascending order."
},
"settings_appearance": "Vzhled",
"@settings_appearance": {
"settings_page_appearance": "Vzhled",
"@settings_page_appearance": {
"description": "Title of the settings page regarding the application's appearance."
},
"settings_appearance_description": "Jazyk, motiv, dlaždice poznámek",
"@settings_appearance_description": {
"settings_page_appearance_description": "Jazyk, motiv, písmo, dlaždice poznámek",
"@settings_page_appearance_description": {
"description": "Description of the appearance settings page."
},
"settings_appearance_application": "Aplikace",
"@settings_appearance_application": {
"description": "Title of the sub-section regarding the application under the appearance settings."
},
"settings_language": "Jazyk",
"@settings_language": {
"description": "Title of the language setting tile."
Expand All @@ -129,6 +125,10 @@
"@settings_language_contribute": {
"description": "Button to contribute to the localizations, shown on the language setting tile."
},
"settings_appearance_section_theming": "Motiv",
"@settings_appearance_section_theming": {
"description": "Title of the section regarding the theming under the appearance settings."
},
"settings_theme": "Motiv",
"@settings_theme": {
"description": "Title of the theming setting tile."
Expand Down Expand Up @@ -161,9 +161,29 @@
"@settings_black_theming_description": {
"description": "Description of the black theming setting tile."
},
"settings_appearance_notes_tiles": "Dlaždice poznámek",
"@settings_appearance_notes_tiles": {
"description": "Title of the sub-section regarding the notes tiles under the appearance settings."
"settings_appearance_section_fonts": "Písmo",
"@settings_appearance_section_fonts": {
"description": "Title of the section regarding the theming under the appearance settings."
},
"settings_app_font": "Písmo aplikace",
"@settings_app_font": {
"description": "Title of the setting tile to choose the font of the app."
},
"settings_app_font_description": "Písmo používané pro všechny texty v aplikaci, kromě editoru poznámek",
"@settings_app_font_description": {
"description": "Description of the setting tile to choose the font of the app."
},
"settings_editor_font": "Písmo editoru",
"@settings_editor_font": {
"description": "Title of the setting tile to choose the font of the notes."
},
"settings_editor_font_description": "Písmo používané pouze pro text v editoru poznámek",
"@settings_editor_font_description": {
"description": "Description of the setting tile to choose the font of the app."
},
"settings_appearance_section_notes_tiles": "Dlaždice poznámek",
"@settings_appearance_section_notes_tiles": {
"description": "Title of the section regarding the notes tiles under the appearance settings."
},
"settings_show_titles_only": "Pouze názvy",
"@settings_show_titles_only": {
Expand Down Expand Up @@ -239,7 +259,11 @@
},
"settings_behavior_swipe_actions": "Akce přejetím",
"@settings_behavior_swipe_actions": {
"description": "Title of the sub-section regarding the swipe actions under the behavior settings."
"description": "Title of the section regarding the swipe actions on the notes tiles under the behavior settings."
},
"settings_behavior_swipe_actions_bin": "Akce přejetím (koš)",
"@settings_behavior_swipe_actions_bin": {
"description": "Title of the section regarding the swipe actions on the notes tiles in the bin under the behavior settings."
},
"settings_swipe_action_right": "Akce přejetím doprava",
"@settings_swipe_action_right": {
Expand All @@ -249,6 +273,10 @@
"@settings_swipe_action_right_description": {
"description": "Description of the setting tile to choose which action to trigger when a right swipe is performed on a note tile."
},
"settings_bin_swipe_action_right_description": "Akce spuštěná po přejetí po dlaždici poznámky v koši prstem doprava",
"@settings_bin_swipe_action_right_description": {
"description": "Description of the setting tile to choose which action to trigger when a right swipe is performed on a note tile in the bin."
},
"settings_swipe_action_left": "Akce přejetím doleva",
"@settings_swipe_action_left": {
"description": "Title of the setting tile to choose which action to trigger when a left swipe is performed on a note tile."
Expand All @@ -257,6 +285,10 @@
"@settings_swipe_action_left_description": {
"description": "Description of the setting tile to choose which action to trigger when a left swipe is performed on a note tile."
},
"settings_bin_swipe_action_left_description": "Akce spuštěná po přejetí po dlaždici poznámky v koši prstem doleva",
"@settings_bin_swipe_action_left_description": {
"description": "Description of the setting tile to choose which action to trigger when a left swipe is performed on a note tile in the bin."
},
"settings_editor": "Editor",
"@settings_editor": {
"description": "Title of the settings page regarding the notes content editor."
Expand Down Expand Up @@ -619,6 +651,14 @@
"@dialog_export_encryption_password": {
"description": "Hint for the password text field in the dialog to configure the encryption of an automatic or manual export."
},
"dialog_select_labels": "Vybrat štítky",
"@dialog_select_labels": {
"description": "Title of the dialog to select the labels of a note."
},
"dialog_select_labels_to_add": "Vyberte štítky k přidání",
"@dialog_select_labels_to_add": {
"description": "Title of the dialog to select the labels to add to the currently selected notes."
},
"tooltip_undo": "Vrátit poslední akci",
"@tooltip_undo": {
"description": "Tooltip for the button to undo the last action in the editor."
Expand Down Expand Up @@ -735,7 +775,7 @@
"@dialog_restore": {
"description": "Title of the the dialog to restore one or multiple notes from the bin, and text for the confirmation button."
},
"dialog_restore_body": "Opravdu chcete obnovit {count} {count, plural, one{poznámku} few {poznámky} many {poznámek} other{poznámek}}?",
"dialog_restore_body": "Opravdu chcete obnovit {count} {count, plural, one{poznámku} few{poznámky} many{poznámek} other{poznámek}}?",
"@dialog_restore_body": {
"description": "Text for the dialog to confirm restoring one or multiple notes from the bin.",
"placeholders": {
Expand All @@ -757,7 +797,7 @@
"@dialog_delete_label": {
"description": "Title of the the dialog to delete one or multiple labels, and text for the confirmation button."
},
"dialog_delete_label_body": "Opravdu chcete odstranit {count} {count, plural, one{štítek} few {štítky} many {štítků} other{štítků}}? {count, plural, one{Bude odstraněn} other{Budou odstraněny}} ze všech poznámek na které jste {count, plural, one{ho} other{je}} přidali.",
"dialog_delete_label_body": "Opravdu chcete odstranit {count} {count, plural, one{štítek} few{štítky} many{štítků} other{štítků}}? {count, plural, one{Bude odstraněn} other{Budou odstraněny}} ze všech poznámek na které jste {count, plural, one{ho} other{je}} přidali.",
"@dialog_delete_label_body": {
"description": "Text for the dialog to confirm the deletion of one or multiple notes.",
"placeholders": {
Expand Down Expand Up @@ -847,6 +887,16 @@
"@action_share": {
"description": "Swipe or menu action to share a note."
},
"action_share_subject": "{count} {count, plural, one{poznámka sdílena} few{poznámky sdíleny} many{poznámek sdíleno} other{poznámek sdíleno}} z aplikace Material Notes",
"@action_share_subject": {
"description": "Subject of the text that is shared when multiple notes are shared at the same time.",
"placeholders": {
"count": {
"description": "Number of notes being shared.",
"type": "int"
}
}
},
"action_delete": "Odstranit",
"@action_delete": {
"description": "Swipe or menu action to delete a note (moving it to the bin)."
Expand Down
48 changes: 1 addition & 47 deletions lib/l10n/translations/app_de.arb
Original file line number Diff line number Diff line change
Expand Up @@ -109,18 +109,6 @@
"@button_sort_ascending": {
"description": "Text of the button to sort the notes list in ascending order."
},
"settings_appearance": "Aussehen",
"@settings_appearance": {
"description": "Title of the settings page regarding the application's appearance."
},
"settings_appearance_description": "Sprache, Gestaltung, Notizkacheln",
"@settings_appearance_description": {
"description": "Description of the appearance settings page."
},
"settings_appearance_application": "Anwendung",
"@settings_appearance_application": {
"description": "Title of the sub-section regarding the application under the appearance settings."
},
"settings_language": "Sprache",
"@settings_language": {
"description": "Title of the language setting tile."
Expand Down Expand Up @@ -161,10 +149,6 @@
"@settings_black_theming_description": {
"description": "Description of the black theming setting tile."
},
"settings_appearance_notes_tiles": "Notizenfelder",
"@settings_appearance_notes_tiles": {
"description": "Title of the sub-section regarding the notes tiles under the appearance settings."
},
"settings_show_titles_only": "Nur Titel",
"@settings_show_titles_only": {
"description": "Title of the setting tile to only show the titles of the notes in the notes tiles."
Expand Down Expand Up @@ -239,7 +223,7 @@
},
"settings_behavior_swipe_actions": "Wischgesten",
"@settings_behavior_swipe_actions": {
"description": "Title of the sub-section regarding the swipe actions under the behavior settings."
"description": "Title of the section regarding the swipe actions on the notes tiles under the behavior settings."
},
"settings_swipe_action_right": "Aktion für Rechtswischen",
"@settings_swipe_action_right": {
Expand Down Expand Up @@ -679,44 +663,14 @@
"@dialog_delete": {
"description": "Title of the the dialog to delete one or multiple notes (moving them to the bin), and text for the confirmation button."
},
"dialog_delete_body": "Willst du diese {count} {count, plural,zero{} one{Notiz} other{Notizen}} wirklich löschen? Du kannst {count, plural,zero{} one{diese} other{diese}} aus dem Papierkorb wiederherstellen.",
"@dialog_delete_body": {
"description": "Text for the dialog to confirm the deletion of one or multiple notes.",
"placeholders": {
"count": {
"description": "Number of notes to delete.",
"type": "int"
}
}
},
"dialog_permanently_delete": "Dauerhaft löschen",
"@dialog_permanently_delete": {
"description": "Title of the the dialog to permanently delete one or multiple notes, and text for the confirmation button."
},
"dialog_permanently_delete_body": "Willst du die {count} {count, plural, zero{} one{Notiz} other{Notizen}} dauerhaft löschen? Du kannst {count, plural, zero{} one{diese} other{diese}} nicht wiederherstellen.",
"@dialog_permanently_delete_body": {
"description": "Text for the dialog to confirm the permanent deletion of one or multiple notes.",
"placeholders": {
"count": {
"description": "Number of notes to delete.",
"type": "int"
}
}
},
"dialog_restore": "Wiederherstellen",
"@dialog_restore": {
"description": "Title of the the dialog to restore one or multiple notes from the bin, and text for the confirmation button."
},
"dialog_restore_body": "Willst du diese {count} {count, plural, zero{} one{Notiz} other{Notizen}} wirklich wiederherstellen?",
"@dialog_restore_body": {
"description": "Text for the dialog to confirm restoring one or multiple notes from the bin.",
"placeholders": {
"count": {
"description": "Number of notes to delete.",
"type": "int"
}
}
},
"dialog_empty_bin": "Papierkorb leeren",
"@dialog_empty_bin": {
"description": "Title of the the dialog to empty the bin, and text for the confirmation button."
Expand Down
Loading

0 comments on commit d009c92

Please sign in to comment.