Files
TREK/shared/src/i18n/vi/memories.ts
T
Maurice bee500880e fix(i18n): every language says one file and five files its own way
Finishes the plural work the previous wip commit started. t() picks a
count string's form by the language's own Intl.PluralRules, and every
locale now spells out the forms its language reaches with whole
numbers, about 160 count strings in all: one, few and many in Russian,
Ukrainian and Polish, one and few in Czech and Slovak, five forms in
Arabic, one in the others, none in Japanese, Korean, Chinese, Thai,
Vietnamese and Indonesian. Each language was translated and then
reviewed on its own. English no longer reads "1 files", "1 updates
available" or "photo(s)".

Count labels shown next to a number now take that number too: the
atlas and admin statistics, the trip cards, journey and shared trip
pills, packing templates, receipts, storage usage, the Studio export
note. A heading that shared its key with a counted label keeps a key of
its own (the boarding pass heading, the Bookings tab), so languages that
put a noun after a number in the singular keep a plural heading. The
plugin hosts chip passed its count through .replace() after t() and
never got a form; three toasts sent the count as text. Mail and push
texts for shared photos and suppressed storage failures pick their form
in code through pluralForm.

A whole number sent as text counts too, which is how in-app
notification params arrive, and the plural rule follows the language of
the strings on screen while another one still loads.

The parity check knows which forms each language needs and refuses
missing and impossible ones. It also reads keys that contain a colon
now: it skipped them, which hid 58 missing plugin permission texts in
Catalan and 35 in Vietnamese, both translated. The client parity test
covers every language of the registry instead of a hand-kept list of 19,
and the placeholder spec lets a form spell its number out only where
its category is that one number. Brazilian Portuguese error screens
were in Breton, and an Arabic dashboard label held Hebrew text.
2026-10-08 00:01:59 +00:00

77 lines
4.6 KiB
TypeScript

import type { TranslationStrings } from '../types';
const memories: TranslationStrings = {
'memories.title': 'Ảnh',
'memories.notConnected': '{provider_name} không được kết nối',
'memories.notConnectedHint':
'Kết nối phiên bản {provider_name} của bạn trong Cài đặt để có thể thêm ảnh vào chuyến đi này.',
'memories.notConnectedMultipleHint':
'Kết nối bất kỳ nhà cung cấp ảnh nào sau đây: {provider_names} trong Cài đặt để có thể thêm ảnh vào chuyến đi này.',
'memories.noDates': 'Thêm ngày vào chuyến đi của bạn để tải ảnh.',
'memories.noPhotos': 'Không tìm thấy ảnh nào',
'memories.noPhotosHint': 'Không tìm thấy ảnh nào trong {provider_name} cho phạm vi ngày của chuyến đi này.',
'memories.photosFound': 'những bức ảnh',
'memories.fromOthers': 'từ người khác',
'memories.sharePhotos': 'Chia sẻ ảnh',
'memories.sharing': 'Chia sẻ',
'memories.reviewTitle': 'Xem lại ảnh của bạn',
'memories.reviewHint': 'Nhấp vào ảnh để loại trừ chúng khỏi việc chia sẻ.',
'memories.shareCount': 'Chia sẻ {count} ảnh',
'memories.providerUrl': 'Máy chủ URL',
'memories.providerApiKey': 'API Chìa khóa',
'memories.providerUsername': 'Tên người dùng',
'memories.providerPassword': 'Mật khẩu',
'memories.providerOTP': 'Mã MFA (nếu được bật)',
'memories.skipSSLVerification': 'Bỏ qua xác minh chứng chỉ SSL',
'memories.immichAutoUpload': 'Phản chiếu ảnh hành trình tới Immich khi tải lên',
'memories.providerUrlHintSynology': 'Bao gồm đường dẫn ứng dụng Ảnh trong URL, ví dụ: https://nas:5001/photo',
'memories.testConnection': 'Kiểm tra kết nối',
'memories.testShort': 'Bài kiểm tra',
'memories.testFirst': 'Kiểm tra kết nối trước',
'memories.connected': 'Đã kết nối',
'memories.disconnected': 'Không được kết nối',
'memories.connectionSuccess': 'Đã kết nối với {provider_name}',
'memories.connectionError': 'Không thể kết nối với {provider_name}',
'memories.saved': '{provider_name} đã lưu cài đặt',
'memories.providerDisconnectedBanner':
'Kết nối {provider_name} của bạn bị mất. Kết nối lại trong Cài đặt để xem ảnh.',
'memories.saveError': 'Không thể lưu cài đặt {provider_name}',
'memories.addPhotos': 'Thêm ảnh',
'memories.linkAlbum': 'Liên kết anbom',
'memories.selectAlbum': 'Chọn Album {provider_name}',
'memories.selectAlbumMultiple': 'Chọn Anbom',
'memories.noAlbums': 'Không tìm thấy album nào',
'memories.syncAlbum': 'Đồng bộ album',
'memories.unlinkAlbum': 'Hủy liên kết album',
'memories.photos': 'những bức ảnh',
'memories.selectPhotos': 'Chọn ảnh từ {provider_name}',
'memories.selectPhotosMultiple': 'Chọn ảnh',
'memories.selectHint': 'Nhấn vào ảnh để chọn chúng.',
'memories.selected': 'đã chọn',
'memories.addSelected': 'Thêm {count} ảnh',
'memories.alreadyAdded': 'Đã thêm',
'memories.private': 'Riêng tư',
'memories.stopSharing': 'Dừng chia sẻ',
'memories.oldest': 'Cũ nhất đầu tiên',
'memories.newest': 'Mới nhất đầu tiên',
'memories.allLocations': 'Tất cả địa điểm',
'memories.tripDates': 'Ngày chuyến đi',
'memories.allPhotos': 'Tất cả ảnh',
'memories.confirmShareTitle': 'Chia sẻ với các thành viên?',
'memories.confirmShareHint':
'{count} ảnh sẽ hiển thị với tất cả thành viên của chuyến đi này. Bạn có thể đặt từng ảnh riêng tư sau này.',
'memories.confirmShareButton': 'Chia sẻ ảnh',
'memories.error.loadAlbums': 'Không tải được album',
'memories.error.linkAlbum': 'Không liên kết được album',
'memories.error.unlinkAlbum': 'Không thể hủy liên kết album',
'memories.error.syncAlbum': 'Không thể đồng bộ hóa album',
'memories.error.loadPhotos': 'Không tải được ảnh',
'memories.error.addPhotos': 'Không thể thêm ảnh',
'memories.error.removePhoto': 'Không xóa được ảnh',
'memories.error.toggleSharing': 'Không thể cập nhật chia sẻ',
'memories.saveRouteNotConfigured': 'Lưu tuyến không được định cấu hình cho nhà cung cấp này',
'memories.testRouteNotConfigured': 'Tuyến thử nghiệm không được định cấu hình cho nhà cung cấp này',
'memories.fillRequiredFields': 'Vui lòng điền vào tất cả các trường bắt buộc',
};
export default memories;