aboutsummaryrefslogtreecommitdiff
path: root/Timeline/Resources
diff options
context:
space:
mode:
Diffstat (limited to 'Timeline/Resources')
-rw-r--r--Timeline/Resources/Common.Designer.cs72
-rw-r--r--Timeline/Resources/Common.resx123
-rw-r--r--Timeline/Resources/Controllers/TimelineController.Designer.cs54
-rw-r--r--Timeline/Resources/Controllers/TimelineController.resx18
-rw-r--r--Timeline/Resources/Controllers/TimelineController.zh.resx138
-rw-r--r--Timeline/Resources/Controllers/TokenController.Designer.cs45
-rw-r--r--Timeline/Resources/Controllers/TokenController.resx15
-rw-r--r--Timeline/Resources/Controllers/UserAvatarController.Designer.cs72
-rw-r--r--Timeline/Resources/Controllers/UserAvatarController.resx24
-rw-r--r--Timeline/Resources/Controllers/UserController.Designer.cs118
-rw-r--r--Timeline/Resources/Controllers/UserController.resx42
-rw-r--r--Timeline/Resources/Controllers/UserController.zh.resx138
-rw-r--r--Timeline/Resources/Filters.Designer.cs63
-rw-r--r--Timeline/Resources/Filters.resx21
-rw-r--r--Timeline/Resources/Filters.zh.resx141
-rw-r--r--Timeline/Resources/Messages.Designer.cs270
-rw-r--r--Timeline/Resources/Messages.resx (renamed from Timeline/Resources/Controllers/UserAvatarController.zh.resx)77
-rw-r--r--Timeline/Resources/Messages.zh.resx (renamed from Timeline/Resources/Controllers/TokenController.zh.resx)68
-rw-r--r--Timeline/Resources/Models/Http/Common.Designer.cs36
-rw-r--r--Timeline/Resources/Models/Http/Common.resx12
-rw-r--r--Timeline/Resources/Models/Http/Common.zh.resx12
21 files changed, 400 insertions, 1159 deletions
diff --git a/Timeline/Resources/Common.Designer.cs b/Timeline/Resources/Common.Designer.cs
deleted file mode 100644
index 4f1c8e3f..00000000
--- a/Timeline/Resources/Common.Designer.cs
+++ /dev/null
@@ -1,72 +0,0 @@
-//------------------------------------------------------------------------------
-// <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 Timeline.Resources {
- 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", "16.0.0.0")]
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
- internal 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() {
- }
-
- /// <summary>
- /// Returns the cached ResourceManager instance used by this class.
- /// </summary>
- [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
- internal static global::System.Resources.ResourceManager ResourceManager {
- get {
- if (object.ReferenceEquals(resourceMan, null)) {
- global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("Timeline.Resources.Common", typeof(Common).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)]
- internal static global::System.Globalization.CultureInfo Culture {
- get {
- return resourceCulture;
- }
- set {
- resourceCulture = value;
- }
- }
-
- /// <summary>
- /// Looks up a localized string similar to The branch is invalid. Normally this branch is not reachable..
- /// </summary>
- internal static string ExceptionInvalidBranch {
- get {
- return ResourceManager.GetString("ExceptionInvalidBranch", resourceCulture);
- }
- }
- }
-}
diff --git a/Timeline/Resources/Common.resx b/Timeline/Resources/Common.resx
deleted file mode 100644
index 8a036996..00000000
--- a/Timeline/Resources/Common.resx
+++ /dev/null
@@ -1,123 +0,0 @@
-<?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="ExceptionInvalidBranch" xml:space="preserve">
- <value>The branch is invalid. Normally this branch is not reachable.</value>
- </data>
-</root> \ No newline at end of file
diff --git a/Timeline/Resources/Controllers/TimelineController.Designer.cs b/Timeline/Resources/Controllers/TimelineController.Designer.cs
index 47c43fa2..ae6414e6 100644
--- a/Timeline/Resources/Controllers/TimelineController.Designer.cs
+++ b/Timeline/Resources/Controllers/TimelineController.Designer.cs
@@ -77,59 +77,5 @@ namespace Timeline.Resources.Controllers {
return ResourceManager.GetString("LogUnknownTimelineMemberOperationUserException", resourceCulture);
}
}
-
- /// <summary>
- /// Looks up a localized string similar to The {0}-st username to do operation {1} on is of bad format..
- /// </summary>
- internal static string MessageMemberUsernameBadFormat {
- get {
- return ResourceManager.GetString("MessageMemberUsernameBadFormat", resourceCulture);
- }
- }
-
- /// <summary>
- /// Looks up a localized string similar to The {0}-st user to do operation {1} on does not exist..
- /// </summary>
- internal static string MessageMemberUserNotExist {
- get {
- return ResourceManager.GetString("MessageMemberUserNotExist", resourceCulture);
- }
- }
-
- /// <summary>
- /// Looks up a localized string similar to You have no permission to read posts of the timeline..
- /// </summary>
- internal static string MessagePostListGetForbid {
- get {
- return ResourceManager.GetString("MessagePostListGetForbid", resourceCulture);
- }
- }
-
- /// <summary>
- /// Looks up a localized string similar to You have no permission to create posts in the timeline..
- /// </summary>
- internal static string MessagePostOperationCreateForbid {
- get {
- return ResourceManager.GetString("MessagePostOperationCreateForbid", resourceCulture);
- }
- }
-
- /// <summary>
- /// Looks up a localized string similar to You have no permission to delete posts in the timeline..
- /// </summary>
- internal static string MessagePostOperationDeleteForbid {
- get {
- return ResourceManager.GetString("MessagePostOperationDeleteForbid", resourceCulture);
- }
- }
-
- /// <summary>
- /// Looks up a localized string similar to The post to delete does not exist..
- /// </summary>
- internal static string MessagePostOperationDeleteNotExist {
- get {
- return ResourceManager.GetString("MessagePostOperationDeleteNotExist", resourceCulture);
- }
- }
}
}
diff --git a/Timeline/Resources/Controllers/TimelineController.resx b/Timeline/Resources/Controllers/TimelineController.resx
index 0cf7e881..4cf3d6fb 100644
--- a/Timeline/Resources/Controllers/TimelineController.resx
+++ b/Timeline/Resources/Controllers/TimelineController.resx
@@ -123,22 +123,4 @@
<data name="LogUnknownTimelineMemberOperationUserException" xml:space="preserve">
<value>An unknown TimelineMemberOperationUserException is thrown. Can't recognize its inner exception. It is rethrown.</value>
</data>
- <data name="MessageMemberUsernameBadFormat" xml:space="preserve">
- <value>The {0}-st username to do operation {1} on is of bad format.</value>
- </data>
- <data name="MessageMemberUserNotExist" xml:space="preserve">
- <value>The {0}-st user to do operation {1} on does not exist.</value>
- </data>
- <data name="MessagePostListGetForbid" xml:space="preserve">
- <value>You have no permission to read posts of the timeline.</value>
- </data>
- <data name="MessagePostOperationCreateForbid" xml:space="preserve">
- <value>You have no permission to create posts in the timeline.</value>
- </data>
- <data name="MessagePostOperationDeleteForbid" xml:space="preserve">
- <value>You have no permission to delete posts in the timeline.</value>
- </data>
- <data name="MessagePostOperationDeleteNotExist" xml:space="preserve">
- <value>The post to delete does not exist.</value>
- </data>
</root> \ No newline at end of file
diff --git a/Timeline/Resources/Controllers/TimelineController.zh.resx b/Timeline/Resources/Controllers/TimelineController.zh.resx
deleted file mode 100644
index 170ab4cd..00000000
--- a/Timeline/Resources/Controllers/TimelineController.zh.resx
+++ /dev/null
@@ -1,138 +0,0 @@
-<?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="MessageMemberUsernameBadFormat" xml:space="preserve">
- <value>第{0}个做{1}操作的用户名格式错误。</value>
- </data>
- <data name="MessageMemberUserNotExist" xml:space="preserve">
- <value>第{0}个做{1}操作的用户不存在。</value>
- </data>
- <data name="MessagePostListGetForbid" xml:space="preserve">
- <value>你没有权限读取这个时间线消息。</value>
- </data>
- <data name="MessagePostOperationCreateForbid" xml:space="preserve">
- <value>你没有权限在这个时间线中创建消息。</value>
- </data>
- <data name="MessagePostOperationDeleteForbid" xml:space="preserve">
- <value>你没有权限在这个时间线中删除消息。</value>
- </data>
- <data name="MessagePostOperationDeleteNotExist" xml:space="preserve">
- <value>要删除的消息不存在。</value>
- </data>
-</root> \ No newline at end of file
diff --git a/Timeline/Resources/Controllers/TokenController.Designer.cs b/Timeline/Resources/Controllers/TokenController.Designer.cs
index 22e6a8be..a7c2864b 100644
--- a/Timeline/Resources/Controllers/TokenController.Designer.cs
+++ b/Timeline/Resources/Controllers/TokenController.Designer.cs
@@ -61,51 +61,6 @@ namespace Timeline.Resources.Controllers {
}
/// <summary>
- /// Looks up a localized string similar to Username or password is invalid..
- /// </summary>
- internal static string ErrorBadCredential {
- get {
- return ResourceManager.GetString("ErrorBadCredential", resourceCulture);
- }
- }
-
- /// <summary>
- /// Looks up a localized string similar to The token is of bad format. It might not be created by the server..
- /// </summary>
- internal static string ErrorVerifyBadFormat {
- get {
- return ResourceManager.GetString("ErrorVerifyBadFormat", resourceCulture);
- }
- }
-
- /// <summary>
- /// Looks up a localized string similar to The token is expired..
- /// </summary>
- internal static string ErrorVerifyExpire {
- get {
- return ResourceManager.GetString("ErrorVerifyExpire", resourceCulture);
- }
- }
-
- /// <summary>
- /// Looks up a localized string similar to Token has an old version. User might have update some info..
- /// </summary>
- internal static string ErrorVerifyOldVersion {
- get {
- return ResourceManager.GetString("ErrorVerifyOldVersion", resourceCulture);
- }
- }
-
- /// <summary>
- /// Looks up a localized string similar to User does not exist. Administrator might have deleted this user..
- /// </summary>
- internal static string ErrorVerifyUserNotExist {
- get {
- return ResourceManager.GetString("ErrorVerifyUserNotExist", resourceCulture);
- }
- }
-
- /// <summary>
/// Looks up a localized string similar to The password is wrong..
/// </summary>
internal static string LogBadPassword {
diff --git a/Timeline/Resources/Controllers/TokenController.resx b/Timeline/Resources/Controllers/TokenController.resx
index 42e1ff92..683d6cc9 100644
--- a/Timeline/Resources/Controllers/TokenController.resx
+++ b/Timeline/Resources/Controllers/TokenController.resx
@@ -117,21 +117,6 @@
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
- <data name="ErrorBadCredential" xml:space="preserve">
- <value>Username or password is invalid.</value>
- </data>
- <data name="ErrorVerifyBadFormat" xml:space="preserve">
- <value>The token is of bad format. It might not be created by the server.</value>
- </data>
- <data name="ErrorVerifyExpire" xml:space="preserve">
- <value>The token is expired.</value>
- </data>
- <data name="ErrorVerifyOldVersion" xml:space="preserve">
- <value>Token has an old version. User might have update some info.</value>
- </data>
- <data name="ErrorVerifyUserNotExist" xml:space="preserve">
- <value>User does not exist. Administrator might have deleted this user.</value>
- </data>
<data name="LogBadPassword" xml:space="preserve">
<value>The password is wrong.</value>
</data>
diff --git a/Timeline/Resources/Controllers/UserAvatarController.Designer.cs b/Timeline/Resources/Controllers/UserAvatarController.Designer.cs
index 1dacb19f..e6eeb1e8 100644
--- a/Timeline/Resources/Controllers/UserAvatarController.Designer.cs
+++ b/Timeline/Resources/Controllers/UserAvatarController.Designer.cs
@@ -61,78 +61,6 @@ namespace Timeline.Resources.Controllers {
}
/// <summary>
- /// Looks up a localized string similar to Normal user can&apos;t delete other&apos;s avatar..
- /// </summary>
- internal static string ErrorDeleteForbid {
- get {
- return ResourceManager.GetString("ErrorDeleteForbid", resourceCulture);
- }
- }
-
- /// <summary>
- /// Looks up a localized string similar to User does not exist..
- /// </summary>
- internal static string ErrorDeleteUserNotExist {
- get {
- return ResourceManager.GetString("ErrorDeleteUserNotExist", resourceCulture);
- }
- }
-
- /// <summary>
- /// Looks up a localized string similar to User does not exist..
- /// </summary>
- internal static string ErrorGetUserNotExist {
- get {
- return ResourceManager.GetString("ErrorGetUserNotExist", resourceCulture);
- }
- }
-
- /// <summary>
- /// Looks up a localized string similar to Image is not a square..
- /// </summary>
- internal static string ErrorPutBadFormatBadSize {
- get {
- return ResourceManager.GetString("ErrorPutBadFormatBadSize", resourceCulture);
- }
- }
-
- /// <summary>
- /// Looks up a localized string similar to Decoding image failed..
- /// </summary>
- internal static string ErrorPutBadFormatCantDecode {
- get {
- return ResourceManager.GetString("ErrorPutBadFormatCantDecode", resourceCulture);
- }
- }
-
- /// <summary>
- /// Looks up a localized string similar to Image format is not the one in header..
- /// </summary>
- internal static string ErrorPutBadFormatUnmatchedFormat {
- get {
- return ResourceManager.GetString("ErrorPutBadFormatUnmatchedFormat", resourceCulture);
- }
- }
-
- /// <summary>
- /// Looks up a localized string similar to Normal user can&apos;t change other&apos;s avatar..
- /// </summary>
- internal static string ErrorPutForbid {
- get {
- return ResourceManager.GetString("ErrorPutForbid", resourceCulture);
- }
- }
-
- /// <summary>
- /// Looks up a localized string similar to User does not exist..
- /// </summary>
- internal static string ErrorPutUserNotExist {
- get {
- return ResourceManager.GetString("ErrorPutUserNotExist", resourceCulture);
- }
- }
-
- /// <summary>
/// Looks up a localized string similar to Unknown AvatarDataException.ErrorReason value..
/// </summary>
internal static string ExceptionUnknownAvatarFormatError {
diff --git a/Timeline/Resources/Controllers/UserAvatarController.resx b/Timeline/Resources/Controllers/UserAvatarController.resx
index 3f444b04..58860c83 100644
--- a/Timeline/Resources/Controllers/UserAvatarController.resx
+++ b/Timeline/Resources/Controllers/UserAvatarController.resx
@@ -117,30 +117,6 @@
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
- <data name="ErrorDeleteForbid" xml:space="preserve">
- <value>Normal user can't delete other's avatar.</value>
- </data>
- <data name="ErrorDeleteUserNotExist" xml:space="preserve">
- <value>User does not exist.</value>
- </data>
- <data name="ErrorGetUserNotExist" xml:space="preserve">
- <value>User does not exist.</value>
- </data>
- <data name="ErrorPutBadFormatBadSize" xml:space="preserve">
- <value>Image is not a square.</value>
- </data>
- <data name="ErrorPutBadFormatCantDecode" xml:space="preserve">
- <value>Decoding image failed.</value>
- </data>
- <data name="ErrorPutBadFormatUnmatchedFormat" xml:space="preserve">
- <value>Image format is not the one in header.</value>
- </data>
- <data name="ErrorPutForbid" xml:space="preserve">
- <value>Normal user can't change other's avatar.</value>
- </data>
- <data name="ErrorPutUserNotExist" xml:space="preserve">
- <value>User does not exist.</value>
- </data>
<data name="ExceptionUnknownAvatarFormatError" xml:space="preserve">
<value>Unknown AvatarDataException.ErrorReason value.</value>
</data>
diff --git a/Timeline/Resources/Controllers/UserController.Designer.cs b/Timeline/Resources/Controllers/UserController.Designer.cs
index 0c9ac0d7..c8067614 100644
--- a/Timeline/Resources/Controllers/UserController.Designer.cs
+++ b/Timeline/Resources/Controllers/UserController.Designer.cs
@@ -61,56 +61,11 @@ namespace Timeline.Resources.Controllers {
}
/// <summary>
- /// Looks up a localized string similar to Old password is wrong..
+ /// Looks up a localized string similar to Unknown PutResult..
/// </summary>
- internal static string ErrorChangePasswordBadPassword {
+ internal static string ExceptionUnknownPutResult {
get {
- return ResourceManager.GetString("ErrorChangePasswordBadPassword", resourceCulture);
- }
- }
-
- /// <summary>
- /// Looks up a localized string similar to The new username {0} already exists..
- /// </summary>
- internal static string ErrorChangeUsernameAlreadyExist {
- get {
- return ResourceManager.GetString("ErrorChangeUsernameAlreadyExist", resourceCulture);
- }
- }
-
- /// <summary>
- /// Looks up a localized string similar to The old username {0} does not exist..
- /// </summary>
- internal static string ErrorChangeUsernameNotExist {
- get {
- return ResourceManager.GetString("ErrorChangeUsernameNotExist", resourceCulture);
- }
- }
-
- /// <summary>
- /// Looks up a localized string similar to The user does not exist..
- /// </summary>
- internal static string ErrorGetUserNotExist {
- get {
- return ResourceManager.GetString("ErrorGetUserNotExist", resourceCulture);
- }
- }
-
- /// <summary>
- /// Looks up a localized string similar to Can&apos;t patch a user that does not exist..
- /// </summary>
- internal static string ErrorPatchUserNotExist {
- get {
- return ResourceManager.GetString("ErrorPatchUserNotExist", resourceCulture);
- }
- }
-
- /// <summary>
- /// Looks up a localized string similar to Username is of bad format..
- /// </summary>
- internal static string ErrorPutBadUsername {
- get {
- return ResourceManager.GetString("ErrorPutBadUsername", resourceCulture);
+ return ResourceManager.GetString("ExceptionUnknownPutResult", resourceCulture);
}
}
@@ -124,20 +79,11 @@ namespace Timeline.Resources.Controllers {
}
/// <summary>
- /// Looks up a localized string similar to A user has changed password..
- /// </summary>
- internal static string LogChangePasswordSuccess {
- get {
- return ResourceManager.GetString("LogChangePasswordSuccess", resourceCulture);
- }
- }
-
- /// <summary>
/// Looks up a localized string similar to Attempt to change a user&apos;s username to a existent one failed..
/// </summary>
- internal static string LogChangeUsernameAlreadyExist {
+ internal static string LogChangeUsernameConflict {
get {
- return ResourceManager.GetString("LogChangeUsernameAlreadyExist", resourceCulture);
+ return ResourceManager.GetString("LogChangeUsernameConflict", resourceCulture);
}
}
@@ -151,33 +97,6 @@ namespace Timeline.Resources.Controllers {
}
/// <summary>
- /// Looks up a localized string similar to A user has changed username..
- /// </summary>
- internal static string LogChangeUsernameSuccess {
- get {
- return ResourceManager.GetString("LogChangeUsernameSuccess", resourceCulture);
- }
- }
-
- /// <summary>
- /// Looks up a localized string similar to A user has been deleted..
- /// </summary>
- internal static string LogDeleteDelete {
- get {
- return ResourceManager.GetString("LogDeleteDelete", resourceCulture);
- }
- }
-
- /// <summary>
- /// Looks up a localized string similar to Attempt to delete a user that does not exist..
- /// </summary>
- internal static string LogDeleteNotExist {
- get {
- return ResourceManager.GetString("LogDeleteNotExist", resourceCulture);
- }
- }
-
- /// <summary>
/// Looks up a localized string similar to Attempt to retrieve info of a user that does not exist failed..
/// </summary>
internal static string LogGetUserNotExist {
@@ -194,32 +113,5 @@ namespace Timeline.Resources.Controllers {
return ResourceManager.GetString("LogPatchUserNotExist", resourceCulture);
}
}
-
- /// <summary>
- /// Looks up a localized string similar to Attempt to create a user with bad username failed..
- /// </summary>
- internal static string LogPutBadUsername {
- get {
- return ResourceManager.GetString("LogPutBadUsername", resourceCulture);
- }
- }
-
- /// <summary>
- /// Looks up a localized string similar to A user has been created..
- /// </summary>
- internal static string LogPutCreate {
- get {
- return ResourceManager.GetString("LogPutCreate", resourceCulture);
- }
- }
-
- /// <summary>
- /// Looks up a localized string similar to A user has been modified..
- /// </summary>
- internal static string LogPutModify {
- get {
- return ResourceManager.GetString("LogPutModify", resourceCulture);
- }
- }
}
}
diff --git a/Timeline/Resources/Controllers/UserController.resx b/Timeline/Resources/Controllers/UserController.resx
index 50aa13d6..0bdf4845 100644
--- a/Timeline/Resources/Controllers/UserController.resx
+++ b/Timeline/Resources/Controllers/UserController.resx
@@ -117,58 +117,22 @@
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
- <data name="ErrorChangePasswordBadPassword" xml:space="preserve">
- <value>Old password is wrong.</value>
- </data>
- <data name="ErrorChangeUsernameAlreadyExist" xml:space="preserve">
- <value>The new username {0} already exists.</value>
- </data>
- <data name="ErrorChangeUsernameNotExist" xml:space="preserve">
- <value>The old username {0} does not exist.</value>
- </data>
- <data name="ErrorGetUserNotExist" xml:space="preserve">
- <value>The user does not exist.</value>
- </data>
- <data name="ErrorPatchUserNotExist" xml:space="preserve">
- <value>Can't patch a user that does not exist.</value>
- </data>
- <data name="ErrorPutBadUsername" xml:space="preserve">
- <value>Username is of bad format.</value>
+ <data name="ExceptionUnknownPutResult" xml:space="preserve">
+ <value>Unknown PutResult.</value>
</data>
<data name="LogChangePasswordBadPassword" xml:space="preserve">
<value>Attempt to change password with wrong old password failed.</value>
</data>
- <data name="LogChangePasswordSuccess" xml:space="preserve">
- <value>A user has changed password.</value>
- </data>
- <data name="LogChangeUsernameAlreadyExist" xml:space="preserve">
+ <data name="LogChangeUsernameConflict" xml:space="preserve">
<value>Attempt to change a user's username to a existent one failed.</value>
</data>
<data name="LogChangeUsernameNotExist" xml:space="preserve">
<value>Attempt to change a username of a user that does not exist failed.</value>
</data>
- <data name="LogChangeUsernameSuccess" xml:space="preserve">
- <value>A user has changed username.</value>
- </data>
- <data name="LogDeleteDelete" xml:space="preserve">
- <value>A user has been deleted.</value>
- </data>
- <data name="LogDeleteNotExist" xml:space="preserve">
- <value>Attempt to delete a user that does not exist.</value>
- </data>
<data name="LogGetUserNotExist" xml:space="preserve">
<value>Attempt to retrieve info of a user that does not exist failed.</value>
</data>
<data name="LogPatchUserNotExist" xml:space="preserve">
<value>Attempt to patch a user that does not exist failed.</value>
</data>
- <data name="LogPutBadUsername" xml:space="preserve">
- <value>Attempt to create a user with bad username failed.</value>
- </data>
- <data name="LogPutCreate" xml:space="preserve">
- <value>A user has been created.</value>
- </data>
- <data name="LogPutModify" xml:space="preserve">
- <value>A user has been modified.</value>
- </data>
</root> \ No newline at end of file
diff --git a/Timeline/Resources/Controllers/UserController.zh.resx b/Timeline/Resources/Controllers/UserController.zh.resx
deleted file mode 100644
index 3556083e..00000000
--- a/Timeline/Resources/Controllers/UserController.zh.resx
+++ /dev/null
@@ -1,138 +0,0 @@
-<?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="ErrorChangePasswordBadPassword" xml:space="preserve">
- <value>旧密码错误。</value>
- </data>
- <data name="ErrorChangeUsernameAlreadyExist" xml:space="preserve">
- <value>新用户名{0}已经存在。</value>
- </data>
- <data name="ErrorChangeUsernameNotExist" xml:space="preserve">
- <value>旧用户名{0}不存在。</value>
- </data>
- <data name="ErrorGetUserNotExist" xml:space="preserve">
- <value>用户不存在。</value>
- </data>
- <data name="ErrorPatchUserNotExist" xml:space="preserve">
- <value>不能修改一个不存在的用户。</value>
- </data>
- <data name="ErrorPutBadUsername" xml:space="preserve">
- <value>用户名格式错误。</value>
- </data>
-</root> \ No newline at end of file
diff --git a/Timeline/Resources/Filters.Designer.cs b/Timeline/Resources/Filters.Designer.cs
index 5576190d..dedfe498 100644
--- a/Timeline/Resources/Filters.Designer.cs
+++ b/Timeline/Resources/Filters.Designer.cs
@@ -86,68 +86,5 @@ namespace Timeline.Resources {
return ResourceManager.GetString("LogSelfOrAdminUsernameNotString", resourceCulture);
}
}
-
- /// <summary>
- /// Looks up a localized string similar to Header Content-Length is missing or of bad format..
- /// </summary>
- internal static string MessageHeaderContentLengthMissing {
- get {
- return ResourceManager.GetString("MessageHeaderContentLengthMissing", resourceCulture);
- }
- }
-
- /// <summary>
- /// Looks up a localized string similar to Header Content-Length must not be 0..
- /// </summary>
- internal static string MessageHeaderContentLengthZero {
- get {
- return ResourceManager.GetString("MessageHeaderContentLengthZero", resourceCulture);
- }
- }
-
- /// <summary>
- /// Looks up a localized string similar to Header Content-Type is required..
- /// </summary>
- internal static string MessageHeaderContentTypeMissing {
- get {
- return ResourceManager.GetString("MessageHeaderContentTypeMissing", resourceCulture);
- }
- }
-
- /// <summary>
- /// Looks up a localized string similar to You can&apos;t access the resource unless you are the owner or administrator..
- /// </summary>
- internal static string MessageSelfOrAdminForbid {
- get {
- return ResourceManager.GetString("MessageSelfOrAdminForbid", resourceCulture);
- }
- }
-
- /// <summary>
- /// Looks up a localized string similar to The requested timeline does not exist..
- /// </summary>
- internal static string MessageTimelineNotExist {
- get {
- return ResourceManager.GetString("MessageTimelineNotExist", resourceCulture);
- }
- }
-
- /// <summary>
- /// Looks up a localized string similar to The requested personal timeline does not exist because the user does not exist..
- /// </summary>
- internal static string MessageTimelineNotExistUser {
- get {
- return ResourceManager.GetString("MessageTimelineNotExistUser", resourceCulture);
- }
- }
-
- /// <summary>
- /// Looks up a localized string similar to The user does not exist..
- /// </summary>
- internal static string MessageUserNotExist {
- get {
- return ResourceManager.GetString("MessageUserNotExist", resourceCulture);
- }
- }
}
}
diff --git a/Timeline/Resources/Filters.resx b/Timeline/Resources/Filters.resx
index 7bfbc703..22620889 100644
--- a/Timeline/Resources/Filters.resx
+++ b/Timeline/Resources/Filters.resx
@@ -126,25 +126,4 @@
<data name="LogSelfOrAdminUsernameNotString" xml:space="preserve">
<value>You apply a SelfOrAdminAttribute on an action, found a model named username, but it is not string.</value>
</data>
- <data name="MessageHeaderContentLengthMissing" xml:space="preserve">
- <value>Header Content-Length is missing or of bad format.</value>
- </data>
- <data name="MessageHeaderContentLengthZero" xml:space="preserve">
- <value>Header Content-Length must not be 0.</value>
- </data>
- <data name="MessageHeaderContentTypeMissing" xml:space="preserve">
- <value>Header Content-Type is required.</value>
- </data>
- <data name="MessageSelfOrAdminForbid" xml:space="preserve">
- <value>You can't access the resource unless you are the owner or administrator.</value>
- </data>
- <data name="MessageTimelineNotExist" xml:space="preserve">
- <value>The requested timeline does not exist.</value>
- </data>
- <data name="MessageTimelineNotExistUser" xml:space="preserve">
- <value>The requested personal timeline does not exist because the user does not exist.</value>
- </data>
- <data name="MessageUserNotExist" xml:space="preserve">
- <value>The user does not exist.</value>
- </data>
</root> \ No newline at end of file
diff --git a/Timeline/Resources/Filters.zh.resx b/Timeline/Resources/Filters.zh.resx
deleted file mode 100644
index 36aac788..00000000
--- a/Timeline/Resources/Filters.zh.resx
+++ /dev/null
@@ -1,141 +0,0 @@
-<?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="MessageHeaderContentLengthMissing" xml:space="preserve">
- <value>请求头Content-Length缺失或者格式不对。</value>
- </data>
- <data name="MessageHeaderContentLengthZero" xml:space="preserve">
- <value>请求头Content-Length不能为0。</value>
- </data>
- <data name="MessageHeaderContentTypeMissing" xml:space="preserve">
- <value>缺少必需的请求头Content-Type。</value>
- </data>
- <data name="MessageSelfOrAdminForbid" xml:space="preserve">
- <value>你无权访问该资源除非你是资源的拥有者或者管理员。</value>
- </data>
- <data name="MessageTimelineNotExist" xml:space="preserve">
- <value>请求的时间线不存在。</value>
- </data>
- <data name="MessageTimelineNotExistUser" xml:space="preserve">
- <value>请求的个人时间线不存在因为该用户不存在。</value>
- </data>
- <data name="MessageUserNotExist" xml:space="preserve">
- <value>用户不存在。</value>
- </data>
-</root> \ No newline at end of file
diff --git a/Timeline/Resources/Messages.Designer.cs b/Timeline/Resources/Messages.Designer.cs
new file mode 100644
index 00000000..8c13374f
--- /dev/null
+++ b/Timeline/Resources/Messages.Designer.cs
@@ -0,0 +1,270 @@
+//------------------------------------------------------------------------------
+// <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 Timeline.Resources {
+ 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", "16.0.0.0")]
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
+ internal class Messages {
+
+ private static global::System.Resources.ResourceManager resourceMan;
+
+ private static global::System.Globalization.CultureInfo resourceCulture;
+
+ [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
+ internal Messages() {
+ }
+
+ /// <summary>
+ /// Returns the cached ResourceManager instance used by this class.
+ /// </summary>
+ [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
+ internal static global::System.Resources.ResourceManager ResourceManager {
+ get {
+ if (object.ReferenceEquals(resourceMan, null)) {
+ global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("Timeline.Resources.Messages", typeof(Messages).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)]
+ internal static global::System.Globalization.CultureInfo Culture {
+ get {
+ return resourceCulture;
+ }
+ set {
+ resourceCulture = value;
+ }
+ }
+
+ /// <summary>
+ /// Looks up a localized string similar to Body is too big. It can&apos;t be bigger than {0}..
+ /// </summary>
+ internal static string Common_Content_TooBig {
+ get {
+ return ResourceManager.GetString("Common_Content_TooBig", resourceCulture);
+ }
+ }
+
+ /// <summary>
+ /// Looks up a localized string similar to Actual body length is bigger than it in header..
+ /// </summary>
+ internal static string Common_Content_UnmatchedLength_Bigger {
+ get {
+ return ResourceManager.GetString("Common_Content_UnmatchedLength_Bigger", resourceCulture);
+ }
+ }
+
+ /// <summary>
+ /// Looks up a localized string similar to Actual body length is smaller than it in header..
+ /// </summary>
+ internal static string Common_Content_UnmatchedLength_Smaller {
+ get {
+ return ResourceManager.GetString("Common_Content_UnmatchedLength_Smaller", resourceCulture);
+ }
+ }
+
+ /// <summary>
+ /// Looks up a localized string similar to You have no permission to do the operation..
+ /// </summary>
+ internal static string Common_Forbid {
+ get {
+ return ResourceManager.GetString("Common_Forbid", resourceCulture);
+ }
+ }
+
+ /// <summary>
+ /// Looks up a localized string similar to Header Content-Length is missing or of bad format..
+ /// </summary>
+ internal static string Common_Header_ContentLength_Missing {
+ get {
+ return ResourceManager.GetString("Common_Header_ContentLength_Missing", resourceCulture);
+ }
+ }
+
+ /// <summary>
+ /// Looks up a localized string similar to Header Content-Length must not be 0..
+ /// </summary>
+ internal static string Common_Header_ContentLength_Zero {
+ get {
+ return ResourceManager.GetString("Common_Header_ContentLength_Zero", resourceCulture);
+ }
+ }
+
+ /// <summary>
+ /// Looks up a localized string similar to Header Content-Type is missing..
+ /// </summary>
+ internal static string Common_Header_ContentType_Missing {
+ get {
+ return ResourceManager.GetString("Common_Header_ContentType_Missing", resourceCulture);
+ }
+ }
+
+ /// <summary>
+ /// Looks up a localized string similar to Header If-Non-Match is of bad format..
+ /// </summary>
+ internal static string Common_Header_IfNonMatch_BadFormat {
+ get {
+ return ResourceManager.GetString("Common_Header_IfNonMatch_BadFormat", resourceCulture);
+ }
+ }
+
+ /// <summary>
+ /// Looks up a localized string similar to Model is of bad format..
+ /// </summary>
+ internal static string Common_InvalidModel {
+ get {
+ return ResourceManager.GetString("Common_InvalidModel", resourceCulture);
+ }
+ }
+
+ /// <summary>
+ /// Looks up a localized string similar to The {0}-st username to do operation {1} on is of bad format..
+ /// </summary>
+ internal static string TimelineController_ChangeMember_UsernameBadFormat {
+ get {
+ return ResourceManager.GetString("TimelineController_ChangeMember_UsernameBadFormat", resourceCulture);
+ }
+ }
+
+ /// <summary>
+ /// Looks up a localized string similar to The {0}-st user to do operation {1} on does not exist..
+ /// </summary>
+ internal static string TimelineController_ChangeMember_UserNotExist {
+ get {
+ return ResourceManager.GetString("TimelineController_ChangeMember_UserNotExist", resourceCulture);
+ }
+ }
+
+ /// <summary>
+ /// Looks up a localized string similar to The post to delete does not exist..
+ /// </summary>
+ internal static string TimelineController_PostOperationDelete_NotExist {
+ get {
+ return ResourceManager.GetString("TimelineController_PostOperationDelete_NotExist", resourceCulture);
+ }
+ }
+
+ /// <summary>
+ /// Looks up a localized string similar to Username or password is invalid..
+ /// </summary>
+ internal static string TokenController_Create_BadCredential {
+ get {
+ return ResourceManager.GetString("TokenController_Create_BadCredential", resourceCulture);
+ }
+ }
+
+ /// <summary>
+ /// Looks up a localized string similar to The token is of bad format. It might not be created by the server..
+ /// </summary>
+ internal static string TokenController_Verify_BadFormat {
+ get {
+ return ResourceManager.GetString("TokenController_Verify_BadFormat", resourceCulture);
+ }
+ }
+
+ /// <summary>
+ /// Looks up a localized string similar to Token has an old version. User might have update some info..
+ /// </summary>
+ internal static string TokenController_Verify_OldVersion {
+ get {
+ return ResourceManager.GetString("TokenController_Verify_OldVersion", resourceCulture);
+ }
+ }
+
+ /// <summary>
+ /// Looks up a localized string similar to The token is expired..
+ /// </summary>
+ internal static string TokenController_Verify_TimeExpired {
+ get {
+ return ResourceManager.GetString("TokenController_Verify_TimeExpired", resourceCulture);
+ }
+ }
+
+ /// <summary>
+ /// Looks up a localized string similar to User does not exist. Administrator might have deleted this user..
+ /// </summary>
+ internal static string TokenController_Verify_UserNotExist {
+ get {
+ return ResourceManager.GetString("TokenController_Verify_UserNotExist", resourceCulture);
+ }
+ }
+
+ /// <summary>
+ /// Looks up a localized string similar to Image is not a square..
+ /// </summary>
+ internal static string UserAvatar_BadFormat_BadSize {
+ get {
+ return ResourceManager.GetString("UserAvatar_BadFormat_BadSize", resourceCulture);
+ }
+ }
+
+ /// <summary>
+ /// Looks up a localized string similar to Image decode failed..
+ /// </summary>
+ internal static string UserAvatar_BadFormat_CantDecode {
+ get {
+ return ResourceManager.GetString("UserAvatar_BadFormat_CantDecode", resourceCulture);
+ }
+ }
+
+ /// <summary>
+ /// Looks up a localized string similar to Image format does not match the one in header..
+ /// </summary>
+ internal static string UserAvatar_BadFormat_UnmatchedFormat {
+ get {
+ return ResourceManager.GetString("UserAvatar_BadFormat_UnmatchedFormat", resourceCulture);
+ }
+ }
+
+ /// <summary>
+ /// Looks up a localized string similar to The user to operate on does not exist..
+ /// </summary>
+ internal static string UserCommon_NotExist {
+ get {
+ return ResourceManager.GetString("UserCommon_NotExist", resourceCulture);
+ }
+ }
+
+ /// <summary>
+ /// Looks up a localized string similar to Old password is wrong..
+ /// </summary>
+ internal static string UserController_ChangePassword_BadOldPassword {
+ get {
+ return ResourceManager.GetString("UserController_ChangePassword_BadOldPassword", resourceCulture);
+ }
+ }
+
+ /// <summary>
+ /// Looks up a localized string similar to The new username already exists..
+ /// </summary>
+ internal static string UserController_ChangeUsername_Conflict {
+ get {
+ return ResourceManager.GetString("UserController_ChangeUsername_Conflict", resourceCulture);
+ }
+ }
+ }
+}
diff --git a/Timeline/Resources/Controllers/UserAvatarController.zh.resx b/Timeline/Resources/Messages.resx
index 94de1606..c5228ed5 100644
--- a/Timeline/Resources/Controllers/UserAvatarController.zh.resx
+++ b/Timeline/Resources/Messages.resx
@@ -117,28 +117,73 @@
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
- <data name="ErrorDeleteForbid" xml:space="preserve">
- <value>普通用户不能删除其他用户的头像。</value>
+ <data name="Common_Content_TooBig" xml:space="preserve">
+ <value>Body is too big. It can't be bigger than {0}.</value>
</data>
- <data name="ErrorDeleteUserNotExist" xml:space="preserve">
- <value>用户不存在。</value>
+ <data name="Common_Content_UnmatchedLength_Bigger" xml:space="preserve">
+ <value>Actual body length is bigger than it in header.</value>
</data>
- <data name="ErrorGetUserNotExist" xml:space="preserve">
- <value>用户不存在。</value>
+ <data name="Common_Content_UnmatchedLength_Smaller" xml:space="preserve">
+ <value>Actual body length is smaller than it in header.</value>
</data>
- <data name="ErrorPutBadFormatBadSize" xml:space="preserve">
- <value>图片不是正方形。</value>
+ <data name="Common_Forbid" xml:space="preserve">
+ <value>You have no permission to do the operation.</value>
</data>
- <data name="ErrorPutBadFormatCantDecode" xml:space="preserve">
- <value>解码图片失败。</value>
+ <data name="Common_Header_ContentLength_Missing" xml:space="preserve">
+ <value>Header Content-Length is missing or of bad format.</value>
</data>
- <data name="ErrorPutBadFormatUnmatchedFormat" xml:space="preserve">
- <value>图片格式与请求头中指示的不一样。</value>
+ <data name="Common_Header_ContentLength_Zero" xml:space="preserve">
+ <value>Header Content-Length must not be 0.</value>
</data>
- <data name="ErrorPutForbid" xml:space="preserve">
- <value>普通用户不能修改其他用户的头像。</value>
+ <data name="Common_Header_ContentType_Missing" xml:space="preserve">
+ <value>Header Content-Type is missing.</value>
</data>
- <data name="ErrorPutUserNotExist" xml:space="preserve">
- <value>用户不存在。</value>
+ <data name="Common_Header_IfNonMatch_BadFormat" xml:space="preserve">
+ <value>Header If-Non-Match is of bad format.</value>
+ </data>
+ <data name="Common_InvalidModel" xml:space="preserve">
+ <value>Model is of bad format.</value>
+ </data>
+ <data name="TimelineController_ChangeMember_UsernameBadFormat" xml:space="preserve">
+ <value>The {0}-st username to do operation {1} on is of bad format.</value>
+ </data>
+ <data name="TimelineController_ChangeMember_UserNotExist" xml:space="preserve">
+ <value>The {0}-st user to do operation {1} on does not exist.</value>
+ </data>
+ <data name="TimelineController_PostOperationDelete_NotExist" xml:space="preserve">
+ <value>The post to delete does not exist.</value>
+ </data>
+ <data name="TokenController_Create_BadCredential" xml:space="preserve">
+ <value>Username or password is invalid.</value>
+ </data>
+ <data name="TokenController_Verify_BadFormat" xml:space="preserve">
+ <value>The token is of bad format. It might not be created by the server.</value>
+ </data>
+ <data name="TokenController_Verify_OldVersion" xml:space="preserve">
+ <value>Token has an old version. User might have update some info.</value>
+ </data>
+ <data name="TokenController_Verify_TimeExpired" xml:space="preserve">
+ <value>The token is expired.</value>
+ </data>
+ <data name="TokenController_Verify_UserNotExist" xml:space="preserve">
+ <value>User does not exist. Administrator might have deleted this user.</value>
+ </data>
+ <data name="UserAvatar_BadFormat_BadSize" xml:space="preserve">
+ <value>Image is not a square.</value>
+ </data>
+ <data name="UserAvatar_BadFormat_CantDecode" xml:space="preserve">
+ <value>Image decode failed.</value>
+ </data>
+ <data name="UserAvatar_BadFormat_UnmatchedFormat" xml:space="preserve">
+ <value>Image format does not match the one in header.</value>
+ </data>
+ <data name="UserCommon_NotExist" xml:space="preserve">
+ <value>The user to operate on does not exist.</value>
+ </data>
+ <data name="UserController_ChangePassword_BadOldPassword" xml:space="preserve">
+ <value>Old password is wrong.</value>
+ </data>
+ <data name="UserController_ChangeUsername_Conflict" xml:space="preserve">
+ <value>The new username already exists.</value>
</data>
</root> \ No newline at end of file
diff --git a/Timeline/Resources/Controllers/TokenController.zh.resx b/Timeline/Resources/Messages.zh.resx
index 51e0f25b..6e52befd 100644
--- a/Timeline/Resources/Controllers/TokenController.zh.resx
+++ b/Timeline/Resources/Messages.zh.resx
@@ -117,19 +117,73 @@
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
- <data name="ErrorBadCredential" xml:space="preserve">
+ <data name="Common_Content_TooBig" xml:space="preserve">
+ <value>请求体太大。它不能超过{0}.</value>
+ </data>
+ <data name="Common_Content_UnmatchedLength_Bigger" xml:space="preserve">
+ <value>实际的请求体长度比头中指示的大。</value>
+ </data>
+ <data name="Common_Content_UnmatchedLength_Smaller" xml:space="preserve">
+ <value>实际的请求体长度比头中指示的小。</value>
+ </data>
+ <data name="Common_Forbid" xml:space="preserve">
+ <value>你没有权限做此操作。</value>
+ </data>
+ <data name="Common_Header_ContentLength_Missing" xml:space="preserve">
+ <value>请求头Content-Length缺失或者格式不对。</value>
+ </data>
+ <data name="Common_Header_ContentLength_Zero" xml:space="preserve">
+ <value>请求头Content-Length不能为0。</value>
+ </data>
+ <data name="Common_Header_ContentType_Missing" xml:space="preserve">
+ <value>请求头Content-Type缺失。</value>
+ </data>
+ <data name="Common_Header_IfNonMatch_BadFormat" xml:space="preserve">
+ <value>请求头If-Non-Match格式不对。</value>
+ </data>
+ <data name="Common_InvalidModel" xml:space="preserve">
+ <value>请求模型格式不对。</value>
+ </data>
+ <data name="TimelineController_ChangeMember_UsernameBadFormat" xml:space="preserve">
+ <value>第{0}个做{1}操作的用户名格式错误。</value>
+ </data>
+ <data name="TimelineController_ChangeMember_UserNotExist" xml:space="preserve">
+ <value>第{0}个做{1}操作的用户不存在。</value>
+ </data>
+ <data name="TimelineController_PostOperationDelete_NotExist" xml:space="preserve">
+ <value>要删除的消息不存在。</value>
+ </data>
+ <data name="TokenController_Create_BadCredential" xml:space="preserve">
<value>用户名或密码错误。</value>
</data>
- <data name="ErrorVerifyBadFormat" xml:space="preserve">
+ <data name="TokenController_Verify_BadFormat" xml:space="preserve">
<value>符号格式错误。这个符号可能不是这个服务器创建的。</value>
</data>
- <data name="ErrorVerifyExpire" xml:space="preserve">
- <value>符号过期了。</value>
- </data>
- <data name="ErrorVerifyOldVersion" xml:space="preserve">
+ <data name="TokenController_Verify_OldVersion" xml:space="preserve">
<value>符号是一个旧版本。用户可能已经更新了信息。</value>
</data>
- <data name="ErrorVerifyUserNotExist" xml:space="preserve">
+ <data name="TokenController_Verify_TimeExpired" xml:space="preserve">
+ <value>符号过期了。</value>
+ </data>
+ <data name="TokenController_Verify_UserNotExist" xml:space="preserve">
<value>用户不存在。管理员可能已经删除了这个用户。</value>
</data>
+ <data name="UserAvatar_BadFormat_BadSize" xml:space="preserve">
+ <value>图片不是正方形。</value>
+ </data>
+ <data name="UserAvatar_BadFormat_CantDecode" xml:space="preserve">
+ <value>解码图片失败。</value>
+ </data>
+ <data name="UserAvatar_BadFormat_UnmatchedFormat" xml:space="preserve">
+ <value>图片格式与请求头中指示的不一样。</value>
+ </data>
+ <data name="UserCommon_NotExist" xml:space="preserve">
+ <value>要操作的用户不存在。</value>
+ </data>
+ <data name="UserController_ChangePassword_BadOldPassword" xml:space="preserve">
+ <value>旧密码错误。</value>
+ </data>
+ <data name="UserController_ChangeUsername_Conflict" xml:space="preserve">
+ <value>新用户名已经存在。</value>
+ </data>
</root> \ No newline at end of file
diff --git a/Timeline/Resources/Models/Http/Common.Designer.cs b/Timeline/Resources/Models/Http/Common.Designer.cs
index 4eebd2bc..5165463e 100644
--- a/Timeline/Resources/Models/Http/Common.Designer.cs
+++ b/Timeline/Resources/Models/Http/Common.Designer.cs
@@ -61,33 +61,6 @@ namespace Timeline.Resources.Models.Http {
}
/// <summary>
- /// Looks up a localized string similar to Body is too big. It can&apos;t be bigger than {0}..
- /// </summary>
- internal static string MessageContentTooBig {
- get {
- return ResourceManager.GetString("MessageContentTooBig", resourceCulture);
- }
- }
-
- /// <summary>
- /// Looks up a localized string similar to Actual body length is bigger than it in header..
- /// </summary>
- internal static string MessageContentUnmatchedLengthBigger {
- get {
- return ResourceManager.GetString("MessageContentUnmatchedLengthBigger", resourceCulture);
- }
- }
-
- /// <summary>
- /// Looks up a localized string similar to Actual body length is smaller than it in header..
- /// </summary>
- internal static string MessageContentUnmatchedLengthSmaller {
- get {
- return ResourceManager.GetString("MessageContentUnmatchedLengthSmaller", resourceCulture);
- }
- }
-
- /// <summary>
/// Looks up a localized string similar to An existent item is deleted..
/// </summary>
internal static string MessageDeleteDelete {
@@ -106,15 +79,6 @@ namespace Timeline.Resources.Models.Http {
}
/// <summary>
- /// Looks up a localized string similar to Header If-Non-Match is of bad format..
- /// </summary>
- internal static string MessageHeaderIfNonMatchBad {
- get {
- return ResourceManager.GetString("MessageHeaderIfNonMatchBad", resourceCulture);
- }
- }
-
- /// <summary>
/// Looks up a localized string similar to A new item is created..
/// </summary>
internal static string MessagePutCreate {
diff --git a/Timeline/Resources/Models/Http/Common.resx b/Timeline/Resources/Models/Http/Common.resx
index 540c6c58..85ec4d32 100644
--- a/Timeline/Resources/Models/Http/Common.resx
+++ b/Timeline/Resources/Models/Http/Common.resx
@@ -117,24 +117,12 @@
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
- <data name="MessageContentTooBig" xml:space="preserve">
- <value>Body is too big. It can't be bigger than {0}.</value>
- </data>
- <data name="MessageContentUnmatchedLengthBigger" xml:space="preserve">
- <value>Actual body length is bigger than it in header.</value>
- </data>
- <data name="MessageContentUnmatchedLengthSmaller" xml:space="preserve">
- <value>Actual body length is smaller than it in header.</value>
- </data>
<data name="MessageDeleteDelete" xml:space="preserve">
<value>An existent item is deleted.</value>
</data>
<data name="MessageDeleteNotExist" xml:space="preserve">
<value>The item does not exist, so nothing is changed.</value>
</data>
- <data name="MessageHeaderIfNonMatchBad" xml:space="preserve">
- <value>Header If-Non-Match is of bad format.</value>
- </data>
<data name="MessagePutCreate" xml:space="preserve">
<value>A new item is created.</value>
</data>
diff --git a/Timeline/Resources/Models/Http/Common.zh.resx b/Timeline/Resources/Models/Http/Common.zh.resx
index 467916a2..de74ac3b 100644
--- a/Timeline/Resources/Models/Http/Common.zh.resx
+++ b/Timeline/Resources/Models/Http/Common.zh.resx
@@ -117,24 +117,12 @@
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
- <data name="MessageContentTooBig" xml:space="preserve">
- <value>请求体太大。它不能超过{0}.</value>
- </data>
- <data name="MessageContentUnmatchedLengthBigger" xml:space="preserve">
- <value>实际的请求体长度比头中指示的大。</value>
- </data>
- <data name="MessageContentUnmatchedLengthSmaller" xml:space="preserve">
- <value>实际的请求体长度比头中指示的小。</value>
- </data>
<data name="MessageDeleteDelete" xml:space="preserve">
<value>删除了一个项目。</value>
</data>
<data name="MessageDeleteNotExist" xml:space="preserve">
<value>要删除的项目不存在,什么都没有修改。</value>
</data>
- <data name="MessageHeaderIfNonMatchBad" xml:space="preserve">
- <value>请求头If-Non-Match格式不对。</value>
- </data>
<data name="MessagePutCreate" xml:space="preserve">
<value>创建了一个新项目。</value>
</data>