From bf4c2b3e6338be581b0bdad94ebb9ae135ced320 Mon Sep 17 00:00:00 2001 From: spiderr Date: Wed, 19 Nov 2014 16:19:40 -0500 Subject: add-forminput-label-param-for-bs3 --- templates/edit_languages.tpl | 12 ++++---- templates/import_languages.tpl | 62 ++++++++++++++++++++++-------------------- 2 files changed, 38 insertions(+), 36 deletions(-) diff --git a/templates/edit_languages.tpl b/templates/edit_languages.tpl index f1ecad4..1b086c8 100644 --- a/templates/edit_languages.tpl +++ b/templates/edit_languages.tpl @@ -34,10 +34,10 @@ {/forminput}
- + {/forminput}
@@ -66,18 +66,18 @@ {if $gBitSystem->isFeatureActive( 'i18n_track_translation_usage' )}
- + {/forminput}
{/if}
- + {/forminput}
{formfeedback warning="Editing a language for the first time will cause an import of the language. this can take several minutes, depending on your configuration."} diff --git a/templates/import_languages.tpl b/templates/import_languages.tpl index 1b8e1b5..0c4b2cd 100644 --- a/templates/import_languages.tpl +++ b/templates/import_languages.tpl @@ -14,18 +14,19 @@ {form legend="Import languages" enctype="multipart/form-data"}
{formlabel label="Select the languages to Import"} - {forminput} - {formhelp note="Languages that are checked below will be imported from the language string files in the bitweaver distribution. If you have your own language file, please choose it below."} - {foreach from=$impLanguages key=langCode item=lang} -
- {/foreach} + {formhelp note="Languages that are checked below will be imported from the language string files in the bitweaver distribution. If you have your own language file, please choose it below."} + {foreach from=$impLanguages key=langCode item=lang} + {forminput label="checkbox"} + {$lang.full_name} + {/forminput} + {/foreach} - {if $gBitUser->isAdmin()} -
-
+ {if $gBitUser->isAdmin()} + {forminput label="checkbox"} + Master Strings {formhelp note="The English strings file will be used to set up the language database and will be used as a reference for translations."} - {/if} - {/forminput} + {/forminput} + {/if}
@@ -46,15 +47,14 @@
{formlabel label="Options"} - {forminput} - -
- -
- + {forminput label="radio"} + {tr}Do not import string if it has been changed in the local database{/tr} + {/forminput} + {forminput label="radio"} + {tr}Overwrite changes in the local database{/tr} + {/forminput} + {forminput label="radio"} + {tr}Manually resolve conflicts between database and import file{/tr} {/forminput}
@@ -70,10 +70,10 @@
{formlabel label="Language to export" for="exp_lang"} {forminput} - + {foreach from=$expLanguages key=langCode item=lang} + + {/foreach} {formhelp note=""} {/forminput} @@ -81,28 +81,30 @@ {if $gBitSystem->isFeatureActive( 'i18n_track_translation_usage' )}
- + {/forminput}
{else} {/if}
- + {/forminput}
{formlabel label="Destination" for="is_disabled"} - {forminput} -
+ {forminput label="radio"} + {tr}Save to temporary file{/tr} {formhelp note="This will save the file to a temporary location on the server."} -
+ {/forminput} + {forminput label="radio"} + {tr}Download translation file{/tr} {formhelp note="Save this to languages/lang/(lang_code)/language.php where lang_code is the language your are downloading."} {/forminput}
-- cgit v1.3