Skip to content

Commit 618e89b

Browse files
committed
Add translations
1 parent 97ae061 commit 618e89b

File tree

3 files changed

+50
-8
lines changed

3 files changed

+50
-8
lines changed

custom_components/samsung_soundbar/services.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ set_rear_speaker_mode:
131131
example: Rear
132132
selector:
133133
select:
134-
translation_key: "speaker_identifier"
134+
translation_key: "rear_speaker_mode"
135135
options:
136136
- "Rear"
137137
- "Front"

custom_components/samsung_soundbar/translations/de.json

Lines changed: 27 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,5 +33,31 @@
3333
"title": "Geräte Einstellungen"
3434
}
3535
}
36-
}
36+
},
37+
"selector": {
38+
"soundmode": {
39+
"options": {
40+
"standard": "Standard",
41+
"surround": "Surround",
42+
"game": "Gaming",
43+
"adaptive sound": "Adaptive Sound"
44+
}
45+
},
46+
"speaker_identifier": {
47+
"options": {
48+
"Spk_Center": "Center",
49+
"Spk_Side": "Side",
50+
"Spk_Wide": "Wide",
51+
"Spk_Front_Top": "Front Top",
52+
"Spk_Rear": "Rear",
53+
"Spk_Rear_Top": "Rear Top"
54+
}
55+
},
56+
"rear_speaker_mode": {
57+
"options": {
58+
"Rear": "Rear",
59+
"Front": "Front"
60+
}
61+
}
62+
}
3763
}

custom_components/samsung_soundbar/translations/en.json

Lines changed: 22 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -36,12 +36,28 @@
3636
},
3737
"selector": {
3838
"soundmode": {
39-
"options": {
40-
"standard": "Standard",
41-
"surround": "Surround",
42-
"game": "Gaming",
43-
"adaptive sound": "Adaptive Sound"
44-
}
39+
"options": {
40+
"standard": "Standard",
41+
"surround": "Surround",
42+
"game": "Gaming",
43+
"adaptive sound": "Adaptive Sound"
44+
}
45+
},
46+
"speaker_identifier": {
47+
"options": {
48+
"Spk_Center": "Center",
49+
"Spk_Side": "Side",
50+
"Spk_Wide": "Wide",
51+
"Spk_Front_Top": "Front Top",
52+
"Spk_Rear": "Rear",
53+
"Spk_Rear_Top": "Rear Top"
54+
}
55+
},
56+
"rear_speaker_mode": {
57+
"options": {
58+
"Rear": "Rear",
59+
"Front": "Front"
60+
}
4561
}
4662
}
4763
}

0 commit comments

Comments
 (0)