timeline create text fixed..
This commit is contained in:
parent
49fef6b67b
commit
da5b617537
@ -1052,7 +1052,15 @@ abstract class DocumentShow extends Base
|
|||||||
return $textTimelineCreateTitle;
|
return $textTimelineCreateTitle;
|
||||||
}
|
}
|
||||||
|
|
||||||
$default_key = 'create_' . $type;
|
$default_key = 'create_' . str_replace('-', '_', $type);
|
||||||
|
|
||||||
|
$translation = $this->getTextFromConfig($type, 'timeline_create_title', $default_key);
|
||||||
|
|
||||||
|
if (!empty($translation)) {
|
||||||
|
return $translation;
|
||||||
|
}
|
||||||
|
|
||||||
|
$default_key = 'create_' . str_replace('-', '_', config('type.' . $type . '.alias');
|
||||||
|
|
||||||
$translation = $this->getTextFromConfig($type, 'timeline_create_title', $default_key);
|
$translation = $this->getTextFromConfig($type, 'timeline_create_title', $default_key);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user