fix: bad 'enter_comment' translation
Massimo Melina committed
Mar 28, 2024 at 16:11 UTC
9a70eb1eff64b1595384ccd281b1410754c90748
4 files changed
+5
-5
frontend/src/upload.ts
+1
-1
@@ -463,5 +463,5 @@ async function createFolder() {
463
}
464
465
export function inputComment(filename: string, def?: string) {
466
- return promptDialog(t('enter_comment', "Comment for " + filename), { def, type: 'textarea' })
466
+ return promptDialog(t('enter_comment', { name: filename }, "Comment for {name}"), { def, type: 'textarea' })
467
}
\ No newline at end of file
src/langs/hfs-lang-en.json
+1
-1
@@ -133,7 +133,7 @@
133
"showHelp_↑/↓_body": "Scroll tall images",
134
"Destination": "Destination",
135
"in_queue": "{n} in queue",
136
- "enter_comment": "Comment for this file",
136
+ "enter_comment": "Comment for {name}",
137
"Comment": "Comment",
138
"upload_dd_hint": "You can upload files doing drag&drop on the files list",
139
"Upload not available": "Upload not available",
src/langs/hfs-lang-es.json
+1
-1
@@ -137,7 +137,7 @@
137
"showHelp_F_body": "pantalla completa",
138
"Destination": "Destino",
139
"in_queue": "{n} en cola",
140
- "enter_comment": "Descripción para el archivo",
140
+ "enter_comment": "Descripción para {name}",
141
"Comment": "Descripción",
142
"upload_dd_hint": "Puede cargar archivos arrastrando y soltando en la lista de archivos",
143
"Upload not available": "Carga no disponible",
src/langs/hfs-lang-it.json
+2
-2
@@ -125,8 +125,8 @@
125
"showHelp_↑/↓_body": "Scorri immagini lunghe",
126
"Destination": "Destinazione",
127
"in_queue": "{n} in coda",
128
- "enter_comment": "Comment for this file",
129
- "Comment": "Comment",
128
+ "enter_comment": "Commento per {name}",
129
+ "Comment": "Commento",
130
"upload_dd_hint": "Puoi uploadare file trascinandoli sulla lista principale",
131
"Upload not available": "Upload non disponibile",
132
"Cut": "Taglia",