File tree 6 files changed +24
-25
lines changed
6 files changed +24
-25
lines changed Original file line number Diff line number Diff line change 1
- <?xml version =" 1.0" encoding =" utf-8" ?>
2
- <configuration >
3
- <solution >
4
- <add key =" disableSourceControlIntegration" value =" true" />
5
- </solution >
1
+ <?xml version =" 1.0" encoding =" utf-8" ?>
2
+ <configuration >
3
+ <solution >
4
+ <add key =" disableSourceControlIntegration" value =" true" />
5
+ </solution >
6
6
</configuration >
Original file line number Diff line number Diff line change 3
3
<metadata >
4
4
<id >BVN.404Handler</id >
5
5
<title >404 Handler for EPiServer</title >
6
- <version >4.2.0 </version >
6
+ <version >4.2.1 </version >
7
7
<authors >BV Network</authors >
8
8
<owners >BV Network</owners >
9
9
<licenseUrl >https://www.coderesort.com/p/epicode/wiki/EpicodeLicense</licenseUrl >
Original file line number Diff line number Diff line change 1
1
<% @ Control Language= " C#" Inherits= " System.Web.Mvc.ViewUserControl<List<CustomRedirect>>" %>
2
2
<% @ Import Namespace= " BVNetwork.NotFound.Core.CustomRedirects" %>
3
- <% @ Import Namespace= " EPiServer.Core " %>
4
-
3
+ <% @ Import Namespace= " EPiServer.Framework.Localization " %>
4
+
5
5
<div class =" notfound" >
6
6
<div class =" epi-formArea" >
7
7
<fieldset >
8
- <%= string .Format(LanguageManager.Instance.Translate (" /gadget/redirects/deletedurls" ), Model.Count)%>
8
+ <%= string .Format(LocalizationService.Current.GetString (" /gadget/redirects/deletedurls" ), Model.Count)%>
9
9
10
10
</fieldset >
11
11
</div >
19
19
<tr >
20
20
<th >
21
21
<label >
22
- <%= LanguageManager.Instance .Translate(" /gadget/redirects/url" )%> </label >
22
+ <%= Html .Translate(" /gadget/redirects/url" )%> </label >
23
23
</th >
24
24
<th >  ; </th >
25
25
</tr >
Original file line number Diff line number Diff line change 1
1
<% @ Control Language= " C#" Inherits= " System.Web.Mvc.ViewUserControl<List<CustomRedirect>>" %>
2
2
<% @ Import Namespace= " BVNetwork.NotFound.Core.CustomRedirects" %>
3
3
<% @ Import Namespace= " EPiServer.Core" %>
4
-
4
+ <% @ Import Namespace= " EPiServer.Framework.Localization" %>
5
+
5
6
<div class =" notfound" >
6
7
<div class =" epi-formArea" >
7
8
<fieldset >
8
- <%= string .Format(LanguageManager.Instance.Translate (" /gadget/redirects/ignoredsuggestions" ), Model.Count)%>
9
+ <%= string .Format(LocalizationService.Current.GetString (" /gadget/redirects/ignoredsuggestions" ), Model.Count)%>
9
10
10
11
</fieldset >
11
12
</div >
16
17
<tr >
17
18
<th >
18
19
<label >
19
- <%= LanguageManager.Instance .Translate(" /gadget/redirects/url" )%> </label >
20
+ <%= Html .Translate(" /gadget/redirects/url" )%> </label >
20
21
</th >
21
22
<th >
22
- <%= LanguageManager.Instance .Translate(" /gadget/redirects/unignore" )%>
23
+ <%= Html .Translate(" /gadget/redirects/unignore" )%>
23
24
</th >
24
25
</tr >
25
26
</thead >
Original file line number Diff line number Diff line change 33
33
<tr >
34
34
<th >
35
35
<label >
36
- <%= LanguageManager.Instance .Translate(" /gadget/redirects/oldurl" )%> </label >
36
+ <%= Html .Translate(" /gadget/redirects/oldurl" )%> </label >
37
37
</th >
38
38
<th >
39
39
<label >
40
- <%= LanguageManager.Instance .Translate(" /gadget/redirects/newurl" )%> </label >
40
+ <%= Html .Translate(" /gadget/redirects/newurl" )%> </label >
41
41
</th >
42
42
<th style =" text-align : center " >
43
43
<label >
44
- <%= LanguageManager.Instance .Translate(" /gadget/redirects/wildcard" )%> </label >
44
+ <%= Html .Translate(" /gadget/redirects/wildcard" )%> </label >
45
45
</th >
46
46
<th >
47
47
</th >
75
75
<td class =" longer" >
76
76
<% if (m.State.Equals((int )DataStoreHandler.State.Ignored))
77
77
{%>
78
- <i >[<%= LanguageManager.Instance .Translate(" /gadget/redirects/ignored" )%> ]</i >
78
+ <i >[<%= Html .Translate(" /gadget/redirects/ignored" )%> ]</i >
79
79
<% }
80
80
else
81
81
{ %>
Original file line number Diff line number Diff line change 1
1
<% @ Control Language= " C#" Inherits= " System.Web.Mvc.ViewUserControl<BVNetwork.NotFound.Models.RedirectIndexViewData>" %>
2
-
3
2
<% @ Import Namespace= " BVNetwork.NotFound.Core" %>
4
3
<% @ Import Namespace= " BVNetwork.NotFound.Core.CustomRedirects" %>
5
4
<% @ Import Namespace= " BVNetwork.NotFound.Core.Data" %>
6
- <% @ Import Namespace= " EPiServer.Core" %>
7
- <% @ Import Namespace= " EPiServer.Shell.Web.Mvc.Html" %>
5
+ <% @ Import Namespace= " EPiServer.Framework.Localization" %>
8
6
<script type =" text/javascript" >
9
7
10
8
function replaceArrow (inputid ) {
39
37
<tr >
40
38
<th >
41
39
<label >
42
- <%= LanguageManager.Instance .Translate(" /gadget/redirects/oldurl" )%> </label >
40
+ <%= Html .Translate(" /gadget/redirects/oldurl" )%> </label >
43
41
</th >
44
42
<th >
45
43
<label >
46
- <%= LanguageManager.Instance .Translate(" /gadget/redirects/newurl" )%> </label >
44
+ <%= Html .Translate(" /gadget/redirects/newurl" )%> </label >
47
45
</th >
48
46
49
47
<th style =" text-align : center " >
50
48
<label >
51
- <%= LanguageManager.Instance .Translate(" /gadget/redirects/ignore" )%> </label >
49
+ <%= Html .Translate(" /gadget/redirects/ignore" )%> </label >
52
50
</th >
53
51
</tr >
54
52
</thead >
145
143
<td class =" shorter delete" >
146
144
<%= Html.ViewLink(
147
145
" " , // html helper
148
- LanguageManager.Instance.Translate (" /gadget/redirects/ignoreexplanation" ), // title
146
+ LocalizationService.Current.GetString (" /gadget/redirects/ignoreexplanation" ), // title
149
147
" IgnoreRedirect" , // Action name
150
148
" epi-quickLinksDelete epi-iconToolbar-item-link epi-iconToolbar-delete" , // css class
151
149
" Index" ,
You can’t perform that action at this time.
0 commit comments