如何在 Mantis 错误跟踪器中编辑主菜单文本
How to edit the main menu text in mantis bug tracker
我正在尝试将 Mantis 错误跟踪器中的主菜单文本从 "Report Issue" 更改为 "New Project" 我该如何完成?
我查看了 custom_strings_inc.php
,但我不明白如何从那里更改主菜单文本。
您必须从现有的 lang 文件(在 lang 文件夹中)识别正确的 lang 变量名称,并在 custom_strings 中覆盖它们。
例如,如果您想将 报告问题 更改为 新项目,请编辑 custom_strings_inc.php 并添加以下行:
$s_report_bug_link = "New Project";
我正在尝试将 Mantis 错误跟踪器中的主菜单文本从 "Report Issue" 更改为 "New Project" 我该如何完成?
我查看了 custom_strings_inc.php
,但我不明白如何从那里更改主菜单文本。
您必须从现有的 lang 文件(在 lang 文件夹中)识别正确的 lang 变量名称,并在 custom_strings 中覆盖它们。
例如,如果您想将 报告问题 更改为 新项目,请编辑 custom_strings_inc.php 并添加以下行:
$s_report_bug_link = "New Project";