1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
|
<?php /** * Root admin screen */
/* @var Loco_mvc_View $this */ $this->extend('layout'); ?> <div class="panel panel-info"> <p class="has-lang"> <span <?php echo $siteLocale->attr?>><code><?php $siteLocale->e('code')?></code></span> <span><?php // translators: %s will be replaced with the full name of the site language printf( esc_html( __('The language of this site is %s.','loco-translate') ), $siteLocale->link ); if( $params->has('adminLocale') ): echo ' '; // translators: %s will be replaced with the full name of the user profile's admin language printf( esc_html( __('Your admin language is %s.','loco-translate') ), $adminLocale->link ); endif?> </span> </p> </div><?php
if( $recent ):?> <div> <h2> <?php esc_html_e('Recently updated:','loco-translate')?> </h2> <p> <?php esc_html_e("Translations have been recently modified in the following bundles",'loco-translate')?>: </p><?php echo $this->render('list/inc-table', [ 'bundles' => $recent ] );?> </div><?php endif;?>
<div> <h2> <?php esc_html_e('Active theme:','loco-translate')?> </h2><?php echo $this->render('list/inc-table', [ 'bundles' => [$theme] ] )?> <p> <a href="<?php $this->route('theme')->e('href')?>" class="button button-link has-raquo"><?php esc_html_e('See all themes','loco-translate')?></a> </p> </div>
<?php if( $plugins ):?> <div> <h2> <?php esc_html_e('Running plugins:','loco-translate')?> </h2> <p> <?php esc_html_e('These plugins have recently loaded translation files into the admin area','loco-translate')?>: </p><?php echo $this->render('list/inc-table', [ 'bundles' => $plugins ] )?> <p> <a href="<?php $this->route('plugin')->e('href')?>" class="button button-link has-raquo"><?php esc_html_e('See all plugins','loco-translate')?></a> </p> </div><?php endif;
|