1
0
mirror of https://github.com/typemill/typemill.git synced 2025-07-30 19:00:32 +02:00

version 1.3.3: Pages and Posts

This commit is contained in:
trendschau
2020-02-26 21:34:56 +01:00
parent 3524bd36d8
commit fe3fb05e41
19 changed files with 864 additions and 72 deletions

View File

@@ -38,7 +38,7 @@ class TwigLanguageExtension extends \Twig_Extension
$string = strtoupper( $string );
//translates the string
$translated_label = $this->labels[$string];
$translated_label = isset($this->labels[$string]) ? $this->labels[$string] : null;
// if the string is not present, set the original string
if( empty($translated_label) ){