Skip to content

Commit 02e16ea

Browse files
committed
[TASK] Switch README file to Markdown, adjust dependencies
1 parent 6d08786 commit 02e16ea

File tree

4 files changed

+45
-45
lines changed

4 files changed

+45
-45
lines changed

README.md

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
[![Latest Stable Version](https://poser.pugx.org/cobweb/flush_language_cache/v)](https://packagist.org/packages/cobweb/flush_language_cache)
2+
[![Total Downloads](http://poser.pugx.org/cobweb/flush_language_cache/downloads)](https://packagist.org/packages/cobweb/flush_language_cache)
3+
[![Monthly Downloads](http://poser.pugx.org/cobweb/flush_language_cache/d/monthly)](https://packagist.org/packages/cobweb/flush_language_cache)
4+
[![Daily Downloads](http://poser.pugx.org/cobweb/flush_language_cache/d/daily)](https://packagist.org/packages/cobweb/flush_language_cache)
5+
[![PHP Version Require](http://poser.pugx.org/cobweb/flush_language_cache/require/php)](https://packagist.org/packages/cobweb/flush_language_cache)
6+
7+
# Flush Language Cache
8+
9+
This small TYPO3 CMS extension adds an item to the flush cache menu to allow for
10+
flushing only the language cache (`l10n`). This way you can avoid flushing the
11+
whole system cache when updating just a couple of localized strings (in locallang
12+
files).
13+
14+
This extension requires TYPO3 CMS 11 or more.
15+
16+
Just install it and flush the system cache. Reload the backend and the new
17+
item will appear in the flush cache menu.
18+
19+
There is also a command-line tool that can be called with:
20+
21+
```text
22+
path/to/php path/to/bin/typo3 languagecache:flush
23+
```
24+
25+
## User TSconfig
26+
27+
It is possible to give access to this flush cache option to ordinary backend users
28+
with the following User TSconfig:
29+
30+
```typoscript
31+
options.clearCache.flushLanguageCache = 1
32+
```
33+
34+
## Credits
35+
36+
The icon is based on the following images:
37+
38+
* thunderbolt by H Alberto Gongora from the Noun Project
39+
* chat bubble by Tereza Moravcová from the Noun Project
40+
41+
Thanks to Dmytro Nozdrin for the TYPO3 9 compatibility update and some code cleanup.

README.rst

Lines changed: 0 additions & 41 deletions
This file was deleted.

composer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@
1717
}
1818
},
1919
"require": {
20-
"php": ">=7.4.0",
21-
"typo3/cms-core": "^11.5 || ^12.0"
20+
"php": "^7.4 || ^8.0 || ^8.1 || ^8.2",
21+
"typo3/cms-core": "^11.5 || ^12.4"
2222
},
2323
"replace": {
2424
"typo3-ter/flush_language_cache": "self.version"

ext_emconf.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@
1818
'version' => '4.0.0',
1919
'constraints' => [
2020
'depends' => [
21-
'typo3' => '11.5.0-12.9.99',
22-
'php' => '7.4.0-8.1.99'
21+
'typo3' => '11.5.0-12.4.99',
22+
'php' => '7.4.0-8.2.99'
2323
],
2424
'conflicts' => [],
2525
'suggests' => [],

0 commit comments

Comments
 (0)