From c5e3143d36ee14daa158b6416c61af8a47a2bc9d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Webdesign=20H=C3=B6hne?= Date: Wed, 9 Mar 2016 13:33:39 +0100 Subject: [PATCH 1/3] .gitignore for phpstorm --- .gitignore | 1 + 1 file changed, 1 insertion(+) create mode 100644 .gitignore diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57f1cb2 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +/.idea/ \ No newline at end of file From 69dd0def28c69d9ccbeb785ea0ae2b1db3fdaceb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Webdesign=20H=C3=B6hne?= Date: Wed, 9 Mar 2016 13:34:25 +0100 Subject: [PATCH 2/3] .gitignore for phpstorm --- .gitignore | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index 57f1cb2..85e7c1d 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1 @@ -/.idea/ \ No newline at end of file +/.idea/ From b11cff89f28c3886b22cf5d87f90c897f804ee16 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Webdesign=20H=C3=B6hne?= Date: Wed, 9 Mar 2016 21:28:58 +0100 Subject: [PATCH 3/3] Quick & Dirty: Releated Topics and German Output It's a Quick and Dirty Solution - didn't had time for a correct setup --- event/listener.php | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/event/listener.php b/event/listener.php index 230d328..cc39a52 100644 --- a/event/listener.php +++ b/event/listener.php @@ -237,6 +237,12 @@ public function core_viewtopic_modify_page_title($event) $related_result = true; } } + if (!isset($this->user->lang['RELATED_TOPICS'])){ + $this->user->lang['RELATED_TOPICS'] = 'Related Topics'; + if ($this->config['default_lang'] == 'de'){ + $this->user->lang['RELATED_TOPICS'] = 'Ähnliche Beiträge'; + } + } $this->db->sql_freeresult($result); }