Bug fixes, Arabic update, Hebrew addition

Also finally nailed bug #26
refactor-intermediate-models
Thomas Hounsell 2015-10-06 21:28:49 +01:00
parent 2ca45d30df
commit 521e213eb2
17 changed files with 842 additions and 6 deletions

View File

@ -221,6 +221,11 @@
<Compile Include="Global.asax.cs">
<DependentUpon>Global.asax</DependentUpon>
</Compile>
<Compile Include="Local\Common.he.Designer.cs">
<DependentUpon>Common.he.resx</DependentUpon>
<AutoGen>True</AutoGen>
<DesignTime>True</DesignTime>
</Compile>
<Compile Include="Local\Common.id.Designer.cs">
<DependentUpon>Common.id.resx</DependentUpon>
<AutoGen>True</AutoGen>
@ -341,6 +346,11 @@
<AutoGen>True</AutoGen>
<DesignTime>True</DesignTime>
</Compile>
<Compile Include="Local\Front.he.Designer.cs">
<DependentUpon>Front.he.resx</DependentUpon>
<AutoGen>True</AutoGen>
<DesignTime>True</DesignTime>
</Compile>
<Compile Include="Local\Front.id.Designer.cs">
<DependentUpon>Front.id.resx</DependentUpon>
<AutoGen>True</AutoGen>
@ -456,6 +466,11 @@
<AutoGen>True</AutoGen>
<DesignTime>True</DesignTime>
</Compile>
<Compile Include="Local\Model.he.Designer.cs">
<DependentUpon>Model.he.resx</DependentUpon>
<AutoGen>True</AutoGen>
<DesignTime>True</DesignTime>
</Compile>
<Compile Include="Local\Model.id.Designer.cs">
<DependentUpon>Model.id.resx</DependentUpon>
<AutoGen>True</AutoGen>
@ -571,6 +586,11 @@
<AutoGen>True</AutoGen>
<DesignTime>True</DesignTime>
</Compile>
<Compile Include="Local\Support.he.Designer.cs">
<DependentUpon>Support.he.resx</DependentUpon>
<AutoGen>True</AutoGen>
<DesignTime>True</DesignTime>
</Compile>
<Compile Include="Local\Support.id.Designer.cs">
<DependentUpon>Support.id.resx</DependentUpon>
<AutoGen>True</AutoGen>
@ -844,6 +864,10 @@
<Service Include="{4A0DDDB5-7A95-4FBF-97CC-616D07737A77}" />
</ItemGroup>
<ItemGroup>
<EmbeddedResource Include="Local\Common.he.resx">
<Generator>PublicResXFileCodeGenerator</Generator>
<LastGenOutput>Common.he.Designer.cs</LastGenOutput>
</EmbeddedResource>
<EmbeddedResource Include="Local\Common.id.resx">
<Generator>PublicResXFileCodeGenerator</Generator>
<LastGenOutput>Common.id.Designer.cs</LastGenOutput>
@ -940,6 +964,10 @@
<Generator>PublicResXFileCodeGenerator</Generator>
<LastGenOutput>Common.qps-ploc.Designer.cs</LastGenOutput>
</EmbeddedResource>
<EmbeddedResource Include="Local\Front.he.resx">
<Generator>PublicResXFileCodeGenerator</Generator>
<LastGenOutput>Front.he.Designer.cs</LastGenOutput>
</EmbeddedResource>
<EmbeddedResource Include="Local\Front.id.resx">
<Generator>PublicResXFileCodeGenerator</Generator>
<LastGenOutput>Front.id.Designer.cs</LastGenOutput>
@ -1032,6 +1060,11 @@
<Generator>PublicResXFileCodeGenerator</Generator>
<LastGenOutput>Front.qps-ploc.Designer.cs</LastGenOutput>
</EmbeddedResource>
<EmbeddedResource Include="Local\Model.he.resx">
<Generator>PublicResXFileCodeGenerator</Generator>
<LastGenOutput>Model.he.Designer.cs</LastGenOutput>
<SubType>Designer</SubType>
</EmbeddedResource>
<EmbeddedResource Include="Local\Model.id.resx">
<Generator>PublicResXFileCodeGenerator</Generator>
<LastGenOutput>Model.id.Designer.cs</LastGenOutput>
@ -1147,6 +1180,10 @@
<LastGenOutput>Model.qps-ploc.Designer.cs</LastGenOutput>
<SubType>Designer</SubType>
</EmbeddedResource>
<EmbeddedResource Include="Local\Support.he.resx">
<Generator>PublicResXFileCodeGenerator</Generator>
<LastGenOutput>Support.he.Designer.cs</LastGenOutput>
</EmbeddedResource>
<EmbeddedResource Include="Local\Support.id.resx">
<Generator>PublicResXFileCodeGenerator</Generator>
<LastGenOutput>Support.id.Designer.cs</LastGenOutput>

View File

@ -15,6 +15,7 @@ namespace BuildFeed.Code
new SiteLocale("es"),
new SiteLocale("fi"),
new SiteLocale("fr"),
new SiteLocale("he"),
new SiteLocale("hr"),
new SiteLocale("id"),
new SiteLocale("it"),

View File

@ -116,7 +116,7 @@ namespace BuildFeed.Controllers
l.Length ascending
select new SearchResult()
{
Url = Url.Route("Lab Root", new { controller = "front", action = "viewLab", lab = l }),
Url = Url.Route("Lab Root", new { controller = "front", action = "viewLab", lab = l.Replace('/', '-') }),
Label = l.Replace(query, $"<strong>{query}</strong>"),
Title = l,
Group = Common.SearchLab

View File

@ -141,10 +141,10 @@ namespace BuildFeed.Controllers
Type = MetaType.Lab,
Value = lab
});
ViewBag.ItemId = lab;
var builds = await bModel.SelectLab(lab, (page - 1) * PAGE_SIZE, PAGE_SIZE);
ViewBag.ItemId = builds.First().Lab;
ViewBag.PageNumber = page;
ViewBag.PageCount = Math.Ceiling(Convert.ToDouble(await bModel.SelectLabCount(lab)) / Convert.ToDouble(PAGE_SIZE));

View File

@ -127,7 +127,7 @@
<value>ساهم في التطوير على</value>
</data>
<data name="Credits" xml:space="preserve">
<value>[!!! Çřèδïƭƨ !!!]</value>
<value>المساهمات ولائحة الشكر</value>
</data>
<data name="DevelopedBy" xml:space="preserve">
<value>طوّرت من قبل</value>

0
BuildFeed/Local/Common.he.Designer.cs generated Normal file
View File

View File

@ -0,0 +1,198 @@
<?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="AddBuild" xml:space="preserve">
<value>הוספת בילד</value>
</data>
<data name="Admin" xml:space="preserve">
<value>Admin</value>
</data>
<data name="ContributeOn" xml:space="preserve">
<value>סיוע בפיתוח ב</value>
</data>
<data name="Credits" xml:space="preserve">
<value>תודות</value>
</data>
<data name="DevelopedBy" xml:space="preserve">
<value>פותח על-ידי</value>
</data>
<data name="Error" xml:space="preserve">
<value>שגיאה</value>
</data>
<data name="LogIn" xml:space="preserve">
<value>כניסה</value>
</data>
<data name="LogOut" xml:space="preserve">
<value>יציאה</value>
</data>
<data name="PageTitleSegment" xml:space="preserve">
<value>| דף {0}</value>
</data>
<data name="ProductName" xml:space="preserve">
<value>Windows NT</value>
</data>
<data name="RssFeeds" xml:space="preserve">
<value>RSS feeds</value>
</data>
<data name="Search" xml:space="preserve">
<value>חיפוש</value>
</data>
<data name="SearchBuild" xml:space="preserve">
<value>בילד</value>
</data>
<data name="SearchBuildFeed" xml:space="preserve">
<value>חיפוש ב-BuildFeed</value>
</data>
<data name="SearchEmpty" xml:space="preserve">
<value>לא נמצאו תוצאות</value>
</data>
<data name="SearchLab" xml:space="preserve">
<value>מעבדה</value>
</data>
<data name="SearchQuery" xml:space="preserve">
<value>מחרוזת חיפוש</value>
</data>
<data name="SearchSource" xml:space="preserve">
<value>מקור</value>
</data>
<data name="SearchVersion" xml:space="preserve">
<value>גירסה</value>
</data>
<data name="SearchYear" xml:space="preserve">
<value>שנה</value>
</data>
<data name="Sitemap" xml:space="preserve">
<value>מפת אתר</value>
</data>
<data name="SiteName" xml:space="preserve">
<value>BuildFeed</value>
</data>
<data name="Statistics" xml:space="preserve">
<value>סטטיסטיקה</value>
</data>
<data name="ToggleNavigation" xml:space="preserve">
<value>הפעלת ניווט</value>
</data>
<data name="Twitter" xml:space="preserve">
<value>Twitter</value>
</data>
<data name="TypeToSearch" xml:space="preserve">
<value>הקלד לחיפוש...</value>
</data>
</root>

0
BuildFeed/Local/Front.he.Designer.cs generated Normal file
View File

View File

@ -0,0 +1,198 @@
<?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="About" xml:space="preserve">
<value>אודות</value>
</data>
<data name="AddABuild" xml:space="preserve">
<value>הוספת בילד</value>
</data>
<data name="BuildMetaDate" xml:space="preserve">
<value>מידע נוסף אודות הבילד {0}, מ {1} והודר ב {2}.</value>
</data>
<data name="BuildMetaNoDate" xml:space="preserve">
<value>מידע נוסף אודות הבילד{0}, מ {1}. BuildFeed עוקב אחרי בילדים של חלונות במהלך תהליך הפיתוח.</value>
</data>
<data name="BuildsFrom" xml:space="preserve">
<value>בילדים מ {0}</value>
</data>
<data name="Comments" xml:space="preserve">
<value>הערות</value>
</data>
<data name="Delete" xml:space="preserve">
<value>מחק</value>
</data>
<data name="Edit" xml:space="preserve">
<value>ערוך</value>
</data>
<data name="EditBuild" xml:space="preserve">
<value>ערוך בילד</value>
</data>
<data name="EditorActions" xml:space="preserve">
<value>פעולות עורך</value>
</data>
<data name="HomepageH1" xml:space="preserve">
<value>רשימת בילדים של Windows NT</value>
</data>
<data name="LabMetaGeneric" xml:space="preserve">
<value>צפו בכל הבילדים הידועים ממעבדת הפיתוח של Windows {0} דרך BuildFeed, רשימת בילדים שיתופית של Windows</value>
</data>
<data name="Listing" xml:space="preserve">
<value>רשימה</value>
</data>
<data name="MoreFromLab" xml:space="preserve">
<value>מצא בילדים נוספים מ {0}</value>
</data>
<data name="MoreFromSource" xml:space="preserve">
<value>מצא בילדים נוספים שמקורם ב {0}</value>
</data>
<data name="MoreFromYear" xml:space="preserve">
<value>מצא בילדים נוספים שהודרו ב {0}</value>
</data>
<data name="NoLab" xml:space="preserve">
<value>אין מחרוזת מעבדה</value>
</data>
<data name="Private" xml:space="preserve">
<value>פנימי</value>
</data>
<data name="Public" xml:space="preserve">
<value>ציבורי</value>
</data>
<data name="QuickPaste" xml:space="preserve">
<value>הדבקה מהירה</value>
</data>
<data name="ReturnToListing" xml:space="preserve">
<value>חזור לרשימת הבילדים</value>
</data>
<data name="ReturnToOverview" xml:space="preserve">
<value>חזרה לתיאור הבילד</value>
</data>
<data name="Share" xml:space="preserve">
<value>שתף</value>
</data>
<data name="Today" xml:space="preserve">
<value>היום</value>
</data>
<data name="xBuilds" xml:space="preserve">
<value>בילדים</value>
</data>
<data name="YearMetaGeneric" xml:space="preserve">
<value>הצג רשימה של כל הבילדים שהודרו ב {0}, וצפה כיצד Windows מפותח עם הזמן הודות למאמץ המשותף ב, BuildFeed</value>
</data>
</root>

0
BuildFeed/Local/Model.he.Designer.cs generated Normal file
View File

View File

@ -0,0 +1,201 @@
<?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="Added" xml:space="preserve">
<value>זמן יצירה</value>
</data>
<data name="AppPackage" xml:space="preserve">
<value>חבילת תוכנה</value>
</data>
<data name="BuildTime" xml:space="preserve">
<value>שעת יצירת בילד</value>
</data>
<data name="BuildTools" xml:space="preserve">
<value>כלים</value>
</data>
<data name="Documentation" xml:space="preserve">
<value>תיעוד</value>
</data>
<data name="FlightCanary" xml:space="preserve">
<value>Canary</value>
</data>
<data name="FlightLevel" xml:space="preserve">
<value>רמת גישה</value>
</data>
<data name="FlightMSIT" xml:space="preserve">
<value>פנימי של מיקרוסופט</value>
</data>
<data name="FlightNone" xml:space="preserve">
<value>ללא</value>
</data>
<data name="FlightOSG" xml:space="preserve">
<value>Operating Systems Group</value>
</data>
<data name="FlightWIF" xml:space="preserve">
<value>Windows Insider Fast</value>
</data>
<data name="FlightWIS" xml:space="preserve">
<value>Windows Insider Slow</value>
</data>
<data name="InternalLeak" xml:space="preserve">
<value>Public leak</value>
</data>
<data name="Lab" xml:space="preserve">
<value>מחרוזת מעבדה</value>
</data>
<data name="LeakDate" xml:space="preserve">
<value>תאריך זליגה או שיחרור</value>
</data>
<data name="Logging" xml:space="preserve">
<value>מעקב</value>
</data>
<data name="MajorVersion" xml:space="preserve">
<value>גירסה עיקרית</value>
</data>
<data name="MinorVersion" xml:space="preserve">
<value>גירסה משנית</value>
</data>
<data name="Modified" xml:space="preserve">
<value>זמן שינוי</value>
</data>
<data name="Number" xml:space="preserve">
<value>מספר בילד</value>
</data>
<data name="PrivateLeak" xml:space="preserve">
<value>זליגה פנימית</value>
</data>
<data name="PublicRelease" xml:space="preserve">
<value>הפצה רשמית</value>
</data>
<data name="Revision" xml:space="preserve">
<value>מהדורת בילד</value>
</data>
<data name="SourceDetails" xml:space="preserve">
<value>תאור המקור</value>
</data>
<data name="SourceType" xml:space="preserve">
<value>סוג המקור</value>
</data>
<data name="UpdateGDR" xml:space="preserve">
<value>עדכון (GDR)</value>
</data>
<data name="UpdateLDR" xml:space="preserve">
<value>עדכון (LDR)</value>
</data>
</root>

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

View File

@ -0,0 +1,198 @@
<?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>כל חשבון נבדק על ידי מנהל האתר. היאזר בסבלנות וחזור מאוחר יותר.</value>
</data>
<data name="AdditionsToBuildFeed" xml:space="preserve">
<value>מה חדש ב- BuildFeed</value>
</data>
<data name="BuildsCompiled" xml:space="preserve">
<value>מספר הבילדים שהודרו</value>
</data>
<data name="ChangePassword" xml:space="preserve">
<value>שינוי סיסמה</value>
</data>
<data name="ConfirmNewPassword" xml:space="preserve">
<value>אשר סיסמה חדשה</value>
</data>
<data name="ConfirmPassword" xml:space="preserve">
<value>אשר סיסמה</value>
</data>
<data name="EmailAddress" xml:space="preserve">
<value>כתובת דוא"ל</value>
</data>
<data name="EnterCurrentPassword" xml:space="preserve">
<value>סיסמה נוכחית</value>
</data>
<data name="EnterNewPassword" xml:space="preserve">
<value>סיסמה חדשה</value>
</data>
<data name="EnterPassword" xml:space="preserve">
<value>הקש סיסמה</value>
</data>
<data name="HighestVersion" xml:space="preserve">
<value>החדשים ביותר</value>
</data>
<data name="Labs" xml:space="preserve">
<value>מעבדות</value>
</data>
<data name="Login" xml:space="preserve">
<value>כניסה</value>
</data>
<data name="Password" xml:space="preserve">
<value>סיסמה</value>
</data>
<data name="RecentlyAdded" xml:space="preserve">
<value>נוספו לאחרונה</value>
</data>
<data name="RecentlyCompiled" xml:space="preserve">
<value>הודרו לאחרונה</value>
</data>
<data name="RecentlyLeaked" xml:space="preserve">
<value>זלגו לאחרונה</value>
</data>
<data name="Register" xml:space="preserve">
<value>רישום</value>
</data>
<data name="RememberMe" xml:space="preserve">
<value>זכור אותי</value>
</data>
<data name="StatsCompiled" xml:space="preserve">
<value>בילדים שהודרו בכל רבעון</value>
</data>
<data name="StatsLab" xml:space="preserve">
<value>בילדים לפי מעבדה</value>
</data>
<data name="StatsLabIncluded" xml:space="preserve">
<value>מוצגות מעבדות עם מעל 100 בילדים רשומים בלבד</value>
</data>
<data name="StatsNewAdditions" xml:space="preserve">
<value>הוספות חדשות ל-BuildFeed בשנה האחרונה</value>
</data>
<data name="ThanksRegister" xml:space="preserve">
<value>תודה על ההרשמה</value>
</data>
<data name="UserName" xml:space="preserve">
<value>שם משתמש</value>
</data>
<data name="Week" xml:space="preserve">
<value>שבוע</value>
</data>
</root>

View File

@ -316,7 +316,8 @@ namespace BuildFeed.Models
[DataObjectMethod(DataObjectMethodType.Select, false)]
public async Task<long> SelectLabCount(string lab)
{
return await _buildCollection.Find(b => b.Lab != null && (b.Lab.ToLower() == lab.ToLower()))
string labUrl = lab.Replace('/', '-').ToLower();
return await _buildCollection.Find(b => b.Lab != null && b.LabUrl == labUrl)
.CountAsync();
}

View File

@ -82,7 +82,7 @@
else
{
@Model.Lab<br />
<a href="@Url.Action("viewLab", new { lab = Model.Lab })" class="more-link"><i class="fa fa-plus-square-o fa-sm"></i> @string.Format(BuildFeed.Local.Front.MoreFromLab, Model.Lab)</a>
<a href="@Url.Action("viewLab", new { lab = Model.LabUrl })" class="more-link"><i class="fa fa-plus-square-o fa-sm"></i> @string.Format(BuildFeed.Local.Front.MoreFromLab, Model.Lab)</a>
}
</p>
</div>

View File

@ -34,6 +34,8 @@
<dd>CgSYannick&ensp;<a target="_blank" rel="nofollow" href="https://twitter.com/YannickTHFR"><i class="fa fa-twitter"></i></a></dd>
<dt>Croatian (@System.Globalization.CultureInfo.GetCultureInfo("hr").NativeName) Translation</dt>
<dd>Cadenzza92&ensp;<a target="_blank" rel="nofollow" href="https://twitter.com/Cadenzza92"><i class="fa fa-twitter"></i></a></dd>
<dt>Hebrew (@System.Globalization.CultureInfo.GetCultureInfo("he").NativeName) Translation</dt>
<dd>David Fainshtein&ensp;<a target="_blank" rel="nofollow" href="https://twitter.com/david_f"><i class="fa fa-twitter"></i></a></dd>
<dt>Indonesian (@System.Globalization.CultureInfo.GetCultureInfo("id").NativeName) Translation</dt>
<dd>Andreas</dd>
<dt>Italian (@System.Globalization.CultureInfo.GetCultureInfo("it").NativeName) Translation</dt>

View File

@ -215,7 +215,7 @@ namespace MongoAuth
public override bool DeleteUser(string username, bool deleteAllRelatedData)
{
var task = _memberCollection
.DeleteOneAsync(m => m.UserName.ToLower() == m.UserName.ToLower());
.DeleteOneAsync(m => m.UserName.ToLower() == username);
task.Wait();
return task.Result.IsAcknowledged && task.Result.DeletedCount == 1;