提交 630b5c57 编写于 作者: D David Poeschl

Use resource for string

上级 0090f5af
......@@ -37,7 +37,7 @@ public void Do(IOleUndoManager pUndoManager)
public void GetDescription(out string pBstr)
{
pBstr = $"Rename '{_fromName}' to '{_toName}'";
pBstr = string.Format(ServicesVSResources.Rename_0_to_1, _fromName, _toName);
}
public void GetUnitType(out Guid pClsid, out int plID)
......
......@@ -2394,6 +2394,15 @@ internal class ServicesVSResources {
}
}
/// <summary>
/// Looks up a localized string similar to Rename {0} to {1}.
/// </summary>
internal static string Rename_0_to_1 {
get {
return ResourceManager.GetString("Rename_0_to_1", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Reorder.
/// </summary>
......
......@@ -1201,4 +1201,7 @@ I agree to all of the foregoing:</value>
<data name="Use_enhanced_colors_for_C_and_Basic" xml:space="preserve">
<value>Use enhanced colors for C# and Basic</value>
</data>
<data name="Rename_0_to_1" xml:space="preserve">
<value>Rename {0} to {1}</value>
</data>
</root>
\ No newline at end of file
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册