{strip}
{bithelp}

{tr}Master Language Strings{/tr}

{if $sourceHash} {form legend="Edit Master String"} {formfeedback hash=$masterMsg} {formfeedback warning="{tr}You will need to clear the System Cache to see the changes.{/tr}"}
{formlabel label="Master String" for="master_string"} {forminput} {/forminput}
 
{/form} {minifind name="Search master strings" sort_mode=$sort_mode} {form legend="Edit Translations"} {tr}Translations strings may appear empty if the language is not loaded. The language will be automatically loaded when you click the edit icon.{/tr} {foreach from=$languages key=langCode item=lang} {if $langCode ne 'en'}
{formlabel label=$lang.native_name} {forminput} {* if results are guessed, we don't need to escape *} {if $masterStrings.$sourceHash.textarea} {else} {/if} {/forminput}
{/if} {/foreach}
   
{formhelp note="Guess Translations will try and get an estimated translation using google language tools. Please make sure you check the returned strings for messed up HTML."}
{/form} {else} {legend legend="Translations"} {minifind name="Search master strings" sort_mode=$sort_mode} {alphabar iall=1} {formfeedback error=$errorMsg success=$successMsg}
    {foreach from=$masterStrings key=sourceHash item=master}
  1. {$master.source|escape} {smartlink ititle="Delete Master String" ibiticon="liberty/delete_small" delete_master=1 source_hash=$sourceHash}
  2. {/foreach}
{alphabar iall=1} {/legend} {/if}
{/strip}