mirror of
https://github.com/MHSanaei/3x-ui.git
synced 2026-05-26 15:13:29 +00:00
* feat(clients): add shadow tables for first-class client promotion
Introduces three new GORM-backed tables (clients, client_inbounds,
inbound_fallback_children) and a populate-only seeder that backfills
them from each inbound's existing settings.clients JSON. Duplicate
emails across inbounds auto-merge under one client row, with each
field conflict logged. Existing services are unchanged and continue
reading from settings.clients — this commit is groundwork only.
* feat(clients): make clients+client_inbounds the runtime source of truth
Adds ClientService.SyncInbound that reconciles the new tables from
each inbound's clients list whenever existing service paths mutate
settings.clients. Wires it into AddInbound, UpdateInbound,
AddInboundClient, UpdateInboundClient, DelInboundClient,
DelInboundClientByEmail, DelDepletedClients, autoRenewClients, and
the timestamp-backfill path in adjustTraffics, plus DetachInbound
on DelInbound.
GetXrayConfig now builds settings.clients from the new tables before
writing config.json, and getInboundsBySubId joins through them
instead of JSON_EACH on settings JSON. Live Xray config and
subscription endpoints are now driven by the relational view;
settings.clients JSON stays in step as a side effect of every write.
* feat(clients): add top-level Clients tab and CRUD API
Adds /panel/api/clients endpoints (list, get, add, update, del,
attach, detach) backed by ClientService methods that orchestrate
the per-inbound Add/Update/Del flows so a single client row is
created once and attached to many inbounds in one operation.
The frontend gains a dedicated Clients page (frontend/clients.html
+ src/pages/clients/) with an AntD table, multi-inbound attach
modal, and full CRUD. Axios interceptor learns to honour
Content-Type: application/json so the JSON endpoints work
alongside the legacy form-encoded ones.
The legacy per-inbound client modal stays untouched in this PR —
both flows now write to the same source of truth.
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
* feat(inbounds): add Port-with-Fallback inbound type
Adds a new "portfallback" protocol that emits as a VLESS-TLS inbound
under the hood but is paired with a sidecar table of child inbounds.
Panel auto-builds settings.fallbacks at Xray-config-gen time from the
sidecar — each child's listen+port becomes the fallback dest, with
SNI/ALPN/path/xver match criteria pulled from the row. No more typing
loopback ports by hand or keeping settings.fallbacks in sync.
Backend: new FallbackService (Get/SetChildren, BuildFallbacksJSON);
two new routes (GET/POST /panel/api/inbounds/:id/fallbackChildren);
xray.GetXrayConfig injects fallbacks for PortFallback inbounds; the
inbound model emits protocol="vless" so Xray accepts the config.
Frontend: PORTFALLBACK joins the protocol dropdown; selecting it
shows the standard VLESS controls plus a Fallback Children table
(inbound picker + per-row SNI/ALPN/path/xver). Children are loaded
on edit and replaced atomically on save.
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
* feat(clients): add Reset Traffic, QR Code, Info actions + Online/Remaining columns
The Clients page table gains:
- Online column — green/grey tag driven by /panel/api/inbounds/onlines,
polled every 10s.
- Remaining column — bytes-remaining tag, coloured green/orange/red
against quota, purple infinity when unlimited.
- Action icons per row: QR, Info, Reset traffic, Edit, Delete.
ClientInfoModal shows the full client detail (uuid/password/auth,
traffic ↑/↓ + remaining + all-time, expiry absolute + relative,
attached inbounds chip list, online + last-online).
ClientQrModal fetches links for the client's subId via
/panel/api/inbounds/getSubLinks/:subId and renders each one through
the existing QrPanel component.
Reset Traffic confirms then calls the existing per-inbound endpoint
on the client's first attached inbound (the traffic row is keyed on
email globally, so any attached inbound resets the shared counter).
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
* fix(clients): expose Attached inbounds in edit mode
The multi-select was gated on add-only, so editing a client had no way
to change which inbounds it belonged to. The picker now shows in both
modes, and on submit the modal diffs the picked set against the
original attachedIds — additions go through the /attach endpoint,
removals through /detach, both after the field update lands so the
new attachments get the latest values.
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
* fix(clients): unbreak template parsing + stale i18n keys
- InboundFormModal: split the multi-line help string in the
PortFallback section onto one line — Vue's template parser was
bailing on Unterminated string constant because a single-quoted
literal spanned two lines inside a {{ }} interpolation.
- ClientInfoModal: t('disable') was missing at the root level, so
vue-i18n returned the key path literally. Use t('disabled') which
exists.
- Linter cleanup elsewhere: pages.client.* references renamed to
pages.clients.* to match the merged i18n block; whitespace
normalisation in a few unrelated Vue templates.
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
* 1
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
* refactor(traffic): drop all-time traffic tracking
Removes the AllTime field from Inbound and ClientTraffic and migrates
existing DBs by dropping the all_time columns on startup. The counter
duplicated up+down without adding signal, and the per-event accumulator
ran on every traffic write.
Frontend: drop the All-time column from the inbound list and the
client-row table, the All-time row from the client info modal, and the
All-Time Total Usage tile from the inbounds summary card. The
allTimeTraffic/allTimeTrafficUsage i18n keys are removed across every
locale.
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
* feat(clients): mobile cards, multi-select, bulk add
Adds the same row-card layout the inbounds page uses on mobile: the
table is suppressed under the mobile breakpoint and each client renders
as a compact card with a status dot, email, Info button, Enable switch,
and overflow menu. All the per-client detail (traffic, remaining,
expiry, attached inbounds, flow, created/updated, URL, subscription)
opens through the existing info modal.
Multi-select with bulk delete wires AntD row-selection on desktop and
a per-card checkbox on mobile; a Delete (N) button appears in the
toolbar when anything is selected.
Bulk add reuses the five email-generation modes from the inbound bulk
modal but takes a multi-inbound picker so one bulk run can attach to
several inbounds at once. Submits client-by-client through the
existing /panel/api/clients/add endpoint.
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
* refactor(inbounds): remove legacy per-inbound client UI
Now that clients live as first-class rows attached to one or many
inbounds, the per-inbound client UI on the inbounds page is dead
weight — every client action either has a global equivalent on the
Clients page or makes no sense in a many-to-many world.
Deletes ClientFormModal, ClientBulkModal, CopyClientsModal, and
ClientRowTable from inbounds/. Strips the matching emits, refs,
handlers, and dropdown menu items from InboundList and InboundsPage,
and removes the dead mobile expand-chevron state and the desktop
expanded-row plumbing that drove the inline client table.
The InboundFormModal Clients tab still works in add-mode (one inline
client at inbound creation) — that flow goes through ClientService.
SyncInbound on save and remains useful.
Fixes a stray "</a-dropdown>" left over by an earlier toolbar edit
in ClientsPage that broke the template parser.
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
* feat(clients): add Delete depleted action
Mirrors the legacy delDepletedClients action that lived under the
inbounds page, but as a first-class /panel/api/clients/delDepleted
endpoint backed by ClientService. The new path goes through
ClientService.Delete for each depleted email, so the new clients +
client_inbounds + xray_client_traffic tables stay consistent.
Adds a danger-styled toolbar button on the Clients page (next to
Reset all client traffic) with a confirm dialog and a toast
reporting the deleted count.
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
* refactor(api): move every client-shaped endpoint off /inbounds onto /clients
After the multi-inbound client migration, client state belongs to the
client API surface, not the inbound one. Twelve routes that were
crammed under /panel/api/inbounds/* now live where they belong, under
/panel/api/clients/*.
Moved (route, handler, doc):
POST /clientIps/:email
POST /clearClientIps/:email
POST /onlines
POST /lastOnline
POST /updateClientTraffic/:email
POST /resetAllClientTraffics/:id
POST /delDepletedClients/:id
POST /:id/resetClientTraffic/:email
GET /getClientTraffics/:email
GET /getClientTrafficsById/:id
GET /getSubLinks/:subId
GET /getClientLinks/:id/:email
Their /clients/* counterparts are:
POST /clients/clientIps/:email
POST /clients/clearClientIps/:email
POST /clients/onlines
POST /clients/lastOnline
POST /clients/updateTraffic/:email
POST /clients/resetTraffic/:email (email-only, fans out)
GET /clients/traffic/:email
GET /clients/traffic/byId/:id
GET /clients/subLinks/:subId
GET /clients/links/:id/:email
per-inbound resetAllClientTraffics and delDepletedClients are dropped
entirely — the Clients page already exposes global Reset All Traffic
and Delete depleted actions, and per-inbound resets are meaningless
once a client can be attached to many inbounds.
ClientService.ResetTrafficByEmail is the new email-only reset path:
it looks up every inbound the client is attached to and pushes the
counter reset + Xray re-add through inboundService.ResetClientTraffic
for each one, so depleted users come back online instantly.
Frontend callers (ClientsPage, useClients, ClientQrModal,
ClientInfoModal, InboundInfoModal, InboundsPage, useInbounds) all
switched to the new paths. The Inbounds page drops its per-inbound
"Reset client traffic" and "Delete depleted clients" dropdown items —
users do those at the client level now. api-docs is rebuilt to match.
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
* refactor(service): switch tgbot + ldap callers to ClientService
Adds two thin helpers to ClientService (CreateOne, DetachByEmail) and
rewrites tgbot.SubmitAddClient and ldap_sync_job to call ClientService
directly. Removes the JSON-blob payloads (BuildJSONForProtocol output for
add, clientsToJSON/clientToJSON helpers) that callers previously fed to
InboundService.AddInboundClient/DelInboundClient.
ldap_sync_job.batchSetEnable now loops InboundService.SetClientEnableByEmail
per email instead of trying to coerce AddInboundClient into doing the
update — the old path would have failed duplicate-email validation for
existing clients anyway.
The legacy InboundService.AddInboundClient/UpdateInboundClient/
DelInboundClient methods stay in place; they are now only used internally
by ClientService Create/Update/Delete/Attach. Inlining + deleting them
follows in a separate commit.
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
* refactor(service): move all client mutation methods to ClientService
Moves the client mutation surface out of InboundService and into
ClientService. These methods all operate on a single client (identity
fields, traffic limits, expiry, ip limit, enable state, telegram tg id)
and didn't belong on the inbound aggregate.
Moved (12 methods): AddInboundClient, UpdateInboundClient, DelInboundClient,
DelInboundClientByEmail, checkEmailsExistForClients, SetClientTelegramUserID,
checkIsEnabledByEmail, ToggleClientEnableByEmail, SetClientEnableByEmail,
ResetClientIpLimitByEmail, ResetClientExpiryTimeByEmail,
ResetClientTrafficLimitByEmail.
Each method now takes an explicit *InboundService for the helpers that
legitimately stay on InboundService (GetInbound, GetClients, runtimeFor,
AddClientStat / UpdateClientStat / DelClientStat, DelClientIPs /
UpdateClientIPs, emailUsedByOtherInbounds, getAllEmailSubIDs,
GetClientInboundByEmail / GetClientInboundByTrafficID,
GetClientTrafficByEmail).
Stays on InboundService: ResetClientTrafficByEmail and
ResetClientTraffic(id, email) — these mutate xray_client_traffic rows,
not client identity, so they're inbound-side bookkeeping.
Callers updated: tgbot (6 calls), ldap_sync_job (1 call),
InboundService internal (writeBackClientSubID, CopyInboundClients,
AddInbound's email-uniqueness check), ClientService Create/Update/
Delete/Attach/Detach.
Also removes a dead resetAllClientTraffics controller handler whose
route was already gone after the previous /clients API migration.
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
* refactor(clients): finish migrating to ClientService + tidy IP routes
Two related cleanups in the new /clients surface:
1. Move ResetAllClientTraffics (bulk-reset of xray_client_traffic +
last_traffic_reset_time, with node-runtime propagation) from
InboundService to ClientService. PeriodicTrafficResetJob now holds
a clientService and calls
j.clientService.ResetAllClientTraffics(&j.inboundService, id).
The last client-mutation method on InboundService is gone.
2. Shorten redundantly-named routes/handlers under /panel/api/clients:
- /clientIps/:email -> /ips/:email (handler getIps)
- /clearClientIps/:email -> /clearIps/:email (handler clearIps)
The "client" prefix was redundant inside the clients namespace.
Frontend (InboundInfoModal) and api-docs updated to match.
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
* feat(inbounds,clients): clean up inbound modal + enrich client modal
Inbound modal rework (InboundFormModal.vue + inbound.js):
- Drop the embedded Client subform in the Protocol tab. Multi-inbound
clients are managed exclusively from the Clients page now; a fresh
inbound is created with zero clients (settings constructors default
to []) and the user attaches clients afterwards.
- Hide the Protocol tab entirely when it has nothing to render
(VMESS, Trojan without fallbacks, Hysteria). Auto-switches active
tab to Basic when the tab disappears while focused.
- Move the Security section (Security selector + TLS block with certs
and ECH + Reality block) out of the Stream tab into its own
Security tab, sharing the canEnableStream gate.
Client modal additions (ClientFormModal.vue + ClientBulkAddModal.vue):
- Flow select (xtls-rprx-vision / -udp443) appears only when the
panel actually has a Vision-capable inbound (VLESS or PortFallback
on TCP with TLS or Reality). Hidden otherwise, and cleared when
it disappears.
- IP Limit input is disabled when the panel-level ipLimitEnable
setting is off, fetched into useClients alongside subSettings and
threaded through ClientsPage to both modals.
- Edit modal now shows an "IP Log" section listing IPs that have
connected with the client's credentials, with refresh and clear
buttons (calls the renamed /panel/api/clients/ips and /clearIps
endpoints).
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
* refactor(inbounds): drop manual Fallbacks UI from inbound modal
The PortFallback protocol type now covers the common
VLESS-master-plus-children case with auto-wired dests, so the manual
Fallbacks editor (showFallbacks block in the Protocol tab) is mostly
redundant. Removed:
- the v-if="showFallbacks" template block (SNI/ALPN/Path/dest/PROXY rows)
- the showFallbacks computed
- the addFallback / delFallback helpers
- the .fallbacks-header / .fallbacks-title styles
- the showFallbacks gate from hasProtocolTabContent (so Trojan-over-TCP
no longer shows an empty Protocol tab)
Power users who need a non-inbound fallback dest (nginx, static site)
can still author settings.fallbacks via the Advanced JSON tab.
* feat(clients,inbounds): move search/filter to Clients page + small fixes
Search/filter relocation:
- Remove the search/filter toolbar (search switch + filter radio +
protocol/node selects + the visibleInbounds projection +
inboundsFilterState localStorage + filter CSS + the SearchOutlined/
FilterOutlined/ObjectUtil/Inbound imports it required) from
InboundList. The filters were all client-oriented buckets bolted
onto the inbound row.
- Add a search/filter toolbar to ClientsPage with the same shape:
switch between deep-text search and bucket filter (active /
deactive / depleted / expiring / online) + protocol filter that
matches clients attached to at least one inbound with the chosen
protocol. State persists in clientsFilterState localStorage.
filteredClients drives both the desktop table and the mobile card
list, and select-all / allSelected / someSelected only span the
visible subset.
- useClients now also fetches expireDiff and trafficDiff from
/panel/setting/defaultSettings (used to detect the expiring
bucket); ClientsPage threads them into the client-bucket helper.
Loose fixes folded in:
- Add Client: email field is auto-filled with a random handle on
open, matching uuid/subId/password/auth.
- Inbound clone: parse and reuse the source settings JSON (with
clients reset to []) instead of building a fresh defaulted
Settings, so VLESS Encryption/Decryption and other non-client
fields survive the clone.
- en-US.json: add the ipLog string used by the edit-client modal.
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
* feat(clients): add Reverse tag field for VLESS-attached clients
Mirrors the Flow field's pattern: a Reverse tag input appears in the
Add/Edit Client modal whenever at least one selected inbound is VLESS
or PortFallback. The value rides over the wire as
client.reverse = { tag: '...' } so it lands directly in model.Client's
*ClientReverse field; an empty value omits the reverse key entirely.
On edit the field is hydrated from props.client.reverse?.tag, and the
showReverseTag watcher clears the field if the user drops the last
VLESS-like inbound from the selection.
* fix(xray): emit only protocol-relevant fields per client entry
The Xray config synthesizer was writing every identifier field (id,
password, flow, auth, security/method, reverse) on every client entry
regardless of the inbound's protocol. Xray ignores unknown fields, so
the config worked, but it diverged from the spec and leaked secrets
across protocols when one client was attached to multiple inbounds —
a VLESS inbound's generated config carried the same client's Trojan
password and Hysteria auth alongside its uuid.
Switch on inbound.Protocol when building each entry:
- VLESS / PortFallback: id, flow, reverse
- VMess: id, security
- Trojan: password, flow
- Shadowsocks: password, method
- Hysteria / Hysteria2: auth
email is emitted for every protocol.
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
* fix(clients): restore auto-disable kick under new schema
disableInvalidClients still resolved (inbound_tag, email) pairs via
JSON_EACH(inbounds.settings.clients), which is empty after migrating
to the clients + client_inbounds tables. Result: xrayApi.RemoveUser
never ran for depleted clients, clients.enable stayed true so the UI
showed them as active, and only xray_client_traffic.enable got flipped
- making "Restart Xray After Auto Disable" only half-work.
Resolve the targets via a JOIN through the new schema, flip clients.enable
so the Clients page reflects the state, and drop the legacy JSON
write-back plus the subId cascade workaround (email is unique now).
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
* feat(clients): live WebSocket updates + Ended status surfacing
ClientsPage now subscribes to traffic / client_stats / invalidate
WebSocket events instead of polling /onlines every 10s. Per-row
traffic counters refresh in place, online state stays current, and
list-level mutations elsewhere trigger a refresh.
The client roll-up summary moves from InboundsPage to ClientsPage
where it belongs, restructured into six labeled stat tiles
(Total / Online / Ended / Expiring / Disabled / Active) with email
popovers on the ones with issues.
Auto-disabled clients (traffic exhausted or expiry passed) now
classify as 'depleted' even though clients.enable=false, so they
show up under the Ended filter and render a red Ended tag instead
of looking indistinguishable from an operator-disabled row.
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
* feat(nodes): per-node client roll-up and panel version
Added transient inboundCount / clientCount / onlineCount /
depletedCount fields to model.Node, populated by NodeService.GetAll
via aggregated queries (one join across inbounds + client_inbounds,
one over client_traffics intersected with the in-memory online
emails). The Nodes list renders these as colored chips on a new
"Clients" column so an operator can see at a glance how many users
each node carries and how many are currently online or depleted.
Also exposes the remote panel's version. The central panel adds
panelVersion to its /api/server/status payload (sourced from
config.GetVersion). Probe reads that field and persists it on the
node row, mirroring how xrayVersion already flows. NodesPage gets
a new column next to Xray Version, in both desktop and mobile
views, with English and Persian strings.
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
* fix(clients): stop node sync from resurrecting deleted clients
Several related issues around node-managed clients:
- Remote runtime: drop the per-inbound resetAllClientTraffics path
and point traffic/onlines/lastOnline fetches at the new
/panel/api/clients/* routes.
- Delete from master: always push the updated inbound to the node
even when the client was already disabled or depleted, so the
node actually loses the user instead of silently keeping it.
- setRemoteTraffic: mirror remote clients into the central tables
only on first discovery of a node inbound. Matched inbounds let
the master own the join table, so a stale snap can no longer
re-create a ClientRecord (and join row) for a client that was
just deleted on the master.
- ClientService.Delete: route through submitTrafficWrite so deletes
serialize with node traffic merges, and switch the final
ClientRecord delete to an explicit Where("id = ?") clause.
- setRemoteTraffic UNIQUE-constraint fix: use clause.OnConflict on
inserts and email-keyed UPDATEs for client_traffics, so mirroring
a snap doesn't trip the unique email index.
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
* refactor(clients): switch client API endpoints from id to email
All client-scoped routes now use the unique email as the path key
(get, update, del, attach, detach, links). Email is the stable,
protocol-independent identifier — UUIDs don't exist for trojan or
shadowsocks, and internal numeric ids leaked panel implementation
detail into the public API.
Removed the redundant /traffic/byId/:id endpoint (covered by
/traffic/:email) and collapsed /links/:id/:email into /links/:email,
which now returns links across every attached inbound for the client.
Frontend selection, bulk delete, and toggle state are now keyed by
email as well, dropping the id→email lookup workaround.
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
* refactor(server): move cached state and helpers into ServerService
ServerController had grown to hold its own status cache, version-list
TTL cache, history-bucket whitelist, and the loop that drove all three
— concerns that belong in the service layer. Pull them out:
- lastStatus + the @2s refresh become ServerService.RefreshStatus and
ServerService.LastStatus; the controller's cron now just orchestrates
the cross-service side effects (xrayMetrics sample, websocket broadcast).
- The 15-minute Xray-versions cache (with stale-on-error fallback) moves
into ServerService.GetXrayVersionsCached, collapsing the controller
handler to a single call.
- The freedom/blackhole outbound-tag walk used by /xraylogs becomes
ServerService.GetDefaultLogOutboundTags.
- The allowed-history-bucket whitelist moves to package-level
service.IsAllowedHistoryBucket, so both NodeController and
ServerController validate against the same list.
Net result: web/controller/server.go drops from 458 to 365 lines and
contains only HTTP wiring + presentation-y side effects.
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
* refactor(api): emit JSON-text columns as nested objects
Inbound, ClientRecord, and InboundClientIps store settings /
streamSettings / sniffing / reverse / ips as JSON-text in the DB. The
API was passing that text through verbatim, so every consumer had to
JSON.parse a string inside a string. Add MarshalJSON / UnmarshalJSON so
the wire format is a real nested object, while still accepting the
legacy escaped-string shape on write. Frontend dbinbound.js gets a
matching coerceInboundJsonField helper for the same dual-shape read
path, and inbound.js toJson stops emitting empty/placeholder fields
(externalProxy [], sniffing destOverride when disabled, etc.) so the
new normalised JSON stays terse. api-docs and the inbound-clone path
are updated to the new shape. Controller route lists are regrouped so
all GETs sit above POSTs.
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
* fix(clients): include inboundIds and traffic in /clients/list
ClientRecord got its own MarshalJSON in the previous commit, and
ClientWithAttachments embeds it to add inboundIds and traffic. Go
promotes the embedded MarshalJSON to the outer struct, so the encoder
was calling ClientRecord.MarshalJSON for the whole value and silently
dropping the extras. The frontend reads row.inboundIds / row.traffic
from /clients/list, so attached inbounds didn't render and newly added
clients looked like they hadn't saved. Add an explicit MarshalJSON on
ClientWithAttachments that splices the extras in.
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
* fix(clients): gate IP Log on ipLimitEnable + clean access-log dropdown
Legacy panel hid the IP Log section when access logging was off; the
Vue 3 migration left it gated on isEdit only, so the section showed
even when xray's access log was 'none' and nothing was being recorded.
Restore the ipLimitEnable gate on the edit modal's IP Log form-item.
While here, clean up the Xray Settings access-log dropdown: previously
two 'none' entries appeared (an empty value labelled with t('none') and
the literal 'none' from the options array). Drop the empty option for
access log (the literal 'none' covers it) and relabel the empty option
for error log / mask address to t('empty') so they're distinguishable.
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
* fix(nodes): route per-client ops through node clients API + orphan sweep
Adds Runtime methods AddClient, UpdateUser, and DeleteUser so master
mutates clients on a node via /panel/api/clients/{add,update,del} rather
than pushing the whole inbound. The previous rt.UpdateInbound path made
the node DelInbound+AddInbound on every single-client change, briefly
cycling every other user on the same inbound.
DelInbound no longer filters by enable=true, so a disabled node inbound
actually gets removed from the node instead of being resurrected by the
next snap.
setRemoteTrafficLocked now sweeps any ClientRecord with zero
ClientInbound rows after SyncInbound rebuilds the attachments, which is
how a node-side delete propagates back to master instead of leaving a
detached ghost. ClientService.Delete tombstones the email first so a
snap arriving mid-delete can't re-create the record.
WebSocket broadcasts an "invalidate(clients)" message on every client
mutation so the Clients page refreshes without manual reload.
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
* feat(balancers): allow fallback on all strategies + feed burstObservatory from random/roundRobin
Drops the random/roundRobin gate on the Fallback field in
BalancerFormModal so every strategy can pick a fallback outbound.
syncObservatories now feeds burstObservatory from leastLoad +
random + roundRobin balancers (was leastLoad only), matching how
leastPing feeds observatory.
Fix the JsonEditor "Unexpected end of JSON input" that appeared
when switching a balancer between leastPing and another strategy:
the obsView watcher was gated on showObsEditor (a boolean OR of
the two flags) and missed the case where one observatory
swapped for the other in the same tick. Watch the individual
flags instead so obsView flips to the surviving editor and the
getter stops pointing at a deleted key.
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
* fix(inbounds): use sortedInbounds for mobile empty-state check
InboundList referenced an undefined visibleInbounds in the mobile
card list's empty-state guard, throwing "Cannot read properties of
undefined (reading 'length')" and breaking the entire mobile render.
* feat(clients): sortable table columns
Adds the same sortState / sortableCol / sortFns pattern InboundList
uses, wrapping filteredClients in sortedClients so sort composes with
the existing search/filter pipeline. Sortable: enable, email,
inboundIds (attachment count), traffic, remaining, expiryTime;
actions and online stay unsorted.
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
* fix(shadowsocks): generate valid ss2022 keys and per-client method for legacy ciphers
The Add Client flow on shadowsocks inbounds was producing xray configs
that failed to start:
- 2022-blake3-* ciphers need a base64-encoded key of an exact byte
length per cipher. fillProtocolDefaults was assigning a uuid-style
string, which xray rejects as "bad key". Now the password is
generated (or replaced if invalid) via random.Base64Bytes(n) sized
to the chosen cipher.
- Legacy ciphers (aes-256-gcm, chacha20-*, xchacha20-*) require a
per-client method field in multi-user mode; model.Client has no
Method, so settings.clients was stored without one and xray failed
with "unsupported cipher method:". applyShadowsocksClientMethod
now injects the top-level method into each client on add/update,
and healShadowsocksClientMethods backfills it at xray-config-build
time so existing inbounds heal on the next start.
- xray/api.go ssCipherType switch was missing aes-256-gcm, which
fell through to ss2022 path.
- SSMethods dropdown now offers aes-256-gcm.
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
* fix(clients): preserve ClientRecord on inbound delete + filter Attached inbounds to multi-client protocols
Replace the global orphan sweep in setRemoteTrafficLocked with a
per-inbound diff cleanup: only delete a ClientRecord whose email
disappeared from a snap-tracked inbound (i.e. a node-side delete).
Inbounds that vanished entirely from the snap (e.g. admin deleted
the inbound on master) aren't iterated, so a client whose last
attachment came from that inbound is now left alone instead of
being deleted alongside the inbound.
ClientFormModal and ClientBulkAddModal now filter the Attached
inbounds dropdown to protocols that actually support multiple
clients: shadowsocks, vless, vmess, trojan, hysteria, hysteria2,
and portfallback (which routes through VLESS settings).
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
* fix(clients): make empty-state text readable on dark/ultra themes
The "No clients yet" empty state had a hardcoded black color
(rgba(0,0,0,0.45)) that vanished against the dark backgrounds.
Drop the inline color, let it inherit from the AntD theme, and
fade with opacity like the mobile card empty state already does.
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
* feat(clients): client-first tgbot add flow, tgId field, lightweight inbound options
- tgbot: drop legacy per-protocol Add Client UI in favour of a client-first
multi-inbound flow. New BuildClientDraftMessage / getInboundsAttachPicker
let an admin pick one or more inbounds and submit a single client; per-
protocol secrets are now generated server-side via fillProtocolDefaults.
Drops awaiting_id/awaiting_password_tr/awaiting_password_sh state cases
and add_client_ch_default_id/pass_tr/pass_sh/flow callbacks. Adds a
setTGUser button + awaiting_tg_id state so the bot can set Client.TgID
during Add.
- clients UI: add Telegram user ID input to ClientFormModal (0 = none).
Hide IP Limit field entirely when ipLimitEnable is off — disabled fields
still take layout space, this collapses Auth(Hysteria) to full width.
- inbounds API: new GET /panel/api/inbounds/options that returns just
{id, remark, protocol, port, tlsFlowCapable}. Used by the clients page
pickers so the dropdown payload stays small on panels with thousands of
clients (drops settings JSON, clientStats, streamSettings). Server-side
TlsFlowCapable mirrors Inbound.canEnableTlsFlow so the modal no longer
needs to parse streamSettings client-side.
- clientInfoMsg now shows attached inbound remarks, and getInboundUsages
reports the attached client count per inbound.
- api-docs: document the new /options endpoint and add tgId / flow to the
clients add/update bodies.
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
* fix(inbounds): keep Node column visible for node-attached inbounds
The Node column was bound to hasActiveNode, so disabling every node hid
the column even when inbounds were still attached to those nodes — the
admin lost the visual cue that those inbounds belonged to a node and
would come back when it was re-enabled. Combine hasActiveNode with a
new hasNodeAttachedInbound check (any dbInbound with nodeId != null) so
the column survives node-disable.
* fix(api-docs): accept functional-component icons in EndpointSection
AntD-Vue icons (SafetyCertificateOutlined, etc.) are functional
components, so the icon prop's type: Object validator was rejecting
them with a "Expected Object, got Function" warning at runtime.
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
* test: cover crypto, random, netsafe, sub helpers, xray equals, websocket hub, node service
Adds ~110 unit tests across previously untested packages. Focus on
pure-logic and concurrency surfaces where regressions would silently
affect users:
- util/crypto, util/random: password hashing round-trip, ss2022 key
generation, alphabet/length invariants.
- util/netsafe: IsBlockedIP edge cases, NormalizeHost validation,
SSRF guard with AllowPrivate context bypass.
- util/common, util/json_util: traffic formatter, Combine nil-skip,
RawMessage empty-as-null and copy-on-unmarshal.
- sub: splitLinkLines, searchKey/searchHost, kcp share fields,
finalmask normalization, buildVmessLink round-trip.
- xray: Config.Equals and InboundConfig.Equals field-by-field,
getRequiredUserString/getOptionalUserString type checks.
- web/websocket: hub registration, throttling, slow-client eviction,
nil-receiver safety, concurrent register/unregister.
- web/service: NodeService.normalize validation, normalizeBasePath,
HeartbeatPatch.ToUI mapping.
- web/job: atomicBool concurrent set/takeAndReset semantics.
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
* i18n(clients): replace English fallbacks with proper translation keys
Pulls every hard-coded English label/title in the Clients page and its
four modals through the i18n layer so localized panels stop leaking
English. New keys live under pages.clients (auth, hysteriaAuth, uuid,
flow, flowNone, reverseTag, reverseTagPlaceholder, telegramId,
telegramIdPlaceholder, created, updated, ipLimit) plus refresh at the
root and toasts.bulkDeletedMixed / bulkCreatedMixed for partial-failure
toasts. Also switches the add-client modal's primary button from "Add"
to "Create" for consistency with other create flows.
The bulk-add Random/Random+Prefix/... email-method options stay
hard-coded by request - they're identifier-shaped strings.
* i18n: backfill 99 missing keys across all 12 non-English locales
Brings every translation file up to parity with en-US.json so the
Clients page, the fallback-children inbound section, the new refresh
verb, the Nodes panel-version label and a handful of older holes stop
falling through to the English fallback. New strings span:
- pages.clients.* (labels, confirmations, toasts, emailMethods)
- pages.inbounds.portFallback.* (Reality fallback inbound section)
- pages.nodes.panelVersion, menu.clients, refresh
Technical identifiers (Auth, UUID, Flow, Reverse tag) are intentionally
left untranslated since they correspond to xray-core field names.
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
* i18n: drop stale pages.client block duplicated in every non-English locale
Every non-English locale carried a pages.client (singular) section with
30 entries that duplicated pages.clients (plural). The plural namespace
is what the Vue code actually consumes; the singular one was dead
weight from an older rename that never got cleaned up in the
non-English files. Removing it brings every locale to exactly 984
keys, matching en-US.json.
* chore: apply modernize analyzer fixes across codebase
Mechanical replacements suggested by golang.org/x/tools/.../modernize:
strings.Cut/CutPrefix/SplitSeq, slices.Contains, maps.Copy, min(),
range-over-int, new(expr), strings.Builder for hot += loops,
reflect.TypeFor[T](), sync.WaitGroup.Go(), drop legacy //+build lines.
* feat(database): add PostgreSQL as an optional backend alongside SQLite
Lets operators with large client counts or multi-node setups pick PostgreSQL
at install time without breaking the existing SQLite default. Backend is
selected at runtime via XUI_DB_TYPE/XUI_DB_DSN, a small dialect layer keeps
the five JSON_EXTRACT/JSON_EACH queries portable, and a new `x-ui migrate-db`
subcommand copies SQLite data into PostgreSQL in FK-aware order.
* fix(inbounds): gate node selector to multi-node-capable protocols
Hide the Deploy-To selector and clear nodeId when switching to a
protocol that can't run on a remote node. Also:
- subs: return 404 (not 400) when subId matches no inbounds, so VPN
clients distinguish "deleted/unknown" from a server error
- hysteria link gen: use the inbound's resolved address so node-managed
inbounds advertise the node host instead of the central panel
- shadowsocks: default network to 'tcp' (udp was causing issues for some
clients on first-create)
- vite dev proxy: rewrite migrated-route bypass against the live base
path instead of a hardcoded single-segment regex
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
* fix(clients): bulk add/delete correctness + perf, working pagination, delayed-start in form
Bulk add/delete were serial on the frontend (one toast per call, N round-trips)
and the backend race exposed by parallelizing them lost client attachments and
hit UNIQUE constraint failed on client_inbounds. The single add/edit modal also
had no Start-After-First-Use option, and the table never showed the delayed
duration.
Backend (web/service/client.go):
- Per-inbound mutex on Add/Update/Del InboundClient so concurrent writers on
the same inbound don't lose the read-modify-write of settings JSON.
- SyncInbound skips create+join when the email is tombstoned so a concurrent
maintenance pass (adjustTraffics, autoRenewClients, markClientsDisabledIn-
Settings) that did a stale RMW can't resurrect a just-deleted client with a
fresh id.
- compactOrphans sweeps settings.clients entries whose ClientRecord no longer
exists, applied in Add/DelInboundClient + DelInboundClientByEmail so each
user-initiated mutation self-heals the inbound's settings.
- DelInboundClient uses Pluck instead of First for the stats lookup so a
missing row doesn't abort the delete with a noisy ErrRecordNotFound log.
Frontend:
- HttpUtil.{get,post} accept a silent option that suppresses the auto-toast.
- ClientBulkAddModal fires creates in parallel + silent + one summary toast.
- useClients.removeMany runs deletes in parallel + silent and refreshes once;
ClientsPage bulk delete uses it and shows one aggregate toast.
- useClients.applyInvalidate debounces 200 ms so the burst of N WebSocket
invalidate events from the backend collapses into a single refresh.
- ClientsPage pagination is reactive (paginationState ref + tablePagination
computed); onTableChange persists page-size and page changes.
- ClientFormModal gains a Start-After-First-Use switch + Duration days input
alongside the existing Expiry Date picker; on edit-mode open a negative
expiryTime is decoded back to delayed mode + days; on submit the payload
sends -86400000 * days or the absolute timestamp.
- ClientsPage table shows the delayed-start duration (blue tag Nd, tooltip
Start After First Use: Nd) instead of infinity.
- Telegram ID field in the form is hidden when /panel/setting/defaultSettings
reports tgBotEnable=false; Comment then fills the row.
- Form row 3 collapses UUID (span 12) + Total GB (span 8) + Limit IP (span 4)
when ipLimitEnable is on, else UUID + Total GB at 12/12.
- useInbounds.rollupClients counts only clients with a matching clientStats
row, so orphans in settings.clients no longer inflate the inbound's count.
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
* fix(windows): clean shutdown, working panel restart, harden kernel32 load
Three Windows-specific issues addressed:
1. Orphaned xray-windows-amd64 after VS Code debugger stop. Delve's
"Stop" sends TerminateProcess to the Go binary, which is uncatchable
— our signal handlers never run, so xrayService.StopXray() is skipped
and xray is left dangling. Spawn xray as a child of a Job Object with
JOB_OBJECT_LIMIT_KILL_ON_JOB_CLOSE so the OS kills xray when our
handle to the job is closed (which happens even on TerminateProcess).
Also trap os.Interrupt in main so Ctrl+C in the terminal runs the
graceful path.
2. /panel/setting/restartPanel logged "failed to send SIGHUP signal: not
supported by windows" because Windows can't deliver arbitrary signals.
Add a restart hook in web/global; main registers it to push SIGHUP
into its own signal channel, and RestartPanel calls the hook before
falling back to the (Unix-only) signal path. Same restart-loop code
runs in both cases.
3. util/sys/sys_windows.go now uses windows.NewLazySystemDLL so the
kernel32.dll resolve is pinned to %SystemRoot%\System32 (prevents
DLL hijacking by a planted DLL next to the binary). Local filetime
type replaced with windows.Filetime, and the unreliable
syscall.GetLastError() fallback replaced with a type assertion on the
errno captured at call time.
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
* fix(sys): correct CPU/connection accounting on linux + darwin
util/sys/sys_linux.go:
- GetTCPCount/GetUDPCount were counting the column header row in
/proc/net/{tcp,udp}[6] as a connection, inflating the reported total
by 1 per non-empty file (so the panel status line always showed 2
more connections than actually existed). Replace getLinesNum +
safeGetLinesNum with a single bufio.Scanner-based countConnections
that skips the header.
- CPUPercentRaw now opens HostProc("stat") instead of a hardcoded
/proc/stat so HOST_PROC overrides apply, matching the connection
counters in the same file.
- Simplify CPU field unpacking: pad nums to 8 once instead of guarding
every assignment with a len check.
util/sys/sys_darwin.go:
- Fix swapped idle/intr indices on kern.cp_time. BSD CPUSTATES order
is user, nice, sys, intr, idle (CP_INTR=3, CP_IDLE=4) — gopsutil's
cpu_darwin_nocgo.go reads the same layout. The previous code used
out[3] as idle and out[4] as intr, so busy = total - dIdle was
actually subtracting interrupt time, making the panel report CPU
usage close to 100% on macOS regardless of actual load.
- Collapse the per-field delta math into a single loop.
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
* fix(xray): rotate crash reports into log folder, prevent overwrites
writeCrashReport had two flaws: it wrote to the bin folder (alongside the
xray binary) which conflates artifacts, and the second-precision timestamp
meant a tight restart-loop crash burst overwrote prior reports. Write to
the log folder with nanosecond precision and keep the last 10 reports.
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
* revert(inbounds): drop unreleased portfallback protocol
The Port-with-Fallback inbound (commit 62fd9f9d) was confusing as a
standalone protocol — fallbacks belong on a regular VLESS/Trojan TCP-TLS
inbound, the way Xray models them natively. Rip out the entire feature
cleanly (no migration needed since it was never released): protocol
constant, fallback children DB table, FallbackService, 2 API endpoints,
all UI rows, related translations and api-docs. A native fallback flow
attached to VLESS/Trojan TCP-TLS/Reality will land in a follow-up commit.
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
* feat(inbounds): native fallbacks on VLESS/Trojan TCP-TLS, with working child links
A VLESS or Trojan inbound on TCP with TLS or Reality can now act as a
fallback master: pick existing inbounds as children and the panel auto-
fills the SNI / ALPN / path / xver routing fields from each child's
transport, auto-builds settings.fallbacks at config-gen time, and
rewrites the child's client-share link so it advertises the master's
reachable endpoint and TLS state instead of the child's loopback listen.
Layout matches the Xray All-in-One Nginx example: master at :443 with
clients + TLS, each child on 127.0.0.1 with its own transport+clients.
Order matters (Xray walks fallbacks top-to-bottom) — reorder via the
per-row up/down arrows. Path / SNI / ALPN are exposed under a per-row
Edit toggle for the rare cases where the auto-derivation needs
overriding; otherwise just pick a child and you're done.
Backend: new InboundFallback table + FallbackService (GetByMaster /
SetByMaster / GetParentForChild / BuildFallbacksJSON); two routes
(GET / POST /panel/api/inbounds/:id/fallbacks); xray.GetXrayConfig
injects settings.fallbacks for any VLESS/Trojan TCP-TLS/Reality
inbound; GetInbounds annotates each child with FallbackParent so the
frontend can rewrite links without an extra round-trip.
Link projection covers every emission path — clients-page QR/links,
per-inbound Get URL, raw subscription, sub-JSON, sub-Clash, and the
inbounds-page link/info/QR — via a shared projectThroughFallbackMaster
on the backend and a shared projectChildThroughMaster on the frontend
that both handle the panel-tracked relationship and the legacy
unix-socket (@vless-ws) convention.
Strings translated into all 12 non-English locales.
* docs: rewrite CONTRIBUTING with full local-dev setup
The prior three-line CONTRIBUTING left newcomers guessing at every
non-trivial step: which Go / Node versions, where xray comes from, why
the panel goes blank when XUI_DEBUG=true is flipped on, how the Vue
multi-page setup is wired, what to do on Windows when go build trips
on the CGo SQLite driver.
Now covers prerequisites, MinGW-w64 install on Windows (niXman builds
or MSYS2), one-shot first-time setup, two frontend dev workflows with
the XUI_DEBUG asset-cache gotcha called out, the architecture and
conventions of the Vue side, a project-layout map, useful env vars,
and the PR checklist.
---------
1092 lines
77 KiB
JSON
1092 lines
77 KiB
JSON
{
|
||
"username": "Имя пользователя",
|
||
"password": "Пароль",
|
||
"login": "Войти",
|
||
"confirm": "Подтвердить",
|
||
"cancel": "Отмена",
|
||
"close": "Закрыть",
|
||
"save": "Сохранить",
|
||
"logout": "Выход",
|
||
"create": "Создать",
|
||
"update": "Обновить",
|
||
"copy": "Копировать",
|
||
"copied": "Скопировано",
|
||
"download": "Скачать",
|
||
"remark": "Примечание",
|
||
"enable": "Включить",
|
||
"protocol": "Протокол",
|
||
"search": "Поиск",
|
||
"filter": "Фильтр",
|
||
"loading": "Загрузка...",
|
||
"refresh": "Обновить",
|
||
"clear": "Очистить",
|
||
"second": "Секунда",
|
||
"minute": "Минута",
|
||
"hour": "Час",
|
||
"day": "День",
|
||
"check": "Проверить",
|
||
"indefinite": "Бесконечно",
|
||
"unlimited": "Безлимит",
|
||
"none": "Пусто",
|
||
"qrCode": "QR-код",
|
||
"info": "Информация",
|
||
"edit": "Изменить",
|
||
"delete": "Удалить",
|
||
"reset": "Сбросить",
|
||
"noData": "Нет данных.",
|
||
"copySuccess": "Скопировано",
|
||
"sure": "Да",
|
||
"encryption": "Шифрование",
|
||
"useIPv4ForHost": "Использовать IPv4 для подключения к хосту",
|
||
"transmission": "Транспорт",
|
||
"host": "Хост",
|
||
"path": "Путь",
|
||
"camouflage": "Маскировка",
|
||
"status": "Статус",
|
||
"enabled": "Включено",
|
||
"disabled": "Отключено",
|
||
"depleted": "Исчерпано",
|
||
"depletingSoon": "Почти исчерпано",
|
||
"offline": "Офлайн",
|
||
"online": "Онлайн",
|
||
"domainName": "Домен",
|
||
"monitor": "Мониторинг IP",
|
||
"certificate": "SSL-сертификат",
|
||
"fail": "Сбой",
|
||
"comment": "Комментарий",
|
||
"success": "Успешно",
|
||
"lastOnline": "Был(а) в сети",
|
||
"getVersion": "Узнать версию",
|
||
"install": "Установка",
|
||
"clients": "Клиенты",
|
||
"usage": "Использование",
|
||
"twoFactorCode": "Код 2FA",
|
||
"remained": "Остаток",
|
||
"security": "Безопасность",
|
||
"secAlertTitle": "Предупреждение системы безопасности",
|
||
"secAlertSsl": "Соединение не защищено. Не вводите конфиденциальные данные до установки SSL-сертификата.",
|
||
"secAlertConf": "Некоторые настройки уязвимы. Рекомендуется усилить защиту для предотвращения атак.",
|
||
"secAlertSSL": "Подключение к панели не защищено. Установите SSL-сертификат для защиты данных.",
|
||
"secAlertPanelPort": "Порт панели по умолчанию небезопасен. Установите нестандартный или случайный порт.",
|
||
"secAlertPanelURI": "Адрес панели по умолчанию небезопасен. Настройте уникальный и сложный URI.",
|
||
"secAlertSubURI": "URI подписки по умолчанию небезопасен. Настройте уникальный и сложный адрес.",
|
||
"secAlertSubJsonURI": "URI JSON-подписки по умолчанию небезопасен. Настройте уникальный и сложный адрес.",
|
||
"emptyDnsDesc": "Нет добавленных DNS-серверов.",
|
||
"emptyFakeDnsDesc": "Нет добавленных Fake DNS-серверов.",
|
||
"emptyBalancersDesc": "Нет добавленных балансировщиков.",
|
||
"emptyReverseDesc": "Нет добавленных реверс-прокси.",
|
||
"somethingWentWrong": "Что-то пошло не так",
|
||
"subscription": {
|
||
"title": "Информация о подписке",
|
||
"subId": "ID подписки",
|
||
"status": "Статус",
|
||
"downloaded": "Загружено",
|
||
"uploaded": "Отправлено",
|
||
"expiry": "Срок действия",
|
||
"totalQuota": "Общий лимит",
|
||
"individualLinks": "Индивидуальные ссылки",
|
||
"active": "Активна",
|
||
"inactive": "Неактивна",
|
||
"unlimited": "Неограниченно",
|
||
"noExpiry": "Бессрочно"
|
||
},
|
||
"menu": {
|
||
"theme": "Тема",
|
||
"dark": "Темная",
|
||
"ultraDark": "Очень темная",
|
||
"dashboard": "Дашборд",
|
||
"inbounds": "Подключения",
|
||
"clients": "Клиенты",
|
||
"nodes": "Узлы",
|
||
"settings": "Настройки",
|
||
"xray": "Настройки Xray",
|
||
"apiDocs": "Документация API",
|
||
"logout": "Выход",
|
||
"link": "Управление"
|
||
},
|
||
"pages": {
|
||
"login": {
|
||
"hello": "Привет!",
|
||
"title": "Добро пожаловать!",
|
||
"loginAgain": "Сессия истекла. Войдите в систему снова",
|
||
"toasts": {
|
||
"invalidFormData": "Недопустимый формат данных",
|
||
"emptyUsername": "Введите имя пользователя",
|
||
"emptyPassword": "Введите пароль",
|
||
"wrongUsernameOrPassword": "Неверные данные учетной записи.",
|
||
"successLogin": "Вход выполнен успешно"
|
||
}
|
||
},
|
||
"index": {
|
||
"title": "Дашборд",
|
||
"cpu": "ЦП",
|
||
"logicalProcessors": "Логические процессоры",
|
||
"frequency": "Частота",
|
||
"swap": "Файл подкачки",
|
||
"storage": "Диск",
|
||
"memory": "ОЗУ",
|
||
"threads": "Потоки",
|
||
"xrayStatus": "Xray",
|
||
"stopXray": "Остановить",
|
||
"restartXray": "Перезапустить",
|
||
"xraySwitch": "Выбор версии",
|
||
"xrayUpdates": "Обновления Xray",
|
||
"xraySwitchClick": "Выберите нужную версию",
|
||
"xraySwitchClickDesk": "Важно: старые версии могут не поддерживать текущие настройки",
|
||
"updatePanel": "Обновить панель",
|
||
"panelUpdateDesc": "Это обновит 3X-UI до последнего релиза и перезапустит сервис панели.",
|
||
"currentPanelVersion": "Текущая версия панели",
|
||
"latestPanelVersion": "Последняя версия панели",
|
||
"panelUpToDate": "Панель обновлена",
|
||
"upToDate": "Обновлено",
|
||
"xrayStatusUnknown": "Неизвестно",
|
||
"xrayStatusRunning": "Запущен",
|
||
"xrayStatusStop": "Остановлен",
|
||
"xrayStatusError": "Ошибка",
|
||
"xrayErrorPopoverTitle": "Ошибка при запуске Xray",
|
||
"operationHours": "Время работы системы",
|
||
"systemHistoryTitle": "История системы",
|
||
"charts": "Графики",
|
||
"xrayMetricsTitle": "Метрики Xray",
|
||
"xrayMetricsDisabled": "Конечная точка метрик Xray не настроена",
|
||
"xrayMetricsHint": "Добавьте блок metrics верхнего уровня в конфигурацию xray с tag metrics_out и listen 127.0.0.1:11111, затем перезапустите xray.",
|
||
"xrayObservatoryEmpty": "Данных Observatory пока нет",
|
||
"xrayObservatoryHint": "Добавьте блок observatory в конфигурацию xray с указанием тегов outbound для проверки, затем перезапустите xray.",
|
||
"xrayObservatoryTagPlaceholder": "Выберите outbound",
|
||
"xrayObservatoryAlive": "Активен",
|
||
"xrayObservatoryDead": "Недоступен",
|
||
"xrayObservatoryLastSeen": "Последняя активность",
|
||
"xrayObservatoryLastTry": "Последняя попытка",
|
||
"trendLast2Min": "Последние 2 минуты",
|
||
"systemLoad": "Нагрузка на систему",
|
||
"systemLoadDesc": "Средняя загрузка системы за последние 1, 5 и 15 минут",
|
||
"connectionCount": "Количество соединений",
|
||
"ipAddresses": "IP-адреса сервера",
|
||
"toggleIpVisibility": "Скрыть или показать IP-адреса сервера",
|
||
"overallSpeed": "Общая скорость передачи трафика",
|
||
"upload": "Отправка",
|
||
"download": "Загрузка",
|
||
"totalData": "Общий объем трафика",
|
||
"sent": "Отправлено",
|
||
"received": "Получено",
|
||
"documentation": "Документация",
|
||
"xraySwitchVersionDialog": "Переключить версию Xray",
|
||
"xraySwitchVersionDialogDesc": "Вы точно хотите сменить версию Xray?",
|
||
"xraySwitchVersionPopover": "Xray успешно обновлён",
|
||
"panelUpdateDialog": "Вы действительно хотите обновить панель?",
|
||
"panelUpdateDialogDesc": "Это обновит 3X-UI до версии #version# и перезапустит сервис панели.",
|
||
"panelUpdateCheckPopover": "Проверка обновления панели не удалась",
|
||
"panelUpdateStartedPopover": "Обновление панели началось",
|
||
"geofileUpdateDialog": "Вы действительно хотите обновить геофайл?",
|
||
"geofileUpdateDialogDesc": "Это обновит файл #filename#.",
|
||
"geofilesUpdateDialogDesc": "Это обновит все геофайлы.",
|
||
"geofilesUpdateAll": "Обновить все",
|
||
"geofileUpdatePopover": "Геофайлы успешно обновлены",
|
||
"customGeoTitle": "Пользовательские GeoSite / GeoIP",
|
||
"customGeoAdd": "Добавить",
|
||
"customGeoType": "Тип",
|
||
"customGeoAlias": "Псевдоним",
|
||
"customGeoUrl": "URL",
|
||
"customGeoEnabled": "Включено",
|
||
"customGeoLastUpdated": "Обновлено",
|
||
"customGeoExtColumn": "Маршрутизация (ext:…)",
|
||
"customGeoToastUpdateAll": "Все пользовательские источники обновлены",
|
||
"customGeoActions": "Действия",
|
||
"customGeoEdit": "Изменить",
|
||
"customGeoDelete": "Удалить",
|
||
"customGeoDownload": "Обновить сейчас",
|
||
"customGeoModalAdd": "Добавить источник",
|
||
"customGeoModalEdit": "Изменить источник",
|
||
"customGeoModalSave": "Сохранить",
|
||
"customGeoDeleteConfirm": "Удалить этот пользовательский источник?",
|
||
"customGeoRoutingHint": "В правилах маршрутизации используйте значение как ext:файл.dat:тег (замените тег).",
|
||
"customGeoInvalidId": "Некорректный идентификатор",
|
||
"customGeoAliasesError": "Не удалось загрузить список пользовательских geo",
|
||
"customGeoValidationAlias": "Псевдоним: только a-z, цифры, - и _",
|
||
"customGeoValidationUrl": "URL должен начинаться с http:// или https://",
|
||
"customGeoAliasPlaceholder": "a-z 0-9 _ -",
|
||
"customGeoAliasLabelSuffix": " (свой)",
|
||
"customGeoToastList": "Список пользовательских geo",
|
||
"customGeoToastAdd": "Добавить пользовательский geo",
|
||
"customGeoToastUpdate": "Изменить пользовательский geo",
|
||
"customGeoToastDelete": "Пользовательский geo-файл «{{ .fileName }}» удалён",
|
||
"customGeoToastDownload": "Geofile «{{ .fileName }}» обновлен",
|
||
"customGeoErrInvalidType": "Тип должен быть geosite или geoip",
|
||
"customGeoErrAliasRequired": "Укажите псевдоним",
|
||
"customGeoErrAliasPattern": "Псевдоним содержит недопустимые символы",
|
||
"customGeoErrAliasReserved": "Этот псевдоним зарезервирован",
|
||
"customGeoErrUrlRequired": "Укажите URL",
|
||
"customGeoErrInvalidUrl": "Некорректный URL",
|
||
"customGeoErrUrlScheme": "URL должен использовать http или https",
|
||
"customGeoErrUrlHost": "Некорректный хост URL",
|
||
"customGeoErrDuplicateAlias": "Такой псевдоним уже используется для этого типа",
|
||
"customGeoErrNotFound": "Источник не найден",
|
||
"customGeoErrDownload": "Ошибка загрузки",
|
||
"customGeoErrUpdateAllIncomplete": "Не удалось обновить один или несколько пользовательских источников",
|
||
"customGeoEmpty": "Пользовательских источников geo пока нет — нажмите «Добавить», чтобы создать",
|
||
"dontRefresh": "Установка в процессе. Не обновляйте страницу",
|
||
"logs": "Журнал",
|
||
"config": "Конфигурация",
|
||
"backup": "Резервная копия",
|
||
"backupTitle": "Бэкап и восстановление",
|
||
"exportDatabase": "Экспорт базы данных",
|
||
"exportDatabaseDesc": "Нажмите, чтобы скачать файл .db, содержащий резервную копию вашей текущей базы данных на ваше устройство.",
|
||
"importDatabase": "Импорт базы данных",
|
||
"importDatabaseDesc": "Нажмите, чтобы выбрать и загрузить файл .db с вашего устройства для восстановления базы данных из резервной копии.",
|
||
"importDatabaseSuccess": "База данных успешно импортирована",
|
||
"importDatabaseError": "Произошла ошибка при импорте базы данных",
|
||
"readDatabaseError": "Произошла ошибка при чтении базы данных",
|
||
"getDatabaseError": "Произошла ошибка при получении базы данных",
|
||
"getConfigError": "Произошла ошибка при получении конфигурационного файла"
|
||
},
|
||
"inbounds": {
|
||
"title": "Подключения",
|
||
"totalDownUp": "Отправлено/получено",
|
||
"totalUsage": "Всего трафика",
|
||
"inboundCount": "Всего подключений",
|
||
"operate": "Меню",
|
||
"enable": "Включить",
|
||
"remark": "Примечание",
|
||
"node": "Узел",
|
||
"deployTo": "Развернуть на",
|
||
"localPanel": "Локальная панель",
|
||
"fallbacks": {
|
||
"title": "Фолбэки",
|
||
"help": "Когда соединение на этом инбаунде не совпадает ни с одним клиентом, оно перенаправляется на другой инбаунд. Выберите дочерний инбаунд ниже — поля маршрутизации (SNI / ALPN / Path / xver) заполнятся автоматически из его транспорта, для большинства конфигураций больше ничего менять не нужно. Каждый дочерний должен слушать на 127.0.0.1 с security=none.",
|
||
"empty": "Фолбэков пока нет",
|
||
"add": "Добавить фолбэк",
|
||
"pickInbound": "Выберите инбаунд",
|
||
"matchAny": "любой",
|
||
"rederive": "Заполнить из дочернего",
|
||
"rederived": "Заполнено из дочернего",
|
||
"editAdvanced": "Изменить поля маршрутизации",
|
||
"hideAdvanced": "Скрыть расширенные",
|
||
"quickAddAll": "Быстро добавить все подходящие",
|
||
"quickAdded": "Добавлено {n} фолбэк(ов)",
|
||
"quickAddedNone": "Нет новых подходящих инбаундов",
|
||
"routesWhen": "Маршрутизирует, когда",
|
||
"defaultCatchAll": "По умолчанию — ловит всё остальное"
|
||
},
|
||
"protocol": "Протокол",
|
||
"port": "Порт",
|
||
"portMap": "Порт-маппинг",
|
||
"traffic": "Трафик",
|
||
"details": "Подробнее",
|
||
"transportConfig": "Транспорт",
|
||
"expireDate": "Дата окончания",
|
||
"createdAt": "Создано",
|
||
"updatedAt": "Обновлено",
|
||
"resetTraffic": "Сброс трафика",
|
||
"addInbound": "Создать подключение",
|
||
"generalActions": "Общие действия",
|
||
"modifyInbound": "Изменить подключение",
|
||
"deleteInbound": "Удалить подключение",
|
||
"deleteInboundContent": "Вы уверены, что хотите удалить подключение?",
|
||
"deleteClient": "Удалить клиента",
|
||
"deleteClientContent": "Вы уверены, что хотите удалить клиента?",
|
||
"resetTrafficContent": "Вы уверены, что хотите сбросить трафик?",
|
||
"copyLink": "Копировать ссылку",
|
||
"address": "Адрес",
|
||
"network": "Сеть",
|
||
"destinationPort": "Порт назначения",
|
||
"targetAddress": "Целевой адрес",
|
||
"monitorDesc": "Оставьте пустым для прослушивания всех IP-адресов",
|
||
"meansNoLimit": "= Без ограничений (значение: ГБ)",
|
||
"totalFlow": "Общий расход",
|
||
"leaveBlankToNeverExpire": "Оставьте пустым, чтобы было бесконечным",
|
||
"noRecommendKeepDefault": "Рекомендуется оставить настройки по умолчанию",
|
||
"certificatePath": "Путь к сертификату",
|
||
"certificateContent": "Содержимое сертификата",
|
||
"publicKey": "Публичный ключ",
|
||
"privatekey": "Приватный ключ",
|
||
"clickOnQRcode": "Нажмите на QR-код, чтобы скопировать",
|
||
"client": "Клиент",
|
||
"export": "Экспорт ссылок",
|
||
"clone": "Клонировать",
|
||
"cloneInbound": "Клонировать",
|
||
"cloneInboundContent": "Будут клонированы все настройки подключений, кроме списка клиентов, порта и IP-адреса прослушивания",
|
||
"cloneInboundOk": "Клонировано",
|
||
"resetAllTraffic": "Сброс трафика всех подключений",
|
||
"resetAllTrafficTitle": "Сброс трафика всех подключений",
|
||
"resetAllTrafficContent": "Вы уверены, что хотите сбросить трафик всех подключений?",
|
||
"resetInboundClientTraffics": "Сброс трафика клиента",
|
||
"resetInboundClientTrafficTitle": "Сброс трафика клиентов",
|
||
"resetInboundClientTrafficContent": "Вы уверены, что хотите сбросить трафик для этих клиентов?",
|
||
"resetAllClientTraffics": "Сброс трафика всех клиентов",
|
||
"resetAllClientTrafficTitle": "Сброс трафика всех клиентов",
|
||
"resetAllClientTrafficContent": "Вы уверены, что хотите сбросить трафик всех клиентов?",
|
||
"delDepletedClients": "Удалить отключенных клиентов",
|
||
"delDepletedClientsTitle": "Удаление отключенных клиентов",
|
||
"delDepletedClientsContent": "Вы уверены, что хотите удалить всех отключенных клиентов?",
|
||
"email": "Email",
|
||
"emailDesc": "Пожалуйста, укажите уникальный Email",
|
||
"IPLimit": "Лимит по количеству IP",
|
||
"IPLimitDesc": "Ограничение числа одновременных подключений с разных IP (0 – отключить)",
|
||
"IPLimitlog": "Лог IP-адресов",
|
||
"IPLimitlogDesc": "Лог IP-адресов (перед включением лога IP-адресов, вы должны очистить лог)",
|
||
"IPLimitlogclear": "Очистить лог",
|
||
"setDefaultCert": "Установить сертификат панели",
|
||
"streamTab": "Поток",
|
||
"securityTab": "Безопасность",
|
||
"sniffingTab": "Сниффинг",
|
||
"sniffingMetadataOnly": "Только метаданные",
|
||
"sniffingRouteOnly": "Только маршрутизация",
|
||
"sniffingIpsExcluded": "Исключённые IP",
|
||
"sniffingDomainsExcluded": "Исключённые домены",
|
||
"decryption": "Расшифрование",
|
||
"encryption": "Шифрование",
|
||
"vlessAuthX25519": "Аутентификация X25519",
|
||
"vlessAuthMlkem768": "Аутентификация ML-KEM-768",
|
||
"vlessAuthCustom": "Свой",
|
||
"vlessAuthSelected": "Выбрано: {auth}",
|
||
"advanced": {
|
||
"title": "Разделы JSON входящего",
|
||
"subtitle": "Полный JSON входящего и отдельные редакторы для settings, sniffing и streamSettings.",
|
||
"all": "Всё",
|
||
"allHelp": "Полный объект входящего со всеми полями в одном редакторе.",
|
||
"settings": "Настройки",
|
||
"settingsHelp": "Обёртка блока settings Xray:",
|
||
"sniffing": "Сниффинг",
|
||
"sniffingHelp": "Обёртка блока sniffing Xray:",
|
||
"stream": "Поток",
|
||
"streamHelp": "Обёртка блока stream Xray:",
|
||
"jsonErrorPrefix": "Расширенный JSON"
|
||
},
|
||
"telegramDesc": "Пожалуйста, укажите Chat ID Telegram. (используйте команду '/id' в боте) или ({'@'}userinfobot)",
|
||
"subscriptionDesc": "Вы можете найти свою ссылку подписки в разделе 'Подробнее'",
|
||
"info": "Информация",
|
||
"same": "Тот же",
|
||
"inboundData": "Данные подключений",
|
||
"exportInbound": "Экспорт подключений",
|
||
"import": "Импортировать",
|
||
"importInbound": "Импорт подключений",
|
||
"periodicTrafficResetTitle": "Сброс трафика",
|
||
"periodicTrafficResetDesc": "Автоматический сброс счетчика трафика через указанные интервалы",
|
||
"lastReset": "Последний сброс",
|
||
"periodicTrafficReset": {
|
||
"never": "Никогда",
|
||
"daily": "Ежедневно",
|
||
"weekly": "Еженедельно",
|
||
"monthly": "Ежемесячно",
|
||
"hourly": "Ежечасно"
|
||
},
|
||
"toasts": {
|
||
"obtain": "Получить",
|
||
"updateSuccess": "Обновление прошло успешно",
|
||
"logCleanSuccess": "Лог был очищен",
|
||
"inboundsUpdateSuccess": "Подключения успешно обновлены",
|
||
"inboundUpdateSuccess": "Подключение успешно обновлено",
|
||
"inboundCreateSuccess": "Подключение успешно создано",
|
||
"inboundDeleteSuccess": "Подключение успешно удалено",
|
||
"inboundClientAddSuccess": "Клиент(ы) подключения добавлен(ы)",
|
||
"inboundClientDeleteSuccess": "Клиент подключения удалён",
|
||
"inboundClientUpdateSuccess": "Клиент подключения обновлён",
|
||
"delDepletedClientsSuccess": "Все исчерпанные клиенты удалены",
|
||
"resetAllClientTrafficSuccess": "Весь трафик клиента сброшен",
|
||
"resetAllTrafficSuccess": "Весь трафик сброшен",
|
||
"resetInboundClientTrafficSuccess": "Трафик сброшен",
|
||
"resetInboundTrafficSuccess": "Входящий трафик сброшен",
|
||
"trafficGetError": "Ошибка получения данных о трафике",
|
||
"getNewX25519CertError": "Ошибка при получении сертификата X25519.",
|
||
"getNewmldsa65Error": "Ошибка при получении сертификата mldsa65.",
|
||
"getNewVlessEncError": "Ошибка при получении сертификата VlessEnc."
|
||
},
|
||
"stream": {
|
||
"general": {
|
||
"request": "Запрос",
|
||
"response": "Ответ",
|
||
"name": "Имя",
|
||
"value": "Значение"
|
||
},
|
||
"tcp": {
|
||
"version": "Версия",
|
||
"method": "Метод",
|
||
"path": "Путь",
|
||
"status": "Статус",
|
||
"statusDescription": "Описание статуса",
|
||
"requestHeader": "Заголовок запроса",
|
||
"responseHeader": "Заголовок ответа"
|
||
}
|
||
}
|
||
},
|
||
"clients": {
|
||
"add": "Добавить клиента",
|
||
"edit": "Изменить клиента",
|
||
"submitAdd": "Добавить клиента",
|
||
"submitEdit": "Сохранить изменения",
|
||
"clientCount": "Количество клиентов",
|
||
"bulk": "Массовое добавление",
|
||
"copyFromInbound": "Скопировать клиентов из входящего",
|
||
"copyToInbound": "Скопировать клиентов в",
|
||
"copySelected": "Скопировать выбранное",
|
||
"copySource": "Источник",
|
||
"copyEmailPreview": "Предпросмотр результирующего email",
|
||
"copySelectSourceFirst": "Сначала выберите исходный входящий.",
|
||
"copyResult": "Результат копирования",
|
||
"copyResultSuccess": "Скопировано успешно",
|
||
"copyResultNone": "Нечего копировать: клиенты не выбраны или источник пуст",
|
||
"copyResultErrors": "Ошибки копирования",
|
||
"copyFlowLabel": "Flow для новых клиентов (VLESS)",
|
||
"copyFlowHint": "Применяется ко всем скопированным клиентам. Оставьте пустым, чтобы пропустить.",
|
||
"selectAll": "Выбрать всё",
|
||
"clearAll": "Очистить всё",
|
||
"method": "Метод",
|
||
"first": "Первый",
|
||
"last": "Последний",
|
||
"ipLog": "Журнал IP",
|
||
"prefix": "Префикс",
|
||
"postfix": "Постфикс",
|
||
"delayedStart": "Старт после первого использования",
|
||
"expireDays": "Длительность",
|
||
"days": "Дни",
|
||
"renew": "Автопродление",
|
||
"renewDesc": "Автоматическое продление после окончания. (0 = отключено) (единица: день)",
|
||
"title": "Клиенты",
|
||
"actions": "Действия",
|
||
"totalGB": "Всего отправлено/получено (ГБ)",
|
||
"expiryTime": "Срок действия",
|
||
"addClients": "Добавить клиентов",
|
||
"limitIp": "Лимит IP",
|
||
"password": "Пароль",
|
||
"subId": "ID подписки",
|
||
"online": "В сети",
|
||
"email": "Email",
|
||
"comment": "Комментарий",
|
||
"traffic": "Трафик",
|
||
"offline": "Не в сети",
|
||
"addTitle": "Добавить клиента",
|
||
"qrCode": "QR-код",
|
||
"moreInformation": "Подробнее",
|
||
"delete": "Удалить",
|
||
"reset": "Сбросить трафик",
|
||
"editTitle": "Изменить клиента",
|
||
"client": "Клиент",
|
||
"enabled": "Включён",
|
||
"remaining": "Остаток",
|
||
"duration": "Длительность",
|
||
"attachedInbounds": "Привязанные входящие",
|
||
"selectInbound": "Выберите один или несколько входящих",
|
||
"noSubId": "У этого клиента нет subId, ссылка для общего доступа недоступна.",
|
||
"noLinks": "Нет ссылок для общего доступа — сначала привяжите клиента к входящему с поддерживаемым протоколом.",
|
||
"link": "Ссылка",
|
||
"resetNotPossible": "Сначала привяжите этого клиента к входящему.",
|
||
"general": "Общее",
|
||
"resetAllTraffics": "Сбросить трафик всех клиентов",
|
||
"resetAllTrafficsTitle": "Сбросить трафик всех клиентов?",
|
||
"resetAllTrafficsContent": "Счётчики отправки/приёма всех клиентов сбрасываются в ноль. Квоты и срок действия не затрагиваются. Это действие нельзя отменить.",
|
||
"empty": "Клиентов пока нет — добавьте первого, чтобы начать.",
|
||
"deleteConfirmTitle": "Удалить клиента {email}?",
|
||
"deleteConfirmContent": "Клиент будет удалён из всех привязанных входящих, а его запись трафика будет уничтожена. Это действие нельзя отменить.",
|
||
"deleteSelected": "Удалить ({count})",
|
||
"bulkDeleteConfirmTitle": "Удалить {count} клиентов?",
|
||
"bulkDeleteConfirmContent": "Каждый выбранный клиент удаляется из всех привязанных входящих, его запись трафика уничтожается. Это действие нельзя отменить.",
|
||
"delDepleted": "Удалить исчерпанных",
|
||
"delDepletedConfirmTitle": "Удалить исчерпанных клиентов?",
|
||
"delDepletedConfirmContent": "Удаляются все клиенты, у которых исчерпана квота трафика или истёк срок. Это действие нельзя отменить.",
|
||
"auth": "Auth",
|
||
"hysteriaAuth": "Auth для Hysteria",
|
||
"uuid": "UUID",
|
||
"flow": "Flow",
|
||
"reverseTag": "Reverse tag",
|
||
"reverseTagPlaceholder": "Необязательный Reverse tag",
|
||
"telegramId": "ID пользователя Telegram",
|
||
"telegramIdPlaceholder": "Числовой ID пользователя Telegram (0 = нет)",
|
||
"created": "Создан",
|
||
"updated": "Обновлён",
|
||
"ipLimit": "Лимит IP",
|
||
"toasts": {
|
||
"deleted": "Клиент удалён",
|
||
"trafficReset": "Трафик сброшен",
|
||
"allTrafficsReset": "Трафик всех клиентов сброшен",
|
||
"bulkDeleted": "Удалено клиентов: {count}",
|
||
"bulkDeletedMixed": "Удалено: {ok}, не удалось: {failed}",
|
||
"bulkCreated": "Создано клиентов: {count}",
|
||
"bulkCreatedMixed": "Создано: {ok}, не удалось: {failed}",
|
||
"delDepleted": "Удалено исчерпанных клиентов: {count}"
|
||
}
|
||
},
|
||
"nodes": {
|
||
"title": "Узлы",
|
||
"addNode": "Добавить узел",
|
||
"editNode": "Редактировать узел",
|
||
"totalNodes": "Всего узлов",
|
||
"onlineNodes": "Онлайн",
|
||
"offlineNodes": "Офлайн",
|
||
"avgLatency": "Средняя задержка",
|
||
"name": "Имя",
|
||
"namePlaceholder": "напр. de-frankfurt-1",
|
||
"addressPlaceholder": "panel.example.com или 1.2.3.4",
|
||
"remark": "Примечание",
|
||
"scheme": "Схема",
|
||
"address": "Адрес",
|
||
"port": "Порт",
|
||
"basePath": "Базовый путь",
|
||
"apiToken": "Токен API",
|
||
"apiTokenPlaceholder": "Токен со страницы Настроек удалённой панели",
|
||
"apiTokenHint": "Удалённая панель показывает свой токен API в разделе Настройки → Токен API.",
|
||
"regenerate": "Сгенерировать токен заново",
|
||
"regenerateConfirm": "Повторная генерация аннулирует текущий токен. Любая центральная панель, использующая его, потеряет доступ до обновления. Продолжить?",
|
||
"allowPrivateAddress": "Разрешить частный адрес",
|
||
"allowPrivateAddressHint": "Включить только для узлов в частной сети или VPN.",
|
||
"enable": "Включён",
|
||
"status": "Статус",
|
||
"cpu": "CPU",
|
||
"mem": "Память",
|
||
"uptime": "Время работы",
|
||
"latency": "Задержка",
|
||
"lastHeartbeat": "Последний пинг",
|
||
"xrayVersion": "Версия Xray",
|
||
"panelVersion": "Версия панели",
|
||
"actions": "Действия",
|
||
"probe": "Проверить сейчас",
|
||
"testConnection": "Проверить соединение",
|
||
"connectionOk": "Соединение в порядке ({ms} мс)",
|
||
"connectionFailed": "Не удалось подключиться",
|
||
"never": "никогда",
|
||
"justNow": "только что",
|
||
"deleteConfirmTitle": "Удалить узел \"{name}\"?",
|
||
"deleteConfirmContent": "Это остановит мониторинг узла. Сама удалённая панель не будет затронута.",
|
||
"statusValues": {
|
||
"online": "Онлайн",
|
||
"offline": "Офлайн",
|
||
"unknown": "Неизвестно"
|
||
},
|
||
"toasts": {
|
||
"list": "Не удалось загрузить узлы",
|
||
"obtain": "Не удалось загрузить узел",
|
||
"add": "Добавить узел",
|
||
"update": "Обновить узел",
|
||
"delete": "Удалить узел",
|
||
"deleted": "Узел удалён",
|
||
"test": "Проверить соединение",
|
||
"fillRequired": "Имя, адрес, порт и токен API обязательны",
|
||
"probeFailed": "Проверка не удалась"
|
||
}
|
||
},
|
||
"settings": {
|
||
"title": "Настройки",
|
||
"save": "Сохранить",
|
||
"infoDesc": "Сохраните изменения и перезапустите панель для их применения.",
|
||
"restartPanel": "Перезапуск панели",
|
||
"restartPanelDesc": "Вы уверены, что хотите перезапустить панель? Подтвердите, и перезапуск произойдёт через 3 секунды. Если панель будет недоступна, проверьте лог сервера",
|
||
"restartPanelSuccess": "Панель успешно перезапущена",
|
||
"actions": "Действия",
|
||
"resetDefaultConfig": "Восстановить настройки по умолчанию",
|
||
"panelSettings": "Панель",
|
||
"securitySettings": "Учетная запись",
|
||
"TGBotSettings": "Telegram-Бот",
|
||
"panelListeningIP": "IP-адрес для управления панелью",
|
||
"panelListeningIPDesc": "Оставьте пустым для подключения с любого IP",
|
||
"panelListeningDomain": "Домен панели",
|
||
"panelListeningDomainDesc": "Оставьте пустым для подключения с любых доменов и IP.",
|
||
"panelPort": "Порт панели",
|
||
"panelPortDesc": "Порт, на котором работает панель",
|
||
"publicKeyPath": "Путь к файлу публичного ключа сертификата панели",
|
||
"publicKeyPathDesc": "Введите полный путь, начинающийся с '/'",
|
||
"privateKeyPath": "Путь к файлу приватного ключа сертификата панели",
|
||
"privateKeyPathDesc": "Введите полный путь, начинающийся с '/'",
|
||
"panelUrlPath": "Корневой путь URL адреса панели",
|
||
"panelUrlPathDesc": "Должен начинаться с '/' и заканчиваться '/'",
|
||
"pageSize": "Размер нумерации страниц",
|
||
"pageSizeDesc": "Определить размер страницы для таблицы подключений. Установите 0, чтобы отключить",
|
||
"remarkModel": "Модель примечания и символ разделения",
|
||
"datepicker": "Тип календаря",
|
||
"datepickerPlaceholder": "Выберите дату",
|
||
"datepickerDescription": "Запланированные задачи будут выполняться в соответствии с этим календарем.",
|
||
"sampleRemark": "Пример примечания",
|
||
"oldUsername": "Текущий логин",
|
||
"currentPassword": "Текущий пароль",
|
||
"newUsername": "Новый логин",
|
||
"newPassword": "Новый пароль",
|
||
"telegramBotEnable": "Включить Telegram бота",
|
||
"telegramBotEnableDesc": "Доступ к функциям панели через Telegram-бота",
|
||
"telegramToken": "Токен Telegram бота",
|
||
"telegramTokenDesc": "Необходимо получить токен у менеджера ботов Telegram {'@'}botfather",
|
||
"telegramProxy": "Прокси-сервер Socks5",
|
||
"telegramProxyDesc": "Если для подключения к Telegram вам нужен прокси Socks5, настройте его параметры согласно руководству.",
|
||
"telegramAPIServer": "API-сервер Telegram",
|
||
"telegramAPIServerDesc": "Используемый API-сервер Telegram. Оставьте пустым, чтобы использовать сервер по умолчанию.",
|
||
"telegramChatId": "User ID администратора бота",
|
||
"telegramChatIdDesc": "Один или несколько User ID администратора(-ов) Telegram-бота. Для получения User ID используйте {'@'}userinfobot или команду '/id' в боте.",
|
||
"telegramNotifyTime": "Частота уведомлений для администраторов от бота",
|
||
"telegramNotifyTimeDesc": "Укажите интервал уведомлений в формате Crontab",
|
||
"tgNotifyBackup": "Резервное копирование базы данных",
|
||
"tgNotifyBackupDesc": "Отправлять уведомление с файлом резервной копии базы данных",
|
||
"tgNotifyLogin": "Уведомление о входе",
|
||
"tgNotifyLoginDesc": "Отображает имя пользователя, IP-адрес и время, когда кто-то пытается войти в вашу панель.",
|
||
"sessionMaxAge": "Продолжительность сессии",
|
||
"sessionMaxAgeDesc": "Продолжительность сессии в системе (значение: минута)",
|
||
"expireTimeDiff": "Задержка уведомления об истечении сессии",
|
||
"expireTimeDiffDesc": "Получение уведомления об истечении срока действия сессии до достижения порогового значения (значение: день)",
|
||
"trafficDiff": "Порог трафика для уведомления",
|
||
"trafficDiffDesc": "Получение уведомления об исчерпании трафика до достижения порога (значение: ГБ)",
|
||
"tgNotifyCpu": "Порог нагрузки на ЦП для уведомления",
|
||
"tgNotifyCpuDesc": "Уведомление администраторов в Telegram, если нагрузка на ЦП превышает этот порог (значение: %)",
|
||
"timeZone": "Часовой пояс",
|
||
"timeZoneDesc": "Запланированные задачи выполняются в соответствии со временем в этом часовом поясе",
|
||
"subSettings": "Подписка",
|
||
"subEnable": "Включить подписку",
|
||
"subEnableDesc": "Функция подписки с отдельной конфигурацией",
|
||
"subJsonEnable": "Включить/отключить JSON-эндпоинт подписки независимо.",
|
||
"subTitle": "Заголовок подписки",
|
||
"subTitleDesc": "Название подписки, которое видит клиент в VPN-клиенте",
|
||
"subSupportUrl": "URL поддержки",
|
||
"subSupportUrlDesc": "Ссылка на техническую поддержку, отображаемая в VPN-клиенте",
|
||
"subProfileUrl": "URL профиля",
|
||
"subProfileUrlDesc": "Ссылка на ваш сайт, отображаемая в VPN-клиенте",
|
||
"subAnnounce": "Объявление",
|
||
"subAnnounceDesc": "Текст объявления, отображаемый в VPN-клиенте",
|
||
"subEnableRouting": "Включить маршрутизацию",
|
||
"subEnableRoutingDesc": "Глобальная настройка для включения маршрутизации в VPN-клиенте. (Только для Happ)",
|
||
"subRoutingRules": "Правила маршрутизации",
|
||
"subRoutingRulesDesc": "Глобальные правила маршрутизации для VPN-клиента. (Только для Happ)",
|
||
"subListen": "Прослушивание IP",
|
||
"subListenDesc": "Оставьте пустым по умолчанию, чтобы отслеживать все IP-адреса",
|
||
"subPort": "Порт подписки",
|
||
"subPortDesc": "Номер порта для обслуживания службы подписки не должен использоваться на сервере",
|
||
"subCertPath": "Путь к файлу публичного ключа сертификата подписки",
|
||
"subCertPathDesc": "Введите полный путь, начинающийся с '/'",
|
||
"subKeyPath": "Путь к файлу приватного ключа сертификата подписки",
|
||
"subKeyPathDesc": "Введите полный путь, начинающийся с '/'",
|
||
"subPath": "Корневой путь URL-адреса подписки",
|
||
"subPathDesc": "Должен начинаться с '/' и заканчиваться на '/'",
|
||
"subDomain": "Домен прослушивания",
|
||
"subDomainDesc": "Оставьте пустым по умолчанию, чтобы слушать все домены и IP-адреса",
|
||
"subUpdates": "Интервалы обновления подписки",
|
||
"subUpdatesDesc": "Интервал между обновлениями в клиентском приложении (в часах)",
|
||
"subEncrypt": "Шифровать конфиги",
|
||
"subEncryptDesc": "Шифровать возвращенные конфиги в подписке",
|
||
"subShowInfo": "Показать информацию об использовании",
|
||
"subShowInfoDesc": "Отображать остаток трафика и дату окончания после имени конфигурации",
|
||
"subEmailInRemark": "Включать Email в название",
|
||
"subEmailInRemarkDesc": "Включать email клиента в название профиля подписки.",
|
||
"subURI": "URI обратного прокси",
|
||
"subURIDesc": "Изменить базовый URI URL-адреса подписки для использования за прокси-серверами",
|
||
"externalTrafficInformEnable": "Информация о внешнем трафике",
|
||
"externalTrafficInformEnableDesc": "Информировать внешний API о каждом обновлении трафика",
|
||
"externalTrafficInformURI": "URI информации о внешнем трафике",
|
||
"externalTrafficInformURIDesc": "Обновления трафика отправляются на этот URI",
|
||
"restartXrayOnClientDisable": "Перезапускать Xray после автоотключения",
|
||
"restartXrayOnClientDisableDesc": "Когда клиент автоматически отключается из-за окончания срока действия или лимита трафика, перезапускать Xray.",
|
||
"fragment": "Фрагментация",
|
||
"fragmentDesc": "Включить фрагментацию TLS-хэндшейка",
|
||
"fragmentSett": "Настройки фрагментации",
|
||
"noisesDesc": "Включить Noises.",
|
||
"noisesSett": "Настройки Noises",
|
||
"mux": "Mux",
|
||
"muxDesc": "Передача нескольких независимых потоков данных в одном соединении.",
|
||
"muxSett": "Настройки Mux",
|
||
"direct": "Прямое подключение",
|
||
"directDesc": "Устанавливает прямые соединения с доменами или IP-адресами определённой страны.",
|
||
"notifications": "Уведомления",
|
||
"certs": "Сертификаты",
|
||
"externalTraffic": "Внешний трафик",
|
||
"dateAndTime": "Дата и время",
|
||
"proxyAndServer": "Прокси и сервер",
|
||
"intervals": "Интервалы",
|
||
"information": "Информация",
|
||
"language": "Язык интерфейса",
|
||
"telegramBotLanguage": "Язык Telegram-бота",
|
||
"security": {
|
||
"admin": "Учетные данные администратора",
|
||
"twoFactor": "Двухфакторная аутентификация",
|
||
"twoFactorEnable": "Включить 2FA",
|
||
"twoFactorEnableDesc": "Добавляет дополнительный уровень аутентификации для повышения безопасности.",
|
||
"twoFactorModalSetTitle": "Включить двухфакторную аутентификацию",
|
||
"twoFactorModalDeleteTitle": "Отключить двухфакторную аутентификацию",
|
||
"twoFactorModalSteps": "Для настройки двухфакторной аутентификации выполните несколько шагов:",
|
||
"twoFactorModalFirstStep": "1. Отсканируйте этот QR-код в приложении для аутентификации или скопируйте токен рядом с QR-кодом и вставьте его в приложение",
|
||
"twoFactorModalSecondStep": "2. Введите код из приложения",
|
||
"twoFactorModalRemoveStep": "Введите код из приложения, чтобы отключить двухфакторную аутентификацию.",
|
||
"twoFactorModalChangeCredentialsTitle": "Изменить учетные данные",
|
||
"twoFactorModalChangeCredentialsStep": "Введите код из приложения, чтобы изменить учетные данные администратора.",
|
||
"twoFactorModalSetSuccess": "Двухфакторная аутентификация была успешно установлена",
|
||
"twoFactorModalDeleteSuccess": "Двухфакторная аутентификация была успешно удалена",
|
||
"twoFactorModalError": "Неверный код",
|
||
"show": "Показать",
|
||
"hide": "Скрыть",
|
||
"apiTokenNew": "Новый токен",
|
||
"apiTokenName": "Имя",
|
||
"apiTokenNamePlaceholder": "например, central-panel-a",
|
||
"apiTokenNameRequired": "Имя обязательно",
|
||
"apiTokenEmpty": "Токенов пока нет — создайте один для аутентификации ботов или удалённых панелей.",
|
||
"apiTokenDeleteWarning": "Любой клиент, использующий этот токен, немедленно потеряет аутентификацию."
|
||
},
|
||
"toasts": {
|
||
"modifySettings": "Настройки изменены",
|
||
"getSettings": "Произошла ошибка при получении параметров.",
|
||
"modifyUserError": "Произошла ошибка при изменении учетных данных администратора.",
|
||
"modifyUser": "Вы успешно изменили учетные данные администратора.",
|
||
"originalUserPassIncorrect": "Неверное имя пользователя или пароль",
|
||
"userPassMustBeNotEmpty": "Новое имя пользователя и новый пароль должны быть заполнены",
|
||
"getOutboundTrafficError": "Ошибка получения трафика исходящего подключения",
|
||
"resetOutboundTrafficError": "Ошибка сброса трафика исходящего подключения"
|
||
}
|
||
},
|
||
"xray": {
|
||
"title": "Настройки Xray",
|
||
"save": "Сохранить",
|
||
"restart": "Перезапуск Xray",
|
||
"restartSuccess": "Xray успешно перезапущен",
|
||
"stopSuccess": "Xray успешно остановлен",
|
||
"restartError": "Произошла ошибка при перезапуске Xray.",
|
||
"stopError": "Произошла ошибка при остановке Xray.",
|
||
"basicTemplate": "Основное",
|
||
"advancedTemplate": "Расширенный шаблон",
|
||
"generalConfigs": "Основные настройки",
|
||
"generalConfigsDesc": "Эти параметры описывают общие настройки",
|
||
"logConfigs": "Логи",
|
||
"logConfigsDesc": "Логи могут замедлять работу сервера. Включайте только нужные вам виды логов при необходимости!",
|
||
"blockConfigsDesc": "Настройте, чтобы клиенты не имели доступа к определенным протоколам",
|
||
"basicRouting": "Базовые соединения",
|
||
"blockConnectionsConfigsDesc": "Эти параметры будут блокировать трафик в зависимости от страны назначения.",
|
||
"directConnectionsConfigsDesc": "Прямое соединение означает, что определенный трафик не будет перенаправлен через другой сервер.",
|
||
"blockips": "Заблокированные IP-адреса",
|
||
"blockdomains": "Заблокированные домены",
|
||
"directips": "Прямые IP-адреса",
|
||
"directdomains": "Прямые домены",
|
||
"ipv4Routing": "Правила IPv4",
|
||
"ipv4RoutingDesc": "Эти параметры позволят клиентам маршрутизироваться к целевым доменам только через IPv4",
|
||
"warpRouting": "Правила WARP",
|
||
"warpRoutingDesc": " Эти опции будут направлять трафик в зависимости от конкретного пункта назначения через WARP.",
|
||
"nordRouting": "Маршрутизация NordVPN",
|
||
"nordRoutingDesc": "Эти опции будут направлять трафик в зависимости от конкретного пункта назначения через NordVPN.",
|
||
"Template": "Шаблон конфигурации Xray",
|
||
"TemplateDesc": "На основе шаблона создаётся конфигурационный файл Xray.",
|
||
"FreedomStrategy": "Настройка стратегии протокола Freedom",
|
||
"FreedomStrategyDesc": "Установка стратегии вывода сети в протоколе Freedom",
|
||
"RoutingStrategy": "Настройка маршрутизации доменов",
|
||
"RoutingStrategyDesc": "Установка общей стратегии маршрутизации разрешения DNS",
|
||
"outboundTestUrl": "URL для теста исходящего",
|
||
"outboundTestUrlDesc": "URL для проверки подключения исходящего",
|
||
"Torrent": "Заблокировать BitTorrent",
|
||
"Inbounds": "Входящие подключения",
|
||
"InboundsDesc": "Изменение шаблона конфигурации для подключения определенных клиентов",
|
||
"Outbounds": "Исходящие подключения",
|
||
"Balancers": "Балансировщик",
|
||
"OutboundsDesc": "Изменение шаблона конфигурации, чтобы определить исходящие подключения для этого сервера",
|
||
"Routings": "Маршрутизация",
|
||
"RoutingsDesc": "Важен приоритет каждого правила!",
|
||
"completeTemplate": "Все",
|
||
"logLevel": "Уровень логов",
|
||
"logLevelDesc": "Уровень журнала для журналов ошибок, указывающий информацию, которую необходимо записать.",
|
||
"accessLog": "Логи доступа",
|
||
"accessLogDesc": "Путь к файлу журнала доступа. Специальное значение «none» отключает логи доступа.",
|
||
"errorLog": "Логи ошибок",
|
||
"errorLogDesc": "Путь к файлу логов ошибок. Специальное значение «none» отключает логи ошибок.",
|
||
"dnsLog": "Логи DNS",
|
||
"dnsLogDesc": "Включить логи запросов DNS",
|
||
"maskAddress": "Маскировка адреса",
|
||
"maskAddressDesc": "При активации реальный IP-адрес заменяется на маскировочный в логах.",
|
||
"statistics": "Статистика",
|
||
"statsInboundUplink": "Статистика входящего аплинка",
|
||
"statsInboundUplinkDesc": "Включает сбор статистики для исходящего трафика всех входящих прокси.",
|
||
"statsInboundDownlink": "Статистика входящего даунлинка",
|
||
"statsInboundDownlinkDesc": "Включает сбор статистики для входящего трафика всех входящих прокси.",
|
||
"statsOutboundUplink": "Статистика исходящего аплинка",
|
||
"statsOutboundUplinkDesc": "Включает сбор статистики для исходящего трафика всех исходящих прокси.",
|
||
"statsOutboundDownlink": "Статистика исходящего даунлинка",
|
||
"statsOutboundDownlinkDesc": "Включает сбор статистики для входящего трафика всех исходящих прокси.",
|
||
"rules": {
|
||
"first": "Первый",
|
||
"last": "Последний",
|
||
"up": "Поднять вверх",
|
||
"down": "Опустить вниз",
|
||
"source": "Источник",
|
||
"dest": "Пункт назначения",
|
||
"inbound": "Входящее подключение",
|
||
"outbound": "Исходящее подключение",
|
||
"balancer": "Балансировщик",
|
||
"info": "Информация",
|
||
"add": "Создать правило",
|
||
"edit": "Редактировать правило",
|
||
"useComma": "Элементы, разделённые запятыми"
|
||
},
|
||
"outbound": {
|
||
"addOutbound": "Создать исходящее подключение",
|
||
"addReverse": "Создать реверс-прокси",
|
||
"editOutbound": "Изменить исходящее подключение",
|
||
"editReverse": "Редактировать реверс-прокси",
|
||
"reverseTag": "Тег реверс-прокси",
|
||
"reverseTagDesc": "Тег исходящего подключения для простого реверс-прокси VLESS. Оставьте пустым для отключения.",
|
||
"reverseTagPlaceholder": "тег исходящего (пусто = отключено)",
|
||
"tag": "Тег",
|
||
"tagDesc": "Уникальный тег",
|
||
"address": "Адрес",
|
||
"reverse": "Реверс-прокси",
|
||
"domain": "Домен",
|
||
"type": "Тип",
|
||
"bridge": "Мост",
|
||
"portal": "Портал",
|
||
"link": "Ссылка",
|
||
"intercon": "Соединение",
|
||
"settings": "Настройки",
|
||
"accountInfo": "Информация об учетной записи",
|
||
"outboundStatus": "Статус исходящего подключения",
|
||
"sendThrough": "Отправить через",
|
||
"test": "Тест",
|
||
"testResult": "Результат теста",
|
||
"testing": "Тестирование соединения...",
|
||
"testSuccess": "Тест успешен",
|
||
"testFailed": "Тест не пройден",
|
||
"testError": "Не удалось протестировать исходящее подключение",
|
||
"nordvpn": "NordVPN",
|
||
"accessToken": "Токен доступа",
|
||
"country": "Страна",
|
||
"server": "Сервер",
|
||
"city": "Город",
|
||
"allCities": "Все города",
|
||
"privateKey": "Приватный ключ",
|
||
"load": "Нагрузка"
|
||
},
|
||
"balancer": {
|
||
"addBalancer": "Создать балансировщик",
|
||
"editBalancer": "Редактировать балансировщик",
|
||
"balancerStrategy": "Стратегия",
|
||
"balancerSelectors": "Селекторы",
|
||
"tag": "Тег",
|
||
"tagDesc": "Уникальный тег",
|
||
"balancerDesc": "Невозможно одновременно использовать balancerTag и outboundTag. При одновременном использовании будет работать только outboundTag."
|
||
},
|
||
"wireguard": {
|
||
"secretKey": "Секретный ключ",
|
||
"publicKey": "Публичный ключ",
|
||
"allowedIPs": "Разрешенные IP-адреса",
|
||
"endpoint": "Конечная точка",
|
||
"psk": "Общий ключ",
|
||
"domainStrategy": "Стратегия домена"
|
||
},
|
||
"tun": {
|
||
"nameDesc": "Имя интерфейса TUN. Значение по умолчанию - 'xray0'",
|
||
"mtuDesc": "Максимальная единица передачи. Максимальный размер пакетов данных. Значение по умолчанию - 1500",
|
||
"userLevel": "Уровень пользователя",
|
||
"userLevelDesc": "Все соединения, установленные через этот входящий поток, будут использовать этот уровень пользователя. Значение по умолчанию - 0"
|
||
},
|
||
"dns": {
|
||
"enable": "Включить DNS",
|
||
"enableDesc": "Включить встроенный DNS-сервер",
|
||
"tag": "Название тега DNS",
|
||
"tagDesc": "Этот тег будет доступен как входящий тег в правилах маршрутизации.",
|
||
"clientIp": "IP клиента",
|
||
"clientIpDesc": "Используется для уведомления сервера о указанном местоположении IP во время DNS-запросов",
|
||
"disableCache": "Отключить кэш",
|
||
"disableCacheDesc": "Отключает кэширование DNS",
|
||
"disableFallback": "Отключить резервный DNS",
|
||
"disableFallbackDesc": "Отключает резервные DNS-запросы",
|
||
"disableFallbackIfMatch": "Отключить резервный DNS при совпадении",
|
||
"disableFallbackIfMatchDesc": "Отключает резервные DNS-запросы при совпадении списка доменов DNS-сервера",
|
||
"enableParallelQuery": "Включить параллельные запросы",
|
||
"enableParallelQueryDesc": "Включить параллельные DNS-запросы к нескольким серверам для более быстрого разрешения",
|
||
"strategy": "Стратегия запроса",
|
||
"strategyDesc": "Общая стратегия разрешения доменных имен",
|
||
"add": "Создать DNS",
|
||
"edit": "Редактировать DNS",
|
||
"domains": "Домены",
|
||
"expectIPs": "Ожидаемые IP",
|
||
"unexpectIPs": "Неожидаемые IP",
|
||
"useSystemHosts": "Использовать системные Hosts",
|
||
"useSystemHostsDesc": "Использовать файл hosts из установленной системы",
|
||
"serveStale": "Использовать устаревшие",
|
||
"serveStaleDesc": "Возвращать устаревшие результаты из кэша во время обновления в фоне",
|
||
"serveExpiredTTL": "TTL устаревших",
|
||
"serveExpiredTTLDesc": "Срок действия (секунды) устаревших записей кэша; 0 = бессрочно",
|
||
"timeoutMs": "Тайм-аут (мс)",
|
||
"skipFallback": "Пропустить Fallback",
|
||
"finalQuery": "Финальный запрос",
|
||
"hosts": "Hosts",
|
||
"hostsAdd": "Добавить Host",
|
||
"hostsEmpty": "Host не определены",
|
||
"hostsDomain": "Домен (напр. domain:example.com)",
|
||
"hostsValues": "IP или домен — введите и нажмите Enter",
|
||
"usePreset": "Использовать шаблон",
|
||
"dnsPresetTitle": "Шаблоны DNS",
|
||
"dnsPresetFamily": "Семейный",
|
||
"clearAll": "Удалить все",
|
||
"clearAllTitle": "Удалить все DNS-серверы?",
|
||
"clearAllConfirm": "Все DNS-серверы будут удалены из списка. Это действие нельзя отменить."
|
||
},
|
||
"fakedns": {
|
||
"add": "Создать Fake DNS",
|
||
"edit": "Редактировать Fake DNS",
|
||
"ipPool": "Подсеть пула IP",
|
||
"poolSize": "Размер пула"
|
||
}
|
||
}
|
||
},
|
||
"tgbot": {
|
||
"keyboardClosed": "❌ Клавиатура закрыта.",
|
||
"noResult": "❗ Нет результатов.",
|
||
"noQuery": "❌ Запрос не найден. Пожалуйста, повторите команду.",
|
||
"wentWrong": "❌ Что-то пошло не так...",
|
||
"noIpRecord": "❗ Нет записей об IP-адресе.",
|
||
"noInbounds": "❗ У вас не настроено ни одного входящего подключения.",
|
||
"unlimited": "♾ Безлимит",
|
||
"add": "Добавить",
|
||
"month": "Месяц",
|
||
"months": "Месяцев",
|
||
"day": "День",
|
||
"days": "Дней",
|
||
"hours": "Часов",
|
||
"minutes": "Минуты",
|
||
"unknown": "Неизвестно",
|
||
"inbounds": "Входящие подключения",
|
||
"clients": "Клиенты",
|
||
"offline": "🔴 Офлайн",
|
||
"online": "🟢 Онлайн",
|
||
"commands": {
|
||
"unknown": "❗ Неизвестная команда",
|
||
"pleaseChoose": "👇 Пожалуйста, выберите:\r\n",
|
||
"help": "🤖 Добро пожаловать! Этот бот предназначен для предоставления вам данных с сервера и позволяет вносить изменения на него.\r\n\r\n",
|
||
"start": "👋 Привет, <i>{{ .Firstname }}</i>.\r\n",
|
||
"welcome": "🤖 Добро пожаловать в бота управления <b>{{ .Hostname }}</b>!\r\n",
|
||
"status": "✅ Бот функционирует нормально.",
|
||
"usage": "❗ Пожалуйста, укажите email для поиска.",
|
||
"getID": "🆔 Ваш User ID: <code>{{ .ID }}</code>",
|
||
"helpAdminCommands": "🔃 Для перезапуска Xray Core:\r\n<code>/restart</code>\r\n\r\n🔎 Для поиска клиента по email:\r\n<code>/usage [Email]</code>\r\n\r\n📊 Для поиска входящих подключений (со статистикой клиентов):\r\n<code>/inbound [имя подключения]</code>\r\n\r\n🆔 Ваш Telegram User ID:\r\n<code>/id</code>",
|
||
"helpClientCommands": "💲 Для просмотра информации о вашей подписке используйте команду:\r\n<code>/usage [Email]</code>\r\n\r\n🆔 Ваш Telegram User ID:\r\n<code>/id</code>",
|
||
"restartUsage": "\r\n\r\n<code>/restart</code>",
|
||
"restartSuccess": "✅ Ядро Xray успешно перезапущено.",
|
||
"restartFailed": "❗ Ошибка при перезапуске Xray-core.\r\n\r\n<code>Ошибка: {{ .Error }}</code>.",
|
||
"xrayNotRunning": "❗ Xray Core не запущен.",
|
||
"startDesc": "Показать главное меню",
|
||
"helpDesc": "Справка по боту",
|
||
"statusDesc": "Проверить статус бота",
|
||
"idDesc": "Показать ваш Telegram ID"
|
||
},
|
||
"messages": {
|
||
"cpuThreshold": "🔴 Загрузка процессора составляет {{ .Percent }}%, что превышает пороговое значение {{ .Threshold }}%",
|
||
"selectUserFailed": "❌ Ошибка при выборе пользователя.",
|
||
"userSaved": "✅ Пользователь Telegram сохранен.",
|
||
"loginSuccess": "✅ Успешный вход в панель.\r\n",
|
||
"loginFailed": "❗️ Ошибка входа в панель.\r\n",
|
||
"2faFailed": "Ошибка 2FA",
|
||
"report": "🕰 Запланированные отчеты: {{ .RunTime }}\r\n",
|
||
"datetime": "⏰ Дата и время: {{ .DateTime }}\r\n",
|
||
"hostname": "💻 Имя хоста: {{ .Hostname }}\r\n",
|
||
"version": "🚀 Версия X-UI: {{ .Version }}\r\n",
|
||
"xrayVersion": "📡 Версия Xray: {{ .XrayVersion }}\r\n",
|
||
"ipv6": "🌐 IPv6: {{ .IPv6 }}\r\n",
|
||
"ipv4": "🌐 IPv4: {{ .IPv4 }}\r\n",
|
||
"ip": "🌐 IP: {{ .IP }}\r\n",
|
||
"ips": "🔢 IP-адреса:\r\n{{ .IPs }}\r\n",
|
||
"serverUpTime": "⏳ Время работы сервера: {{ .UpTime }} {{ .Unit }}\r\n",
|
||
"serverLoad": "📈 Нагрузка сервера: {{ .Load1 }}, {{ .Load2 }}, {{ .Load3 }}\r\n",
|
||
"serverMemory": "📋 ОЗУ сервера: {{ .Current }}/{{ .Total }}\r\n",
|
||
"tcpCount": "🔹 Количество TCP-соединений: {{ .Count }}\r\n",
|
||
"udpCount": "🔸 Количество UDP-соединений: {{ .Count }}\r\n",
|
||
"traffic": "🚦 Трафик: {{ .Total }} (↑{{ .Upload }},↓{{ .Download }})\r\n",
|
||
"xrayStatus": "ℹ️ Состояние Xray: {{ .State }}\r\n",
|
||
"username": "👤 Имя пользователя: {{ .Username }}\r\n",
|
||
"reason": "❗️ Причина: {{ .Reason }}\r\n",
|
||
"time": "⏰ Время: {{ .Time }}\r\n",
|
||
"inbound": "📍 Входящее подключение: {{ .Remark }}\r\n",
|
||
"port": "🔌 Порт: {{ .Port }}\r\n",
|
||
"expire": "📅 Дата окончания: {{ .Time }}\r\n",
|
||
"expireIn": "📅 Окончание через: {{ .Time }}\r\n",
|
||
"active": "💡 Активен: {{ .Enable }}\r\n",
|
||
"enabled": "🚨 Активен: {{ .Enable }}\r\n",
|
||
"online": "🌐 Статус соединения: {{ .Status }}\r\n",
|
||
"lastOnline": "🔙 Был(а) в сети: {{ .Time }}\r\n",
|
||
"email": "📧 Email: {{ .Email }}\r\n",
|
||
"upload": "🔼 Исходящий трафик: ↑{{ .Upload }}\r\n",
|
||
"download": "🔽 Входящий трафик: ↓{{ .Download }}\r\n",
|
||
"total": "📊 Всего: ↑↓{{ .UpDown }} из {{ .Total }}\r\n",
|
||
"TGUser": "👤 Telegram User ID: {{ .TelegramID }}\r\n",
|
||
"exhaustedMsg": "🚨 Исчерпаны {{ .Type }}:\r\n",
|
||
"exhaustedCount": "🚨 Количество исчерпанных {{ .Type }}:\r\n",
|
||
"onlinesCount": "🌐 Клиентов онлайн: {{ .Count }}\r\n",
|
||
"disabled": "🛑 Отключено: {{ .Disabled }}\r\n",
|
||
"depleteSoon": "🔜 Клиенты, у которых скоро исчерпание: {{ .Deplete }}\r\n\r\n",
|
||
"backupTime": "🗄 Время резервного копирования: {{ .Time }}\r\n",
|
||
"refreshedOn": "\r\n📋🔄 Обновлено: {{ .Time }}\r\n\r\n",
|
||
"yes": "✅ Да",
|
||
"no": "❌ Нет",
|
||
"received_id": "🔑📥 ID обновлён.",
|
||
"received_password": "🔑📥 Пароль обновлён.",
|
||
"received_email": "📧📥 Email обновлен.",
|
||
"received_comment": "💬📥 Комментарий обновлён.",
|
||
"id_prompt": "🔑 Стандартный ID: {{ .ClientId }}\n\nВведите ваш ID.",
|
||
"pass_prompt": "🔑 Стандартный пароль: {{ .ClientPassword }}\n\nВведите ваш пароль.",
|
||
"email_prompt": "📧 Стандартный email: {{ .ClientEmail }}\n\nВведите ваш email.",
|
||
"comment_prompt": "💬 Стандартный комментарий: {{ .ClientComment }}\n\nВведите ваш комментарий.",
|
||
"inbound_client_data_id": "🔄 Входящие подключения: {{ .InboundRemark }}\n\n🔑 ID: {{ .ClientId }}\n📧 Email: {{ .ClientEmail }}\n📊 Трафик: {{ .ClientTraffic }}\n📅 Срок действия: {{ .ClientExp }}\n💬 Комментарий: {{ .ClientComment }}\n\nТеперь вы можете добавить клиента в входящее подключение!",
|
||
"inbound_client_data_pass": "🔄 Входящие подключения: {{ .InboundRemark }}\n\n🔑 Пароль: {{ .ClientPass }}\n📧 Email: {{ .ClientEmail }}\n📊 Трафик: {{ .ClientTraffic }}\n📅 Срок действия: {{ .ClientExp }}\n💬 Комментарий: {{ .ClientComment }}\n\nТеперь вы можете добавить клиента в входящее подключение!",
|
||
"cancel": "❌ Процесс отменён! \n\nВы можете снова начать с /start в любое время. 🔄",
|
||
"error_add_client": "⚠️ Ошибка:\n\n {{ .error }}",
|
||
"using_default_value": "Используется значение по умолчанию👌",
|
||
"incorrect_input": "Ваш ввод недействителен.\nФразы должны быть непрерывными без пробелов.\nПравильный пример: aaaaaa\nНеправильный пример: aaa aaa 🚫",
|
||
"AreYouSure": "Вы уверены? 🤔",
|
||
"SuccessResetTraffic": "📧 Почта: {{ .ClientEmail }}\n🏁 Результат: ✅ Успешно",
|
||
"FailedResetTraffic": "📧 Почта: {{ .ClientEmail }}\n🏁 Результат: ❌ Неудача \n\n🛠️ Ошибка: [ {{ .ErrorMessage }} ]",
|
||
"FinishProcess": "🔚 Сброс трафика завершён для всех клиентов."
|
||
},
|
||
"buttons": {
|
||
"closeKeyboard": "❌ Закрыть клавиатуру",
|
||
"cancel": "❌ Отмена",
|
||
"cancelReset": "❌ Отменить сброс",
|
||
"cancelIpLimit": "❌ Отменить лимит IP",
|
||
"confirmResetTraffic": "✅ Подтвердить сброс трафика?",
|
||
"confirmClearIps": "✅ Подтвердить очистку IP?",
|
||
"confirmRemoveTGUser": "✅ Подтвердить удаление пользователя Telegram?",
|
||
"confirmToggle": "✅ Подтвердить вкл/выкл пользователя?",
|
||
"dbBackup": "📂 Бэкап БД",
|
||
"serverUsage": "💻 Состояние сервера",
|
||
"getInbounds": "🔌 Входящие подключения",
|
||
"depleteSoon": "⚠️ Скоро конец",
|
||
"clientUsage": "Статистика клиента",
|
||
"onlines": "🟢 Онлайн",
|
||
"commands": "🖱️ Команды",
|
||
"refresh": "🔄 Обновить",
|
||
"clearIPs": "❌ Очистить IP",
|
||
"removeTGUser": "❌ Удалить пользователя Telegram",
|
||
"selectTGUser": "👤 Выбрать пользователя Telegram",
|
||
"selectOneTGUser": "👤 Выберите пользователя Telegram:",
|
||
"resetTraffic": "📈 Сбросить трафик",
|
||
"resetExpire": "📅 Изменить дату окончания",
|
||
"ipLog": "🔢 Лог IP",
|
||
"ipLimit": "🔢 Лимит IP",
|
||
"setTGUser": "👤 Установить пользователя Telegram",
|
||
"toggle": "🔘 Вкл./Выкл.",
|
||
"custom": "🔢 Свой",
|
||
"confirmNumber": "✅ Подтвердить: {{ .Num }}",
|
||
"confirmNumberAdd": "✅ Подтвердить добавление: {{ .Num }}",
|
||
"limitTraffic": "🚧 Лимит трафика",
|
||
"getBanLogs": "📄 Лог банов",
|
||
"allClients": "👥 Все клиенты",
|
||
"addClient": "➕ Новый клиент",
|
||
"submitDisable": "Добавить отключенным ☑️",
|
||
"submitEnable": "Добавить включенным ✅",
|
||
"use_default": "🏷️ Использовать по умолчанию",
|
||
"change_id": "⚙️🔑 ID",
|
||
"change_password": "⚙️🔑 Пароль",
|
||
"change_email": "⚙️📧 Email",
|
||
"change_comment": "⚙️💬 Комментарий",
|
||
"change_flow": "⚙️🚦 Поток",
|
||
"ResetAllTraffics": "Сбросить весь трафик",
|
||
"SortedTrafficUsageReport": "Отсортированный отчет об использовании трафика"
|
||
},
|
||
"answers": {
|
||
"successfulOperation": "✅ Успешно!",
|
||
"errorOperation": "❗ Ошибка в операции.",
|
||
"getInboundsFailed": "❌ Не удалось получить входящие подключения.",
|
||
"getClientsFailed": "❌ Не удалось получить клиентов.",
|
||
"canceled": "❌ {{ .Email }}: Операция отменена.",
|
||
"clientRefreshSuccess": "✅ {{ .Email }}: Клиент успешно обновлен.",
|
||
"IpRefreshSuccess": "✅ {{ .Email }}: IP-адреса успешно обновлены.",
|
||
"TGIdRefreshSuccess": "✅ {{ .Email }}: Пользователь Telegram клиента успешно обновлен.",
|
||
"resetTrafficSuccess": "✅ {{ .Email }}: Трафик успешно сброшен.",
|
||
"setTrafficLimitSuccess": "✅ {{ .Email }}: Лимит трафика успешно установлен.",
|
||
"expireResetSuccess": "✅ {{ .Email }}: Срок действия успешно сброшен.",
|
||
"resetIpSuccess": "✅ {{ .Email }}: Лимит IP ({{ .Count }}) успешно сохранен.",
|
||
"clearIpSuccess": "✅ {{ .Email }}: IP-адреса успешно очищены.",
|
||
"getIpLog": "✅ {{ .Email }}: Получен лог IP.",
|
||
"getUserInfo": "✅ {{ .Email }}: Получена информация о пользователе Telegram.",
|
||
"removedTGUserSuccess": "✅ {{ .Email }}: Пользователь Telegram успешно удален.",
|
||
"enableSuccess": "✅ {{ .Email }}: Включено успешно.",
|
||
"disableSuccess": "✅ {{ .Email }}: Отключено успешно.",
|
||
"askToAddUserId": "❌ Ваша конфигурация не найдена!\r\n💭 Пожалуйста, попросите администратора использовать ваш Telegram User ID в конфигурации.\r\n\r\n🆔 Ваш User ID: <code>{{ .TgUserID }}</code>",
|
||
"chooseClient": "Выберите клиента для входящего подключения {{ .Inbound }}",
|
||
"chooseInbound": "Выберите входящее подключение"
|
||
}
|
||
}
|
||
} |