fix: i18n fixed in Views and updated default.pot

Updated default.pot file according Views and Controllers changes
Updated Views with i18n issues
pull/4381/head
4ekin 2019-03-27 13:38:50 +03:00
parent 105f363305
commit a57462740f
5 changed files with 1939 additions and 1113 deletions

File diff suppressed because it is too large Load Diff

View File

@ -191,7 +191,7 @@
array(
'type' => 'search',
'fa-icon' => 'search',
'placeholder' => 'Enter value to search',
'placeholder' => __('Enter value to search'),
'data' => '',
'cancel' => array(
'fa-icon' => 'times',

View File

@ -6,6 +6,7 @@
<?php
echo $this->Form->input('uuids', array(
'type' => 'textarea',
'label' => __('UUIDs'),
'div' => 'input clear',
'class' => 'input-xxlarge',
'placeholder' => __('Enter a single or a list of UUIDs')
@ -20,7 +21,7 @@
'type' => 'textarea',
'div' => 'input clear',
'class' => 'input-xxlarge',
'label' => 'Event info',
'label' => __('Event info'),
'placeholder' => __('(Optional) the event info of the event that you would like to block. It\'s best to leave this empty if you are adding a list of UUIDs.')
));
echo $this->Form->input('comment', array(

View File

@ -20,7 +20,7 @@
<tr>
<th><?php echo $this->Paginator->sort('id');?></th>
<th><?php echo $this->Paginator->sort('org');?></th>
<th><?php echo $this->Paginator->sort('event_uuid');?></th>
<th><?php echo $this->Paginator->sort('event_uuid', __('Event UUID'));?></th>
<th><?php echo $this->Paginator->sort('created');?></th>
<th><?php echo $this->Paginator->sort('event_info');?></th>
<th><?php echo $this->Paginator->sort('comment');?></th>
@ -35,8 +35,8 @@ foreach ($response as $item): ?>
<td class="short"><?php echo (isset($item['EventBlacklist']['event_info']) ? h($item['EventBlacklist']['event_info']) : '&nbsp;'); ?></td>
<td class="short"><?php echo (isset($item['EventBlacklist']['comment']) ? h($item['EventBlacklist']['comment']) : '&nbsp;'); ?></td>
<td class="short action-links">
<a href="<?php echo $baseurl;?>/eventBlacklists/edit/<?php echo h($item['EventBlacklist']['id']); ?>"><span class="fa fa-edit" title="edit" role="button" tabindex="0" aria-label="Edit blacklist entry">&nbsp;</span></a>
<?php echo $this->Form->postLink('', array('action' => 'delete', h($item['EventBlacklist']['id'])), array('class' => 'fa fa-trash', 'title' => 'Delete'), __('Are you sure you want to delete the blacklist entry for the event UUID %s?', h($item['EventBlacklist']['event_uuid']))); ?>
<a href="<?php echo $baseurl;?>/eventBlacklists/edit/<?php echo h($item['EventBlacklist']['id']); ?>"><span class="fa fa-edit" title=<?php echo __('Edit')?> role="button" tabindex="0" aria-label="Edit blacklist entry">&nbsp;</span></a>
<?php echo $this->Form->postLink('', array('action' => 'delete', h($item['EventBlacklist']['id'])), array('class' => 'fa fa-trash', 'title' => __('Delete')), __('Are you sure you want to delete the blacklist entry for the event UUID %s?', h($item['EventBlacklist']['event_uuid']))); ?>
</td>
</tr><?php
endforeach; ?>

View File

@ -3,7 +3,7 @@
<?php
echo $this->element('Users/statisticsMenu');
?>
<p style="margin-bottom: 40px;"><?php echo __(sprintf('A heatmap showing the usage of %s.', $galaxyName));?></p>
<p style="margin-bottom: 40px;"><?php echo sprintf(__('A heatmap showing the usage of %s.'), $galaxyName);?></p>
<select id="galaxyMatrixPicker" onchange="this.options[this.selectedIndex].value && (window.location = window.location.pathname.replace(/\/*galaxy_id:\d+/, '') + '/' + 'galaxy_id:' + this.options[this.selectedIndex].value);" >
<?php foreach ($matrixGalaxies as $k => $galaxy): ?>