Drupal: Set bts() context for "Home" preference set

Designating a translation context allows this string to have a different translation than the "Home" menu

https://dev.gridrepublic.org/browse/DBOINCP-222
This commit is contained in:
Tristan Olive 2016-03-31 04:17:26 -04:00
parent a132f5f350
commit 52e38291fa
1 changed files with 1 additions and 1 deletions

View File

@ -387,7 +387,7 @@ function generalprefs_page($action = null, $venue = null, $advanced = FALSE) {
$path = 'account/prefs/computing/edit';
$venues = array(
"{$path}/generic" => bts('Generic'),
"{$path}/home" => bts('Home'),
"{$path}/home" => bts('Home', array(), NULL, 'boinc:preference set'),
"{$path}/work" => bts('Work'),
"{$path}/school" => bts('School')
);