From 4f40d0de63a8ea5e7ebf498f94f606e17ec96900 Mon Sep 17 00:00:00 2001 From: Sean Morley Date: Mon, 28 Oct 2024 15:28:49 -0400 Subject: [PATCH] Add Italian and Dutch localization files --- frontend/src/locales/it.json | 136 ++++++++++++++++++++++++++++ frontend/src/locales/nl.json | 136 ++++++++++++++++++++++++++++ frontend/src/locales/zh.json | 138 +++++++++++++++++++++++++++++ frontend/src/routes/+layout.svelte | 3 + 4 files changed, 413 insertions(+) create mode 100644 frontend/src/locales/it.json create mode 100644 frontend/src/locales/nl.json create mode 100644 frontend/src/locales/zh.json diff --git a/frontend/src/locales/it.json b/frontend/src/locales/it.json new file mode 100644 index 0000000..9078f89 --- /dev/null +++ b/frontend/src/locales/it.json @@ -0,0 +1,136 @@ +{ + "about": { + "about": "Di", + "close": "Vicino", + "license": "Concesso in licenza con la licenza GPL-3.0.", + "message": "Realizzato con ❤️ negli Stati Uniti.", + "nominatim_1": "La ricerca della posizione e la geocodifica sono fornite da", + "nominatim_2": "I loro dati sono concessi in licenza con la licenza ODbL.", + "oss_attributions": "Attribuzioni Open Source", + "other_attributions": "Ulteriori attribuzioni possono essere trovate nel file README.", + "source_code": "Codice sorgente" + }, + "adventures": { + "activities": { + "activity": "Attività 🏄", + "art_museums": "Arte", + "attraction": "Attrazione 🎢", + "culture": "Cultura 🎭", + "dining": "Pranzo 🍽️", + "event": "Evento 🎉", + "festivals": "Festival 🎪", + "fitness": "Forma fisica 🏋️", + "general": "Generale 🌍", + "hiking": "Escursionismo 🥾", + "historical_sites": "Siti storici 🏛️", + "lodging": "Alloggio 🛌", + "music_concerts": "Musica", + "nightlife": "Vita notturna 🌃", + "other": "Altro", + "outdoor": "All'aperto 🏞️", + "shopping": "La spesa 🛍️", + "spiritual_journeys": "Viaggi Spirituali 🧘‍♀️", + "transportation": "Trasporti 🚗", + "volunteer_work": "Lavoro volontario 🤝", + "water_sports": "Sport acquatici 🚤", + "wildlife": "Fauna selvatica 🦒" + }, + "add_to_collection": "Aggiungi alla raccolta", + "adventure": "Avventura", + "adventure_delete_confirm": "Sei sicuro di voler eliminare questa avventura? \nQuesta azione non può essere annullata.", + "adventure_details": "Dettagli dell'avventura", + "adventure_type": "Tipo di avventura", + "archive": "Archivio", + "archived": "Archiviato", + "archived_collection_message": "Raccolta archiviata con successo!", + "archived_collections": "Collezioni archiviate", + "ascending": "Ascendente", + "cancel": "Cancellare", + "category_filter": "Filtro categoria", + "clear": "Chiaro", + "close_filters": "Chiudi filtri", + "collection": "Collezione", + "collection_link_error": "Errore nel collegamento dell'avventura alla raccolta", + "collection_remove_error": "Errore durante la rimozione dell'avventura dalla raccolta", + "collection_remove_success": "Avventura rimossa con successo dalla raccolta!", + "count_txt": "risultati corrispondenti alla tua ricerca", + "create_new": "Crea nuovo...", + "date": "Data", + "delete": "Eliminare", + "delete_collection": "Elimina raccolta", + "delete_collection_success": "Raccolta eliminata con successo!", + "delete_collection_warning": "Sei sicuro di voler eliminare questa raccolta? \nCiò eliminerà anche tutte le avventure collegate. \nQuesta azione non può essere annullata.", + "descending": "Discendente", + "edit_adventure": "Modifica Avventura", + "edit_collection": "Modifica raccolta", + "filter": "Filtro", + "homepage": "Home page", + "latitude": "Latitudine", + "longitude": "Longitudine", + "my_collections": "Le mie collezioni", + "name": "Nome", + "no_image_found": "Nessuna immagine trovata", + "not_found": "Avventura non trovata", + "not_found_desc": "L'avventura che stavi cercando non è stata trovata. \nProva un'avventura diversa o riprova più tardi.", + "open_details": "Apri Dettagli", + "open_filters": "Apri filtri", + "order_by": "Ordina per", + "order_direction": "Direzione dell'ordine", + "private": "Privato", + "public": "Pubblico", + "rating": "Valutazione", + "remove_from_collection": "Rimuovi dalla raccolta", + "share": "Condividere", + "sort": "Ordinare", + "sources": "Fonti", + "unarchive": "Annulla l'archiviazione", + "unarchived_collection_message": "Raccolta annullata con successo!", + "updated": "Aggiornato", + "visit": "Visita", + "visits": "Visite" + }, + "home": { + "desc_1": "Scopri, pianifica ed esplora con facilità", + "desc_2": "AdventureLog è progettato per semplificare il tuo viaggio, fornendoti gli strumenti e le risorse per pianificare, preparare le valigie e affrontare la tua prossima avventura indimenticabile.", + "feature_1": "Diario di viaggio", + "feature_1_desc": "Tieni traccia delle tue avventure con un diario di viaggio personalizzato e condividi le tue esperienze con amici e familiari.", + "feature_2": "Pianificazione del viaggio", + "feature_2_desc": "Crea facilmente itinerari personalizzati e ottieni un riepilogo giorno per giorno del tuo viaggio.", + "feature_3": "Mappa di viaggio", + "feature_3_desc": "Visualizza i tuoi viaggi in tutto il mondo con una mappa interattiva ed esplora nuove destinazioni.", + "go_to": "Vai a AdventureLog", + "hero_1": "Scopri le avventure più emozionanti del mondo", + "hero_2": "Scopri e pianifica la tua prossima avventura con AdventureLog. \nEsplora destinazioni mozzafiato, crea itinerari personalizzati e rimani connesso mentre sei in movimento.", + "key_features": "Caratteristiche principali" + }, + "navbar": { + "about": "Informazioni su AdventureLog", + "adventures": "Avventure", + "collections": "Collezioni", + "discord": "Discordia", + "documentation": "Documentazione", + "greeting": "CIAO", + "login": "Login", + "logout": "Esci", + "map": "Mappa", + "my_activities": "Le mie attività", + "my_adventures": "Le mie avventure", + "profile": "Profilo", + "search": "Ricerca", + "settings": "Impostazioni", + "shared_with_me": "Condiviso con me", + "signup": "Iscrizione", + "theme_selection": "Selezione del tema", + "themes": { + "aestetic-dark": "Oscuro estetico", + "aestetic-light": "Luce estetica", + "aqua": "Acqua", + "dark": "Buio", + "forest": "Foresta", + "light": "Leggero", + "night": "Notte" + }, + "users": "Utenti", + "worldtravel": "Viaggio nel mondo" + } +} diff --git a/frontend/src/locales/nl.json b/frontend/src/locales/nl.json new file mode 100644 index 0000000..c52ee27 --- /dev/null +++ b/frontend/src/locales/nl.json @@ -0,0 +1,136 @@ +{ + "about": { + "about": "Over", + "close": "Dichtbij", + "license": "Gelicentieerd onder de GPL-3.0-licentie.", + "message": "Gemaakt met ❤️ in de Verenigde Staten.", + "nominatim_1": "Locatie zoeken en geocodering wordt verzorgd door", + "nominatim_2": "Hun gegevens zijn in licentie gegeven onder de ODbL-licentie.", + "oss_attributions": "Open source-attributies", + "other_attributions": "Aanvullende toeschrijvingen zijn te vinden in het README-bestand.", + "source_code": "Broncode" + }, + "adventures": { + "activities": { + "activity": "Activiteit 🏄", + "art_museums": "Kunst", + "attraction": "Attractie 🎢", + "culture": "Cultuur 🎭", + "dining": "Dineren 🍽️", + "event": "Evenement 🎉", + "festivals": "Festivals 🎪", + "fitness": "Fitness🏋️", + "general": "Algemeen 🌍", + "hiking": "Wandelen 🥾", + "historical_sites": "Historische locaties 🏛️", + "lodging": "Accommodatie 🛌", + "music_concerts": "Muziek", + "nightlife": "Nachtleven 🌃", + "other": "Ander", + "outdoor": "Buiten 🏞️", + "shopping": "Winkelen 🛍️", + "spiritual_journeys": "Spirituele reizen 🧘‍♀️", + "transportation": "Vervoer 🚗", + "volunteer_work": "Vrijwilligerswerk 🤝", + "water_sports": "Watersport 🚤", + "wildlife": "Dieren in het wild 🦒" + }, + "add_to_collection": "Toevoegen aan collectie", + "adventure": "Avontuur", + "adventure_delete_confirm": "Weet je zeker dat je dit avontuur wilt verwijderen? \nDeze actie kan niet ongedaan worden gemaakt.", + "adventure_details": "Avontuurdetails", + "adventure_type": "Avontuurtype", + "archive": "Archief", + "archived": "Gearchiveerd", + "archived_collection_message": "Collectie succesvol gearchiveerd!", + "archived_collections": "Gearchiveerde collecties", + "ascending": "Oplopend", + "cancel": "Annuleren", + "category_filter": "Categoriefilter", + "clear": "Duidelijk", + "close_filters": "Sluit Filters", + "collection": "Verzameling", + "collection_adventures": "Inclusief collectie-avonturen", + "collection_link_error": "Fout bij het koppelen van avontuur aan collectie", + "collection_link_success": "Avontuur succesvol gekoppeld aan collectie!", + "collection_remove_error": "Fout bij verwijderen van avontuur uit verzameling", + "collection_remove_success": "Avontuur is succesvol uit de collectie verwijderd!", + "count_txt": "resultaten die overeenkomen met uw zoekopdracht", + "create_new": "Maak nieuwe...", + "date": "Datum", + "delete": "Verwijderen", + "delete_collection": "Verzameling verwijderen", + "delete_collection_success": "Collectie succesvol verwijderd!", + "delete_collection_warning": "Weet u zeker dat u deze verzameling wilt verwijderen? \nHiermee worden ook alle gekoppelde avonturen verwijderd. \nDeze actie kan niet ongedaan worden gemaakt.", + "descending": "Aflopend", + "edit_adventure": "Avontuur bewerken", + "edit_collection": "Verzameling bewerken", + "filter": "Filter", + "homepage": "Startpagina", + "latitude": "Breedte", + "longitude": "Lengte", + "my_collections": "Mijn collecties", + "name": "Naam", + "no_image_found": "Geen afbeelding gevonden", + "not_found": "Avontuur niet gevonden", + "not_found_desc": "Het avontuur waar je naar op zoek was, kon niet gevonden worden. \nProbeer een ander avontuur of kom later nog eens terug.", + "open_details": "Details openen", + "open_filters": "Filters openen", + "order_by": "Bestel per", + "order_direction": "Bestelrichting", + "private": "Privé", + "public": "Openbaar", + "rating": "Beoordeling", + "remove_from_collection": "Verwijderen uit collectie", + "share": "Deel", + "sort": "Soort", + "sources": "Bronnen", + "unarchive": "Uit het archief halen", + "unarchived_collection_message": "Collectie is succesvol gedearchiveerd!", + "updated": "Bijgewerkt", + "visit": "Bezoek", + "visits": "Bezoeken" + }, + "home": { + "desc_1": "Ontdek, plan en verken met gemak", + "desc_2": "AdventureLog is ontworpen om uw reis te vereenvoudigen en u de tools en middelen te bieden om uw volgende onvergetelijke avontuur te plannen, in te pakken en te navigeren.", + "feature_1": "Reislogboek", + "feature_1_desc": "Houd uw avonturen bij met een persoonlijk reislogboek en deel uw ervaringen met vrienden en familie.", + "feature_2": "Reisplanning", + "feature_2_desc": "Maak eenvoudig aangepaste reisroutes en krijg een overzicht van uw reis van dag tot dag.", + "feature_3": "Reiskaart", + "feature_3_desc": "Bekijk uw reizen over de hele wereld met een interactieve kaart en ontdek nieuwe bestemmingen.", + "go_to": "Ga naar AdventureLog", + "hero_2": "Ontdek en plan je volgende avontuur met AdventureLog. \nOntdek adembenemende bestemmingen, maak aangepaste reisroutes en blijf onderweg verbonden." + }, + "navbar": { + "about": "Over AdventureLog", + "adventures": "Avonturen", + "collections": "Collecties", + "discord": "Meningsverschil", + "documentation": "Documentatie", + "greeting": "Hoi", + "login": "Login", + "logout": "Uitloggen", + "map": "Kaart", + "my_activities": "Mijn activiteiten", + "my_adventures": "Mijn avonturen", + "profile": "Profiel", + "search": "Zoekopdracht", + "settings": "Instellingen", + "shared_with_me": "Gedeeld met mij", + "signup": "Aanmelden", + "theme_selection": "Thema Selectie", + "themes": { + "aestetic-dark": "Esthetisch donker", + "aestetic-light": "Esthetisch licht", + "aqua": "Aqua", + "dark": "Donker", + "forest": "Woud", + "light": "Licht", + "night": "Nacht" + }, + "users": "Gebruikers", + "worldtravel": "Wereldreizen" + } +} diff --git a/frontend/src/locales/zh.json b/frontend/src/locales/zh.json new file mode 100644 index 0000000..1157d5c --- /dev/null +++ b/frontend/src/locales/zh.json @@ -0,0 +1,138 @@ +{ + "about": { + "about": "关于", + "close": "关闭", + "license": "根据 GPL-3.0 许可证获得许可。", + "message": "由 ❤️ 在美国制造。", + "nominatim_1": "位置搜索和地理编码由以下提供:", + "nominatim_2": "他们的数据已获得 ODbL 许可证的许可。", + "oss_attributions": "开源属性", + "other_attributions": "其他属性可以在自述文件中找到。", + "source_code": "源代码" + }, + "adventures": { + "activities": { + "activity": "活动🏄", + "art_museums": "艺术", + "attraction": "景点🎢", + "culture": "文化🎭", + "dining": "餐饮🍽️", + "event": "活动🎉", + "festivals": "节日🎪", + "fitness": "健身🏋️", + "general": "一般🌍", + "hiking": "徒步旅行🥾", + "historical_sites": "历史古迹🏛️", + "lodging": "住宿🛌", + "music_concerts": "音乐", + "nightlife": "夜生活🌃", + "other": "其他", + "outdoor": "户外🏞️", + "shopping": "购物🛍️", + "spiritual_journeys": "心灵之旅🧘‍♀️", + "transportation": "交通🚗", + "volunteer_work": "志愿工作🤝", + "water_sports": "水上运动🚤", + "wildlife": "野生动物🦒" + }, + "add_to_collection": "添加到收藏", + "adventure": "冒险", + "adventure_delete_confirm": "您确定要删除此冒险吗?\n此操作无法撤消。", + "adventure_details": "冒险详情", + "adventure_type": "冒险类型", + "archive": "档案", + "archived": "已存档", + "archived_collection_message": "收藏存档成功!", + "archived_collections": "存档收藏", + "ascending": "升序", + "cancel": "取消", + "category_filter": "类别过滤器", + "clear": "清除", + "close_filters": "关闭过滤器", + "collection": "收藏", + "collection_adventures": "包括收集冒险", + "collection_link_error": "将冒险与收藏链接时出错", + "collection_link_success": "冒险与收藏成功关联!", + "collection_remove_error": "从集合中删除冒险时出错", + "collection_remove_success": "冒险已成功从收藏中删除!", + "count_txt": "与您的搜索匹配的结果", + "create_new": "创建新...", + "date": "日期", + "delete": "删除", + "delete_collection": "删除集合", + "delete_collection_success": "收藏删除成功!", + "delete_collection_warning": "您确定要删除该收藏吗?\n这也将删除所有链接的冒险。\n此操作无法撤消。", + "descending": "降序", + "edit_adventure": "编辑冒险", + "edit_collection": "编辑收藏", + "filter": "筛选", + "homepage": "主页", + "latitude": "纬度", + "longitude": "经度", + "my_collections": "我的收藏", + "name": "姓名", + "no_image_found": "没有找到图片", + "not_found": "冒险未找到", + "not_found_desc": "无法找到您正在寻找的冒险。\n请尝试不同的冒险或稍后回来查看。", + "open_details": "打开详情", + "open_filters": "打开过滤器", + "order_by": "订购方式", + "order_direction": "订单方向", + "private": "私人的", + "public": "民众", + "rating": "等级", + "remove_from_collection": "从集合中删除", + "share": "分享", + "sort": "种类", + "sources": "来源", + "unarchive": "取消归档", + "unarchived_collection_message": "收藏解压成功!", + "updated": "已更新", + "visit": "访问", + "visits": "访问量" + }, + "home": { + "desc_1": "轻松发现、规划和探索", + "desc_2": "AdventureLog 旨在简化您的旅程,为您提供工具和资源来计划、打包和导航您的下一次难忘的冒险。", + "feature_1": "旅行日志", + "feature_1_desc": "通过个性化的旅行日志记录您的冒险经历,并与朋友和家人分享您的经历。", + "feature_2": "旅行计划", + "feature_2_desc": "轻松创建自定义行程并获取行程的每日详细信息。", + "feature_3": "旅游地图", + "feature_3_desc": "使用交互式地图查看您在世界各地的旅行并探索新的目的地。", + "go_to": "前往冒险日志", + "hero_1": "探索世界上最惊险的冒险", + "hero_2": "使用 AdventureLog 发现并计划您的下一次冒险。\n探索令人惊叹的目的地、创建定制行程并随时随地保持联系。", + "key_features": "主要特点" + }, + "navbar": { + "about": "关于冒险日志", + "adventures": "冒险", + "collections": "收藏", + "discord": "不和谐", + "documentation": "文档", + "greeting": "你好", + "login": "登录", + "logout": "退出", + "map": "地图", + "my_activities": "我的活动", + "my_adventures": "我的冒险", + "profile": "轮廓", + "search": "搜索", + "settings": "设置", + "shared_with_me": "与我分享", + "signup": "报名", + "theme_selection": "主题选择", + "themes": { + "aestetic-dark": "审美黑暗", + "aestetic-light": "审美之光", + "aqua": "阿夸", + "dark": "黑暗的", + "forest": "森林", + "light": "光", + "night": "夜晚" + }, + "users": "用户", + "worldtravel": "环球旅行" + } +} diff --git a/frontend/src/routes/+layout.svelte b/frontend/src/routes/+layout.svelte index d37cc00..0f26491 100644 --- a/frontend/src/routes/+layout.svelte +++ b/frontend/src/routes/+layout.svelte @@ -8,6 +8,9 @@ register('es', () => import('../locales/es.json')); register('fr', () => import('../locales/fr.json')); register('de', () => import('../locales/de.json')); + register('it', () => import('../locales/it.json')); + register('zh', () => import('../locales/zh.json')); + register('nl', () => import('../locales/nl.json')); if (browser) { init({