Skip to content

Commit 9579f04

Browse files
committed
Update en/fr translations for MCP23017 platform and pull mode labels
1 parent 3a7eb0a commit 9579f04

File tree

3 files changed

+12
-12
lines changed

3 files changed

+12
-12
lines changed

custom_components/mcp23017/strings.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"data": {
77
"i2c_address": "I2C address",
88
"i2c_bus": "I2C bus",
9-
"platform": "Pin direction",
9+
"platform": "Platform",
1010
"pin_number": "Pin number",
1111
"pin_name": "Pin name"
1212
}
@@ -34,14 +34,14 @@
3434
"selector": {
3535
"platform_type": {
3636
"options": {
37-
"binary_sensor": "Input",
38-
"switch": "Output"
37+
"binary_sensor": "binary_sensor",
38+
"switch": "switch"
3939
}
4040
},
4141
"pull_mode": {
4242
"options": {
4343
"up": "Enabled",
44-
"none": "None"
44+
"none": "Disabled"
4545
}
4646
}
4747
}

custom_components/mcp23017/translations/en.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"data": {
77
"i2c_address": "I2C address",
88
"i2c_bus": "I2C bus",
9-
"platform": "Pin direction",
9+
"platform": "Platform",
1010
"pin_number": "Pin number",
1111
"pin_name": "Pin name"
1212
}
@@ -34,14 +34,14 @@
3434
"selector": {
3535
"platform_type": {
3636
"options": {
37-
"binary_sensor": "Input",
38-
"switch": "Output"
37+
"binary_sensor": "binary_sensor",
38+
"switch": "switch"
3939
}
4040
},
4141
"pull_mode": {
4242
"options": {
4343
"up": "Enabled",
44-
"none": "None"
44+
"none": "Disabled"
4545
}
4646
}
4747
}

custom_components/mcp23017/translations/fr.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"data": {
77
"i2c_address": "Adresse I2C",
88
"i2c_bus": "Bus I2C",
9-
"platform": "Direction de la broche",
9+
"platform": "Platforme",
1010
"pin_number": "Numéro de broche",
1111
"pin_name": "Nom de la broche"
1212
}
@@ -34,14 +34,14 @@
3434
"selector": {
3535
"platform_type": {
3636
"options": {
37-
"binary_sensor": "Entrée",
38-
"switch": "Sortie"
37+
"binary_sensor": "binary_sensor",
38+
"switch": "switch"
3939
}
4040
},
4141
"pull_mode": {
4242
"options": {
4343
"up": "Activée",
44-
"none": "Aucune"
44+
"none": "Désactivée"
4545
}
4646
}
4747
}

0 commit comments

Comments
 (0)