summaryrefslogtreecommitdiff
path: root/docs/HOWTO_compile_lang_files.txt
diff options
context:
space:
mode:
authorsmatz <smatz@openttd.org>2011-01-16 13:36:47 +0000
committersmatz <smatz@openttd.org>2011-01-16 13:36:47 +0000
commit82346d4608929752e23ca87f79c80aba60ec8f9a (patch)
treef22a0c0a9c1eaac0a4b315c674be259faedf8483 /docs/HOWTO_compile_lang_files.txt
parent32cd182ecc668874efdf9f30760fd67a2d8646c2 (diff)
downloadopenttd-82346d4608929752e23ca87f79c80aba60ec8f9a.tar.xz
(svn r21823) -Documentation: update the style used in several documentation files
Diffstat (limited to 'docs/HOWTO_compile_lang_files.txt')
-rw-r--r--docs/HOWTO_compile_lang_files.txt24
1 files changed, 18 insertions, 6 deletions
diff --git a/docs/HOWTO_compile_lang_files.txt b/docs/HOWTO_compile_lang_files.txt
index 570381efa..c56f97a62 100644
--- a/docs/HOWTO_compile_lang_files.txt
+++ b/docs/HOWTO_compile_lang_files.txt
@@ -1,5 +1,17 @@
-STRGEN USAGE
-------------
+OpenTTD and strgen
+Last updated: 2009-06-30
+------------------------------------------------------------------------
+
+
+Table of contents
+-----------------
+1.0) strgen usage
+ * 1.1) Examples
+ * 1.2) strgen command switches
+
+
+1.0) strgen usage
+---- ------------
This guide is only interesting for people who want to alter something
themselves without access to translator.openttd.org. Please note that
your compiled language file will only be compatible with the OpenTTD version
@@ -14,8 +26,8 @@ strgen takes as argument a txt file and translates it to a lng file, allowing
it to be used inside OpenTTD. strgen needs the master language file
english.txt to work. Below are some examples of strgen usage.
-EXAMPLES
---------
+1.1) Examples
+---- --------
Example 1:
if you are in the root of your working copy (svn code), you should type
strgen/strgen -s lang lang/english.txt
@@ -35,8 +47,8 @@ resulting language file to go to /tmp. Use
You can interchange english.txt to whichever language you want to generate a
.lng file for.
-STRGEN COMMAND SWITCHES
------------------------
+1.2) strgen command switches
+---- -----------------------
-v | --version
strgen will tell what svn revision it was last modified