feat(todo): a task's title field hints "Task name", as Todoist's

The title's placeholder in quick add and in a task's sheet read "What's
to be done?"; the developer asked for Todoist's plainer "Task name"
("Aufgabenname").

Whats-New: A task's title field now says "Task name".
Whats-New-De: Das Titelfeld einer Aufgabe zeigt jetzt „Aufgabenname“.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: Tizian 「ティツィアーン」 <raisondetredev@pm.me>
This commit is contained in:
Tizian 「ティツィアーン」 2026-11-04 20:57:04 +01:00
commit 5cc894aff7
Signed by: raisondetredev
GPG key ID: 07F6FCF405488B64
6 changed files with 13 additions and 5 deletions

View file

@ -81,7 +81,7 @@
"taskAddTitle": "Aufgabe hinzufügen", "taskAddTitle": "Aufgabe hinzufügen",
"taskAdd": "Hinzufügen", "taskAdd": "Hinzufügen",
"taskAddOn": "Aufgabe für {day} hinzufügen", "taskAddOn": "Aufgabe für {day} hinzufügen",
"taskTitleHint": "Was ist zu tun?", "taskTitleHint": "Aufgabenname",
"taskDescription": "Beschreibung", "taskDescription": "Beschreibung",
"taskDescriptionHint": "Beschreibung", "taskDescriptionHint": "Beschreibung",
"taskComplete": "Als erledigt markieren", "taskComplete": "Als erledigt markieren",

View file

@ -181,7 +181,7 @@
} }
} }
}, },
"taskTitleHint": "What's to be done?", "taskTitleHint": "Task name",
"taskDescription": "Description", "taskDescription": "Description",
"taskDescriptionHint": "Description", "taskDescriptionHint": "Description",
"taskComplete": "Mark as done", "taskComplete": "Mark as done",

View file

@ -589,7 +589,7 @@ abstract class AppLocalizations {
/// No description provided for @taskTitleHint. /// No description provided for @taskTitleHint.
/// ///
/// In en, this message translates to: /// In en, this message translates to:
/// **'What\'s to be done?'** /// **'Task name'**
String get taskTitleHint; String get taskTitleHint;
/// No description provided for @taskDescription. /// No description provided for @taskDescription.

View file

@ -291,7 +291,7 @@ class AppLocalizationsDe extends AppLocalizations {
} }
@override @override
String get taskTitleHint => 'Was ist zu tun?'; String get taskTitleHint => 'Aufgabenname';
@override @override
String get taskDescription => 'Beschreibung'; String get taskDescription => 'Beschreibung';

View file

@ -291,7 +291,7 @@ class AppLocalizationsEn extends AppLocalizations {
} }
@override @override
String get taskTitleHint => 'What\'s to be done?'; String get taskTitleHint => 'Task name';
@override @override
String get taskDescription => 'Description'; String get taskDescription => 'Description';

View file

@ -1280,6 +1280,14 @@ void main() {
reason: 'the list in view', reason: 'the list in view',
); );
expect(find.text('Add task'), findsNothing, reason: 'no title bar'); expect(find.text('Add task'), findsNothing, reason: 'no title bar');
expect(
find.descendant(
of: find.byType(QuickAddBar),
matching: find.text('Task name'),
),
findsOneWidget,
reason: "its hint, as Todoist's (the developer's review, 4 Nov 2026)",
);
}); });
testWidgets('typed tokens set the task, shown on its chips, a label ' testWidgets('typed tokens set the task, shown on its chips, a label '