* Merge code.
This commit is contained in:
+6
-48
@@ -4369,7 +4369,6 @@ class storyModel extends model
|
||||
*/
|
||||
public function replaceURLang(string $type): void
|
||||
{
|
||||
<<<<<<< HEAD
|
||||
if($type == 'story') return;
|
||||
|
||||
$storyLang = $this->lang->story;
|
||||
@@ -4406,60 +4405,19 @@ class storyModel extends model
|
||||
$storyLang->legendChildStories = str_replace($SRCommon, $replacement, $storyLang->legendChildStories);
|
||||
$storyLang->legendSpec = str_replace($SRCommon, $replacement, $storyLang->legendSpec);
|
||||
$storyLang->unlinkStory = str_replace($SRCommon, $replacement, $storyLang->unlinkStory);
|
||||
$storyLang->legendLifeTime = str_replace($SRCommon, $replacement, $storyLang->legendLifeTime);
|
||||
$storyLang->legendLinkStories = str_replace($SRCommon, $replacement, $storyLang->legendLinkStories);
|
||||
$storyLang->legendChildStories = str_replace($SRCommon, $replacement, $storyLang->legendChildStories);
|
||||
$storyLang->legendSpec = str_replace($SRCommon, $replacement, $storyLang->legendSpec);
|
||||
|
||||
$storyLang->notice->closed = str_replace($SRCommon, $replacement, $storyLang->notice->closed);
|
||||
$storyLang->notice->reviewerNotEmpty = str_replace($SRCommon, $replacement, $storyLang->notice->reviewerNotEmpty);
|
||||
$storyLang->skipStory = str_replace($SRCommon, $replacement, $storyLang->skipStory);
|
||||
$storyLang->closedStory = str_replace($SRCommon, $replacement, $storyLang->closedStory);
|
||||
|
||||
$storyLang->report->charts['storiesPerProduct'] = str_replace($SRCommon, $replacement, $storyLang->report->charts['storiesPerProduct']);
|
||||
$storyLang->report->charts['storiesPerModule'] = str_replace($SRCommon, $replacement, $storyLang->report->charts['storiesPerModule']);
|
||||
$storyLang->report->charts['storiesPerSource'] = str_replace($SRCommon, $replacement, $storyLang->report->charts['storiesPerSource']);
|
||||
=======
|
||||
if($type != 'requirement') return;
|
||||
|
||||
$storyLang = $this->lang->story;
|
||||
$SRCommon = $this->lang->SRCommon;
|
||||
$URCommon = $this->lang->URCommon;
|
||||
|
||||
$storyLang->create = str_replace($SRCommon, $URCommon, $storyLang->create);
|
||||
$storyLang->changeAction = str_replace($SRCommon, $URCommon, $storyLang->changeAction);
|
||||
$storyLang->changed = str_replace($SRCommon, $URCommon, $storyLang->changed);
|
||||
$storyLang->assignAction = str_replace($SRCommon, $URCommon, $storyLang->assignAction);
|
||||
$storyLang->reviewAction = str_replace($SRCommon, $URCommon, $storyLang->reviewAction);
|
||||
$storyLang->subdivideAction = str_replace($SRCommon, $URCommon, $storyLang->subdivideAction);
|
||||
$storyLang->closeAction = str_replace($SRCommon, $URCommon, $storyLang->closeAction);
|
||||
$storyLang->activateAction = str_replace($SRCommon, $URCommon, $storyLang->activateAction);
|
||||
$storyLang->deleteAction = str_replace($SRCommon, $URCommon, $storyLang->deleteAction);
|
||||
$storyLang->view = str_replace($SRCommon, $URCommon, $storyLang->view);
|
||||
$storyLang->linkStory = str_replace($SRCommon, $URCommon, $storyLang->linkStory);
|
||||
$storyLang->exportAction = str_replace($SRCommon, $URCommon, $storyLang->exportAction);
|
||||
$storyLang->zeroCase = str_replace($SRCommon, $URCommon, $storyLang->zeroCase);
|
||||
$storyLang->zeroTask = str_replace($SRCommon, $URCommon, $storyLang->zeroTask);
|
||||
$storyLang->copyTitle = str_replace($SRCommon, $URCommon, $storyLang->copyTitle);
|
||||
$storyLang->common = str_replace($SRCommon, $URCommon, $storyLang->common);
|
||||
$storyLang->title = str_replace($SRCommon, $URCommon, $storyLang->title);
|
||||
$storyLang->spec = str_replace($SRCommon, $URCommon, $storyLang->spec);
|
||||
$storyLang->children = str_replace($SRCommon, $URCommon, $storyLang->children);
|
||||
$storyLang->linkStories = str_replace($SRCommon, $URCommon, $storyLang->linkStories);
|
||||
$storyLang->childStories = str_replace($SRCommon, $URCommon, $storyLang->childStories);
|
||||
$storyLang->duplicateStory = str_replace($SRCommon, $URCommon, $storyLang->duplicateStory);
|
||||
$storyLang->newStory = str_replace($SRCommon, $URCommon, $storyLang->newStory);
|
||||
$storyLang->copy = str_replace($SRCommon, $URCommon, $storyLang->copy);
|
||||
$storyLang->total = str_replace($SRCommon, $URCommon, $storyLang->total);
|
||||
$storyLang->released = str_replace($SRCommon, $URCommon, $storyLang->released);
|
||||
$storyLang->legendLifeTime = str_replace($SRCommon, $URCommon, $storyLang->legendLifeTime);
|
||||
$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->notice->closed = str_replace($SRCommon, $URCommon, $storyLang->notice->closed);
|
||||
$storyLang->notice->reviewerNotEmpty = str_replace($SRCommon, $URCommon, $storyLang->notice->reviewerNotEmpty);
|
||||
$storyLang->skipStory = str_replace($SRCommon, $URCommon, $storyLang->skipStory);
|
||||
$storyLang->closedStory = str_replace($SRCommon, $URCommon, $storyLang->closedStory);
|
||||
|
||||
$storyLang->report->charts['storiesPerProduct'] = str_replace($SRCommon, $URCommon, $storyLang->report->charts['storiesPerProduct']);
|
||||
$storyLang->report->charts['storiesPerModule'] = str_replace($SRCommon, $URCommon, $storyLang->report->charts['storiesPerModule']);
|
||||
$storyLang->report->charts['storiesPerSource'] = str_replace($SRCommon, $URCommon, $storyLang->report->charts['storiesPerSource']);
|
||||
>>>>>>> master
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user