mirror of
https://github.com/silverstripe/silverstripe-reports
synced 2024-10-22 11:05:53 +02:00
Add side-by-side translation context.
This commit is contained in:
parent
639f6e4d95
commit
0711c321c5
@ -192,7 +192,7 @@ class SilverStripeNavigatorItem_CMSLink extends SilverStripeNavigatorItem {
|
||||
}
|
||||
|
||||
public function getTitle() {
|
||||
return _t('ContentController.CMS', 'CMS');
|
||||
return _t('ContentController.CMS', 'CMS', 'Used in navigation. Should be a short label');
|
||||
}
|
||||
|
||||
public function getLink() {
|
||||
@ -226,7 +226,7 @@ class SilverStripeNavigatorItem_StageLink extends SilverStripeNavigatorItem {
|
||||
}
|
||||
|
||||
public function getTitle() {
|
||||
return _t('ContentController.DRAFTSITE');
|
||||
return _t('ContentController.DRAFT', 'Draft', 'Used for the Switch between draft and published view mode. Needs to be a short label');
|
||||
}
|
||||
|
||||
public function getMessage() {
|
||||
@ -274,7 +274,7 @@ class SilverStripeNavigatorItem_LiveLink extends SilverStripeNavigatorItem {
|
||||
}
|
||||
|
||||
public function getTitle() {
|
||||
return _t('ContentController.PUBLISHEDSITE');
|
||||
return _t('ContentController.PUBLISHED', 'Published', 'Used for the Switch between draft and published view mode. Needs to be a short label');
|
||||
}
|
||||
|
||||
public function getMessage() {
|
||||
|
Loading…
Reference in New Issue
Block a user