clash-verge-rev/src/locales/tt/connections.json
XiaoBuHaly af4463fef1
feat(connections): enable persistent column visibility and ordering #5235 (#5249)
* feat(connections): enable persistent column visibility and ordering

fix(connections): smooth column manager access in table view

fix(connections): integrate column manager into column menu

- Move the Connections column manager trigger into the DataGrid column menu, reusing existing i18n strings
- Clean up the page toolbar by removing the standalone button and lifting dialog state to the parent page

fix(connections): unify column order handling and resolve lint warnings

fix(connections): unify column order handling and enforce 0 ESLint warnings

- extract reconcileColumnOrder helper and reuse it across:
  - initial normalization (useEffect)
  - manager drag order handler (handleManagerOrderChange)
- derive columnOptions directly from the computed, sorted columns to keep a single source of truth and prevent dialog/grid drift
- connections.tsx: remove direct setState in useEffect; gate dialog open with `isTableLayout && isColumnManagerOpen`; clean up unused imports
- connection-column-manager.tsx: replace deprecated `primaryTypographyProps` with `slotProps`
- run full lint; project now has 0 warnings on main configuration

* feat(connection-table): safeguard column visibility

---------

Co-authored-by: Slinetrac <realakayuki@gmail.com>
2025-11-09 00:15:01 +08:00

33 lines
880 B
JSON

{
"page": {
"title": "Тоташулар"
},
"components": {
"fields": {
"host": "Хост",
"dlSpeed": "Йөкләү тизл.",
"ulSpeed": "Чыгару тизл.",
"chains": "Чылбырлар",
"rule": "Кагыйдә",
"process": "Процесс",
"time": "Тоташу вакыты",
"source": "Чыганак адресы",
"destination": "Максат IP-адресы",
"destinationPort": "Барасы порты",
"type": "Төр"
},
"order": {
"default": "Default",
"uploadSpeed": "Йөкләү (чыгару) тизлеге",
"downloadSpeed": "Йөкләү тизлеге"
},
"actions": {
"closeConnection": "Тоташуны ябу"
},
"columnManager": {
"title": "Баганалар",
"dragHandle": "Drag handle"
}
}
}