fix: ui _ function does not exist, l10n function is __

pull/7080/head
Patrizio Tufarolo 2021-02-24 07:58:56 +01:00 committed by GitHub
parent 0e395120c9
commit 6d27fc278f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -29,7 +29,7 @@
$class = 'warning';
}
$versionText = __('Outdated version');
$versionText .= sprintf(_(' (%s days, %s hours older than super project)'), $status['timeDiff']->format('%a'), $status['timeDiff']->format('%h'));
$versionText .= sprintf(__(' (%s days, %s hours older than super project)'), $status['timeDiff']->format('%a'), $status['timeDiff']->format('%h'));
break;
case 'younger':
$class = 'warning';
@ -65,7 +65,7 @@
</tbody>
</table>
<div id="submoduleGitResultDiv" class="hidden">
<strong><?php echo _('Update result:'); ?></strong>
<strong><?php echo __('Update result:'); ?></strong>
<div class="apply_css_arrow">
<pre id="submoduleGitResult" class="green bold" style="margin-left: 10px;"></pre>
</div>