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

更正下载 GeoFile 之后的日志信息
This commit is contained in:
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) if (args.Success)
{ {
_updateFunc(false, UIRes.I18N("MsgDownloadV2rayCoreSuccessfully")); _updateFunc(false, string.Format(UIRes.I18N("MsgDownloadGeoFileSuccessfully"), geoName));
try 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> /// <summary>
/// 查找类似 Download Core successfully 的本地化字符串。 /// 查找类似 Download Core successfully 的本地化字符串。
/// </summary> /// </summary>

View file

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

View file

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