aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Widget
diff options
context:
space:
mode:
authorHarald Eilertsen <haraldei@anduin.net>2024-07-23 18:47:39 +0200
committerHarald Eilertsen <haraldei@anduin.net>2024-07-23 18:47:39 +0200
commit63a01c02148ad51823acb7c6a7c64129ecd6a665 (patch)
tree1a529e12042dd85527926df3a87db900976012a7 /Zotlabs/Widget
parent202b797fe683fd47e02f1c0e22b50085851e5ed3 (diff)
downloadvolse-hubzilla-63a01c02148ad51823acb7c6a7c64129ecd6a665.tar.gz
volse-hubzilla-63a01c02148ad51823acb7c6a7c64129ecd6a665.tar.bz2
volse-hubzilla-63a01c02148ad51823acb7c6a7c64129ecd6a665.zip
Replace $Projectname in help index/toc file.
Diffstat (limited to 'Zotlabs/Widget')
-rw-r--r--Zotlabs/Widget/Helpindex.php4
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');