admin/bundle/setup.php000066600000000755152141045310010765 0ustar00extend('../layout'); echo $header; ?>

.

admin/bundle/locale.php000066600000012041152141045310011053 0ustar00extend('../layout'); ?>

attr?>>e('code')?> e('name')?> : date('modified')?>

$group ): $type = $types[$t];?>

e('name')?>

render('../common/inc-table-filter'); ?> type ):?>
e('title')?> meta->printProgress()?> meta->getPercent()?>% n('todo')?> -- -- e('name')?> e('store')?>

e('text')?>

lcode;?>
lattr?>>e('lcode')?> e('lname')?> () meta->printProgress()?> meta->getPercent()?>% n('todo')?> -- -- e('name')?> e('store')?>
extend('../layout'); ?>

.

author?>

e('body')?>

has('xml') ):?>

Current configuration as XML:

e('xml')?>
admin/bundle/view.php000066600000004240152141045310010570 0ustar00extend('../layout'); /* @var $p Loco_mvc_ViewParams */ if( $projects ): foreach( $projects as $p ): ?>
name === $p->short ):?>

e('name')?>

e('name')?> (e('short')?>)

render('inc-po-links', array( 'nav' => $p->nav ) ); echo $this->render('inc-po-table', array( 'pairs' => $p->po, 'domain' => $p->domain ) ); ?>

. setup tab to complete the bundle configuration','loco'), $tabs[1]->href )?>.

render('../common/inc-table-filter'); echo $this->render('inc-po-table', array( 'pairs' => $unknown, 'domain' => null ) )?>

e('name')?> ()

. setup tab to complete the bundle configuration','loco'), $tabs[1]->href )?>.

render('inc-po-table', array( 'pairs' => $unknown, 'domain' => null ) )?>
extend('../layout'); ?>

.

admin/bundle/conf.php000066600000023012152141045310010541 0ustar00extend('../layout'); ?>
$p ): $id = sprintf('loco-conf-%u',$i)?>
remove name === $p->short ):?>

e('name')?>

e('name')?> (e('short')?>)

:
:

. ()

:
:

. ()

has('notices') ):?>

admin/bundle/setup/conf.php000066600000006250152141045310011706 0ustar00extend('../setup'); $this->start('header'); if( $params->has('jsonFields') ):?>

_e()?>
has('xmlFields') ):?>

:

_e()?>
has('autoFields') ):?>

Auto setup

We can make some guesses about how this bundle is set up, but we can't guarantee they'll be right.

This is not recommended unless you're a developer able to make manual changes afterwards.

_e()?>
extend('../setup'); $this->start('header'); ?>

.

_e()?>
admin/bundle/setup/meta.php000066600000001162152141045310011704 0ustar00extend('../setup'); $this->start('header'); ?>

. .

render('inc-nav')?>
admin/bundle/setup/core.php000066600000001260152141045310011705 0ustar00extend('../../layout'); ?>

. .

admin/bundle/setup/author.php000066600000001100152141045310012250 0ustar00extend('../setup'); $this->start('header'); ?>

. .

render('inc-nav')?>
admin/bundle/setup/none.php000066600000001033152141045310011712 0ustar00extend('../setup'); $this->start('header'); ?>

. .

render('inc-nav')?>
admin/bundle/setup/partial.php000066600000001023152141045310012406 0ustar00extend('../setup'); $this->start('header'); ?>

.

render('inc-nav')?>
admin/bundle/inc-po-links.php000066600000000552152141045310012123 0ustar00 admin/common/inc-fsconn.php000066600000002652152141045310011677 0ustar00has('connection_type') ):?>

(e('connection_type')?>)

_e();?>

auth ): case 'all': esc_html_e('Write protected','loco'); break; case 'create': esc_html_e('Folder is protected','loco'); break; default: esc_html_e('File is protected','loco'); endswitch;?>: . ?

_e();?>
e('code')?> e('name')?> : date('modified')?>has('meta') && self::e( $meta->getProgressSummary() )?> admin/common/inc-table-filter.php000066600000000375152141045310012763 0ustar00
admin/help/tab-bundle-setup.php000066600000001104152141045310012444 0ustar00

Bundle setup

The Setup tab shows a summary of whether the bundle is configured for translation and where the configuration is stored.

See our help pages for how to set up unconfigured bundles.

Full documentation

Help for bundle authors

admin/help/tab-file-info.php000066600000000520152141045310011706 0ustar00

File information

This screen shows technical information about the selected file. You may find it useful in debugging problems

About filesystem access

admin/help/tab-bundle-conf.php000066600000000631152141045310012235 0ustar00

Advanced configuration

The Advanced tab provides full, manual configuration of the bundle.

This screen is designed for bundle developers, if you don't know what to enter try asking the author.

Full documentation

admin/help/tab-settings.php000066600000000731152141045310011702 0ustar00

. .

admin/help/tab-init-pot.php000066600000000626152141045310011610 0ustar00

Creating a template

This screen is for adding a new translations template for a set of translatable strings.

Your language files use this template to ensure they all reference the same strings.

Full documentation

admin/help/tab-file-view.php000066600000000350152141045310011726 0ustar00

Source view

This screen shows translation files in their raw form. It's read-only because the file syntax is very easy to get wrong. Click the "Editor" tab to make changes safely.

admin/help/tab-list-locales.php000066600000000454152141045310012437 0ustar00

Installed languages

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.

Clicking a language takes you to its translation management screen.

admin/help/tab-bundle-view.php000066600000000357152141045310012267 0ustar00

Bundle overview

The Overview tab lists each set of available translations in the current bundle.

If Loco Translate can't configure your bundle automatically, click the Setup tab to see your options.

admin/help/side-bar.php000066600000001231152141045310010760 0ustar00

admin/help/tab-support.php000066600000001317152141045310011557 0ustar00

If you need help using Loco Translate, please try reading our help pages first. There's a lot of information there to help you understand how it all works.

To ask us a question please start a new thread in the support forum. Provide as much relevant detail as possible and please make it clear how your query is related to Loco Translate.

admin/help/tab-home.php000066600000000357152141045310010776 0ustar00

Loco Translate home screen

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.

admin/help/tab-file-edit.php000066600000000511152141045310011700 0ustar00

The translation editor

This editor allows you to translate and save strings to your server's file system in the correct file format.

Full documentation

admin/help/tab-locale-view.php000066600000000514152141045310012250 0ustar00

Installed language files

This screen lists all files installed for the selected language.

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.

admin/help/tab-init-po.php000066600000000451152141045310011420 0ustar00

Adding a new language

This screen is for adding new translation files on your server's file system.

Full documentation

admin/help/tab-list-bundles.php000066600000000506152141045310012447 0ustar00

Bundle listings

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.

Clicking a bundle takes you to its translation management screen.

admin/config/settings.php000066600000015663152141045310011465 0ustar00extend('../layout'); ?>

admin/config/version.php000066600000003353152141045310011303 0ustar00extend('../layout'); if( $params->has('update') ):?>

.

Downgrade to 1.5.6

If you have problems running the 2.x branch, you can revert back to the legacy version.
Note that maintenance for the 1.x branch has stopped and there will be no further releases.

admin/config/debug.php000066600000006750152141045310010710 0ustar00extend('../layout'); ?>

Versions

$value ): if( $value ):?>
escape($key)?>:
e($key)?>

Unicode

UTF-8 rendering:
OK?> tick?>
Multibyte support:
mbstring?>

Ajax

Endpoint:
/wp-admin/admin-ajax.php
JSON decoding:
json?>
Ajax test result:

Limits

$value ):?>
escape($key)?>:
e($key)?>

Filesystem

Custom languages directory:
e('langdir')?>
Directory writable:
writable?'Yes':'No'?>
File mods disallowed:
disabled?'Yes':'No'?>
File mod safety level:
e('fs_protect')?>

Debug settings

$value ):?>
escape($key)?>:
e($key)?>
admin/config/prefs.php000066600000002301152141045310010725 0ustar00extend('../layout'); ?>

admin/init/init-pot.php000066600000002631152141045310011055 0ustar00extend('../layout'); ?>

e('subhead')?>

n('count')?> (f( 'size', __('%s on disk','loco') )?>)skip ):?> large )?>.

e('relpath')?>

$value ):?>

admin/init/init-po.php000066600000017105152141045310010673 0ustar00extend('../layout'); ?> has('ext') ):?>

. .

e('subhead')?>

e('summary')?>

$value ):?> $location ):?> has('sourceLocale') ):?>

e('label')?>:

:

admin/init/init-prompt.php000066600000002445152141045310011577 0ustar00extend('../layout'); $help = apply_filters('loco_external','https://localise.biz/wordpress/plugin/manual/templates'); ?>

has('pot') ):?>

.

.

.

e('text')?> e('text')?>

admin/errors/no-backups.php000066600000001715152141045310011727 0ustar00extend('../layout'); $help = esc_url( apply_filters('loco_external','https://localise.biz/wordpress/plugin/manual/settings') ); ?>

.

|

admin/errors/file-isdir.php000066600000000706152141045310011713 0ustar00extend('../layout'); ?>

:

e('relpath')?>

admin/errors/file-missing.php000066600000000723152141045310012251 0ustar00extend('../layout'); ?>

:

e('path')?>

admin/errors/file-sec.php000066600000000613152141045310011350 0ustar00extend('../layout'); ?>

: e('reason')?>

admin/errors/no-tokenizer.php000066600000001663152141045310012313 0ustar00extend('../layout'); ?>

Tokenizer extension to scan PHP source code for translatable strings','loco')?>.

template','loco'),$help)?>.

admin/errors/no-locale.php000066600000001005152141045310011526 0ustar00extend('../layout'); ?>

It may not be installed properly. See Installing WordPress in your language.

admin/errors/generic.php000066600000000542152141045310011276 0ustar00extend('../layout'); ?>

getTitle() )?>

getMessage() )?>

admin/layout.php000066600000003542152141045310007666 0ustar00
has('breadcrumb') ):?>

e('title')?>

has('tabs') ):?>
has('fsFields') ): echo $this->render('common/inc-fsconn'); endif?>
_content;?>
has('js') ):?> extend('layout'); ?>

Welcome to the all new version 2

This is an early release of our completely rebuilt plugin. You can switch to version 1 if you want to keep using the old plugin.

:

render('list/inc-table', array( 'bundles' => $recent ) );?>

render('list/inc-table', array( 'bundles' => array($theme) ) )?>

:

render('list/inc-table', array( 'bundles' => $plugins ) )?>

extend('layout'); ?>

Debug

render('../debug/dump'); ?>
admin/list/locales.php000066600000003562152141045310010750 0ustar00extend('../layout'); echo $this->render('../common/inc-table-filter'); ?>
lattr?>>e('lcode')?> e('lname')?> e('lcode')?> n('nfiles',0)?> e('used')?>
admin/list/bundles.php000066600000000253152141045310010754 0ustar00extend('../layout'); echo $this->render('../common/inc-table-filter'); echo $this->render('inc-table');admin/list/inc-table.php000066600000002574152141045310011166 0ustar00
e('name')?> e('dflt')?> time ? $bundle->date('time') : print '--'?> n('size')?>
admin/file/diff.php000066600000007160152141045310010200 0ustar00extend('../layout'); $dfmt = _x( 'j M @ H:i', 'revision date short format', 'default' ); ?>
Current revision saved e('reltime')?>

$file ):?>
e('name')?>

_e();?>
admin/file/delete.php000066600000002352152141045310010530 0ustar00extend('../layout'); ?>

permanently delete the following file?','loco')?>

e('relpath')?>

has('deps') ):?>

e('warn')?>

e('name')?>

_e();?>
admin/file/move-pot.php000066600000001103152141045310011025 0ustar00extend('move'); $this->start('source'); /* @var Loco_mvc_FileParams $file */ /* @var Loco_mvc_ViewParams $current */ ?>

Enter a new location for this file

admin/file/info-pot.php000066600000002040152141045310011013 0ustar00extend('info'); $this->start('header'); ?>

:
date('mtime')?>
:
date('potime')?>
:
getTotalSummary() )?>
type && ! $params->isTemplate ):?>

Unconventional file name

Template files should have the extension ".pot".
If this is intended to be a translation file it should end with a language code.

extend('info'); $this->start('header'); ?>

e('name')?> e('code')?>

:
date('mtime')?>
:
e('author')?> — date('potime')?>
:
getTotalSummary() )?>
existant ):?>

.

extend('info'); $this->start('header'); ?>

e('name')?> e('code')?>

:
date('mtime')?>
:
e('author')?> — date('potime')?>
:
getProgressSummary() )?>
printProgress()?>
existant ):?>

.

has('potfile') ): if( $potfile->synced ):?>

name )?>.

name )?>

has('altpot') ):?>

Alternative template file

extend('../layout'); ?>
_e(); echo $source?>

Confirm relocation

The following files will be moved/renamed to the new location:',$params->escape( $file->basename() ),'

'; endforeach?>

has('advanced') ):?> Advanced

admin/file/view-po.php000066600000001211152141045310010645 0ustar00extend('view'); $this->start('source'); ?>

e('localeName')?>: : date('modified')?>getProgressSummary() )?>

render('msgcat'); admin/file/editor.php000066600000006264152141045310010562 0ustar00extend('../layout'); echo $header; ?>
Loading..
admin/file/view-mo.php000066600000003640152141045310010652 0ustar00extend('view'); $this->start('source'); ?>

.

 126 ) {
                    $line[] = '.'; // <- unprintable
                }
                else {
                    $line[] = $params->escape($c); // <- printable
                }
                // wrap at cols, and print plain text
                if( ++$i === $cols ){
                    echo '  ', implode('', $line ), "\n";
                    $line = array();
                    $i = 0;
                    $r++;
                }
            }
            if( $line ){
                if( $r ){
                   echo str_repeat( '   ', $cols - $i );
                }
                echo '  ', implode('', $line ), "\n";
            }
            ?>
admin/file/view-pot.php000066600000001054152141045310011036 0ustar00extend('view'); $this->start('source'); ?>

: : date('modified')?>getTotalSummary() )?>

render('msgcat'); admin/file/edit-po.php000066600000001047152141045310010627 0ustar00extend('editor'); $this->start('header'); ?>

e('localeName')?>: : date('modified')?>

admin/file/msgcat.php000066600000004147152141045310010550 0ustar00
    $line ):?>
  1. '; continue; } // may be a comment line if( '#' === $line{0} ){ // may be able to parse out references if( isset($line{1}) ){ $symbol = $line{1}; if( ':' === $symbol ){ echo '',preg_replace('/\\S+:\d+/', '\\0', $params->escape($line) ),''; continue; } // parse out flags and formatting directives else if( ',' === $symbol ){ echo '',preg_replace('/[-a-z]+/', '\\0', $params->escape($line) ),''; continue; } } // else treat as normal comment even if empty echo '',$params->escape($line),''; continue; } // grab keyword if there is one before quoted string if( preg_match('/^(msg[_a-z0-9\\[\\]]+)(\s+)/', $line, $r ) ){ echo '',$params->escape($r[1]),'',$params->escape($r[2]),''; $line = substr( $line, strlen($r[0]) ); } // remainder of line (or whole line) should be a quoted string if( preg_match('/^"(.*)"\s*$/', $line, $r ) ){ echo '"',$params->escape($r[1]),'"'; continue; } // else print whatever junk is left of line echo '',$params->escape($line),''; ?>
admin/file/view.php000066600000000156152141045310010240 0ustar00extend('../layout'); echo $source;admin/file/edit-pot.php000066600000000720152141045310011010 0ustar00extend('editor'); $this->start('header'); ?>

: : date('modified')?>

admin/file/info-other.php000066600000000534152141045310011340 0ustar00extend('info'); $this->start('header'); ?>

e('error')?>

admin/file/info.php000066600000007047152141045310010227 0ustar00extend('../layout'); echo $header; ?> existant ):?>

e('relpath')?>

writable ):?>

type )?>

.

ls()?>

.

httpd )?>.

ls()?>

existant ):?>

.

e('relpath')?>

writable ):?>

httpd )?>.

ls()?>

deletable ):?>

.

.

httpd )?>.

ls()?>

extend('move'); $this->start('source'); /* @var Loco_mvc_ViewParams $current */ /* @var Loco_mvc_ViewParams[] $locations */ ?>

Choose a new location for these translations

$location ):?>

e('label')?>:

active ):?>

debug/dump.php000066600000000537152141045310007315 0ustar00
$value ): if( '_' !== $prop{0} ):?>
debug/xml.php000066600000000123152141045310007137 0ustar00
e('xml')?>
admin-poinit.tpl.php000066600000006023152141045430010447 0ustar00 array( 'href' => LocoAdmin::uri() ), __('Settings','loco-translate') => array( 'href' => LocoAdmin::uri( array(), 'settings' ), 'icon' => 'admin-settings' ), // $title => array( 'icon' => 'welcome-add-page' ), ); /* @var $package LocoPackage */ $argpair = $package->get_query(); ?>

$v ):?>


admin-fscheck.tpl.php000066600000003645152141045430010562 0ustar00 array( 'href' => LocoAdmin::uri() ), __('Settings','loco-translate') => array( 'href' => LocoAdmin::uri( array(), 'settings' ), 'icon' => 'admin-settings' ), // __('File check','loco-translate') => array( 'icon' => 'admin-tools' ), ); ?>

get_permission_errors() as $path => $error ):?> get_author_warnings() ):?>

admin-nav.tpl.php000066600000002735152141045430007737 0ustar00

Legacy mode: You're running the old version of Loco Translate. Start using the all new version 2.

admin-root.tpl.php000066600000003237152141045430010134 0ustar00 array(), __('Settings','loco-translate') => array( 'href' => LocoAdmin::uri( array(), 'settings' ), 'icon' => 'admin-settings' ), ); ?>


$themes) ) ?>

$plugins) ) ?>

$core) ) ?>
admin-list.tpl.php000066600000012175152141045430010125 0ustar00 meta() ); $mtime = $package->get_modified(); $n = count( $po ); ?>
  • get_name())?>
  • get_code(); $label = $code ? $code.' : '.$po_locale->get_name() : $po_name; ?>
  • icon_class() )?> %
    check_permissions();?>
  • getMessage() )?>
admin-poedit.tpl.php000066600000016654152141045430010444 0ustar00 array( 'href' => LocoAdmin::uri() ), __('Settings','loco-translate') => array( 'href' => LocoAdmin::uri( array(), 'settings' ), 'icon' => 'admin-settings' ), // $name => array( 'icon' => 'POT' === $type ? 'edit' : 'translation' ), ); $phpbase = Loco::html( Loco::baseurl() ).'/php'; $argpair = $package->get_query(); // whether to show file switcher $pofiles = $package->get_gettext_files(); $modified or $pofiles[] = $path; ?>

get_name() )?>::
:

Loading..
admin-opts.tpl.php000066600000012763152141045430010142 0ustar00 array( 'href' => LocoAdmin::uri() ), __('Settings','loco-translate') => array( 'icon' => 'admin-settings' ), ); ?>
 

admin-upgrade.tpl.php000066600000002023152141045430010570 0ustar00

Start using Loco Translate 2

Version 1 of Loco Translate is no longer maintained.

Version 2 is a complete rebuild. See what's changed here.
Because it's a major version increase, we're making the upgrade optional for the time being.

Keep using the old version

This upgrade will not modify any files. You can change back to version 1 later if you need to.
admin/file/sync-pot.php000066600000000041152141471210011035 0ustar00extend('../layout');admin/file/sync-po.php000066600000000172152141471210010656 0ustar00extend('../layout'); ?>

e('title')?>