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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -436,7 +436,7 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
("Strong", "Fuerte"),
("Switch Sides", "Intercambiar lados"),
("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"),
("Default View Style", "Estilo de vista predeterminado"),
("Default Scroll Style", "Estilo de desplazamiento predeterminado"),
@ -446,9 +446,8 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
("FPS", ""),
("Auto", ""),
("Other Default Options", "Otras opciones predeterminadas"),
("Closed as expected", ""),
("Guest to host audio transmission", ""),
("Dual way audio transmission", ""),
("Audio Transmission Mode", ""),
("Voice call", ""),
("Text chat", ""),
("Stop voice call", ""),
].iter().cloned().collect();
}

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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