doxygen: add newline after \file
[blender.git] / source / blender / blentranslation / intern / blt_lang.c
index 4563368..b7f6fcd 100644 (file)
@@ -17,8 +17,8 @@
  * All rights reserved.
  */
 
-/** \file blender/blentranslation/intern/blt_lang.c
- *  \ingroup blt
+/** \file
+ * \ingroup blt
  *
  * Main internationalization functions to set the locale and query available languages.
  */
@@ -36,8 +36,6 @@
 #include "BLT_translation.h"
 #include "BLT_lang.h"  /* own include */
 
-#include "BLI_fileops.h"
-#include "BLI_linklist.h"
 #include "BLI_path_util.h"
 #include "BLI_string.h"
 #include "BLI_utildefines.h"
@@ -54,6 +52,9 @@ static void blt_lang_check_ime_supported(void);
 
 #ifdef WITH_INTERNATIONAL
 
+#include "BLI_fileops.h"
+#include "BLI_linklist.h"
+
 #include "boost_locale_wrapper.h"
 
 /* Locale options. */
@@ -151,9 +152,12 @@ static void fill_locales(void)
                                        }
 
                                        if (id == 0) {
-                                               /* The DEFAULT item... */
+                                               /* The DEFAULT/Automatic item... */
                                                if (BLI_strnlen(loc, 2)) {
-                                                       locales[id] = locales_menu[idx].description = BLI_strdup("");
+                                                       locales[id] = "";
+                                                       /* Keep this tip in sync with the one in rna_userdef (rna_enum_language_default_items). */
+                                                       locales_menu[idx].description = BLI_strdup("Automatically choose system's defined language "
+                                                                                                  "if available, or fall-back to English");
                                                }
                                                /* Menu "label", not to be stored in locales! */
                                                else {