From 45f72e9f13a7a3bbe16a576c9999bb5c1af42421 Mon Sep 17 00:00:00 2001 From: Richard McGirr Date: Mon, 6 Jul 2020 15:09:11 -0500 Subject: [PATCH] Add language to caching in ACP --- adm/style/nationalflags_settings.html | 2 +- language/en/nationalflags_acp.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/adm/style/nationalflags_settings.html b/adm/style/nationalflags_settings.html index c9c1446..5e2a48d 100644 --- a/adm/style/nationalflags_settings.html +++ b/adm/style/nationalflags_settings.html @@ -21,7 +21,7 @@

{{ lang('ACP_FLAG_SETTINGS') }}


{{ lang('FLAGS_CACHETIME_EXPLAIN') }}
-
{{ lang('FLAGS_CACHETIME_IN_SECS') }}
+
{{ lang('FLAGS_CACHETIME_IN_SECS') }}

{{ lang('FLAGS_REQUIRED_EXPLAIN') }}
diff --git a/language/en/nationalflags_acp.php b/language/en/nationalflags_acp.php index cb16087..cb7d732 100644 --- a/language/en/nationalflags_acp.php +++ b/language/en/nationalflags_acp.php @@ -119,7 +119,7 @@ 'FLAG_IMAGE_WRONG_SIZE' => 'The flag must be exactly %3$s wide and %4$s high. The submitted image is %5$s wide and %6$s high.', 'FLAGS_REQUIRE_540' => 'This extension requires at least PHP version 5.4.0 and phpBB version 3.1.4-RC1. Please update your PHP version and/or your phpBB version in order to use the extension.', 'FLAGS_CACHETIME' => 'Flags cache time', - 'FLAGS_CACHETIME_EXPLAIN' => 'The amount of time before the cache for the flags for users regenerates
Default setting is 86400 which is one day (60 seconds * 60 minutes * 24 hours)', + 'FLAGS_CACHETIME_EXPLAIN' => 'The amount of time before the cache for the flags for users regenerates. Setting is based on hours * minutes * seconds.
Minimum allowed is 300 seconds (5 minutes, 1 hour * 5 minutes * 60 seonds)
Maximum allowed is 86400 seconds (24 hours, 24 hours * 60 minutes * 60 seconds)', 'FLAGS_CACHETIME_IN_SECS' => 'in seconds', 'TOO_SMALL_FLAGS_CACHETIME' => 'The number chosen for the cache time is too small', 'TOO_LARGE_FLAGS_CACHETIME' => 'The number chosen for the cache time is too large',