瀏覽代碼

Update delete page

Visman 3 年之前
父節點
當前提交
c331dfc7a4
共有 3 個文件被更改,包括 9 次插入15 次删除
  1. 1 1
      app/Models/Pages/Delete.php
  2. 4 7
      app/lang/en/delete.po
  3. 4 7
      app/lang/ru/delete.po

+ 1 - 1
app/Models/Pages/Delete.php

@@ -76,7 +76,7 @@ class Delete extends Page
         $this->formTitle  = __($deleteTopic ? 'Delete topic' : 'Delete post');
         $this->formTitle  = __($deleteTopic ? 'Delete topic' : 'Delete post');
         $this->crumbs     = $this->crumbs($this->formTitle, $topic);
         $this->crumbs     = $this->crumbs($this->formTitle, $topic);
         $this->posts      = [$post];
         $this->posts      = [$post];
-        $this->postsTitle = 'Delete info';
+        $this->postsTitle = $deleteTopic ? 'Delete topic info' : 'Delete info';
         $this->form       = $this->formDelete($args, $post, $deleteTopic);
         $this->form       = $this->formDelete($args, $post, $deleteTopic);
 
 
         return $this;
         return $this;

+ 4 - 7
app/lang/en/delete.po

@@ -30,14 +30,11 @@ msgstr "Confirm delete post"
 msgid "Confirm delete topic"
 msgid "Confirm delete topic"
 msgstr "Confirm delete topic (<b>All posts will be deleted from this topic</b>)"
 msgstr "Confirm delete topic (<b>All posts will be deleted from this topic</b>)"
 
 
-msgid "Warning"
-msgstr "You are about to permanently delete this post."
-
-msgid "Topic warning"
-msgstr "Warning! This is the first post in the topic, the whole topic will be permanently deleted."
-
 msgid "Delete info"
 msgid "Delete info"
-msgstr "The post you have chosen to delete is set out below for you to review before proceeding"
+msgstr "The post you have chosen to delete"
+
+msgid "Delete topic info"
+msgstr "The first message from the topic you have chosen to delete"
 
 
 msgid "Reply by"
 msgid "Reply by"
 msgstr "Reply by %1$s<br>Posted %2$s"
 msgstr "Reply by %1$s<br>Posted %2$s"

+ 4 - 7
app/lang/ru/delete.po

@@ -30,14 +30,11 @@ msgstr "Подтверждаю удаление сообщения"
 msgid "Confirm delete topic"
 msgid "Confirm delete topic"
 msgstr "Подтверждаю удаление темы (<b>Все сообщения из этой темы будут удалены</b>)"
 msgstr "Подтверждаю удаление темы (<b>Все сообщения из этой темы будут удалены</b>)"
 
 
-msgid "Warning"
-msgstr "Внимание! Вы собираетесь навсегда удалить сообщение."
-
-msgid "Topic warning"
-msgstr "Внимание! Это первое сообщение в теме, вся тема будет безвозвратно удалелена."
-
 msgid "Delete info"
 msgid "Delete info"
-msgstr "Удаляемое сообщение показано ниже"
+msgstr "Удаляемое сообщение"
+
+msgid "Delete topic info"
+msgstr "Первое сообщение удаляемой темы"
 
 
 msgid "Reply by"
 msgid "Reply by"
 msgstr "Автор сообщения: %1$s<br>Отправлено: %2$s"
 msgstr "Автор сообщения: %1$s<br>Отправлено: %2$s"