Skip to content

Commit d47344d

Browse files
committed
add back translations
1 parent e130fbd commit d47344d

2 files changed

Lines changed: 144 additions & 0 deletions

File tree

custom_components/pdf_scrape/strings.json

Lines changed: 72 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -136,5 +136,77 @@
136136
"template_error": {
137137
"message": "Template error: {exc_msg} on {conf}"
138138
}
139+
},
140+
"selector": {
141+
"sensor_device_class": {
142+
"options": {
143+
"absolute_humidity": "[%key:component::sensor::entity_component::absolute_humidity::name%]",
144+
"apparent_power": "[%key:component::sensor::entity_component::apparent_power::name%]",
145+
"aqi": "[%key:component::sensor::entity_component::aqi::name%]",
146+
"area": "[%key:component::sensor::entity_component::area::name%]",
147+
"atmospheric_pressure": "[%key:component::sensor::entity_component::atmospheric_pressure::name%]",
148+
"battery": "[%key:component::sensor::entity_component::battery::name%]",
149+
"blood_glucose_concentration": "[%key:component::sensor::entity_component::blood_glucose_concentration::name%]",
150+
"carbon_dioxide": "[%key:component::sensor::entity_component::carbon_dioxide::name%]",
151+
"carbon_monoxide": "[%key:component::sensor::entity_component::carbon_monoxide::name%]",
152+
"conductivity": "[%key:component::sensor::entity_component::conductivity::name%]",
153+
"current": "[%key:component::sensor::entity_component::current::name%]",
154+
"data_rate": "[%key:component::sensor::entity_component::data_rate::name%]",
155+
"data_size": "[%key:component::sensor::entity_component::data_size::name%]",
156+
"date": "[%key:component::sensor::entity_component::date::name%]",
157+
"distance": "[%key:component::sensor::entity_component::distance::name%]",
158+
"duration": "[%key:component::sensor::entity_component::duration::name%]",
159+
"energy": "[%key:component::sensor::entity_component::energy::name%]",
160+
"energy_distance": "[%key:component::sensor::entity_component::energy_distance::name%]",
161+
"energy_storage": "[%key:component::sensor::entity_component::energy_storage::name%]",
162+
"frequency": "[%key:component::sensor::entity_component::frequency::name%]",
163+
"gas": "[%key:component::sensor::entity_component::gas::name%]",
164+
"humidity": "[%key:component::sensor::entity_component::humidity::name%]",
165+
"illuminance": "[%key:component::sensor::entity_component::illuminance::name%]",
166+
"irradiance": "[%key:component::sensor::entity_component::irradiance::name%]",
167+
"moisture": "[%key:component::sensor::entity_component::moisture::name%]",
168+
"monetary": "[%key:component::sensor::entity_component::monetary::name%]",
169+
"nitrogen_dioxide": "[%key:component::sensor::entity_component::nitrogen_dioxide::name%]",
170+
"nitrogen_monoxide": "[%key:component::sensor::entity_component::nitrogen_monoxide::name%]",
171+
"nitrous_oxide": "[%key:component::sensor::entity_component::nitrous_oxide::name%]",
172+
"ozone": "[%key:component::sensor::entity_component::ozone::name%]",
173+
"ph": "[%key:component::sensor::entity_component::ph::name%]",
174+
"pm1": "[%key:component::sensor::entity_component::pm1::name%]",
175+
"pm4": "[%key:component::sensor::entity_component::pm4::name%]",
176+
"pm10": "[%key:component::sensor::entity_component::pm10::name%]",
177+
"pm25": "[%key:component::sensor::entity_component::pm25::name%]",
178+
"power": "[%key:component::sensor::entity_component::power::name%]",
179+
"power_factor": "[%key:component::sensor::entity_component::power_factor::name%]",
180+
"precipitation": "[%key:component::sensor::entity_component::precipitation::name%]",
181+
"precipitation_intensity": "[%key:component::sensor::entity_component::precipitation_intensity::name%]",
182+
"pressure": "[%key:component::sensor::entity_component::pressure::name%]",
183+
"reactive_energy": "[%key:component::sensor::entity_component::reactive_energy::name%]",
184+
"reactive_power": "[%key:component::sensor::entity_component::reactive_power::name%]",
185+
"signal_strength": "[%key:component::sensor::entity_component::signal_strength::name%]",
186+
"sound_pressure": "[%key:component::sensor::entity_component::sound_pressure::name%]",
187+
"speed": "[%key:component::sensor::entity_component::speed::name%]",
188+
"sulphur_dioxide": "[%key:component::sensor::entity_component::sulphur_dioxide::name%]",
189+
"temperature": "[%key:component::sensor::entity_component::temperature::name%]",
190+
"timestamp": "[%key:component::sensor::entity_component::timestamp::name%]",
191+
"volatile_organic_compounds": "[%key:component::sensor::entity_component::volatile_organic_compounds::name%]",
192+
"volatile_organic_compounds_parts": "[%key:component::sensor::entity_component::volatile_organic_compounds_parts::name%]",
193+
"voltage": "[%key:component::sensor::entity_component::voltage::name%]",
194+
"volume": "[%key:component::sensor::entity_component::volume::name%]",
195+
"volume_flow_rate": "[%key:component::sensor::entity_component::volume_flow_rate::name%]",
196+
"volume_storage": "[%key:component::sensor::entity_component::volume_storage::name%]",
197+
"water": "[%key:component::sensor::entity_component::water::name%]",
198+
"weight": "[%key:component::sensor::entity_component::weight::name%]",
199+
"wind_direction": "[%key:component::sensor::entity_component::wind_direction::name%]",
200+
"wind_speed": "[%key:component::sensor::entity_component::wind_speed::name%]"
201+
}
202+
},
203+
"sensor_state_class": {
204+
"options": {
205+
"measurement": "[%key:component::sensor::entity_component::_::state_attributes::state_class::state::measurement%]",
206+
"measurement_angle": "[%key:component::sensor::entity_component::_::state_attributes::state_class::state::measurement_angle%]",
207+
"total": "[%key:component::sensor::entity_component::_::state_attributes::state_class::state::total%]",
208+
"total_increasing": "[%key:component::sensor::entity_component::_::state_attributes::state_class::state::total_increasing%]"
209+
}
210+
}
139211
}
140212
}

custom_components/pdf_scrape/translations/en.json

Lines changed: 72 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -136,5 +136,77 @@
136136
"template_error": {
137137
"message": "Template error: {exc_msg} on {conf}"
138138
}
139+
},
140+
"selector": {
141+
"sensor_device_class": {
142+
"options": {
143+
"absolute_humidity": "Absolute humidity",
144+
"apparent_power": "Apparent power",
145+
"aqi": "Air quality index",
146+
"area": "Area",
147+
"atmospheric_pressure": "Atmospheric pressure",
148+
"battery": "Battery",
149+
"blood_glucose_concentration": "Blood glucose concentration",
150+
"carbon_dioxide": "Carbon dioxide",
151+
"carbon_monoxide": "Carbon monoxide",
152+
"conductivity": "Conductivity",
153+
"current": "Current",
154+
"data_rate": "Data rate",
155+
"data_size": "Data size",
156+
"date": "Date",
157+
"distance": "Distance",
158+
"duration": "Duration",
159+
"energy": "Energy",
160+
"energy_distance": "Energy per distance",
161+
"energy_storage": "Stored energy",
162+
"frequency": "Frequency",
163+
"gas": "Gas",
164+
"humidity": "Humidity",
165+
"illuminance": "Illuminance",
166+
"irradiance": "Irradiance",
167+
"moisture": "Moisture",
168+
"monetary": "Monetary balance",
169+
"nitrogen_dioxide": "Nitrogen dioxide",
170+
"nitrogen_monoxide": "Nitrogen monoxide",
171+
"nitrous_oxide": "Nitrous oxide",
172+
"ozone": "Ozone",
173+
"ph": "pH",
174+
"pm1": "PM1",
175+
"pm10": "PM10",
176+
"pm25": "PM2.5",
177+
"pm4": "PM4",
178+
"power": "Power",
179+
"power_factor": "Power factor",
180+
"precipitation": "Precipitation",
181+
"precipitation_intensity": "Precipitation intensity",
182+
"pressure": "Pressure",
183+
"reactive_energy": "Reactive energy",
184+
"reactive_power": "Reactive power",
185+
"signal_strength": "Signal strength",
186+
"sound_pressure": "Sound pressure",
187+
"speed": "Speed",
188+
"sulphur_dioxide": "Sulphur dioxide",
189+
"temperature": "Temperature",
190+
"timestamp": "Timestamp",
191+
"volatile_organic_compounds": "Volatile organic compounds",
192+
"volatile_organic_compounds_parts": "Volatile organic compounds parts",
193+
"voltage": "Voltage",
194+
"volume": "Volume",
195+
"volume_flow_rate": "Volume flow rate",
196+
"volume_storage": "Stored volume",
197+
"water": "Water",
198+
"weight": "Weight",
199+
"wind_direction": "Wind direction",
200+
"wind_speed": "Wind speed"
201+
}
202+
},
203+
"sensor_state_class": {
204+
"options": {
205+
"measurement": "Measurement",
206+
"measurement_angle": "Measurement angle",
207+
"total": "Total",
208+
"total_increasing": "Total increasing"
209+
}
210+
}
139211
}
140212
}

0 commit comments

Comments
 (0)