updated README, corrected profile link
This commit is contained in:
parent
410d0aa6f3
commit
d3a9c0b2d6
|
@ -20,6 +20,7 @@ History
|
||||||
-------
|
-------
|
||||||
|
|
||||||
* 2014-12-29: Version 0.1, initial release
|
* 2014-12-29: Version 0.1, initial release
|
||||||
|
* 2018-01-20: Version 0.2, hook changes in Friendica, better language detection
|
||||||
|
|
||||||
Author
|
Author
|
||||||
------
|
------
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
* Name: Typography
|
* Name: Typography
|
||||||
* Description: Applies typographical enhancements to the postings before displaying them
|
* Description: Applies typographical enhancements to the postings before displaying them
|
||||||
* Version: 0.2
|
* Version: 0.2
|
||||||
* Author: Tobias Diekershoff <tobias@f.diekershoff.de>
|
* Author: Tobias Diekershoff <tobias@social.diekershoff.de>
|
||||||
* License: GPL 2.0
|
* License: GPL 2.0
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
@ -35,6 +35,8 @@ function typography_render ( &$a, &$o) {
|
||||||
'ru',
|
'ru',
|
||||||
'sv',
|
'sv',
|
||||||
'pl',
|
'pl',
|
||||||
|
'en',
|
||||||
|
'en-US',
|
||||||
'en-GB',
|
'en-GB',
|
||||||
'de');
|
'de');
|
||||||
$lng_long = array(
|
$lng_long = array(
|
||||||
|
@ -54,6 +56,8 @@ function typography_render ( &$a, &$o) {
|
||||||
'swedish',
|
'swedish',
|
||||||
'polish',
|
'polish',
|
||||||
'english',
|
'english',
|
||||||
|
'english',
|
||||||
|
'english',
|
||||||
'german');
|
'german');
|
||||||
$l = new Text_LanguageDetect;
|
$l = new Text_LanguageDetect;
|
||||||
$lng = $l->detectSimple($o['html']);
|
$lng = $l->detectSimple($o['html']);
|
||||||
|
|
Loading…
Reference in New Issue