Add translation

This commit is contained in:
lollipopkit
2023-07-08 15:09:01 +08:00
parent 291c737a40
commit 814e9c853a
10 changed files with 55 additions and 13 deletions

View File

@@ -2,8 +2,8 @@
class BuildData {
static const String name = "ServerBox";
static const int build = 373;
static const int build = 375;
static const String engine = "3.10.5";
static const String buildAt = "2023-07-08 00:12:27.058306";
static const int modifications = 2;
static const String buildAt = "2023-07-08 14:54:40.994903";
static const int modifications = 12;
}

View File

@@ -34,6 +34,7 @@
"debug": "Debug",
"decode": "Decode",
"delete": "Löschen",
"disabled": "Behinderte",
"disconnected": "Disconnected",
"diskIgnorePath": "Pfad für Datenträger ignorieren",
"dl2Local": "Datei \"{fileName}\" herunterladen?",
@@ -46,6 +47,7 @@
"download": "Download",
"downloadStatus": "{percent}% von {size}",
"edit": "Bearbeiten",
"editVirtKeys": "Virtuelle Tasten bearbeiten",
"editor": "Editor",
"encode": "Encode",
"error": "Fehler",
@@ -64,6 +66,9 @@
"font": "Schriftarten",
"fontSize": "Schriftgröße",
"foundNUpdate": "Update {count} gefunden",
"fullScreen": "Vollbildmodus",
"fullScreenJitter": "Jitter im Vollbildmodus",
"fullScreenJitterHelp": "Einbrennen des Bildschirms verhindern",
"getPushTokenFailed": "Push-Token kann nicht abgerufen werden",
"gettingToken": "Getting token...",
"goto": "Pfad öffnen",
@@ -82,6 +87,8 @@
"isBusy": "Is busy now",
"keepForeground": "Stelle sicher, dass die App geöffnet bleibt.",
"keyAuth": "Schlüsselauthentifzierung",
"keyboardCompatibility": "Mögliche Verbesserungen bei der Kompatibilität der Eingabemethoden",
"keyboardType": "Tastatur Typ",
"language": "Sprache",
"languageName": "Deutsch",
"lastTry": "Letzter Versuch",
@@ -103,6 +110,7 @@
"newContainer": "Neuer Container",
"noClient": "Kein Client",
"noInterface": "Kein Interface",
"noOptions": "Keine Optionen verfügbar",
"noResult": "Kein Ergebnis",
"noSavedPrivateKey": "Keine gespeicherten Private Keys",
"noSavedSnippet": "Keine gespeicherten Snippets.",
@@ -138,6 +146,7 @@
"restoreSuccess": "Wiederherstellung erfolgreich. App neustarten um Änderungen anzuwenden.",
"restoreSureWithDate": "Bist du sicher, dass du das Backup vom {date} wiederherstellen möchtest?",
"result": "Result",
"rotateAngel": "Rotationswinkel",
"run": "Ausführen",
"save": "Speichern",
"saved": "Gerettet",

View File

@@ -110,6 +110,7 @@
"newContainer": "New container",
"noClient": "No client",
"noInterface": "No interface",
"noOptions": "No options",
"noResult": "No result",
"noSavedPrivateKey": "No saved private keys.",
"noSavedSnippet": "No saved snippets.",

View File

@@ -110,6 +110,7 @@
"newContainer": "新建容器",
"noClient": "没有SSH连接",
"noInterface": "没有可用的接口",
"noOptions": "无可选项",
"noResult": "无结果",
"noSavedPrivateKey": "没有已保存的私钥。",
"noSavedSnippet": "没有已保存的代码片段。",

View File

@@ -66,6 +66,9 @@
"font": "字體",
"fontSize": "字體大小",
"foundNUpdate": "找到 {count} 個更新",
"fullScreen": "全屏模式",
"fullScreenJitter": "全屏模式抖動",
"fullScreenJitterHelp": "防止燒屏",
"getPushTokenFailed": "未能獲取到推送token",
"gettingToken": "正在獲取Token...",
"goto": "前往",
@@ -107,6 +110,7 @@
"newContainer": "新建容器",
"noClient": "沒有SSH連接",
"noInterface": "沒有可用的接口",
"noOptions": "無可選項",
"noResult": "無結果",
"noSavedPrivateKey": "沒有已保存的私鑰。",
"noSavedSnippet": "沒有已保存的程式片段。",

View File

@@ -36,8 +36,8 @@ class _TagPickerState<T> extends State<TagPicker<T>> {
@override
Widget build(BuildContext context) {
final child = widget.tags.isEmpty
? Text(_s.noSavedSnippet)
final child = widget.tags.isEmpty && widget.items.isEmpty
? Text(_s.noOptions)
: Column(
mainAxisSize: MainAxisSize.min,
children: [