diff options
author | 杨宇千 <crupest@outlook.com> | 2019-11-07 22:06:06 +0800 |
---|---|---|
committer | 杨宇千 <crupest@outlook.com> | 2019-11-07 22:06:06 +0800 |
commit | 5f9f9a9e40306f83bf360c3d27e4e33e78565fce (patch) | |
tree | 48ca95c6eb5dafe44d419bbe5d0ab49396209b13 /Timeline/Resources/Controllers | |
parent | 9df5a86786ac2dcb8bc0f34f69501abfffd0dc9c (diff) | |
download | timeline-5f9f9a9e40306f83bf360c3d27e4e33e78565fce.tar.gz timeline-5f9f9a9e40306f83bf360c3d27e4e33e78565fce.tar.bz2 timeline-5f9f9a9e40306f83bf360c3d27e4e33e78565fce.zip |
Complete PersonalTimelineController and write attribute test.
Diffstat (limited to 'Timeline/Resources/Controllers')
3 files changed, 42 insertions, 0 deletions
diff --git a/Timeline/Resources/Controllers/TimelineController.Designer.cs b/Timeline/Resources/Controllers/TimelineController.Designer.cs index 1e56f651..5a4209c3 100644 --- a/Timeline/Resources/Controllers/TimelineController.Designer.cs +++ b/Timeline/Resources/Controllers/TimelineController.Designer.cs @@ -70,6 +70,33 @@ namespace Timeline.Resources.Controllers { }
/// <summary>
+ /// Looks up a localized string similar to An unknown TimelineMemberOperationUserException is thrown. Can't recognize its inner exception. It is rethrown..
+ /// </summary>
+ internal static string LogUnknownTimelineMemberOperationUserException {
+ get {
+ 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 create posts in the timeline..
/// </summary>
internal static string MessagePostsCreateForbid {
diff --git a/Timeline/Resources/Controllers/TimelineController.resx b/Timeline/Resources/Controllers/TimelineController.resx index 420ac419..7e323164 100644 --- a/Timeline/Resources/Controllers/TimelineController.resx +++ b/Timeline/Resources/Controllers/TimelineController.resx @@ -120,6 +120,15 @@ <data name="ExceptionStringToVisibility" xml:space="preserve">
<value>An unknown timeline visibility value. Can't convert it.</value>
</data>
+ <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="MessagePostsCreateForbid" xml:space="preserve">
<value>You have no permission to create posts in the timeline.</value>
</data>
diff --git a/Timeline/Resources/Controllers/TimelineController.zh.resx b/Timeline/Resources/Controllers/TimelineController.zh.resx index e22f44fa..cacce5fa 100644 --- a/Timeline/Resources/Controllers/TimelineController.zh.resx +++ b/Timeline/Resources/Controllers/TimelineController.zh.resx @@ -117,6 +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="MessageMemberUsernameBadFormat" xml:space="preserve">
+ <value>第{0}个做{1}操作的用户名格式错误。</value>
+ </data>
+ <data name="MessageMemberUserNotExist" xml:space="preserve">
+ <value>第{0}个做{1}操作的用户不存在。</value>
+ </data>
<data name="MessagePostsCreateForbid" xml:space="preserve">
<value>你没有权限在这个时间线中创建消息。</value>
</data>
|