Module: check_mk
Branch: master
Commit: e00a3f03dcf44b1e2bf3961a47e8ed10e84d3f55
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=e00a3f03dcf44b…
Author: Mathias Kettner <mk(a)mathias-kettner.de>
Date: Wed Jan 25 18:54:50 2012 +0100
Make help of l10n fit into 80 columns
---
modules/localize.py | 24 ++++++++++++------------
1 files changed, 12 insertions(+), 12 deletions(-)
diff --git a/modules/localize.py b/modules/localize.py
index 6769ee6..43d6014 100755
--- a/modules/localize.py
+++ b/modules/localize.py
@@ -60,20 +60,21 @@ def localize_usage(err = ''):
sys.stdout.write("""Usage: check_mk [-v] --localize COMMAND [ARGS]
Available commands are:
- update LANG (ALIAS) ... Creates or updates a .po file for the given language.
- The alias is an optional attribute which will be used as
- display string in the Multisite GUI.
- compile LANG ... Compiles the .po file into a .mo file which can
- be used by gettext.
- edit LANG ... Call update, open .po in editor and compile in one step
+ update LANG [ALIAS] ... Creates or updates a .po file for the given
+ language. The alias is an optional attribute
+ which will be used as display string in the
+ Multisite GUI.
+ compile LANG ... Compiles the .po file into a .mo file which can
+ be used by gettext.
+ edit LANG ... Call update, open .po in editor and compile in one step
- The regular process for translating is:
+ The regular process for translating is:
- 1.) Create/update the .po file for the given language
- 2.) Edit the .po file
- 3.) Compile the .po file to get a .mo file which can be used by gettext
+ 1.) Create/update the .po file for the given language
+ 2.) Edit the .po file
+ 3.) Compile the .po file to get a .mo file which can be used by gettext
- Locale files are located in: %s
+ Locale files are located in: %s
""" % locale_base)
def do_localize(args):
@@ -248,7 +249,6 @@ def localize_update(lang):
sys.stdout.write('Updating .po file for language %s...\n' % lang)
localize_update_po()
-
# Create a .mo file from the given .po file
def localize_compile(lang):
if not lang: