feat(library): who made a studyset, and whether it is public

Each card's foot now says who made the studyset: "By you", or for a copy
of a published studyset its author's handle. Beside the star, a lock or a
globe says whether it is out on Explore, and opens the Publish sheet.

The instance says which of the person's studysets are published and not
withdrawn (`PublishEndpoint.published`, additive: older apps don't call
it), and the app remembers that in the person's folder, so the library
shows it offline too; publishing, withdrawing and looking one up keep it
current.

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-10 05:17:10 +02:00
commit bc3e8d9ac3
Signed by: raisondetredev
GPG key ID: 07F6FCF405488B64

View file

@ -400,6 +400,36 @@ abstract class AppLocalizations {
/// **'Unstar'**
String get studysetUnstar;
/// No description provided for @studysetByYou.
///
/// In en, this message translates to:
/// **'By you'**
String get studysetByYou;
/// No description provided for @studysetByAuthor.
///
/// In en, this message translates to:
/// **'By {author}'**
String studysetByAuthor(String author);
/// No description provided for @studysetByOthers.
///
/// In en, this message translates to:
/// **'A copy'**
String get studysetByOthers;
/// No description provided for @studysetVisibilityPrivate.
///
/// In en, this message translates to:
/// **'Private'**
String get studysetVisibilityPrivate;
/// No description provided for @studysetVisibilityPublic.
///
/// In en, this message translates to:
/// **'Public'**
String get studysetVisibilityPublic;
/// No description provided for @studysetOptions.
///
/// In en, this message translates to: