opt. for ssh page

This commit is contained in:
lollipopkit
2023-01-28 23:39:03 +08:00
parent f109aca484
commit e6458a1d7f
9 changed files with 142 additions and 30 deletions

View File

@@ -236,6 +236,9 @@ class MessageLookup extends MessageLookupByLibrary {
"sureNoPwd": MessageLookupByLibrary.simpleMessage(
"Are you sure to use no password?"),
"sureToDeleteServer": m14,
"termSize": MessageLookupByLibrary.simpleMessage("SSH Terminal size"),
"termSizeFormatError": MessageLookupByLibrary.simpleMessage(
"Illegal format, please enter the format of width*height, such as 80*24"),
"ttl": MessageLookupByLibrary.simpleMessage("ttl"),
"unknown": MessageLookupByLibrary.simpleMessage("unknown"),
"unknownError": MessageLookupByLibrary.simpleMessage("Unknown error"),
@@ -255,7 +258,8 @@ class MessageLookup extends MessageLookupByLibrary {
"versionUpdated": m17,
"waitConnection": MessageLookupByLibrary.simpleMessage(
"Please wait for the connection to be established."),
"willTakEeffectImmediately":
MessageLookupByLibrary.simpleMessage("Will take effect immediately")
"willTakEeffectImmediately": MessageLookupByLibrary.simpleMessage(
"Will take effect immediately"),
"wxh": MessageLookupByLibrary.simpleMessage("Width*Height")
};
}

View File

@@ -204,6 +204,9 @@ class MessageLookup extends MessageLookupByLibrary {
"sureDelete": m13,
"sureNoPwd": MessageLookupByLibrary.simpleMessage("确认使用无密码?"),
"sureToDeleteServer": m14,
"termSize": MessageLookupByLibrary.simpleMessage("SSH 终端大小"),
"termSizeFormatError":
MessageLookupByLibrary.simpleMessage("格式错误,请输入类似 80x24 的格式"),
"ttl": MessageLookupByLibrary.simpleMessage("缓存时间"),
"unknown": MessageLookupByLibrary.simpleMessage("未知"),
"unknownError": MessageLookupByLibrary.simpleMessage("未知错误"),
@@ -222,6 +225,7 @@ class MessageLookup extends MessageLookupByLibrary {
"versionUpdated": m17,
"waitConnection": MessageLookupByLibrary.simpleMessage("请等待连接建立"),
"willTakEeffectImmediately":
MessageLookupByLibrary.simpleMessage("更改将会立即生效")
MessageLookupByLibrary.simpleMessage("更改将会立即生效"),
"wxh": MessageLookupByLibrary.simpleMessage("宽度x高度")
};
}

View File

@@ -1530,6 +1530,36 @@ class S {
args: [url],
);
}
/// `SSH Terminal size`
String get termSize {
return Intl.message(
'SSH Terminal size',
name: 'termSize',
desc: '',
args: [],
);
}
/// `Width*Height`
String get wxh {
return Intl.message(
'Width*Height',
name: 'wxh',
desc: '',
args: [],
);
}
/// `Illegal format, please enter the format of width*height, such as 80*24`
String get termSizeFormatError {
return Intl.message(
'Illegal format, please enter the format of width*height, such as 80*24',
name: 'termSizeFormatError',
desc: '',
args: [],
);
}
}
class AppLocalizationDelegate extends LocalizationsDelegate<S> {