<commit_before><?php
  trace(__FILE__,'begin');
  set_page_title(lang('i18n edit locale values'));
  administration_tabbed_navigation('i18n');
  administration_crumbs(lang('i18n'), get_url('i18n'));

  if (I18nLocale::canAdd(logged_user())) {
      add_page_action(lang('add locale'), get_url('i18n', 'add_locale'));
  } // if
  add_stylesheet_to_page('i18n.css');
  $counter = 0;
?>
<?php if (isset($values) && is_array($values) && count($values)) { ?>
<form action=""><input type=text id="filter"> <span id="filter-count"></span></form>
<table id="i18n_values" class="filtered">
  <tr>
  <th><?php echo lang('#') ?></th>
  <th><?php echo lang('key') ?></th>
  <th><?php echo lang('text') ?></th>
  <th><?php echo lang('created by') ?></th>
  <th><?php echo lang('updated by') ?></th>
  </tr>
<?php foreach ($values as $value) { ?>
<?php $vid = $value->getId(); ?>
<?php $counter++; ?>
  <tr class="item <?php echo $counter % 2 ? 'even' : 'odd' ?>">
  <td class="id"><?php echo $counter ?></td>
  <td class="edit" id="<?php echo $vid.'_name' ?>"><?php echo clean($value->getName()) ?></td>
  <td class="edit" id="<?php echo $vid.'_description' ?>"><?php echo clean($value->getDescription()) ?></td>
  <td><?php if ($value->getCreatedBy() instanceof User) { ?><a href="<?php echo $value->getCreatedBy()->getCardUrl() ?>"><?php echo clean($value->getCreatedBy()->getDisplayName()) ?></a> <?php } ?></td>
  <td><?php if ($value->getUpdatedBy() instanceof User) { ?><a href="<?php echo $value->getUpdatedBy()->getCardUrl() ?>"><?php echo clean($value->getUpdatedBy()->getDisplayName()) ?></a> <?php } ?></td>
  </tr>
<?php } // foreach ?>
</table>
<?php } else { ?>
<div class="none"><?php echo lang('no locale values found') ?></div><commit_msg>commit 136 internationalization add search label<commit_after><?php
  trace(__FILE__,'begin');
  set_page_title(lang('i18n edit locale values'));
  administration_tabbed_navigation('i18n');
  administration_crumbs(lang('i18n'), get_url('i18n'));

  if (I18nLocale::canAdd(logged_user())) {
      add_page_action(lang('add locale'), get_url('i18n', 'add_locale'));
  } // if
  add_stylesheet_to_page('i18n.css');
  $counter = 0;
?>
<?php if (isset($values) && is_array($values) && count($values)) { ?>
<form action=""><?php echo lang('search') ?>: <input type=text id="filter"> <span id="filter-count"></span></form><br>
<table id="i18n_values" class="filtered">
  <tr>
  <th><?php echo lang('#') ?></th>
  <th><?php echo lang('key') ?></th>
  <th><?php echo lang('text') ?></th>
  <th><?php echo lang('created by') ?></th>
  <th><?php echo lang('updated by') ?></th>
  </tr>
<?php foreach ($values as $value) { ?>
<?php $vid = $value->getId(); ?>
<?php $counter++; ?>
  <tr class="item <?php echo $counter % 2 ? 'even' : 'odd' ?>">
  <td class="id"><?php echo $counter ?></td>
  <td class="edit" id="<?php echo $vid.'_name' ?>"><?php echo clean($value->getName()) ?></td>
  <td class="edit" id="<?php echo $vid.'_description' ?>"><?php echo clean($value->getDescription()) ?></td>
  <td><?php if ($value->getCreatedBy() instanceof User) { ?><a href="<?php echo $value->getCreatedBy()->getCardUrl() ?>"><?php echo clean($value->getCreatedBy()->getDisplayName()) ?></a> <?php } ?></td>
  <td><?php if ($value->getUpdatedBy() instanceof User) { ?><a href="<?php echo $value->getUpdatedBy()->getCardUrl() ?>"><?php echo clean($value->getUpdatedBy()->getDisplayName()) ?></a> <?php } ?></td>
  </tr>
<?php } // foreach ?>
</table>
<?php } else { ?>
<div class="none"><?php echo lang('no locale values found') ?></div>
{'fraction_non_alphanumeric': 0.2646976090014065, 'fraction_numerical': 0.010970464135021098, 'mean_word_length': 5.734848484848484, 'pattern_counts': {'":': 0, '<': 133, '<?xml version=': 0, '>': 159, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1076396', 'n_tokens_mistral': 1214, 'n_tokens_neox': 1253, 'n_words': 291}