Files
TREK/shared/src/i18n/vi/perm.ts
T
Maurice 80b6739362 feat(journey): a trip can link a journal and open it to the members it picks
A trip can now show one journal from the Journey addon as its own: any
journal its owner picks, and one journal on as many trips as they like.
The trip members chosen for the link get into the journal as viewers or
editors, see it in their own journal list and follow it live, for as long
as the link holds them and they stay on the trip.

That access is never copied into journey_contributors. It is read where
journal access is read: the contributor repository answers with the
stronger of a direct role and a link role, the journal list and the live
update recipients take the link members in, and the photo access check
goes the same way. Every one of those reads starts from linkReach, which
only counts members still on the linking trip, so unlinking, deselecting
someone and their leaving the trip all end exactly what the link gave.
A member who leaves is also taken off the link, so coming back later does
not quietly reopen the journal.

Linking or changing the members takes the journal's owner and the new
journal_link trip permission (trip owner by default); unlinking takes
either. /api/trips/:tripId/journal answers the link as each member may see
it, /candidates says who a journal would be opened to for the first time,
and four MCP tools do the same over the same service. A trip:journal:changed
event tells the trip to look again.
2026-10-18 15:59:33 +02:00

54 lines
3.5 KiB
TypeScript
Raw Blame History

This file contains invisible Unicode characters
This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
import type { TranslationStrings } from '../types';
const perm: TranslationStrings = {
'perm.title': 'Cài đặt quyền',
'perm.subtitle': 'Kiểm soát ai có thể thực hiện các hành động trên ứng dụng',
'perm.saved': 'Đã lưu cài đặt quyền',
'perm.resetDefaults': 'Đặt lại về mặc định',
'perm.customized': 'tùy chỉnh',
'perm.level.admin': 'Chỉ quản trị viên',
'perm.level.tripOwner': 'Người tạo',
'perm.level.tripMember': 'Thành viên',
'perm.level.everybody': 'Mọi người',
'perm.cat.trip': 'Quản lý chuyến đi',
'perm.cat.members': 'Quản lý thành viên',
'perm.cat.files': 'Tập tin',
'perm.cat.content': 'Nội dung & Lịch trình',
'perm.cat.extras': 'Ngân sách, Đóng gói & Hợp tác',
'perm.action.trip_create': 'Tạo chuyến đi',
'perm.action.trip_edit': 'Chỉnh sửa chi tiết chuyến đi',
'perm.action.trip_delete': 'Xóa chuyến đi',
'perm.action.trip_archive': 'Lưu trữ/hủy lưu trữ các chuyến đi',
'perm.action.trip_cover_upload': 'Tải ảnh bìa lên',
'perm.action.member_manage': 'Thêm/xóa thành viên',
'perm.action.file_upload': 'Tải tập tin lên',
'perm.action.file_edit': 'Chỉnh sửa siêu dữ liệu tập tin',
'perm.action.file_delete': 'Xóa tập tin',
'perm.action.place_edit': 'Thêm/sửa/xóa địa điểm',
'perm.action.day_edit': 'Chỉnh sửa ngày, ghi chú và bài tập',
'perm.action.reservation_edit': 'Quản lý đặt chỗ',
'perm.action.budget_edit': 'Quản lý ngân sách',
'perm.action.packing_edit': 'Quản lý danh sách đóng gói',
'perm.action.collab_edit': 'Cộng tác (ghi chú, thăm dò ý kiến, trò chuyện)',
'perm.action.share_manage': 'Quản lý liên kết chia sẻ',
'perm.actionHint.trip_create': 'Ai có thể tạo chuyến đi mới',
'perm.action.journal_link': 'Liên kết nhật ký',
'perm.actionHint.trip_edit': 'Ai có thể thay đổi tên chuyến đi, ngày tháng, mô tả và đơn vị tiền tệ',
'perm.actionHint.trip_delete': 'Ai có thể xóa vĩnh viễn chuyến đi',
'perm.actionHint.trip_archive': 'Ai có thể lưu trữ hoặc hủy lưu trữ chuyến đi',
'perm.actionHint.trip_cover_upload': 'Ai có thể tải lên hoặc thay đổi ảnh bìa',
'perm.actionHint.member_manage': 'Ai có thể mời hoặc xóa thành viên',
'perm.actionHint.file_upload': 'Ai có thể tải tập tin lên chuyến đi',
'perm.actionHint.file_edit': 'Ai có thể chỉnh sửa mô tả và liên kết tệp',
'perm.actionHint.file_delete': 'Ai có thể chuyển tệp vào thùng rác hoặc xóa chúng vĩnh viễn',
'perm.actionHint.place_edit': 'Ai có thể thêm, chỉnh sửa hoặc xóa địa điểm',
'perm.actionHint.day_edit': 'Ai có thể chỉnh sửa ngày, ghi chú ngày và đặt bài tập',
'perm.actionHint.reservation_edit': 'Ai có thể tạo, chỉnh sửa hoặc xóa đặt chỗ',
'perm.actionHint.budget_edit': 'Ai có thể tạo, chỉnh sửa hoặc xóa các mục ngân sách',
'perm.actionHint.packing_edit': 'Ai có thể quản lý các mặt hàng đóng gói và túi xách',
'perm.actionHint.collab_edit': 'Ai có thể tạo ghi chú, thăm dò ý kiến ​​và gửi tin nhắn',
'perm.actionHint.share_manage': 'Ai có thể tạo hoặc xóa liên kết chia sẻ công khai',
'perm.actionHint.journal_link': 'Ai có thể liên kết một nhật ký từ Journey với chuyến đi và mở nó cho các thành viên',
};
export default perm;