diff options
| author | Christophe Besson <cbesson@gmail.com> | 2026-09-16 11:01:02 +0200 |
|---|---|---|
| committer | Christophe Besson <cbesson@gmail.com> | 2026-09-16 11:01:02 +0200 |
| commit | 20706fb9a4ec646816b44a10842aa8f58ea0fd75 (patch) | |
| tree | 126be97d794491196c6033ae76d4680f24188595 /packages/meshbay-hub/src/meshbay_hub/static/locales | |
| parent | a79a38a22a6145c475f50eeadb79b451aee31c11 (diff) | |
| download | meshbay-20706fb9a4ec646816b44a10842aa8f58ea0fd75.tar.gz | |
music: play, play next, add to queue
The player's queue could only be replaced: every onPlayQueue reset
tracks/order/pos together. It becomes one reducer (queue-ops.js) with
an `op`, because two appends batched into one tick cannot both read the
track count out of separate useStates.
A shared pop-up menu (menu.js) carries the three verbs, on right-click
and on a dots button. A track row is now a div holding two buttons: a
button cannot contain a button.
Found by the browser probe: both music wrappers took two arguments and
forwarded two, so every "add to queue" arrived as a plain play.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Diffstat (limited to 'packages/meshbay-hub/src/meshbay_hub/static/locales')
10 files changed, 40 insertions, 0 deletions
diff --git a/packages/meshbay-hub/src/meshbay_hub/static/locales/de.js b/packages/meshbay-hub/src/meshbay_hub/static/locales/de.js index 19004ae..4cb3e1b 100644 --- a/packages/meshbay-hub/src/meshbay_hub/static/locales/de.js +++ b/packages/meshbay-hub/src/meshbay_hub/static/locales/de.js @@ -296,6 +296,10 @@ export default { 'music.unknown_album': 'Unbekanntes Album', 'music.various': 'Verschiedenes', 'music.play_all': 'Alle abspielen', + 'music.menu_more': 'Mehr…', + 'music.menu_play': 'Abspielen', + 'music.menu_play_next': 'Als Nächstes', + 'music.menu_enqueue': 'Zur Warteschlange', 'music.n_tracks': { one: '{n} Titel', other: '{n} Titel', diff --git a/packages/meshbay-hub/src/meshbay_hub/static/locales/en.js b/packages/meshbay-hub/src/meshbay_hub/static/locales/en.js index 8084cd0..cc94d87 100644 --- a/packages/meshbay-hub/src/meshbay_hub/static/locales/en.js +++ b/packages/meshbay-hub/src/meshbay_hub/static/locales/en.js @@ -294,6 +294,10 @@ export default { 'music.unknown_album': 'Unknown album', 'music.various': 'Various', 'music.play_all': 'Play all', + 'music.menu_more': 'More…', + 'music.menu_play': 'Play', + 'music.menu_play_next': 'Play next', + 'music.menu_enqueue': 'Add to queue', 'music.n_tracks': { one: '{n} track', other: '{n} tracks', diff --git a/packages/meshbay-hub/src/meshbay_hub/static/locales/es.js b/packages/meshbay-hub/src/meshbay_hub/static/locales/es.js index 589f49d..8ce9d45 100644 --- a/packages/meshbay-hub/src/meshbay_hub/static/locales/es.js +++ b/packages/meshbay-hub/src/meshbay_hub/static/locales/es.js @@ -294,6 +294,10 @@ export default { 'music.unknown_album': 'Álbum desconocido', 'music.various': 'Varios', 'music.play_all': 'Reproducir todo', + 'music.menu_more': 'Más…', + 'music.menu_play': 'Reproducir', + 'music.menu_play_next': 'Reproducir a continuación', + 'music.menu_enqueue': 'Añadir a la cola', 'music.n_tracks': { one: '{n} pista', other: '{n} pistas', diff --git a/packages/meshbay-hub/src/meshbay_hub/static/locales/fr.js b/packages/meshbay-hub/src/meshbay_hub/static/locales/fr.js index 8409c6d..2caf912 100644 --- a/packages/meshbay-hub/src/meshbay_hub/static/locales/fr.js +++ b/packages/meshbay-hub/src/meshbay_hub/static/locales/fr.js @@ -295,6 +295,10 @@ export default { 'music.unknown_album': 'Album inconnu', 'music.various': 'Divers', 'music.play_all': 'Tout lire', + 'music.menu_more': 'Plus…', + 'music.menu_play': 'Lire', + 'music.menu_play_next': 'Lire ensuite', + 'music.menu_enqueue': 'Ajouter à la file', 'music.n_tracks': { one: '{n} piste', other: '{n} pistes', diff --git a/packages/meshbay-hub/src/meshbay_hub/static/locales/it.js b/packages/meshbay-hub/src/meshbay_hub/static/locales/it.js index c501639..5edfb24 100644 --- a/packages/meshbay-hub/src/meshbay_hub/static/locales/it.js +++ b/packages/meshbay-hub/src/meshbay_hub/static/locales/it.js @@ -295,6 +295,10 @@ export default { 'music.unknown_album': 'Album sconosciuto', 'music.various': 'Vari', 'music.play_all': 'Riproduci tutto', + 'music.menu_more': 'Altro…', + 'music.menu_play': 'Riproduci', + 'music.menu_play_next': 'Riproduci dopo', + 'music.menu_enqueue': 'Aggiungi alla coda', 'music.n_tracks': { one: '{n} traccia', other: '{n} tracce', diff --git a/packages/meshbay-hub/src/meshbay_hub/static/locales/ja.js b/packages/meshbay-hub/src/meshbay_hub/static/locales/ja.js index 85b9f31..29fd626 100644 --- a/packages/meshbay-hub/src/meshbay_hub/static/locales/ja.js +++ b/packages/meshbay-hub/src/meshbay_hub/static/locales/ja.js @@ -292,6 +292,10 @@ export default { 'music.unknown_album': '不明なアルバム', 'music.various': 'その他', 'music.play_all': 'すべて再生', + 'music.menu_more': 'その他…', + 'music.menu_play': '再生', + 'music.menu_play_next': '次に再生', + 'music.menu_enqueue': 'キューに追加', 'music.n_tracks': { one: '{n}曲', other: '{n}曲', diff --git a/packages/meshbay-hub/src/meshbay_hub/static/locales/nl.js b/packages/meshbay-hub/src/meshbay_hub/static/locales/nl.js index 68e3a7d..f4605b3 100644 --- a/packages/meshbay-hub/src/meshbay_hub/static/locales/nl.js +++ b/packages/meshbay-hub/src/meshbay_hub/static/locales/nl.js @@ -296,6 +296,10 @@ export default { 'music.unknown_album': 'Onbekend album', 'music.various': 'Diversen', 'music.play_all': 'Alles afspelen', + 'music.menu_more': 'Meer…', + 'music.menu_play': 'Afspelen', + 'music.menu_play_next': 'Hierna afspelen', + 'music.menu_enqueue': 'Aan wachtrij toevoegen', 'music.n_tracks': { one: '{n} nummer', other: '{n} nummers', diff --git a/packages/meshbay-hub/src/meshbay_hub/static/locales/pl.js b/packages/meshbay-hub/src/meshbay_hub/static/locales/pl.js index f7db14e..3b65ff9 100644 --- a/packages/meshbay-hub/src/meshbay_hub/static/locales/pl.js +++ b/packages/meshbay-hub/src/meshbay_hub/static/locales/pl.js @@ -303,6 +303,10 @@ export default { 'music.unknown_album': 'Nieznany album', 'music.various': 'Różne', 'music.play_all': 'Odtwórz wszystko', + 'music.menu_more': 'Więcej…', + 'music.menu_play': 'Odtwórz', + 'music.menu_play_next': 'Odtwórz jako następne', + 'music.menu_enqueue': 'Dodaj do kolejki', 'music.n_tracks': { one: '{n} utwór', few: '{n} utwory', diff --git a/packages/meshbay-hub/src/meshbay_hub/static/locales/pt-BR.js b/packages/meshbay-hub/src/meshbay_hub/static/locales/pt-BR.js index 3a6f55f..7ed921c 100644 --- a/packages/meshbay-hub/src/meshbay_hub/static/locales/pt-BR.js +++ b/packages/meshbay-hub/src/meshbay_hub/static/locales/pt-BR.js @@ -296,6 +296,10 @@ export default { 'music.unknown_album': 'Álbum desconhecido', 'music.various': 'Diversos', 'music.play_all': 'Reproduzir tudo', + 'music.menu_more': 'Mais…', + 'music.menu_play': 'Reproduzir', + 'music.menu_play_next': 'Reproduzir em seguida', + 'music.menu_enqueue': 'Adicionar à fila', 'music.n_tracks': { one: '{n} faixa', other: '{n} faixas', diff --git a/packages/meshbay-hub/src/meshbay_hub/static/locales/zh-CN.js b/packages/meshbay-hub/src/meshbay_hub/static/locales/zh-CN.js index cb84105..280b3aa 100644 --- a/packages/meshbay-hub/src/meshbay_hub/static/locales/zh-CN.js +++ b/packages/meshbay-hub/src/meshbay_hub/static/locales/zh-CN.js @@ -289,6 +289,10 @@ export default { 'music.unknown_album': '未知专辑', 'music.various': '其他', 'music.play_all': '全部播放', + 'music.menu_more': '更多…', + 'music.menu_play': '播放', + 'music.menu_play_next': '下一首播放', + 'music.menu_enqueue': '加入队列', 'music.n_tracks': { one: '{n} 首曲目', other: '{n} 首曲目', |