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 | 2f36e9a1c8d6db2a808f874134c9cb7d57c3ef16 (patch) | |
| tree | 48ca95c6eb5dafe44d419bbe5d0ab49396209b13 /Timeline/Resources/Services | |
| parent | 2852190501ea6636f93d6bc06f8eb4a11cab1077 (diff) | |
| download | timeline-2f36e9a1c8d6db2a808f874134c9cb7d57c3ef16.tar.gz timeline-2f36e9a1c8d6db2a808f874134c9cb7d57c3ef16.tar.bz2 timeline-2f36e9a1c8d6db2a808f874134c9cb7d57c3ef16.zip | |
Complete PersonalTimelineController and write attribute test.
Diffstat (limited to 'Timeline/Resources/Services')
| -rw-r--r-- | Timeline/Resources/Services/Exception.Designer.cs | 15 | ||||
| -rw-r--r-- | Timeline/Resources/Services/Exception.resx | 7 |
2 files changed, 17 insertions, 5 deletions
diff --git a/Timeline/Resources/Services/Exception.Designer.cs b/Timeline/Resources/Services/Exception.Designer.cs index 1f6493cb..970c306d 100644 --- a/Timeline/Resources/Services/Exception.Designer.cs +++ b/Timeline/Resources/Services/Exception.Designer.cs @@ -286,11 +286,11 @@ namespace Timeline.Resources.Services { }
/// <summary>
- /// Looks up a localized string similar to An exception happened when operating on the {} member on timeline..
+ /// Looks up a localized string similar to An exception happened when do operation {} on the {} member on timeline..
/// </summary>
- internal static string TimelineMemberOperationExceptionIndex {
+ internal static string TimelineMemberOperationExceptionDetail {
get {
- return ResourceManager.GetString("TimelineMemberOperationExceptionIndex", resourceCulture);
+ return ResourceManager.GetString("TimelineMemberOperationExceptionDetail", resourceCulture);
}
}
@@ -313,6 +313,15 @@ namespace Timeline.Resources.Services { }
/// <summary>
+ /// Looks up a localized string similar to The timeline post does not exist. You can't do operation on it..
+ /// </summary>
+ internal static string TimelinePostNotExistException {
+ get {
+ return ResourceManager.GetString("TimelinePostNotExistException", resourceCulture);
+ }
+ }
+
+ /// <summary>
/// Looks up a localized string similar to The use is not a member of the timeline..
/// </summary>
internal static string TimelineUserNotMemberException {
diff --git a/Timeline/Resources/Services/Exception.resx b/Timeline/Resources/Services/Exception.resx index 3e9d3747..c8f6676a 100644 --- a/Timeline/Resources/Services/Exception.resx +++ b/Timeline/Resources/Services/Exception.resx @@ -192,8 +192,8 @@ <data name="TimelineMemberOperationException" xml:space="preserve">
<value>An exception happened when add or remove member on timeline.</value>
</data>
- <data name="TimelineMemberOperationExceptionIndex" xml:space="preserve">
- <value>An exception happened when operating on the {} member on timeline.</value>
+ <data name="TimelineMemberOperationExceptionDetail" xml:space="preserve">
+ <value>An exception happened when do operation {} on the {} member on timeline.</value>
</data>
<data name="TimelineNameBadFormatException" xml:space="preserve">
<value>Timeline name is of bad format. If this is a personal timeline, it means the username is of bad format and inner exception should be a UsernameBadFormatException.</value>
@@ -201,6 +201,9 @@ <data name="TimelineNotExistException" xml:space="preserve">
<value>Timeline does not exist. If this is a personal timeline, it means the user does not exist and inner exception should be a UserNotExistException.</value>
</data>
+ <data name="TimelinePostNotExistException" xml:space="preserve">
+ <value>The timeline post does not exist. You can't do operation on it.</value>
+ </data>
<data name="TimelineUserNotMemberException" xml:space="preserve">
<value>The use is not a member of the timeline.</value>
</data>
|
