Translation : Added support of data entry form labels in generate_lang_file.php
authorBenjamin Renard <brenard@easter-eggs.com>
Wed, 17 Nov 2010 18:11:49 +0000 (19:11 +0100)
committerBenjamin Renard <brenard@easter-eggs.com>
Wed, 17 Nov 2010 18:11:49 +0000 (19:11 +0100)
public_html/lang/generate_lang_file.php

index a077fc1..f066929 100755 (executable)
@@ -73,6 +73,11 @@ if (loadDir('../'.LS_OBJECTS_DIR)) {
         add($lay['label']);
       }
     }
+    if (is_array($conf['LSform']['dataEntryForm'])) {
+      foreach($conf['LSform']['dataEntryForm'] as $def) {
+        add($def['label']);
+      }
+    }
     // LSsearch
     if (is_array($conf['LSsearch']['predefinedFilters'])) {
       foreach($conf['LSsearch']['predefinedFilters'] as $lay) {