Quickview UI: Localize string 'Quickview'

Conflicts:
	client/WEB-INF/classes/resources/messages.properties
	ui/dictionary.jsp
This commit is contained in:
Brian Federle 2012-10-18 11:01:55 -07:00
parent ca6f1ef7b4
commit acae5f23bc
3 changed files with 4 additions and 2 deletions

View File

@ -17,6 +17,7 @@
#new labels (begin) ********************************************************************************************** #new labels (begin) **********************************************************************************************
label.quickview=Quickview
label.migrate.to.host=Migrate to host label.migrate.to.host=Migrate to host
label.migrate.to.storage=Migrate to storage label.migrate.to.storage=Migrate to storage
label.stop=Stop label.stop=Stop

View File

@ -25,6 +25,7 @@ under the License.
<% long now = System.currentTimeMillis(); %> <% long now = System.currentTimeMillis(); %>
<script language="javascript"> <script language="javascript">
dictionary = { dictionary = {
'label.quickview': '<fmt:message key="label.quickview"/>',
'label.migrate.to.host': '<fmt:message key="label.migrate.to.host"/>', 'label.migrate.to.host': '<fmt:message key="label.migrate.to.host"/>',
'label.migrate.to.storage': '<fmt:message key="label.migrate.to.storage"/>', 'label.migrate.to.storage': '<fmt:message key="label.migrate.to.storage"/>',
'label.stop': '<fmt:message key="label.stop"/>', 'label.stop': '<fmt:message key="label.stop"/>',

View File

@ -655,7 +655,7 @@
if (detailView && !detailView.noCompact && !uiCustom) { if (detailView && !detailView.noCompact && !uiCustom) {
$thead.find('tr').append( $thead.find('tr').append(
$('<th></th>') $('<th></th>')
.html('Quickview') .html(_l('label.quickview'))
.addClass('quick-view reduced-hide') .addClass('quick-view reduced-hide')
); );
} }
@ -1055,7 +1055,7 @@
// Title // Title
$title.append( $title.append(
$('<span>').html('Quickview: '), $('<span>').html(_l('label.quickview') + ': '),
$('<span>').addClass('title').html( $('<span>').addClass('title').html(
cloudStack.concat( cloudStack.concat(
$tr.find('td:first span').html(), 30 $tr.find('td:first span').html(), 30