From f2a5f45355b83540dbb42b3a198a20ec354e0422 Mon Sep 17 00:00:00 2001
From: Jonas Kohl
Date: Mon, 16 Sep 2024 19:47:20 +0200
Subject: Way more stuff
---
src/application/views/form_delete_post_confirm.php | 12 ++++--------
src/application/views/form_delete_topic_confirm.php | 10 ++++++----
2 files changed, 10 insertions(+), 12 deletions(-)
(limited to 'src/application/views')
diff --git a/src/application/views/form_delete_post_confirm.php b/src/application/views/form_delete_post_confirm.php
index 2dc417d..e127235 100644
--- a/src/application/views/form_delete_post_confirm.php
+++ b/src/application/views/form_delete_post_confirm.php
@@ -1,13 +1,9 @@
- id === $GLOBALS["currentUser"]->id): ?>
-
Do you want to delete your post?
-
- Do you want to delete = htmlentities($postAuthor->displayName) ?>'s post?
-
+ = __("Do you want to delete this post?") ?>
- Are you sure you want to delete the following post:
+ = __("Are you sure you want to delete the following post:") ?>
true
@@ -18,12 +14,12 @@
diff --git a/src/application/views/form_delete_topic_confirm.php b/src/application/views/form_delete_topic_confirm.php
index d38ffaa..4f9deec 100644
--- a/src/application/views/form_delete_topic_confirm.php
+++ b/src/application/views/form_delete_topic_confirm.php
@@ -1,21 +1,23 @@
-
Do you want to delete this topic?
+ = __("Do you want to delete this topic?") ?>
- Are you sure you want to delete the topic = htmlentities($topic->title) ?> including all posts and attachments?
+ = __("Are you sure you want to delete the topic %topic% including all posts and attachments?", [
+ "topic" => htmlentities($topic->title),
+ ]) ?>
--
cgit v1.2.3