update localization

This commit is contained in:
True Zhuanjia
2024-07-01 18:06:08 +08:00
parent 34d9875ff3
commit e5cf54e92f
3 changed files with 24 additions and 2 deletions
@@ -305,6 +305,17 @@
}
}
},
"Host information updated" : {
"extractionState" : "manual",
"localizations" : {
"zh-Hans" : {
"stringUnit" : {
"state" : "translated",
"value" : "主机信息已更新"
}
}
}
},
"Host MAC unknown, unable to send WOL Packet" : {
"extractionState" : "manual",
"localizations" : {
@@ -505,6 +516,17 @@
}
}
},
"Offline" : {
"extractionState" : "manual",
"localizations" : {
"zh-Hans" : {
"stringUnit" : {
"state" : "translated",
"value" : "离线"
}
}
}
},
"Ok" : {
"extractionState" : "manual",
"localizations" : {
+1 -1
View File
@@ -193,7 +193,7 @@
}
if (![self addHostToDiscovery:host]) {
callback(nil, @"Host information updated");
callback(nil, [LocalizationHelper localizedStringForKey:@"Host information updated"]);
} else {
callback(host, nil);
}
@@ -452,7 +452,7 @@ static NSMutableSet* hostList;
switch (host.state) {
case StateOffline:
message = @"Offline";
message = [LocalizationHelper localizedStringForKey:@"Offline"];
break;
case StateOnline: