{** * plugins/generic/translator/locale.tpl * * Copyright (c) 2013-2015 Simon Fraser University Library * Copyright (c) 2003-2015 John Willinsky * Distributed under the GNU GPL v2. For full terms see the file docs/COPYING. * * List of component locales to edit for a particular locale * *} {strip} {translate|assign:"pageTitleTranslated" key="plugins.generic.translator.locale" locale=$locale} {include file="common/header.tpl"} {/strip}

{translate key="plugins.generic.translator.localeDescription"}

{translate key="plugins.generic.translator.localeFiles"}

{assign var=needsAsteriskNote value=0} {iterate from=localeFiles item=filename} {assign var=filenameEscaped value=$filename|escape:"url"|escape:"url"} {if file_exists($filename)} {assign var=fileExists value=1} {else} {assign var=fileExists value=0} {assign var=needsAsteriskNote value=1} {/if} {/iterate} {if $localeFiles->wasEmpty()} {else} {/if}
 
{translate key="plugins.generic.translator.file.filename"} {translate key="common.action"}
 
{if $fileExists} {$filename|escape} {else} {$filename|escape} * {/if} {if $fileExists} {translate key="common.edit"} {else} {url|assign:"redirectUrl" op="editLocaleFile" path=$locale|to_array:$filenameEscaped} {translate key="common.create"} {/if}
 
{translate key="common.none"}
 
{page_info iterator=$localeFiles} {page_links anchor="localeFiles" name="localeFiles" iterator=$localeFiles}
{if $needsAsteriskNote} {translate key="plugins.generic.translator.file.doesNotExistNote"} {/if}

{translate key="plugins.generic.translator.miscFiles"}

{assign var=needsAsteriskNote value=0} {iterate from=miscFiles item=filename} {assign var=filenameEscaped value=$filename|escape:"url"|escape:"url"} {if file_exists($filename)} {assign var=fileExists value=1} {else} {assign var=fileExists value=0} {assign var=needsAsteriskNote value=1} {/if} {/iterate} {if $miscFiles->wasEmpty()} {else} {/if}
 
{translate key="plugins.generic.translator.file.filename"} {translate key="common.action"}
 
{if $fileExists} {$filename|escape} {else} {$filename|escape} * {/if} {if $fileExists} {translate key="common.edit"} {else} {url|assign:"redirectUrl" op="editMiscFile" path=$locale|to_array:$filenameEscaped} {translate key="common.create"} {/if}
 
{translate key="common.none"}
 
{page_info iterator=$miscFiles} {page_links anchor="miscFiles" name="miscFiles" iterator=$miscFiles}
{if $needsAsteriskNote} {translate key="plugins.generic.translator.file.doesNotExistNote"} {/if}

{translate key="plugins.generic.translator.emails"}

{iterate from=emails key=emailKey item=email} {/iterate} {if $emails->wasEmpty()} {else} {/if}
 
{translate key="manager.emails.emailKey"} {translate key="plugins.generic.translator.file.filename"} {translate key="common.action"}
 
{$emailKey|escape} {$email.subject|escape} {translate key="common.edit"} | {translate key="common.delete"}
 
{translate key="common.none"}
 
{page_info iterator=$emails} {page_links anchor="emails" name="emails" iterator=$emails}
{include file="common/footer.tpl"}