Localized the create window for new Scrips (js)
This commit is contained in:
@@ -327,6 +327,7 @@ any domain and just set the culture.]]></key>
|
||||
<key alias="welcome">Welcome...</key>
|
||||
<key alias="width">Width</key>
|
||||
<key alias="yes">Yes</key>
|
||||
<key alias="folder">Folder</key>
|
||||
</area>
|
||||
<area alias="graphicheadline">
|
||||
<key alias="backgroundcolor">Background color</key>
|
||||
|
||||
@@ -2,13 +2,12 @@
|
||||
|
||||
<input type="hidden" name="nodeType" value="-1"/>
|
||||
|
||||
Name: <asp:RequiredFieldValidator id="RequiredFieldValidator1" ErrorMessage="*" ControlToValidate="rename" runat="server">*</asp:RequiredFieldValidator><br />
|
||||
<%=umbraco.ui.Text("name")%>: <asp:RequiredFieldValidator id="RequiredFieldValidator1" ErrorMessage="*" ControlToValidate="rename" runat="server">*</asp:RequiredFieldValidator><br />
|
||||
<asp:TextBox id="rename" Runat="server" Width="350" CssClass="bigInput"></asp:TextBox>
|
||||
|
||||
<div style="MARGIN-TOP: 10px">
|
||||
Type:<br />
|
||||
<%=umbraco.ui.Text("type")%>:<br />
|
||||
<asp:ListBox id="scriptType" Runat="server" Width="350" CssClass="bigInput" Rows="1" SelectionMode="Single">
|
||||
<asp:ListItem Selected="True" Value="">Folder</asp:ListItem>
|
||||
</asp:ListBox>
|
||||
</div>
|
||||
|
||||
@@ -17,6 +16,6 @@ Type:<br />
|
||||
|
||||
<div style="MARGIN-TOP: 15px;">
|
||||
<asp:Button id="sbmt" Runat="server" style="MARGIN-TOP: 14px" Width="90"></asp:Button>
|
||||
<em> or </em>
|
||||
<em> <%=umbraco.ui.Text("or")%> </em>
|
||||
<a href="#" style="color: Blue; margin-left: 6px;" onclick="UmbClientMgr.closeModalWindow()"><%=umbraco.ui.Text("cancel")%></a>
|
||||
</div>
|
||||
@@ -1893,7 +1893,9 @@
|
||||
<Content Include="umbraco.presentation\umbraco\dialogs\republish.aspx" />
|
||||
<Content Include="umbraco.presentation\umbraco\dialogs\search.aspx" />
|
||||
<Content Include="umbraco.presentation\umbraco\dialogs\SendPublish.aspx" />
|
||||
<Content Include="umbraco.presentation\umbraco\create\script.ascx" />
|
||||
<Content Include="umbraco.presentation\umbraco\create\script.ascx">
|
||||
<SubType>ASPXCodeBehind</SubType>
|
||||
</Content>
|
||||
<Content Include="umbraco.presentation\umbraco\plugins\tinymce3\InsertAnchor.aspx" />
|
||||
<Content Include="umbraco.presentation\umbraco\plugins\tinymce3\insertChar.aspx" />
|
||||
<Content Include="umbraco.presentation\umbraco\webservices\TreeClientService.asmx" />
|
||||
|
||||
@@ -2,13 +2,12 @@
|
||||
|
||||
<input type="hidden" name="nodeType" value="-1"/>
|
||||
|
||||
Name: <asp:RequiredFieldValidator id="RequiredFieldValidator1" ErrorMessage="*" ControlToValidate="rename" runat="server">*</asp:RequiredFieldValidator><br />
|
||||
<%=umbraco.ui.Text("name")%>: <asp:RequiredFieldValidator id="RequiredFieldValidator1" ErrorMessage="*" ControlToValidate="rename" runat="server">*</asp:RequiredFieldValidator><br />
|
||||
<asp:TextBox id="rename" Runat="server" Width="350" CssClass="bigInput"></asp:TextBox>
|
||||
|
||||
<div style="MARGIN-TOP: 10px">
|
||||
Type:<br />
|
||||
<%=umbraco.ui.Text("type")%>:<br />
|
||||
<asp:ListBox id="scriptType" Runat="server" Width="350" CssClass="bigInput" Rows="1" SelectionMode="Single">
|
||||
<asp:ListItem Selected="True" Value="">Folder</asp:ListItem>
|
||||
</asp:ListBox>
|
||||
</div>
|
||||
|
||||
@@ -17,6 +16,6 @@ Type:<br />
|
||||
|
||||
<div style="MARGIN-TOP: 15px;">
|
||||
<asp:Button id="sbmt" Runat="server" style="MARGIN-TOP: 14px" Width="90"></asp:Button>
|
||||
<em> or </em>
|
||||
<em> <%=umbraco.ui.Text("or")%> </em>
|
||||
<a href="#" style="color: Blue; margin-left: 6px;" onclick="UmbClientMgr.closeModalWindow()"><%=umbraco.ui.Text("cancel")%></a>
|
||||
</div>
|
||||
@@ -72,6 +72,9 @@ namespace umbraco.presentation.umbraco.create
|
||||
|
||||
string[] fileTypes = UmbracoSettings.ScriptFileTypes.Split(',');
|
||||
|
||||
scriptType.Items.Add(new ListItem(ui.Text("folder"), ""));
|
||||
scriptType.Items.FindByText(ui.Text("folder")).Selected = true;
|
||||
|
||||
foreach (string str in fileTypes)
|
||||
{
|
||||
scriptType.Items.Add(new ListItem("." + str + " file", str));
|
||||
|
||||
@@ -1,10 +1,9 @@
|
||||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// This code was generated by a tool.
|
||||
// Runtime Version:2.0.50727.4200
|
||||
//
|
||||
// Changes to this file may cause incorrect behavior and will be lost if
|
||||
// the code is regenerated.
|
||||
// the code is regenerated.
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
|
||||
Reference in New Issue
Block a user