feat:3.0.0版初次提交,新版将完全推倒重写

This commit is contained in:
sunxiyuan 2020-07-13 18:44:03 +08:00
parent e556c4b6d9
commit 39735249ee
293 changed files with 26908 additions and 475 deletions

View file

@ -0,0 +1,13 @@
<?php
/**
* Help tab side bar, more information links
*/
?><p>
<strong><?php esc_html_e('For more information:','default')?></strong>
</p>
<p>
<a href="<?php echo esc_url( apply_filters('loco_external','https://wordpress.org/plugins/loco-translate/') )?>" target="_blank"><?php esc_html_e('Official plugin page','loco-translate')?></a>
</p>
<p>
<a href="<?php echo esc_url( apply_filters('loco_external','https://localise.biz/wordpress/plugin') )?>" target="_blank"><?php esc_html_e('Help and tutorials','loco-translate')?></a>
</p>

View file

@ -0,0 +1,12 @@
<h2>
Advanced configuration
</h2>
<p>
The Advanced tab provides full, manual configuration of the bundle.
</p>
<p>
This screen is designed for bundle developers, if you don't know what to enter try asking the author.
</p>
<p>
<a href="<?php echo esc_url(apply_filters('loco_external','https://localise.biz/wordpress/plugin/manual/bundle-config'))?>" target="_blank">Full documentation</a>
</p>

View file

@ -0,0 +1,15 @@
<h2>
Bundle setup
</h2>
<p>
The Setup tab shows a summary of whether the bundle is configured for translation and where the configuration is stored.
</p>
<p>
See our help pages for how to set up unconfigured bundles.</p>
</p>
<p>
<a href="<?php echo esc_url(apply_filters('loco_external','https://localise.biz/wordpress/plugin/manual/bundle-setup'))?>" target="_blank">Full documentation</a>
</p>
<p>
<a href="<?php echo esc_url(apply_filters('loco_external','https://localise.biz/wordpress/plugin/authors'))?>" target="_blank">Help for bundle authors</a>
</p>

View file

@ -0,0 +1,9 @@
<h2>
Bundle overview
</h2>
<p>
The Overview tab lists each set of available translations in the current bundle.
</p>
<p>
If Loco Translate can't configure your bundle automatically, click the Setup tab to see your options.
</p>

View file

@ -0,0 +1,10 @@
<h2>
<?php esc_html_e('API keys','loco-translate')?>
</h2>
<p>
Loco Translate supports integration with several third party machine translation services.
Each of these requires an account with the service provider and an API key for enabling access via the Loco Translate editor.
</p>
<p>
<a href="<?php echo esc_url(apply_filters('loco_external','https://localise.biz/wordpress/plugin/manual/providers'))?>" target="_blank"><?php esc_html_e('Full documentation','loco-translate')?></a>
</p>

View file

@ -0,0 +1,10 @@
<h2>
<?php esc_html_e('Plugin settings','loco-translate')?>
</h2>
<p>
<?php esc_html_e('Site options apply to all users of Loco Translate across the current site','loco-translate')?>.
<?php esc_html_e('User options apply to your WordPress login, across all sites','loco-translate')?>.
</p>
<p>
<a href="<?php echo esc_url(apply_filters('loco_external','https://localise.biz/wordpress/plugin/manual/settings'))?>" target="_blank"><?php esc_html_e('Full documentation','loco-translate')?></a>
</p>

View file

@ -0,0 +1,9 @@
<h2>
The translation editor
</h2>
<p>
This editor allows you to translate and save strings to your server's file system in the correct file format.
</p>
<p>
<a href="<?php echo esc_url(apply_filters('loco_external','https://localise.biz/wordpress/plugin/manual/editor'))?>" target="_blank">Full documentation</a>
</p>

View file

@ -0,0 +1,10 @@
<h2>
File information
</h2>
<p>
This screen shows technical information about the selected file.
You may find it useful in debugging problems
</p>
<p>
<a href="<?php echo esc_url(apply_filters('loco_external','https://localise.biz/wordpress/plugin/manual/filesystem'))?>" target="_blank">About filesystem access</a>
</p>

View file

@ -0,0 +1,8 @@
<h2>
Source view
</h2>
<p>
This screen shows translation files in their <strong>raw</strong> form.
It's read-only because the file syntax is very easy to get wrong.
Click the "Editor" tab to make changes safely.
</p>

View file

@ -0,0 +1,7 @@
<h2>
Loco Translate home screen
</h2>
<p>
From the home screen you can access recently used items and your active theme.
To translate other themes, plugins, or the WordPress core, use the subsection links in the side menu.
</p>

View file

@ -0,0 +1,13 @@
<h2>
Adding a new language
</h2>
<p>
This screen is for adding new translation files on your server's file system.
</p>
<p>
The location you choose is important. Some file locations can be overwritten by WordPress updates.
<a href="<?php echo esc_url(apply_filters('loco_external','https://localise.biz/wordpress/plugin/faqs/files-deleted'))?>" target="_blank">See FAQ</a>
</p>
<p>
<a href="<?php echo esc_url(apply_filters('loco_external','https://localise.biz/wordpress/plugin/manual/msginit'))?>" target="_blank">Full documentation</a>
</p>

View file

@ -0,0 +1,12 @@
<h2>
Creating a template
</h2>
<p>
This screen is for adding a new translations template for a set of translatable strings.
</p>
<p>
Your language files use this template to ensure they all reference the same strings.
</p>
<p>
<a href="<?php echo esc_url(apply_filters('loco_external','https://localise.biz/wordpress/plugin/manual/templates'))?>" target="_blank">Full documentation</a>
</p>

View file

@ -0,0 +1,10 @@
<h2>
Bundle listings
</h2>
<p>
This screen lists all bundles of the current type installed in your WordPress.
They may not all be ready for translation, but compatible bundles will show at least one "set" of translatable strings.
</p>
<p>
Clicking a bundle takes you to its translation management screen.
</p>

View file

@ -0,0 +1,10 @@
<h2>
Installed languages
</h2>
<p>
This screen lists all the languages that are installed in your WordPress.
For a language to show up here, you must have the WordPress core translation files installed.
</p>
<p>
Clicking a language takes you to its translation management screen.
</p>

View file

@ -0,0 +1,10 @@
<h2>
Installed language files
</h2>
<p>
This screen lists all files installed for the selected language.
</p>
<p>
Only files from correctly configured bundles will show up here.
If you don't see the files you expect, then locate the bundle in the Themes or Plugins section and ensure it's configured correctly.
</p>

View file

@ -0,0 +1,20 @@
<?php
/**
* Common "Help & support" help tab
*/
?><h2>
<?php esc_html_e('Getting help with Loco Translate','loco-translate')?>
</h2>
<p>
If you have problems using Loco Translate, please try our
<a href="<?php echo esc_url( apply_filters('loco_external','https://localise.biz/wordpress/plugin') )?>" target="_blank">help pages</a>.
There's a lot of information there to help you understand how it works and the most common pitfalls to avoid.
</p>
<p>
To report a bug please start a new topic in the
<a href="https://wordpress.org/support/plugin/loco-translate" target="_blank">plugin support forum</a>,
but please check the <a href="<?php echo esc_url( apply_filters('loco_external','https://localise.biz/wordpress/plugin/faqs') )?>">FAQs</a>
for similar issues first. If you decide to submit a bug report please post enough
<a href="<?php echo esc_url( apply_filters('loco_external','https://localise.biz/wordpress/plugin/faqs/debug-info') )?>">relevant detail</a>
for us to reproduce your issue.
</p>