From 7ab440d63d8da0000397def0f7b95fa419f4f875 Mon Sep 17 00:00:00 2001 From: spiderr Date: Thu, 4 Apr 2013 01:33:10 -0400 Subject: cleanup edit forms --- templates/admin_languages.tpl | 2 +- templates/edit_languages.tpl | 10 +++++----- templates/import_languages.tpl | 4 ++-- templates/import_resolve.tpl | 2 +- templates/language_master_strings.tpl | 14 +++++++------- templates/select_translations.tpl | 2 +- templates/translate_strings.tpl | 4 ++-- 7 files changed, 19 insertions(+), 19 deletions(-) (limited to 'templates') diff --git a/templates/admin_languages.tpl b/templates/admin_languages.tpl index cb05f25..a149679 100644 --- a/templates/admin_languages.tpl +++ b/templates/admin_languages.tpl @@ -33,6 +33,6 @@
- +
{/form} diff --git a/templates/edit_languages.tpl b/templates/edit_languages.tpl index b04bdf9..1eb2902 100644 --- a/templates/edit_languages.tpl +++ b/templates/edit_languages.tpl @@ -41,7 +41,7 @@ {/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} @@ -86,13 +86,13 @@ {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."}
-   -   +   +  
{if $gBitUser->hasPermission( 'p_languages_create' )}
- +
{/if} {/form} @@ -104,7 +104,7 @@
{formlabel label="Clear Language Cache" for="clear_cache"} {forminput} - + {formhelp note="Clear the cached language translations for all languages. It is necessary to clear the cache when you have made changes to the language database."} {/forminput}
diff --git a/templates/import_languages.tpl b/templates/import_languages.tpl index 7cdae66..a70cac5 100644 --- a/templates/import_languages.tpl +++ b/templates/import_languages.tpl @@ -59,7 +59,7 @@
- +
{/form} {/jstab} @@ -110,7 +110,7 @@
- +
{/form} {/jstab} diff --git a/templates/import_resolve.tpl b/templates/import_resolve.tpl index 2d1f9f4..794376f 100644 --- a/templates/import_resolve.tpl +++ b/templates/import_resolve.tpl @@ -38,7 +38,7 @@ {/foreach}
- +
{/form} diff --git a/templates/language_master_strings.tpl b/templates/language_master_strings.tpl index b78e93c..20d8a75 100644 --- a/templates/language_master_strings.tpl +++ b/templates/language_master_strings.tpl @@ -25,8 +25,8 @@ {*
- -   + +  
*} @@ -53,9 +53,9 @@ {/foreach}
- - - + + + {if $gBitSystem->getConfig('google_api_key')}
Auto Translate Empty Strings
{/if} @@ -86,7 +86,7 @@
- +
{/form} @@ -109,7 +109,7 @@
- +
{alphabar iall=1} diff --git a/templates/select_translations.tpl b/templates/select_translations.tpl index f5cbc60..d0cb661 100644 --- a/templates/select_translations.tpl +++ b/templates/select_translations.tpl @@ -11,7 +11,7 @@ {/foreach}
- +   {formhelp note="To translate this page into a different language, select that language above and click Translate. To use Google's translation service, enable the checkbox first (depending on the size of this page's text, Google's translation might take a while). "} {/forminput} diff --git a/templates/translate_strings.tpl b/templates/translate_strings.tpl index 9517e4b..3fb1ae4 100644 --- a/templates/translate_strings.tpl +++ b/templates/translate_strings.tpl @@ -51,8 +51,8 @@ {/foreach}
-   - +   + {if $gBitSystem->getConfig('google_api_key')}
{tr}Auto Translate Empty Strings{/tr}
{/if} -- cgit v1.3