Drupal: Added menu items to boinc translations, with context details.

https://dev.gridrepublic.org/browse/DBOINCP-317
This commit is contained in:
Shawn Kwang 2017-03-03 14:27:26 -06:00
parent 3a956aad13
commit afb0d61e8b
4 changed files with 11 additions and 11 deletions

View File

@ -82,11 +82,10 @@ function boinc_standard_menu_default_menu_links() {
);
// Translatables
// Included for use with string extractors like potx.
t('BOINC');
t('Credentials');
t('Dashboard');
t('Home');
bts('Home', array(), NULL, 'boinc:menu-link');
bts('Credentials', array(), NULL, 'boinc:menu-link');
bts('Dashboard', array(), NULL, 'boinc:menu-link');
bts('BOINC', array(), NULL, 'boinc:footer-link');
return $menu_links;
}

View File

@ -27,7 +27,7 @@ function news_menu_default_menu_links() {
);
// Translatables
// Included for use with string extractors like potx.
t('News');
bts('News', array(), NULL, 'boinc:menu-link');
return $menu_links;

View File

@ -27,8 +27,10 @@ function user_preferences_menu_default_menu_links() {
);
// Translatables
// Included for use with string extractors like potx.
t('Preferences');
bts('Preferences', array(), NULL, 'boinc:menu-link');
bts('Community', array(), NULL, 'boinc:menu-link');
bts('Privacy', array(), NULL, 'boinc:menu-link');
bts('Subscriptions', array(), NULL, 'boinc:menu-link');
return $menu_links;
}

View File

@ -46,9 +46,8 @@ function user_profiles_menu_default_menu_links() {
);
// Translatables
// Included for use with string extractors like potx.
t('Queue');
t('Profile');
bts('Queue', array(), NULL, 'boinc:menu-link');
bts('Profile', array(), NULL, 'boinc:menu-link');
return $menu_links;
}