From 0ec6373e24dbd1666655ee806c4a840648744a1e Mon Sep 17 00:00:00 2001 From: Phil Wareham Date: Wed, 26 Jul 2017 13:18:45 +0100 Subject: [PATCH] Safer translation strings 'Reset' text in the core varies in context betwen languages (such as 'Reset to zero' in French language) which wouldn't be appropriate here. --- etc_cache.php | 8 +++++--- manifest.json | 2 +- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/etc_cache.php b/etc_cache.php index 88a8315..d74c29d 100644 --- a/etc_cache.php +++ b/etc_cache.php @@ -17,7 +17,7 @@ // 1 = Plugin help is in raw HTML. Not recommended. # $plugin['allow_html_help'] = 1; -$plugin['version'] = '0.2.6'; +$plugin['version'] = '0.2.7'; $plugin['author'] = 'Oleg Loukianov'; $plugin['author_uri'] = 'www.iut-fbleau.fr/projet/etc/'; $plugin['description'] = 'Events-driven cache'; @@ -56,10 +56,12 @@ $plugin['textpack'] = << Actions etc_cache_cached_at => Cached at etc_cache_filter => Filter etc_cache_heading => Cached items etc_cache_no_cached_items => No cached items recorded. +etc_cache_reset => Reset etc_cache_tab => Cache EOT; @@ -273,9 +275,9 @@ public function tab($event, $step) { n.'ID'. n.''.gTxt('etc_cache_cached_at').''. n.'URL'. - n.''.gTxt('reset').''. + n.''.gTxt('etc_cache_reset').''. n.''.gTxt('etc_cache_filter').''. - n.'Actions' + n.''.gTxt('etc_cache_actions').'' ). n.tag_end('thead'). n.tag_start('tbody'); diff --git a/manifest.json b/manifest.json index 3ff9b07..f29f7c2 100644 --- a/manifest.json +++ b/manifest.json @@ -1,7 +1,7 @@ { "name": "etc_cache", "description": "Events-driven cache solution for Textpattern CMS.", - "version": "0.2.6", + "version": "0.2.7", "type": 5, "author": "Oleg Loukianov", "author_uri": "http://www.iut-fbleau.fr/projet/etc/",