mirror of https://github.com/BOINC/boinc.git
Drupal: Added menu items to boinc translations, with context details.
https://dev.gridrepublic.org/browse/DBOINCP-317
This commit is contained in:
parent
3a956aad13
commit
afb0d61e8b
|
@ -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;
|
||||
}
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue