aboutsummaryrefslogtreecommitdiff
path: root/Timeline/Resources/Services
diff options
context:
space:
mode:
authorcrupest <crupest@outlook.com>2020-02-02 14:35:30 +0800
committercrupest <crupest@outlook.com>2020-02-02 14:35:30 +0800
commitb9dc0062241f4dcf5221808d97a7e4c337a8b6cc (patch)
tree06388f533584b06a185c5908603423af158f671a /Timeline/Resources/Services
parente71cb8e368d081747014f1434c5ee157660783f2 (diff)
downloadtimeline-b9dc0062241f4dcf5221808d97a7e4c337a8b6cc.tar.gz
timeline-b9dc0062241f4dcf5221808d97a7e4c337a8b6cc.tar.bz2
timeline-b9dc0062241f4dcf5221808d97a7e4c337a8b6cc.zip
Add timeline service.
Diffstat (limited to 'Timeline/Resources/Services')
-rw-r--r--Timeline/Resources/Services/TimelineService.Designer.cs18
-rw-r--r--Timeline/Resources/Services/TimelineService.resx6
2 files changed, 24 insertions, 0 deletions
diff --git a/Timeline/Resources/Services/TimelineService.Designer.cs b/Timeline/Resources/Services/TimelineService.Designer.cs
index 8212c252..3ee5959f 100644
--- a/Timeline/Resources/Services/TimelineService.Designer.cs
+++ b/Timeline/Resources/Services/TimelineService.Designer.cs
@@ -77,5 +77,23 @@ namespace Timeline.Resources.Services {
return ResourceManager.GetString("ExceptionFindTimelineUsernameBadFormat", resourceCulture);
}
}
+
+ /// <summary>
+ /// Looks up a localized string similar to The timeline name is of bad format because {0}..
+ /// </summary>
+ internal static string ExceptionTimelineNameBadFormat {
+ get {
+ return ResourceManager.GetString("ExceptionTimelineNameBadFormat", resourceCulture);
+ }
+ }
+
+ /// <summary>
+ /// Looks up a localized string similar to The timeline with given name already exists..
+ /// </summary>
+ internal static string ExceptionTimelineNameConflict {
+ get {
+ return ResourceManager.GetString("ExceptionTimelineNameConflict", resourceCulture);
+ }
+ }
}
}
diff --git a/Timeline/Resources/Services/TimelineService.resx b/Timeline/Resources/Services/TimelineService.resx
index 0429a2f8..e0d76c9a 100644
--- a/Timeline/Resources/Services/TimelineService.resx
+++ b/Timeline/Resources/Services/TimelineService.resx
@@ -123,4 +123,10 @@
<data name="ExceptionFindTimelineUsernameBadFormat" xml:space="preserve">
<value>The owner username of personal timeline is of bad format.</value>
</data>
+ <data name="ExceptionTimelineNameBadFormat" xml:space="preserve">
+ <value>The timeline name is of bad format because {0}.</value>
+ </data>
+ <data name="ExceptionTimelineNameConflict" xml:space="preserve">
+ <value>The timeline with given name already exists.</value>
+ </data>
</root> \ No newline at end of file