Hi again,
Additionally, I have made some changes (related with hyphenation).
The patch (for trunk) is attached here.
Best regards,
Nilgün
Perşembe 19 Haziran 2008 18:33 sularında, Nilgün Belma Bugüner şunları
yazmıştı:
> Hi,
>
> I have made some changes in order to correctly generate Turkish man
> pages. The related patch (for trunk) is attached here.
>
> However in order to produce Turkish man pages in docs/man directory,
> the ones in English have to be deleted. It would be better if man pages
> in each language be placed in their respective directory (e.g. docs/man/tr).
>
>
> Best regards,
> Nilgün
>
>
Index: manual/style/lang/en.xml
===================================================================
--- manual/style/lang/en.xml (revision 669159)
+++ manual/style/lang/en.xml (working copy)
@@ -67,6 +67,10 @@
<!-- Used in manualpage -->
<message id="relatedmodules">Related Modules</message>
<message id="relateddirectives">Related Directives</message>
+ <message id="lowercase">abcdefghijklmnopqrstuvwxyz</message>
+ <message id="uppercase">ABCDEFGHIJKLMNOPQRSTUVWXYZ</message>
+ <message id="name-section">NAME</message>
+ <message id="hyphenation"></message>
<!-- Used in description box for directives -->
<message id="syntax">Syntax</message>
@@ -131,7 +135,7 @@
<message id="before-license">Licensed under the</message>
<message id="after-license"></message>
<message id="langavail">Available Languages</message>
-
+
<!-- not up to date -->
<message id="outofdate">This translation may be out of date. Check the
English version for recent changes.</message>
Index: manual/style/lang/tr.xml
===================================================================
--- manual/style/lang/tr.xml (revision 669159)
+++ manual/style/lang/tr.xml (working copy)
@@ -69,6 +69,10 @@
<!-- Used in manualpage -->
<message id="relatedmodules">İlgili Modüller</message>
<message id="relateddirectives">İlgili Yönergeler</message>
+ <message id="lowercase">abcçdefgğhıijklmnoöpqrsştuüvwxyz</message>
+ <message id="uppercase">ABCÇDEFGĞHIİJKLMNOÖPQRSŞTUÜVWXYZ</message>
+ <message id="name-section">İSİM</message>
+ <message id="hyphenation">.nh</message>
<!-- Used in description box for directives -->
<message id="syntax">Sözdizimi</message>
Index: manual/style/xsl/nroff.xsl
===================================================================
--- manual/style/xsl/nroff.xsl (revision 669159)
+++ manual/style/xsl/nroff.xsl (working copy)
@@ -62,7 +62,7 @@
* CONTRIBUTOR BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
* WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
* FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
- * OTHER DEALINGS IN THE SOFTWARE.
+ * OTHER DEALINGS IN THE SOFTWARE.
*/ -->
<!DOCTYPE xsl:stylesheet [
@@ -78,8 +78,8 @@
<xsl:param name="date" />
<!-- Constants used for case translation -->
-<xsl:variable name="lowercase" select="'abcdefghijklmnopqrstuvwxyz'" />
-<xsl:variable name="uppercase" select="'ABCDEFGHIJKLMNOPQRSTUVWXYZ'" />
+<xsl:variable name="lowercase" select="[EMAIL PROTECTED]'lowercase']" />
+<xsl:variable name="uppercase" select="[EMAIL PROTECTED]'uppercase']" />
<!-- ==================================================================== -->
<!-- <manualpage> -->
@@ -127,7 +127,7 @@
<xsl:text>" "</xsl:text>
<!-- productname -->
-<xsl:value-of select="'Apache HTTP Server'" />
+<xsl:value-of select="concat([EMAIL PROTECTED]'apache'], ' ', [EMAIL PROTECTED]'http-server'])" />
<xsl:text>" "</xsl:text>
<!-- title -->
@@ -148,8 +148,8 @@
<!-- Process heading -->
<!-- ==================================================================== -->
<xsl:template match="manualpage/title">
-&lf;
-<xsl:text>.SH NAME</xsl:text>&lf;
+<xsl:value-of select="[EMAIL PROTECTED]'hyphenation']" />&lf;
+<xsl:value-of select="concat('.SH ', [EMAIL PROTECTED]'name-section'])" />&lf;
<xsl:variable name="text">
<xsl:call-template name="filter.escape">
<xsl:with-param name="text" select="normalize-space(.)" />
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]