Changeset 5413


Ignore:
Timestamp:
Sep 20, 2010, 9:59:50 AM (12 years ago)
Author:
Nicklas Nordborg
Message:

Fixes #1510: Implement framework for externalizing strings in the gui

This should complete the framework and externalization of strings used by the menu.

Location:
trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/clients/web/net/sf/basedb/clients/web/resources/common.properties

    r5409 r5413  
    6666
    6767## Item names, etc. ##
     68## NOTE! item.xxx should match lower-case of Item.XXX enumeration
     69## item.xxx+ is the plural version
    6870item.file File
    69 item.files  Files
     71item.file+  Files
    7072item.fileserver File server
    71 item.fileservers  File servers
     73item.fileserver+  File servers
    7274item.project  Project
    73 item.projects Projects
     75item.project+ Projects
    7476item.permissiontemplate Permission template
    75 item.permissiontemplates  Permission templates
     77item.permissiontemplate+  Permission templates
    7678item.message  Message
    77 item.messages Messages
     79item.message+ Messages
    7880item.job  Job
    79 item.jobs Jobs
     81item.job+ Jobs
    8082item.session  Session
    81 item.sessions Sessions
     83item.session+ Sessions
    8284item.hybridization  Hybridization
    83 item.hybridizations Hybridizations
     85item.hybridization+ Hybridizations
    8486item.scan Scan
    85 item.scans  Scans
     87item.scan+  Scans
    8688item.rawbioassay  Raw bioassay
    87 item.rawbioassays Raw bioassays
     89item.rawbioassay+ Raw bioassays
    8890item.experiment Experiment
    89 item.experiments  Experiments
     91item.experiment+  Experiments
    9092item.formula  Formula
    91 item.formulas Formulas
     93item.formula+ Formulas
    9294item.reporter Reporter
    93 item.reporters  Reporters
     95item.reporter+  Reporters
    9496item.reporterlist Reporter list
    95 item.reporterlists  Reporter lists
     97item.reporterlist+  Reporter lists
     98item.biosource  Biosource
     99item.biosource+ Biosources
     100item.sample Sample
     101item.sample+  Samples
     102item.extract  Extract
     103item.extract+ Extracts
     104item.labeledextract Labeled extract
     105item.labeledextract+  Labeled extracts
     106item.label  Label
     107item.label+ Labels
     108item.bioplate Bioplate
     109item.bioplate+  Bioplates
     110item.bioplatetype Bioplate type
     111item.bioplatetype+  Bioplate types
     112item.bioplateeventdefinition  Bioplate event definition
     113item.bioplateeventdefinition+ Bioplate event definitions
     114item.biomateriallist  Biomaterial list
     115item.biomateriallist+ Biomaterial lists
     116item.plategeometry  Plate geometry
     117item.plategeometry+ Plate geometries
     118item.platetype  Plate type
     119item.platetype+ Plate types
     120item.plate  Plate
     121item.plate+ Plates
     122item.platemapping Plate mapping
     123item.platemapping+  Plate mappings
     124item.arraydesign  Array design
     125item.arraydesign+ Array designs
     126item.arraybatch Array batch
     127item.arraybatch+  Array batches
     128item.arrayslide Array slide
     129item.arrayslide+  Array slides
     130item.user User
     131item.user+  Users
     132item.group  Group
     133item.group+ Groups
     134item.role Role
     135item.role+  Roles
     136item.quota  Quota
     137item.quota+ Quota
     138item.software Software
     139item.software+  Software
     140item.hardware Hardware
     141item.hardware+  Hardware
     142item.protocol Protocol
     143item.protocol+  Protocols
     144item.client Client
     145item.client+  Clients
     146item.news News
     147item.news+  News
     148item.diskusage  Disk usage
     149item.diskusage+ Disk usage
     150item.plugintype Plug-in type
     151item.plugintype+  Plug-in types
     152item.plugindefinition Plug-in definition
     153item.plugindefinition+  Plug-in definitions
     154item.pluginconfiguration  Plug-in configuration
     155item.pluginconfiguration+ Plug-in configurations
     156item.jobagent Job agent
     157item.jobagent+  Job agents
     158item.platform Experimental platform
     159item.platform+  Experimental platforms
     160item.platformvariant  Platform variant
     161item.platformvariant+ Platform variants
     162item.datafiletype Data file type
     163item.datafiletype+  Data file types
     164item.quotatype  Quota type
     165item.quotatype+ Quota types
     166item.protocoltype Protocol type
     167item.protocoltype+  Protocol types
     168item.filetype File type
     169item.filetype+  File types
     170item.mimetype MIME type
     171item.mimetype+  MIME types
     172item.softwaretype Software type
     173item.softwaretype+  Software types
     174item.hardwaretype Hardware type
     175item.hardwaretype+  Hardware types
     176item.annotationtype Annotation type
     177item.annotationtype+  Annotation types
     178item.annotationtypecategory Annotation type category
     179item.annotationtypecategory+  Annotation type categories
     180item.unit Unit
     181item.unit+  Units
     182item.quantity Quantity
     183item.quantity+  Quantities
     184item.reportertype Reporter type
     185item.reportertype+  Reporter types
     186item.extravaluetype Extra value type
     187item.extravaluetype+  Extra value types
     188item.bioassayset  Bioassay set
     189item.bioassayset+ Bioassay sets
     190item.transformation Transformation
     191item.transformation+  Transformations
     192item.directory  Directory
     193item.directory+ Directories
  • trunk/src/clients/web/net/sf/basedb/clients/web/resources/menu.properties

    r5409 r5413  
    2121
    2222## Resource bundle with string that are used in the menu.
     23## Entries with suffix .1 and .0 are usually used when a user is allowed (.1)
     24## or disallowed (.0) to access something
    2325
    2426## BASE menu ##
    2527###############
    2628menu.base BASE
    27 
     29contactinfo.title Contact information
     30contactinfo.tooltip Set your address, phone, email, etc.
     31password.title  Change password
     32password.tooltip  Set your password
     33other.title Other information
     34other.tooltip Other user-related information
     35preferences.title Preferences
     36preferences.tooltip Change font sizes, etc.
     37reloadpermissions.title Reload permissions
     38reloadpermissions.tooltip Reload permissions that may have changed since you logged in
     39resetlistsettings.title Reset list settings
     40resetlistsettings.tooltip Reset visible columns, sort order, filters, etc. to default settings on all lists
     41logout.title  Logout
     42logout.tooltip  Exit from BASE
     43
     44## Projects menu ##
     45###################
     46menu.projects Select project
     47menu.projects.tooltip.1 Switch active project
     48menu.projects.tooltip.0 Set active project
     49noactiveproject.title no active project
     50noactiveproject.tooltip.1 No project is active
     51noactiveproject.tooltip.0 Disable the currently active project
     52activeproject.tooltip This is the active project
     53inactiveproject.tooltip Set this project to the active project
     54## {0} = Number of projects
     55moreprojects.title  {0} more
     56moreprojects.tooltip  Show more projects
     57projects.error.title  Error loading projects
     58## {0} = The error message
     59projects.error.tooltip  {0}: Check log file for more details
    2860
    2961## View menu ##
     
    72104###########################
    73105menu.biolims  Biomaterial LIMS
     106biosources.tooltip.1  Manage biosources
     107biosources.tooltip.0  You do not have permission to manage biosources
     108samples.tooltip.1 Manage samples
     109samples.tooltip.0 You do not have permission to manage samples
     110extracts.tooltip.1  Manage extracts
     111extracts.tooltip.0  You do not have permission to manage extracts
     112labeledextracts.tooltip.1 Manage labeled extracts
     113labeledextracts.tooltip.0 You do not have permission to manage labeled extracts
     114labels.tooltip.1  Manage labels
     115labels.tooltip.0  You do not have permission to manage labels
     116# --------------
     117bioplates.tooltip.1 Manage bio plates
     118bioplates.tooltip.0 You do not have permission to manage bio plates
     119bioplatetypes.tooltip.1 Manage bio plate types
     120bioplatetypes.tooltip.0 You do not have permission to manage bio plate types
     121bioplateeventdefinitions.tooltip.1  Manage bioplate event definitions
     122bioplateeventdefinitions.tooltip.0  You do not have permission to manage bioplate event definitions
     123biomateriallists.tooltip.1  Manage biomaterial lists
     124biomateriallists.tooltip.0  You do not have permission to manage biomaterial lists
     125
    74126
    75127## Array LIMS menu ##
    76128#####################
    77129menu.arraylims  Array LIMS
     130plategeometries.tooltip.1 Manage plate geometries
     131plategeometries.tooltip.0 You do not have permission to manage plate geometries
     132platetypes.tooltip.1  Manage plate types
     133platetypes.tooltip.0  You do not have permission to manage plate types
     134plates.tooltip.1  Manage plates
     135plates.tooltip.0  You do not have permission to manage plates
     136platemappings.tooltip.1 Manage plate mappings
     137platemappings.tooltip.0 You do not have permission to manage plate mappings
     138# ---------------------
     139arraydesigns.tooltip.1  Manage array designs
     140arraydesigns.tooltip.0  You do not have permission to manage array designs
     141arraybatches.tooltip.1  Manage array batches
     142arraybatches.tooltip.0  You do not have permission to manage array batches
     143arrayslides.tooltip.1 Manage array slides
     144arrayslides.tooltip.0 You do not have permission to manage array slides
     145
    78146
    79147## Administrate menu ##
    80148#######################
    81149menu.administrate Administrate
     150users.tooltip.1 Administrate users
     151users.tooltip.0 You do not have permission to administrate users
     152groups.tooltip.1  Administrate groups
     153groups.tooltip.0  You do not have permission to administrate groups
     154roles.tooltip.1 Administrate roles
     155roles.tooltip.0 You do not have permission to administrate roles
     156# -------------
     157quota.tooltip.1 Administrate quota
     158quota.tooltip.0 You do not have permission to administrate quota
     159software.tooltip.1  Administrate software
     160software.tooltip.0  You do not have permission to administrate software
     161hardware.tooltip.1  Administrate hardware
     162hardware.tooltip.0  You do not have permission to administrate hardware
     163protocols.tooltip.1 Administrate protocols
     164protocols.tooltip.0 You do not have permission to administrate protocols
     165clients.tooltip.1 Administrate client applications
     166clients.tooltip.0 You do not have permission to administrate client applications
     167news.tooltip.1  Administrate news
     168news.tooltip.0  You do not have permission to administrate news
     169# ------------
     170diskusage.tooltip.1 Check disk usage
     171diskusage.tooltip.0 You do not have permission to check disk usage
     172serversettings.title  Server settings
     173serversettings.tooltip.1  Configure the server
     174serversettings.tooltip.0  You do not have permission to configure the server
     175broadcast.title Broadcast message
     176broadcast.tooltip.1 Broadcast a message to all logged in users
     177broadcast.tooltip.0 You do not have permission to send messages
     178services.title  Services
     179services.tooltip.1  Manage service extensions
     180services.tooltip.0  You do not have permission to manage services
     181
     182## Plug-ins menu ##
     183###################
     184menu.plugins  Plug-ins
     185menu.plugins.tooltip  Administrate plug-in definitions, configurations and job agents
     186plugintypes.title Types
     187plugintypes.tooltip.1 Administrate plug-in types
     188plugintypes.tooltip.0 You do not have permission to administrate plug-in types
     189plugindefinitions.title Definitions
     190plugindefinitions.tooltip.1 Administrate plug-in definitions
     191plugindefinitions.tooltip.0 You do not have permission to administrate plug-in definitions
     192pluginconfigurations.title  Configurations
     193pluginconfigurations.tooltip.1  Administrate plugin configurations
     194pluginconfigurations.tooltip.0  You do not have permission to administrate plugin configurations
     195jobagents.tooltip.1 Administrate job agents
     196jobagents.tooltip.0 You do not have permission to administrate job agents
     197
     198## Platforms menu ##
     199####################
     200menu.platforms  Platforms
     201menu.platforms.tooltip  Administrate experimental platforms
     202platforms.tooltip.1 Administrate experimental platforms
     203platforms.tooltip.0 You do not have permission to administrate experimental platforms
     204datafiletypes.tooltip.1 Administrate data file types
     205datafiletypes.tooltip.0 You do not have permission to administrate data file types
     206
     207## Types menu ##
     208################
     209menu.types  Types
     210menu.types.tooltip  Administrate quota, file, hardware and software types, etc.
     211quotatypes.tooltip.1  Administrate quota types
     212quotatypes.tooltip.0  You do not have permission to administrate quota types
     213protocoltypes.tooltip.1 Administrate protocol types
     214protocoltypes.tooltip.0 You do not have permission to administrate protocol types
     215filetypes.tooltip.1 Administrate file types
     216filetypes.tooltip.0 You do not have permission to administrate file types
     217mimetypes.tooltip.1 Administrate MIME types
     218mimetypes.tooltip.0 You do not have permission to administrate mime types
     219softwaretypes.tooltip.1 Administrate software types
     220softwaretypes.tooltip.0 You do not have permission to administrate software types
     221hardwaretypes.tooltip.1 Administrate hardware types
     222hardwaretypes.tooltip.0 You do not have permission to administrate hardware types
     223annotationtypes.tooltip.1 Administrate annotation types
     224annotationtypes.tooltip.0 You do not have permission to administrate annotation types
     225annotationtypecategories.tooltip.1  Administrate annotation type categories
     226annotationtypecategories.tooltip.0  You do not have permission to administrate annotation types categories
     227units+quantities.title  Units and quantities
     228units+quantities.tooltip.1  Administrate units and quantities
     229units+quantities.tooltip.0  You do not have permission to administrate units and quantities
     230reportertypes.tooltip.1 Administrate reporter types
     231reportertypes.tooltip.0 You do not have permission to administrate reporter types
     232extravaluetypes.tooltip.1 Administrate extra value types
     233extravaluetypes.tooltip.0 You do not have permission to administrate extra value types
    82234
    83235## Extensions menu ##
    84236#####################
    85237menu.extensions Extensions
     238installedextensions.title Installed extensions
     239installedextensions.tooltip Display and administrate installed extensions
     240manualscan.title  Manual scan
     241manualscan.tooltip  Start a manual scan for new, updated and deleted extensions
    86242
    87243## Help menu ##
     
    97253basesite.tooltip Go to the main BASE project site
    98254
     255## Recent items menu ##
     256#######################
     257menu.recentitems.tooltip  Shortcut to the most recently view items
     258recentitems.title Recently viewed items
     259stickyitems.title Sticky items
     260nostickyitems.title no sticky items
     261recentoptions.title Options
     262recentoptions.tooltip Set options for the recently viewed items menu
     263## {0} = name of the item, {1} = type of the item
     264gotorecentitem.tooltip  Go to {0} ({1})
     265## {0} = name of the item
     266experimentexplorer.title  Experiment explorer{0}
     267experimentexplorer.tooltip  Go to experiment explorer
     268
     269## User menu ##
     270###############
     271menu.user.tooltip Switch user/logout
     272switchuser.title  Switch user
     273switchuser.tooltip  Login as another user
     274impersonate.title Impersonate
     275impersonate.tooltip Login as another user without knowing the password
     276
     277## Refresh menu ##
     278##################
     279menu.refresh.tooltip  Refresh current page
  • trunk/www/include/menu.jsp

    r5409 r5413  
    22  ------------------------------------------------------------------
    33  Copyright (C) 2005 Nicklas Nordborg, Gregory Vincic
    4   Copyright (C) 2006 Jari Hkkinen, Nicklas Nordborg, Martin Svensson, Gregory Vincic
     4  Copyright (C) 2006 Jari Häkkinen, Nicklas Nordborg, Martin Svensson, Gregory Vincic
    55  Copyright (C) 2007 Nicklas Nordborg
    66
     
    9898    >
    9999    <m:menuitem
    100       title="<i>- no active project -</i>"
     100      title="<%="<i>- " + menu.getString("noactiveproject.title") + " -</i>"%>"
    101101      onclick="<%="Main.openPopup('"+root+"my_base/projects/set_active.jsp?ID="+ID+"', 'ActivateProject', 300, 140)"%>"
    102102      icon="<%=activeProjectId == 0 ? "checkedmenu.gif" : null%>"
    103103      enabled="<%=activeProjectId != 0%>"
    104       tooltip="<%=activeProjectId == 0 ? "No project is active" : "Disable the currently active project"%>"
     104      tooltip="<%=menu.getString("noactiveproject.tooltip", activeProjectId == 0)%>"
    105105    />
    106106    <%
     
    118118      boolean breakAt20 = projects.size() > 25;
    119119      int index = 0;
     120      String thisIsTheActiveProject = menu.getString("activeproject.tooltip");
     121      String thisIsNotTheActiveProject = menu.getString("inactiveproject.tooltip");
    120122      for (Project p : projects)
    121123      {
     
    131133          icon="<%=active ? "checkedmenu.gif" : null%>"
    132134          enabled="<%=!active%>"
    133           tooltip="<%=active ? "This is the active project" : "Set this project to the active project"%>"
     135          tooltip="<%=active ? thisIsTheActiveProject : thisIsNotTheActiveProject%>"
    134136        />
    135137        <%
     
    141143        <m:menuseparator />
    142144        <m:menuitem
    143           title="<%=more + " more" %>"
     145          title="<%=menu.getString("moreprojects.title", Integer.toString(more))%>"
    144146          onclick="<%="Menu.openUrl('"+root+"my_base/projects/index.jsp?ID="+ID+"')"%>"
    145           tooltip="Show more projects"
     147          tooltip="<%=menu.getString("moreprojects.tooltip")%>"
    146148        />
    147149        <%
     
    152154      t.printStackTrace();
    153155      %>
    154       <m:menuitem
    155         title="Error loading projects"
    156         tooltip="<%=t.getMessage() + ": Check log file for more details"%>"
     156      <m:menuseparator />
     157      <m:menuitem
     158        title="<%=menu.getString("projects.error.title")%>"
     159        tooltip="<%=menu.getString("projects.error.tooltip", t.getMessage())%>"
    157160        enabled="false"
    158161        icon="error.gif"
     
    193196        %>
    194197        <m:menuitem
    195           title="Recently viewed items"
     198          title="<%=menu.getString("recentitems.title")%>"
    196199          style="font-weight: bold; color: #000000; background: #e8e8e8;"
    197200          enabled="false"
     
    205208            String[] tmp = recent.split("=");
    206209            Item itemType = Item.valueOf(tmp[0]);
     210            String itemTextKey = "item." + itemType.name().toLowerCase();
     211            String itemText = common.getString(itemTextKey);
     212            if (itemText == itemTextKey) itemText = itemType.toString();
    207213            int itemId = Values.getInt(tmp[1], 0);
    208214            if (itemId != 0)
     
    225231              else
    226232              {
    227                 fullName = itemType.toString() + "; id=" + itemId;
    228                 shortName = itemType + " (id=" + itemId + ")";
     233                fullName = itemText + "; id=" + itemId;
     234                shortName = itemText + " (id=" + itemId + ")";
    229235              }
    230236              numItems++;
     
    233239                title="<%=numItems + ". " + shortName%>"
    234240                onclick="<%="Main.viewOrEditItem('" + ID + "', '" + itemType.name() + "', " + itemId + ")"%>"
    235                 tooltip="<%="Go to " + HTML.encodeTags(fullName) + " (" + itemType + ")"%>"
     241                tooltip="<%=menu.getString("gotorecentitem.tooltip", fullName, itemText)%>"
    236242              />
    237243              <%
     
    253259        %>
    254260        <m:menuitem
    255           title="Sticky items"
     261          title="<%=menu.getString("stickyitems.title")%>"
    256262          style="font-weight: bold; color: #000000; background: #e8e8e8;"
    257263          enabled="false"
     
    267273            Item itemType = Item.valueOf(recentItem);
    268274            ItemContext cc = sc.getCurrentContext(itemType);
     275            String itemTextKey = "item." + itemType.name().toLowerCase();
     276            String itemText = common.getString(itemTextKey);
     277            if (itemText == itemTextKey) itemText = itemType.toString();
    269278            if (cc.getId() != 0)
    270279            {
     
    286295              else
    287296              {
    288                 fullName = itemType.toString() + "; id=" + cc.getId();
     297                fullName = itemText + "; id=" + cc.getId();
    289298                shortName = " (id=" + cc.getId() + ")";
    290299              }
     
    293302              %>
    294303              <m:menuitem
    295                 title="<%=itemType + shortName%>"
     304                title="<%=itemText + shortName%>"
    296305                onclick="<%="Main.viewOrEditItem('" + ID + "', '" + itemType.name() + "', " + cc.getId() + ")"%>"
    297                 tooltip="<%="Go to " + HTML.encodeTags(fullName) + " (" + itemType + ")"%>"
     306                tooltip="<%=menu.getString("gotorecentitem.tooltip", fullName, itemText)%>"
    298307              />
    299308              <%
     
    303312                %>
    304313                <m:menuitem
    305                   title="<%="Experiment explorer"+HTML.encodeTags(shortName)%>"
     314                  title="<%=menu.getString("experimentexplorer.title", shortName)%>"
    306315                  onclick="<%="location.href = '"+root+"views/experiments/explorer/view/index.jsp?ID=" + ID + "&bioassayset_id="+cc.getId()+"'"%>"
    307                   tooltip="Go to experiment explorer"
     316                  tooltip="<%=menu.getString("experimentexplorer.tooltip")%>"
    308317                  visible="<%=item == null || ((BioAssaySet)item).getNumSpots() > 0 %>"
    309318                />
     
    319328          %>
    320329          <m:menuitem
    321             title="<i>- no sticky items -</i>"
     330            title="<%="<i>- " + menu.getString("nostickyitems.title") + " -</i>"%>"
    322331            enabled="false"
    323332          />
     
    328337      <m:menuseparator />
    329338      <m:menuitem
    330         title="Options&hellip;"
     339        title="<%=menu.getString("recentoptions.title") + "…"%>"
    331340        onclick="<%="Main.openPopup('"+root+"my_base/user/preferences.jsp?ID="+ID+"&page=mostRecent', 'Preferences', 500, 400);"%>"
    332         tooltip="Change options for this menu"
     341        tooltip="<%=menu.getString("recentoptions.tooltip")%>"
    333342      />
    334343    </m:menu>
     
    350359    {
    351360      fillText.append("<img src=\""+root+"images/no_active_project.gif\" border=\"0\">&nbsp;");
    352       fillText.append("<a href=\"javascript:void(0)\" style=\"color:#FF0000;\" title=\"Set active project\"");
     361      fillText.append("<a href=\"javascript:void(0)\" style=\"color:#FF0000;\" title=\"" + menu.getString("menu.projects.tooltip.0") + "\"");
    353362    }
    354363    else
    355364    {
    356365      fillText.append("<img src=\""+root+"images/project.gif\" border=\"0\">&nbsp;");
    357       fillText.append("<a href=\"javascript:void(0)\" title=\"Switch active project\"");
     366      fillText.append("<a href=\"javascript:void(0)\" title=\"" + menu.getString("menu.projects.tooltip.1") + "\"");
    358367    }
    359368   
    360369    fillText.append(" onclick=\"Menu.toggleTopMenu(document.getElementById('projects'), event.clientX-50, event.clientY); event.cancelBubble = true;\">");
    361     fillText.append(activeProject == null ? "<i>- no active project -</i>" : HTML.encodeTags(activeProject.getName()));
     370    fillText.append(activeProject == null ? "<i>- " + menu.getString("noactiveproject.title") + " -</i>" : HTML.encodeTags(activeProject.getName()));
    362371    fillText.append(" <img src=\""+root+"images/sort_asc.gif\" border=\"0\"></a><span class=\"menuseparator\">&nbsp;&nbsp;</span>");
    363372   
    364     fillText.append("<a href=\"javascript:void(0)\" title=\"Refresh current page\"");
     373    fillText.append("<a href=\"javascript:void(0)\" title=\"" + menu.getString("menu.refresh.tooltip") + "\"");
    365374    fillText.append(" onclick=\"location.reload()\">");
    366375    fillText.append("<img src=\""+root+"images/refresh.gif\" border=\"0\"></a><span class=\"menuseparator\">&nbsp;&nbsp;</span>");
    367376   
    368     fillText.append("<a href=\"javascript:void(0)\" title=\"Go to the most recently viewed item\"");
     377    fillText.append("<a href=\"javascript:void(0)\" title=\"" + menu.getString("menu.recentitems.tooltip") + "\"");
    369378    fillText.append(" onclick=\"Menu.toggleTopMenu(document.getElementById('mostRecent'), event.clientX-200, event.clientY); event.cancelBubble = true;\">");
    370379    fillText.append(" <img src=\""+root+"images/recent.png\" border=\"0\"><img src=\""+root+"images/sort_asc.gif\" border=\"0\"></a><span class=\"menuseparator\">&nbsp;&nbsp;</span>");
    371380   
    372381    User user = User.getById(dc, sc.getLoggedInUserId());
    373     String userPrompt = sc.isImpersonated() ? "Impersonated" : "User";
    374     fillText.append("<img src=\""+root+"images/take_ownership.png\" border=\"0\"> <a href=\"javascript:void(0)\" title=\"Switch user/logout\"");
     382    fillText.append("<img src=\""+root+"images/take_ownership.png\" border=\"0\"> <a href=\"javascript:void(0)\" title=\"" + menu.getString("menu.user.tooltip") + "\"");
    375383    fillText.append(" onclick=\"javascript:Menu.toggleTopMenu(document.getElementById('switchuser'), event.clientX-100, event.clientY); event.cancelBubble = true;\">");
    376384    fillText.append(HTML.encodeTags(user.getLogin()));
     
    429437      <m:menuseparator />
    430438      <m:menuitem
    431         title="<%=common.getString("item.files")%>"
     439        title="<%=common.getString("item.file+")%>"
    432440        onclick="<%="Menu.openUrl('"+root+"filemanager/index.jsp?ID="+ID+"')"%>"
    433441        tooltip="<%=menu.getString("files.tooltip", hasFiles)%>"
     
    435443      />
    436444      <m:menuitem
    437         title="<%=common.getString("item.fileservers")%>"
     445        title="<%=common.getString("item.fileserver+")%>"
    438446        onclick="<%="Menu.openUrl('"+root+"filemanager/fileservers/index.jsp?ID="+ID+"')"%>"
    439447        tooltip="<%=menu.getString("fileservers.tooltip", hasFileServers)%>"
     
    441449      />
    442450      <m:menuitem
    443         title="<%=common.getString("item.projects")%>"
     451        title="<%=common.getString("item.project+")%>"
    444452        onclick="<%="Menu.openUrl('"+root+"my_base/projects/index.jsp?ID="+ID+"')"%>"
    445453        tooltip="<%=menu.getString("projects.tooltip", hasProjects)%>"
     
    447455      />
    448456      <m:menuitem
    449         title="<%=common.getString("item.permissiontemplates")%>"
     457        title="<%=common.getString("item.permissiontemplate+")%>"
    450458        onclick="<%="Menu.openUrl('"+root+"views/permissiontemplates/index.jsp?ID="+ID+"')"%>"
    451459        tooltip="<%=menu.getString("permissiontemplates.tooltip", hasPermissionTemplates)%>"
     
    453461      />
    454462      <m:menuitem
    455         title="<%=common.getString("item.messages")%>"
     463        title="<%=common.getString("item.message+")%>"
    456464        onclick="<%="Menu.openUrl('"+root+"my_base/messages/index.jsp?ID="+ID+"')"%>"
    457465        tooltip="<%=menu.getString("messages.tooltip", hasMessages)%>"
     
    459467      />
    460468      <m:menuitem
    461         title="<%=common.getString("item.jobs")%>"
     469        title="<%=common.getString("item.job+")%>"
    462470        onclick="<%="Menu.openUrl('"+root+"views/jobs/index.jsp?ID="+ID+"')"%>"
    463471        tooltip="<%=menu.getString("jobs.tooltip", hasJobs)%>"
     
    465473      />
    466474      <m:menuitem
    467         title="<%=common.getString("item.sessions")%>"
     475        title="<%=common.getString("item.session+")%>"
    468476        onclick="<%="Menu.openUrl('"+root+"views/sessions/index.jsp?ID="+ID+"')"%>"
    469477        tooltip="<%=menu.getString("sessions.tooltip", hasSessions)%>"
     
    472480      <m:menuseparator />
    473481      <m:menuitem
    474         title="<%=common.getString("item.hybridizations")%>"
     482        title="<%=common.getString("item.hybridization+")%>"
    475483        onclick="<%="Menu.openUrl('"+root+"views/hybridizations/index.jsp?ID="+ID+"')"%>"
    476484        tooltip="<%=menu.getString("hybridizations.tooltip", hasHybridizations)%>"
     
    478486      />
    479487      <m:menuitem
    480         title="<%=common.getString("item.scans")%>"
     488        title="<%=common.getString("item.scan+")%>"
    481489        onclick="<%="Menu.openUrl('"+root+"views/scans/index.jsp?ID="+ID+"')"%>"
    482490        tooltip="<%=menu.getString("scans.tooltip", hasScans)%>"
     
    484492      />
    485493      <m:menuitem
    486         title="<%=common.getString("item.rawbioassays")%>"
     494        title="<%=common.getString("item.rawbioassay+")%>"
    487495        onclick="<%="Menu.openUrl('"+root+"views/rawbioassays/index.jsp?ID="+ID+"')"%>"
    488496        tooltip="<%=menu.getString("rawbioassays.tooltip", hasRawBioAssays)%>"
     
    490498      />
    491499      <m:menuitem
    492         title="<%=common.getString("item.experiments")%>"
     500        title="<%=common.getString("item.experiment+")%>"
    493501        onclick="<%="Menu.openUrl('"+root+"views/experiments/index.jsp?ID="+ID+"')"%>"
    494502        tooltip="<%=menu.getString("experiments.tooltip", hasExperiments)%>"
     
    496504      />
    497505      <m:menuitem
    498         title="<%=common.getString("item.formulas")%>"
     506        title="<%=common.getString("item.formula+")%>"
    499507        onclick="<%="Menu.openUrl('"+root+"views/formulas/index.jsp?ID="+ID+"')"%>"
    500508        tooltip="<%=menu.getString("formulas.tooltip", hasFormulas)%>"
     
    503511      <m:menuseparator />
    504512      <m:menuitem
    505         title="<%=common.getString("item.reporters")%>"
     513        title="<%=common.getString("item.reporter+")%>"
    506514        onclick="<%="Menu.openUrl('"+root+"views/reporters/index.jsp?ID="+ID+"')"%>"
    507515        tooltip="<%=menu.getString("reporters.tooltip", hasReporters)%>"
     
    509517      />
    510518      <m:menuitem
    511         title="<%=common.getString("item.reporterlists")%>"
     519        title="<%=common.getString("item.reporterlist+")%>"
    512520        onclick="<%="Menu.openUrl('"+root+"views/reporterlists/index.jsp?ID="+ID+"')"%>"
    513521        tooltip="<%=menu.getString("reporterlists.tooltip", hasReporterLists)%>"
     
    522530      <m:submenu
    523531        subid="projects"
    524         title="Select project"
     532        title="<%=menu.getString("menu.projects")%>"
     533        tooltip="<%=menu.getString("menu.projects.tooltip", activeProject != null)%>"
    525534        enabled="<%=hasProjects%>"
    526535      />
    527536      <m:menuseparator />
    528537      <m:menuitem
    529         title="Contact information&hellip;"
     538        title="<%=menu.getString("contactinfo.title") + "…"%>"
    530539        onclick="<%="Main.openPopup('"+root+"my_base/user/settings.jsp?ID="+ID+"&page=contact', 'Settings', 500, 360);"%>"
    531         tooltip="Set your address, phone, email, etc."
    532       />
    533       <m:menuitem
    534         title="Change password&hellip;"
     540        tooltip="<%=menu.getString("contactinfo.tooltip")%>"
     541      />
     542      <m:menuitem
     543        title="<%=menu.getString("password.title") + "…"%>"
    535544        onclick="<%="Main.openPopup('"+root+"my_base/user/settings.jsp?ID="+ID+"&page=password', 'Settings', 500, 360);"%>"
    536         tooltip="Set your password"
    537       />
    538       <m:menuitem
    539         title="Other information&hellip;
     545        tooltip="<%=menu.getString("password.tooltip")%>"
     546      />
     547      <m:menuitem
     548        title="<%=menu.getString("other.title") + "…"%>
    540549        onclick="<%="Main.openPopup('"+root+"my_base/user/settings.jsp?ID="+ID+"&page=other', 'Settings', 500, 360);"%>"
    541         tooltip="Other user-related information"
     550        tooltip="<%=menu.getString("other.tooltip")%>"
    542551      />
    543552      <m:menuseparator />
    544553      <m:menuitem
    545         title="Preferences&hellip;"
     554        title="<%=menu.getString("preferences.title") + "…"%>"
    546555        onclick="<%="Main.openPopup('"+root+"my_base/user/preferences.jsp?ID="+ID+"', 'Preferences', 500, 400);"%>"
    547         tooltip="Change font sizes, etc."
    548       />
    549       <m:menuitem
    550         title="Reload permissions"
     556        tooltip="<%=menu.getString("preferences.tooltip")%>"
     557      />
     558      <m:menuitem
     559        title="<%=menu.getString("reloadpermissions.title") + "…"%>"
    551560        onclick="<%="Main.openPopup('"+root+"my_base/user/submit_user.jsp?ID="+ID+"&cmd=ReloadPermissions', 'ReloadPermissions', 300, 200);"%>"
    552         tooltip="Reload permissions"
    553       />
    554       <m:menuitem
    555         title="Reset list settings&hellip;"
     561        tooltip="<%=menu.getString("reloadpermissions.tooltip")%>"
     562      />
     563      <m:menuitem
     564        title="<%=menu.getString("resetlistsettings.title") + "…"%>"
    556565        onclick="<%="Main.openPopup('"+root+"my_base/user/reset_filters.jsp?ID="+ID+"', 'ResetFilter', 400, 300);"%>"
    557         tooltip="Reset visible columns, sort order, filters, etc. to default settings on all lists"
     566        tooltip="<%=menu.getString("resetlistsettings.tooltip")%>"
    558567      />
    559568      <m:menuseparator />
    560569      <m:menuitem
    561         title="Logout&hellip;"
     570        title="<%=menu.getString("logout.title") + "…"%>"
    562571        onclick="<%="Main.openPopup('"+root+"logout.jsp?ID="+ID+"', 'Logout', 360, 200);"%>"
    563         tooltip="Exit from BASE"
     572        tooltip="<%=menu.getString("logout.tooltip")%>"
    564573      />
    565574    </m:menu>
     
    600609        >
    601610        <m:menuitem
    602           title="Biosources"
     611          title="<%=common.getString("item.biosource+")%>"
    603612          onclick="<%="Menu.openUrl('"+root+"biomaterials/biosources/index.jsp?ID="+ID+"')"%>"
    604           tooltip="<%=hasBioSources ? "Manage biosources" : "You do not have permission to manage biosources"%>"
     613          tooltip="<%=menu.getString("biosources.tooltip", hasBioSources)%>"
    605614          enabled="<%=hasBioSources%>"
    606615        />
    607616        <m:menuitem
    608           title="Samples"
     617          title="<%=common.getString("item.sample+")%>"
    609618          onclick="<%="Menu.openUrl('"+root+"biomaterials/samples/index.jsp?ID="+ID+"')"%>"
    610           tooltip="<%=hasSamples ? "Manage samples" : "You do not have permission to manage samples"%>"
     619          tooltip="<%=menu.getString("samples.tooltip", hasSamples)%>"
    611620          enabled="<%=hasSamples%>"
    612621        />
    613622        <m:menuitem
    614           title="Extracts"
     623          title="<%=common.getString("item.extract+")%>"
    615624          onclick="<%="Menu.openUrl('"+root+"biomaterials/extracts/index.jsp?ID="+ID+"')"%>"
    616           tooltip="<%=hasExtracts ? "Manage extracts" : "You do not have permission to manage extracts"%>"
     625          tooltip="<%=menu.getString("extracts.tooltip", hasExtracts)%>"
    617626          enabled="<%=hasExtracts%>"
    618627        />
    619628        <m:menuitem
    620           title="Labeled extracts"
     629          title="<%=common.getString("item.labeledextract+")%>"
    621630          onclick="<%="Menu.openUrl('"+root+"biomaterials/labeledextracts/index.jsp?ID="+ID+"')"%>"
    622           tooltip="<%=hasLabeledExtracts ? "Manage labeled extracts" : "You do not have permission to manage labeled extracts"%>"
     631          tooltip="<%=menu.getString("labeledextracts.tooltip", hasLabeledExtracts)%>"
    623632          enabled="<%=hasLabeledExtracts%>"
    624633        />
    625634        <m:menuitem
    626           title="Labels"
     635          title="<%=common.getString("item.label+")%>"
    627636          onclick="<%="Menu.openUrl('"+root+"biomaterials/labels/index.jsp?ID="+ID+"')"%>"
    628           tooltip="<%=hasLabels ? "Manage labels" : "You do not have permission to manage labels"%>"
     637          tooltip="<%=menu.getString("labels.tooltip", hasLabels)%>"
    629638          enabled="<%=hasLabels%>"
    630639        />
    631640        <m:menuseparator />
    632641        <m:menuitem
    633           title="Bioplates"
     642          title="<%=common.getString("item.bioplate+")%>"
    634643          onclick="<%="Menu.openUrl('"+root+"biomaterials/bioplates/index.jsp?ID="+ID+"')"%>"
    635           tooltip="<%=hasBioPlates ? "Manage bio plates" : "You do not have permission to manage bio plates"%>"
     644          tooltip="<%=menu.getString("bioplates.tooltip", hasBioPlates)%>"
    636645          enabled="<%=hasBioPlates%>"
    637646        />
    638647        <m:menuitem
    639           title="Bioplate types"
     648          title="<%=common.getString("item.bioplatetype+")%>"
    640649          onclick="<%="Menu.openUrl('"+root+"biomaterials/bioplatetypes/index.jsp?ID="+ID+"')"%>"
    641           tooltip="<%=hasBioPlateTypes ? "Manage bio plate types" : "You do not have permission to manage bio plate types"%>"
     650          tooltip="<%=menu.getString("bioplatetypes.tooltip", hasBioPlateTypes)%>"
    642651          enabled="<%=hasBioPlateTypes%>"
    643652        />
    644653        <m:menuitem
    645           title="Bioplate event definitions"
     654          title="<%=common.getString("item.bioplateeventdefinition+")%>"
    646655          onclick="<%="Menu.openUrl('"+root+"biomaterials/eventdef/index.jsp?ID="+ID+"')"%>"
    647           tooltip="<%=hasBioPlateEventDefinitions ? "Manage bioplate event definitions" : "You do not have permission to manage bioplate event definitions"%>"
     656          tooltip="<%=menu.getString("bioplateeventdefinitions.tooltip", hasBioPlateEventDefinitions)%>"
    648657          enabled="<%=hasBioPlateEventDefinitions%>"
    649658        />
    650659        <m:menuitem
    651           title="Biomaterial lists"
     660          title="<%=common.getString("item.biomateriallist+")%>"
    652661          onclick="<%="Menu.openUrl('"+root+"biomaterials/lists/index.jsp?ID="+ID+"')"%>"
    653           tooltip="<%=hasBioMaterialLists ? "Manage biomaterial lists" : "You do not have permission to manage biomaterial lists"%>"
     662          tooltip="<%=menu.getString("biomateriallists.tooltip", hasBioMaterialLists)%>"
    654663          enabled="<%=hasBioMaterialLists%>"
    655664        />
     
    676685        >
    677686        <m:menuitem
    678           title="Plate geometries"
     687          title="<%=common.getString("item.plategeometry+")%>"
    679688          onclick="<%="Menu.openUrl('"+root+"lims/geometries/index.jsp?ID="+ID+"')"%>"
    680           tooltip="<%=hasPlateGeometries ? "Manage plate geometries" : "You do not have permission to manage plate geometries"%>"
     689          tooltip="<%=menu.getString("plategeometries.tooltip", hasPlateGeometries)%>"
    681690          enabled="<%=hasPlateGeometries%>"
    682691        />
    683692        <m:menuitem
    684           title="Plate types"
     693          title="<%=common.getString("item.platetype+")%>"
    685694          onclick="<%="Menu.openUrl('"+root+"lims/platetypes/index.jsp?ID="+ID+"')"%>"
    686           tooltip="<%=hasPlateTypes ? "Manage plate types" : "You do not have permission to manage plate types"%>"
     695          tooltip="<%=menu.getString("platetypes.tooltip", hasPlateTypes)%>"
    687696          enabled="<%=hasPlateTypes%>"
    688697        />
    689698        <m:menuitem
    690           title="Plates"
     699          title="<%=common.getString("item.plate+")%>"
    691700          onclick="<%="Menu.openUrl('"+root+"lims/plates/index.jsp?ID="+ID+"')"%>"
    692           tooltip="<%=hasPlates ? "Manage plates" : "You do not have permission to manage plates"%>"
     701          tooltip="<%=menu.getString("plates.tooltip", hasPlates)%>"
    693702          enabled="<%=hasPlates%>"
    694703        />
    695704        <m:menuitem
    696           title="Plate mappings"
     705          title="<%=common.getString("item.platemapping+")%>"
    697706          onclick="<%="Menu.openUrl('"+root+"lims/platemappings/index.jsp?ID="+ID+"')"%>"
    698           tooltip="<%=hasPlateTypes ? "Manage plate mappings" : "You do not have permission to manage plate mappings"%>"
     707          tooltip="<%=menu.getString("platetypes.tooltip", hasPlateTypes)%>"
    699708          enabled="<%=hasPlateTypes%>"
    700709        />
    701710        <m:menuseparator />
    702711        <m:menuitem
    703           title="Array designs"
     712          title="<%=common.getString("item.arraydesign+")%>"
    704713          onclick="<%="Menu.openUrl('"+root+"lims/arraydesigns/index.jsp?ID="+ID+"')"%>"
    705           tooltip="<%=hasArrayDesigns ? "Manage array designs" : "You do not have permission to manage array designs"%>"
     714          tooltip="<%=menu.getString("arraydesigns.tooltip", hasArrayDesigns)%>"
    706715          enabled="<%=hasArrayDesigns%>"
    707716        />
    708717        <m:menuitem
    709           title="Array batches"
     718          title="<%=common.getString("item.arraybatch+")%>"
    710719          onclick="<%="Menu.openUrl('"+root+"lims/arraybatches/index.jsp?ID="+ID+"')"%>"
    711           tooltip="<%=hasArrayBatches ? "Manage array batches" : "You do not have permission to manage array batches"%>"
     720          tooltip="<%=menu.getString("arraybatches.tooltip", hasArrayBatches)%>"
    712721          enabled="<%=hasArrayBatches%>"
    713722        />
    714723        <m:menuitem
    715           title="Array slides"
     724          title="<%=common.getString("item.arrayslide+")%>"
    716725          onclick="<%="Menu.openUrl('"+root+"lims/arrayslides/index.jsp?ID="+ID+"')"%>"
    717           tooltip="<%=hasArraySlides ? "Manage array slides" : "You do not have permission to manage array slides"%>"
     726          tooltip="<%=menu.getString("arrayslides.tooltip", hasArraySlides)%>"
    718727          enabled="<%=hasArraySlides%>"
    719728        />
     
    746755        >
    747756        <m:menuitem
    748           title="Quota types"
     757          title="<%=common.getString("item.quotatype+")%>"
    749758          onclick="<%="Menu.openUrl('"+root+"admin/quotatypes/index.jsp?ID="+ID+"')"%>"
    750           tooltip="<%=hasQuotaTypes ? "Administrate quota types" : "You do not have permission to administrate quota types"%>"
     759          tooltip="<%=menu.getString("quotatypes.tooltip", hasQuotaTypes)%>"
    751760          enabled="<%=hasQuotaTypes%>"
    752761        />
    753762        <m:menuitem
    754           title="Protocol types"
     763          title="<%=common.getString("item.protocoltype+")%>"
    755764          onclick="<%="Menu.openUrl('"+root+"admin/protocoltypes/index.jsp?ID="+ID+"')"%>"
    756           tooltip="<%=hasProtocolTypes ? "Administrate protocol types" : "You do not have permission to administrate protocol types"%>"
     765          tooltip="<%=menu.getString("protocoltypes.tooltip", hasProtocolTypes)%>"
    757766          enabled="<%=hasProtocolTypes%>"
    758767        />
    759768        <m:menuitem
    760           title="File types"
     769          title="<%=common.getString("item.filetype+")%>"
    761770          onclick="<%="Menu.openUrl('"+root+"admin/filetypes/index.jsp?ID="+ID+"')"%>"
    762           tooltip="<%=hasFileTypes ? "Administrate file types" : "You do not have permission to administrate file types"%>"
     771          tooltip="<%=menu.getString("filetypes.tooltip", hasFileTypes)%>"
    763772          enabled="<%=hasFileTypes%>"
    764773        />
    765774        <m:menuitem
    766           title="MIME types"
     775          title="<%=common.getString("item.mimetype+")%>"
    767776          onclick="<%="Menu.openUrl('"+root+"admin/mimetypes/index.jsp?ID="+ID+"')"%>"
    768           tooltip="<%=hasMimeTypes ? "Administrate MIME types" : "You do not have permission to administrate mime types"%>"
     777          tooltip="<%=menu.getString("mimetypes.tooltip", hasMimeTypes)%>"
    769778          enabled="<%=hasMimeTypes%>"
    770779        />
    771780        <m:menuitem
    772           title="Software types"
     781          title="<%=common.getString("item.softwaretype+")%>"
    773782          onclick="<%="Menu.openUrl('"+root+"admin/softwaretypes/index.jsp?ID="+ID+"')"%>"
    774           tooltip="<%=hasSoftwareTypes ? "Administrate software types" : "You do not have permission to administrate software types"%>"
     783          tooltip="<%=menu.getString("softwaretypes.tooltip", hasSoftwareTypes)%>"
    775784          enabled="<%=hasSoftwareTypes%>"
    776785        />
    777786        <m:menuitem
    778           title="Hardware types"
     787          title="<%=common.getString("item.hardwaretype+")%>"
    779788          onclick="<%="Menu.openUrl('"+root+"admin/hardwaretypes/index.jsp?ID="+ID+"')"%>"
    780           tooltip="<%=hasHardwareTypes ? "Administrate hardware types" : "You do not have permission to administrate hardware types"%>"
     789          tooltip="<%=menu.getString("hardwaretypes.tooltip", hasHardwareTypes)%>"
    781790          enabled="<%=hasHardwareTypes%>"
    782791        />
    783792        <m:menuitem
    784           title="Annotation type categories"
     793          title="<%=common.getString("item.annotationtypecategory+")%>"
    785794          onclick="<%="Menu.openUrl('"+root+"admin/annotationtypecategories/index.jsp?ID="+ID+"')"%>"
    786           tooltip="<%=hasAnnotationTypeCategories ? "Administrate annotation type categories" : "You do not have permission to administrate annotation types categories"%>"
     795          tooltip="<%=menu.getString("annotationtypecategories.tooltip", hasAnnotationTypeCategories)%>"
    787796          enabled="<%=hasAnnotationTypeCategories%>"
    788797        />
    789798        <m:menuitem
    790           title="Annotation types"
     799          title="<%=common.getString("item.annotationtype+")%>"
    791800          onclick="<%="Menu.openUrl('"+root+"admin/annotationtypes/index.jsp?ID="+ID+"')"%>"
    792           tooltip="<%=hasAnnotationTypes ? "Administrate annotation types" : "You do not have permission to administrate annotation types"%>"
     801          tooltip="<%=menu.getString("annotationtypes.tooltip", hasAnnotationTypes)%>"
    793802          enabled="<%=hasAnnotationTypes%>"
    794803        />
    795804        <m:menuitem
    796           title="Units and quantities"
     805          title="<%=menu.getString("units+quantities.title")%>"
    797806          onclick="<%="Menu.openUrl('"+root+"admin/quantities/index.jsp?ID="+ID+"')"%>"
    798           tooltip="<%=hasQuantities ? "Administrate quantities" : "You do not have permission to administrate quantities"%>"
     807          tooltip="<%=menu.getString("units+quantities.tooltip", hasQuantities)%>"
    799808          enabled="<%=hasQuantities%>"
    800809        />
    801810        <m:menuitem
    802           title="Reporter types"
     811          title="<%=common.getString("item.reportertype+")%>"
    803812          onclick="<%="Menu.openUrl('"+root+"admin/reportertypes/index.jsp?ID="+ID+"')"%>"
    804           tooltip="<%=hasReporterTypes ? "Administrate reporter types" : "You do not have permission to administrate reporter types"%>"
     813          tooltip="<%=menu.getString("reportertypes.tooltip", hasReporterTypes)%>"
    805814          enabled="<%=hasReporterTypes%>"
    806815        />
    807816        <m:menuitem
    808           title="Extra value types"
     817          title="<%=common.getString("item.extravaluetype+")%>"
    809818          onclick="<%="Menu.openUrl('"+root+"admin/extravaluetypes/index.jsp?ID="+ID+"')"%>"
    810           tooltip="<%=hasExtraValueTypes ? "Administrate extra value types" : "You do not have permission to administrate extra value types"%>"
     819          tooltip="<%=menu.getString("extravaluetypes.tooltip", hasExtraValueTypes)%>"
    811820          enabled="<%=hasExtraValueTypes%>"
    812821        />
     
    828837        >
    829838        <m:menuitem
    830           title="Experimental platforms"
     839          title="<%=common.getString("item.platform+")%>"
    831840          onclick="<%="Menu.openUrl('"+root+"admin/platforms/index.jsp?ID="+ID+"')"%>"
    832           tooltip="<%=hasPlatforms ? "Administrate experimental platforms" : "You do not have permission to administrate experimental platforms"%>"
     841          tooltip="<%=menu.getString("platforms.tooltip", hasPlatforms)%>"
    833842          enabled="<%=hasPlatforms%>"
    834843        />
    835844        <m:menuitem
    836           title="Data file types"
     845          title="<%=common.getString("item.datafiletype+")%>"
    837846          onclick="<%="Menu.openUrl('"+root+"admin/datafiletypes/index.jsp?ID="+ID+"')"%>"
    838           tooltip="<%=hasFileSetMemberTypes ? "Administrate data file types" : "You do not have permission to administrate data file types"%>"
     847          tooltip="<%=menu.getString("datafiletypes.tooltip", hasFileSetMemberTypes)%>"
    839848          enabled="<%=hasFileSetMemberTypes%>"
    840849        />
     
    861870        >
    862871        <m:menuitem
    863           title="Types"
     872          title="<%=menu.getString("plugintypes.title")%>"
    864873          onclick="<%="Menu.openUrl('"+root+"admin/plugintypes/index.jsp?ID="+ID+"')"%>"
    865           tooltip="<%=hasPluginDefinitions ? "Administrate plugin types" : "You do not have permission to administrate plugin types"%>"
     874          tooltip="<%=menu.getString("plugintypes.tooltip", hasPluginTypes)%>"
    866875          enabled="<%=hasPluginTypes%>"
    867876        />
    868877        <m:menuitem
    869           title="Definitions"
     878          title="<%=menu.getString("plugindefinitions.title")%>"
    870879          onclick="<%="Menu.openUrl('"+root+"admin/plugindefinitions/index.jsp?ID="+ID+"')"%>"
    871           tooltip="<%=hasPluginDefinitions ? "Administrate plugin definitions" : "You do not have permission to administrate plugin definitions"%>"
     880          tooltip="<%=menu.getString("plugindefinitions.tooltip", hasPluginDefinitions)%>"
    872881          enabled="<%=hasPluginDefinitions%>"
    873882        />
    874883        <m:menuitem
    875           title="Configurations"
     884          title="<%=menu.getString("pluginconfigurations.title")%>"
    876885          onclick="<%="Menu.openUrl('"+root+"admin/pluginconfigurations/index.jsp?ID="+ID+"')"%>"
    877           tooltip="<%=hasPluginConfigurations ? "Administrate plugin configurations" : "You do not have permission to administrate plugin configurations"%>"
     886          tooltip="<%=menu.getString("pluginconfigurations.tooltip", hasPluginConfigurations)%>"
    878887          enabled="<%=hasPluginConfigurations%>"
    879888        />
    880889        <m:menuseparator />
    881890        <m:menuitem
    882           title="Job agents"
     891          title="<%=common.getString("item.jobagent+")%>"
    883892          onclick="<%="Menu.openUrl('"+root+"admin/jobagents/index.jsp?ID="+ID+"')"%>"
    884           tooltip="<%=hasJobAgents ? "Administrate job agents" : "You do not have permission to administrate job agents"%>"
     893          tooltip="<%=menu.getString("jobagents.tooltip", hasJobAgents)%>"
    885894          enabled="<%=hasJobAgents%>"
    886895        />
     
    918927        >
    919928        <m:menuitem
    920           title="Users"
     929          title="<%=common.getString("item.user+")%>"
    921930          onclick="<%="Menu.openUrl('"+root+"admin/users/index.jsp?ID="+ID+"')"%>"
    922           tooltip="<%=hasUsers ? "Administrate users" : "You do not have permission to administrate users"%>"
     931          tooltip="<%=menu.getString("users.tooltip", hasUsers)%>"
    923932          enabled="<%=hasUsers%>"
    924933        />
    925934        <m:menuitem
    926           title="Groups"
     935          title="<%=common.getString("item.group+")%>"
    927936          onclick="<%="Menu.openUrl('"+root+"admin/groups/index.jsp?ID="+ID+"')"%>"
    928           tooltip="<%=hasGroups ? "Administrate groups" : "You do not have permission to administrate groups"%>"
     937          tooltip="<%=menu.getString("groups.tooltip", hasGroups)%>"
    929938          enabled="<%=hasGroups%>"
    930939        />
    931940        <m:menuitem
    932           title="Roles"
     941          title="<%=common.getString("item.role+")%>"
    933942          onclick="<%="Menu.openUrl('"+root+"admin/roles/index.jsp?ID="+ID+"')"%>"
    934           tooltip="<%=hasRoles ? "Administrate roles" : "You do not have permission to administrate roles"%>"
     943          tooltip="<%=menu.getString("roles.tooltip", hasRoles)%>"
    935944          enabled="<%=hasRoles%>"
    936945        />
     
    938947        <m:submenu
    939948          subid="plugins"
    940           title="Plugins"
    941           tooltip="Administrate plugin definitions and configurations"
     949          title="<%=menu.getString("menu.plugins")%>"
     950          tooltip="<%=menu.getString("menu.plugins.tooltip")%>"
    942951          enabled="<%=hasPlugins%>"
    943952        />
    944953        <m:menuseparator />
    945954        <m:menuitem
    946           title="Quota"
     955          title="<%=common.getString("item.quota+")%>"
    947956          onclick="<%="Menu.openUrl('"+root+"admin/quota/index.jsp?ID="+ID+"')"%>"
    948           tooltip="<%=hasQuota ? "Administrate quota" : "You do not have permission to administrate quota"%>"
     957          tooltip="<%=menu.getString("quota.tooltip", hasQuota)%>"
    949958          enabled="<%=hasQuota%>"
    950959        />
    951960        <m:menuitem
    952           title="Software"
     961          title="<%=common.getString("item.software+")%>"
    953962          onclick="<%="Menu.openUrl('"+root+"admin/software/index.jsp?ID="+ID+"')"%>"
    954           tooltip="<%=hasSoftware ? "Administrate software" : "You do not have permission to administrate software"%>"
     963          tooltip="<%=menu.getString("software.tooltip", hasSoftware)%>"
    955964          enabled="<%=hasSoftware%>"
    956965        />
    957966        <m:menuitem
    958           title="Hardware"
     967          title="<%=common.getString("item.hardware+")%>"
    959968          onclick="<%="Menu.openUrl('"+root+"admin/hardware/index.jsp?ID="+ID+"')"%>"
    960           tooltip="<%=hasHardware ? "Administrate hardware" : "You do not have permission to administrate hardware"%>"
     969          tooltip="<%=menu.getString("hardware.tooltip", hasHardware)%>"
    961970          enabled="<%=hasHardware%>"
    962971        />
    963972        <m:menuitem
    964           title="Protocols"
     973          title="<%=common.getString("item.protocol+")%>"
    965974          onclick="<%="Menu.openUrl('"+root+"admin/protocols/index.jsp?ID="+ID+"')"%>"
    966           tooltip="<%=hasProtocols ? "Administrate protocols" : "You do not have permission to administrate protocols"%>"
     975          tooltip="<%=menu.getString("protocols.tooltip", hasProtocols)%>"
    967976          enabled="<%=hasProtocols%>"
    968977        />
    969978        <m:menuitem
    970           title="Clients"
     979          title="<%=common.getString("item.client+")%>"
    971980          onclick="<%="Menu.openUrl('"+root+"admin/clients/index.jsp?ID="+ID+"')"%>"
    972           tooltip="<%=hasClients ? "Administrate client applications" : "You do not have permission to administrate client applications"%>"
     981          tooltip="<%=menu.getString("clients.tooltip", hasClients)%>"
    973982          enabled="<%=hasClients%>"
    974983        />
    975984        <m:menuitem
    976           title="News"
     985          title="<%=common.getString("item.news+")%>"
    977986          onclick="<%="Menu.openUrl('"+root+"admin/news/index.jsp?ID="+ID+"')"%>"
    978           tooltip="<%=hasNews ? "Administrate news" : "You do not have permission to administrate news"%>"
     987          tooltip="<%=menu.getString("news.tooltip", hasNews)%>"
    979988          enabled="<%=hasNews%>"
    980989        />
     
    982991        <m:submenu
    983992          subid="platforms"
    984           title="Platforms"
    985           tooltip="Administrate experimental platforms"
     993          title="<%=menu.getString("menu.platforms")%>"
     994          tooltip="<%=menu.getString("menu.platforms.tooltip")%>"
    986995          enabled="<%=hasTopPlatforms%>"
    987996        />
    988997        <m:submenu
    989998          subid="types"
    990           title="Types"
    991           tooltip="Administrate quota, file, hardware and software types"
     999          title="<%=menu.getString("menu.types")%>"
     1000          tooltip="<%=menu.getString("menu.types.tooltip")%>"
    9921001          enabled="<%=hasTypes%>"
    9931002        />
    9941003        <m:menuseparator />
    9951004        <m:menuitem
    996           title="Disk usage"
     1005          title="<%=common.getString("item.diskusage+")%>"
    9971006          onclick="<%="Menu.openUrl('"+root+"admin/diskusage/index.jsp?ID="+ID+"')"%>"
    998           tooltip="<%=hasDiskUsage ? "Check disk usage" : "You do not have permission to check disk usage"%>"
     1007          tooltip="<%=menu.getString("diskusage.tooltip", hasDiskUsage)%>"
    9991008          enabled="<%=hasDiskUsage%>"
    10001009        />
    10011010        <m:menuitem
    1002           title="Server settings&hellip;"
     1011          title="<%=menu.getString("serversettings.title")+"…"%>"
    10031012          onclick="<%="Main.openPopup('"+root+"admin/server/configure.jsp?ID="+ID+"', 'ServerSettings', 500, 400);"%>"
    1004           tooltip="<%=hasServer ? "Configure the server" : "You do not have permission to configure the server"%>"
     1013          tooltip="<%=menu.getString("serversettings.tooltip", hasServer)%>"
    10051014          enabled="<%=hasServer%>"
    10061015        />
    10071016        <m:menuitem
    1008           title="Broadcast message&hellip;"
     1017          title="<%=menu.getString("broadcast.title")+"…"%>"
    10091018          onclick="<%="Main.openPopup('"+root+"admin/server/broadcast.jsp?ID="+ID+"', 'BroadcastMessage', 640, 400);"%>"
    1010           tooltip="<%=hasServer ? "Broadcast a message to all logged in users" : "You do not have permission to send messages"%>"
     1019          tooltip="<%=menu.getString("broadcast.tooltip", hasServer)%>"
    10111020          enabled="<%=hasServer%>"
    10121021        />
    10131022        <m:menuitem
    1014           title="Services"
    1015           tooltip="<%=hasServer ? "Manage service extensions" : "You do not have permission to manage services" %>"
     1023          title="<%=menu.getString("services.title")%>"
     1024          tooltip="<%=menu.getString("services.tooltip", hasServer)%>"
    10161025          onclick="<%="Menu.openUrl('"+root+"admin/services/index.jsp?ID="+ID+"')"%>"
    10171026          enabled="<%=hasServer%>"
     
    10741083      >
    10751084      <m:menuitem
    1076         title="Switch user&hellip;"
     1085        title="<%=menu.getString("switchuser.title") + "…"%>"
    10771086        onclick="<%="Main.openPopup('"+root+"switch.jsp?ID="+ID+"', 'Switch', 360, 200);"%>"
    1078         tooltip="Login as another user"
    1079       />
    1080       <m:menuitem
    1081         title="Impersonate&hellip;"
     1087        tooltip="<%=menu.getString("switchuser.tooltip")%>"
     1088      />
     1089      <m:menuitem
     1090        title="<%=menu.getString("impersonate.title") + "…"%>"
    10821091        onclick="<%="Main.openPopup('"+root+"impersonate.jsp?ID="+ID+"', 'Impersonate', 480, 240);"%>"
    1083         tooltip="Login as another user without knowing the password"
     1092        tooltip="<%=menu.getString("impersonate.tooltip")%>"
    10841093        visible="<%=hasImpersonate%>"
    10851094      />
    10861095      <m:menuitem
    1087         title="Logout&hellip;"
     1096        title="<%=menu.getString("logout.title") + "…"%>"
    10881097        onclick="<%="Main.openPopup('"+root+"logout.jsp?ID="+ID+"', 'Logout', 360, 200);"%>"
    1089         tooltip="Exit from BASE"
     1098        tooltip="<%=menu.getString("logout.tooltip")%>"
    10901099      />
    10911100    </m:menu>
     
    11711180        %>
    11721181        <m:menuitem
    1173           title="Installed extensions"
     1182          title="<%=menu.getString("installedextensions.title")%>"
    11741183          onclick="<%="Menu.openUrl('"+root+"admin/extensions/index.jsp?ID="+ID+"')"%>"
    1175           tooltip="Display and administrate installed extensions"
    1176         />
    1177         <m:menuitem
    1178           title="Manual scan&hellip;"
     1184          tooltip="<%=menu.getString("installedextensions.tooltip")%>"
     1185        />
     1186        <m:menuitem
     1187          title="<%=menu.getString("manualscan.title") + "…"%>"
    11791188          onclick="<%="Main.openPopup('"+root+"admin/extensions/manual_scan.jsp?ID=" + ID + "', 'ManualScan', 500, 400);"%>"
    11801189          enabled="<%=ec.hasPermission(Permission.WRITE)%>"
    1181           tooltip="Start a manual scan for new, updated and deleted extensions"
     1190          tooltip="<%=menu.getString("manualscan.tooltip")%>"
    11821191        />
    11831192        <%
Note: See TracChangeset for help on using the changeset viewer.