aboutsummaryrefslogtreecommitdiff
path: root/Timeline/Resources/Services
diff options
context:
space:
mode:
Diffstat (limited to 'Timeline/Resources/Services')
-rw-r--r--Timeline/Resources/Services/Exception.Designer.cs84
-rw-r--r--Timeline/Resources/Services/Exception.resx30
-rw-r--r--Timeline/Resources/Services/TimelineService.Designer.cs36
-rw-r--r--Timeline/Resources/Services/TimelineService.resx12
4 files changed, 105 insertions, 57 deletions
diff --git a/Timeline/Resources/Services/Exception.Designer.cs b/Timeline/Resources/Services/Exception.Designer.cs
index e6806873..0c721d92 100644
--- a/Timeline/Resources/Services/Exception.Designer.cs
+++ b/Timeline/Resources/Services/Exception.Designer.cs
@@ -61,128 +61,128 @@ namespace Timeline.Resources.Services {
}
/// <summary>
- /// Looks up a localized string similar to Avartar is of bad format because {0}..
+ /// Looks up a localized string similar to The password is wrong..
/// </summary>
- internal static string AvatarFormatException {
+ internal static string BadPasswordException {
get {
- return ResourceManager.GetString("AvatarFormatException", resourceCulture);
+ return ResourceManager.GetString("BadPasswordException", resourceCulture);
}
}
/// <summary>
- /// Looks up a localized string similar to image is not a square, aka, width is not equal to height.
+ /// Looks up a localized string similar to A present resource conflicts with the given resource..
/// </summary>
- internal static string AvatarFormatExceptionBadSize {
+ internal static string ConflictException {
get {
- return ResourceManager.GetString("AvatarFormatExceptionBadSize", resourceCulture);
+ return ResourceManager.GetString("ConflictException", resourceCulture);
}
}
/// <summary>
- /// Looks up a localized string similar to failed to decode image, see inner exception.
+ /// Looks up a localized string similar to The hashes password is of bad format. It might not be created by server..
/// </summary>
- internal static string AvatarFormatExceptionCantDecode {
+ internal static string HashedPasswordBadFromatException {
get {
- return ResourceManager.GetString("AvatarFormatExceptionCantDecode", resourceCulture);
+ return ResourceManager.GetString("HashedPasswordBadFromatException", resourceCulture);
}
}
/// <summary>
- /// Looks up a localized string similar to unknown error.
+ /// Looks up a localized string similar to Not of valid base64 format. See inner exception..
/// </summary>
- internal static string AvatarFormatExceptionUnknownError {
+ internal static string HashedPasswordBadFromatExceptionNotBase64 {
get {
- return ResourceManager.GetString("AvatarFormatExceptionUnknownError", resourceCulture);
+ return ResourceManager.GetString("HashedPasswordBadFromatExceptionNotBase64", resourceCulture);
}
}
/// <summary>
- /// Looks up a localized string similar to image&apos;s actual mime type is not the specified one.
+ /// Looks up a localized string similar to Decoded hashed password is of length 0..
/// </summary>
- internal static string AvatarFormatExceptionUnmatchedFormat {
+ internal static string HashedPasswordBadFromatExceptionNotLength0 {
get {
- return ResourceManager.GetString("AvatarFormatExceptionUnmatchedFormat", resourceCulture);
+ return ResourceManager.GetString("HashedPasswordBadFromatExceptionNotLength0", resourceCulture);
}
}
/// <summary>
- /// Looks up a localized string similar to The password is wrong..
+ /// Looks up a localized string similar to See inner exception..
/// </summary>
- internal static string BadPasswordException {
+ internal static string HashedPasswordBadFromatExceptionNotOthers {
get {
- return ResourceManager.GetString("BadPasswordException", resourceCulture);
+ return ResourceManager.GetString("HashedPasswordBadFromatExceptionNotOthers", resourceCulture);
}
}
/// <summary>
- /// Looks up a localized string similar to A present resource conflicts with the given resource..
+ /// Looks up a localized string similar to Salt length &lt; 128 bits..
/// </summary>
- internal static string ConflictException {
+ internal static string HashedPasswordBadFromatExceptionNotSaltTooShort {
get {
- return ResourceManager.GetString("ConflictException", resourceCulture);
+ return ResourceManager.GetString("HashedPasswordBadFromatExceptionNotSaltTooShort", resourceCulture);
}
}
/// <summary>
- /// Looks up a localized string similar to The hashes password is of bad format. It might not be created by server..
+ /// Looks up a localized string similar to Subkey length &lt; 128 bits..
/// </summary>
- internal static string HashedPasswordBadFromatException {
+ internal static string HashedPasswordBadFromatExceptionNotSubkeyTooShort {
get {
- return ResourceManager.GetString("HashedPasswordBadFromatException", resourceCulture);
+ return ResourceManager.GetString("HashedPasswordBadFromatExceptionNotSubkeyTooShort", resourceCulture);
}
}
/// <summary>
- /// Looks up a localized string similar to Not of valid base64 format. See inner exception..
+ /// Looks up a localized string similar to Unknown format marker..
/// </summary>
- internal static string HashedPasswordBadFromatExceptionNotBase64 {
+ internal static string HashedPasswordBadFromatExceptionNotUnknownMarker {
get {
- return ResourceManager.GetString("HashedPasswordBadFromatExceptionNotBase64", resourceCulture);
+ return ResourceManager.GetString("HashedPasswordBadFromatExceptionNotUnknownMarker", resourceCulture);
}
}
/// <summary>
- /// Looks up a localized string similar to Decoded hashed password is of length 0..
+ /// Looks up a localized string similar to Image is in valid because {0}..
/// </summary>
- internal static string HashedPasswordBadFromatExceptionNotLength0 {
+ internal static string ImageException {
get {
- return ResourceManager.GetString("HashedPasswordBadFromatExceptionNotLength0", resourceCulture);
+ return ResourceManager.GetString("ImageException", resourceCulture);
}
}
/// <summary>
- /// Looks up a localized string similar to See inner exception..
+ /// Looks up a localized string similar to image is not a square, aka, width is not equal to height.
/// </summary>
- internal static string HashedPasswordBadFromatExceptionNotOthers {
+ internal static string ImageExceptionBadSize {
get {
- return ResourceManager.GetString("HashedPasswordBadFromatExceptionNotOthers", resourceCulture);
+ return ResourceManager.GetString("ImageExceptionBadSize", resourceCulture);
}
}
/// <summary>
- /// Looks up a localized string similar to Salt length &lt; 128 bits..
+ /// Looks up a localized string similar to failed to decode image, see inner exception.
/// </summary>
- internal static string HashedPasswordBadFromatExceptionNotSaltTooShort {
+ internal static string ImageExceptionCantDecode {
get {
- return ResourceManager.GetString("HashedPasswordBadFromatExceptionNotSaltTooShort", resourceCulture);
+ return ResourceManager.GetString("ImageExceptionCantDecode", resourceCulture);
}
}
/// <summary>
- /// Looks up a localized string similar to Subkey length &lt; 128 bits..
+ /// Looks up a localized string similar to unknown error.
/// </summary>
- internal static string HashedPasswordBadFromatExceptionNotSubkeyTooShort {
+ internal static string ImageExceptionUnknownError {
get {
- return ResourceManager.GetString("HashedPasswordBadFromatExceptionNotSubkeyTooShort", resourceCulture);
+ return ResourceManager.GetString("ImageExceptionUnknownError", resourceCulture);
}
}
/// <summary>
- /// Looks up a localized string similar to Unknown format marker..
+ /// Looks up a localized string similar to image&apos;s actual mime type is not the specified one.
/// </summary>
- internal static string HashedPasswordBadFromatExceptionNotUnknownMarker {
+ internal static string ImageExceptionUnmatchedFormat {
get {
- return ResourceManager.GetString("HashedPasswordBadFromatExceptionNotUnknownMarker", resourceCulture);
+ return ResourceManager.GetString("ImageExceptionUnmatchedFormat", resourceCulture);
}
}
diff --git a/Timeline/Resources/Services/Exception.resx b/Timeline/Resources/Services/Exception.resx
index 11ae5f27..660e5b3d 100644
--- a/Timeline/Resources/Services/Exception.resx
+++ b/Timeline/Resources/Services/Exception.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="AvatarFormatException" xml:space="preserve">
- <value>Avartar is of bad format because {0}.</value>
- </data>
- <data name="AvatarFormatExceptionBadSize" xml:space="preserve">
- <value>image is not a square, aka, width is not equal to height</value>
- </data>
- <data name="AvatarFormatExceptionCantDecode" xml:space="preserve">
- <value>failed to decode image, see inner exception</value>
- </data>
- <data name="AvatarFormatExceptionUnknownError" xml:space="preserve">
- <value>unknown error</value>
- </data>
- <data name="AvatarFormatExceptionUnmatchedFormat" xml:space="preserve">
- <value>image's actual mime type is not the specified one</value>
- </data>
<data name="BadPasswordException" xml:space="preserve">
<value>The password is wrong.</value>
</data>
@@ -159,6 +144,21 @@
<data name="HashedPasswordBadFromatExceptionNotUnknownMarker" xml:space="preserve">
<value>Unknown format marker.</value>
</data>
+ <data name="ImageException" xml:space="preserve">
+ <value>Image is in valid because {0}.</value>
+ </data>
+ <data name="ImageExceptionBadSize" xml:space="preserve">
+ <value>image is not a square, aka, width is not equal to height</value>
+ </data>
+ <data name="ImageExceptionCantDecode" xml:space="preserve">
+ <value>failed to decode image, see inner exception</value>
+ </data>
+ <data name="ImageExceptionUnknownError" xml:space="preserve">
+ <value>unknown error</value>
+ </data>
+ <data name="ImageExceptionUnmatchedFormat" xml:space="preserve">
+ <value>image's actual mime type is not the specified one</value>
+ </data>
<data name="JwtUserTokenBadFormatException" xml:space="preserve">
<value>The token didn't pass verification because {0}.</value>
</data>
diff --git a/Timeline/Resources/Services/TimelineService.Designer.cs b/Timeline/Resources/Services/TimelineService.Designer.cs
index 3ee5959f..4c3de1cd 100644
--- a/Timeline/Resources/Services/TimelineService.Designer.cs
+++ b/Timeline/Resources/Services/TimelineService.Designer.cs
@@ -70,6 +70,15 @@ namespace Timeline.Resources.Services {
}
/// <summary>
+ /// Looks up a localized string similar to Unknown post content type &quot;{0}&quot; is saved in database..
+ /// </summary>
+ internal static string ExceptionDatabaseUnknownContentType {
+ get {
+ return ResourceManager.GetString("ExceptionDatabaseUnknownContentType", resourceCulture);
+ }
+ }
+
+ /// <summary>
/// Looks up a localized string similar to The owner username of personal timeline is of bad format..
/// </summary>
internal static string ExceptionFindTimelineUsernameBadFormat {
@@ -79,6 +88,24 @@ namespace Timeline.Resources.Services {
}
/// <summary>
+ /// Looks up a localized string similar to The data entry of the tag of the image post does not exist..
+ /// </summary>
+ internal static string ExceptionGetDataDataEntryNotExist {
+ get {
+ return ResourceManager.GetString("ExceptionGetDataDataEntryNotExist", resourceCulture);
+ }
+ }
+
+ /// <summary>
+ /// Looks up a localized string similar to Can&apos;t get data of a non-image post..
+ /// </summary>
+ internal static string ExceptionGetDataNonImagePost {
+ get {
+ return ResourceManager.GetString("ExceptionGetDataNonImagePost", resourceCulture);
+ }
+ }
+
+ /// <summary>
/// Looks up a localized string similar to The timeline name is of bad format because {0}..
/// </summary>
internal static string ExceptionTimelineNameBadFormat {
@@ -95,5 +122,14 @@ namespace Timeline.Resources.Services {
return ResourceManager.GetString("ExceptionTimelineNameConflict", resourceCulture);
}
}
+
+ /// <summary>
+ /// Looks up a localized string similar to Image format type of the post does not exist in column &quot;extra_content&quot;. Normally this couldn&apos;t be possible because it should be saved when post was created. However, we now re-detect the format and save it..
+ /// </summary>
+ internal static string LogGetDataNoFormat {
+ get {
+ return ResourceManager.GetString("LogGetDataNoFormat", resourceCulture);
+ }
+ }
}
}
diff --git a/Timeline/Resources/Services/TimelineService.resx b/Timeline/Resources/Services/TimelineService.resx
index e0d76c9a..97269943 100644
--- a/Timeline/Resources/Services/TimelineService.resx
+++ b/Timeline/Resources/Services/TimelineService.resx
@@ -120,13 +120,25 @@
<data name="ExceptionChangeMemberUsernameBadFormat" xml:space="preserve">
<value>The number {0} username is invalid.</value>
</data>
+ <data name="ExceptionDatabaseUnknownContentType" xml:space="preserve">
+ <value>Unknown post content type "{0}" is saved in database.</value>
+ </data>
<data name="ExceptionFindTimelineUsernameBadFormat" xml:space="preserve">
<value>The owner username of personal timeline is of bad format.</value>
</data>
+ <data name="ExceptionGetDataDataEntryNotExist" xml:space="preserve">
+ <value>The data entry of the tag of the image post does not exist.</value>
+ </data>
+ <data name="ExceptionGetDataNonImagePost" xml:space="preserve">
+ <value>Can't get data of a non-image post.</value>
+ </data>
<data name="ExceptionTimelineNameBadFormat" xml:space="preserve">
<value>The timeline name is of bad format because {0}.</value>
</data>
<data name="ExceptionTimelineNameConflict" xml:space="preserve">
<value>The timeline with given name already exists.</value>
</data>
+ <data name="LogGetDataNoFormat" xml:space="preserve">
+ <value>Image format type of the post does not exist in column "extra_content". Normally this couldn't be possible because it should be saved when post was created. However, we now re-detect the format and save it.</value>
+ </data>
</root> \ No newline at end of file