missing 'more_items' in translation file

Massimo Melina committed Apr 19, 2024 at 10:02 UTC 26630f06183a356142cd2b607abaea65e263795a
3 files changed +5 -3
frontend/src/upload.ts
+1 -1
@@ -244,7 +244,7 @@ function FilesList({ entries, actions }: { entries: ToUpload[], actions: { [icon
244 e.comment && h('tr', {}, h('td', { colSpan: 3 }, h('div', { className: 'entry-comment' }, e.comment)) )
245 )
246 }),
247 - rest > 0 && h('tr', {}, h('td', { colSpan: 99 }, h('a', { href: '#', onClick: () => setAll(true) }, t('more_items', { rest }, "{rest} more items"))))
247 + rest > 0 && h('tr', {}, h('td', { colSpan: 99 }, h('a', { href: '#', onClick: () => setAll(true) }, t('more_items', { rest }, "{rest} more item(s)"))))
248 )
249 )
250 }
src/langs/hfs-lang-en.json
+2 -1
@@ -166,6 +166,7 @@
166 "Menu": "Menu",
167
168 "clipboard": "Clipboard ({content})",
169 - "to_clipboard_source_tooltip": "Go to the folder where the clipboard contents are located"
169 + "to_clipboard_source_tooltip": "Go to the folder where the clipboard contents are located",
170 + "more_items": "{rest} more item(s)"
171 }
172 }
src/langs/hfs-lang-it.json
+2 -1
@@ -158,6 +158,7 @@
158 "Menu": "Menu",
159
160 "clipboard": "Appunti ({content})",
161 - "to_clipboard_source_tooltip": "Vai alla cartella d'origine dei file negli appunti"
161 + "to_clipboard_source_tooltip": "Vai alla cartella d'origine dei file negli appunti",
162 + "more_items": "{rest,plural,one{Un altro elemento} other{# altri elementi}}"
163 }
164 }