From 2d7b2931c23a3801a9a546ff7bb684b0af6293f8 Mon Sep 17 00:00:00 2001
From: Alex Kirk
Date: Thu, 19 Oct 2023 05:58:05 +0200
Subject: [PATCH] Improve Translate Live compatibility
---
templates/admin/notification-manager.php | 2 +
templates/admin/settings.php | 47 +++++++++++++-----------
2 files changed, 28 insertions(+), 21 deletions(-)
diff --git a/templates/admin/notification-manager.php b/templates/admin/notification-manager.php
index 65b0a000..3ddb2119 100644
--- a/templates/admin/notification-manager.php
+++ b/templates/admin/notification-manager.php
@@ -11,6 +11,7 @@
+
+
diff --git a/templates/admin/settings.php b/templates/admin/settings.php
index 8f5cade9..0003e793 100644
--- a/templates/admin/settings.php
+++ b/templates/admin/settings.php
@@ -75,7 +75,7 @@
-
+
@@ -244,10 +245,11 @@
/>
';
echo wp_kses(
sprintf(
// translators: %s is an input field that allows specifying a number.
- __( 'Only keep the last %s posts', 'friends' ),
+ __( 'Only keep the last %s posts.', 'friends' ),
''
),
array(
@@ -262,7 +264,7 @@
),
)
);
- echo '. ';
+ echo ' ';
echo esc_html(
sprintf(
// translators: %s is a date.
@@ -270,6 +272,7 @@
number_format_i18n( $args['post_count'] )
)
);
+ echo '';
?>
@@ -286,12 +289,12 @@
?>
+
+
+
>
-
+