update i18n

This commit is contained in:
pa
2026-03-13 16:33:30 +09:00
parent 8b27dc2770
commit 9afb13318f
2 changed files with 6 additions and 4 deletions

View File

@@ -117,7 +117,9 @@
"instance": "Instance Widget", "instance": "Instance Widget",
"config": { "config": {
"filters": "Event Types", "filters": "Event Types",
"columns": "Columns" "columns": "Columns",
"show_detail": "Show Detail",
"show_type": "Show Type"
}, },
"no_data": "No data", "no_data": "No data",
"unknown_world": "Unknown World", "unknown_world": "Unknown World",

View File

@@ -10,7 +10,7 @@
<X class="size-4" /> <X class="size-4" />
</Button> </Button>
<div class="flex w-full min-h-0 flex-col gap-2 p-3"> <div class="flex w-full min-h-0 flex-col gap-2 p-3">
<div class="flex flex-1 items-center justify-center gap-2 text-xs text-muted-foreground"> <div class="flex flex-1 items-center justify-center gap-2 text-base text-muted-foreground">
<i v-if="panelIcon" :class="panelIcon" class="text-base" /> <i v-if="panelIcon" :class="panelIcon" class="text-base" />
<span>{{ panelLabel || t('dashboard.panel.not_selected') }}</span> <span>{{ panelLabel || t('dashboard.panel.not_selected') }}</span>
</div> </div>
@@ -40,14 +40,14 @@
type="checkbox" type="checkbox"
:checked="panelConfig.showDetail || false" :checked="panelConfig.showDetail || false"
@change="toggleBooleanConfig('showDetail')" /> @change="toggleBooleanConfig('showDetail')" />
Show Detail {{ t('dashboard.widget.config.show_detail') }}
</label> </label>
<label v-if="widgetType === 'feed'" class="flex items-center gap-1 text-xs cursor-pointer"> <label v-if="widgetType === 'feed'" class="flex items-center gap-1 text-xs cursor-pointer">
<input <input
type="checkbox" type="checkbox"
:checked="panelConfig.showType || false" :checked="panelConfig.showType || false"
@change="toggleBooleanConfig('showType')" /> @change="toggleBooleanConfig('showType')" />
Show Type {{ t('dashboard.widget.config.show_type') }}
</label> </label>
</div> </div>
</template> </template>