aboutsummaryrefslogtreecommitdiff
path: root/Timeline/Resources
diff options
context:
space:
mode:
Diffstat (limited to 'Timeline/Resources')
-rw-r--r--Timeline/Resources/Messages.Designer.cs36
-rw-r--r--Timeline/Resources/Messages.resx12
2 files changed, 48 insertions, 0 deletions
diff --git a/Timeline/Resources/Messages.Designer.cs b/Timeline/Resources/Messages.Designer.cs
index 8c13374f..15101661 100644
--- a/Timeline/Resources/Messages.Designer.cs
+++ b/Timeline/Resources/Messages.Designer.cs
@@ -97,6 +97,15 @@ namespace Timeline.Resources {
}
/// <summary>
+ /// Looks up a localized string similar to You are not the resource owner..
+ /// </summary>
+ internal static string Common_Forbid_NotSelf {
+ get {
+ return ResourceManager.GetString("Common_Forbid_NotSelf", 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 {
@@ -266,5 +275,32 @@ namespace Timeline.Resources {
return ResourceManager.GetString("UserController_ChangeUsername_Conflict", resourceCulture);
}
}
+
+ /// <summary>
+ /// Looks up a localized string similar to You can&apos;t set permission unless you are administrator..
+ /// </summary>
+ internal static string UserController_Patch_Forbid_Administrator {
+ get {
+ return ResourceManager.GetString("UserController_Patch_Forbid_Administrator", resourceCulture);
+ }
+ }
+
+ /// <summary>
+ /// Looks up a localized string similar to You can&apos;t set password unless you are administrator. If you want to change password, use /userop/changepassword ..
+ /// </summary>
+ internal static string UserController_Patch_Forbid_Password {
+ get {
+ return ResourceManager.GetString("UserController_Patch_Forbid_Password", resourceCulture);
+ }
+ }
+
+ /// <summary>
+ /// Looks up a localized string similar to You can&apos;t set username unless you are administrator..
+ /// </summary>
+ internal static string UserController_Patch_Forbid_Username {
+ get {
+ return ResourceManager.GetString("UserController_Patch_Forbid_Username", resourceCulture);
+ }
+ }
}
}
diff --git a/Timeline/Resources/Messages.resx b/Timeline/Resources/Messages.resx
index c5228ed5..db56ed02 100644
--- a/Timeline/Resources/Messages.resx
+++ b/Timeline/Resources/Messages.resx
@@ -129,6 +129,9 @@
<data name="Common_Forbid" xml:space="preserve">
<value>You have no permission to do the operation.</value>
</data>
+ <data name="Common_Forbid_NotSelf" xml:space="preserve">
+ <value>You are not the resource owner.</value>
+ </data>
<data name="Common_Header_ContentLength_Missing" xml:space="preserve">
<value>Header Content-Length is missing or of bad format.</value>
</data>
@@ -186,4 +189,13 @@
<data name="UserController_ChangeUsername_Conflict" xml:space="preserve">
<value>The new username already exists.</value>
</data>
+ <data name="UserController_Patch_Forbid_Administrator" xml:space="preserve">
+ <value>You can't set permission unless you are administrator.</value>
+ </data>
+ <data name="UserController_Patch_Forbid_Password" xml:space="preserve">
+ <value>You can't set password unless you are administrator. If you want to change password, use /userop/changepassword .</value>
+ </data>
+ <data name="UserController_Patch_Forbid_Username" xml:space="preserve">
+ <value>You can't set username unless you are administrator.</value>
+ </data>
</root> \ No newline at end of file