diff options
| author | 杨宇千 <crupest@outlook.com> | 2019-11-04 21:02:12 +0800 |
|---|---|---|
| committer | 杨宇千 <crupest@outlook.com> | 2019-11-04 21:02:12 +0800 |
| commit | edfc86d84da81fcabc00bb27e875f26038bf94f7 (patch) | |
| tree | 3adcbc9e73cf98d6ee2ae0566ad0578b351edb5e /Timeline/Resources | |
| parent | 640b80e501ef7f6240afdd968de4b23cd57f2ae1 (diff) | |
| download | timeline-edfc86d84da81fcabc00bb27e875f26038bf94f7.tar.gz timeline-edfc86d84da81fcabc00bb27e875f26038bf94f7.tar.bz2 timeline-edfc86d84da81fcabc00bb27e875f26038bf94f7.zip | |
Complete designing timeline service though there may be many bugs in the design.
Diffstat (limited to 'Timeline/Resources')
| -rw-r--r-- | Timeline/Resources/Services/Exception.Designer.cs | 18 | ||||
| -rw-r--r-- | Timeline/Resources/Services/Exception.resx | 6 |
2 files changed, 24 insertions, 0 deletions
diff --git a/Timeline/Resources/Services/Exception.Designer.cs b/Timeline/Resources/Services/Exception.Designer.cs index a5785cb6..1f6493cb 100644 --- a/Timeline/Resources/Services/Exception.Designer.cs +++ b/Timeline/Resources/Services/Exception.Designer.cs @@ -268,6 +268,15 @@ namespace Timeline.Resources.Services { }
/// <summary>
+ /// Looks up a localized string similar to The timeline with that name already exists..
+ /// </summary>
+ internal static string TimelineAlreadyExistException {
+ get {
+ return ResourceManager.GetString("TimelineAlreadyExistException", resourceCulture);
+ }
+ }
+
+ /// <summary>
/// Looks up a localized string similar to An exception happened when add or remove member on timeline..
/// </summary>
internal static string TimelineMemberOperationException {
@@ -304,6 +313,15 @@ namespace Timeline.Resources.Services { }
/// <summary>
+ /// Looks up a localized string similar to The use is not a member of the timeline..
+ /// </summary>
+ internal static string TimelineUserNotMemberException {
+ get {
+ return ResourceManager.GetString("TimelineUserNotMemberException", resourceCulture);
+ }
+ }
+
+ /// <summary>
/// Looks up a localized string similar to The username is of bad format..
/// </summary>
internal static string UsernameBadFormatException {
diff --git a/Timeline/Resources/Services/Exception.resx b/Timeline/Resources/Services/Exception.resx index e6622094..3e9d3747 100644 --- a/Timeline/Resources/Services/Exception.resx +++ b/Timeline/Resources/Services/Exception.resx @@ -186,6 +186,9 @@ <data name="JwtVerifyExceptionVersionClaimBadFormat" xml:space="preserve">
<value>version claim is not a number.</value>
</data>
+ <data name="TimelineAlreadyExistException" xml:space="preserve">
+ <value>The timeline with that name already exists.</value>
+ </data>
<data name="TimelineMemberOperationException" xml:space="preserve">
<value>An exception happened when add or remove member on timeline.</value>
</data>
@@ -198,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="TimelineUserNotMemberException" xml:space="preserve">
+ <value>The use is not a member of the timeline.</value>
+ </data>
<data name="UsernameBadFormatException" xml:space="preserve">
<value>The username is of bad format.</value>
</data>
|
