mirror of
https://github.com/WenPai-org/wp-china-yes.git
synced 2025-08-08 14:59:18 +08:00
feat:3.0.0版初次提交,新版将完全推倒重写
This commit is contained in:
parent
e556c4b6d9
commit
39735249ee
293 changed files with 26908 additions and 475 deletions
57
vendor/loco-translate/tpl/admin/root.php
vendored
Normal file
57
vendor/loco-translate/tpl/admin/root.php
vendored
Normal file
|
@ -0,0 +1,57 @@
|
|||
<?php
|
||||
/**
|
||||
* Root admin screen
|
||||
*/
|
||||
|
||||
$this->extend('layout');
|
||||
?>
|
||||
|
||||
<div class="notice inline notice-info">
|
||||
<p class="has-lang">
|
||||
<span <?php echo $siteLocale->attr?>><code><?php $siteLocale->e('code')?></code></span>
|
||||
<span><?php printf( esc_html( __('The language of this site is %s.','loco-translate') ), $siteLocale->link );?>
|
||||
<?php if( $params->has('adminLocale') ):
|
||||
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', array( 'bundles' => $recent ) );?>
|
||||
</div><?php
|
||||
endif;?>
|
||||
|
||||
|
||||
<div>
|
||||
<h2>
|
||||
<?php esc_html_e('Active theme:','loco-translate')?>
|
||||
</h2><?php
|
||||
echo $this->render('list/inc-table', array( 'bundles' => array($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', array( '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;
|
Loading…
Add table
Add a link
Reference in a new issue