Activities, Trails, Wanderer + Strava Integration, UI Refresh, Devops Improvments, and more (#785)
* Implement code changes to enhance functionality and improve performance * Update nl.json Fix Dutch translations. * feat(security): add Trivy security scans for Docker images and source code * feat(security): restructure Trivy scans for improved clarity and organization * fix(dependencies): update Django version to 5.2.2 * style(workflows): standardize quotes and fix typo in frontend-test.yml * feat(workflows): add job names for clarity in backend and frontend test workflows * refactor(workflows): remove path filters from pull_request and push triggers in backend and frontend workflows * feat(workflows): add paths to push and pull_request triggers for backend and frontend workflows * refactor(workflows): simplify trigger paths for backend and frontend workflows fix(dependencies): add overrides for esbuild in frontend package.json * fix(package): add missing pnpm overrides for esbuild in package.json * fix(workflows): add missing severity parameter for Trivy filesystem scan * fix(workflows): add missing severity parameter for Docker image scans in Trivy workflow * fix(workflows): remove MEDIUM severity from Trivy scans in security workflow * added-fix-image-deletion (#681) * added-fix-image-deletion * feat(commands): add image cleanup command to find and delete unused files * fix(models): ensure associated AdventureImages are deleted and files cleaned up on Adventure deletion * fix(models): ensure associated Attachment files are deleted and their filesystem cleaned up on Adventure deletion --------- Co-authored-by: ferdousahmed <taninme@gmail.com> Co-authored-by: Sean Morley * Rename Adventures to Locations (#696) * Refactor user_id to user in adventures and related models, views, and components - Updated all instances of user_id to user in the adventures app, including models, serializers, views, and frontend components. - Adjusted queries and filters to reflect the new user field naming convention. - Ensured consistency across the codebase for user identification in adventures, collections, notes, and transportation entities. - Modified frontend components to align with the updated data structure, ensuring proper access control and rendering based on user ownership. * Refactor adventure-related views and components to use "Location" terminology - Updated GlobalSearchView to replace AdventureSerializer with LocationSerializer. - Modified IcsCalendarGeneratorViewSet to use LocationSerializer instead of AdventureSerializer. - Created new LocationImageViewSet for managing location images, including primary image toggling and image deletion. - Introduced LocationViewSet for managing locations with enhanced filtering, sorting, and sharing capabilities. - Updated ReverseGeocodeViewSet to utilize LocationSerializer. - Added ActivityTypesView to retrieve distinct activity types from locations. - Refactored user views to replace AdventureSerializer with LocationSerializer. - Updated frontend components to reflect changes from "adventure" to "location", including AdventureCard, AdventureLink, AdventureModal, and others. - Adjusted API endpoints in frontend routes to align with new location-based structure. - Ensured all references to adventures are replaced with locations across the codebase. * refactor: rename adventures to locations across the application - Updated localization files to replace adventure-related terms with location-related terms. - Refactored TypeScript types and variables from Adventure to Location in various routes and components. - Adjusted UI elements and labels to reflect the change from adventures to locations. - Ensured all references to adventures in the codebase are consistent with the new location terminology. * Refactor code structure for improved readability and maintainability * feat: Implement location details page with server-side loading and deletion functionality - Added +page.server.ts to handle server-side loading of additional location info. - Created +page.svelte for displaying location details, including images, visits, and maps. - Integrated GPX file handling and rendering on the map. - Updated map route to link to locations instead of adventures. - Refactored profile and search routes to use LocationCard instead of AdventureCard. * docs: Update terminology from "Adventure" to "Location" and enhance project overview * docs: Clarify collection examples in usage documentation * feat: Enable credentials for GPX file fetch and add CORS_ALLOW_CREDENTIALS setting * Refactor adventure references to locations across the backend and frontend - Updated CategoryViewSet to reflect location context instead of adventures. - Modified ChecklistViewSet to include locations in retrieval logic. - Changed GlobalSearchView to search for locations instead of adventures. - Adjusted IcsCalendarGeneratorViewSet to handle locations instead of adventures. - Refactored LocationImageViewSet to remove unused import. - Updated LocationViewSet to clarify public access for locations. - Changed LodgingViewSet to reference locations instead of adventures. - Modified NoteViewSet to prevent listing all locations. - Updated RecommendationsViewSet to handle locations in parsing and response. - Adjusted ReverseGeocodeViewSet to search through user locations. - Updated StatsViewSet to count locations instead of adventures. - Changed TagsView to reflect activity types for locations. - Updated TransportationViewSet to reference locations instead of adventures. - Added new translations for search results related to locations in multiple languages. - Updated dashboard and profile pages to reflect location counts instead of adventure counts. - Adjusted search routes to handle locations instead of adventures. * Update banner image * style: Update stats component background and border for improved visibility * refactor: Rename AdventureCard and AdventureModal to LocationCard and LocationModal for consistency * Import and Export Functionality (#698) * feat(backup): add BackupViewSet for data export and import functionality * Fixed frontend returning corrupt binary data * feat(import): enhance import functionality with confirmation check and improved city/region/country handling * Potential fix for code scanning alert no. 29: Information exposure through an exception Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com> * Refactor response handling to use arrayBuffer instead of bytes * Refactor image cleanup command to use LocationImage model and update import/export view to include backup and restore functionality * Update backup export versioning and improve data restore warning message * Enhance image navigation and localization support in modal components * Refactor location handling in Immich integration components for consistency * Enhance backup and restore functionality with improved localization and error handling * Improve accessibility by adding 'for' attribute to backup file input label --------- Co-authored-by: Christian Zäske <blitzdose@gmail.com> Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com> * refactor(serializers): rename Location to Adventure and update related fields * refactor(serializers): rename Adventure to Location and update related fields * chore(requirements): update pillow version to 11.3.0 * Add PT-BR translations (#739) * Fixed frontend returning corrupt binary data * fix(adventure): enhance collection ownership validation in AdventureSerializer (#723) * Add PT-BR translations Add translation for Brazilian Portuguese to the project; Signed-off-by: Lucas Zampieri <lzampier@redhat.com> --------- Signed-off-by: Lucas Zampieri <lzampier@redhat.com> Co-authored-by: Sean Morley <98704938+seanmorley15@users.noreply.github.com> Co-authored-by: Christian Zäske <blitzdose@gmail.com> * fix: update date formatting for adventure items to include timezone * Image/attachment overhaul, activities, trails and integrations with Strava and Wanderer (#726) * refactor(models, views, serializers): rename LocationImage and Attachment to ContentImage and ContentAttachment, update related references * feat: Enhance collection sharing and location management features - Implemented unsharing functionality in CollectionViewSet, including removal of user-owned locations from collections. - Refactored ContentImageViewSet to support multiple content types and improved permission checks for image uploads. - Added user ownership checks in LocationViewSet for delete operations. - Enhanced collection management in the frontend to display both owned and shared collections separately. - Updated Immich integration to handle access control based on location visibility and user permissions. - Improved UI components to show creator information and manage collection links more effectively. - Added loading states and error handling in collection fetching logic. * feat: enhance transportation card and modal with image handling - Added CardCarousel component to TransportationCard for image display. - Implemented privacy indicator with Eye and EyeOff icons. - Introduced image upload functionality in TransportationModal, allowing users to upload multiple images. - Added image management features: remove image and set primary image. - Updated Transportation and Location types to include images as ContentImage array. - Enhanced UI for image upload and display in modal, including selected images preview and current images management. * feat: update CardCarousel component to handle images, name, and icon props across various cards * feat: add Discord link to AboutModal and update appVersion in config * feat: add LocationQuickStart and LocationVisits components for enhanced location selection and visit management - Implemented LocationQuickStart.svelte for searching and selecting locations on a map with reverse geocoding. - Created LocationVisits.svelte to manage visit dates and notes for locations, including timezone handling and validation. - Updated types to remove location property from Attachment type. - Modified locations page to integrate NewLocationModal for creating and editing locations, syncing updates with adventures. * feat: update button styles and add back and close functionality in location components * Collection invite system * feat: update CollectionSerializer to include 'shared_with' as a read-only field; update app version; add new background images and localization strings for invites * feat: add Strava integration with OAuth flow and activity management - Implemented IntegrationView for listing integrations including Immich, Google Maps, and Strava. - Created StravaIntegrationView for handling OAuth authorization and token exchange. - Added functionality to refresh Strava access tokens when needed. - Implemented endpoints to fetch user activities from Strava and extract essential information. - Added Strava logo asset and integrated it into the frontend settings page. - Updated settings page to display Strava integration status. - Enhanced location management to include trails with create, edit, and delete functionalities. - Updated types and localization files to support new features. * feat: enhance Strava integration with user-specific settings and management options; update localization strings * feat: update Strava integration settings and add Wanderer logo; enhance user experience with active section management * Add StravaActivity and Activity types to types.ts - Introduced StravaActivity type to represent detailed activity data from Strava. - Added Activity type to encapsulate user activities, including optional trail and GPX file information. - Updated Location type to include an array of activities associated with each visit. * feat: streamline location and activity management; enhance Strava import functionality and add activity handling in server actions * feat: add ActivityCard component and update LocationVisits to use it; modify Activity type to reference trail as string * feat: add geojson support to ActivitySerializer and ActivityCard; enhance location page with activity summaries and GPS tracks * feat: add trails property to recommendation object in collection page * feat: add Wanderer integration with authentication and management features * feat: implement Wanderer integration with trail management and UI components; enhance settings for reauthentication * feat: add measurement system field to CustomUser model and update related serializers, migrations, and UI components * feat: add measurement system support across ActivityCard, StravaActivityCard, NewLocationModal, LocationVisits, and related utility functions * feat: enhance Wanderer integration with trail data fetching and UI updates; add measurement system support * feat: add TrailCard component for displaying trail details with measurement system support * feat: add wanderer link support in TrailSerializer and TrailCard; update measurement system handling in location page * feat: integrate memcached for caching in Wanderer services; update Docker, settings, and supervisord configurations * feat: add activity statistics to user profile; include distance, moving time, elevation, and total activities * feat: enhance import/export functionality to include trails and activities; update UI components and localization * feat: integrate NewLocationModal across various components; update location handling and state management * Refactor Location and Visit types: Replace visits structure in Location with Visit type and add location, created_at, and updated_at fields to Visit * feat: enhance permissions and validation in activity, trail, and visit views; add unique constraint to CollectionInvite model * feat: sync visits when updating adventures in collection page * feat: add geojson support for attachments and refactor GPX handling in location page * chore: remove unused dependencies from pnpm-lock.yaml * feat: add Strava and Wanderer integration documentation and configuration options * Add support for Japanese and Arabic languages in localization * Add new localization strings for Russian, Swedish, and Chinese languages - Updated translations in ru.json, sv.json, and zh.json to include new phrases related to collections, activities, and integrations. - Added strings for leaving collections, loading collections, and quick start instructions. - Included new sections for invites and Strava integration with relevant messages. - Enhanced Google Maps integration descriptions for clarity. * Add localization support for activity-related features and update UI labels - Added new Russian, Swedish, and Chinese translations for activity statistics, achievements, and related terms. - Updated UI components to use localized strings for activity statistics, distance, moving time, and other relevant fields. - Enhanced user experience by ensuring all relevant buttons and labels are translated and accessible. * fix: update appVersion to reflect the latest development version * feat: add getActivityColor function and integrate activity color coding in map and location pages * feat: add support for showing activities and visited cities on the map * feat: update map page to display counts for visited cities and activities * fix: remove debug print statement from IsOwnerOrSharedWithFullAccess permission class * feat: add MapStyleSelector component and integrate basemap selection in map page * feat: enhance basemap functions with 3D terrain support and update XYZ style handling * feat: add management command to recalculate elevation data from GPX files and update activity view to handle elevation data extraction * feat: update MapStyleSelector component and enhance basemap options for improved user experience * feat: refactor activity model and admin to use sport_type, update serializers and components for improved activity handling * feat: update Activity model string representation to use sport_type instead of type * feat: update activity handling to use sport_type for color determination in map and location components * feat: Add attachments support to Transportation and Lodging types - Updated Transportation and Lodging types to include attachments array. - Enhanced localization files for multiple languages to include new strings related to attachments, lodging, and transportation. - Added error and success messages for attachment removal and upload information. - Included new prompts for creating and updating lodging and transportation details across various languages. * feat: Enhance activity statistics and breakdown by category in user profile * feat: Add SPORT_CATEGORIES for better organization of sports types and update StatsViewSet to use it * feat: Enhance CategoryDropdown for mobile responsiveness and add category creation functionality * feat: Update inspirational quote in adventure log * feat: Localize navigation labels in Navbar and add translation to en.json * feat: Update navigation elements to use anchor tags for better accessibility and add new fields to signup form * Translate login button text to support internationalization * feat: Refactor location visit status logic and add utility function for visited locations count * chore: Upgrade GitHub Actions and remove unused timezone import * fix: Update Docker image tags in GitHub Actions workflow for consistency * fix: Update Docker image build process to use BuildKit cache for improved performance * chore: Remove unused imports from stats_view.py for cleaner code * Increase background image opacity on login and signup pages for improved visibility * fix: Add postgresql-client to runtime dependencies in Dockerfile * fix: Update workflow files to include permissions for GitHub Actions * fix: Update esbuild version to ^0.25.9 in package.json and pnpm-lock.yaml for compatibility * chore: improve Chinese translation (#796) * fix: update adventure log quote and remove unused activity type field * fix: optimize import process by using get_or_create for visited cities and regions * fix: update README to reflect changes from adventures to locations and enhance feature descriptions * fix: update documentation to reflect changes from adventures to locations and enhance feature descriptions * Update google_maps_integration.md (#743) * Update google_maps_integration.md Explain APIs needed for AdventureLogs versions. Fixes #731 and #727 * Fix a typo google_maps_integration.md --------- Co-authored-by: Sean Morley <98704938+seanmorley15@users.noreply.github.com> * fix: update appVersion to reflect the main branch version * fix: update image source for satellite map in documentation * Update frontend/src/lib/components/NewLocationModal.svelte Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> * Add localization updates for multiple languages - Japanese (ja.json): Added new activity-related phrases and checklist terms. - Korean (ko.json): Included activity breakdown and checklist enhancements. - Dutch (nl.json): Updated activity descriptions and added checklist functionalities. - Norwegian (no.json): Enhanced activity and checklist terminology. - Polish (pl.json): Added new phrases for activities and checklist management. - Brazilian Portuguese (pt-br.json): Updated activity-related terms and checklist features. - Russian (ru.json): Included new phrases for activities and checklist management. - Swedish (sv.json): Enhanced activity descriptions and checklist functionalities. - Chinese (zh.json): Added new activity-related phrases and checklist terms. * fix: enhance image upload handling to support immich_id * Add "not_enabled" message for Strava integration in multiple languages - Updated Spanish, French, Italian, Japanese, Korean, Dutch, Norwegian, Polish, Brazilian Portuguese, Russian, Swedish, and Chinese locale files to include a new message indicating that Strava integration is not enabled in the current instance. --------- Signed-off-by: Lucas Zampieri <lzampier@redhat.com> Co-authored-by: Ycer0n <37674033+Ycer0n@users.noreply.github.com> Co-authored-by: taninme <5262715+taninme@users.noreply.github.com> Co-authored-by: ferdousahmed <taninme@gmail.com> Co-authored-by: Christian Zäske <blitzdose@gmail.com> Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com> Co-authored-by: Lucas Zampieri <lcasmz54@gmail.com> Co-authored-by: pplulee <pplulee@live.cn> Co-authored-by: Cathelijne Hornstra <github@hornstra.com> Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
@@ -8,7 +8,7 @@
|
||||
"logout": "退出",
|
||||
"map": "地图",
|
||||
"my_adventures": "我的冒险",
|
||||
"profile": "轮廓",
|
||||
"profile": "个人资料",
|
||||
"search": "搜索",
|
||||
"settings": "设置",
|
||||
"shared_with_me": "与我分享",
|
||||
@@ -31,7 +31,8 @@
|
||||
"language_selection": "语言",
|
||||
"support": "支持",
|
||||
"calendar": "日历",
|
||||
"admin_panel": "管理面板"
|
||||
"admin_panel": "管理面板",
|
||||
"navigation": "导航"
|
||||
},
|
||||
"about": {
|
||||
"about": "关于",
|
||||
@@ -43,7 +44,15 @@
|
||||
"other_attributions": "其他声明可以在 README 文件中找到。",
|
||||
"source_code": "源代码",
|
||||
"close": "关闭",
|
||||
"generic_attributions": "登录到AdventureLog以查看启用集成和服务的归因。"
|
||||
"generic_attributions": "登录到AdventureLog以查看启用集成和服务的归因。",
|
||||
"attributions": "归因",
|
||||
"developer": "开发人员",
|
||||
"license_info": "执照",
|
||||
"sponsor": "赞助",
|
||||
"thank_you": "感谢您使用冒险!",
|
||||
"version": "版本",
|
||||
"view_changelog": "查看ChangElog",
|
||||
"view_license": "查看许可证"
|
||||
},
|
||||
"home": {
|
||||
"desc_1": "轻松发现、规划和探索",
|
||||
@@ -64,12 +73,7 @@
|
||||
"start_your_journey": "开始您的旅程"
|
||||
},
|
||||
"adventures": {
|
||||
"collection_remove_success": "成功从合集中移除冒险!",
|
||||
"collection_remove_error": "从合集中移除冒险时出错",
|
||||
"collection_link_success": "成功将冒险链接到合集!",
|
||||
"no_image_found": "未找到图片",
|
||||
"collection_link_error": "链接冒险到合集时出错",
|
||||
"adventure_delete_confirm": "您确定要删除此冒险吗?此操作无法撤销。",
|
||||
"checklist_delete_confirm": "您确定要删除此检查清单吗?此操作无法撤销。",
|
||||
"note_delete_confirm": "您确定要删除此笔记吗?此操作无法撤销。",
|
||||
"transportation_delete_confirm": "您确定要删除此交通工具吗?此操作无法撤销。",
|
||||
@@ -83,8 +87,6 @@
|
||||
"remove_from_collection": "从合集中移除",
|
||||
"add_to_collection": "添加到合集",
|
||||
"delete": "删除",
|
||||
"not_found": "未找到冒险",
|
||||
"not_found_desc": "未找到你要查找的冒险。请尝试其他冒险或稍后再试。",
|
||||
"homepage": "主页",
|
||||
"collection": "合集",
|
||||
"longitude": "经度",
|
||||
@@ -109,7 +111,6 @@
|
||||
"rating": "评分",
|
||||
"my_images": "我的图片",
|
||||
"no_images": "没有图片",
|
||||
"share_adventure": "分享此冒险!",
|
||||
"copy_link": "复制链接",
|
||||
"image": "图片",
|
||||
"upload_image": "上传图片",
|
||||
@@ -130,12 +131,10 @@
|
||||
"clear_map": "清除地图",
|
||||
"search_results": "搜索结果",
|
||||
"no_results": "未找到结果",
|
||||
"wiki_desc": "从与冒险名称匹配的维基百科文章中提取摘录。",
|
||||
"attachments": "附件",
|
||||
"attachment": "附件",
|
||||
"images": "图片",
|
||||
"generate_desc": "生成描述",
|
||||
"public_adventure": "公开冒险",
|
||||
"location_information": "位置信息",
|
||||
"link": "链接",
|
||||
"links": "链接",
|
||||
@@ -156,15 +155,12 @@
|
||||
"edit_collection": "编辑合集",
|
||||
"unarchive": "取消归档",
|
||||
"archive": "归档",
|
||||
"no_collections_found": "未找到可添加此冒险的合集。",
|
||||
"not_visited": "未访问",
|
||||
"archived_collection_message": "成功归档合集!",
|
||||
"unarchived_collection_message": "成功取消归档合集!",
|
||||
"delete_collection_success": "成功删除合集!",
|
||||
"cancel": "取消",
|
||||
"delete_collection": "删除合集",
|
||||
"delete_adventure": "删除冒险",
|
||||
"adventure_delete_success": "成功删除冒险!",
|
||||
"visited": "已访问",
|
||||
"planned": "计划中",
|
||||
"duration": "持续时间",
|
||||
@@ -182,17 +178,10 @@
|
||||
"image_fetch_failed": "获取图片失败",
|
||||
"no_location": "请输入位置",
|
||||
"no_description_found": "未找到描述",
|
||||
"adventure_created": "冒险已创建",
|
||||
"adventure_create_error": "创建冒险失败",
|
||||
"lodging": "住宿",
|
||||
"create_adventure": "创建冒险",
|
||||
"adventure_updated": "冒险已更新",
|
||||
"adventure_update_error": "更新冒险失败",
|
||||
"set_to_pin": "设置为图钉",
|
||||
"category_fetch_error": "获取类别时出错",
|
||||
"new_adventure": "新冒险",
|
||||
"basic_information": "基本信息",
|
||||
"no_adventures_to_recommendations": "未找到冒险。添加至少一个冒险以获得推荐。",
|
||||
"display_name": "显示名称",
|
||||
"adventure_not_found": "没找到任何冒险。使用右下角的加号按钮添加一些,或尝试更改筛选条件!",
|
||||
"no_adventures_found": "未找到冒险",
|
||||
@@ -232,7 +221,6 @@
|
||||
"no_location_found": "未找到位置",
|
||||
"from": "从",
|
||||
"to": "到",
|
||||
"will_be_marked": "将在冒险保存后标记为已访问。",
|
||||
"start": "开始",
|
||||
"end": "结束",
|
||||
"emoji_picker": "表情符号选择器",
|
||||
@@ -298,7 +286,197 @@
|
||||
"name_location": "名称,位置",
|
||||
"collection_contents": "收集内容",
|
||||
"check_in": "报到",
|
||||
"check_out": "查看"
|
||||
"check_out": "查看",
|
||||
"collection_link_location_error": "链接位置到集合的错误",
|
||||
"collection_link_location_success": "成功链接到收集的位置!",
|
||||
"collection_locations": "包括收集位置",
|
||||
"collection_remove_location_error": "从集合中删除位置的错误",
|
||||
"collection_remove_location_success": "成功从收藏中删除的位置!",
|
||||
"create_location": "创建位置",
|
||||
"delete_location": "删除位置",
|
||||
"edit_location": "编辑位置",
|
||||
"location_create_error": "无法创建位置",
|
||||
"location_created": "创建的位置",
|
||||
"location_delete_confirm": "您确定要删除此位置吗?\n该动作不能撤消。",
|
||||
"location_delete_success": "位置成功删除了!",
|
||||
"location_not_found": "找不到位置",
|
||||
"location_not_found_desc": "找不到您寻找的位置。\n请尝试其他位置或稍后再检查。",
|
||||
"location_update_error": "无法更新位置",
|
||||
"location_updated": "位置更新",
|
||||
"new_location": "新位置",
|
||||
"no_collections_to_add_location": "没有发现将此位置添加到。",
|
||||
"no_locations_to_recommendations": "找不到位置。\n添加至少一个位置以获取建议。",
|
||||
"public_location": "公共位置",
|
||||
"share_location": "分享这个位置!",
|
||||
"visit_calendar": "访问日历",
|
||||
"wiki_location_desc": "从Wikipedia文章中提取摘录,符合该位置的名称。",
|
||||
"will_be_marked_location": "保存位置后,将被标记为访问。",
|
||||
"no_locations_found": "找不到位置",
|
||||
"image_modal_navigate": "使用箭头键或单击以导航",
|
||||
"details": "细节",
|
||||
"leave": "离开",
|
||||
"leave_collection": "离开收藏",
|
||||
"leave_collection_warning": "您确定要离开这个系列吗?\n您添加的任何位置都将被取消链接并保留在您的帐户中。",
|
||||
"left_collection_message": "成功离开收藏",
|
||||
"loading_collections": "加载收藏...",
|
||||
"quick_start": "快速开始",
|
||||
"achievements": "成就",
|
||||
"active_duration": "活动持续时间",
|
||||
"activities_name": "活动",
|
||||
"activity_name": "活动名称",
|
||||
"activity_name_placeholder": "早上跑步",
|
||||
"activity_name_required": "需要活动名称",
|
||||
"activity_options": "活动选项",
|
||||
"activity_statistics": "活动统计",
|
||||
"activity_statistics_description": "您的健身和活动成就",
|
||||
"add_activity": "添加活动",
|
||||
"add_first_trail": "使用上面的按钮添加您的第一个步道",
|
||||
"add_new_activity": "添加新活动",
|
||||
"add_new_trail": "添加新步道",
|
||||
"add_trail": "添加步道",
|
||||
"add_visit": "添加访问",
|
||||
"add_wanderer_trail": "添加流浪者步道",
|
||||
"attachment_management": "依恋管理",
|
||||
"attachment_name_required": "所需的附件名称",
|
||||
"attachment_remove_error": "删除附件时发生了错误",
|
||||
"attachment_removed": "附件成功删除",
|
||||
"attachment_updated": "附件成功更新",
|
||||
"average_cadence": "平均节奏",
|
||||
"average_speed": "平均速度",
|
||||
"avg_speed": "平均速度",
|
||||
"back": "后退",
|
||||
"cadence": "节奏",
|
||||
"calories": "卡路里",
|
||||
"click_map": "单击地图选择位置",
|
||||
"click_on_map": "单击地图选择位置",
|
||||
"complete_import": "完全导入",
|
||||
"complete_strava_import": "完整的Strava导入",
|
||||
"confirm_delete_activity": "您确定要删除此活动吗?",
|
||||
"connect_to_wanderer": "连接到流浪者",
|
||||
"continue": "继续",
|
||||
"create_new_location": "创建新位置",
|
||||
"create_trail": "创建步道",
|
||||
"created": "创建",
|
||||
"current_attachments": "当前附件",
|
||||
"date_selection": "日期选择",
|
||||
"download_gpx": "下载GPX",
|
||||
"edit_visit": "编辑访问",
|
||||
"elapsed_time": "经过时间",
|
||||
"elevation": "海拔",
|
||||
"elevation_gain": "高程增益",
|
||||
"elevation_high": "高度高",
|
||||
"elevation_loss": "海拔损失",
|
||||
"elevation_low": "高度低",
|
||||
"end_lat": "结束纬度",
|
||||
"end_lng": "结束经度",
|
||||
"export_gpx": "导出GPX",
|
||||
"export_original": "出口原件",
|
||||
"external_link": "外部链接",
|
||||
"gain": "获得",
|
||||
"getting_location_details": "获取位置详细信息",
|
||||
"gpx_file": "GPX文件",
|
||||
"gpx_file_downloaded": "GPX文件下载。\n请在下面上传以完成导入。",
|
||||
"gpx_file_required": "需要GPX文件",
|
||||
"image_management": "图像管理",
|
||||
"import_activity": "进口活动",
|
||||
"importing": "输入",
|
||||
"likes": "喜欢",
|
||||
"loading_activities": "加载活动",
|
||||
"location_display_name": "位置显示名称",
|
||||
"location_map": "地点",
|
||||
"location_selected": "选择的位置",
|
||||
"max_speed": "最大速度",
|
||||
"moving_time": "移动时间",
|
||||
"next_image": "下一个图像",
|
||||
"no_attachments_uploaded_yet": "尚未上传附件",
|
||||
"no_external_link": "没有外部链接可用",
|
||||
"no_file_selected": "未选择文件",
|
||||
"no_images_uploaded_yet": "尚无图像上传",
|
||||
"no_strava_activities": "这次访问期间找不到Strava活动",
|
||||
"no_trails_added": "还没有添加踪迹",
|
||||
"no_trails_available": "没有可用的步道",
|
||||
"no_trails_found_matching": "没有发现匹配的步道",
|
||||
"no_visits_description": "通过选择上面的日期来创建您的第一次访问",
|
||||
"notes_placeholder": "添加有关这次访问的笔记",
|
||||
"or": "或者",
|
||||
"pace": "步伐",
|
||||
"photos": "照片",
|
||||
"previous_image": "上图",
|
||||
"processing": "加工",
|
||||
"public_location_description": "使其他用户可见这个位置",
|
||||
"remove_visit": "删除访问",
|
||||
"rest_time": "休息时间",
|
||||
"saved_activities": "保存的活动",
|
||||
"search_location": "搜索位置",
|
||||
"search_placeholder": "进入城市,位置或地标...",
|
||||
"search_trails_placeholder": "搜索步道",
|
||||
"searching": "搜索",
|
||||
"select_on_map": "在地图上选择",
|
||||
"select_wanderer_trail": "从您的流浪者帐户中选择一条小径",
|
||||
"sport_type": "运动类型",
|
||||
"sport_type_placeholder": "越野跑",
|
||||
"start_lat": "开始纬度",
|
||||
"start_lng": "开始经度",
|
||||
"strava_activities_during_visit": "访问期间的Strava活动",
|
||||
"strava_activity_ready": "准备就绪",
|
||||
"time": "时间",
|
||||
"total_covered": "总覆盖",
|
||||
"total_recorded": "记录总数",
|
||||
"trail": "踪迹",
|
||||
"trail_created_successfully": "步道成功创建了",
|
||||
"trail_creation_failed": "未能创建足迹",
|
||||
"trail_fetch_failed": "未能获取流浪者的踪迹",
|
||||
"trail_link_required": "需要一个路线链接",
|
||||
"trail_name": "步道名称",
|
||||
"trail_removal_failed": "无法删除踪迹",
|
||||
"trail_removed_successfully": "步道成功地删除了",
|
||||
"trail_update_failed": "无法更新跟踪",
|
||||
"trail_updated_successfully": "TRAIL成功更新了",
|
||||
"trails": "步道",
|
||||
"trails_found_for": "找到的步道",
|
||||
"trails_management": "跟踪管理",
|
||||
"trails_management_description": "管理与此位置相关的步道。\n步道可以链接到外部服务,例如Alltrails或链接到Wanderer Trails。",
|
||||
"update_location_details": "更新位置详细信息",
|
||||
"update_visit": "更新访问",
|
||||
"upload_activity": "上传活动",
|
||||
"upload_attachment": "上传附件",
|
||||
"upload_first_attachment": "使用上面的选项上传您的第一个附件",
|
||||
"upload_first_image": "使用上面的选项之一上传您的第一个图像",
|
||||
"upload_from_device": "从设备上传",
|
||||
"upload_from_url": "从URL上传",
|
||||
"upload_gpx_file": "上传刚刚下载以完成Strava导入的GPX文件",
|
||||
"uploading": "上传",
|
||||
"use_current_location": "使用当前位置",
|
||||
"view_gpx": "查看GPX",
|
||||
"view_on": "查看",
|
||||
"view_strava_activities": "查看Strava活动",
|
||||
"view_trail": "查看步道",
|
||||
"wanderer_integration_error": "流浪者集成未启用或已过期。",
|
||||
"wikipedia_error": "无法从Wikipedia产生描述",
|
||||
"high": "高的",
|
||||
"low": "低的",
|
||||
"rest": "休息",
|
||||
"total": "全部的",
|
||||
"attachment_removed_error": "删除附件的错误",
|
||||
"attachment_removed_success": "固定被吸收去除",
|
||||
"attachments_upload_info": "保存后,附件将上传",
|
||||
"image_upload_info": "保存后将上传图像",
|
||||
"linked_locations": "链接的位置",
|
||||
"lodging_save_error": "保存错误的住宿",
|
||||
"my_attachments": "我的附件",
|
||||
"no_attachments": "没有附件",
|
||||
"no_attachments_desc": "上传文件开始",
|
||||
"no_images_desc": "上传图像开始",
|
||||
"route_map": "路线图",
|
||||
"selected_attachments": "选定的附件",
|
||||
"selected_images": "选定的图像",
|
||||
"activities_text": "活动",
|
||||
"activity_breakdown_by_category": "类别的活动分解",
|
||||
"distance_covered": "覆盖距离",
|
||||
"recorded_sessions": "记录的会议",
|
||||
"total_activities": "总活动",
|
||||
"total_climbed": "总攀登",
|
||||
"total_distance": "总距离"
|
||||
},
|
||||
"auth": {
|
||||
"forgot_password": "忘记密码?",
|
||||
@@ -317,10 +495,14 @@
|
||||
"public_tooltip": "通过公开个人资料,用户可以与您共享合集,并在用户页面查看您的资料。",
|
||||
"new_password": "新密码(6个字符以上)",
|
||||
"or_3rd_party": "或使用第三方服务登录",
|
||||
"no_public_adventures": "未找到公开冒险",
|
||||
"no_public_collections": "未找到公开合集",
|
||||
"user_adventures": "用户冒险",
|
||||
"user_collections": "用户合集"
|
||||
"user_collections": "用户合集",
|
||||
"no_public_locations": "找不到公共场所",
|
||||
"user_locations": "用户位置",
|
||||
"enter_password": "输入您的密码",
|
||||
"enter_username": "输入您的用户名",
|
||||
"logging_in": "登录",
|
||||
"totp": "两因素代码"
|
||||
},
|
||||
"worldtravel": {
|
||||
"all": "全部",
|
||||
@@ -376,7 +558,8 @@
|
||||
"oldest_first": "最古老的第一",
|
||||
"unvisited_first": "首先未访问",
|
||||
"visited_first": "首先访问",
|
||||
"total_items": "总项目"
|
||||
"total_items": "总项目",
|
||||
"getting_location_details": "获取位置详细信息"
|
||||
},
|
||||
"users": {
|
||||
"no_users_found": "未找到已公开个人资料的用户。"
|
||||
@@ -444,14 +627,14 @@
|
||||
"password_enabled": "启用密码身份验证",
|
||||
"password_enabled_error": "启用密码身份验证的错误。",
|
||||
"access_restricted": "访问受限制",
|
||||
"access_restricted_desc": "Yadministrative功能仅适用于工作人员。",
|
||||
"access_restricted_desc": "此页面仅限管理员访问。\n请联系您的系统管理员以获取更多信息。",
|
||||
"add_new_email": "添加新电子邮件",
|
||||
"add_new_email_address": "添加新的电子邮件地址",
|
||||
"admin": "行政",
|
||||
"admin": "管理",
|
||||
"admin_panel_desc": "访问完整的管理接口",
|
||||
"administration": "行政",
|
||||
"administration": "管理",
|
||||
"administration_desc": "管理工具和设置",
|
||||
"advanced": "先进的",
|
||||
"advanced": "高级设置",
|
||||
"advanced_settings": "高级设置",
|
||||
"advanced_settings_desc": "高级配置和开发工具",
|
||||
"all_rights_reserved": "版权所有。",
|
||||
@@ -482,18 +665,51 @@
|
||||
"profile_info": "个人资料信息",
|
||||
"profile_info_desc": "更新您的个人详细信息和个人资料图片",
|
||||
"public_profile_desc": "让其他用户可以看到您的个人资料",
|
||||
"regular_user": "常规用户",
|
||||
"regular_user": "普通用户",
|
||||
"security": "安全",
|
||||
"settings_menu": "设置菜单",
|
||||
"social_auth": "社会身份验证",
|
||||
"social_auth_desc_1": "管理社交登录选项和密码设置",
|
||||
"social_auth_setup": "社会身份验证设置",
|
||||
"staff_status": "员工身份",
|
||||
"staff_user": "员工用户",
|
||||
"staff_status": "用户身份",
|
||||
"staff_user": "管理员",
|
||||
"quick_actions": "快速动作",
|
||||
"region_updates": "区域更新",
|
||||
"region_updates_desc": "更新访问了地区和城市",
|
||||
"invalid_credentials": "无效的凭据"
|
||||
"invalid_credentials": "无效的凭据",
|
||||
"backup_restore": "备份",
|
||||
"backup_restore_desc": "保存数据或从以前的备份文件还原。",
|
||||
"complete_setup_to_enable": "完整的设置以启用MFA",
|
||||
"copy_all": "复制全部",
|
||||
"enter_6_digit_code": "输入6位数代码",
|
||||
"enter_code_from_app": "从应用程序输入代码",
|
||||
"error_occurred": "发生了错误",
|
||||
"important": "重要的",
|
||||
"manual_entry": "手动输入",
|
||||
"mfa_already_enabled": "MFA已经启用",
|
||||
"mfa_required": "需要MFA",
|
||||
"scan_qr_code": "扫描QR码",
|
||||
"scan_with_authenticator_app": "使用身份验证器应用程序扫描",
|
||||
"secure_your_account": "保护您的帐户",
|
||||
"setup_required": "需要设置",
|
||||
"verify_setup": "验证设置",
|
||||
"whats_included": "包括什么",
|
||||
"backup_your_data": "备份您的数据",
|
||||
"backup_your_data_desc": "下载您的帐户数据的完整备份,包括位置,集合,媒体和访问。",
|
||||
"data_override_acknowledge": "我承认这将覆盖我所有现有数据",
|
||||
"data_override_acknowledge_desc": "此操作是不可逆转的,将取代您帐户中的所有位置,收集和访问。",
|
||||
"data_override_warning": "数据覆盖警告",
|
||||
"data_override_warning_desc": "还原数据将完全替换帐户中的所有现有数据(备份中包含在备份中)。\n该动作不能撤消。",
|
||||
"integrations_settings": "集成设置",
|
||||
"media": "媒体",
|
||||
"restore_data": "还原数据",
|
||||
"restore_data_desc": "上传备份文件以还原数据。",
|
||||
"select_backup_file": "选择备份文件",
|
||||
"world_travel_visits": "世界旅行访问",
|
||||
"activities": "活动",
|
||||
"trails": "步道",
|
||||
"use_imperial": "使用帝国单位",
|
||||
"use_imperial_desc": "使用帝国单位(英尺,英寸,磅)代替度量单位"
|
||||
},
|
||||
"checklist": {
|
||||
"checklist_delete_error": "删除清单时出错",
|
||||
@@ -505,7 +721,17 @@
|
||||
"item_cannot_be_empty": "项目内容不能为空",
|
||||
"items": "项目",
|
||||
"new_item": "新项目",
|
||||
"new_checklist": "新建清单"
|
||||
"new_checklist": "新建清单",
|
||||
"add_new_item": "添加新项目",
|
||||
"add_your_first_item": "添加您的第一个项目",
|
||||
"checklist_viewer": "清单查看器",
|
||||
"completed": "完全的",
|
||||
"current_items": "当前项目",
|
||||
"editing_checklist": "编辑清单",
|
||||
"enter_checklist_title": "输入清单标题",
|
||||
"no_items_yet": "还没有物品",
|
||||
"update_checklist_details": "编辑清单",
|
||||
"viewing_checklist": "查看清单"
|
||||
},
|
||||
"collection": {
|
||||
"collection_created": "合集创建成功!",
|
||||
@@ -539,7 +765,11 @@
|
||||
"open": "打开",
|
||||
"save": "保存",
|
||||
"invalid_url": "无效网址",
|
||||
"note_viewer": "笔记查看器"
|
||||
"note_viewer": "笔记查看器",
|
||||
"create_new_note": "创建新注释",
|
||||
"enter_note_title": "输入注释标题",
|
||||
"update_note_details": "编辑说明",
|
||||
"viewing_note": "查看说明"
|
||||
},
|
||||
"transportation": {
|
||||
"edit": "编辑",
|
||||
@@ -563,12 +793,26 @@
|
||||
"type": "类型",
|
||||
"ending_airport_desc": "输入到达机场代码(如:LAX)",
|
||||
"fetch_location_information": "获取位置信息",
|
||||
"starting_airport_desc": "输入出发机场代码(如:JFK)"
|
||||
"starting_airport_desc": "输入出发机场代码(如:JFK)",
|
||||
"create_new_transportation": "新运输",
|
||||
"enter_flight_number": "输入航班号",
|
||||
"enter_from_location": "从位置输入",
|
||||
"enter_link": "输入链接",
|
||||
"enter_to_location": "输入位置",
|
||||
"enter_transportation_name": "输入运输名称",
|
||||
"select_type": "选择类型",
|
||||
"update_transportation_details": "更新运输详细信息"
|
||||
},
|
||||
"search": {
|
||||
"adventurelog_results": "AdventureLog 结果",
|
||||
"online_results": "在线结果",
|
||||
"public_adventures": "已公开的冒险"
|
||||
"public_adventures": "已公开的冒险",
|
||||
"cities": "城市",
|
||||
"countries": "国家",
|
||||
"found": "成立",
|
||||
"result": "结果",
|
||||
"results": "结果",
|
||||
"try_searching_desc": "尝试搜索冒险,收藏,国家,地区,城市或用户。"
|
||||
},
|
||||
"map": {
|
||||
"add_adventure": "添加新冒险",
|
||||
@@ -579,13 +823,18 @@
|
||||
"show_visited_regions": "显示访问过的地区",
|
||||
"view_details": "查看详情",
|
||||
"adventure_stats": "冒险统计",
|
||||
"adventures_shown": "展示的冒险",
|
||||
"completion": "完成",
|
||||
"display_options": "显示选项",
|
||||
"map_controls": "地图控件",
|
||||
"marker_placed_on_map": "放置在地图上的标记",
|
||||
"place_marker_desc": "单击地图以放置标记,或在没有位置的情况下添加冒险。",
|
||||
"regions": "地区"
|
||||
"regions": "地区",
|
||||
"add_location": "添加新位置",
|
||||
"add_location_at_marker": "在标记处添加新位置",
|
||||
"location_map": "位置图",
|
||||
"locations_shown": "显示的位置",
|
||||
"place_marker_desc_location": "单击地图以放置标记。",
|
||||
"show_activities": "展示活动",
|
||||
"show_visited_cities": "参观城市"
|
||||
},
|
||||
"languages": {},
|
||||
"share": {
|
||||
@@ -598,7 +847,11 @@
|
||||
"with": "和",
|
||||
"go_to_settings": "前往设置",
|
||||
"no_shared_found": "未找到与您共享的合集。",
|
||||
"set_public": "为了允许用户与您共享,您需要将您的个人资料设置为公开。"
|
||||
"set_public": "为了允许用户与您共享,您需要将您的个人资料设置为公开。",
|
||||
"available": "可用的",
|
||||
"pending": "待办的",
|
||||
"revoke_invite": "撤销邀请",
|
||||
"send_invite": "发送邀请"
|
||||
},
|
||||
"profile": {
|
||||
"member_since": "会员自",
|
||||
@@ -611,9 +864,9 @@
|
||||
"no_shared_adventures": "该用户尚未分享任何公共冒险。",
|
||||
"no_shared_collections": "该用户尚未共享任何公共收藏。",
|
||||
"planned_trips": "计划的旅行",
|
||||
"public_adventure_experiences": "公共冒险经验",
|
||||
"travel_statistics": "旅行统计",
|
||||
"your_journey_at_a_glance": "您一眼的冒险之旅"
|
||||
"your_journey_at_a_glance": "您一眼的冒险之旅",
|
||||
"public_location_experiences": "公共位置经验"
|
||||
},
|
||||
"categories": {
|
||||
"category_name": "类别名称",
|
||||
@@ -622,9 +875,9 @@
|
||||
"manage_categories": "管理类别",
|
||||
"no_categories_found": "未找到类别。",
|
||||
"select_category": "选择类别",
|
||||
"update_after_refresh": "刷新页面后,冒险卡将更新。",
|
||||
"add_new_category": "添加新类别",
|
||||
"name_required": "需要类别名称"
|
||||
"name_required": "需要类别名称",
|
||||
"location_update_after_refresh": "刷新页面后,将更新位置卡。"
|
||||
},
|
||||
"dashboard": {
|
||||
"add_some": "为什么不开始计划你的下一次冒险呢?\n您可以通过单击下面的按钮添加新的冒险。",
|
||||
@@ -665,14 +918,26 @@
|
||||
"integration_already_exists": "Immich整合已经存在。\n您一次只能进行一个集成。",
|
||||
"integration_not_found": "没有找到Immich整合。\n请创建一个新的集成。",
|
||||
"network_error": "连接到Immich服务器时的网络错误。\n请检查您的连接,然后重试。",
|
||||
"validation_error": "在验证IMMICH集成时发生了错误。\n请检查您的服务器URL和API键。"
|
||||
"validation_error": "在验证IMMICH集成时发生了错误。\n请检查您的服务器URL和API键。",
|
||||
"by_album": "专辑",
|
||||
"by_date": "按日期",
|
||||
"error_no_object_id": "没有提供对象ID",
|
||||
"fetch_error": "从Immich集成中获取数据的错误",
|
||||
"image_search_placeholder": "使用Immich搜索",
|
||||
"loading": "加载中",
|
||||
"loading_albums": "加载专辑",
|
||||
"no_images": "找不到图像",
|
||||
"select_album": "选择专辑",
|
||||
"select_album_first": "首先选择专辑",
|
||||
"select_date": "选择日期",
|
||||
"try_different_date": "尝试其他日期"
|
||||
},
|
||||
"recomendations": {
|
||||
"recommendation": "推荐",
|
||||
"recommendations": "建议",
|
||||
"adventure_recommendations": "冒险建议",
|
||||
"food": "食物",
|
||||
"tourism": "旅游"
|
||||
"tourism": "旅游",
|
||||
"location_recommendations": "位置建议"
|
||||
},
|
||||
"lodging": {
|
||||
"campground": "露营地",
|
||||
@@ -689,23 +954,65 @@
|
||||
"new_lodging": "新住宿",
|
||||
"other": "其他",
|
||||
"reservation_number": "预订号",
|
||||
"resort": "度假村"
|
||||
"resort": "度假村",
|
||||
"create_new_lodging": "新住宿",
|
||||
"enter_lodging_name": "输入住宿名称",
|
||||
"enter_price": "输入价格",
|
||||
"enter_reservation_number": "输入预订号",
|
||||
"update_lodging_details": "更新住宿详细信息"
|
||||
},
|
||||
"google_maps": {
|
||||
"google_maps_integration_desc": "连接您的Google Maps帐户以获取高质量的位置搜索结果和建议。"
|
||||
"google_maps_integration_desc": "连接您的Google Maps帐户以获取高质量的位置搜索结果和建议。",
|
||||
"google_maps_integration_desc_no_staff": "该集成必须首先由该服务器上的管理员启用。"
|
||||
},
|
||||
"calendar": {
|
||||
"all_categories": "所有类别",
|
||||
"all_day_event": "全天活动",
|
||||
"calendar_overview": "日历概述",
|
||||
"categories": "类别",
|
||||
"day": "天",
|
||||
"events_scheduled": "预定事件",
|
||||
"filter_by_category": "按类别过滤",
|
||||
"filtered_results": "过滤结果",
|
||||
"month": "月",
|
||||
"today": "今天",
|
||||
"total_events": "总事件",
|
||||
"week": "星期"
|
||||
},
|
||||
"locations": {
|
||||
"location": "地点",
|
||||
"locations": "位置",
|
||||
"my_locations": "我的位置"
|
||||
},
|
||||
"settings_download_backup": "下载备份",
|
||||
"invites": {
|
||||
"accept": "接受",
|
||||
"accept_failed": "未能接受邀请",
|
||||
"accepted": "邀请接受",
|
||||
"by": "经过",
|
||||
"decline": "衰退",
|
||||
"decline_failed": "未能拒绝邀请",
|
||||
"declined": "邀请被拒绝",
|
||||
"invited_on": "邀请",
|
||||
"no_invites": "没有邀请",
|
||||
"no_invites_desc": "确保您的个人资料是公开的,以便用户可以邀请您。",
|
||||
"pending_invites": "等待邀请",
|
||||
"title": "邀请"
|
||||
},
|
||||
"strava": {
|
||||
"account_connected": "帐户连接",
|
||||
"admin_setup_required": "服务器管理员必须在全球范围内启用它",
|
||||
"authorization_error": "错误将重定向到Strava授权URL",
|
||||
"connect_account": "连接帐户",
|
||||
"disconnect": "断开",
|
||||
"disconnect_error": "与Strava断开连接的错误",
|
||||
"disconnected": "成功与Strava断开连接",
|
||||
"not_configured": "Strava未配置",
|
||||
"ready_to_connect": "准备连接",
|
||||
"strava_integration_desc": "连接到Strava,轻松将您的活动导入到位置和访问中",
|
||||
"gpx_required": "请上传GPX文件以完成Strava导入",
|
||||
"not_enabled": "在这种情况下未启用Strava集成。"
|
||||
},
|
||||
"wanderer": {
|
||||
"connected": "成功与流浪者联系",
|
||||
"connection_error": "与流浪者连接的错误",
|
||||
"wanderer_integration_desc": "连接到流浪者轻松导入并在位置查看您的步道"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user