diff options
| author | crupest <crupest@outlook.com> | 2020-01-29 23:13:15 +0800 |
|---|---|---|
| committer | crupest <crupest@outlook.com> | 2020-01-29 23:13:15 +0800 |
| commit | dd0097af5c4ccbe25a1faca2286d729c93fd4116 (patch) | |
| tree | c9131a7b95fffd64bf2c26527d7f62fbdefa7e2c /Timeline/Resources | |
| parent | 401a0c86054711bf5ebdce7d7717c9b59bffc2fa (diff) | |
| download | timeline-dd0097af5c4ccbe25a1faca2286d729c93fd4116.tar.gz timeline-dd0097af5c4ccbe25a1faca2286d729c93fd4116.tar.bz2 timeline-dd0097af5c4ccbe25a1faca2286d729c93fd4116.zip | |
...
Diffstat (limited to 'Timeline/Resources')
| -rw-r--r-- | Timeline/Resources/Messages.Designer.cs | 36 | ||||
| -rw-r--r-- | Timeline/Resources/Messages.resx | 12 |
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'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'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'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 |
