From 787781cb7a2cd3850c920db086616f457a74b03b Mon Sep 17 00:00:00 2001 From: Thomas Hounsell Date: Wed, 15 Jul 2015 19:23:40 +0100 Subject: [PATCH 01/48] Begin the localisation into pseudolocale --- BuildFeed/BuildFeed.csproj | 40 +++ BuildFeed/Local/Common.Designer.cs | 216 +++++++++++++++ BuildFeed/Local/Common.qps-ploc.Designer.cs | 0 BuildFeed/Local/Common.qps-ploc.resx | 171 ++++++++++++ BuildFeed/Local/Common.resx | 171 ++++++++++++ BuildFeed/Local/Model.Designer.cs | 288 ++++++++++++++++++++ BuildFeed/Local/Model.qps-ploc.Designer.cs | 0 BuildFeed/Local/Model.qps-ploc.resx | 195 +++++++++++++ BuildFeed/Local/Model.resx | 195 +++++++++++++ BuildFeed/Models/Build.cs | 50 ++-- BuildFeed/Views/shared/_default.cshtml | 40 +-- BuildFeed/Views/shared/error.cshtml | 16 +- BuildFeed/Web.config | 2 +- 13 files changed, 1334 insertions(+), 50 deletions(-) create mode 100644 BuildFeed/Local/Common.Designer.cs create mode 100644 BuildFeed/Local/Common.qps-ploc.Designer.cs create mode 100644 BuildFeed/Local/Common.qps-ploc.resx create mode 100644 BuildFeed/Local/Common.resx create mode 100644 BuildFeed/Local/Model.Designer.cs create mode 100644 BuildFeed/Local/Model.qps-ploc.Designer.cs create mode 100644 BuildFeed/Local/Model.qps-ploc.resx create mode 100644 BuildFeed/Local/Model.resx diff --git a/BuildFeed/BuildFeed.csproj b/BuildFeed/BuildFeed.csproj index 3cde90a..7cc837a 100644 --- a/BuildFeed/BuildFeed.csproj +++ b/BuildFeed/BuildFeed.csproj @@ -206,6 +206,26 @@ Global.asax + + Common.qps-ploc.resx + True + True + + + True + True + Common.resx + + + Model.qps-ploc.resx + True + True + + + True + True + Model.resx + @@ -364,6 +384,26 @@ RedisAuth + + + PublicResXFileCodeGenerator + Common.qps-ploc.Designer.cs + + + PublicResXFileCodeGenerator + Common.Designer.cs + + + PublicResXFileCodeGenerator + Model.qps-ploc.Designer.cs + Designer + + + PublicResXFileCodeGenerator + Model.Designer.cs + Designer + + 10.0 $(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion) diff --git a/BuildFeed/Local/Common.Designer.cs b/BuildFeed/Local/Common.Designer.cs new file mode 100644 index 0000000..e41c4ad --- /dev/null +++ b/BuildFeed/Local/Common.Designer.cs @@ -0,0 +1,216 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// Runtime Version:4.0.30319.0 +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +namespace BuildFeed.Local { + using System; + + + /// + /// A strongly-typed resource class, for looking up localized strings, etc. + /// + // 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 Common { + + private static global::System.Resources.ResourceManager resourceMan; + + private static global::System.Globalization.CultureInfo resourceCulture; + + [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")] + internal Common() { + } + + /// + /// Returns the cached ResourceManager instance used by this class. + /// + [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.Common", typeof(Common).Assembly); + resourceMan = temp; + } + return resourceMan; + } + } + + /// + /// Overrides the current thread's CurrentUICulture property for all + /// resource lookups using this strongly typed resource class. + /// + [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] + public static global::System.Globalization.CultureInfo Culture { + get { + return resourceCulture; + } + set { + resourceCulture = value; + } + } + + /// + /// Looks up a localized string similar to Add build. + /// + public static string AddBuild { + get { + return ResourceManager.GetString("AddBuild", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Admin. + /// + public static string Admin { + get { + return ResourceManager.GetString("Admin", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Contribute on. + /// + public static string ContributeOn { + get { + return ResourceManager.GetString("ContributeOn", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Developed by. + /// + public static string DevelopedBy { + get { + return ResourceManager.GetString("DevelopedBy", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Error. + /// + public static string Error { + get { + return ResourceManager.GetString("Error", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Log in. + /// + public static string LogIn { + get { + return ResourceManager.GetString("LogIn", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Log out. + /// + public static string LogOut { + get { + return ResourceManager.GetString("LogOut", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to RSS feeds. + /// + public static string RssFeeds { + get { + return ResourceManager.GetString("RssFeeds", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Search. + /// + public static string Search { + get { + return ResourceManager.GetString("Search", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Search BuildFeed.... + /// + public static string SearchBuildFeed { + get { + return ResourceManager.GetString("SearchBuildFeed", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Search query. + /// + public static string SearchQuery { + get { + return ResourceManager.GetString("SearchQuery", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Sitemap. + /// + public static string Sitemap { + get { + return ResourceManager.GetString("Sitemap", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to BuildFeed. + /// + public static string SiteName { + get { + return ResourceManager.GetString("SiteName", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Statistics. + /// + public static string Statistics { + get { + return ResourceManager.GetString("Statistics", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Toggle navigation. + /// + public static string ToggleNavigation { + get { + return ResourceManager.GetString("ToggleNavigation", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Twitter. + /// + public static string Twitter { + get { + return ResourceManager.GetString("Twitter", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to type to search.... + /// + public static string TypeToSearch { + get { + return ResourceManager.GetString("TypeToSearch", resourceCulture); + } + } + } +} diff --git a/BuildFeed/Local/Common.qps-ploc.Designer.cs b/BuildFeed/Local/Common.qps-ploc.Designer.cs new file mode 100644 index 0000000..e69de29 diff --git a/BuildFeed/Local/Common.qps-ploc.resx b/BuildFeed/Local/Common.qps-ploc.resx new file mode 100644 index 0000000..1c8d44a --- /dev/null +++ b/BuildFeed/Local/Common.qps-ploc.resx @@ -0,0 +1,171 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + [!!! Âδδ βúïℓδ !!!] + + + [!!! Âδ₥ïñ !!!] + + + [!!! Çôñƭřïβúƭè ôñ !!!] + + + [!!! ÐèƲèℓôƥèδ β¥ !!!] + + + [!!! Éřřôř !!!] + + + [!!! £ôϱ ïñ !!!] + + + [!!! £ôϱ ôúƭ !!!] + + + [!!! R§§ ƒèèδƨ !!!] + + + [!!! §èářçλ !!!] + + + [!!! §èářçλ ßúïℓδFèèδ... ℓ !!!] + + + [!!! §èářçλ 9úèř¥ !!!] + + + [!!! §ïƭè₥áƥ !!!] + + + [!!! ßúïℓδFèèδ !!!] + + + [!!! §ƭáƭïƨƭïçƨ !!!] + + + [!!! Tôϱϱℓè ñáƲïϱáƭïôñ ℓ !!!] + + + [!!! Tωïƭƭèř !!!] + + + [!!! ƭ¥ƥè ƭô ƨèářçλ... ℓ !!!] + + \ No newline at end of file diff --git a/BuildFeed/Local/Common.resx b/BuildFeed/Local/Common.resx new file mode 100644 index 0000000..302d52c --- /dev/null +++ b/BuildFeed/Local/Common.resx @@ -0,0 +1,171 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + Add build + + + Admin + + + Contribute on + + + Developed by + + + Error + + + Log in + + + Log out + + + RSS feeds + + + Search + + + Search BuildFeed... + + + Search query + + + Sitemap + + + BuildFeed + + + Statistics + + + Toggle navigation + + + Twitter + + + type to search... + + \ No newline at end of file diff --git a/BuildFeed/Local/Model.Designer.cs b/BuildFeed/Local/Model.Designer.cs new file mode 100644 index 0000000..c3fb65a --- /dev/null +++ b/BuildFeed/Local/Model.Designer.cs @@ -0,0 +1,288 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// Runtime Version:4.0.30319.0 +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +namespace BuildFeed.Local { + using System; + + + /// + /// A strongly-typed resource class, for looking up localized strings, etc. + /// + // 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 Model { + + private static global::System.Resources.ResourceManager resourceMan; + + private static global::System.Globalization.CultureInfo resourceCulture; + + [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")] + internal Model() { + } + + /// + /// Returns the cached ResourceManager instance used by this class. + /// + [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.Model", typeof(Model).Assembly); + resourceMan = temp; + } + return resourceMan; + } + } + + /// + /// Overrides the current thread's CurrentUICulture property for all + /// resource lookups using this strongly typed resource class. + /// + [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] + public static global::System.Globalization.CultureInfo Culture { + get { + return resourceCulture; + } + set { + resourceCulture = value; + } + } + + /// + /// Looks up a localized string similar to Time created. + /// + public static string Added { + get { + return ResourceManager.GetString("Added", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to App package. + /// + public static string AppPackage { + get { + return ResourceManager.GetString("AppPackage", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Build time. + /// + public static string BuildTime { + get { + return ResourceManager.GetString("BuildTime", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Build tools. + /// + public static string BuildTools { + get { + return ResourceManager.GetString("BuildTools", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Documentation. + /// + public static string Documentation { + get { + return ResourceManager.GetString("Documentation", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to High. + /// + public static string FlightHigh { + get { + return ResourceManager.GetString("FlightHigh", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Flight level. + /// + public static string FlightLevel { + get { + return ResourceManager.GetString("FlightLevel", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Low. + /// + public static string FlightLow { + get { + return ResourceManager.GetString("FlightLow", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Medium. + /// + public static string FlightMedium { + get { + return ResourceManager.GetString("FlightMedium", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to None. + /// + public static string FlightNone { + get { + return ResourceManager.GetString("FlightNone", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Public leak. + /// + public static string InternalLeak { + get { + return ResourceManager.GetString("InternalLeak", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Lab string. + /// + public static string Lab { + get { + return ResourceManager.GetString("Lab", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Leak or release date. + /// + public static string LeakDate { + get { + return ResourceManager.GetString("LeakDate", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Logging. + /// + public static string Logging { + get { + return ResourceManager.GetString("Logging", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Major version. + /// + public static string MajorVersion { + get { + return ResourceManager.GetString("MajorVersion", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Minor version. + /// + public static string MinorVersion { + get { + return ResourceManager.GetString("MinorVersion", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Time modified. + /// + public static string Modified { + get { + return ResourceManager.GetString("Modified", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Build number. + /// + public static string Number { + get { + return ResourceManager.GetString("Number", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Private leak. + /// + public static string PrivateLeak { + get { + return ResourceManager.GetString("PrivateLeak", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Public release. + /// + public static string PublicRelease { + get { + return ResourceManager.GetString("PublicRelease", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Build revision. + /// + public static string Revision { + get { + return ResourceManager.GetString("Revision", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Source details. + /// + public static string SourceDetails { + get { + return ResourceManager.GetString("SourceDetails", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Source type. + /// + public static string SourceType { + get { + return ResourceManager.GetString("SourceType", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Update (GDR). + /// + public static string UpdateGDR { + get { + return ResourceManager.GetString("UpdateGDR", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Update (LDR). + /// + public static string UpdateLDR { + get { + return ResourceManager.GetString("UpdateLDR", resourceCulture); + } + } + } +} diff --git a/BuildFeed/Local/Model.qps-ploc.Designer.cs b/BuildFeed/Local/Model.qps-ploc.Designer.cs new file mode 100644 index 0000000..e69de29 diff --git a/BuildFeed/Local/Model.qps-ploc.resx b/BuildFeed/Local/Model.qps-ploc.resx new file mode 100644 index 0000000..fe1bf07 --- /dev/null +++ b/BuildFeed/Local/Model.qps-ploc.resx @@ -0,0 +1,195 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + [!!! Tï₥è çřèáƭèδ !!!] + + + [!!! Âƥƥ ƥáçƙáϱè !!!] + + + [!!! ßúïℓδ ƭï₥è !!!] + + + [!!! ßúïℓδ ƭôôℓƨ !!!] + + + [!!! Ðôçú₥èñƭáƭïôñ !!!] + + + [!!! Hïϱλ !!!] + + + [!!! Fℓïϱλƭ ℓèƲèℓ !!!] + + + [!!! £ôω !!!] + + + [!!! Mèδïú₥ !!!] + + + [!!! Nôñè !!!] + + + [!!! Þúβℓïç ℓèáƙ !!!] + + + [!!! £áβ ƨƭřïñϱ !!!] + + + [!!! £èáƙ ôř řèℓèáƨè δáƭè ℓ !!!] + + + [!!! £ôϱϱïñϱ !!!] + + + [!!! MáJôř Ʋèřƨïôñ !!!] + + + [!!! Mïñôř Ʋèřƨïôñ !!!] + + + [!!! Tï₥è ₥ôδïƒïèδ !!!] + + + [!!! ßúïℓδ ñú₥βèř !!!] + + + [!!! ÞřïƲáƭè ℓèáƙ !!!] + + + [!!! Þúβℓïç řèℓèáƨè !!!] + + + [!!! ßúïℓδ řèƲïƨïôñ !!!] + + + [!!! §ôúřçè δèƭáïℓƨ !!!] + + + [!!! §ôúřçè ƭ¥ƥè !!!] + + + [!!! Ûƥδáƭè (GÐR) !!!] + + + [!!! Ûƥδáƭè (£ÐR) !!!] + + \ No newline at end of file diff --git a/BuildFeed/Local/Model.resx b/BuildFeed/Local/Model.resx new file mode 100644 index 0000000..fcda5a9 --- /dev/null +++ b/BuildFeed/Local/Model.resx @@ -0,0 +1,195 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + Time created + + + App package + + + Build time + + + Build tools + + + Documentation + + + High + + + Flight level + + + Low + + + Medium + + + None + + + Public leak + + + Lab string + + + Leak or release date + + + Logging + + + Major version + + + Minor version + + + Time modified + + + Build number + + + Private leak + + + Public release + + + Build revision + + + Source details + + + Source type + + + Update (GDR) + + + Update (LDR) + + \ No newline at end of file diff --git a/BuildFeed/Models/Build.cs b/BuildFeed/Models/Build.cs index ecd4cea..b45dbdb 100644 --- a/BuildFeed/Models/Build.cs +++ b/BuildFeed/Models/Build.cs @@ -10,6 +10,7 @@ using NServiceKit.Redis; using Required = System.ComponentModel.DataAnnotations.RequiredAttribute; using System.Web.Mvc; +using BuildFeed.Local; namespace BuildFeed.Models { @@ -22,51 +23,51 @@ namespace BuildFeed.Models public long Id { get; set; } [@Required] - [DisplayName("Major Version")] + [Display(ResourceType = typeof(Model), Name = "MajorVersion")] public byte MajorVersion { get; set; } [@Required] - [DisplayName("Minor Version")] + [Display(ResourceType = typeof(Model), Name = "MinorVersion")] public byte MinorVersion { get; set; } [@Required] - [DisplayName("Build Number")] + [Display(ResourceType = typeof(Model), Name = "Number")] public ushort Number { get; set; } - [DisplayName("Build Revision")] + [Display(ResourceType = typeof(Model), Name = "Revision")] [DisplayFormat(ConvertEmptyStringToNull = true)] public ushort? Revision { get; set; } - [DisplayName("Lab String")] + [Display(ResourceType = typeof(Model), Name = "Lab")] public string Lab { get; set; } - [DisplayName("Build Time")] + [Display(ResourceType = typeof(Model), Name = "BuildTime")] [DisplayFormat(ConvertEmptyStringToNull = true, ApplyFormatInEditMode = true, DataFormatString = "{0:yyMMdd-HHmm}")] public DateTime? BuildTime { get; set; } [@Required] - [DisplayName("Time Created")] + [Display(ResourceType = typeof(Model), Name = "Added")] public DateTime Added { get; set; } [@Required] - [DisplayName("Time Modified")] + [Display(ResourceType = typeof(Model), Name = "Modified")] public DateTime Modified { get; set; } [@Required] - [DisplayName("Source Type")] + [Display(ResourceType = typeof(Model), Name = "SourceType")] [EnumDataType(typeof(TypeOfSource))] public TypeOfSource SourceType { get; set; } - [DisplayName("Source Details")] + [Display(ResourceType = typeof(Model), Name = "SourceDetails")] [AllowHtml] public string SourceDetails { get; set; } - [DisplayName("Leak or Release Date")] + [Display(ResourceType = typeof(Model), Name = "LeakDate")] [DisplayFormat(ConvertEmptyStringToNull = true, ApplyFormatInEditMode = true, DataFormatString = "{0:dd/MM/yyyy}")] public DateTime? LeakDate { get; set; } - [DisplayName("Flight Level")] + [Display(ResourceType = typeof(Model), Name = "FlightLevel")] [EnumDataType(typeof(LevelOfFlight))] public LevelOfFlight FlightLevel { get; set; } @@ -271,39 +272,46 @@ namespace BuildFeed.Models public enum TypeOfSource { - [Display(Name = "Public Release")] + [Display(ResourceType = typeof(Model), Name = "PublicRelease")] PublicRelease, - [Display(Name = "Public Leak")] + [Display(ResourceType = typeof(Model), Name = "InternalLeak")] InternalLeak, - [Display(Name = "Update (GDR)")] + [Display(ResourceType = typeof(Model), Name = "UpdateGDR")] UpdateGDR, - [Display(Name = "Update (LDR)")] + [Display(ResourceType = typeof(Model), Name = "UpdateLDR")] UpdateLDR, - [Display(Name = "App Package")] + [Display(ResourceType = typeof(Model), Name = "AppPackage")] AppPackage, - [Display(Name = "Build Tools")] + [Display(ResourceType = typeof(Model), Name = "BuildTools")] BuildTools, - [Display(Name = "Documentation")] + [Display(ResourceType = typeof(Model), Name = "Documentation")] Documentation, - [Display(Name = "Logging")] + [Display(ResourceType = typeof(Model), Name = "Logging")] Logging, - [Display(Name = "Private Leak")] + [Display(ResourceType = typeof(Model), Name = "PrivateLeak")] PrivateLeak } public enum LevelOfFlight { + [Display(ResourceType = typeof(Model), Name = "FlightNone")] None = 0, + + [Display(ResourceType = typeof(Model), Name = "FlightLow")] Low = 1, + + [Display(ResourceType = typeof(Model), Name = "FlightMedium")] Medium = 2, + + [Display(ResourceType = typeof(Model), Name = "FlightHigh")] High = 3 } diff --git a/BuildFeed/Views/shared/_default.cshtml b/BuildFeed/Views/shared/_default.cshtml index b8bd569..a451d3f 100644 --- a/BuildFeed/Views/shared/_default.cshtml +++ b/BuildFeed/Views/shared/_default.cshtml @@ -10,7 +10,7 @@ - + @Styles.Render("~/content/css") @ViewBag.Title @@ -47,34 +47,34 @@
@@ -91,14 +91,14 @@

- © 2013 - @DateTime.Now.Year.ToString(), BuildFeed
- Developed by Thomas Hounsell
- Contribute on  GitHub + © 2013 - @DateTime.Now.Year.ToString(), @BuildFeed.Local.Common.SiteName
+ @BuildFeed.Local.Common.DevelopedBy Thomas Hounsell
+ @BuildFeed.Local.Common.ContributeOn  GitHub

@@ -109,14 +109,14 @@