mirror of
https://github.com/mauriceboe/TREK.git
synced 2026-06-19 13:21:46 +00:00
fix(i18n): translate remaining German hardcoded strings in PhotoUpload
Replace 6 hardcoded German strings in PhotoUpload.tsx with t() calls:
- 'Tag verknüpfen' → t('photos.linkDay')
- 'Kein Tag' / 'Tag N' → t('photos.noDay') / t('photos.dayLabel')
- '{N} Foto(s) ausgewählt' → t('photos.photoSelected/photosSelected')
- 'bis zu 30 Fotos' hint → t('photos.fileTypeHint')
- 'Wird hochgeladen...' → t('common.uploading')
Add all 6 new keys to all 14 language files and update test
assertions from German strings to English equivalents.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -1353,6 +1353,12 @@ const ru: Record<string, string> = {
|
||||
'photos.linkPlace': 'Привязать место',
|
||||
'photos.noPlace': 'Без места',
|
||||
'photos.uploadN': '{n} фото загружено',
|
||||
'photos.linkDay': 'Связать день',
|
||||
'photos.noDay': 'Нет дня',
|
||||
'photos.dayLabel': 'День {number}',
|
||||
'photos.photoSelected': 'Фото выбрано',
|
||||
'photos.photosSelected': 'Фото выбраны',
|
||||
'photos.fileTypeHint': 'JPG, PNG, WebP · макс. 10 МБ · до 30 фото',
|
||||
|
||||
// Backup restore modal
|
||||
'backup.restoreConfirmTitle': 'Восстановить копию?',
|
||||
|
||||
Reference in New Issue
Block a user