Add side-by-side translation context.

This commit is contained in:
Naomi Guyer 2012-11-27 12:22:45 +13:00 committed by Ingo Schommer
parent 639f6e4d95
commit 0711c321c5
1 changed files with 3 additions and 3 deletions

View File

@ -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() {