diff options
Diffstat (limited to 'templates/select_translations.tpl')
| -rw-r--r-- | templates/select_translations.tpl | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/templates/select_translations.tpl b/templates/select_translations.tpl index 05e7116..4ece604 100644 --- a/templates/select_translations.tpl +++ b/templates/select_translations.tpl @@ -1,16 +1,17 @@ {* don't show if this is the page creation *} <div class="row"> - {formlabel label="Translations" for=""} + {formlabel label="Translations" for="to_id"} {forminput} - <input type="hidden" name="translation_id" value="{$translationId}" /> - <select name="translate_content_id"> + <input type="hidden" name="i18n[translation_id]" value="{$translationId}" /> + <input type="hidden" name="i18n[from_id]" value="{$smarty.request.i18n.from_id|default:$gContent->mContentId}" /> + <select name="i18n[to_id]" id="to_id"> {foreach from=$translationsList key=langCode item=lang} <option value="{$lang.content_id|default:$langCode}">{$lang.native_name}: {$lang.title|default:"• {tr}Create New{/tr} •"}</option> {/foreach} </select> + <label><input type="checkbox" name="i18n[google]" /> {tr}Attempt Google translation{/tr}</label> <br /> - <label><input type="checkbox" name="translate_google" /> {tr}Attempt Google translation{/tr}</label><br/> - <input type="submit" name="translate" value="{tr}Translate{/tr}" /> - {formhelp note="If you feel like translating this page into a different language, please select the correct languages above and hit <strong>translate</strong>."} + <input type="submit" name="i18n[translate]" value="{tr}Translate{/tr}" /> + {formhelp note="If you feel like translating this page into a different language, please select the correct language above and hit <strong>Translate</strong>."} {/forminput} </div> |
