Merge pull request #1582 from pzhlkj6612/correct-geofile-download-progress-log-content

更正下载 GeoFile 之后的日志信息
pull/1607/head
2dust 2021-05-17 11:22:50 +08:00 committed by GitHub
commit 1a1e08753f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 16 additions and 1 deletions

View File

@ -245,7 +245,7 @@ namespace v2rayN.Handler
{
if (args.Success)
{
_updateFunc(false, UIRes.I18N("MsgDownloadV2rayCoreSuccessfully"));
_updateFunc(false, string.Format(UIRes.I18N("MsgDownloadGeoFileSuccessfully"), geoName));
try
{

View File

@ -456,6 +456,15 @@ namespace v2rayN.Resx {
}
}
/// <summary>
/// 查找类似 Download GeoFile: {0} successfully 的本地化字符串。
/// </summary>
internal static string MsgDownloadGeoFileSuccessfully {
get {
return ResourceManager.GetString("MsgDownloadGeoFileSuccessfully", resourceCulture);
}
}
/// <summary>
/// 查找类似 Download Core successfully 的本地化字符串。
/// </summary>

View File

@ -388,4 +388,7 @@
<data name="AddBatchRoutingRulesYesNo" xml:space="preserve">
<value>Do you want to append rules? Choose yes to append, choose otherwise to replace</value>
</data>
<data name="MsgDownloadGeoFileSuccessfully" xml:space="preserve">
<value>Download GeoFile: {0} successfully</value>
</data>
</root>

View File

@ -388,4 +388,7 @@
<data name="AddBatchRoutingRulesYesNo" xml:space="preserve">
<value>是否追加规则?选择是则追加,选择否则替换</value>
</data>
<data name="MsgDownloadGeoFileSuccessfully" xml:space="preserve">
<value>下载 GeoFile: {0} 成功</value>
</data>
</root>