opt: ui and message

This commit is contained in:
Kingtous 2023-02-07 17:16:06 +08:00
parent 66aaf243cf
commit 29b1d106aa
33 changed files with 99 additions and 161 deletions

View File

@ -526,7 +526,7 @@ class _CmControlPanel extends StatelessWidget {
child: buildButton(context, child: buildButton(context,
color: Colors.red, color: Colors.red,
onClick: () => closeVoiceCall(), onClick: () => closeVoiceCall(),
icon: Icon(Icons.reply, color: Colors.white), icon: Icon(Icons.phone_disabled_rounded, color: Colors.white),
text: "Stop voice call", text: "Stop voice call",
textColor: Colors.white), textColor: Colors.white),
), ),
@ -548,7 +548,7 @@ class _CmControlPanel extends StatelessWidget {
onClick: () => handleVoiceCall(false), onClick: () => handleVoiceCall(false),
icon: icon:
Icon(Icons.phone_disabled_rounded, color: Colors.white), Icon(Icons.phone_disabled_rounded, color: Colors.white),
text: "Deny", text: "Dismiss",
textColor: Colors.white), textColor: Colors.white),
) )
], ],

View File

@ -446,10 +446,8 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
("FPS", ""), ("FPS", ""),
("Auto", ""), ("Auto", ""),
("Other Default Options", ""), ("Other Default Options", ""),
("Guest to Host", ""), ("Voice call", ""),
("Dual way", ""), ("Text chat", ""),
("Guest to host audio transmission", ""), ("Stop voice call", ""),
("Dual way audio transmission", ""),
("Audio Transmission Mode", ""),
].iter().cloned().collect(); ].iter().cloned().collect();
} }

View File

@ -446,13 +446,8 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
("FPS", "帧率"), ("FPS", "帧率"),
("Auto", "自动"), ("Auto", "自动"),
("Other Default Options", "其它默认选项"), ("Other Default Options", "其它默认选项"),
("Guest to Host", "被控到主机"),
("Dual way", "双向"),
("Guest to host audio transmission", "被控到主机音频传输"),
("Dual-way audio transmission", "双向音频传输"),
("Voice call", "语音通话"), ("Voice call", "语音通话"),
("Text chat", "文字聊天"), ("Text chat", "文字聊天"),
("Audio Transmission Mode", "音频传输模式"), ("Stop voice call", "停止语音聊天"),
("Refused", "已拒绝")
].iter().cloned().collect(); ].iter().cloned().collect();
} }

View File

@ -446,10 +446,8 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
("FPS", ""), ("FPS", ""),
("Auto", ""), ("Auto", ""),
("Other Default Options", ""), ("Other Default Options", ""),
("Guest to Host", ""), ("Voice call", ""),
("Dual way", ""), ("Text chat", ""),
("Guest to host audio transmission", ""), ("Stop voice call", ""),
("Dual way audio transmission", ""),
("Audio Transmission Mode", ""),
].iter().cloned().collect(); ].iter().cloned().collect();
} }

View File

@ -437,9 +437,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
("Switch Sides", ""), ("Switch Sides", ""),
("Please confirm if you want to share your desktop?", ""), ("Please confirm if you want to share your desktop?", ""),
("Closed as expected", ""), ("Closed as expected", ""),
("Guest to host audio transmission", ""),
("Dual way audio transmission", ""),
("Audio Transmission Mode", ""),
("Display", ""), ("Display", ""),
("Default View Style", ""), ("Default View Style", ""),
("Default Scroll Style", ""), ("Default Scroll Style", ""),
@ -449,5 +446,8 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
("FPS", ""), ("FPS", ""),
("Auto", ""), ("Auto", ""),
("Other Default Options", ""), ("Other Default Options", ""),
("Voice call", ""),
("Text chat", ""),
("Stop voice call", ""),
].iter().cloned().collect(); ].iter().cloned().collect();
} }

View File

@ -446,10 +446,8 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
("FPS", "fps"), ("FPS", "fps"),
("Auto", "Automatisch"), ("Auto", "Automatisch"),
("Other Default Options", "Weitere Standardoptionen"), ("Other Default Options", "Weitere Standardoptionen"),
("Guest to Host", ""), ("Voice call", ""),
("Dual way", ""), ("Text chat", ""),
("Guest to host audio transmission", ""), ("Stop voice call", ""),
("Dual way audio transmission", ""),
("Audio Transmission Mode", ""),
].iter().cloned().collect(); ].iter().cloned().collect();
} }

View File

@ -446,10 +446,8 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
("FPS", ""), ("FPS", ""),
("Auto", ""), ("Auto", ""),
("Other Default Options", ""), ("Other Default Options", ""),
("Guest to Host", ""), ("Voice call", ""),
("Dual way", ""), ("Text chat", ""),
("Guest to host audio transmission", ""), ("Stop voice call", ""),
("Dual way audio transmission", ""),
("Audio Transmission Mode", ""),
].iter().cloned().collect(); ].iter().cloned().collect();
} }

View File

@ -436,7 +436,7 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
("Strong", "Fuerte"), ("Strong", "Fuerte"),
("Switch Sides", "Intercambiar lados"), ("Switch Sides", "Intercambiar lados"),
("Please confirm if you want to share your desktop?", "Por favor, confirma si quieres compartir tu escritorio"), ("Please confirm if you want to share your desktop?", "Por favor, confirma si quieres compartir tu escritorio"),
("Closed as expected", "Cerrado como se esperaba"), ("Closed as expected", ""),
("Display", "Pantalla"), ("Display", "Pantalla"),
("Default View Style", "Estilo de vista predeterminado"), ("Default View Style", "Estilo de vista predeterminado"),
("Default Scroll Style", "Estilo de desplazamiento predeterminado"), ("Default Scroll Style", "Estilo de desplazamiento predeterminado"),
@ -446,9 +446,8 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
("FPS", ""), ("FPS", ""),
("Auto", ""), ("Auto", ""),
("Other Default Options", "Otras opciones predeterminadas"), ("Other Default Options", "Otras opciones predeterminadas"),
("Closed as expected", ""), ("Voice call", ""),
("Guest to host audio transmission", ""), ("Text chat", ""),
("Dual way audio transmission", ""), ("Stop voice call", ""),
("Audio Transmission Mode", ""),
].iter().cloned().collect(); ].iter().cloned().collect();
} }

View File

@ -446,10 +446,8 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
("FPS", "FPS"), ("FPS", "FPS"),
("Auto", "خودکار"), ("Auto", "خودکار"),
("Other Default Options", "سایر گزینه های پیش فرض"), ("Other Default Options", "سایر گزینه های پیش فرض"),
("Guest to Host", ""), ("Voice call", ""),
("Dual way", ""), ("Text chat", ""),
("Guest to host audio transmission", ""), ("Stop voice call", ""),
("Dual way audio transmission", ""),
("Audio Transmission Mode", ""),
].iter().cloned().collect(); ].iter().cloned().collect();
} }

View File

@ -446,10 +446,8 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
("FPS", "FPS"), ("FPS", "FPS"),
("Auto", "Auto"), ("Auto", "Auto"),
("Other Default Options", "Autres options par défaut"), ("Other Default Options", "Autres options par défaut"),
("Guest to Host", ""), ("Voice call", ""),
("Dual way", ""), ("Text chat", ""),
("Guest to host audio transmission", ""), ("Stop voice call", ""),
("Dual way audio transmission", ""),
("Audio Transmission Mode", ""),
].iter().cloned().collect(); ].iter().cloned().collect();
} }

View File

@ -446,10 +446,8 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
("FPS", ""), ("FPS", ""),
("Auto", ""), ("Auto", ""),
("Other Default Options", ""), ("Other Default Options", ""),
("Guest to Host", ""), ("Voice call", ""),
("Dual way", ""), ("Text chat", ""),
("Guest to host audio transmission", ""), ("Stop voice call", ""),
("Dual way audio transmission", ""),
("Audio Transmission Mode", ""),
].iter().cloned().collect(); ].iter().cloned().collect();
} }

View File

@ -446,10 +446,8 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
("FPS", ""), ("FPS", ""),
("Auto", ""), ("Auto", ""),
("Other Default Options", ""), ("Other Default Options", ""),
("Guest to Host", ""), ("Voice call", ""),
("Dual way", ""), ("Text chat", ""),
("Guest to host audio transmission", ""), ("Stop voice call", ""),
("Dual way audio transmission", ""),
("Audio Transmission Mode", ""),
].iter().cloned().collect(); ].iter().cloned().collect();
} }

View File

@ -446,10 +446,8 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
("FPS", ""), ("FPS", ""),
("Auto", ""), ("Auto", ""),
("Other Default Options", ""), ("Other Default Options", ""),
("Guest to Host", ""), ("Voice call", ""),
("Dual way", ""), ("Text chat", ""),
("Guest to host audio transmission", ""), ("Stop voice call", ""),
("Dual way audio transmission", ""),
("Audio Transmission Mode", ""),
].iter().cloned().collect(); ].iter().cloned().collect();
} }

View File

@ -446,10 +446,8 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
("FPS", "FPS"), ("FPS", "FPS"),
("Auto", "Auto"), ("Auto", "Auto"),
("Other Default Options", "Altre Opzioni Predefinite"), ("Other Default Options", "Altre Opzioni Predefinite"),
("Guest to Host", ""), ("Voice call", ""),
("Dual way", ""), ("Text chat", ""),
("Guest to host audio transmission", ""), ("Stop voice call", ""),
("Dual way audio transmission", ""),
("Audio Transmission Mode", ""),
].iter().cloned().collect(); ].iter().cloned().collect();
} }

View File

@ -446,10 +446,8 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
("FPS", ""), ("FPS", ""),
("Auto", ""), ("Auto", ""),
("Other Default Options", ""), ("Other Default Options", ""),
("Guest to Host", ""), ("Voice call", ""),
("Dual way", ""), ("Text chat", ""),
("Guest to host audio transmission", ""), ("Stop voice call", ""),
("Dual way audio transmission", ""),
("Audio Transmission Mode", ""),
].iter().cloned().collect(); ].iter().cloned().collect();
} }

View File

@ -446,10 +446,8 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
("FPS", ""), ("FPS", ""),
("Auto", ""), ("Auto", ""),
("Other Default Options", ""), ("Other Default Options", ""),
("Guest to Host", ""), ("Voice call", ""),
("Dual way", ""), ("Text chat", ""),
("Guest to host audio transmission", ""), ("Stop voice call", ""),
("Dual way audio transmission", ""),
("Audio Transmission Mode", ""),
].iter().cloned().collect(); ].iter().cloned().collect();
} }

View File

@ -446,10 +446,8 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
("FPS", ""), ("FPS", ""),
("Auto", ""), ("Auto", ""),
("Other Default Options", ""), ("Other Default Options", ""),
("Guest to Host", ""), ("Voice call", ""),
("Dual way", ""), ("Text chat", ""),
("Guest to host audio transmission", ""), ("Stop voice call", ""),
("Dual way audio transmission", ""),
("Audio Transmission Mode", ""),
].iter().cloned().collect(); ].iter().cloned().collect();
} }

View File

@ -446,10 +446,8 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
("FPS", "FPS"), ("FPS", "FPS"),
("Auto", "Auto"), ("Auto", "Auto"),
("Other Default Options", "Inne opcje domyślne"), ("Other Default Options", "Inne opcje domyślne"),
("Guest to Host", ""), ("Voice call", ""),
("Dual way", ""), ("Text chat", ""),
("Guest to host audio transmission", ""), ("Stop voice call", ""),
("Dual way audio transmission", ""),
("Audio Transmission Mode", ""),
].iter().cloned().collect(); ].iter().cloned().collect();
} }

View File

@ -446,10 +446,8 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
("FPS", ""), ("FPS", ""),
("Auto", ""), ("Auto", ""),
("Other Default Options", ""), ("Other Default Options", ""),
("Guest to Host", ""), ("Voice call", ""),
("Dual way", ""), ("Text chat", ""),
("Guest to host audio transmission", ""), ("Stop voice call", ""),
("Dual way audio transmission", ""),
("Audio Transmission Mode", ""),
].iter().cloned().collect(); ].iter().cloned().collect();
} }

View File

@ -446,10 +446,8 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
("FPS", ""), ("FPS", ""),
("Auto", ""), ("Auto", ""),
("Other Default Options", ""), ("Other Default Options", ""),
("Guest to Host", ""), ("Voice call", ""),
("Dual way", ""), ("Text chat", ""),
("Guest to host audio transmission", ""), ("Stop voice call", ""),
("Dual way audio transmission", ""),
("Audio Transmission Mode", ""),
].iter().cloned().collect(); ].iter().cloned().collect();
} }

View File

@ -446,10 +446,8 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
("FPS", ""), ("FPS", ""),
("Auto", ""), ("Auto", ""),
("Other Default Options", ""), ("Other Default Options", ""),
("Guest to Host", ""), ("Voice call", ""),
("Dual way", ""), ("Text chat", ""),
("Guest to host audio transmission", ""), ("Stop voice call", ""),
("Dual way audio transmission", ""),
("Audio Transmission Mode", ""),
].iter().cloned().collect(); ].iter().cloned().collect();
} }

View File

@ -435,8 +435,8 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
("Medium", "Средний"), ("Medium", "Средний"),
("Strong", "Стойкий"), ("Strong", "Стойкий"),
("Switch Sides", "Переключить стороны"), ("Switch Sides", "Переключить стороны"),
("Please confirm if you want to share your desktop?", "Подтверждаете, что хотите поделиться своим рабочим столом?"), ("Please confirm if you want to share your desktop?", "Подтвердите, что хотите поделиться своим рабочим столом?"),
("Closed as expected", "Закрыто по ожиданию"), ("Closed as expected", ""),
("Display", "Отображение"), ("Display", "Отображение"),
("Default View Style", "Стиль отображения по умолчанию"), ("Default View Style", "Стиль отображения по умолчанию"),
("Default Scroll Style", "Стиль прокрутки по умолчанию"), ("Default Scroll Style", "Стиль прокрутки по умолчанию"),
@ -446,10 +446,8 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
("FPS", "FPS"), ("FPS", "FPS"),
("Auto", "Авто"), ("Auto", "Авто"),
("Other Default Options", "Другие параметры по умолчанию"), ("Other Default Options", "Другие параметры по умолчанию"),
("Please confirm if you want to share your desktop?", "Подтвердите, что хотите поделиться своим рабочим столом?"), ("Voice call", ""),
("Closed as expected", ""), ("Text chat", ""),
("Guest to host audio transmission", ""), ("Stop voice call", ""),
("Dual way audio transmission", ""),
("Audio Transmission Mode", ""),
].iter().cloned().collect(); ].iter().cloned().collect();
} }

View File

@ -446,10 +446,8 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
("FPS", ""), ("FPS", ""),
("Auto", ""), ("Auto", ""),
("Other Default Options", ""), ("Other Default Options", ""),
("Guest to Host", ""), ("Voice call", ""),
("Dual way", ""), ("Text chat", ""),
("Guest to host audio transmission", ""), ("Stop voice call", ""),
("Dual way audio transmission", ""),
("Audio Transmission Mode", ""),
].iter().cloned().collect(); ].iter().cloned().collect();
} }

View File

@ -446,8 +446,8 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
("FPS", ""), ("FPS", ""),
("Auto", ""), ("Auto", ""),
("Other Default Options", ""), ("Other Default Options", ""),
("Guest to host audio transmission", ""), ("Voice call", ""),
("Dual way audio transmission", ""), ("Text chat", ""),
("Audio Transmission Mode", ""), ("Stop voice call", ""),
].iter().cloned().collect(); ].iter().cloned().collect();
} }

View File

@ -446,10 +446,8 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
("FPS", ""), ("FPS", ""),
("Auto", ""), ("Auto", ""),
("Other Default Options", ""), ("Other Default Options", ""),
("Guest to Host", ""), ("Voice call", ""),
("Dual way", ""), ("Text chat", ""),
("Guest to host audio transmission", ""), ("Stop voice call", ""),
("Dual way audio transmission", ""),
("Audio Transmission Mode", ""),
].iter().cloned().collect(); ].iter().cloned().collect();
} }

View File

@ -446,10 +446,8 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
("FPS", ""), ("FPS", ""),
("Auto", ""), ("Auto", ""),
("Other Default Options", ""), ("Other Default Options", ""),
("Guest to Host", ""), ("Voice call", ""),
("Dual way", ""), ("Text chat", ""),
("Guest to host audio transmission", ""), ("Stop voice call", ""),
("Dual way audio transmission", ""),
("Audio Transmission Mode", ""),
].iter().cloned().collect(); ].iter().cloned().collect();
} }

View File

@ -446,10 +446,8 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
("FPS", ""), ("FPS", ""),
("Auto", ""), ("Auto", ""),
("Other Default Options", ""), ("Other Default Options", ""),
("Guest to Host", ""), ("Voice call", ""),
("Dual way", ""), ("Text chat", ""),
("Guest to host audio transmission", ""), ("Stop voice call", ""),
("Dual way audio transmission", ""),
("Audio Transmission Mode", ""),
].iter().cloned().collect(); ].iter().cloned().collect();
} }

View File

@ -446,10 +446,8 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
("FPS", ""), ("FPS", ""),
("Auto", ""), ("Auto", ""),
("Other Default Options", ""), ("Other Default Options", ""),
("Guest to Host", ""), ("Voice call", ""),
("Dual way", ""), ("Text chat", ""),
("Guest to host audio transmission", ""), ("Stop voice call", ""),
("Dual way audio transmission", ""),
("Audio Transmission Mode", ""),
].iter().cloned().collect(); ].iter().cloned().collect();
} }

View File

@ -446,10 +446,8 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
("FPS", ""), ("FPS", ""),
("Auto", ""), ("Auto", ""),
("Other Default Options", ""), ("Other Default Options", ""),
("Guest to Host", ""), ("Voice call", ""),
("Dual way", ""), ("Text chat", ""),
("Guest to host audio transmission", ""), ("Stop voice call", ""),
("Dual way audio transmission", ""),
("Audio Transmission Mode", ""),
].iter().cloned().collect(); ].iter().cloned().collect();
} }

View File

@ -446,10 +446,8 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
("FPS", ""), ("FPS", ""),
("Auto", ""), ("Auto", ""),
("Other Default Options", ""), ("Other Default Options", ""),
("Guest to Host", ""), ("Voice call", ""),
("Dual way", ""), ("Text chat", ""),
("Guest to host audio transmission", ""), ("Stop voice call", ""),
("Dual way audio transmission", ""),
("Audio Transmission Mode", ""),
].iter().cloned().collect(); ].iter().cloned().collect();
} }

View File

@ -446,10 +446,8 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
("FPS", "幀率"), ("FPS", "幀率"),
("Auto", "自動"), ("Auto", "自動"),
("Other Default Options", "其它默認選項"), ("Other Default Options", "其它默認選項"),
("Guest to Host", ""), ("Voice call", ""),
("Dual way", ""), ("Text chat", ""),
("Guest to host audio transmission", ""), ("Stop voice call", ""),
("Dual way audio transmission", ""),
("Audio Transmission Mode", ""),
].iter().cloned().collect(); ].iter().cloned().collect();
} }

View File

@ -446,10 +446,8 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
("FPS", ""), ("FPS", ""),
("Auto", ""), ("Auto", ""),
("Other Default Options", ""), ("Other Default Options", ""),
("Guest to Host", ""), ("Voice call", ""),
("Dual way", ""), ("Text chat", ""),
("Guest to host audio transmission", ""), ("Stop voice call", ""),
("Dual way audio transmission", ""),
("Audio Transmission Mode", ""),
].iter().cloned().collect(); ].iter().cloned().collect();
} }

View File

@ -446,10 +446,8 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
("FPS", ""), ("FPS", ""),
("Auto", ""), ("Auto", ""),
("Other Default Options", ""), ("Other Default Options", ""),
("Guest to Host", ""), ("Voice call", ""),
("Dual way", ""), ("Text chat", ""),
("Guest to host audio transmission", ""), ("Stop voice call", ""),
("Dual way audio transmission", ""),
("Audio Transmission Mode", ""),
].iter().cloned().collect(); ].iter().cloned().collect();
} }