* Fix bug #41356.
This commit is contained in:
@@ -21,7 +21,7 @@ $lang->metric->date = "Date";
|
||||
$lang->metric->metricData = "Metric Data";
|
||||
$lang->metric->system = "System";
|
||||
$lang->metric->weekCell = "%s,Week %s";
|
||||
$lang->metric->week = "Week %s";
|
||||
$lang->metric->weekS = "Week %s";
|
||||
$lang->metric->create = "Create " . $this->lang->metric->common;
|
||||
$lang->metric->edit = "Edit " . $this->lang->metric->common;
|
||||
$lang->metric->view = 'View' . $this->lang->metric->common;
|
||||
|
||||
@@ -21,7 +21,7 @@ $lang->metric->date = "Date";
|
||||
$lang->metric->metricData = "Metric Data";
|
||||
$lang->metric->system = "System";
|
||||
$lang->metric->weekCell = "%s,Week %s";
|
||||
$lang->metric->week = "Week %s";
|
||||
$lang->metric->weekS = "Week %s";
|
||||
$lang->metric->create = "Create " . $this->lang->metric->common;
|
||||
$lang->metric->edit = "Edit " . $this->lang->metric->common;
|
||||
$lang->metric->view = 'View' . $this->lang->metric->common;
|
||||
|
||||
@@ -21,7 +21,7 @@ $lang->metric->date = "Date";
|
||||
$lang->metric->metricData = "Metric Data";
|
||||
$lang->metric->system = "System";
|
||||
$lang->metric->weekCell = "%s,Week %s";
|
||||
$lang->metric->week = "Week %s";
|
||||
$lang->metric->weekS = "Week %s";
|
||||
$lang->metric->create = "Create " . $this->lang->metric->common;
|
||||
$lang->metric->edit = "Edit " . $this->lang->metric->common;
|
||||
$lang->metric->view = 'View' . $this->lang->metric->common;
|
||||
|
||||
@@ -21,7 +21,7 @@ $lang->metric->date = "日期";
|
||||
$lang->metric->metricData = "度量数据";
|
||||
$lang->metric->system = "system";
|
||||
$lang->metric->weekCell = "%s年第%s周";
|
||||
$lang->metric->week = "%s周";
|
||||
$lang->metric->weekS = "%s周";
|
||||
$lang->metric->create = "创建" . $this->lang->metric->common;
|
||||
$lang->metric->edit = "编辑" . $this->lang->metric->common;
|
||||
$lang->metric->view = '查看' . $this->lang->metric->common;
|
||||
|
||||
@@ -175,7 +175,7 @@ class metricModel extends model
|
||||
elseif($dateType == 'week')
|
||||
{
|
||||
$year = substr($dataInfo->$dateField, 0, 4);
|
||||
$week = sprintf($this->lang->metric->week, substr($dataInfo->dateString, 5, 2));
|
||||
$week = sprintf($this->lang->metric->weekS, substr($dataInfo->dateString, 5, 2));
|
||||
$date = "{$year}-{$week}";
|
||||
}
|
||||
elseif($dateType == 'day' or $dateType == 'nodate')
|
||||
|
||||
Reference in New Issue
Block a user