From ee0d3e0ddc56ae9c4442720c11022807f165f1c5 Mon Sep 17 00:00:00 2001
From: Per Hedbor <ph@opera.com>
Date: Mon, 25 Aug 2014 18:41:05 +0200
Subject: [PATCH] [autodoc] Added note about extract_locale to the Locale
 module.

---
 lib/modules/Locale.pmod/module.pmod | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)

diff --git a/lib/modules/Locale.pmod/module.pmod b/lib/modules/Locale.pmod/module.pmod
index a1e61b9404..b5f872c4e6 100644
--- a/lib/modules/Locale.pmod/module.pmod
+++ b/lib/modules/Locale.pmod/module.pmod
@@ -33,6 +33,25 @@
 //!    write(LOCALE(0, "This is another one.\n");
 //!    return 0;
 //!  }
+//!
+//! @note
+//!   In order to update your code to actually use the locale strings
+//!   you need to run the locale extractor.
+//!
+//!   This is available as pike -x extract_locale
+//!
+//! @code
+//!   Syntax: pike -x extract_locale [arguments] infile(s)
+//!    Arguments: --project=name  default: first found in infile
+//!               --config=file   default: [project].xml
+//!               --out=file      default: [project]_eng.xml
+//!               --nocopy        update infile instead of infile.new
+//!               --notime        don't include dump time in xml files
+//!               --wipe          remove unused ids from xml
+//!               --sync          synchronize all locale projects
+//!               --encoding=enc  default: ISO-8859-1
+//!               --verbose       more informative text in xml
+//! @endcode
 
 #define CLEAN_CYCLE 60*60
 //#define LOCALE_DEBUG
-- 
GitLab