refact, peer card menu, open in tabs or windows

Signed-off-by: dignow <linlong1265@gmail.com>
This commit is contained in:
dignow
2023-08-08 12:12:35 +08:00
parent 6b375cb0a3
commit ac88f55f25
41 changed files with 187 additions and 100 deletions

View File

@@ -524,7 +524,9 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
("exceed_max_devices", ""),
("Sync with recent sessions", ""),
("Sort tags", ""),
("Separate remote windows", ""),
("Open new connections in tabs", ""),
("Open in tabs", ""),
("Open in windows", ""),
("separate window", ""),
("Move tab to new window", ""),
].iter().cloned().collect();

View File

@@ -524,7 +524,9 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
("exceed_max_devices", "管理的设备数已达到最大值"),
("Sync with recent sessions", "同步最近会话"),
("Sort tags", "对标签进行排序"),
("Separate remote windows", "使用独立远程窗口"),
("Open new connections in tabs", "在选项卡中打开新连接"),
("Open in tabs", "在选项卡中打开"),
("Open in windows", "在新窗口中打开"),
("separate window", "独立窗口"),
("Move tab to new window", "将标签页移至新窗口"),
].iter().cloned().collect();

View File

@@ -524,7 +524,9 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
("exceed_max_devices", ""),
("Sync with recent sessions", ""),
("Sort tags", ""),
("Separate remote windows", ""),
("Open new connections in tabs", ""),
("Open in tabs", ""),
("Open in windows", ""),
("separate window", ""),
("Move tab to new window", ""),
].iter().cloned().collect();

View File

@@ -524,7 +524,9 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
("exceed_max_devices", ""),
("Sync with recent sessions", ""),
("Sort tags", ""),
("Separate remote windows", ""),
("Open new connections in tabs", ""),
("Open in tabs", ""),
("Open in windows", ""),
("separate window", ""),
("Move tab to new window", ""),
].iter().cloned().collect();

View File

@@ -524,7 +524,9 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
("exceed_max_devices", "Sie haben die maximale Anzahl der verwalteten Geräte erreicht."),
("Sync with recent sessions", "Synchronisierung mit den letzten Sitzungen"),
("Sort tags", "Tags sortieren"),
("Separate remote windows", "Separate entfernte Fenster"),
("Open new connections in tabs", ""),
("Open in tabs", ""),
("Open in windows", ""),
("separate window", "Separates Fenster"),
("Move tab to new window", "Tab in neues Fenster verschieben"),
].iter().cloned().collect();

View File

@@ -524,7 +524,9 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
("exceed_max_devices", ""),
("Sync with recent sessions", ""),
("Sort tags", ""),
("Separate remote windows", ""),
("Open new connections in tabs", ""),
("Open in tabs", ""),
("Open in windows", ""),
("separate window", ""),
("Move tab to new window", ""),
].iter().cloned().collect();

View File

@@ -524,7 +524,9 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
("exceed_max_devices", ""),
("Sync with recent sessions", ""),
("Sort tags", ""),
("Separate remote windows", ""),
("Open new connections in tabs", ""),
("Open in tabs", ""),
("Open in windows", ""),
("separate window", ""),
("Move tab to new window", ""),
].iter().cloned().collect();

View File

@@ -524,7 +524,9 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
("exceed_max_devices", "Has alcanzado el máximo número de dispositivos administrados."),
("Sync with recent sessions", "Sincronizar con sesiones recientes"),
("Sort tags", "Ordenar etiquetas"),
("Separate remote windows", ""),
("Open new connections in tabs", ""),
("Open in tabs", ""),
("Open in windows", ""),
("separate window", ""),
("Move tab to new window", ""),
].iter().cloned().collect();

View File

@@ -524,7 +524,9 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
("exceed_max_devices", ""),
("Sync with recent sessions", ""),
("Sort tags", ""),
("Separate remote windows", ""),
("Open new connections in tabs", ""),
("Open in tabs", ""),
("Open in windows", ""),
("separate window", ""),
("Move tab to new window", ""),
].iter().cloned().collect();

View File

@@ -524,7 +524,9 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
("exceed_max_devices", ""),
("Sync with recent sessions", ""),
("Sort tags", ""),
("Separate remote windows", ""),
("Open new connections in tabs", ""),
("Open in tabs", ""),
("Open in windows", ""),
("separate window", ""),
("Move tab to new window", ""),
].iter().cloned().collect();

View File

@@ -524,7 +524,9 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
("exceed_max_devices", ""),
("Sync with recent sessions", ""),
("Sort tags", ""),
("Separate remote windows", ""),
("Open new connections in tabs", ""),
("Open in tabs", ""),
("Open in windows", ""),
("separate window", ""),
("Move tab to new window", ""),
].iter().cloned().collect();

View File

@@ -524,7 +524,9 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
("exceed_max_devices", ""),
("Sync with recent sessions", ""),
("Sort tags", ""),
("Separate remote windows", ""),
("Open new connections in tabs", ""),
("Open in tabs", ""),
("Open in windows", ""),
("separate window", ""),
("Move tab to new window", ""),
].iter().cloned().collect();

View File

@@ -524,7 +524,9 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
("exceed_max_devices", "Hai raggiunto il numero massimo di dispositivi gestibili."),
("Sync with recent sessions", "Sincronizza con le sessioni recenti"),
("Sort tags", "Ordina etichette"),
("Separate remote windows", "Separa finestre remote"),
("Open new connections in tabs", ""),
("Open in tabs", ""),
("Open in windows", ""),
("separate window", "Separa finestra"),
("Move tab to new window", "Sposta scheda nella finestra successiva"),
].iter().cloned().collect();

View File

@@ -524,7 +524,9 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
("exceed_max_devices", ""),
("Sync with recent sessions", ""),
("Sort tags", ""),
("Separate remote windows", ""),
("Open new connections in tabs", ""),
("Open in tabs", ""),
("Open in windows", ""),
("separate window", ""),
("Move tab to new window", ""),
].iter().cloned().collect();

View File

@@ -524,7 +524,9 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
("exceed_max_devices", ""),
("Sync with recent sessions", ""),
("Sort tags", ""),
("Separate remote windows", ""),
("Open new connections in tabs", ""),
("Open in tabs", ""),
("Open in windows", ""),
("separate window", ""),
("Move tab to new window", ""),
].iter().cloned().collect();

View File

@@ -524,7 +524,9 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
("exceed_max_devices", ""),
("Sync with recent sessions", ""),
("Sort tags", ""),
("Separate remote windows", ""),
("Open new connections in tabs", ""),
("Open in tabs", ""),
("Open in windows", ""),
("separate window", ""),
("Move tab to new window", ""),
].iter().cloned().collect();

View File

@@ -524,7 +524,9 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
("exceed_max_devices", ""),
("Sync with recent sessions", ""),
("Sort tags", ""),
("Separate remote windows", ""),
("Open new connections in tabs", ""),
("Open in tabs", ""),
("Open in windows", ""),
("separate window", ""),
("Move tab to new window", ""),
].iter().cloned().collect();

View File

@@ -524,7 +524,9 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
("exceed_max_devices", "Het maximum aantal gecontroleerde apparaten is bereikt."),
("Sync with recent sessions", "Recente sessies synchroniseren"),
("Sort tags", "Labels sorteren"),
("Separate remote windows", ""),
("Open new connections in tabs", ""),
("Open in tabs", ""),
("Open in windows", ""),
("separate window", ""),
("Move tab to new window", ""),
].iter().cloned().collect();

View File

@@ -524,7 +524,9 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
("exceed_max_devices", "Przekroczona maks. liczba urządzeń"),
("Sync with recent sessions", "Synchronizacja z ostatnimi sesjami"),
("Sort tags", "Znaczniki sortowania"),
("Separate remote windows", "Oddzielne zdalne okna"),
("Open new connections in tabs", ""),
("Open in tabs", ""),
("Open in windows", ""),
("separate window", "oddzielne okno"),
("Move tab to new window", "Przenieś zakładkę do nowego okna"),
].iter().cloned().collect();

View File

@@ -524,7 +524,9 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
("exceed_max_devices", ""),
("Sync with recent sessions", ""),
("Sort tags", ""),
("Separate remote windows", ""),
("Open new connections in tabs", ""),
("Open in tabs", ""),
("Open in windows", ""),
("separate window", ""),
("Move tab to new window", ""),
].iter().cloned().collect();

View File

@@ -524,7 +524,9 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
("exceed_max_devices", ""),
("Sync with recent sessions", ""),
("Sort tags", ""),
("Separate remote windows", ""),
("Open new connections in tabs", ""),
("Open in tabs", ""),
("Open in windows", ""),
("separate window", ""),
("Move tab to new window", ""),
].iter().cloned().collect();

View File

@@ -524,7 +524,9 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
("exceed_max_devices", ""),
("Sync with recent sessions", ""),
("Sort tags", ""),
("Separate remote windows", ""),
("Open new connections in tabs", ""),
("Open in tabs", ""),
("Open in windows", ""),
("separate window", ""),
("Move tab to new window", ""),
].iter().cloned().collect();

View File

@@ -524,7 +524,9 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
("exceed_max_devices", "Достигнуто максимальне количество управляемых устройств."),
("Sync with recent sessions", "Синхронизация последних сессий"),
("Sort tags", "Сортировка меток"),
("Separate remote windows", "Отдельные удалённые окна"),
("Open new connections in tabs", ""),
("Open in tabs", ""),
("Open in windows", ""),
("separate window", "отдельное окно"),
("Move tab to new window", "Переместить вкладку в отдельное окно"),
].iter().cloned().collect();

View File

@@ -524,7 +524,9 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
("exceed_max_devices", ""),
("Sync with recent sessions", ""),
("Sort tags", ""),
("Separate remote windows", ""),
("Open new connections in tabs", ""),
("Open in tabs", ""),
("Open in windows", ""),
("separate window", ""),
("Move tab to new window", ""),
].iter().cloned().collect();

View File

@@ -524,7 +524,9 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
("exceed_max_devices", ""),
("Sync with recent sessions", ""),
("Sort tags", ""),
("Separate remote windows", ""),
("Open new connections in tabs", ""),
("Open in tabs", ""),
("Open in windows", ""),
("separate window", ""),
("Move tab to new window", ""),
].iter().cloned().collect();

View File

@@ -524,7 +524,9 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
("exceed_max_devices", ""),
("Sync with recent sessions", ""),
("Sort tags", ""),
("Separate remote windows", ""),
("Open new connections in tabs", ""),
("Open in tabs", ""),
("Open in windows", ""),
("separate window", ""),
("Move tab to new window", ""),
].iter().cloned().collect();

View File

@@ -524,7 +524,9 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
("exceed_max_devices", ""),
("Sync with recent sessions", ""),
("Sort tags", ""),
("Separate remote windows", ""),
("Open new connections in tabs", ""),
("Open in tabs", ""),
("Open in windows", ""),
("separate window", ""),
("Move tab to new window", ""),
].iter().cloned().collect();

View File

@@ -524,7 +524,9 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
("exceed_max_devices", ""),
("Sync with recent sessions", ""),
("Sort tags", ""),
("Separate remote windows", ""),
("Open new connections in tabs", ""),
("Open in tabs", ""),
("Open in windows", ""),
("separate window", ""),
("Move tab to new window", ""),
].iter().cloned().collect();

View File

@@ -524,7 +524,9 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
("exceed_max_devices", ""),
("Sync with recent sessions", ""),
("Sort tags", ""),
("Separate remote windows", ""),
("Open new connections in tabs", ""),
("Open in tabs", ""),
("Open in windows", ""),
("separate window", ""),
("Move tab to new window", ""),
].iter().cloned().collect();

View File

@@ -524,7 +524,9 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
("exceed_max_devices", ""),
("Sync with recent sessions", ""),
("Sort tags", ""),
("Separate remote windows", ""),
("Open new connections in tabs", ""),
("Open in tabs", ""),
("Open in windows", ""),
("separate window", ""),
("Move tab to new window", ""),
].iter().cloned().collect();

View File

@@ -524,7 +524,9 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
("exceed_max_devices", ""),
("Sync with recent sessions", ""),
("Sort tags", ""),
("Separate remote windows", ""),
("Open new connections in tabs", ""),
("Open in tabs", ""),
("Open in windows", ""),
("separate window", ""),
("Move tab to new window", ""),
].iter().cloned().collect();

View File

@@ -524,7 +524,9 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
("exceed_max_devices", ""),
("Sync with recent sessions", ""),
("Sort tags", ""),
("Separate remote windows", ""),
("Open new connections in tabs", ""),
("Open in tabs", ""),
("Open in windows", ""),
("separate window", ""),
("Move tab to new window", ""),
].iter().cloned().collect();

View File

@@ -524,7 +524,9 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
("exceed_max_devices", ""),
("Sync with recent sessions", ""),
("Sort tags", ""),
("Separate remote windows", ""),
("Open new connections in tabs", ""),
("Open in tabs", ""),
("Open in windows", ""),
("separate window", ""),
("Move tab to new window", ""),
].iter().cloned().collect();

View File

@@ -524,7 +524,9 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
("exceed_max_devices", ""),
("Sync with recent sessions", ""),
("Sort tags", ""),
("Separate remote windows", ""),
("Open new connections in tabs", ""),
("Open in tabs", ""),
("Open in windows", ""),
("separate window", ""),
("Move tab to new window", ""),
].iter().cloned().collect();