refact: translate tip id (#13412)

Signed-off-by: fufesou <linlong1266@gmail.com>
This commit is contained in:
fufesou
2025-11-04 08:56:43 +08:00
committed by GitHub
parent 5a812e3b2f
commit fef44ffa57
49 changed files with 50 additions and 50 deletions

View File

@@ -1631,7 +1631,7 @@ class _NetworkState extends State<_Network> with AutomaticKeepAliveClientMixin {
switchWidget(
Icons.web_asset_outlined,
'Use WebSocket',
'${translate('websocket_tip')}\n\n${translate('oss-not-support-tip')}',
'${translate('websocket_tip')}\n\n${translate('server-oss-not-support-tip')}',
kOptionAllowWebSocket),
if (!isWeb)
futureBuilder(
@@ -1656,7 +1656,7 @@ class _NetworkState extends State<_Network> with AutomaticKeepAliveClientMixin {
title: 'Disable UDP',
showTooltip: true,
tooltipMessage:
'${translate('disable-udp-tip')}\n\n${translate('oss-not-support-tip')}',
'${translate('disable-udp-tip')}\n\n${translate('server-oss-not-support-tip')}',
trailing: Switch(
value: bind.mainGetOptionSync(
key: kOptionDisableUdp) ==