diff --git a/locale/Messages.resx b/locale/Messages.resx
index 31ed7b3..0a072c3 100644
--- a/locale/Messages.resx
+++ b/locale/Messages.resx
@@ -477,8 +477,8 @@
Position in list: {0}
-
- The reminder will be sent on: {0}
+
+ Reminder send time: {0}
Reminder text: {0}
diff --git a/locale/Messages.ru.resx b/locale/Messages.ru.resx
index cb65749..92d4c60 100644
--- a/locale/Messages.ru.resx
+++ b/locale/Messages.ru.resx
@@ -477,8 +477,8 @@
Позиция в списке: {0}
-
- Напоминание будет отправлено: {0}
+
+ Время отправки напоминания: {0}
Текст напоминания: {0}
diff --git a/locale/Messages.tt-ru.resx b/locale/Messages.tt-ru.resx
index b5f6ad1..9c5d487 100644
--- a/locale/Messages.tt-ru.resx
+++ b/locale/Messages.tt-ru.resx
@@ -477,8 +477,8 @@
номер в списке: {0}
-
- я пну тебе это: {0}
+
+ время отправки: {0}
че там в напоминалке: {0}
diff --git a/src/Commands/RemindCommandGroup.cs b/src/Commands/RemindCommandGroup.cs
index 4a4f6a1..eb46d7c 100644
--- a/src/Commands/RemindCommandGroup.cs
+++ b/src/Commands/RemindCommandGroup.cs
@@ -92,7 +92,7 @@ public class RemindCommandGroup : CommandGroup
builder.Append("- ").AppendLine(string.Format(Messages.ReminderPosition, Markdown.InlineCode((i + 1).ToString())))
.Append(" - ").AppendLine(string.Format(Messages.ReminderText, Markdown.InlineCode(reminder.Text)))
.Append(" - ")
- .AppendLine(string.Format(Messages.ReminderWillBeSentOn, Markdown.Timestamp(reminder.At)));
+ .AppendLine(string.Format(Messages.ReminderTime, Markdown.Timestamp(reminder.At)));
}
var embed = new EmbedBuilder().WithSmallTitle(
@@ -155,7 +155,7 @@ public class RemindCommandGroup : CommandGroup
var builder = new StringBuilder().Append("- ").AppendLine(string.Format(
Messages.ReminderText, Markdown.InlineCode(text)))
- .Append("- ").Append(string.Format(Messages.ReminderWillBeSentOn, Markdown.Timestamp(remindAt)));
+ .Append("- ").Append(string.Format(Messages.ReminderTime, Markdown.Timestamp(remindAt)));
var embed = new EmbedBuilder().WithSmallTitle(
string.Format(Messages.ReminderCreated, executor.GetTag()), executor)
@@ -210,9 +210,16 @@ public class RemindCommandGroup : CommandGroup
return await _feedback.SendContextualEmbedResultAsync(failedEmbed, ct);
}
+ var reminder = data.Reminders[index];
+
+ var description = new StringBuilder()
+ .Append("- ").AppendLine(string.Format(Messages.ReminderText, Markdown.InlineCode(reminder.Text)))
+ .Append("- ").AppendLine(string.Format(Messages.ReminderTime, Markdown.Timestamp(reminder.At)));
+
data.Reminders.RemoveAt(index);
var embed = new EmbedBuilder().WithSmallTitle(Messages.ReminderDeleted, bot)
+ .WithDescription(description.ToString())
.WithColour(ColorsList.Green)
.Build();
diff --git a/src/Messages.Designer.cs b/src/Messages.Designer.cs
index 4a771d0..898528c 100644
--- a/src/Messages.Designer.cs
+++ b/src/Messages.Designer.cs
@@ -786,9 +786,9 @@ namespace Octobot {
}
}
- internal static string ReminderWillBeSentOn {
+ internal static string ReminderTime {
get {
- return ResourceManager.GetString("ReminderWillBeSentOn", resourceCulture);
+ return ResourceManager.GetString("ReminderTime", resourceCulture);
}
}