From c8a9455668f2902b9a339eb11174e417ae0944ba Mon Sep 17 00:00:00 2001 From: hyung-hwan Date: Thu, 8 May 2014 14:13:52 +0000 Subject: [PATCH] added a new issue status type - worked-around --- codepot/src/codepot/language/english/issue_lang.php | 2 ++ codepot/src/codepot/language/korean/issue_lang.php | 1 + codepot/src/codepot/libraries/issuehelper.php | 10 ++++++++-- 3 files changed, 11 insertions(+), 2 deletions(-) diff --git a/codepot/src/codepot/language/english/issue_lang.php b/codepot/src/codepot/language/english/issue_lang.php index d0391b95..41695d94 100644 --- a/codepot/src/codepot/language/english/issue_lang.php +++ b/codepot/src/codepot/language/english/issue_lang.php @@ -10,6 +10,8 @@ $lang['ISSUE_STATUS_REJECTED'] = 'Rejected'; $lang['ISSUE_STATUS_STARTED'] = 'Started'; $lang['ISSUE_STATUS_STALLED'] = 'Stalled'; $lang['ISSUE_STATUS_RESOLVED'] = 'Resolved'; +$lang['ISSUE_STATUS_WORKED_AROUND'] = 'Worked-around'; + $lang['ISSUE_PRIORITY_CRITICAL'] = 'Critical'; $lang['ISSUE_PRIORITY_HIGH'] = 'High'; diff --git a/codepot/src/codepot/language/korean/issue_lang.php b/codepot/src/codepot/language/korean/issue_lang.php index 2161c857..fafbdc1e 100644 --- a/codepot/src/codepot/language/korean/issue_lang.php +++ b/codepot/src/codepot/language/korean/issue_lang.php @@ -10,6 +10,7 @@ $lang['ISSUE_STATUS_REJECTED'] = '거부'; $lang['ISSUE_STATUS_STARTED'] = '시작'; $lang['ISSUE_STATUS_STALLED'] = '지연'; $lang['ISSUE_STATUS_RESOLVED'] = '해결'; +$lang['ISSUE_STATUS_WORKED_AROUND'] = '땜질'; $lang['ISSUE_PRIORITY_CRITICAL'] = '긴급'; $lang['ISSUE_PRIORITY_HIGH'] = '높음'; diff --git a/codepot/src/codepot/libraries/issuehelper.php b/codepot/src/codepot/libraries/issuehelper.php index b123c3d1..08123eac 100644 --- a/codepot/src/codepot/libraries/issuehelper.php +++ b/codepot/src/codepot/libraries/issuehelper.php @@ -18,6 +18,8 @@ class IssueHelper // the work can be stalled for various reasons during progress var $STATUS_STALLED = 'stalled'; var $STATUS_RESOLVED = 'resolved'; + var $STATUS_WORKED_AROUND = 'worked-around'; + var $PRIORITY_CRITICAL = 'critical'; var $PRIORITY_HIGH = 'high'; @@ -57,7 +59,9 @@ class IssueHelper $this->STATUS_STALLED => $lang->line('ISSUE_STATUS_STALLED'), $this->STATUS_RESOLVED => - $lang->line('ISSUE_STATUS_RESOLVED') + $lang->line('ISSUE_STATUS_RESOLVED'), + $this->STATUS_WORKED_AROUND => + $lang->line('ISSUE_STATUS_WORKED_AROUND') ); } @@ -79,7 +83,9 @@ class IssueHelper { return array ( $this->STATUS_RESOLVED => - $lang->line('ISSUE_STATUS_RESOLVED') + $lang->line('ISSUE_STATUS_RESOLVED'), + $this->STATUS_WORKED_AROUND => + $lang->line('ISSUE_STATUS_WORKED_AROUND') ); }