Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
pike
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
pikelang
pike
Commits
ee0d3e0d
Commit
ee0d3e0d
authored
10 years ago
by
Per Hedbor
Browse files
Options
Downloads
Patches
Plain Diff
[autodoc] Added note about extract_locale to the Locale module.
parent
5047bed1
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
lib/modules/Locale.pmod/module.pmod
+19
-0
19 additions, 0 deletions
lib/modules/Locale.pmod/module.pmod
with
19 additions
and
0 deletions
lib/modules/Locale.pmod/module.pmod
+
19
−
0
View file @
ee0d3e0d
...
@@ -33,6 +33,25 @@
...
@@ -33,6 +33,25 @@
//! write(LOCALE(0, "This is another one.\n");
//! write(LOCALE(0, "This is another one.\n");
//! return 0;
//! 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 CLEAN_CYCLE 60*60
//#define LOCALE_DEBUG
//#define LOCALE_DEBUG
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment