Skip to content

Commit

Permalink
Add side-by-side translation context.
Browse files Browse the repository at this point in the history
  • Loading branch information
Naomi Guyer authored and chillu committed Dec 10, 2012
1 parent 639f6e4 commit 0711c32
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions code/controllers/SilverStripeNavigator.php
Expand Up @@ -192,7 +192,7 @@ public function getHTML() {
} }


public function getTitle() { public function getTitle() {
return _t('ContentController.CMS', 'CMS'); return _t('ContentController.CMS', 'CMS', 'Used in navigation. Should be a short label');
} }


public function getLink() { public function getLink() {
Expand Down Expand Up @@ -226,7 +226,7 @@ public function getHTML() {
} }


public function getTitle() { 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() { public function getMessage() {
Expand Down Expand Up @@ -274,7 +274,7 @@ public function getHTML() {
} }


public function getTitle() { 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() { public function getMessage() {
Expand Down

0 comments on commit 0711c32

Please sign in to comment.