feat(app): every empty studyset tab says how to add some, as Files did

Paths, flashcards and notes now show what Files showed when empty: an
icon for what the tab holds, "No … yet", and the menus that add some
("Add material → Create a path", "⋮ → Import content", …), through one
shared widget, EmptyListMessage. The icons are those the app uses for
each already: the route, the study screen's card stack, the note pen,
the folder.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01MMm7usAo6q9ZZRoPkWjoxi
Signed-off-by: Tizian 「ティツィアーン」 <raisondetredev@pm.me>
This commit is contained in:
Tizian 「ティツィアーン」 2026-10-08 20:24:22 +02:00
commit 02efa2cdcf
Signed by: raisondetredev
GPG key ID: 07F6FCF405488B64

View file

@ -298,7 +298,7 @@ class AppLocalizationsDe extends AppLocalizations {
@override
String get pathsEmptyHint =>
'Ein Pfad führt Schritt für Schritt durch eine Lektion.';
'Ein Pfad führt Schritt für Schritt durch eine Lektion. Nutze „Material hinzufügen → Pfad erstellen“, um einen zu schreiben, oder „⋮ → Inhalt importieren“, um einen zu importieren.';
@override
String get pathOptions => 'Pfadoptionen';
@ -717,7 +717,7 @@ class AppLocalizationsDe extends AppLocalizations {
@override
String get notesEmptyHint =>
'Notizen erscheinen hier, sobald du welche hinzufügst.';
'Nutze „Material hinzufügen → Notiz erstellen“, um eine zu schreiben.';
@override
String get noteUntitled => 'Unbenannte Notiz';
@ -824,7 +824,7 @@ class AppLocalizationsDe extends AppLocalizations {
@override
String get studysetFlashcardsEmptyHint =>
'Füge welche hinzu, um mit dem Lernen zu beginnen.';
'Nutze „Material hinzufügen → Karteikarten erstellen“, um welche zu schreiben, oder „⋮ → Inhalt importieren“ für ein Anki-Deck oder eine Liste.';
@override
String get studysetAddMaterial => 'Material hinzufügen';