From d5f311d3a2f96190674325ee64301e60f6db4f3e Mon Sep 17 00:00:00 2001 From: rubidium Date: Mon, 5 Jan 2009 17:45:40 +0000 Subject: [PATCH] (svn r14846) -Doc: strgen hasn't been part of the trunk/release binaries for quite a while, so point to the precompiled strgen package instead. --- docs/HOWTO_compile_lang_files.txt | 5 +++-- readme.txt | 5 ++++- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/docs/HOWTO_compile_lang_files.txt b/docs/HOWTO_compile_lang_files.txt index 101e50b020..ce5d6cd388 100644 --- a/docs/HOWTO_compile_lang_files.txt +++ b/docs/HOWTO_compile_lang_files.txt @@ -7,8 +7,9 @@ you have downloaded english.txt, the master language file, for. While this is not always true, namely when changes in the code have not touched language files, your safest bet is to assume this 'limitation'. As a first step you need to compile strgen. This is as easy as typing -'make strgen'. You can also download a precompiled binary from a release, -nightly, etc. +'make strgen'. You can download the precompile strgen from: +http://www.openttd.org/download-strgen + 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. diff --git a/readme.txt b/readme.txt index 78a3da1790..fbcd72a5b3 100644 --- a/readme.txt +++ b/readme.txt @@ -411,7 +411,10 @@ Note: Do not alter the following parts of the file: 8.3) Previewing: ---- ------------------- In order to view the translation in the game, you need to compile your language -file with the strgen utility, which is now bundled with the game. +file with the strgen utility. You can download the precompiled strgen from: +http://www.openttd.org/download-strgen +To compile it yourself just take the normal OpenTTD sources and build that. +During the build process the strgen utility will be made. strgen is a command-line utility. It takes the language filename as parameter. Example: