feat(collections): list details, place detail sheet, add-place, fusion kick (#1081)

Dashboard widget (B): the collections tool now shows the user's LISTS as
compact colour-washed badges (cover image tinted with the list colour, or a
gradient) that jump to the list — one list() call, no N+1.

List details (C): lists gain a description, a custom cover image (uploaded to
/uploads/covers, tinted with the list colour in the hero) and links. A shared
ListEditorModal handles both create and edit; the hero shows the description +
link chips. New `links` JSON column on collections + collection_places
(migration 151) with parse/serialize in the service; a POST :id/cover upload
endpoint mirroring trips; cover-file cleanup path-confined locally.

Place detail (D): clicking a place opens a bottom sheet (no backdrop, so the
map stays visible) — status cycle, copy-to-trip, remove, and an edit mode with
a markdown description + links editor (collectionsApi.updatePlace, now wired
via a store action). A "+" next to the search adds a place to the list via the
maps search.

Fusion + fixes (E): the owner can now remove an accepted member (kick) — new
removeMember service/route/store + a button in ShareCollectionModal, with a
collections:removed WS bounce. findMembership no longer matches on name alone
(coordinate proximity required, killing "Starbucks everywhere" false positives).
loadCollection swallows a 403/404 after a leave/remove so the URL sync can't
throw uncaught. Grid remnants gone; the map select toggle moved onto the map.

New strings across all 22 locales; i18n parity strict passes.
This commit is contained in:
Maurice
2026-07-01 11:09:10 +02:00
committed by Maurice
parent 25b8d28574
commit 68e101ed37
42 changed files with 1261 additions and 299 deletions
@@ -6,6 +6,14 @@ export const COLLECTION_STATUSES = ['idea', 'want', 'visited'] as const;
export const collectionStatusSchema = z.enum(COLLECTION_STATUSES).catch('idea').default('idea');
export type CollectionStatus = (typeof COLLECTION_STATUSES)[number];
/** A user-added link on a list or a saved place (stored as a JSON array). */
export const collectionLinkSchema = z.object({
label: z.string().max(120).optional(),
url: z.string().trim().url().max(2000),
});
export type CollectionLink = z.infer<typeof collectionLinkSchema>;
export const collectionLinksSchema = z.array(collectionLinkSchema).max(30);
/** A saved place — assignmentPlace minus itinerary, plus status + provenance. */
export const collectionPlaceSchema = z.object({
id: z.number(),
@@ -33,6 +41,7 @@ export const collectionPlaceSchema = z.object({
sort_order: z.number().optional(),
created_at: z.string().optional(),
updated_at: z.string().optional(),
links: collectionLinksSchema.optional(),
category: placeCategorySchema.optional(),
tags: z.array(tagSchema.partial()).optional(),
});
@@ -58,6 +67,7 @@ export const collectionSchema = z.object({
color: z.string().nullable().optional(),
icon: z.string().nullable().optional(),
cover_image: z.string().nullable().optional(),
links: collectionLinksSchema.optional(),
sort_order: z.number().optional(),
place_count: z.number().optional(),
is_owner: z.boolean().optional(),
@@ -73,6 +83,8 @@ export const collectionCreateRequestSchema = z.object({
description: z.string().max(2000).nullable().optional(),
color: z.string().regex(/^#([0-9a-fA-F]{3}|[0-9a-fA-F]{6})$/).optional(),
icon: z.string().max(40).optional(),
cover_image: z.string().max(500).nullable().optional(),
links: collectionLinksSchema.optional(),
});
export type CollectionCreateRequest = z.infer<typeof collectionCreateRequestSchema>;
@@ -102,6 +114,7 @@ export const collectionSavePlaceRequestSchema = z.object({
website: z.string().nullable().optional(),
phone: z.string().nullable().optional(),
status: collectionStatusSchema.optional(),
links: collectionLinksSchema.optional(),
tag_ids: z.array(z.number()).optional(),
force: z.boolean().optional(), // "add anyway" over a dedup match
});
@@ -118,10 +131,12 @@ export type CollectionSaveFromTripRequest = z.infer<typeof collectionSaveFromTri
export const collectionPlaceUpdateRequestSchema = z.object({
name: z.string().min(1).optional(),
description: z.string().nullable().optional(),
notes: z.string().nullable().optional(),
status: collectionStatusSchema.optional(),
category_id: z.number().nullable().optional(),
collection_id: z.number().optional(), // move to another list
links: collectionLinksSchema.optional(),
tag_ids: z.array(z.number()).optional(),
});
export type CollectionPlaceUpdateRequest = z.infer<typeof collectionPlaceUpdateRequestSchema>;
@@ -153,6 +168,13 @@ export const collectionInviteCancelRequestSchema = z.object({
});
export type CollectionInviteCancelRequest = z.infer<typeof collectionInviteCancelRequestSchema>;
/** Owner removes an ALREADY-ACCEPTED member (kick). */
export const collectionRemoveMemberRequestSchema = z.object({
collection_id: z.number(),
user_id: z.number(),
});
export type CollectionRemoveMemberRequest = z.infer<typeof collectionRemoveMemberRequestSchema>;
// ── Responses ─────────────────────────────────────────────────────────────
export const collectionListResponseSchema = z.object({
collections: z.array(collectionSchema),
+13
View File
@@ -1,6 +1,19 @@
import type { TranslationStrings } from '../types';
const collection: TranslationStrings = {
'collections.editListTitle': 'تعديل القائمة',
'collections.coverImage': 'صورة الغلاف',
'collections.addCover': 'إضافة غلاف',
'collections.changeCover': 'تغيير الغلاف',
'collections.description': 'الوصف',
'collections.descriptionPlaceholder': 'أضف وصفًا…',
'collections.links': 'روابط',
'collections.linkLabel': 'التسمية',
'collections.addLink': 'إضافة رابط',
'collections.addDetails': 'إضافة تفاصيل',
'collections.addPlace': 'إضافة مكان',
'collections.addPlaceSearch': 'ابحث عن مكان…',
'collections.addPlaceHint': 'ابحث لإضافة مكان إلى هذه القائمة',
'collections.showList': 'إظهار القائمة',
'collections.expandMap': 'توسيع الخريطة',
'collections.hero.mine': 'مجموعتي',
+13
View File
@@ -1,6 +1,19 @@
import type { TranslationStrings } from '../types';
const collection: TranslationStrings = {
'collections.editListTitle': 'Editar lista',
'collections.coverImage': 'Imagem de capa',
'collections.addCover': 'Adicionar capa',
'collections.changeCover': 'Alterar capa',
'collections.description': 'Descrição',
'collections.descriptionPlaceholder': 'Adicione uma descrição…',
'collections.links': 'Links',
'collections.linkLabel': 'Rótulo',
'collections.addLink': 'Adicionar link',
'collections.addDetails': 'Adicionar detalhes',
'collections.addPlace': 'Adicionar um lugar',
'collections.addPlaceSearch': 'Pesquisar um lugar…',
'collections.addPlaceHint': 'Pesquise para adicionar um lugar a esta lista',
'collections.showList': 'Mostrar lista',
'collections.expandMap': 'Ampliar mapa',
'collections.hero.mine': 'Minha coleção',
+13
View File
@@ -1,6 +1,19 @@
import type { TranslationStrings } from '../types';
const collection: TranslationStrings = {
'collections.editListTitle': 'Upravit seznam',
'collections.coverImage': 'Obrázek na obálku',
'collections.addCover': 'Přidat obálku',
'collections.changeCover': 'Změnit obálku',
'collections.description': 'Popis',
'collections.descriptionPlaceholder': 'Přidejte popis…',
'collections.links': 'Odkazy',
'collections.linkLabel': 'Popisek',
'collections.addLink': 'Přidat odkaz',
'collections.addDetails': 'Přidat podrobnosti',
'collections.addPlace': 'Přidat místo',
'collections.addPlaceSearch': 'Hledat místo…',
'collections.addPlaceHint': 'Vyhledejte a přidejte místo do tohoto seznamu',
'collections.showList': 'Zobrazit seznam',
'collections.expandMap': 'Zvětšit mapu',
'collections.hero.mine': 'Moje sbírka',
+13
View File
@@ -1,6 +1,19 @@
import type { TranslationStrings } from '../types';
const collection: TranslationStrings = {
'collections.editListTitle': 'Liste bearbeiten',
'collections.coverImage': 'Titelbild',
'collections.addCover': 'Titelbild hinzufügen',
'collections.changeCover': 'Titelbild ändern',
'collections.description': 'Beschreibung',
'collections.descriptionPlaceholder': 'Beschreibung hinzufügen…',
'collections.links': 'Links',
'collections.linkLabel': 'Bezeichnung',
'collections.addLink': 'Link hinzufügen',
'collections.addDetails': 'Details hinzufügen',
'collections.addPlace': 'Ort hinzufügen',
'collections.addPlaceSearch': 'Nach einem Ort suchen…',
'collections.addPlaceHint': 'Suchen, um einen Ort zur Liste hinzuzufügen',
'collections.showList': 'Liste zeigen',
'collections.expandMap': 'Karte vergrößern',
'collections.hero.mine': 'Meine Sammlung',
+13
View File
@@ -1,6 +1,19 @@
import type { TranslationStrings } from '../types';
const collection: TranslationStrings = {
'collections.editListTitle': 'Edit list',
'collections.coverImage': 'Cover image',
'collections.addCover': 'Add cover',
'collections.changeCover': 'Change cover',
'collections.description': 'Description',
'collections.descriptionPlaceholder': 'Add a description…',
'collections.links': 'Links',
'collections.linkLabel': 'Label',
'collections.addLink': 'Add link',
'collections.addDetails': 'Add details',
'collections.addPlace': 'Add a place',
'collections.addPlaceSearch': 'Search for a place…',
'collections.addPlaceHint': 'Search to add a place to this list',
'collections.showList': 'Show list',
'collections.expandMap': 'Expand map',
'collections.hero.mine': 'My collection',
+13
View File
@@ -1,6 +1,19 @@
import type { TranslationStrings } from '../types';
const collection: TranslationStrings = {
'collections.editListTitle': 'Editar lista',
'collections.coverImage': 'Imagen de portada',
'collections.addCover': 'Añadir portada',
'collections.changeCover': 'Cambiar portada',
'collections.description': 'Descripción',
'collections.descriptionPlaceholder': 'Añade una descripción…',
'collections.links': 'Enlaces',
'collections.linkLabel': 'Etiqueta',
'collections.addLink': 'Añadir enlace',
'collections.addDetails': 'Añadir detalles',
'collections.addPlace': 'Añadir un lugar',
'collections.addPlaceSearch': 'Buscar un lugar…',
'collections.addPlaceHint': 'Busca para añadir un lugar a esta lista',
'collections.showList': 'Mostrar lista',
'collections.expandMap': 'Ampliar mapa',
'collections.hero.mine': 'Mi colección',
+13
View File
@@ -1,6 +1,19 @@
import type { TranslationStrings } from '../types';
const collection: TranslationStrings = {
'collections.editListTitle': 'Modifier la liste',
'collections.coverImage': 'Image de couverture',
'collections.addCover': 'Ajouter une couverture',
'collections.changeCover': 'Changer la couverture',
'collections.description': 'Description',
'collections.descriptionPlaceholder': 'Ajouter une description…',
'collections.links': 'Liens',
'collections.linkLabel': 'Libellé',
'collections.addLink': 'Ajouter un lien',
'collections.addDetails': 'Ajouter des détails',
'collections.addPlace': 'Ajouter un lieu',
'collections.addPlaceSearch': 'Rechercher un lieu…',
'collections.addPlaceHint': 'Recherchez pour ajouter un lieu à cette liste',
'collections.showList': 'Afficher la liste',
'collections.expandMap': 'Agrandir la carte',
'collections.hero.mine': 'Ma collection',
+13
View File
@@ -1,6 +1,19 @@
import type { TranslationStrings } from '../types';
const collection: TranslationStrings = {
'collections.editListTitle': 'Επεξεργασία λίστας',
'collections.coverImage': 'Εικόνα εξωφύλλου',
'collections.addCover': 'Προσθήκη εξωφύλλου',
'collections.changeCover': 'Αλλαγή εξωφύλλου',
'collections.description': 'Περιγραφή',
'collections.descriptionPlaceholder': 'Προσθέστε μια περιγραφή…',
'collections.links': 'Σύνδεσμοι',
'collections.linkLabel': 'Ετικέτα',
'collections.addLink': 'Προσθήκη συνδέσμου',
'collections.addDetails': 'Προσθήκη λεπτομερειών',
'collections.addPlace': 'Προσθήκη τόπου',
'collections.addPlaceSearch': 'Αναζήτηση τόπου…',
'collections.addPlaceHint': 'Αναζητήστε για να προσθέσετε έναν τόπο σε αυτήν τη λίστα',
'collections.showList': 'Εμφάνιση λίστας',
'collections.expandMap': 'Μεγέθυνση χάρτη',
'collections.hero.mine': 'Η συλλογή μου',
+13
View File
@@ -1,6 +1,19 @@
import type { TranslationStrings } from '../types';
const collection: TranslationStrings = {
'collections.editListTitle': 'Lista szerkesztése',
'collections.coverImage': 'Borítókép',
'collections.addCover': 'Borító hozzáadása',
'collections.changeCover': 'Borító módosítása',
'collections.description': 'Leírás',
'collections.descriptionPlaceholder': 'Adjon hozzá leírást…',
'collections.links': 'Hivatkozások',
'collections.linkLabel': 'Címke',
'collections.addLink': 'Hivatkozás hozzáadása',
'collections.addDetails': 'Részletek hozzáadása',
'collections.addPlace': 'Hely hozzáadása',
'collections.addPlaceSearch': 'Hely keresése…',
'collections.addPlaceHint': 'Keressen, hogy helyet adjon a listához',
'collections.showList': 'Lista megjelenítése',
'collections.expandMap': 'Térkép nagyítása',
'collections.hero.mine': 'Saját gyűjtemény',
+13
View File
@@ -1,6 +1,19 @@
import type { TranslationStrings } from '../types';
const collection: TranslationStrings = {
'collections.editListTitle': 'Edit daftar',
'collections.coverImage': 'Gambar sampul',
'collections.addCover': 'Tambah sampul',
'collections.changeCover': 'Ubah sampul',
'collections.description': 'Deskripsi',
'collections.descriptionPlaceholder': 'Tambahkan deskripsi…',
'collections.links': 'Tautan',
'collections.linkLabel': 'Label',
'collections.addLink': 'Tambah tautan',
'collections.addDetails': 'Tambah detail',
'collections.addPlace': 'Tambah tempat',
'collections.addPlaceSearch': 'Cari tempat…',
'collections.addPlaceHint': 'Cari untuk menambahkan tempat ke daftar ini',
'collections.showList': 'Tampilkan daftar',
'collections.expandMap': 'Perbesar peta',
'collections.hero.mine': 'Koleksi saya',
+13
View File
@@ -1,6 +1,19 @@
import type { TranslationStrings } from '../types';
const collection: TranslationStrings = {
'collections.editListTitle': 'Modifica elenco',
'collections.coverImage': 'Immagine di copertina',
'collections.addCover': 'Aggiungi copertina',
'collections.changeCover': 'Cambia copertina',
'collections.description': 'Descrizione',
'collections.descriptionPlaceholder': 'Aggiungi una descrizione…',
'collections.links': 'Link',
'collections.linkLabel': 'Etichetta',
'collections.addLink': 'Aggiungi link',
'collections.addDetails': 'Aggiungi dettagli',
'collections.addPlace': 'Aggiungi un luogo',
'collections.addPlaceSearch': 'Cerca un luogo…',
'collections.addPlaceHint': 'Cerca per aggiungere un luogo a questo elenco',
'collections.showList': 'Mostra elenco',
'collections.expandMap': 'Espandi mappa',
'collections.hero.mine': 'La mia raccolta',
+13
View File
@@ -1,6 +1,19 @@
import type { TranslationStrings } from '../types';
const collection: TranslationStrings = {
'collections.editListTitle': 'リストを編集',
'collections.coverImage': 'カバー画像',
'collections.addCover': 'カバーを追加',
'collections.changeCover': 'カバーを変更',
'collections.description': '説明',
'collections.descriptionPlaceholder': '説明を追加…',
'collections.links': 'リンク',
'collections.linkLabel': 'ラベル',
'collections.addLink': 'リンクを追加',
'collections.addDetails': '詳細を追加',
'collections.addPlace': '場所を追加',
'collections.addPlaceSearch': '場所を検索…',
'collections.addPlaceHint': '検索してこのリストに場所を追加',
'collections.showList': 'リストを表示',
'collections.expandMap': '地図を拡大',
'collections.hero.mine': 'マイコレクション',
+13
View File
@@ -1,6 +1,19 @@
import type { TranslationStrings } from '../types';
const collection: TranslationStrings = {
'collections.editListTitle': '목록 편집',
'collections.coverImage': '커버 이미지',
'collections.addCover': '커버 추가',
'collections.changeCover': '커버 변경',
'collections.description': '설명',
'collections.descriptionPlaceholder': '설명 추가…',
'collections.links': '링크',
'collections.linkLabel': '레이블',
'collections.addLink': '링크 추가',
'collections.addDetails': '세부정보 추가',
'collections.addPlace': '장소 추가',
'collections.addPlaceSearch': '장소 검색…',
'collections.addPlaceHint': '검색하여 이 목록에 장소 추가',
'collections.showList': '목록 표시',
'collections.expandMap': '지도 확대',
'collections.hero.mine': '내 컬렉션',
+13
View File
@@ -1,6 +1,19 @@
import type { TranslationStrings } from '../types';
const collection: TranslationStrings = {
'collections.editListTitle': 'Lijst bewerken',
'collections.coverImage': 'Omslagafbeelding',
'collections.addCover': 'Omslag toevoegen',
'collections.changeCover': 'Omslag wijzigen',
'collections.description': 'Beschrijving',
'collections.descriptionPlaceholder': 'Voeg een beschrijving toe…',
'collections.links': 'Links',
'collections.linkLabel': 'Label',
'collections.addLink': 'Link toevoegen',
'collections.addDetails': 'Details toevoegen',
'collections.addPlace': 'Plaats toevoegen',
'collections.addPlaceSearch': 'Zoek een plaats…',
'collections.addPlaceHint': 'Zoek om een plaats aan deze lijst toe te voegen',
'collections.showList': 'Lijst tonen',
'collections.expandMap': 'Kaart vergroten',
'collections.hero.mine': 'Mijn collectie',
+13
View File
@@ -1,6 +1,19 @@
import type { TranslationStrings } from '../types';
const collection: TranslationStrings = {
'collections.editListTitle': 'Edytuj listę',
'collections.coverImage': 'Obraz okładki',
'collections.addCover': 'Dodaj okładkę',
'collections.changeCover': 'Zmień okładkę',
'collections.description': 'Opis',
'collections.descriptionPlaceholder': 'Dodaj opis…',
'collections.links': 'Linki',
'collections.linkLabel': 'Etykieta',
'collections.addLink': 'Dodaj link',
'collections.addDetails': 'Dodaj szczegóły',
'collections.addPlace': 'Dodaj miejsce',
'collections.addPlaceSearch': 'Wyszukaj miejsce…',
'collections.addPlaceHint': 'Wyszukaj, aby dodać miejsce do tej listy',
'collections.showList': 'Pokaż listę',
'collections.expandMap': 'Powiększ mapę',
'collections.hero.mine': 'Moja kolekcja',
+13
View File
@@ -1,6 +1,19 @@
import type { TranslationStrings } from '../types';
const collection: TranslationStrings = {
'collections.editListTitle': 'Изменить список',
'collections.coverImage': 'Обложка',
'collections.addCover': 'Добавить обложку',
'collections.changeCover': 'Изменить обложку',
'collections.description': 'Описание',
'collections.descriptionPlaceholder': 'Добавьте описание…',
'collections.links': 'Ссылки',
'collections.linkLabel': 'Название',
'collections.addLink': 'Добавить ссылку',
'collections.addDetails': 'Добавить детали',
'collections.addPlace': 'Добавить место',
'collections.addPlaceSearch': 'Поиск места…',
'collections.addPlaceHint': 'Найдите, чтобы добавить место в этот список',
'collections.showList': 'Показать список',
'collections.expandMap': 'Развернуть карту',
'collections.hero.mine': 'Моя коллекция',
+13
View File
@@ -1,6 +1,19 @@
import type { TranslationStrings } from '../types';
const collection: TranslationStrings = {
'collections.editListTitle': 'Redigera lista',
'collections.coverImage': 'Omslagsbild',
'collections.addCover': 'Lägg till omslag',
'collections.changeCover': 'Byt omslag',
'collections.description': 'Beskrivning',
'collections.descriptionPlaceholder': 'Lägg till en beskrivning…',
'collections.links': 'Länkar',
'collections.linkLabel': 'Etikett',
'collections.addLink': 'Lägg till länk',
'collections.addDetails': 'Lägg till detaljer',
'collections.addPlace': 'Lägg till en plats',
'collections.addPlaceSearch': 'Sök efter en plats…',
'collections.addPlaceHint': 'Sök för att lägga till en plats i listan',
'collections.showList': 'Visa lista',
'collections.expandMap': 'Förstora karta',
'collections.hero.mine': 'Min samling',
+13
View File
@@ -1,6 +1,19 @@
import type { TranslationStrings } from '../types';
const collection: TranslationStrings = {
'collections.editListTitle': 'Listeyi düzenle',
'collections.coverImage': 'Kapak resmi',
'collections.addCover': 'Kapak ekle',
'collections.changeCover': 'Kapağı değiştir',
'collections.description': 'Açıklama',
'collections.descriptionPlaceholder': 'Bir açıklama ekleyin…',
'collections.links': 'Bağlantılar',
'collections.linkLabel': 'Etiket',
'collections.addLink': 'Bağlantı ekle',
'collections.addDetails': 'Ayrıntı ekle',
'collections.addPlace': 'Yer ekle',
'collections.addPlaceSearch': 'Yer ara…',
'collections.addPlaceHint': 'Bu listeye yer eklemek için arayın',
'collections.showList': 'Listeyi göster',
'collections.expandMap': 'Haritayı genişlet',
'collections.hero.mine': 'Koleksiyonum',
+13
View File
@@ -1,6 +1,19 @@
import type { TranslationStrings } from '../types';
const collection: TranslationStrings = {
'collections.editListTitle': 'Редагувати список',
'collections.coverImage': 'Обкладинка',
'collections.addCover': 'Додати обкладинку',
'collections.changeCover': 'Змінити обкладинку',
'collections.description': 'Опис',
'collections.descriptionPlaceholder': 'Додайте опис…',
'collections.links': 'Посилання',
'collections.linkLabel': 'Підпис',
'collections.addLink': 'Додати посилання',
'collections.addDetails': 'Додати деталі',
'collections.addPlace': 'Додати місце',
'collections.addPlaceSearch': 'Пошук місця…',
'collections.addPlaceHint': 'Знайдіть, щоб додати місце до цього списку',
'collections.showList': 'Показати список',
'collections.expandMap': 'Розгорнути карту',
'collections.hero.mine': 'Моя колекція',
+13
View File
@@ -1,6 +1,19 @@
import type { TranslationStrings } from '../types';
const collection: TranslationStrings = {
'collections.editListTitle': 'Chỉnh sửa danh sách',
'collections.coverImage': 'Ảnh bìa',
'collections.addCover': 'Thêm ảnh bìa',
'collections.changeCover': 'Đổi ảnh bìa',
'collections.description': 'Mô tả',
'collections.descriptionPlaceholder': 'Thêm mô tả…',
'collections.links': 'Liên kết',
'collections.linkLabel': 'Nhãn',
'collections.addLink': 'Thêm liên kết',
'collections.addDetails': 'Thêm chi tiết',
'collections.addPlace': 'Thêm địa điểm',
'collections.addPlaceSearch': 'Tìm địa điểm…',
'collections.addPlaceHint': 'Tìm để thêm địa điểm vào danh sách này',
'collections.showList': 'Hiện danh sách',
'collections.expandMap': 'Mở rộng bản đồ',
'collections.hero.mine': 'Bộ sưu tập của tôi',
+13
View File
@@ -1,6 +1,19 @@
import type { TranslationStrings } from '../types';
const collection: TranslationStrings = {
'collections.editListTitle': '編輯清單',
'collections.coverImage': '封面圖片',
'collections.addCover': '新增封面',
'collections.changeCover': '更換封面',
'collections.description': '描述',
'collections.descriptionPlaceholder': '新增描述…',
'collections.links': '連結',
'collections.linkLabel': '標籤',
'collections.addLink': '新增連結',
'collections.addDetails': '新增詳情',
'collections.addPlace': '新增地點',
'collections.addPlaceSearch': '搜尋地點…',
'collections.addPlaceHint': '搜尋以將地點加入此清單',
'collections.showList': '顯示清單',
'collections.expandMap': '展開地圖',
'collections.hero.mine': '我的收藏',
+13
View File
@@ -1,6 +1,19 @@
import type { TranslationStrings } from '../types';
const collection: TranslationStrings = {
'collections.editListTitle': '编辑清单',
'collections.coverImage': '封面图片',
'collections.addCover': '添加封面',
'collections.changeCover': '更换封面',
'collections.description': '描述',
'collections.descriptionPlaceholder': '添加描述…',
'collections.links': '链接',
'collections.linkLabel': '标签',
'collections.addLink': '添加链接',
'collections.addDetails': '添加详情',
'collections.addPlace': '添加地点',
'collections.addPlaceSearch': '搜索地点…',
'collections.addPlaceHint': '搜索以将地点添加到此清单',
'collections.showList': '显示列表',
'collections.expandMap': '展开地图',
'collections.hero.mine': '我的收藏',