From 198245b85ec753ba5720cb90e49137548d54cb5f Mon Sep 17 00:00:00 2001 From: lsces Date: Tue, 3 Jun 2014 22:21:29 +0100 Subject: Switch to BS3 form-group --- templates/admin_languages.tpl | 10 +++++----- templates/edit_languages.tpl | 32 ++++++++++++++++---------------- templates/import_languages.tpl | 22 +++++++++++----------- templates/import_resolve.tpl | 10 +++++----- templates/language_master_strings.tpl | 28 ++++++++++++++-------------- templates/select_translations.tpl | 4 ++-- templates/translate_strings.tpl | 12 ++++++------ 7 files changed, 59 insertions(+), 59 deletions(-) diff --git a/templates/admin_languages.tpl b/templates/admin_languages.tpl index f141b79..8b4fd79 100644 --- a/templates/admin_languages.tpl +++ b/templates/admin_languages.tpl @@ -1,7 +1,7 @@ {form legend="Language Settings"} -
+
{formlabel label="Language" for="bitlanguage"} {forminput} +
+
{/form} diff --git a/templates/edit_languages.tpl b/templates/edit_languages.tpl index 94cd5ec..7c24436 100644 --- a/templates/edit_languages.tpl +++ b/templates/edit_languages.tpl @@ -14,33 +14,33 @@ {form legend="Create or Edit Language"} {formfeedback error=$saveErrors } -
+
{formlabel label="Native name of the language" for="native_name"} {forminput} {/forminput}
-
+
{formlabel label="English name of the language" for="english_name"} {forminput} {/forminput}
-
+
{formlabel label="Language code" for="lang_code"} {forminput} {formhelp note='For official language codes, see ISO639-1 and to add a localisation you can append the country code from ISO 3166-1.
e.g. ISO639-1 for english is "en" and the country code for britain is "uk". The resulting code is "en-uk".'} {/forminput}
-
+
-
- +
+
{formhelp note="A note for localisations: when you have a language, say 'de' and you add a localisation such as 'de-at' it will first check de-at for a string and then fall back to de. If it still hasn't found a translation, it will default to english."} {/form} @@ -51,7 +51,7 @@ {jstab title="Choose Language"} {formfeedback success=$saveSuccess} {form legend="Choose language"} -
+
{formlabel label="Select the language to edit" for="select_language"} {forminput} Display all strings {formhelp note="This will display translation strings for all bitweaver versions. This means it will also show strings that are not used at all and might be useless to you."} @@ -73,7 +73,7 @@
{/if} -
+