Refine message

This commit is contained in:
YFdyh000 2020-04-16 07:16:27 +08:00
parent 3b06b553eb
commit 8e37712175
4 changed files with 9 additions and 9 deletions

View file

@ -1209,7 +1209,7 @@ namespace v2rayN.Forms
{ {
if (args.Success) if (args.Success)
{ {
AppendText(false, UIRes.I18N("MsgParsingV2rayCoreSuccessfully")); AppendText(false, string.Format(UIRes.I18N("MsgParsingSuccessfully"), "v2rayN"));
string url = args.Msg; string url = args.Msg;
this.Invoke((MethodInvoker)(delegate this.Invoke((MethodInvoker)(delegate
@ -1267,7 +1267,7 @@ namespace v2rayN.Forms
{ {
if (args.Success) if (args.Success)
{ {
AppendText(false, UIRes.I18N("MsgParsingV2rayCoreSuccessfully")); AppendText(false, string.Format(UIRes.I18N("MsgParsingSuccessfully"), "v2rayCore"));
string url = args.Msg; string url = args.Msg;
this.Invoke((MethodInvoker)(delegate this.Invoke((MethodInvoker)(delegate

View file

@ -475,11 +475,11 @@ namespace v2rayN.Resx {
} }
/// <summary> /// <summary>
/// 查找类似 Resolve V2ray successfully 的本地化字符串。 /// 查找类似 Resolve {0} successfully 的本地化字符串。
/// </summary> /// </summary>
internal static string MsgParsingV2rayCoreSuccessfully { internal static string MsgParsingSuccessfully {
get { get {
return ResourceManager.GetString("MsgParsingV2rayCoreSuccessfully", resourceCulture); return ResourceManager.GetString("MsgParsingSuccessfully", resourceCulture);
} }
} }

View file

@ -255,8 +255,8 @@
<data name="MsgPACUpdateSuccessfully" xml:space="preserve"> <data name="MsgPACUpdateSuccessfully" xml:space="preserve">
<value>PAC update succeeded</value> <value>PAC update succeeded</value>
</data> </data>
<data name="MsgParsingV2rayCoreSuccessfully" xml:space="preserve"> <data name="MsgParsingSuccessfully" xml:space="preserve">
<value>Resolve V2ray successfully</value> <value>Resolve {0} successfully</value>
</data> </data>
<data name="MsgSimplifyPAC" xml:space="preserve"> <data name="MsgSimplifyPAC" xml:space="preserve">
<value>Simplify PAC Success</value> <value>Simplify PAC Success</value>

View file

@ -255,8 +255,8 @@
<data name="MsgPACUpdateSuccessfully" xml:space="preserve"> <data name="MsgPACUpdateSuccessfully" xml:space="preserve">
<value>PAC更新成功</value> <value>PAC更新成功</value>
</data> </data>
<data name="MsgParsingV2rayCoreSuccessfully" xml:space="preserve"> <data name="MsgParsingSuccessfully" xml:space="preserve">
<value>解析V2ray成功</value> <value>解析{0}成功</value>
</data> </data>
<data name="MsgSimplifyPAC" xml:space="preserve"> <data name="MsgSimplifyPAC" xml:space="preserve">
<value>简化PAC成功</value> <value>简化PAC成功</value>