[ticket/12388] Fix translation of log entries without additional log data

PHPBB3-12388
[ticket/12388] Add tests for lang() use on log actions without data

PHPBB3-12388
Merge pull request #2286 from nickvergessen/ticket/12388

[ticket/12388] Fix translation of log entries without additional log data

* nickvergessen/ticket/12388:
  [ticket/12388] Add tests for lang() use on log actions without data
  [ticket/12388] Fix translation of log entries without additional log data