Skip to content

Commit 5781d39

Browse files
committed
Localize discovery action subtitle
1 parent 9ff6d5c commit 5781d39

15 files changed

Lines changed: 21 additions & 9 deletions

File tree

dist/homeii-music-flow.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
isRtlLanguage as homeiiIsRtlLanguage,
55
translate as homeiiTranslate,
66
translateText as homeiiTranslateText,
7-
} from "./localization/index.js?v=5.7.0-locales-8c8f7d7dfd";
7+
} from "./localization/index.js?v=5.7.0-locales-96e11c771c";
88

99
const HOMEII_VISIBLE_LANGUAGE_OPTIONS = Object.freeze([
1010
...HOMEII_LANGUAGE_OPTIONS,
@@ -40499,7 +40499,7 @@ class HomeiiMusicFlowBaseCard extends HomeiiBaseMusicCard {
4049940499
return `
4050040500
<div class="action-grid">
4050140501
${this._navMenuItem("simple_wizard", this._iconSvg("wand"), "FLOW", this._i18n("ui.a_guided_music_wizard"), "simple")}
40502-
${this._discoveryModeEnabled() ? this._navMenuItem("discovery", this._iconSvg("grid"), this._i18n("ui.discover_music", {}, this._m("Discover", "גלה מוזיקה")), this._m("Genres and styles", "ז'אנרים וסגנונות"), "discovery") : ""}
40502+
${this._discoveryModeEnabled() ? this._navMenuItem("discovery", this._iconSvg("grid"), this._i18n("ui.discover_music", {}, this._m("Discover", "גלה מוזיקה")), this._i18n("ui.genres_and_styles", {}, this._m("Genres and styles", "ז'אנרים וסגנונות")), "discovery") : ""}
4050340503
${this._navMenuItem("players", this._iconSvg("speaker"), this._i18n("ui.players"), this._i18n("ui.players_queue_and_groups"), "players")}
4050440504
${this._navMenuItem("library_liked", this._iconSvg("heart_filled"), this._i18n("ui.liked"), this._i18n("ui.open_saved_songs"), "liked")}
4050540505
${this._navMenuItem("sleep_timer", this._iconSvg("timer"), this._i18n("ui.schedules"), this._i18n("ui.sleep_timer_and_morning_playback"), "announcement")}

dist/localization/en.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -870,6 +870,7 @@ const messages = Object.freeze({
870870
"ui.player_light_pair_player_helper": "Choose the Music Assistant player for this light pair.",
871871
"ui.all": "All",
872872
"ui.all_genres": "All genres",
873+
"ui.genres_and_styles": "Genres and styles",
873874
"ui.compact_widget_mode": "Compact widget style",
874875
"ui.choose_when_compact_mode_uses_the_two_row_mobile_widget": "Choose when compact mode uses the smaller two-row mobile widget.",
875876
"ui.full": "Full",

dist/localization/es.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -848,6 +848,7 @@ const messages = Object.freeze({
848848
"ui.player_light_pair_player_helper": "Selecciona el reproductor de Music Assistant para este par de luces.",
849849
"ui.all": "Todo",
850850
"ui.all_genres": "Todos los géneros",
851+
"ui.genres_and_styles": "Géneros y estilos",
851852
"ui.compact_widget_mode": "Estilo del widget compacto",
852853
"ui.choose_when_compact_mode_uses_the_two_row_mobile_widget": "Elige cuándo el modo compacto usa el widget móvil pequeño de dos filas.",
853854
"ui.full": "Completo",

dist/localization/fr.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -870,6 +870,7 @@ const messages = Object.freeze({
870870
"ui.player_light_pair_player_helper": "Choisissez le lecteur MA pour cette lumière.",
871871
"ui.all": "Tous",
872872
"ui.all_genres": "Tous les styles",
873+
"ui.genres_and_styles": "Styles et genres",
873874
"ui.compact_widget_mode": "Style du widget compact",
874875
"ui.choose_when_compact_mode_uses_the_two_row_mobile_widget": "Choisissez le mode du widget. Mini widget affiche une carte compacte adaptée pour mobile.",
875876
"ui.full": "Complet",

dist/localization/he.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -820,6 +820,7 @@ const messages = Object.freeze({
820820
"ui.player_light_pair_player_helper": "בחר את נגן Music Assistant עבור צמד התאורה הזה.",
821821
"ui.all": "הכל",
822822
"ui.all_genres": "כל הז׳אנרים",
823+
"ui.genres_and_styles": "ז'אנרים וסגנונות",
823824
"ui.compact_widget_mode": "סגנון ווידג׳ט קומפקטי",
824825
"ui.choose_when_compact_mode_uses_the_two_row_mobile_widget": "בחר מתי מצב קומפקטי משתמש בווידג׳ט מובייל קטן בשתי שורות.",
825826
"ui.full": "רגיל",

dist/localization/index.js

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
import en from "./en.js?v=5.7.0-33db1690b5";
2-
import es from "./es.js?v=5.7.0-2d540e6320";
3-
import fr from "./fr.js?v=5.7.0-de9e026537";
4-
import he from "./he.js?v=5.7.0-de02c77850";
5-
import lt from "./lt.js?v=5.7.0-1f57a169f3";
6-
import zh from "./zh.js?v=5.7.0-238a0bd5bb";
1+
import en from "./en.js?v=5.7.0-8f335b1a18";
2+
import es from "./es.js?v=5.7.0-48f781a0fe";
3+
import fr from "./fr.js?v=5.7.0-aa7f7140da";
4+
import he from "./he.js?v=5.7.0-6e2b7dc5df";
5+
import lt from "./lt.js?v=5.7.0-fe08da22a2";
6+
import zh from "./zh.js?v=5.7.0-42be293741";
77

88
export const DEFAULT_LANGUAGE = "en";
99

dist/localization/lt.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -848,6 +848,7 @@ const messages = Object.freeze({
848848
"ui.player_light_pair_player_helper": "Pasirinkite Music Assistant grotuvą šiai šviesų porai.",
849849
"ui.all": "Visi",
850850
"ui.all_genres": "Visi žanrai",
851+
"ui.genres_and_styles": "Žanrai ir stiliai",
851852
"ui.compact_widget_mode": "Kompaktiško valdiklio stilius",
852853
"ui.choose_when_compact_mode_uses_the_two_row_mobile_widget": "Pasirinkite, kada kompaktiškas režimas naudoja mažesnį dviejų eilučių mobilųjį valdiklį.",
853854
"ui.full": "Pilnas",

dist/localization/zh.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -812,6 +812,7 @@ const messages = Object.freeze({
812812
"ui.player_light_pair_player_helper": "为这个灯光配对选择 Music Assistant 播放器。",
813813
"ui.all": "全部",
814814
"ui.all_genres": "所有流派",
815+
"ui.genres_and_styles": "流派和风格",
815816
"ui.compact_widget_mode": "紧凑小组件样式",
816817
"ui.choose_when_compact_mode_uses_the_two_row_mobile_widget": "选择紧凑模式何时使用较小的两行移动小组件。",
817818
"ui.full": "完整",

src/homeii-music-flow.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40499,7 +40499,7 @@ class HomeiiMusicFlowBaseCard extends HomeiiBaseMusicCard {
4049940499
return `
4050040500
<div class="action-grid">
4050140501
${this._navMenuItem("simple_wizard", this._iconSvg("wand"), "FLOW", this._i18n("ui.a_guided_music_wizard"), "simple")}
40502-
${this._discoveryModeEnabled() ? this._navMenuItem("discovery", this._iconSvg("grid"), this._i18n("ui.discover_music", {}, this._m("Discover", "גלה מוזיקה")), this._m("Genres and styles", "ז'אנרים וסגנונות"), "discovery") : ""}
40502+
${this._discoveryModeEnabled() ? this._navMenuItem("discovery", this._iconSvg("grid"), this._i18n("ui.discover_music", {}, this._m("Discover", "גלה מוזיקה")), this._i18n("ui.genres_and_styles", {}, this._m("Genres and styles", "ז'אנרים וסגנונות")), "discovery") : ""}
4050340503
${this._navMenuItem("players", this._iconSvg("speaker"), this._i18n("ui.players"), this._i18n("ui.players_queue_and_groups"), "players")}
4050440504
${this._navMenuItem("library_liked", this._iconSvg("heart_filled"), this._i18n("ui.liked"), this._i18n("ui.open_saved_songs"), "liked")}
4050540505
${this._navMenuItem("sleep_timer", this._iconSvg("timer"), this._i18n("ui.schedules"), this._i18n("ui.sleep_timer_and_morning_playback"), "announcement")}

src/localization/en.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -870,6 +870,7 @@ const messages = Object.freeze({
870870
"ui.player_light_pair_player_helper": "Choose the Music Assistant player for this light pair.",
871871
"ui.all": "All",
872872
"ui.all_genres": "All genres",
873+
"ui.genres_and_styles": "Genres and styles",
873874
"ui.compact_widget_mode": "Compact widget style",
874875
"ui.choose_when_compact_mode_uses_the_two_row_mobile_widget": "Choose when compact mode uses the smaller two-row mobile widget.",
875876
"ui.full": "Full",

0 commit comments

Comments
 (0)