diff --git a/lib/zin/wg/linkedstorylist/v1.php b/lib/zin/wg/linkedstorylist/v1.php index 8c6f34a46e..71f8732724 100644 --- a/lib/zin/wg/linkedstorylist/v1.php +++ b/lib/zin/wg/linkedstorylist/v1.php @@ -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); diff --git a/module/story/model.php b/module/story/model.php index 36c9e20c38..4e3d81715b 100644 --- a/module/story/model.php +++ b/module/story/model.php @@ -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);