mirror of
https://github.com/sysadminsmedia/homebox.git
synced 2025-12-24 06:28:34 +01:00
Fix untranslated strings (#756)
* add missing translations and translate page titles * fix: actually use the declared localized variables * lint and prettier fixes * add missing translations for toasts and confirms * use components for shift/enter keys, add pluralization for photos, and fix primary photo conditional * remove prop defaults since we're computing these anyways
This commit is contained in:
@@ -8,10 +8,18 @@
|
||||
<slot />
|
||||
|
||||
<DialogFooter>
|
||||
<span class="flex items-center gap-1 text-sm">
|
||||
Use <Shortcut size="sm" :keys="['Shift']" /> + <Shortcut size="sm" :keys="['Enter']" /> to create and add
|
||||
another.
|
||||
</span>
|
||||
<i18n-t
|
||||
keypath="components.app.create_modal.createAndAddAnother"
|
||||
tag="span"
|
||||
class="flex items-center gap-1 text-sm"
|
||||
>
|
||||
<template #shiftKey>
|
||||
<Shortcut size="sm" :keys="[$t('components.app.create_modal.shift')]" />
|
||||
</template>
|
||||
<template #enterKey>
|
||||
<Shortcut size="sm" :keys="[$t('components.app.create_modal.enter')]" />
|
||||
</template>
|
||||
</i18n-t>
|
||||
</DialogFooter>
|
||||
</DialogScrollContent>
|
||||
</Dialog>
|
||||
|
||||
Reference in New Issue
Block a user