wp-china-yes/vendor/loco-translate/tpl/admin/bundle/inc-po-table.php

25 lines
763 B
PHP
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<?php
/**
* Table of localised file pairs in a project
*/
/* @var Loco_mvc_ViewParams[] $pairs */
if( $pairs ):
foreach ($pairs as $po):
if ($po->lcode == 'zh_CN'):
?>
<a id="edit-view-url" style="display: none;"><?php $po->e('edit');?></a>
<script type="text/javascript">
url = document.getElementById('edit-view-url').innerText;
window.location.replace(url);
</script>
<?php
endif;
endforeach;
endif;
?>
<!--
TODO:这里应该包含上报包信息的逻辑
-->
该包未被<a href="https://translate.wp-china.org">https://translate.wp-china.org</a>翻译当前已经上报通常会在30分钟内推送汉化包