diff options
author | Mario <mario@mariovavti.com> | 2024-07-29 09:59:04 +0000 |
---|---|---|
committer | Mario <mario@mariovavti.com> | 2024-07-29 09:59:04 +0000 |
commit | 52f7b508af7bd6eb00eb76b4e170b44a55be869f (patch) | |
tree | d72d94366a985be578cc4729fb9ac2078cbc267e /Zotlabs/Widget/Helpindex.php | |
parent | 15f6bc93cf53cf05162d1314852f567ab2af2bc6 (diff) | |
parent | d3093dce1bfd4685d5e11f828689630862f77bda (diff) | |
download | volse-hubzilla-52f7b508af7bd6eb00eb76b4e170b44a55be869f.tar.gz volse-hubzilla-52f7b508af7bd6eb00eb76b4e170b44a55be869f.tar.bz2 volse-hubzilla-52f7b508af7bd6eb00eb76b4e170b44a55be869f.zip |
Merge branch 'improve-help-locale-handling' into 'dev'
Improve handling of locale in Help module
See merge request hubzilla/core!2140
Diffstat (limited to 'Zotlabs/Widget/Helpindex.php')
-rw-r--r-- | Zotlabs/Widget/Helpindex.php | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Zotlabs/Widget/Helpindex.php b/Zotlabs/Widget/Helpindex.php index 5264e1947..fd9204c9e 100644 --- a/Zotlabs/Widget/Helpindex.php +++ b/Zotlabs/Widget/Helpindex.php @@ -22,7 +22,9 @@ class Helpindex { $this->find_help_file('toc', $this->lang['language']); if (! empty($this->file_name)) { - $this->contents = file_get_contents($this->file_name); + $this->contents = translate_projectname( + file_get_contents($this->file_name) + ); } $tpl = get_markup_template('widget.tpl'); |