Skip to content

Commit e63b960

Browse files
authored
add missing translation call and german translation (#67)
* new: add missing german translations * fix: add missing translation call for "delete this share?" --------- Co-authored-by: abno85 <[email protected]>
1 parent 61cd015 commit e63b960

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

html/src/Components/ShareComponent.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ export function ShareComponent(props: {share: Share, onDelete?: (name: string) =
161161
</Tooltip>
162162
</Popover.Target>
163163
<Popover.Dropdown className={classes.popover}>
164-
<Text ta="center" size="xs" mb="xs">Delete this share ?</Text>
164+
<Text ta="center" size="xs" mb="xs">{t("delete_this_share")}</Text>
165165
<Button aria-description="delete" w="100%" variant='default' c='red' size="xs" onClick={() => props.onDelete&&props.onDelete(share.name)}>Delete</Button>
166166
</Popover.Dropdown>
167167
</Popover>

html/src/i18n/config.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,7 @@ i18n
6161
your_shares: "Your Shares",
6262
other_shares: "Other Shares",
6363
create: "Create",
64+
delete_this_share: "Delete this share?",
6465

6566
// Share component
6667
guests_can_upload: "Guests can upload",
@@ -195,6 +196,7 @@ i18n
195196
your_shares: "Ihre Freigaben",
196197
other_shares: "Andere Freigaben",
197198
create: "Erstellen",
199+
delete_this_share: "Diese Freigabe löschen?",
198200

199201
// Share component
200202
guests_can_upload: "Empfänger darf uploaden",
@@ -218,10 +220,11 @@ i18n
218220

219221
// Share editor
220222
exposure: "Art der Freigabe",
221-
you_want_to: "Sie wollen Dateien :",
223+
you_want_to: "Sie wollen Dateien:",
222224
send: "Versenden",
223225
receive: "Empfangen",
224226
both: "Beides",
227+
renew_share: "Freigabe verlängern",
225228

226229
validity: "Dauer der Gültigkeit",
227230
number_of_days_the_share_is_valid: "Anzahl der Tage bis die Freigabe abläuft. 0 bedeutet unbegrenzt.",

0 commit comments

Comments
 (0)