Permalink
Browse files

[core] Little i18n fix

  • Loading branch information...
1 parent 10877d1 commit 46dc8d50d9c41b2d1ea1c6cd362caa421395a0d2 @romainr romainr committed Dec 28, 2012
View
18 apps/beeswax/src/beeswax/templates/execute.mako
@@ -23,17 +23,15 @@
<%namespace name="layout" file="layout.mako" />
<%def name="query()">
-
-
- % if error_message:
- <div class="alert alert-error">
- <p><strong>${_('Your query has the following error(s):')}</strong></p>
- <p class="queryErrorMessage">${error_message}</p>
- % if log:
- <small>${_('click the')} <b>${_('Error Log')}</b> ${_('tab below for details')}</small>
- % endif
- </div>
+ % if error_message:
+ <div class="alert alert-error">
+ <p><strong>${_('Your query has the following error(s):')}</strong></p>
+ <p class="queryErrorMessage">${error_message}</p>
+ % if log:
+ <small>${_('click the')} <b>${_('Error Log')}</b> ${_('tab below for details')}</small>
% endif
+ </div>
+ % endif
<textarea class="span9" rows="18" placeholder="${_('Example: SELECT * FROM tablename')}" name="${form.query["query"].html_name | n}" id="queryField">${extract_field_data(form.query["query"]) or ''}</textarea>
<div id="validationResults">
View
2 apps/jobsub/src/jobsub/templates/list_designs.mako
@@ -45,7 +45,7 @@ ${commonlayout.menubar(section='designs')}
</%def>
<%def name="creation()">
<span class="btn-group">
- <a href="${ url('jobsub.views.new_design', action_type='mapreduce') }" class="btn" title="${_('Create Mapreduce Design')}" rel="tooltip"><i class="icon-plus-sign"></i> ${_('Mapreduce')}</a>
+ <a href="${ url('jobsub.views.new_design', action_type='mapreduce') }" class="btn" title="${_('Create MapReduce Design')}" rel="tooltip"><i class="icon-plus-sign"></i> ${_('MapReduce')}</a>
<a href="${ url('jobsub.views.new_design', action_type='streaming') }" class="btn" title="${_('Create Streaming Design')}" rel="tooltip"><i class="icon-plus-sign"></i> ${_('Streaming')}</a>
<a href="${ url('jobsub.views.new_design', action_type='java') }" class="btn"title="${_('Create Java Design')}" rel="tooltip"><i class="icon-plus-sign"></i> ${_('Java')}</a>
</span>
View
2 apps/oozie/src/oozie/templates/dashboard/list_oozie_coordinators.mako
@@ -31,7 +31,7 @@ ${layout.menubar(section='dashboard')}
<div class="well hueWell">
<form>
- ${ _('Filter:') } <input type="text" id="filterInput" class="input-xlarge search-query" placeholder="Search for username, name, etc...">
+ ${ _('Filter:') } <input type="text" id="filterInput" class="input-xlarge search-query" placeholder="${ _('Search for username, name, etc...') }">
<span class="pull-right">
<span style="padding-right:10px;float:left;margin-top:3px">

0 comments on commit 46dc8d5

Please sign in to comment.