diff --git a/README.md b/README.md index 0f9b226..d124d45 100644 --- a/README.md +++ b/README.md @@ -20,6 +20,7 @@ History ------- * 2014-12-29: Version 0.1, initial release +* 2018-01-20: Version 0.2, hook changes in Friendica, better language detection Author ------ diff --git a/typography.php b/typography.php index 05ef4d0..dfcac5e 100644 --- a/typography.php +++ b/typography.php @@ -3,7 +3,7 @@ * Name: Typography * Description: Applies typographical enhancements to the postings before displaying them * Version: 0.2 - * Author: Tobias Diekershoff + * Author: Tobias Diekershoff * License: GPL 2.0 */ @@ -35,6 +35,8 @@ function typography_render ( &$a, &$o) { 'ru', 'sv', 'pl', + 'en', + 'en-US', 'en-GB', 'de'); $lng_long = array( @@ -54,6 +56,8 @@ function typography_render ( &$a, &$o) { 'swedish', 'polish', 'english', + 'english', + 'english', 'german'); $l = new Text_LanguageDetect; $lng = $l->detectSimple($o['html']);