Skip to content
Snippets Groups Projects
Unverified Commit 928c0da5 authored by Peter Rotich's avatar Peter Rotich Committed by GitHub
Browse files

Merge pull request #4326 from JediKev/issue/language-pack-locale-mismatch

issue: Language Pack Locale Mismatch
parents 43bf186d a87f19d3
Branches
Tags
No related merge requests found
......@@ -183,16 +183,18 @@ if (!$lv) { ?>
$p = $info['path'];
if ($info['phar'])
$p = 'phar://' . $p;
$manifest = (file_exists($p . '/MANIFEST.php')) ? (include $p . '/MANIFEST.php') : null;
?>
<h3><strong><?php echo Internationalization::getLanguageDescription($info['code']); ?></strong>
&mdash; <?php echo $manifest['Language']; ?>
<?php if ($manifest) { ?>
&mdash; <?php echo $manifest['Language']; ?>
<?php } ?>
<?php if ($info['phar'])
Plugin::showVerificationBadge($info['path']); ?>
</h3>
<div><?php echo sprintf('<code>%s</code> — %s', $info['code'],
str_replace(ROOT_DIR, '', $info['path'])); ?>
<?php if (file_exists($p . '/MANIFEST.php')) {
$manifest = (include $p . '/MANIFEST.php'); ?>
<?php if ($manifest) { ?>
<br/> <?php echo __('Version'); ?>: <?php echo $manifest['Version'];
?>, <?php echo sprintf(__('for version %s'),
'v'.($manifest['Phrases-Version'] ?: '1.9')); ?>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment