Lots more localisation changes

This commit is contained in:
Thomas Hounsell 2015-07-27 09:34:32 +01:00
parent 40933862b0
commit 4e5783a5ea
29 changed files with 550 additions and 134 deletions

View File

@ -14,7 +14,7 @@
<AppDesignerFolder>Properties</AppDesignerFolder> <AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>BuildFeed</RootNamespace> <RootNamespace>BuildFeed</RootNamespace>
<AssemblyName>BuildFeed</AssemblyName> <AssemblyName>BuildFeed</AssemblyName>
<TargetFrameworkVersion>v4.5.2</TargetFrameworkVersion> <TargetFrameworkVersion>v4.6</TargetFrameworkVersion>
<MvcBuildViews>false</MvcBuildViews> <MvcBuildViews>false</MvcBuildViews>
<UseIISExpress>true</UseIISExpress> <UseIISExpress>true</UseIISExpress>
<IISExpressSSLPort /> <IISExpressSSLPort />
@ -55,29 +55,29 @@
<HintPath>..\packages\Humanizer.1.37.0\lib\portable-win+net40+sl50+wp8+wpa81+MonoAndroid10+MonoTouch10+Xamarin.iOS10\Humanizer.dll</HintPath> <HintPath>..\packages\Humanizer.1.37.0\lib\portable-win+net40+sl50+wp8+wpa81+MonoAndroid10+MonoTouch10+Xamarin.iOS10\Humanizer.dll</HintPath>
<Private>True</Private> <Private>True</Private>
</Reference> </Reference>
<Reference Include="Microsoft.ApplicationInsights, Version=1.0.0.4220, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL"> <Reference Include="Microsoft.ApplicationInsights, Version=1.1.0.1899, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
<HintPath>..\packages\Microsoft.ApplicationInsights.1.0.0\lib\net45\Microsoft.ApplicationInsights.dll</HintPath> <HintPath>..\packages\Microsoft.ApplicationInsights.1.1.0\lib\net45\Microsoft.ApplicationInsights.dll</HintPath>
<Private>True</Private> <Private>True</Private>
</Reference> </Reference>
<Reference Include="Microsoft.ApplicationInsights.Extensibility.DependencyCollector, Version=1.0.0.4227, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL"> <Reference Include="Microsoft.ApplicationInsights.Extensibility.DependencyCollector, Version=1.1.0.1909, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
<HintPath>..\packages\Microsoft.ApplicationInsights.DependencyCollector.1.0.0\lib\net45\Microsoft.ApplicationInsights.Extensibility.DependencyCollector.dll</HintPath> <HintPath>..\packages\Microsoft.ApplicationInsights.DependencyCollector.1.1.0\lib\net45\Microsoft.ApplicationInsights.Extensibility.DependencyCollector.dll</HintPath>
<Private>True</Private> <Private>True</Private>
</Reference> </Reference>
<Reference Include="Microsoft.ApplicationInsights.Extensibility.PerfCounterCollector, Version=1.0.0.4231, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL"> <Reference Include="Microsoft.ApplicationInsights.Extensibility.PerfCounterCollector, Version=1.1.0.1914, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
<HintPath>..\packages\Microsoft.ApplicationInsights.PerfCounterCollector.1.0.0\lib\net45\Microsoft.ApplicationInsights.Extensibility.PerfCounterCollector.dll</HintPath> <HintPath>..\packages\Microsoft.ApplicationInsights.PerfCounterCollector.1.1.0\lib\net45\Microsoft.ApplicationInsights.Extensibility.PerfCounterCollector.dll</HintPath>
<Private>True</Private> <Private>True</Private>
</Reference> </Reference>
<Reference Include="Microsoft.ApplicationInsights.Extensibility.Web, Version=1.0.0.4227, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL"> <Reference Include="Microsoft.ApplicationInsights.Extensibility.Web, Version=1.1.0.1909, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
<HintPath>..\packages\Microsoft.ApplicationInsights.Web.1.0.0\lib\net45\Microsoft.ApplicationInsights.Extensibility.Web.dll</HintPath> <HintPath>..\packages\Microsoft.ApplicationInsights.Web.1.1.0\lib\net45\Microsoft.ApplicationInsights.Extensibility.Web.dll</HintPath>
<Private>True</Private> <Private>True</Private>
</Reference> </Reference>
<Reference Include="Microsoft.ApplicationInsights.Web.TelemetryChannel, Version=1.0.0.4227, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL"> <Reference Include="Microsoft.ApplicationInsights.Web.TelemetryChannel, Version=1.1.0.1909, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
<HintPath>..\packages\Microsoft.ApplicationInsights.Web.TelemetryChannel.1.0.0\lib\net45\Microsoft.ApplicationInsights.Web.TelemetryChannel.dll</HintPath> <HintPath>..\packages\Microsoft.ApplicationInsights.Web.TelemetryChannel.1.1.0\lib\net45\Microsoft.ApplicationInsights.Web.TelemetryChannel.dll</HintPath>
<Private>True</Private> <Private>True</Private>
</Reference> </Reference>
<Reference Include="Microsoft.CSharp" /> <Reference Include="Microsoft.CSharp" />
<Reference Include="Microsoft.Diagnostics.Instrumentation.Extensions.Intercept, Version=0.17.0.194, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL"> <Reference Include="Microsoft.Diagnostics.Instrumentation.Extensions.Intercept, Version=1.0.0.161, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
<HintPath>..\packages\Microsoft.ApplicationInsights.Agent.Intercept.0.17.0\lib\net45\Microsoft.Diagnostics.Instrumentation.Extensions.Intercept.dll</HintPath> <HintPath>..\packages\Microsoft.ApplicationInsights.Agent.Intercept.1.0.0\lib\net45\Microsoft.Diagnostics.Instrumentation.Extensions.Intercept.dll</HintPath>
<Private>True</Private> <Private>True</Private>
</Reference> </Reference>
<Reference Include="Microsoft.Threading.Tasks"> <Reference Include="Microsoft.Threading.Tasks">
@ -236,6 +236,11 @@
<DesignTime>True</DesignTime> <DesignTime>True</DesignTime>
<DependentUpon>Model.resx</DependentUpon> <DependentUpon>Model.resx</DependentUpon>
</Compile> </Compile>
<Compile Include="Local\Support.Designer.cs">
<AutoGen>True</AutoGen>
<DesignTime>True</DesignTime>
<DependentUpon>Support.resx</DependentUpon>
</Compile>
<Compile Include="Models\ApiModel\NewBuild.cs" /> <Compile Include="Models\ApiModel\NewBuild.cs" />
<Compile Include="Models\ApiModel\SearchResult.cs" /> <Compile Include="Models\ApiModel\SearchResult.cs" />
<Compile Include="Models\Build.cs" /> <Compile Include="Models\Build.cs" />
@ -421,6 +426,10 @@
<LastGenOutput>Model.Designer.cs</LastGenOutput> <LastGenOutput>Model.Designer.cs</LastGenOutput>
<SubType>Designer</SubType> <SubType>Designer</SubType>
</EmbeddedResource> </EmbeddedResource>
<EmbeddedResource Include="Local\Support.resx">
<Generator>PublicResXFileCodeGenerator</Generator>
<LastGenOutput>Support.Designer.cs</LastGenOutput>
</EmbeddedResource>
</ItemGroup> </ItemGroup>
<PropertyGroup> <PropertyGroup>
<VisualStudioVersion Condition="'$(VisualStudioVersion)' == ''">10.0</VisualStudioVersion> <VisualStudioVersion Condition="'$(VisualStudioVersion)' == ''">10.0</VisualStudioVersion>
@ -458,9 +467,7 @@
<Error Condition="!Exists('..\packages\Microsoft.Bcl.Build.1.0.21\build\Microsoft.Bcl.Build.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\Microsoft.Bcl.Build.1.0.21\build\Microsoft.Bcl.Build.targets'))" /> <Error Condition="!Exists('..\packages\Microsoft.Bcl.Build.1.0.21\build\Microsoft.Bcl.Build.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\Microsoft.Bcl.Build.1.0.21\build\Microsoft.Bcl.Build.targets'))" />
<Error Condition="!Exists('..\packages\Microsoft.Diagnostics.Instrumentation.Extensions.Intercept.0.13.0-build22724\build\Microsoft.Diagnostics.Instrumentation.Extensions.Intercept.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\Microsoft.Diagnostics.Instrumentation.Extensions.Intercept.0.13.0-build22724\build\Microsoft.Diagnostics.Instrumentation.Extensions.Intercept.targets'))" /> <Error Condition="!Exists('..\packages\Microsoft.Diagnostics.Instrumentation.Extensions.Intercept.0.13.0-build22724\build\Microsoft.Diagnostics.Instrumentation.Extensions.Intercept.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\Microsoft.Diagnostics.Instrumentation.Extensions.Intercept.0.13.0-build22724\build\Microsoft.Diagnostics.Instrumentation.Extensions.Intercept.targets'))" />
<Error Condition="!Exists('..\packages\Microsoft.Diagnostics.Tracing.EventSource.Redist.1.1.20-beta\build\portable-net45+win8+wpa81\Microsoft.Diagnostics.Tracing.EventSource.Redist.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\Microsoft.Diagnostics.Tracing.EventSource.Redist.1.1.20-beta\build\portable-net45+win8+wpa81\Microsoft.Diagnostics.Tracing.EventSource.Redist.targets'))" /> <Error Condition="!Exists('..\packages\Microsoft.Diagnostics.Tracing.EventSource.Redist.1.1.20-beta\build\portable-net45+win8+wpa81\Microsoft.Diagnostics.Tracing.EventSource.Redist.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\Microsoft.Diagnostics.Tracing.EventSource.Redist.1.1.20-beta\build\portable-net45+win8+wpa81\Microsoft.Diagnostics.Tracing.EventSource.Redist.targets'))" />
<Error Condition="!Exists('..\packages\Microsoft.ApplicationInsights.Agent.Intercept.0.17.0\build\Microsoft.ApplicationInsights.Agent.Intercept.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\Microsoft.ApplicationInsights.Agent.Intercept.0.17.0\build\Microsoft.ApplicationInsights.Agent.Intercept.targets'))" />
</Target> </Target>
<Import Project="..\packages\Microsoft.ApplicationInsights.Agent.Intercept.0.17.0\build\Microsoft.ApplicationInsights.Agent.Intercept.targets" Condition="Exists('..\packages\Microsoft.ApplicationInsights.Agent.Intercept.0.17.0\build\Microsoft.ApplicationInsights.Agent.Intercept.targets')" />
<!-- To modify your build process, add your task inside one of the targets below and uncomment it. <!-- To modify your build process, add your task inside one of the targets below and uncomment it.
Other similar extension points exist, see Microsoft.Common.targets. Other similar extension points exist, see Microsoft.Common.targets.
<Target Name="BeforeBuild"> <Target Name="BeforeBuild">

View File

@ -1,4 +1,6 @@
using System.ComponentModel.DataAnnotations; using System;
using System.ComponentModel.DataAnnotations;
using System.Globalization;
using System.Linq; using System.Linq;
namespace BuildFeed namespace BuildFeed
@ -21,5 +23,14 @@ public static string GetDisplayTextForEnum(object o)
return result ?? o.ToString(); return result ?? o.ToString();
} }
public static string ToLongDateWithoutDay(this DateTime dt)
{
string s = CultureInfo.CurrentUICulture.DateTimeFormat.LongDatePattern;
s = s.Replace("dddd", "").Replace("ddd", "");
s = s.Trim(new char[] {' ', ','});
return dt.ToString(s);
}
} }
} }

View File

@ -1,7 +1,7 @@
//------------------------------------------------------------------------------ //------------------------------------------------------------------------------
// <auto-generated> // <auto-generated>
// This code was generated by a tool. // This code was generated by a tool.
// Runtime Version:4.0.30319.0 // Runtime Version:4.0.30319.42000
// //
// Changes to this file may cause incorrect behavior and will be lost if // Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated. // the code is regenerated.

View File

@ -1,7 +1,7 @@
//------------------------------------------------------------------------------ //------------------------------------------------------------------------------
// <auto-generated> // <auto-generated>
// This code was generated by a tool. // This code was generated by a tool.
// Runtime Version:4.0.30319.0 // Runtime Version:4.0.30319.42000
// //
// Changes to this file may cause incorrect behavior and will be lost if // Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated. // the code is regenerated.

View File

@ -1,7 +1,7 @@
//------------------------------------------------------------------------------ //------------------------------------------------------------------------------
// <auto-generated> // <auto-generated>
// This code was generated by a tool. // This code was generated by a tool.
// Runtime Version:4.0.30319.0 // Runtime Version:4.0.30319.42000
// //
// Changes to this file may cause incorrect behavior and will be lost if // Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated. // the code is regenerated.

225
BuildFeed/Local/Support.Designer.cs generated Normal file
View File

@ -0,0 +1,225 @@
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.42000
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
namespace BuildFeed.Local {
using System;
/// <summary>
/// A strongly-typed resource class, for looking up localized strings, etc.
/// </summary>
// This class was auto-generated by the StronglyTypedResourceBuilder
// class via a tool like ResGen or Visual Studio.
// To add or remove a member, edit your .ResX file then rerun ResGen
// with the /str option, or rebuild your VS project.
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "4.0.0.0")]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
public class Support {
private static global::System.Resources.ResourceManager resourceMan;
private static global::System.Globalization.CultureInfo resourceCulture;
[global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
internal Support() {
}
/// <summary>
/// Returns the cached ResourceManager instance used by this class.
/// </summary>
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
public static global::System.Resources.ResourceManager ResourceManager {
get {
if (object.ReferenceEquals(resourceMan, null)) {
global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("BuildFeed.Local.Support", typeof(Support).Assembly);
resourceMan = temp;
}
return resourceMan;
}
}
/// <summary>
/// Overrides the current thread's CurrentUICulture property for all
/// resource lookups using this strongly typed resource class.
/// </summary>
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
public static global::System.Globalization.CultureInfo Culture {
get {
return resourceCulture;
}
set {
resourceCulture = value;
}
}
/// <summary>
/// Looks up a localized string similar to Every account is validated by an Administrator, so be patient and check again later..
/// </summary>
public static string AccountValidation {
get {
return ResourceManager.GetString("AccountValidation", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Change your password.
/// </summary>
public static string ChangePassword {
get {
return ResourceManager.GetString("ChangePassword", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Confirm new password.
/// </summary>
public static string ConfirmNewPassword {
get {
return ResourceManager.GetString("ConfirmNewPassword", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Confirm password.
/// </summary>
public static string ConfirmPassword {
get {
return ResourceManager.GetString("ConfirmPassword", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Email address.
/// </summary>
public static string EmailAddress {
get {
return ResourceManager.GetString("EmailAddress", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Enter current password.
/// </summary>
public static string EnterCurrentPassword {
get {
return ResourceManager.GetString("EnterCurrentPassword", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Enter new password.
/// </summary>
public static string EnterNewPassword {
get {
return ResourceManager.GetString("EnterNewPassword", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Enter password.
/// </summary>
public static string EnterPassword {
get {
return ResourceManager.GetString("EnterPassword", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Highest version.
/// </summary>
public static string HighestVersion {
get {
return ResourceManager.GetString("HighestVersion", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Log in.
/// </summary>
public static string Login {
get {
return ResourceManager.GetString("Login", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Password.
/// </summary>
public static string Password {
get {
return ResourceManager.GetString("Password", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Recently added.
/// </summary>
public static string RecentlyAdded {
get {
return ResourceManager.GetString("RecentlyAdded", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Recently compiled.
/// </summary>
public static string RecentlyCompiled {
get {
return ResourceManager.GetString("RecentlyCompiled", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Recently leaked.
/// </summary>
public static string RecentlyLeaked {
get {
return ResourceManager.GetString("RecentlyLeaked", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Register.
/// </summary>
public static string Register {
get {
return ResourceManager.GetString("Register", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Remember me.
/// </summary>
public static string RememberMe {
get {
return ResourceManager.GetString("RememberMe", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Thank you for registering.
/// </summary>
public static string ThanksRegister {
get {
return ResourceManager.GetString("ThanksRegister", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Username.
/// </summary>
public static string UserName {
get {
return ResourceManager.GetString("UserName", resourceCulture);
}
}
}
}

View File

@ -0,0 +1,174 @@
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 2.0
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
<value>[base64 mime encoded serialized .NET Framework object]</value>
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
<comment>This is a comment</comment>
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="metadata">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" />
</xsd:sequence>
<xsd:attribute name="name" use="required" type="xsd:string" />
<xsd:attribute name="type" type="xsd:string" />
<xsd:attribute name="mimetype" type="xsd:string" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="assembly">
<xsd:complexType>
<xsd:attribute name="alias" type="xsd:string" />
<xsd:attribute name="name" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>2.0</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<data name="AccountValidation" xml:space="preserve">
<value>Every account is validated by an Administrator, so be patient and check again later.</value>
</data>
<data name="ChangePassword" xml:space="preserve">
<value>Change your password</value>
</data>
<data name="ConfirmNewPassword" xml:space="preserve">
<value>Confirm new password</value>
</data>
<data name="ConfirmPassword" xml:space="preserve">
<value>Confirm password</value>
</data>
<data name="EmailAddress" xml:space="preserve">
<value>Email address</value>
</data>
<data name="EnterCurrentPassword" xml:space="preserve">
<value>Enter current password</value>
</data>
<data name="EnterNewPassword" xml:space="preserve">
<value>Enter new password</value>
</data>
<data name="EnterPassword" xml:space="preserve">
<value>Enter password</value>
</data>
<data name="HighestVersion" xml:space="preserve">
<value>Highest version</value>
</data>
<data name="Login" xml:space="preserve">
<value>Log in</value>
</data>
<data name="Password" xml:space="preserve">
<value>Password</value>
</data>
<data name="RecentlyAdded" xml:space="preserve">
<value>Recently added</value>
</data>
<data name="RecentlyCompiled" xml:space="preserve">
<value>Recently compiled</value>
</data>
<data name="RecentlyLeaked" xml:space="preserve">
<value>Recently leaked</value>
</data>
<data name="Register" xml:space="preserve">
<value>Register</value>
</data>
<data name="RememberMe" xml:space="preserve">
<value>Remember me</value>
</data>
<data name="ThanksRegister" xml:space="preserve">
<value>Thank you for registering</value>
</data>
<data name="UserName" xml:space="preserve">
<value>Username</value>
</data>
</root>

View File

@ -1,9 +1,6 @@
using System; using System.ComponentModel;
using System.Collections.Generic;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations;
using System.Linq; using BuildFeed.Local;
using System.Web;
namespace BuildFeed.Models.ViewModel namespace BuildFeed.Models.ViewModel
{ {
@ -11,17 +8,17 @@ public class ChangePassword
{ {
[Required] [Required]
[MinLength(12)] [MinLength(12)]
[DisplayName("Enter current password")] [Display(ResourceType = typeof(Support), Name = "EnterCurrentPassword")]
public string OldPassword { get; set; } public string OldPassword { get; set; }
[Required] [Required]
[MinLength(12)] [MinLength(12)]
[DisplayName("Enter new password")] [Display(ResourceType = typeof(Support), Name = "EnterNewPassword")]
public string NewPassword { get; set; } public string NewPassword { get; set; }
[Required] [Required]
[MinLength(12)] [MinLength(12)]
[DisplayName("Confirm new password")] [Display(ResourceType = typeof(Support), Name = "ConfirmNewPassword")]
[Compare("NewPassword")] [Compare("NewPassword")]
public string ConfirmNewPassword { get; set; } public string ConfirmNewPassword { get; set; }
} }

View File

@ -1,23 +1,19 @@
using System; using System.ComponentModel.DataAnnotations;
using System.Collections.Generic; using BuildFeed.Local;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Web;
namespace BuildFeed.Models.ViewModel namespace BuildFeed.Models.ViewModel
{ {
public class LoginUser public class LoginUser
{ {
[Required] [Required]
[DisplayName("Username")] [Display(ResourceType = typeof(Support), Name = "UserName")]
public string UserName { get; set; } public string UserName { get; set; }
[Required] [Required]
[DisplayName("Password")] [Display(ResourceType = typeof(Support), Name = "Password")]
public string Password { get; set; } public string Password { get; set; }
[DisplayName("Remember me")] [Display(ResourceType = typeof(Support), Name = "RememberMe")]
public bool RememberMe { get; set; } public bool RememberMe { get; set; }
} }
} }

View File

@ -1,32 +1,29 @@
using System; using System.ComponentModel;
using System.Collections.Generic;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations;
using System.Linq; using BuildFeed.Local;
using System.Web;
namespace BuildFeed.Models.ViewModel namespace BuildFeed.Models.ViewModel
{ {
public class RegistrationUser public class RegistrationUser
{ {
[Required] [Required]
[DisplayName("Username")] [Display(ResourceType = typeof(Support), Name ="UserName")]
public string UserName { get; set; } public string UserName { get; set; }
[Required] [Required]
[MinLength(12)] [MinLength(12)]
[DisplayName("Enter password")] [Display(ResourceType = typeof(Support), Name = "EnterPassword")]
public string Password { get; set; } public string Password { get; set; }
[Required] [Required]
[MinLength(12)] [MinLength(12)]
[DisplayName("Confirm password")] [Display(ResourceType = typeof(Support), Name = "ConfirmPassword")]
[Compare("Password")] [Compare("Password")]
public string ConfirmPassword { get; set; } public string ConfirmPassword { get; set; }
[Required] [Required]
[EmailAddress] [EmailAddress]
[DisplayName("Email address")] [Display(ResourceType = typeof(Support), Name = "EmailAddress")]
public string EmailAddress { get; set; } public string EmailAddress { get; set; }
} }
} }

View File

@ -105,6 +105,10 @@ interface JQueryAjaxSettings {
* Specify the callback function name for a JSONP request. This value will be used instead of the random name automatically generated by jQuery. It is preferable to let jQuery generate a unique name as it'll make it easier to manage the requests and provide callbacks and error handling. You may want to specify the callback when you want to enable better browser caching of GET requests. As of jQuery 1.5, you can also use a function for this setting, in which case the value of jsonpCallback is set to the return value of that function. * Specify the callback function name for a JSONP request. This value will be used instead of the random name automatically generated by jQuery. It is preferable to let jQuery generate a unique name as it'll make it easier to manage the requests and provide callbacks and error handling. You may want to specify the callback when you want to enable better browser caching of GET requests. As of jQuery 1.5, you can also use a function for this setting, in which case the value of jsonpCallback is set to the return value of that function.
*/ */
jsonpCallback?: any; jsonpCallback?: any;
/**
* The HTTP method to use for the request (e.g. "POST", "GET", "PUT"). (version added: 1.9.0)
*/
method?: string;
/** /**
* A mime type to override the XHR mime type. (version added: 1.5.1) * A mime type to override the XHR mime type. (version added: 1.5.1)
*/ */

View File

@ -26,11 +26,11 @@
var maxDate = group.LastBuild.Value; var maxDate = group.LastBuild.Value;
if (maxDate.AddDays(28) > DateTime.Now) if (maxDate.AddDays(28) > DateTime.Now)
{ {
<span title="@maxDate.ToString("d MMMM yyyy")"><i class="fa fa-calendar fa-fw"></i> @maxDate.Humanize()</span><br /> <span title="@maxDate.ToLongDateWithoutDay()"><i class="fa fa-calendar fa-fw"></i> @maxDate.Humanize()</span><br />
} }
else else
{ {
<span title="@maxDate.Humanize()"><i class="fa fa-calendar fa-fw"></i> @maxDate.ToString("d MMMM yyyy")</span><br /> <span title="@maxDate.Humanize()"><i class="fa fa-calendar fa-fw"></i> @maxDate.ToLongDateWithoutDay()</span><br />
} }
} }
<i class="fa fa-server fa-fw"></i> @group.BuildCount @BuildFeed.Local.Front.xBuilds <i class="fa fa-server fa-fw"></i> @group.BuildCount @BuildFeed.Local.Front.xBuilds

View File

@ -15,7 +15,7 @@
<meta name="twitter:title" content="@Model.FullBuildString | @BuildFeed.Local.Common.SiteName"> <meta name="twitter:title" content="@Model.FullBuildString | @BuildFeed.Local.Common.SiteName">
<meta name="twitter:image" content="@Request.Url.GetLeftPart(UriPartial.Authority)@Url.Action("twitterCard", new {id = Model.Id})"> <meta name="twitter:image" content="@Request.Url.GetLeftPart(UriPartial.Authority)@Url.Action("twitterCard", new {id = Model.Id})">
@{ @{
string metaDesc = Model.BuildTime.HasValue ? string.Format(BuildFeed.Local.Front.BuildMetaDate, Model.Number, Model.Lab, Model.BuildTime.Value.ToString("d MMMM yyyy")) : string.Format(BuildFeed.Local.Front.BuildMetaNoDate, Model.Number, Model.Lab); string metaDesc = Model.BuildTime.HasValue ? string.Format(BuildFeed.Local.Front.BuildMetaDate, Model.Number, Model.Lab, Model.BuildTime.Value.ToLongDateWithoutDay()) : string.Format(BuildFeed.Local.Front.BuildMetaNoDate, Model.Number, Model.Lab);
} }
<meta name="description" content="@metaDesc" /> <meta name="description" content="@metaDesc" />
<meta property="og:description" content="@metaDesc" /> <meta property="og:description" content="@metaDesc" />

View File

@ -24,8 +24,8 @@
<p class="build-group-p"> <p class="build-group-p">
@if (build.BuildTime.HasValue) @if (build.BuildTime.HasValue)
{ {
<span title="@build.BuildTime.Value.Humanize()"><i class="fa fa-calendar fa-fw"></i> @build.BuildTime.Value.ToString("d MMMM yyyy")</span><br /> <span title="@build.BuildTime.Value.Humanize()"><i class="fa fa-calendar fa-fw"></i> @build.BuildTime.Value.ToLongDateWithoutDay()</span><br />
<span title="@build.BuildTime.Value.Humanize()"><i class="fa fa-clock-o fa-fw"></i> @build.BuildTime.Value.ToString("h:mm tt")</span> <span title="@build.BuildTime.Value.Humanize()"><i class="fa fa-clock-o fa-fw"></i> @build.BuildTime.Value.ToShortTimeString()</span>
} }
</p> </p>
<p> <p>

View File

@ -51,8 +51,8 @@
<p class="build-group-p"> <p class="build-group-p">
@if (build.BuildTime.HasValue) @if (build.BuildTime.HasValue)
{ {
<span title="@build.BuildTime.Value.Humanize()"><i class="fa fa-calendar fa-fw"></i> @build.BuildTime.Value.ToString("d MMMM yyyy")</span><br /> <span title="@build.BuildTime.Value.Humanize()"><i class="fa fa-calendar fa-fw"></i> @build.BuildTime.Value.ToLongDateWithoutDay()</span><br />
<span title="@build.BuildTime.Value.Humanize()"><i class="fa fa-clock-o fa-fw"></i> @build.BuildTime.Value.ToString("h:mm tt")</span><br /> <span title="@build.BuildTime.Value.Humanize()"><i class="fa fa-clock-o fa-fw"></i> @build.BuildTime.Value.ToShortTimeString()</span><br />
} }
</p> </p>
<p> <p>

View File

@ -49,8 +49,8 @@
} }
@if (build.BuildTime.HasValue) @if (build.BuildTime.HasValue)
{ {
<span title="@build.BuildTime.Value.Humanize()"><i class="fa fa-calendar fa-fw"></i> @build.BuildTime.Value.ToString("d MMMM yyyy")</span><br /> <span title="@build.BuildTime.Value.Humanize()"><i class="fa fa-calendar fa-fw"></i> @build.BuildTime.Value.ToLongDateWithoutDay()</span><br />
<span title="@build.BuildTime.Value.Humanize()"><i class="fa fa-clock-o fa-fw"></i> @build.BuildTime.Value.ToString("h:mm tt")</span><br /> <span title="@build.BuildTime.Value.Humanize()"><i class="fa fa-clock-o fa-fw"></i> @build.BuildTime.Value.ToShortTimeString()</span><br />
} }
</p> </p>
<p> <p>

View File

@ -49,8 +49,8 @@
} }
@if (build.BuildTime.HasValue) @if (build.BuildTime.HasValue)
{ {
<span title="@build.BuildTime.Value.Humanize()"><i class="fa fa-calendar fa-fw"></i> @build.BuildTime.Value.ToString("d MMMM yyyy")</span><br /> <span title="@build.BuildTime.Value.Humanize()"><i class="fa fa-calendar fa-fw"></i> @build.BuildTime.Value.ToLongDateWithoutDay()</span><br />
<span title="@build.BuildTime.Value.Humanize()"><i class="fa fa-clock-o fa-fw"></i> @build.BuildTime.Value.ToString("h:mm tt")</span><br /> <span title="@build.BuildTime.Value.Humanize()"><i class="fa fa-clock-o fa-fw"></i> @build.BuildTime.Value.ToShortTimeString()</span><br />
} }
</p> </p>
<p> <p>

View File

@ -55,8 +55,8 @@
} }
@if (build.BuildTime.HasValue) @if (build.BuildTime.HasValue)
{ {
<span title="@build.BuildTime.Value.Humanize()"><i class="fa fa-calendar fa-fw"></i> @build.BuildTime.Value.ToString("d MMMM yyyy")</span><br /> <span title="@build.BuildTime.Value.Humanize()"><i class="fa fa-calendar fa-fw"></i> @build.BuildTime.Value.ToLongDateWithoutDay()</span><br />
<span title="@build.BuildTime.Value.Humanize()"><i class="fa fa-clock-o fa-fw"></i> @build.BuildTime.Value.ToString("h:mm tt")</span><br /> <span title="@build.BuildTime.Value.Humanize()"><i class="fa fa-clock-o fa-fw"></i> @build.BuildTime.Value.ToShortTimeString()</span><br />
} }
</p> </p>
<p> <p>

View File

@ -1,12 +1,12 @@
@model BuildFeed.Models.ViewModel.LoginUser @model BuildFeed.Models.ViewModel.LoginUser
@{ @{
ViewBag.Title = "Login | BuildFeed"; ViewBag.Title = string.Format("{0} | {1}", BuildFeed.Local.Support.Login, BuildFeed.Local.Common.SiteName);
Html.EnableClientValidation(); Html.EnableClientValidation();
Html.EnableUnobtrusiveJavaScript(); Html.EnableUnobtrusiveJavaScript();
} }
<h2>Login to BuildFeed</h2> <h2>@BuildFeed.Local.Support.Login</h2>
@using (Html.BeginForm()) @using (Html.BeginForm())
{ {
@ -56,8 +56,8 @@
<div class="form-group"> <div class="form-group">
<div class="col-md-offset-2 col-md-10"> <div class="col-md-offset-2 col-md-10">
<input type="submit" value="Login" class="btn btn-primary" /> <input type="submit" value="@BuildFeed.Local.Support.Login" class="btn btn-primary" />
@Html.ActionLink("Register...", "register", new { controller = "support" }, new { @class = "btn btn-default" }) @Html.ActionLink(BuildFeed.Local.Support.Register, "register", new { controller = "support" }, new { @class = "btn btn-default" })
</div> </div>
</div> </div>
</div> </div>

View File

@ -1,12 +1,12 @@
@model BuildFeed.Models.ViewModel.ChangePassword @model BuildFeed.Models.ViewModel.ChangePassword
@{ @{
ViewBag.Title = "Change your password | BuildFeed"; ViewBag.Title = string.Format("{0} | {1}", BuildFeed.Local.Support.ChangePassword, BuildFeed.Local.Common.SiteName);
Html.EnableClientValidation(); Html.EnableClientValidation();
Html.EnableUnobtrusiveJavaScript(); Html.EnableUnobtrusiveJavaScript();
} }
<h2>Change your password</h2> <h2>@BuildFeed.Local.Support.ChangePassword</h2>
@using (Html.BeginForm()) @using (Html.BeginForm())
{ {
@ -58,7 +58,7 @@
<div class="form-group"> <div class="form-group">
<div class="col-md-offset-2 col-md-10"> <div class="col-md-offset-2 col-md-10">
<input type="submit" value="Change Password" class="btn btn-primary" /> <input type="submit" value="@BuildFeed.Local.Support.ChangePassword" class="btn btn-primary" />
</div> </div>
</div> </div>
</div> </div>

View File

@ -1,12 +1,12 @@
@model BuildFeed.Models.ViewModel.RegistrationUser @model BuildFeed.Models.ViewModel.RegistrationUser
@{ @{
ViewBag.Title = "Register for an account | BuildFeed"; ViewBag.Title = string.Format("{0} | {1}", BuildFeed.Local.Support.Register, BuildFeed.Local.Common.SiteName);
Html.EnableClientValidation(); Html.EnableClientValidation();
Html.EnableUnobtrusiveJavaScript(); Html.EnableUnobtrusiveJavaScript();
} }
<h2>Register for an account</h2> <h2>@BuildFeed.Local.Support.Register</h2>
@using (Html.BeginForm()) @using (Html.BeginForm())
{ {
@ -70,7 +70,7 @@
<div class="form-group"> <div class="form-group">
<div class="col-md-offset-2 col-md-10"> <div class="col-md-offset-2 col-md-10">
<input type="submit" value="Register" class="btn btn-primary" /> <input type="submit" value="@BuildFeed.Local.Support.Register" class="btn btn-primary" />
</div> </div>
</div> </div>
</div> </div>

View File

@ -1,24 +1,24 @@
@{ @{
ViewBag.Title = "RSS Feeds"; ViewBag.Title = string.Format("{0} | {1}", BuildFeed.Local.Common.RssFeeds, BuildFeed.Local.Common.SiteName);
} }
<h2>RSS Feeds</h2> <h2>@BuildFeed.Local.Common.RssFeeds</h2>
<ul> <ul>
<li><a href="@Url.Action("index", new { controller = "rss" })" title="Recently compiled"><i class="fa fa-sm fa-rss"></i> Recently compiled</a></li> <li><a href="@Url.Action("index", new { controller = "rss" })" title="@BuildFeed.Local.Support.RecentlyCompiled"><i class="fa fa-sm fa-rss"></i> @BuildFeed.Local.Support.RecentlyCompiled</a></li>
<li><a href="@Url.Action("leaked", new { controller = "rss" })" title="Recently leaked"><i class="fa fa-sm fa-rss"></i> Recently leaked</a></li> <li><a href="@Url.Action("leaked", new { controller = "rss" })" title="@BuildFeed.Local.Support.RecentlyLeaked"><i class="fa fa-sm fa-rss"></i> @BuildFeed.Local.Support.RecentlyLeaked</a></li>
<li><a href="@Url.Action("added", new { controller = "rss" })" title="Recently added to BuildFeed"><i class="fa fa-sm fa-rss"></i> Recently added to BuildFeed</a></li> <li><a href="@Url.Action("added", new { controller = "rss" })" title="@BuildFeed.Local.Support.RecentlyAdded"><i class="fa fa-sm fa-rss"></i> @BuildFeed.Local.Support.RecentlyAdded</a></li>
<li><a href="@Url.Action("version", new { controller = "rss" })" title="Highest version"><i class="fa fa-sm fa-rss"></i> Highest version</a></li> <li><a href="@Url.Action("version", new { controller = "rss" })" title="@BuildFeed.Local.Support.HighestVersion"><i class="fa fa-sm fa-rss"></i> @BuildFeed.Local.Support.HighestVersion</a></li>
<li> <li>
Flight levels @BuildFeed.Local.Model.FlightLevel
<ul> <ul>
<li><a href="@Url.Action("flight", new { controller = "rss", id = "low" })" title="Low flight level"><i class="fa fa-sm fa-rss"></i> Low flight level</a></li> <li><a href="@Url.Action("flight", new { controller = "rss", id = "low" })" title="@BuildFeed.Local.Model.FlightLow"><i class="fa fa-sm fa-rss"></i> @BuildFeed.Local.Model.FlightLow</a></li>
<li><a href="@Url.Action("flight", new { controller = "rss", id = "medium" })" title="Medium flight level"><i class="fa fa-sm fa-rss"></i> Medium flight level</a></li> <li><a href="@Url.Action("flight", new { controller = "rss", id = "medium" })" title="@BuildFeed.Local.Model.FlightMedium"><i class="fa fa-sm fa-rss"></i> @BuildFeed.Local.Model.FlightMedium</a></li>
<li><a href="@Url.Action("flight", new { controller = "rss", id = "high" })" title="High flight level"><i class="fa fa-sm fa-rss"></i> High flight level</a></li> <li><a href="@Url.Action("flight", new { controller = "rss", id = "high" })" title="@BuildFeed.Local.Model.FlightHigh"><i class="fa fa-sm fa-rss"></i> @BuildFeed.Local.Model.FlightHigh</a></li>
</ul> </ul>
</li> </li>
<li> <li>
<a href="#rss-labs" data-toggle="collapse">Labs</a> <a href="#rss-labs" data-toggle="collapse">@BuildFeed.Local.Model.Lab</a>
<ul id="rss-labs" class="collapse"> <ul id="rss-labs" class="collapse">
@foreach (string lab in ViewBag.Labs) @foreach (string lab in ViewBag.Labs)
{ {

View File

@ -1,9 +1,9 @@
@model BuildFeed.Models.ViewModel.SitemapData @model BuildFeed.Models.ViewModel.SitemapData
@{ @{
ViewBag.Title = "Sitemap | BuildFeed"; ViewBag.Title = string.Format("{0} | {1}".BuildFeed.Local.Common.Sitemap, BuildFeed.Local.Common.SiteName);
} }
<h2>Sitemap</h2> <h2>@BuildFeed.Local.Common.Sitemap</h2>
<ul> <ul>
<li> <li>
@ -64,21 +64,22 @@
</li> </li>
} }
<li> <li>
<a href="#sitemap-rss" data-toggle="collapse">RSS Feeds</a> <a href="#sitemap-rss" data-toggle="collapse">@BuildFeed.Local.Common.RssFeeds</a>
<ul id="sitemap-rss" class="collapse"> <ul id="sitemap-rss" class="collapse">
<li><a href="@Url.Action("index", new { controller = "rss" })" title="Recently compiled"><i class="fa fa-sm fa-rss"></i> Recently compiled</a></li> <li><a href="@Url.Action("index", new { controller = "rss" })" title="@BuildFeed.Local.Support.RecentlyCompiled"><i class="fa fa-sm fa-rss"></i> @BuildFeed.Local.Support.RecentlyCompiled</a></li>
<li><a href="@Url.Action("added", new { controller = "rss" })" title="Recently added to BuildFeed"><i class="fa fa-sm fa-rss"></i> Recently added to BuildFeed</a></li> <li><a href="@Url.Action("leaked", new { controller = "rss" })" title="@BuildFeed.Local.Support.RecentlyLeaked"><i class="fa fa-sm fa-rss"></i> @BuildFeed.Local.Support.RecentlyLeaked</a></li>
<li><a href="@Url.Action("version", new { controller = "rss" })" title="Highest version"><i class="fa fa-sm fa-rss"></i> Highest version</a></li> <li><a href="@Url.Action("added", new { controller = "rss" })" title="@BuildFeed.Local.Support.RecentlyAdded"><i class="fa fa-sm fa-rss"></i> @BuildFeed.Local.Support.RecentlyAdded</a></li>
<li><a href="@Url.Action("version", new { controller = "rss" })" title="@BuildFeed.Local.Support.HighestVersion"><i class="fa fa-sm fa-rss"></i> @BuildFeed.Local.Support.HighestVersion</a></li>
<li> <li>
Flight levels @BuildFeed.Local.Model.FlightLevel
<ul> <ul>
<li><a href="@Url.Action("flight", new { controller = "rss", id = "low" })" title="Low flight level"><i class="fa fa-sm fa-rss"></i> Low flight level</a></li> <li><a href="@Url.Action("flight", new { controller = "rss", id = "low" })" title="@BuildFeed.Local.Model.FlightLow"><i class="fa fa-sm fa-rss"></i> @BuildFeed.Local.Model.FlightLow</a></li>
<li><a href="@Url.Action("flight", new { controller = "rss", id = "medium" })" title="Medium flight level"><i class="fa fa-sm fa-rss"></i> Medium flight level</a></li> <li><a href="@Url.Action("flight", new { controller = "rss", id = "medium" })" title="@BuildFeed.Local.Model.FlightMedium"><i class="fa fa-sm fa-rss"></i> @BuildFeed.Local.Model.FlightMedium</a></li>
<li><a href="@Url.Action("flight", new { controller = "rss", id = "high" })" title="High flight level"><i class="fa fa-sm fa-rss"></i> High flight level</a></li> <li><a href="@Url.Action("flight", new { controller = "rss", id = "high" })" title="@BuildFeed.Local.Model.FlightHigh"><i class="fa fa-sm fa-rss"></i> @BuildFeed.Local.Model.FlightHigh</a></li>
</ul> </ul>
</li> </li>
<li> <li>
<a href="#rss-labs" data-toggle="collapse">Labs</a> <a href="#rss-labs" data-toggle="collapse">@BuildFeed.Local.Model.Lab</a>
<ul id="rss-labs" class="collapse"> <ul id="rss-labs" class="collapse">
@foreach (string lab in Model.Labs) @foreach (string lab in Model.Labs)
{ {

View File

@ -1,10 +1,10 @@
@model BuildFeed.Models.ViewModel.StatsPage @model BuildFeed.Models.ViewModel.StatsPage
@{ @{
ViewBag.Title = "Statistics | BuildFeed"; ViewBag.Title = string.Format("{0} | {1}", BuildFeed.Local.Common.Statistics, BuildFeed.Local.Common.SiteName);
} }
<h2>Statistics</h2> <h2>@BuildFeed.Local.Common.Statistics</h2>
<h4>New additions to BuildFeed over the previous year</h4> <h4>New additions to BuildFeed over the previous year</h4>
<canvas id="stats-addition" width="960" height="320"></canvas> <canvas id="stats-addition" width="960" height="320"></canvas>

View File

@ -1,7 +1,7 @@
 
@{ @{
ViewBag.Title = "Thank you for registering | BuildFeed"; ViewBag.Title = string.Format("{0} | {1}", BuildFeed.Local.Support.ThanksRegister, BuildFeed.Local.Common.SiteName);
} }
<h2>Thank you for registering with BuildFeed</h2> <h2>@BuildFeed.Local.Support.ThanksRegister</h2>
<p>Every account is validated by an Administrator, so be patient and check again later.</p> <p>@BuildFeed.Local.Support.AccountValidation</p>

View File

@ -16,7 +16,7 @@
<add key="RouteDebugger:Enabled" value="false" /> <add key="RouteDebugger:Enabled" value="false" />
</appSettings> </appSettings>
<system.web> <system.web>
<compilation debug="true" targetFramework="4.5.2" /> <compilation debug="true" targetFramework="4.6" />
<httpRuntime targetFramework="4.5" /> <httpRuntime targetFramework="4.5" />
<globalization culture="qps-ploc" uiCulture="qps-ploc" enableClientBasedCulture="false" /> <globalization culture="qps-ploc" uiCulture="qps-ploc" enableClientBasedCulture="false" />
<trace enabled="true" requestLimit="40" pageOutput="false" /> <trace enabled="true" requestLimit="40" pageOutput="false" />
@ -126,7 +126,11 @@
</dependentAssembly> </dependentAssembly>
<dependentAssembly> <dependentAssembly>
<assemblyIdentity name="Microsoft.ApplicationInsights" publicKeyToken="31bf3856ad364e35" culture="neutral" /> <assemblyIdentity name="Microsoft.ApplicationInsights" publicKeyToken="31bf3856ad364e35" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-1.0.0.4220" newVersion="1.0.0.4220" /> <bindingRedirect oldVersion="0.0.0.0-1.1.0.1899" newVersion="1.1.0.1899" />
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="Microsoft.Diagnostics.Instrumentation.Extensions.Intercept" publicKeyToken="31bf3856ad364e35" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-1.0.0.161" newVersion="1.0.0.161" />
</dependentAssembly> </dependentAssembly>
</assemblyBinding> </assemblyBinding>
</runtime> </runtime>

View File

@ -1,36 +1,36 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<packages> <packages>
<package id="Antlr" version="3.5.0.2" targetFramework="net45" userInstalled="true" /> <package id="Antlr" version="3.5.0.2" targetFramework="net45" />
<package id="Chart.js" version="1.0.2" targetFramework="net45" userInstalled="true" /> <package id="Chart.js" version="1.0.2" targetFramework="net45" />
<package id="Humanizer" version="1.37.0" targetFramework="net452" userInstalled="true" /> <package id="Humanizer" version="1.37.0" targetFramework="net452" />
<package id="jQuery" version="2.1.4" targetFramework="net452" userInstalled="true" /> <package id="jQuery" version="2.1.4" targetFramework="net452" />
<package id="jquery.TypeScript.DefinitelyTyped" version="2.2.5" targetFramework="net452" userInstalled="true" /> <package id="jquery.TypeScript.DefinitelyTyped" version="2.2.6" targetFramework="net46" />
<package id="jQuery.Validation" version="1.13.1" targetFramework="net45" userInstalled="true" /> <package id="jQuery.Validation" version="1.13.1" targetFramework="net45" />
<package id="jsrender.TypeScript.DefinitelyTyped" version="0.0.3" targetFramework="net45" userInstalled="true" /> <package id="jsrender.TypeScript.DefinitelyTyped" version="0.0.3" targetFramework="net45" />
<package id="Microsoft.ApplicationInsights" version="1.0.0" targetFramework="net452" userInstalled="true" /> <package id="Microsoft.ApplicationInsights" version="1.1.0" targetFramework="net46" />
<package id="Microsoft.ApplicationInsights.Agent.Intercept" version="0.17.0" targetFramework="net452" userInstalled="true" /> <package id="Microsoft.ApplicationInsights.Agent.Intercept" version="1.0.0" targetFramework="net46" />
<package id="Microsoft.ApplicationInsights.DependencyCollector" version="1.0.0" targetFramework="net452" userInstalled="true" /> <package id="Microsoft.ApplicationInsights.DependencyCollector" version="1.1.0" targetFramework="net46" />
<package id="Microsoft.ApplicationInsights.PerfCounterCollector" version="1.0.0" targetFramework="net452" userInstalled="true" /> <package id="Microsoft.ApplicationInsights.PerfCounterCollector" version="1.1.0" targetFramework="net46" />
<package id="Microsoft.ApplicationInsights.Web" version="1.0.0" targetFramework="net452" userInstalled="true" /> <package id="Microsoft.ApplicationInsights.Web" version="1.1.0" targetFramework="net46" />
<package id="Microsoft.ApplicationInsights.Web.TelemetryChannel" version="1.0.0" targetFramework="net452" userInstalled="true" /> <package id="Microsoft.ApplicationInsights.Web.TelemetryChannel" version="1.1.0" targetFramework="net46" />
<package id="Microsoft.AspNet.Mvc" version="5.2.3" targetFramework="net45" userInstalled="true" /> <package id="Microsoft.AspNet.Mvc" version="5.2.3" targetFramework="net45" />
<package id="Microsoft.AspNet.Razor" version="3.2.3" targetFramework="net45" userInstalled="true" /> <package id="Microsoft.AspNet.Razor" version="3.2.3" targetFramework="net45" />
<package id="Microsoft.AspNet.Web.Optimization" version="1.1.3" targetFramework="net45" userInstalled="true" /> <package id="Microsoft.AspNet.Web.Optimization" version="1.1.3" targetFramework="net45" />
<package id="Microsoft.AspNet.WebApi" version="5.2.3" targetFramework="net45" userInstalled="true" /> <package id="Microsoft.AspNet.WebApi" version="5.2.3" targetFramework="net45" />
<package id="Microsoft.AspNet.WebApi.Client" version="5.2.3" targetFramework="net45" userInstalled="true" /> <package id="Microsoft.AspNet.WebApi.Client" version="5.2.3" targetFramework="net45" />
<package id="Microsoft.AspNet.WebApi.Core" version="5.2.3" targetFramework="net45" userInstalled="true" /> <package id="Microsoft.AspNet.WebApi.Core" version="5.2.3" targetFramework="net45" />
<package id="Microsoft.AspNet.WebApi.WebHost" version="5.2.3" targetFramework="net45" userInstalled="true" /> <package id="Microsoft.AspNet.WebApi.WebHost" version="5.2.3" targetFramework="net45" />
<package id="Microsoft.AspNet.WebPages" version="3.2.3" targetFramework="net45" userInstalled="true" /> <package id="Microsoft.AspNet.WebPages" version="3.2.3" targetFramework="net45" />
<package id="Microsoft.Bcl" version="1.1.10" targetFramework="net45" userInstalled="true" /> <package id="Microsoft.Bcl" version="1.1.10" targetFramework="net45" />
<package id="Microsoft.Bcl.Async" version="1.0.168" targetFramework="net45" userInstalled="true" /> <package id="Microsoft.Bcl.Async" version="1.0.168" targetFramework="net45" />
<package id="Microsoft.Bcl.Build" version="1.0.21" targetFramework="net45" userInstalled="true" /> <package id="Microsoft.Bcl.Build" version="1.0.21" targetFramework="net45" />
<package id="Microsoft.jQuery.Unobtrusive.Validation" version="3.2.3" targetFramework="net45" userInstalled="true" /> <package id="Microsoft.jQuery.Unobtrusive.Validation" version="3.2.3" targetFramework="net45" />
<package id="Microsoft.Web.Infrastructure" version="1.0.0.0" targetFramework="net45" userInstalled="true" /> <package id="Microsoft.Web.Infrastructure" version="1.0.0.0" targetFramework="net45" />
<package id="Newtonsoft.Json" version="7.0.1" targetFramework="net452" userInstalled="true" /> <package id="Newtonsoft.Json" version="7.0.1" targetFramework="net452" />
<package id="NServiceKit.Common" version="1.0.35" targetFramework="net452" userInstalled="true" /> <package id="NServiceKit.Common" version="1.0.35" targetFramework="net452" />
<package id="NServiceKit.Redis" version="1.0.16" targetFramework="net45" userInstalled="true" /> <package id="NServiceKit.Redis" version="1.0.16" targetFramework="net45" />
<package id="NServiceKit.Text" version="1.0.10" targetFramework="net45" userInstalled="true" /> <package id="NServiceKit.Text" version="1.0.10" targetFramework="net45" />
<package id="routedebugger" version="2.1.4.0" targetFramework="net45" userInstalled="true" /> <package id="routedebugger" version="2.1.4.0" targetFramework="net45" />
<package id="WebGrease" version="1.6.0" targetFramework="net45" userInstalled="true" /> <package id="WebGrease" version="1.6.0" targetFramework="net45" />
<package id="xwebrss" version="1.2.1.130" targetFramework="net45" userInstalled="true" /> <package id="xwebrss" version="1.2.1.130" targetFramework="net45" />
</packages> </packages>

View File

@ -9,7 +9,7 @@
<AppDesignerFolder>Properties</AppDesignerFolder> <AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>RedisAuth</RootNamespace> <RootNamespace>RedisAuth</RootNamespace>
<AssemblyName>RedisAuth</AssemblyName> <AssemblyName>RedisAuth</AssemblyName>
<TargetFrameworkVersion>v4.5.2</TargetFrameworkVersion> <TargetFrameworkVersion>v4.6</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment> <FileAlignment>512</FileAlignment>
<TargetFrameworkProfile /> <TargetFrameworkProfile />
</PropertyGroup> </PropertyGroup>

View File

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<packages> <packages>
<package id="NServiceKit.Common" version="1.0.35" targetFramework="net452" userInstalled="true" /> <package id="NServiceKit.Common" version="1.0.35" targetFramework="net452" />
<package id="NServiceKit.Redis" version="1.0.16" targetFramework="net452" userInstalled="true" /> <package id="NServiceKit.Redis" version="1.0.16" targetFramework="net452" />
<package id="NServiceKit.Text" version="1.0.10" targetFramework="net45" userInstalled="true" /> <package id="NServiceKit.Text" version="1.0.10" targetFramework="net45" />
</packages> </packages>