trans-coord-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

/software/trans-coord/manual/web-trans/web-trans.html#CSS


From: Joerg Kohne
Subject: /software/trans-coord/manual/web-trans/web-trans.html#CSS
Date: Sun, 12 Feb 2012 19:40:43 +0100
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.26) Gecko/20120131 Lightning/1.0b2 Thunderbird/3.1.18

Hi!

The procedure to tie a team-specific CSS seems to be no longer up-to-date.
There is no original 'style.css' available:

5.3 How To Use Custom CSS

The file style.css gets included in almost all the English articles. It includes two other files, which form the actual CSS style used. However, this style is seldom right for translations—many languages have much longer expressions, and that is natural. To include your own CSS, create a file style.lang.css and add it after the original style.css in your server/po/head-include-2.lang.po, i.e.

     # type: style
     msgid "@import url('/style.css');"
     msgstr ""
     "@import url('/style.css');\n"
     "@import url('/style.bg.css');"
GNUN reinitialized this and the .po file contains only the initial header section. I don't know about the recommended procedure; however, this workaround helps (until next time):

[in server/head-include-2.lang.html]

  <!-- start of head-include-2.lang.html -->
  <link rel="stylesheet" href="" media="screen" />
  [...]
+ <link rel="stylesheet" href=""file">lang.css" media="screen" />
  <!-- end of head-include-2.lang.html -->

Joerg

reply via email to

[Prev in Thread] Current Thread [Next in Thread]