feat: add widget preview pages (#9)
* feat: add widget definition system * fix: wrong typecheck command in turbo generator * chore: fix formatting * feat: add widget preview page * chore: fix formatting and type errors * chore: fix from widget edit modal and remove some never casts * chore: address pull request feedback
This commit is contained in:
@@ -26,4 +26,36 @@ export default {
|
||||
create: "Benutzer erstellen",
|
||||
},
|
||||
},
|
||||
widget: {
|
||||
clock: {
|
||||
option: {
|
||||
is24HourFormat: {
|
||||
label: "24-Stunden Format",
|
||||
description: "Use 24-hour format instead of 12-hour format",
|
||||
},
|
||||
isLocaleTime: {
|
||||
label: "Use locale time",
|
||||
},
|
||||
timezone: {
|
||||
label: "Timezone",
|
||||
},
|
||||
},
|
||||
},
|
||||
weather: {
|
||||
option: {
|
||||
location: {
|
||||
label: "Standort",
|
||||
},
|
||||
showCity: {
|
||||
label: "Stadt anzeigen",
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
common: {
|
||||
search: {
|
||||
placeholder: "Suche nach etwas...",
|
||||
nothingFound: "Nichts gefunden",
|
||||
},
|
||||
},
|
||||
} as const;
|
||||
|
||||
@@ -26,4 +26,36 @@ export default {
|
||||
create: "Create user",
|
||||
},
|
||||
},
|
||||
widget: {
|
||||
clock: {
|
||||
option: {
|
||||
is24HourFormat: {
|
||||
label: "24-hour format",
|
||||
description: "Use 24-hour format instead of 12-hour format",
|
||||
},
|
||||
isLocaleTime: {
|
||||
label: "Use locale time",
|
||||
},
|
||||
timezone: {
|
||||
label: "Timezone",
|
||||
},
|
||||
},
|
||||
},
|
||||
weather: {
|
||||
option: {
|
||||
location: {
|
||||
label: "Location",
|
||||
},
|
||||
showCity: {
|
||||
label: "Show city",
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
common: {
|
||||
search: {
|
||||
placeholder: "Search for anything...",
|
||||
nothingFound: "Nothing found",
|
||||
},
|
||||
},
|
||||
} as const;
|
||||
|
||||
Reference in New Issue
Block a user