T
timor.super
Hi group,
in my C# program, I have code like this :
ListItem item = new ListItem("Show All", string.Empty);
.....
<asp:Literal ID="Literal14" runat="server" Text="Something" />
....
What I would like to do is (in a translation purpose) to replace
constant string by resource, to optain something like this :
ListItem item = new ListItem(Resources.Messages.ShowAll,
string.Empty);
....
<asp:Literal ID="Literal14" runat="server" Text="<%$
Resources:Messages, Something %>" />
....
What I'm looking for could be a plugin (refactor, or something else)
that :
- can help me to find such string in my code (I have many many files,
and ctrl+f " can be long and not pertinent)
- can eventually help to replace this string with a resources one
Do you know something that can help me ?
Thanks for your help,
S.
in my C# program, I have code like this :
ListItem item = new ListItem("Show All", string.Empty);
.....
<asp:Literal ID="Literal14" runat="server" Text="Something" />
....
What I would like to do is (in a translation purpose) to replace
constant string by resource, to optain something like this :
ListItem item = new ListItem(Resources.Messages.ShowAll,
string.Empty);
....
<asp:Literal ID="Literal14" runat="server" Text="<%$
Resources:Messages, Something %>" />
....
What I'm looking for could be a plugin (refactor, or something else)
that :
- can help me to find such string in my code (I have many many files,
and ctrl+f " can be long and not pertinent)
- can eventually help to replace this string with a resources one
Do you know something that can help me ?
Thanks for your help,
S.