mirror of
https://github.com/ajnart/homarr.git
synced 2025-11-10 23:45:48 +01:00
Add translations for en & de in Dashdot; Fix PR comments
This commit is contained in:
@@ -205,7 +205,7 @@ const WidgetOptionTypeSwitch: FC<{
|
||||
labels={Object.fromEntries(
|
||||
Object.entries(option.items).map(([graphName]) => [
|
||||
graphName,
|
||||
t(`descriptor.settings.${graphName}.label`),
|
||||
t(`descriptor.settings.${key}.${graphName}.label`),
|
||||
])
|
||||
)}
|
||||
>
|
||||
@@ -217,7 +217,7 @@ const WidgetOptionTypeSwitch: FC<{
|
||||
key={`${graphName}.${subKey}.${i}`}
|
||||
option={setting as IWidgetOptionValue}
|
||||
widgetId={widgetId}
|
||||
propName={`${graphName}.${subKey}`}
|
||||
propName={`${key}.${graphName}.${subKey}`}
|
||||
value={typedVal.find((v) => v.key === graphName)?.subValues?.[subKey]}
|
||||
handleChange={(_, newVal) =>
|
||||
handleChange(
|
||||
|
||||
Reference in New Issue
Block a user