Tell the account why its shared podcast is not published
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
5b2973f958
commit
3a1c50e78e
9 files changed
+179
-46
No files matched your search
@@ -79,6 +79,9 @@ const T = {
|
||||
podcastSharePublished: "{{ t.player_podcast_share_published }}",
|
||||
podcastSharePublishing: "{{ t.player_podcast_share_publishing }}",
|
||||
podcastShareDiscoveryOff: "{{ t.player_podcast_share_discovery_off }}",
|
||||
podcastShareDiscoveryUnavailable: "{{ t.player_podcast_share_discovery_unavailable }}",
|
||||
podcastShareOverLimit: "{{ t.player_podcast_share_over_limit }}",
|
||||
podcastShareFailed: "{{ t.player_podcast_share_failed }}",
|
||||
podcastSharePending: "{{ t.player_podcast_share_pending }}",
|
||||
podcastShareUnavailable: "{{ t.player_podcast_share_unavailable }}",
|
||||
podcastWarningSecretQuery: "{{ t.player_podcast_warning_secret_query }}",
|
||||
@@ -3972,8 +3975,13 @@ document.addEventListener('alpine:init', () => {
|
||||
if (!share) return '';
|
||||
if (!share.shared) return share.card_error ? T.podcastShareUnavailable : T.podcastSharePrivate;
|
||||
if (share.pending_confirmation) return T.podcastSharePending;
|
||||
if (share.discovery === 'unavailable') return T.podcastShareDiscoveryUnavailable;
|
||||
if (share.discovery !== 'running') return T.podcastShareDiscoveryOff;
|
||||
return share.published ? T.podcastSharePublished : T.podcastSharePublishing;
|
||||
if (share.published) return T.podcastSharePublished;
|
||||
// Not published by this server after its last round, and why.
|
||||
if (share.held === 'over_limit') return T.podcastShareOverLimit;
|
||||
if (share.held === 'failed') return T.podcastShareFailed;
|
||||
return T.podcastSharePublishing;
|
||||
},
|
||||
|
||||
warningText(warning) {
|
||||
|
||||
Reference in new issue
Block a user