Files
TREK/shared/src/i18n/vi/settings.ts
T
Maurice 9dd0a851ca fix: eleven reported bugs across atlas, budget, collections, journey, vacay and the LLM settings (#1923)
* fix(mcp): accept per-leg times on create_transport and update_transport

metadata was pinned to Record<string, string>, so a legs array could not get
through and a multi-leg flight built over MCP lost every intermediate time. The
booking ended up with correct endpoints and no legs, which every reader then
treats as a single segment.

legs is now a real, typed parameter with its contract in @trek/shared, shaped
exactly the way the planner form and the importers write metadata.legs. The
folding checks what the readers depend on: one leg fewer than endpoints (the
AirTrail dedupe builds its signatures on that), day ids that belong to the trip,
airport codes that agree with their endpoint, and the times, where a stopover
endpoint carries the departure and the last one the arrival.

metadata keeps its type and its replace semantics. Segments smuggled through
metadata.legs as a JSON string used to be stored and then ignored by everything
that read them; they are refused now and point at the legs parameter instead.

Closes #1914

* fix(atlas): refuse a bucket list entry that is already on the list

Nothing gave a bucket entry an identity, so the same country could be added as
often as it was clicked. A wish is now identified by name, country, target date
and, where it has them, coordinates. A different target date is a different wish
and still lands, which is what the report asked for; two real places sharing a
name stay separate because their coordinates differ.

Empty string and NULL are normalised on both sides of the comparison, otherwise
the dateless case, which is the one that was reported, would slip through.

Deliberately no unique index and no migration. better-sqlite3 is synchronous and
the server is a single process, so the race an index would guard against cannot
happen here, and an index would have needed a destructive dedupe of existing
rows first.

create_bucket_list_item had no target_date parameter at all, so over MCP the
allowed "same place, other date" case was unreachable. It takes one now. The
plugin RPC reports the duplicate as bad params instead of letting it surface as
an internal error.

Closes #1898

* fix(settings): keep a free-form LLM endpoint in admin hands

Any account could name the address the server calls, and the guard in front of
it deliberately allows loopback and LAN so a self-hosted Ollama works. That is a
reasonable trade for whoever runs the instance, because the network is theirs. It
is not one for an arbitrary account, which could aim a request from inside that
network at a target only it chose and read how the target answered.

A free base URL, and the local provider that is one by another name, now come
only from an admin controlled source: the addon config, the instance-wide
defaults, or an admin's own settings. OpenAI and Anthropic stay available to
everyone, because they go to a fixed address with the user's own key.

The resolver is where this is enforced, since it is the single point both the
booking import and the plugin host pass through, and the only one that also
covers values already sitting in the database. The write path refuses as well,
so nothing is stored that would never be read.

The hint text promised something users no longer have, so it changed with it.

Closes #1772

* fix(calendar): span a date-only booking to its end date

A DATE event without DTEND is exactly one day per RFC 5545, so a multi-day
booking that carries an end date still collapsed onto its first day. It gets an
exclusive DTEND now, built the same way the stay branch already builds one. A
booking without an end date serialises byte for byte as before.

While in here: the stays query joins reservations on the accommodation, and two
bookings pointed at the same stay fanned it out into two events sharing one UID.
Duplicate UIDs in a feed are undefined behaviour and calendar clients pick one at
random.

The same "at most one booking per stay" assumption sat in the accommodations
service, where it was worse than cosmetic: accommodation_id carries no foreign
key, so deleting a stay took only the first booking and left the second pointing
at something that no longer existed. Both the sync and the delete walk all of
them now. The callers keep reading linkedReservationId; the list is additional.

Refs #1869

* fix(vacay): say that the region is required, because it is

The placeholder called the region optional while the add button stayed disabled
until one was picked. The wording predates multiple calendars per plan, which is
what introduced the gate. Only the value of the existing key changed, in all
locales, so the key set stays identical.

Two things the same screen got wrong were in the way of a clean answer:

The button was clickable while the region list was still loading, which put the
user in exactly the state the wording describes, and it is the state the report
was filed from. It waits for the list now.

Changing the country on an existing calendar kept the previous country's regions
on screen, so a German region could be picked for the Netherlands. The list is
cleared with the country, which only works in combination with the loading gate:
without it, the empty list would happen to enable the button instead.

Closes #1813

* fix(collections): let a saved place's address be corrected

The edit form offered name, category and labels, and the address only on the way
in. The cause was not the form: the update contract never declared address, so
the validation pipe stripped it and the UPDATE had no column for it. Coordinates
were pulled through for #1435 and the address was missed.

It travels the whole chain now, contract to service to both forms. No migration,
the column has always been there.

The mobile add sheet had no address input at all, showing whatever the search
result carried as read-only, so editing would have worked while creating still
would not. It has one.

The MCP tool description had drifted further than the address, never having
mentioned the coordinates either. Both are in it now.

Closes #1870

* fix(collections): keep the place search usable after the first save

The add dialog stays open on purpose so several places can be added in a row, but
after a save it gave no way back into the search. A search with no results was
silent, with no empty state and no toast, so typing another name and pressing
enter looked like nothing happened. The reporter described both halves and it is
the silent search that matches "nothing happens" most closely.

There is an empty state now, using a key that already existed in every locale and
was unused. The search row is sticky inside the dialog body, so it stays reachable
after the save instead of sitting above the scroll position.

Also fixed while in here: refreshing the collection after each add reset the
select mode, the selection and the label filter. In the very flow this dialog is
built for, the user quietly lost all three.

Closes #1921

* fix(vacay): make the phone year grid and the dock button do what they look like

Two separate faults met on this screen.

Tapping a day in the year grid did nothing unless the edit mode was already on,
and the only way into it was a floating button that looks exactly like the one
the dock draws in the same spot. A tap now opens that month in the editor, where
the cells are big enough to hit. At 390px the grid cells are around 21px, which
is too small to be mutating data with in the first place.

The dock's plus was not wired for this route, so it fell through to creating a
trip on the dashboard. Two different actions were stacked in one place, and the
wrong one was on top whenever the screen had not painted yet, which includes the
time its chunk is still loading. The dock leaves the slot to the screen now, and
holds the geometry so the tab groups stay symmetric.

Closes #1811

* fix(budget): settle in whole cents so balances stop drifting

The report is a balance that moves on its own, with nothing added, edited or
removed, on a trip where everything is in euro. Two mechanisms were behind it and
both are real.

The display currency is a fourth value, a per-user setting, so "everything is in
euro" never covered it. Each balance was converted and rounded on its own, and
the set no longer summed to zero: at 0.855 and 0.9312 it came out one cent over,
at 0.94 it came out even. That cent appears and disappears with the six hour rate
cache alone, which is exactly the symptom. The flows were rounded separately from
the balances, so the two never had to agree.

And a receipt line nobody was ticked for counted toward the total, and therefore
toward the payer's credit, while landing in no share. That difference is
permanent, and the client sent it that way.

The settlement converts once, at the edge, and does integer arithmetic after
that. Equal splits distribute the credited cents by largest remainder rather than
the entered total, so credits and debits of one expense cancel exactly even in a
foreign currency. Display conversion goes through the same largest-remainder
allocation, so the sum survives it.

With that, the 0.01 epsilon can go. It could never create a cent, but it stranded
them: a one cent balance was filtered out of the flows while staying visible in
the list, which is the "settle up offers nothing" half of the report.

Closes #1382

* fix(journey): reach the book export and the suggestion toggle on a phone

Below 1024px the hero card is dropped, and it held the only way to either action.
The floating bar that replaces it was never given them. It has them now, and the
hero is unmounted rather than hidden, so there is no second invisible copy of the
same controls in the document. The bar's own buttons moved onto the appearance
tokens while they were being touched.

The phone screen never had either action at all and now carries both.

The book itself was hardwired to English, cover and dates included, while the
keys for it had been sitting in every locale unused. It takes the page's
translator and locale, sets the document language, and prints mood and weather,
which were on screen but never in the book.

Closes #1848

* fix(journey): offer the connected photo providers in the phone entry editor

The desktop editor grew an external photo source in #1632; the phone editor that
came out of the mobile rewrite never did, so editing an entry on a phone had no
way to Immich or Synology. It mirrors the desktop mechanics, including the part
that is easy to miss: a save that creates the entry and then fails on the photos
keeps the sheet open, and without remembering what was just created the retry
creates a second entry.

The sheet no longer kicks off its own addon load. The list is loaded once on
boot and this only reacts to it; a second load races the other consumers and
overwrites the store when it lands.

Closes #1808

* fix(mobile): let the document scroll so Safari can collapse its URL bar

iOS Safari only shrinks its address bar when the document scrolls, and TREK's
never did: the root was locked and the mobile shell put a scroll container inside
it. On the bottom tab layout that costs about a sixth of the viewport,
permanently.

Below 768px the document is the scroller again and the full-bleed screens measure
their own height instead of leaning on the shell.

That makes the body scroll locks real for the first time on a phone, and they
were not ready for it. Three of them reset the overflow unconditionally, one of
those on every run of its effect rather than on unmount, so a system notice could
hand the page back while a sheet was still open. They all go through one
reference counted lock now, which is the part that had to land first.

Worth knowing for the issue: this reaches the flow screens. The trip planner, the
journal, the atlas and the vacay screen keep their own full-height scrollers and
still will not collapse the bar.

Closes #1809

* fix(mobile): keep the screen gradient visible behind the translucent cards

The gradient layer introduced with the scroll change sat at z-index -10. A
negative layer paints above the canvas but below the backgrounds of ordinary
blocks, and body carries an opaque one, so the gradient was hidden behind it.
The mobile cards are translucent and take their depth from what is behind them,
so every surface ended up compositing against a single flat colour and the whole
phone UI read as one tone.

The layer is positioned at z-index 0 now and the content above it at 10, which
puts both over body's background. Same visual as before the scroll change, and
the shell still owns no scroll container.

* test(reservations): teach the accommodation delete stub about the id lists

The RPC walks every linked booking since the delete stopped stopping at the
first one. The stub still answered with the two singular fields, so the loop had
nothing to iterate and the cascade events never fired.

* fix(settings): move the free-form LLM endpoint out of user settings entirely

Hiding it from non-admins closed the hole, but it left the option sitting in the
admin's own personal settings, which is not what was asked for and not where it
belongs: an instance has exactly one address it calls out to, and there was a
second, invisible place to set it.

The provider list is now the two hosted ones for everybody, the endpoint field is
gone, and the resolver takes the address from the admin-controlled instance
defaults for every caller including an admin. It no longer reads the users table
at all. The write path refuses the keys for everyone, so nothing can be stored
that would never be read.

The endpoint is configured on the addon in the admin settings, which already
carries provider, model, base URL and key, plus the Ollama model list. Nothing
is lost, it just has one home now.

Behaviour change worth a release note: an admin who set a personal Ollama
endpoint has to move it to the addon config. A non-admin was already in that
position after the previous commit.

Refs #1772

* fix(journey): make the book preview usable on a phone

The preview document carried no viewport, so a phone laid it out at its default
980px while the page is A4 landscape and about 1123px wide. It spilled out of
the frame, which reads as being zoomed far in. Declaring the real width lets the
browser scale the page to fit. Printing is unaffected, it goes by @page.

The preview chrome had the same problem in miniature: a title and two labels on
one row, sized inline, which does not fit a phone and fits translated labels
even less. It moved to a stylesheet, and below 640px the card goes full-bleed,
the decorative title steps aside and the two actions share the width.

Refs #1848

* fix(mobile): stop the shell trapping the screens' own overlays

Lifting the background layer into the positioned range meant the content wrapper
had to be positioned too, and a positioned wrapper with a z-index is a stacking
context. Every fixed overlay a screen renders inside it got clamped to that
level: the vacay view/edit FAB sits at z-50 precisely so it beats the dock at
z-40, and it disappeared behind it.

The layer goes back to a negative z-index and the wrapper back to no positioning
at all. What it needed in the first place was for body to stop painting over it,
which is one line in the phone media block rather than a new stacking context.

* fix(mobile): let the phone background override actually win

A media query adds no specificity, so the themed body rule further down the file
kept winning on source order and painted over the shell's background layer. The
override is on html body now.

The gradient was back to being invisible, which is the flat single-tone phone UI
again.

* fix(vacay): draw today's ring around the day instead of replacing it

On the phone, today short-circuited the day-cell matrix and returned a ring on an
empty cell. A vacation day or a company holiday logged for today was stored and
counted in the totals, but the cell showed nothing, so it read as if the tap had
not taken.

Today is an annotation now, layered like the school band and the shared-calendar
rings, which is how the desktop month card has always treated it. The strong ink
stays only where the cell has no fill of its own, since --m-ink is light in dark
mode and would disappear on a pastel.

* fix(map): stop serving a stale GL style document from the service worker

The Workbox rule for Mapbox matched every URL under api.mapbox.com, and the
style document lives there too. Under StaleWhileRevalidate the map was built
from the previous revision on every load, with the refresh landing one load too
late, so a style republished in Studio with different label languages kept
rendering the old ones. The network tab showed a 200 throughout, because the
service worker's own answer is a real 200, which is why this looked like the app
rewriting text-field at runtime.

The style now has its own rule ahead of the tile rules, on NetworkFirst so it is
current whenever the network is, and still cached so the map opens offline. Its
own small cache too: sharing an LRU with three thousand tiles made the staleness
come and go at random. OpenFreeMap styles had the same problem and are covered
by the same rule.

Closes #1924
2026-08-13 14:06:35 +02:00

531 lines
38 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 settings: TranslationStrings = {
'settings.title': 'Cài đặt',
'settings.subtitle': 'Định cấu hình cài đặt cá nhân của bạn',
'settings.tabs.display': 'Hiển thị',
'settings.tabs.map': 'Bản đồ',
'settings.tabs.notifications': 'Thông báo',
'settings.tabs.integrations': 'Tích hợp',
'settings.plugins.oauth.connected': 'Đã kết nối',
'settings.plugins.oauth.notConnected': 'Chưa kết nối',
'settings.plugins.oauth.connect': 'Kết nối',
'settings.plugins.oauth.disconnect': 'Ngắt kết nối',
'settings.tabs.plugins': 'Plugin',
'settings.plugins.title': 'Cài đặt plugin',
'settings.plugins.subtitle': 'Cài đặt cá nhân của bạn cho các plugin bạn dùng (khóa API, tùy chọn).',
'settings.plugins.empty': 'Không có plugin nào đang hoạt động.',
'settings.plugins.saved': 'Đã lưu cài đặt',
'settings.tabs.account': 'Tài khoản',
'settings.tabs.offline': 'Ngoại tuyến',
'settings.tabs.about': 'Về',
'settings.map': 'Bản đồ',
'settings.mapTemplate': 'Mẫu bản đồ',
'settings.mapTemplatePlaceholder.select': 'Chọn mẫu...',
'settings.mapDefaultHint': 'Để trống cho OpenStreetMap (mặc định)',
'settings.mapHint': 'Mẫu URL cho ô bản đồ',
'settings.mapProvider': 'Nhà cung cấp bản đồ',
'settings.mapProviderHint':
'Ảnh hưởng tới Công cụ lập kế hoạch chuyến đi và bản đồ hành trình. Atlas luôn sử dụng Leaflet.',
'settings.mapLeafletSubtitle': '2D cổ điển, bất kỳ ô raster nào',
'settings.mapMapboxSubtitle': 'Gạch vector, tòa nhà 3D và địa hình',
'settings.mapMapLibreSubtitle': 'OpenFreeMap gạch vector, không có mã thông báo',
'settings.mapExperimental': 'thực nghiệm',
'settings.mapMapboxToken': 'Mapbox Mã thông báo truy cập',
'settings.mapMapboxTokenHint': 'Mã thông báo công khai (pk.*) từ',
'settings.mapMapboxTokenLink': 'mapbox.com → Mã thông báo truy cập',
'settings.mapStyle': 'Kiểu bản đồ',
'settings.mapStylePlaceholder': 'Chọn kiểu Mapbox',
'settings.mapStyleHint': 'Đặt trước hoặc của riêng bạn mapbox://styles/USER/ID URL',
'settings.mapOpenFreeMapStylePlaceholder': 'Chọn kiểu OpenFreeMap',
'settings.mapOpenFreeMapStyleHint':
'Đặt trước hoặc kiểu OpenFreeMap URL. Kiểu OpenFreeMap hoạt động mà không cần mã thông báo.',
'settings.map3dBuildings': 'Tòa nhà & địa hình 3D',
'settings.map3dHint': 'Cao độ + ép đùn tòa nhà 3D thực - hoạt động trên mọi phong cách, bao gồm cả vệ tinh.',
'settings.mapHighQuality': 'Chế độ chất lượng cao',
'settings.mapHighQualityHint':
'Khử răng cưa + chiếu hình ảnh địa cầu cho các cạnh sắc nét hơn và thế giới quan chân thực hơn.',
'settings.mapHighQualityWarning': 'Có thể ảnh hưởng đến hiệu suất trên các thiết bị cấp thấp hơn.',
'settings.mapTipLabel': 'Mẹo:',
'settings.mapTip':
'nhấp chuột phải và kéo để xoay/cao độ bản đồ. Nhấp chuột giữa để thêm địa điểm (nhấp chuột phải được dành riêng cho việc xoay).',
'settings.saveMap': 'Lưu bản đồ',
'settings.apiKeys': 'API Key',
'settings.mapsKey': 'Google Maps API Key',
'settings.mapsKeyHint': 'Để tìm kiếm địa điểm. Yêu cầu Địa điểm API (Mới). Truy cập tại console.cloud.google.com',
'settings.weatherKey': 'OpenWeatherMap API Key',
'settings.weatherKeyHint': 'Đối với dữ liệu thời tiết. Miễn phí tại openweathermap.org/api',
'settings.keyPlaceholder': 'Nhập khóa...',
'settings.configured': 'Đã định cấu hình',
'settings.saveKeys': 'Lưu chìa khóa',
'settings.display': 'Hiển thị',
'settings.colorMode': 'Chế độ màu',
'settings.light': 'Sáng',
'settings.dark': 'Tối',
'settings.auto': 'Tự động',
'settings.language': 'Ngôn ngữ',
'settings.temperature': 'Đơn vị nhiệt độ',
'settings.distance': 'Đơn vị khoảng cách',
'settings.timeFormat': 'Định dạng thời gian',
'settings.bookingLabels': 'Nhãn lộ trình đặt chỗ',
'settings.bookingLabelsHint': 'Hiển thị tên ga/sân bay trên bản đồ. Khi tắt, chỉ có biểu tượng được hiển thị.',
'settings.mapPoiPill': 'Khám phá các địa điểm trên bản đồ',
'settings.mapPoiPillHint':
'Hiển thị một danh mục trên bản đồ chuyến đi để tìm các nhà hàng, khách sạn lân cận và hơn thế nữa từ OpenStreetMap.',
'settings.blurBookingCodes': 'Mã đặt chỗ mờ',
'settings.optimizeFromAccommodation': 'Tối ưu hóa tuyến đường từ chỗ ở',
'settings.optimizeFromAccommodationHint':
'Khi tối ưu hóa một ngày, hãy bắt đầu lộ trình tại khách sạn nơi bạn thức dậy và kết thúc tại khách sạn bạn nhận phòng vào tối hôm đó.',
'settings.aiAlwaysRetry': 'Luôn thử lại việc nhập đặt chỗ bằng AI.',
'settings.aiAlwaysRetryHint':
'Khi trình phân tích cú pháp tiêu chuẩn không thể đọc được tệp, hãy tự động thử lại bằng AI..',
'settings.notifications': 'Thông báo',
'settings.notifyTripInvite': 'Lời mời chuyến đi',
'settings.notifyBookingChange': 'Thay đổi đặt chỗ',
'settings.notifyTripReminder': 'Lời nhắc chuyến đi',
'settings.notifyTodoDue': 'Việc cần làm sắp đến hạn',
'settings.notifyVacayInvite': 'Lời mời kết hợp Vacay',
'settings.notifyVacayShare': 'Chia sẻ lịch Vacay',
'settings.notifyPhotosShared': 'Ảnh được chia sẻ (Immich)',
'settings.notifyCollabMessage': 'Tin nhắn trò chuyện (Cộng tác)',
'settings.notifyPackingTagged': 'Danh sách đóng gói: phân công',
'settings.notifyWebhook': 'Thông báo webhook',
'settings.notifyVersionAvailable': 'Đã có phiên bản mới',
'settings.notificationPreferences.email': 'Email',
'settings.notificationPreferences.webhook': 'Webhook',
'settings.notificationPreferences.inapp': 'Trong ứng dụng',
'settings.notificationPreferences.notConfigured': 'Chưa được thiết lập — hãy cấu hình trong cài đặt của plugin',
'settings.plugins.actions': 'Hành động',
'settings.plugins.actions.confirm': 'Chạy hành động này?',
'settings.notificationPreferences.sendTest': 'Gửi thử',
'settings.notificationPreferences.configure': 'Cấu hình',
'settings.notificationPreferences.testSuccess': 'Đã gửi thông báo thử.',
'settings.notificationPreferences.testFailed': 'Thử nghiệm thất bại.',
'settings.notificationPreferences.pluginConfigured':
'Đã cấu hình. Quản lý thông tin đăng nhập ở trang cài đặt của plugin.',
'settings.notificationPreferences.ntfy': 'Ntfy',
'settings.notificationPreferences.noChannels':
'Không có kênh thông báo nào được cấu hình. Yêu cầu quản trị viên thiết lập thông báo qua email hoặc webhook.',
'settings.webhookUrl.label': 'Webhook URL',
'settings.webhookUrl.placeholder': 'https://discord.com/api/webhooks/...',
'settings.webhookUrl.hint': 'Nhập Discord, Slack hoặc webhook tùy chỉnh URL của bạn để nhận thông báo.',
'settings.webhookUrl.saved': 'Đã lưu Webhook URL',
'settings.webhookUrl.test': 'Bài kiểm tra',
'settings.webhookUrl.testSuccess': 'Kiểm tra webhook đã được gửi thành công',
'settings.webhookUrl.testFailed': 'Kiểm tra webhook không thành công',
'settings.ntfyUrl.topicLabel': 'Ntfy Chủ đề',
'settings.ntfyUrl.topicPlaceholder': 'cảnh báo chuyến đi của tôi',
'settings.ntfyUrl.serverLabel': 'Ntfy Máy chủ URL (tùy chọn)',
'settings.ntfyUrl.serverPlaceholder': 'https://ntfy.sh',
'settings.ntfyUrl.hint':
'Nhập chủ đề ntfy của bạn để nhận thông báo đẩy. Để trống máy chủ để sử dụng cài đặt mặc định do quản trị viên của bạn định cấu hình.',
'settings.ntfyUrl.tokenLabel': 'Mã thông báo truy cập (tùy chọn)',
'settings.ntfyUrl.tokenHint': 'Cần thiết cho các chủ đề được bảo vệ bằng mật khẩu.',
'settings.ntfyUrl.saved': 'Ntfy đã lưu cài đặt',
'settings.ntfyUrl.test': 'Bài kiểm tra',
'settings.ntfyUrl.testSuccess': 'Kiểm tra thông báo ntfy đã được gửi thành công',
'settings.ntfyUrl.testFailed': 'Kiểm tra thông báo ntfy không thành công',
'settings.ntfyUrl.tokenCleared': 'Đã xóa mã thông báo truy cập',
'settings.notificationsDisabled':
'Thông báo không được cấu hình. Yêu cầu quản trị viên bật thông báo qua email hoặc webhook.',
'settings.notificationsActive': 'Kênh hoạt động',
'settings.notificationsManagedByAdmin': 'Các sự kiện thông báo được quản trị viên của bạn định cấu hình.',
'settings.on': 'Bật',
'settings.off': 'Tắt',
'settings.mcp.title': 'MCP Cấu hình',
'settings.mcp.endpoint': 'MCP Điểm cuối',
'settings.mcp.clientConfig': 'Cấu hình máy khách',
'settings.mcp.clientConfigHint':
'Thay thế <your_token> bằng mã thông báo API từ danh sách bên dưới. Đường dẫn đến npx có thể cần được điều chỉnh cho hệ thống của bạn (ví dụ: C:\\PROGRA~1\\nodejs\\npx.cmd trên Windows).',
'settings.mcp.clientConfigHintOAuth':
'Thay thế <your_client_id> và <your_client_secret> bằng thông tin xác thực được hiển thị trong ứng dụng khách OAuth 2.1 mà bạn đã tạo ở trên. mcp-remote sẽ mở trình duyệt của bạn để hoàn tất việc ủy ​​quyền vào lần đầu tiên bạn kết nối. Đường dẫn đến npx có thể cần được điều chỉnh cho hệ thống của bạn (ví dụ: C:PROGRA~1\nodejs\npx.cmd trên Windows).',
'settings.mcp.copy': 'Sao chép',
'settings.mcp.copied': 'Đã sao chép!',
'settings.mcp.apiTokens': 'API Mã thông báo',
'settings.mcp.createToken': 'Tạo mã thông báo mới',
'settings.mcp.noTokens': 'Chưa có token nào. Tạo một cái để kết nối các máy khách MCP.',
'settings.mcp.tokenCreatedAt': 'Tạo',
'settings.mcp.tokenUsedAt': 'Đã sử dụng',
'settings.mcp.deleteTokenTitle': 'Xóa mã thông báo',
'settings.mcp.deleteTokenMessage':
'Mã thông báo này sẽ ngừng hoạt động ngay lập tức. Bất kỳ khách hàng MCP nào sử dụng nó sẽ mất quyền truy cập.',
'settings.mcp.modal.createTitle': 'Tạo mã thông báo API',
'settings.mcp.modal.tokenName': 'Tên mã thông báo',
'settings.mcp.modal.tokenNamePlaceholder': 'ví dụ. Máy tính để bàn Claude, Máy tính xách tay làm việc',
'settings.mcp.modal.creating': 'Đang tạo…',
'settings.mcp.modal.create': 'Tạo mã thông báo',
'settings.mcp.modal.createdTitle': 'Đã tạo mã thông báo',
'settings.mcp.modal.createdWarning':
'Mã thông báo này sẽ chỉ được hiển thị một lần. Sao chép và lưu trữ ngay bây giờ - không thể phục hồi được.',
'settings.mcp.modal.done': 'Xong',
'settings.mcp.toast.created': 'Đã tạo mã thông báo',
'settings.mcp.toast.createError': 'Không tạo được mã thông báo',
'settings.mcp.toast.deleted': 'Đã xóa mã thông báo',
'settings.mcp.toast.deleteError': 'Không xóa được mã thông báo',
'settings.mcp.apiTokensDeprecated':
'API Mã thông báo không được dùng nữa và sẽ bị xóa trong bản phát hành trong tương lai. Thay vào đó, vui lòng sử dụng Khách hàng OAuth 2.1.',
'settings.oauth.clients': 'OAuth 2.1 Khách hàng',
'settings.oauth.clientsHint':
'Đăng ký ứng dụng khách OAuth 2.1 để cho phép các ứng dụng MCP của bên thứ ba (Claude Web, Cursor, v.v.) kết nối mà không cần mã thông báo tĩnh.',
'settings.oauth.createClient': 'Khách hàng mới',
'settings.oauth.noClients': 'Không có khách hàng OAuth nào được đăng ký.',
'settings.oauth.clientId': 'Khách hàng ID',
'settings.oauth.clientSecret': 'Bí mật khách hàng',
'settings.oauth.deleteClient': 'Xóa khách hàng',
'settings.oauth.deleteClientMessage':
'Ứng dụng khách này và tất cả các phiên hoạt động sẽ bị xóa vĩnh viễn. Bất kỳ ứng dụng nào sử dụng nó sẽ mất quyền truy cập ngay lập tức.',
'settings.oauth.rotateSecret': 'Xoay bí mật',
'settings.oauth.rotateSecretMessage':
'Một bí mật khách hàng mới sẽ được tạo và tất cả các phiên hiện có sẽ bị vô hiệu ngay lập tức. Cập nhật ứng dụng của bạn trước khi đóng hộp thoại này.',
'settings.oauth.rotateSecretConfirm': 'Quay',
'settings.oauth.rotateSecretConfirming': 'Đang quay…',
'settings.oauth.rotateSecretDoneTitle': 'Bí mật mới được tạo',
'settings.oauth.rotateSecretDoneWarning':
'Bí mật này chỉ được hiển thị một lần. Sao chép nó ngay bây giờ và cập nhật ứng dụng của bạn - tất cả các phiên trước đó đã bị vô hiệu.',
'settings.oauth.activeSessions': 'Phiên hoạt động OAuth',
'settings.oauth.sessionScopes': 'Phạm vi',
'settings.oauth.sessionExpires': 'Hết hạn',
'settings.oauth.revoke': 'Thu hồi',
'settings.oauth.revokeSession': 'Thu hồi phiên',
'settings.oauth.revokeSessionMessage': 'Thao tác này sẽ ngay lập tức thu hồi quyền truy cập đối với phiên OAuth này.',
'settings.oauth.modal.createTitle': 'Đăng ký khách hàng OAuth',
'settings.oauth.modal.presets': 'Cài đặt trước nhanh',
'settings.oauth.modal.clientName': 'Tên ứng dụng',
'settings.oauth.modal.clientNamePlaceholder': 'ví dụ. Claude Web, Ứng dụng MCP của tôi',
'settings.oauth.modal.redirectUris': 'URI chuyển hướng',
'settings.oauth.modal.redirectUrisPlaceholder': 'https://your-app.com/callback\nhttps://your-app.com/auth',
'settings.oauth.modal.redirectUrisHint':
'Một URI trên mỗi dòng. Yêu cầu HTTPS (miễn trừ localhost). Đối sánh chính xác được thực thi.',
'settings.oauth.modal.scopes': 'Phạm vi được phép',
'settings.oauth.modal.scopesHint':
'list_trips và get_trip_summary luôn có sẵn — không yêu cầu phạm vi. Họ cho phép AI khám phá ID chuyến đi cần thiết để sử dụng bất kỳ công cụ nào khác.',
'settings.oauth.modal.selectAll': 'Chọn tất cả',
'settings.oauth.modal.deselectAll': 'Bỏ chọn tất cả',
'settings.oauth.modal.creating': 'Đang đăng ký…',
'settings.oauth.modal.create': 'Đăng ký khách hàng',
'settings.oauth.modal.createdTitle': 'Khách hàng đã đăng ký',
'settings.oauth.modal.createdWarning':
'Bí mật của khách hàng chỉ được hiển thị một lần. Sao chép nó ngay bây giờ - nó không thể phục hồi được.',
'settings.oauth.toast.createError': 'Không thể đăng ký ứng dụng khách OAuth',
'settings.oauth.toast.deleted': 'OAuth khách hàng đã bị xóa',
'settings.oauth.toast.deleteError': 'Không xóa được ứng dụng khách OAuth',
'settings.oauth.toast.revoked': 'Phiên bị thu hồi',
'settings.oauth.toast.revokeError': 'Không thể thu hồi phiên',
'settings.oauth.toast.rotateError': 'Không thể xoay bí mật của khách hàng',
'settings.oauth.modal.machineClient': 'Máy khách (không đăng nhập trình duyệt)',
'settings.oauth.modal.machineClientHint':
'Sử dụng cấp client_credentials — không cần URI chuyển hướng. Mã thông báo được phát hành trực tiếp qua client_id + client_secret và hoạt động với tư cách là bạn trong phạm vi đã chọn.',
'settings.oauth.modal.machineClientUsage':
'Nhận mã thông báo: POST /oauth/token với Grant_type=client_credentials, client_id và client_secret. Không có trình duyệt, không có mã thông báo làm mới.',
'settings.oauth.badge.machine': 'máy móc',
'settings.account': 'Tài khoản',
'settings.about': 'Về',
'settings.about.reportBug': 'Báo cáo lỗi',
'settings.about.reportBugHint': 'Tìm thấy một vấn đề? Hãy cho chúng tôi biết',
'settings.about.featureRequest': 'Yêu cầu tính năng',
'settings.about.featureRequestHint': 'Đề xuất tính năng mới',
'settings.about.wikiHint': 'Tài liệu & hướng dẫn',
'settings.about.supporters.badge': 'Người ủng hộ hàng tháng',
'settings.about.supporters.title': 'Bạn đồng hành cho TREK',
'settings.about.supporters.subtitle':
'Trong khi bạn đang lên kế hoạch cho lộ trình tiếp theo của mình, những người này đang giúp lập kế hoạch cho tương lai của TREK. Đóng góp hàng tháng của họ được đổ thẳng vào hoạt động phát triển và số giờ thực tế được sử dụng — vì vậy TREK vẫn là Nguồn mở.',
'settings.about.supporters.since': 'ủng hộ kể từ {date}',
'settings.about.supporters.tierEmpty': 'Hãy là người đầu tiên',
'settings.about.supporter.tier.noReturnTicket': 'Không có vé khứ hồi',
'settings.about.supporter.tier.lostLuggageVip': 'Hành Lý Thất Lạc VIP',
'settings.about.supporter.tier.businessClassDreamer': 'Người mơ mộng hạng thương gia',
'settings.about.supporter.tier.budgetTraveller': 'Khách du lịch tiết kiệm',
'settings.about.supporter.tier.hostelBunkmate': 'Nhà nghỉ bạn cùng phòng',
'settings.about.description':
'TREK là công cụ lập kế hoạch du lịch tự lưu trữ giúp bạn tổ chức các chuyến đi của mình từ ý tưởng đầu tiên đến kỷ niệm cuối cùng. Lập kế hoạch trong ngày, ngân sách, danh sách đóng gói, ảnh và nhiều nội dung khác — tất cả đều ở cùng một nơi, trên máy chủ của riêng bạn.',
'settings.about.madeWith': 'Được làm bằng',
'settings.about.madeBy': 'của Maurice và cộng đồng nguồn mở đang phát triển.',
'settings.username': 'Tên người dùng',
'settings.email': 'Email',
'settings.role': 'Vai trò',
'settings.roleAdmin': 'Quản trị viên',
'settings.oidcLinked': 'Liên kết với',
'settings.changePassword': 'Thay đổi mật khẩu',
'settings.currentPassword': 'Mật khẩu hiện tại',
'settings.currentPasswordRequired': 'Mật khẩu hiện tại là bắt buộc',
'settings.newPassword': 'Mật khẩu mới',
'settings.confirmPassword': 'Xác nhận mật khẩu mới',
'settings.updatePassword': 'Cập nhật mật khẩu',
'settings.passwordRequired': 'Vui lòng nhập mật khẩu hiện tại và mật khẩu mới',
'settings.passwordTooShort': 'Mật khẩu phải có ít nhất 8 ký tự',
'settings.passwordMismatch': 'Mật khẩu không khớp',
'settings.passwordWeak': 'Mật khẩu phải có chữ hoa, chữ thường, số và ký tự đặc biệt',
'settings.passwordChanged': 'Đã thay đổi mật khẩu thành công',
'settings.mustChangePassword':
'Bạn phải thay đổi mật khẩu trước khi có thể tiếp tục. Vui lòng đặt mật khẩu mới bên dưới.',
'settings.deleteAccount': 'Xóa tài khoản',
'settings.deleteAccountTitle': 'Xóa tài khoản của bạn?',
'settings.deleteAccountWarning':
'Tài khoản của bạn và tất cả các chuyến đi, địa điểm và tệp của bạn sẽ bị xóa vĩnh viễn. Không thể hoàn tác hành động này.',
'settings.deleteAccountConfirm': 'Xóa vĩnh viễn',
'settings.deleteBlockedTitle': 'Không thể xóa',
'settings.deleteBlockedMessage':
'Bạn là quản trị viên duy nhất. Thăng cấp người dùng khác lên quản trị viên trước khi xóa tài khoản của bạn.',
'settings.roleUser': 'người dùng',
'settings.saveProfile': 'Lưu hồ sơ',
'settings.toast.mapSaved': 'Đã lưu cài đặt bản đồ',
'settings.toast.keysSaved': 'Đã lưu khóa API',
'settings.toast.displaySaved': 'Đã lưu cài đặt hiển thị',
'settings.toast.profileSaved': 'Đã lưu hồ sơ',
'settings.uploadAvatar': 'Tải ảnh hồ sơ lên',
'settings.removeAvatar': 'Xóa ảnh hồ sơ',
'settings.avatarUploaded': 'Đã cập nhật ảnh hồ sơ',
'settings.avatarRemoved': 'Đã xóa ảnh hồ sơ',
'settings.avatarError': 'Tải lên không thành công',
'settings.avatarRemoveError': 'Xóa không thành công',
'settings.mfa.title': 'Xác thực hai yếu tố (2FA)',
'settings.mfa.description':
'Thêm bước thứ hai khi bạn đăng nhập bằng email và mật khẩu. Sử dụng ứng dụng xác thực (Google Authenticator, Authy, v.v.).',
'settings.mfa.requiredByPolicy':
'Quản trị viên của bạn yêu cầu xác thực hai yếu tố. Thiết lập ứng dụng xác thực bên dưới trước khi tiếp tục.',
'settings.mfa.backupTitle': 'Mã dự phòng',
'settings.mfa.backupDescription':
'Sử dụng các mã dự phòng một lần này nếu bạn mất quyền truy cập vào ứng dụng xác thực của mình.',
'settings.mfa.backupWarning': 'Hãy lưu lại những mã này ngay bây giờ. Mỗi mã chỉ có thể được sử dụng một lần.',
'settings.mfa.backupCopy': 'Sao chép mã',
'settings.mfa.backupDownload': 'Tải xuống TXT',
'settings.mfa.backupPrint': 'In / PDF',
'settings.mfa.backupCopied': 'Đã sao chép mã dự phòng',
'settings.mfa.enabled': '2FA được bật trên tài khoản của bạn.',
'settings.mfa.disabled': '2FA chưa được bật.',
'settings.mfa.setup': 'Thiết lập trình xác thực',
'settings.mfa.scanQr': 'Quét mã QR này bằng ứng dụng của bạn hoặc nhập bí mật theo cách thủ công.',
'settings.mfa.secretLabel': 'Khóa bí mật (nhập thủ công)',
'settings.mfa.codePlaceholder': 'mã 6 chữ số',
'settings.mfa.enable': 'Kích hoạt 2FA',
'settings.mfa.cancelSetup': 'Hủy',
'settings.mfa.disableTitle': 'Tắt 2FA',
'settings.mfa.disableHint': 'Nhập mật khẩu tài khoản của bạn và mã hiện tại từ trình xác thực của bạn.',
'settings.mfa.disable': 'Tắt 2FA',
'settings.mfa.toastEnabled': 'Đã bật xác thực hai yếu tố',
'settings.mfa.toastDisabled': 'Xác thực hai yếu tố bị vô hiệu hóa',
'settings.mfa.demoBlocked': 'Không có sẵn ở chế độ demo',
'settings.currency': 'Tiền tệ hiển thị',
'settings.currencyHint':
'Số tiền trong Chi phí chỉ được quy đổi sang loại tiền tệ này để hiển thị — số tiền gốc không thay đổi.',
'settings.currencyTrip': 'Tiền tệ của chuyến đi',
'settings.passkey.title': 'Mật mã',
'settings.passkey.description':
'Đăng nhập nhanh hơn và chống lừa đảo bằng mật mã — vân tay, khuôn mặt, PIN hoặc khóa phần cứng của bạn. Mật khẩu của bạn vẫn là bản sao lưu.',
'settings.passkey.notConfigured':
'Mật mã đã được bật nhưng chưa được định cấu hình đầy đủ trên máy chủ này. Hãy yêu cầu quản trị viên của bạn đặt miền WebAuthn.',
'settings.passkey.add': 'Thêm mật mã',
'settings.passkey.addTitle': 'Thêm mật mã',
'settings.passkey.passwordPrompt':
'Xác nhận mật khẩu hiện tại của bạn, sau đó làm theo lời nhắc trên thiết bị của bạn.',
'settings.passkey.passwordRequired': 'Mật khẩu hiện tại của bạn là bắt buộc.',
'settings.passkey.namePlaceholder': 'Tên (tùy chọn, ví dụ: "iPhone")',
'settings.passkey.addedToast': 'Đã thêm mật mã',
'settings.passkey.added': 'Đã thêm',
'settings.passkey.addError': 'Không thể thêm mật mã',
'settings.passkey.cancelled': 'Đã hủy thiết lập mật khẩu',
'settings.passkey.deleted': 'Đã xóa mật khẩu',
'settings.passkey.deleteConfirm': 'Xóa mật mã này? Xác nhận bằng mật khẩu của bạn.',
'settings.passkey.rename': 'Đổi tên',
'settings.passkey.defaultName': 'Mật mã',
'settings.passkey.synced': 'Đã đồng bộ hóa',
'settings.passkey.deviceBound': 'Thiết bị này',
'settings.passkey.lastUsed': 'Lần sử dụng cuối cùng',
'settings.passkey.neverUsed': 'Chưa bao giờ sử dụng',
'settings.airtrail.title': 'AirTrail',
'settings.airtrail.hint':
'Kết nối AirTrail tự lưu trữ của bạn để nhập và đồng bộ hóa các chuyến bay. Tạo khóa API trong AirTrail trong Cài đặt → Bảo mật.',
'settings.airtrail.url': 'Ví dụ URL',
'settings.airtrail.apiKey': 'API Key',
'settings.airtrail.apiKeyPlaceholder': 'Bearer API Key',
'settings.airtrail.apiKeyHint': 'Được tạo trong AirTrail trong Cài đặt → Bảo mật. Được lưu trữ được mã hóa.',
'settings.airtrail.allowInsecureTls': 'Cho phép chứng chỉ tự ký',
'settings.airtrail.allowInsecureTlsHint': 'Chỉ kích hoạt cho một phiên bản đáng tin cậy trên mạng của riêng bạn.',
'settings.airtrail.writeBack': 'Viết các thay đổi trở lại AirTrail',
'settings.airtrail.writeBackHint':
'Tắt theo mặc định: AirTrail là nguồn sự thật và TREK chỉ đọc từ đó. Bật để đẩy các chỉnh sửa được thực hiện trong TREK trở lại AirTrail.',
'settings.airtrail.connected': 'Đã kết nối',
'settings.airtrail.notConnected': 'Không được kết nối',
'settings.airtrail.toast.saved': 'AirTrail đã lưu kết nối',
'settings.airtrail.toast.saveError': 'Không thể lưu kết nối',
'settings.airtrail.test.button': 'Kiểm tra kết nối',
'settings.airtrail.test.success': 'Đã kết nối — đã tìm thấy {count} chuyến bay',
'settings.airtrail.test.failed': 'Kết nối không thành công',
'settings.aiParsing.title': 'Phân tích bằng AI',
'settings.aiParsing.hint':
'Chọn mô hình AI dùng để trích xuất đặt chỗ từ các tệp đã tải lên. Tùy chọn này chỉ áp dụng khi quản trị viên chưa cấu hình mô hình cho toàn bộ phiên bản.',
'settings.aiParsing.provider': 'Nhà cung cấp',
'settings.aiParsing.providerLocal': 'Cục bộ (Ollama)',
'settings.aiParsing.providerOpenai': 'OpenAI',
'settings.aiParsing.providerAnthropic': 'Anthropic',
'settings.aiParsing.localAdminOnly':
'Endpoint cục bộ (Ollama) được thiết lập một lần cho toàn bộ phiên bản trong phần cài đặt quản trị. Bạn vẫn có thể dùng khóa OpenAI hoặc Anthropic của riêng mình ở đây.',
'settings.aiParsing.model': 'Mô hình',
'settings.aiParsing.baseUrl': 'URL cơ sở',
'settings.aiParsing.baseUrlHint': 'Nơi mô hình chạy — máy chủ Ollama cục bộ hoặc endpoint tương thích với OpenAI.',
'settings.aiParsing.apiKey': 'Khóa API',
'settings.aiParsing.apiKeyHint': 'Được lưu trữ mã hóa. Để trống để giữ khóa hiện tại.',
'settings.aiParsing.multimodal': 'Gửi tài liệu dưới dạng hình ảnh',
'settings.aiParsing.multimodalHint':
'Dành cho các mô hình hỗ trợ thị giác — gửi PDF gốc thay vì văn bản đã trích xuất.',
'settings.aiParsing.toast.saved': 'Đã lưu cài đặt AI',
'settings.aiParsing.toast.saveError': 'Không thể lưu cài đặt AI',
'settings.tabs.appearance': 'Giao diện',
'settings.appearance.theme': 'Chủ đề',
'settings.appearance.scheme': 'Bảng màu',
'settings.appearance.scheme.default': 'Mặc định',
'settings.appearance.scheme.highContrast': 'Tương phản cao',
'settings.appearance.scheme.indigo': 'Chàm',
'settings.appearance.scheme.teal': 'Xanh ngọc',
'settings.appearance.scheme.rose': 'Hồng',
'settings.appearance.scheme.amber': 'Hổ phách',
'settings.appearance.scheme.violet': 'Tím',
'settings.appearance.scheme.custom': 'Tùy chỉnh',
'settings.appearance.customAccent': 'Màu nhấn tùy chỉnh',
'settings.appearance.contrastOk': 'Tương phản tốt',
'settings.appearance.contrastLow': 'Tương phản thấp',
'settings.appearance.readability': 'Khả năng đọc',
'settings.appearance.transparency': 'Độ trong suốt',
'settings.appearance.transparencyHint': 'Bề mặt trong mờ kiểu kính. Tắt để có nền đặc, tương phản cao hơn.',
'settings.appearance.reduceMotion': 'Giảm chuyển động',
'settings.appearance.reduceMotionHint': 'Giảm thiểu hoạt ảnh và hiệu ứng chuyển tiếp.',
'settings.appearance.density': 'Mật độ',
'settings.appearance.comfortable': 'Thoải mái',
'settings.appearance.compact': 'Gọn',
'settings.appearance.textSize': 'Cỡ chữ',
'settings.appearance.advancedTextSizes': 'Cỡ chữ nâng cao',
'settings.appearance.hideAdvanced': 'Ẩn nâng cao',
'settings.appearance.tier.title': 'Tiêu đề',
'settings.appearance.tier.subtitle': 'Phụ đề',
'settings.appearance.tier.body': 'Nội dung',
'settings.appearance.tier.caption': 'Chú thích',
'settings.appearance.dashboardWidgets': 'Tiện ích bảng điều khiển',
'settings.appearance.dashboardWidgetsHint':
'Hiện hoặc ẩn các tiện ích bảng điều khiển riêng cho máy tính và di động.',
'settings.appearance.desktop': 'Máy tính',
'settings.appearance.mobile': 'Di động',
'settings.appearance.widget.sidebar': 'Thanh bên phải',
'settings.appearance.widget.currency': 'Tiền tệ',
'settings.appearance.widget.collections': 'Bộ sưu tập',
'settings.appearance.widget.timezones': 'Múi giờ',
'settings.appearance.widget.upcomingReservations': 'Đặt chỗ sắp tới',
'settings.appearance.widget.atlas': 'Atlas / quốc gia',
'settings.appearance.widget.tripsTotal': 'Tổng số chuyến đi',
'settings.appearance.widget.daysTraveled': 'Số ngày đã đi',
'settings.appearance.widget.distanceFlown': 'Quãng đường bay',
'settings.appearance.reset': 'Đặt lại về mặc định',
'settings.appearance.group.belowHero': 'Dưới ảnh bìa',
'settings.appearance.group.bottomOfPage': 'Cuối trang',
'settings.appearance.sidebarHint': 'Toàn bộ cột bên phải. Tắt đi thì bảng điều khiển sẽ căn giữa.',
'settings.appearance.densityHint':
'Chế độ gọn thu hẹp khoảng cách và lề để bố cục dày đặc hơn, hiển thị được nhiều hơn trên màn hình.',
'settings.appearance.textSizeAll': 'Tất cả',
'settings.appearance.perSize': 'Điều chỉnh từng cỡ riêng biệt',
'settings.appearance.size.large': 'Lớn',
'settings.appearance.size.medium': 'Vừa',
'settings.appearance.size.normal': 'Bình thường',
'settings.appearance.size.small': 'Nhỏ',
'settings.appearance.preview.large': 'Tiêu đề lớn',
'settings.appearance.preview.medium': 'Phụ đề vừa',
'settings.appearance.preview.normal': 'Văn bản nội dung bình thường',
'settings.appearance.preview.small': 'Chú thích / địa chỉ nhỏ',
'settings.appearance.example.large': 'Tiêu đề, số lớn',
'settings.appearance.example.medium': 'Tiêu đề phụ',
'settings.appearance.example.normal': 'Tên địa điểm, mô tả',
'settings.appearance.example.small': 'Địa chỉ, nhãn',
'settings.appearance.experimental': 'Thử nghiệm',
'settings.appearance.mobileNav': 'Thanh điều hướng dưới',
'settings.appearance.mobileNav.hint':
'Chọn mục nào hiển thị trên thanh và mục nào nằm trong “Thêm”. Bảng điều khiển luôn đứng đầu.',
'settings.appearance.mobileNav.inBar': 'Trên thanh',
'settings.appearance.mobileNav.underMore': 'Trong “Thêm”',
'settings.appearance.mobileNav.moreEmpty': 'Chưa có gì ở đây — mọi mục đều vừa trên thanh.',
'settings.appearance.mobileNav.pinned': 'Đã ghim',
'settings.appearance.mobileNav.toMore': 'Chuyển vào “Thêm”',
'settings.appearance.mobileNav.toBar': 'Chuyển lên thanh',
'settings.appearance.dashOrder': 'Thứ tự bảng điều khiển',
'settings.appearance.dashOrder.hint':
'Sắp xếp lại cách danh sách chuyến đi và các tiện ích xếp chồng trên bảng điều khiển điện thoại. Chuyến đi nổi bật luôn ở trên cùng.',
'settings.appearance.dashOrder.trips': 'Chuyến đi',
'settings.appearance.dashOrder.hidden': 'Đã ẩn',
'settings.general.languageRegion': 'Ngôn ngữ & khu vực',
'settings.general.travelMap': 'Du lịch & bản đồ',
'settings.general.startup': 'Khởi động',
'settings.startPage': 'Trang khởi động',
'settings.startPageDashboard': 'Bảng điều khiển',
'settings.startPageActiveTrip': 'Chuyến đi đang diễn ra',
'settings.startPageHint':
'TREK mở thẳng chuyến đi đang diễn ra, nếu không thì chuyến gần nhất sắp tới. Đó cũng là chuyến mà bảng điều khiển làm nổi bật.',
'settings.startTripTab': 'Tab khởi động',
'settings.startTripTabHint':
'Tab mà chuyến đi mở ra. Nếu tab đó thuộc tiện ích đã tắt, chế độ xem kế hoạch sẽ mở thay thế.',
// ── Offline (#1135)
'settings.offline.cache.title': 'Bộ nhớ đệm ngoại tuyến',
'settings.offline.mode.title': 'Chế độ ngoại tuyến',
'settings.offline.mode.force': 'Bắt buộc chế độ ngoại tuyến',
'settings.offline.mode.forceHint':
'Chỉ làm việc với dữ liệu trong bộ nhớ đệm và đưa các thay đổi của bạn vào hàng đợi. Tắt để kết nối lại và đồng bộ hóa.',
'settings.offline.mode.active':
'Chế độ ngoại tuyến đang bật — các thay đổi của bạn đã được đưa vào hàng đợi và sẽ đồng bộ hóa khi bạn tắt nó.',
'settings.offline.prepare.title': 'Chuẩn bị cho ngoại tuyến',
'settings.offline.prepare.hint':
'Tải xuống mọi thứ bạn cần — dữ liệu chuyến đi, tài liệu và ô bản đồ — trước khi bạn mất kết nối.',
'settings.offline.prepare.button': 'Tải xuống để dùng ngoại tuyến',
'settings.offline.prepare.running': 'Đang tải xuống…',
'settings.offline.prepare.done': 'Sẵn sàng dùng ngoại tuyến',
'settings.offline.prepare.phase.trips': 'Dữ liệu chuyến đi',
'settings.offline.prepare.phase.files': 'Tài liệu',
'settings.offline.prepare.phase.tiles': 'Ô bản đồ',
'settings.offline.resync': 'Đồng bộ lại ngay',
'settings.offline.resyncing': 'Đang đồng bộ hóa…',
'settings.offline.storage.title': 'Lưu trữ gì khi ngoại tuyến',
'settings.offline.storage.tiles': 'Lưu ô bản đồ ngoại tuyến',
'settings.offline.storage.tilesHint':
'Ô bản đồ chiếm nhiều dung lượng lưu trữ nhất. Tắt tùy chọn này để chỉ giữ dữ liệu chuyến đi và tài liệu ở chế độ ngoại tuyến.',
'settings.offline.storage.tripsTitle': 'Chuyến đi',
'settings.offline.storage.tripOn': 'Đã lưu ngoại tuyến',
'settings.offline.storage.tripOff': 'Chưa lưu',
'settings.offline.clear': 'Xóa bộ nhớ đệm',
'settings.offline.clearConfirm':
'Xóa tất cả dữ liệu chuyến đi ngoại tuyến? Bạn có thể đồng bộ lại bất cứ lúc nào khi trực tuyến.',
'settings.offline.stats.trips': 'Chuyến đi trong bộ nhớ đệm',
'settings.offline.stats.pending': 'Thay đổi đang chờ',
'settings.offline.stats.failed': 'Thay đổi không thành công',
'settings.offline.stats.conflicts': 'Xung đột',
'settings.offline.empty': 'Chưa có chuyến đi nào trong bộ nhớ đệm. Kết nối internet để đồng bộ hóa.',
'settings.offline.loading': 'Đang tải…',
'settings.offline.conflicts.title': 'Xung đột đồng bộ hóa',
'settings.offline.conflicts.hint':
'Các thay đổi bạn thực hiện khi ngoại tuyến mâu thuẫn với các thay đổi mới hơn trên máy chủ. Chọn phiên bản nào để giữ lại.',
'settings.offline.conflicts.keepMine': 'Giữ của tôi',
'settings.offline.conflicts.keepServer': 'Giữ của máy chủ',
'settings.offline.conflicts.mine': 'Phiên bản của bạn',
'settings.offline.conflicts.server': 'Phiên bản của máy chủ',
'settings.offline.conflicts.item': 'Thay đổi đối với “{name}”',
'settings.offline.conflicts.strategyTitle': 'Khi xảy ra xung đột',
'settings.offline.conflicts.strategy.ask': 'Hỏi tôi mỗi lần',
'settings.offline.conflicts.strategy.mine': 'Luôn giữ phiên bản của tôi',
'settings.offline.conflicts.strategy.server': 'Luôn giữ phiên bản của máy chủ',
'settings.offline.banner.offline': 'Ngoại tuyến',
'settings.offline.banner.forced': 'Chế độ ngoại tuyến',
'settings.offline.banner.queued': 'Ngoại tuyến · {count} trong hàng đợi',
'settings.offline.banner.syncing': 'Đang đồng bộ hóa {count}…',
'settings.offline.banner.failed': 'Đồng bộ hóa không thành công: {count}',
'settings.offline.banner.conflicts': 'Xung đột: {count}',
'settings.pluginActivity.title': 'Hoạt động của plugin',
'settings.pluginActivity.description': 'Mọi hành động mà plugin đã thực hiện thay bạn, mới nhất trước.',
'settings.pluginActivity.empty': 'Chưa có hoạt động nào của plugin.',
'settings.pluginActivity.refresh': 'Làm mới',
'settings.pluginActivity.columns.plugin': 'Plugin',
'settings.pluginActivity.columns.action': 'Hành động',
'settings.pluginActivity.columns.resource': 'Tài nguyên',
'settings.pluginActivity.columns.when': 'Thời điểm',
'settings.pluginActivity.columns.status': 'Kết quả',
'settings.alwaysShowRoutes': 'Luôn hiển thị tuyến đường đặt chỗ',
'settings.alwaysShowRoutesHint':
'Tự động hiển thị trên bản đồ tuyến đường của mỗi chuyến bay, tàu hỏa và đặt chỗ khác, không cần bật riêng từng mục.',
};
export default settings;