* Fix bug#48410.

This commit is contained in:
xieqiyu
2024-04-26 13:17:46 +08:00
parent d1b38c54f9
commit 94528ed5b0
2 changed files with 1 additions and 2 deletions
+1 -1
View File
@@ -90,7 +90,7 @@ class linkedStoryList extends storyList
'data-url' => str_replace('{id}', "$story->id", $this->unlinkUrl),
'data-params' => 'event',
'data-call' => 'unlinkStory',
'hint' => $lang->story->unlinkStory
'hint' => $story->type == 'requirement' ? str_replace($lang->SRCommon, $lang->URCommon, $lang->story->unlinkStory) : $lang->story->unlinkStory
);
if(is_array($unlinkBtn)) $btn = array_merge($btn, $unlinkBtn);
-1
View File
@@ -3814,7 +3814,6 @@ class storyModel extends model
$storyLang->legendLinkStories = str_replace($SRCommon, $URCommon, $storyLang->legendLinkStories);
$storyLang->legendChildStories = str_replace($SRCommon, $URCommon, $storyLang->legendChildStories);
$storyLang->legendSpec = str_replace($SRCommon, $URCommon, $storyLang->legendSpec);
$storyLang->unlinkStory = str_replace($SRCommon, $URCommon, $storyLang->unlinkStory);
$storyLang->notice->closed = str_replace($SRCommon, $URCommon, $storyLang->notice->closed);
$storyLang->notice->reviewerNotEmpty = str_replace($SRCommon, $URCommon, $storyLang->notice->reviewerNotEmpty);