texnixe / kirby-logger

45 stars 4 forks source link

use logger.language #4

Closed mxub closed 7 years ago

mxub commented 7 years ago

as I understand it this should fix #3

mxub commented 7 years ago

maybe one should only use the helper function ?

mxub commented 7 years ago

Explanation

c149289 is the fix to use logger.language (if set)

accbdc1 & ccad7ed DRY up helper.php and logger.php to only use the translation()-method from helper.php

texnixe commented 7 years ago

I finally got round to testing this, but I get an error message ( Use of undefined constant translation - assumed 'translation').

mxub commented 7 years ago

found it - had it in my live site fixed but not in the patch repository - sorry