Changeset 191 in t29-www for en


Ignore:
Timestamp:
Sep 5, 2010, 9:25:46 PM (13 years ago)
Author:
sven
Message:

Translation System (alles nur in /en):

  • Alle Texte auf englischen Seiten in Absaetze gepackt, damit bearbeitbar
  • Extraseiten aufgeraeumt (uralte Weiterleitungen geloescht)
  • Translation-System-Verbesserung: "Enabled"-Text erst mit Script anzeigen
  • Verbessertes Preloader-System in tools.js
  • Sidebar-Boxen auch auf Extraseiten anzeigen
  • Kleine Designverbesserungen
Location:
en
Files:
7 deleted
11 edited

Legend:

Unmodified
Added
Removed
  • en/communication/fax.shtm

    r173 r191  
    2626        <a href="/en/devices/morse_telegraph.shtm" name="backlink-morse-telegraph"><img src="/shared/photos/kommunikationstechnik/telegrafie-regal.jpg" alt="The telegraph's rack" width="240" height="464" /></a>
    2727        <div class="bildtext">
    28             An extract from the area fax and writing engineering.
     28            <p>An extract from the area fax and writing engineering.</p>
    2929            <p>Humans always wanted to communicate over very long distances. In the early 20th century
    3030            "Morse" was almost synonymously used for the telegraph technology. Around 1938 the first
  • en/communication/television.shtm

    r184 r191  
    2424    <div class="box left clear-after">
    2525        <img src="/shared/photos/kommunikationstechnik/ausschnitt-fernsehraum.jpg" alt="Extract from the television area" width="396" height="297" class="nomargin-bottom" />
    26         <div class="bildtext" style="padding-top: 147px;">Extract from the television room</div>
     26        <p class="bildtext" style="padding-top: 147px;">Extract from the television room</p>
    2727    </div>
    2828
     
    4949        <a href="/en/devices/saba-telerama.shtm" name="backlink-telerama" title="Erläuterung und Bild der Telerama-Projektion anschauen"><img src="/shared/photos/kommunikationstechnik/saba_telerama.jpg" alt="Saba Telerama" width="360" height="466" /></a>
    5050        <div class="bildtext">
    51             <b>Saba Telerama</b>
     51            <p><b>Saba Telerama</b></p>
    5252            <p>Since 1956, the German company SABA produced projection TV-sets. The advertisements said you could even watch television in light rooms which are not shaded. This promise was exaggerated: Only with a special projection screen (made by Saba) which reflects the light primarily in one direction, you can see a sufferable image. Clicking on the picture will show you an <a href="/en/devices/saba-telereama.shtm" class="go">explanation of the Telerama projection technology.</a></p>
    5353            <p>On the right hand in the background you can see a multifunctional device made by Nordmende to see television, hear to broadcasting and gramophone records. On the left the concurrency device with the same features made by Telefunken. They are both made in 1954.</p>
     
    5858        <img src="/shared/photos/kommunikationstechnik/sony_kp5010.jpg" alt="Fotografie vom Sony KP 5010" width="360" height="466" />
    5959        <div class="bildtext">
    60                     <b>Sony KP 5010</b>
     60            <p><b>Sony KP 5010</b></p>
    6161            <p>This is the world's first rear projection colour television set. It was built in the early 1970s and does not yet use ICs but transistors (second generation).</p>
    6262            <!-- 2 Grundfarben kommt nicht, weil die englischen Besucher nicht das technikum29 besuchen werden -->
  • en/computer/analog.shtm

    r184 r191  
    6666    <div class="box left clear-after" style="margin-top: 0;">
    6767       <img src="/shared/photos/rechnertechnik/heathkit-ausschnitt.jpg" alt=" Heathkit Analog Computers H1" width="247" height="179" class="nomargin-bottom"/>
    68        <div class="bildtext">
     68       <p class="bildtext">
    6969          It demonstrates archaic early technology from the first generation.
    7070          We have connected a compatible xy plotter equipped with tubes, too.
     
    7272          href="http://www.fitg.de/fitg_english/">FITG (Association for the
    7373          promition of industrial and technological history)</a>.
    74        </div>
     74       </p>
    7575    </div>
    7676
     
    9090        <h3>Telefunken RAT 700</h3>
    9191        <img src="/shared/photos/rechnertechnik/telefunken_rat700.jpg" width="291" height="917" alt="Telefunken RAT 700" class="nomargin-bottom" />
    92         <div class="bildtext">
     92        <p class="bildtext">
    9393            The image shows the <b>Telefunkten RAT 700</b> in the bottom (first
    9494            model from 1961), above a part from the successor. On the new model
     
    100100            direct voltage is amlified by using choppers still today, but of course
    101101            they are made with electronic components.
    102         </div>
     102        </p>
    103103    </div>
    104104
  • en/computer/univac9200.shtm

    r185 r191  
    128128           extremely rare as from now).</p>
    129129       
    130         <i>This blog will be irregulary continued.</i>
     130        <p><i>This blog will be irregulary continued.</i></p>
    131131
    132132</div><!-- end of content -->
  • en/dev/translation/editor.css

    r189 r191  
    2727body.tr-editing #content { color: #555; }
    2828body.tr-editing #content img { position: relative; }
     29body.tr-enabled #content h2 a.anchor, body.tr-enabled #content h3 a.anchor { display: none; }
    2930
    3031
  • en/dev/translation/editor.js

    r189 r191  
    99 **/
    1010 
    11 if(!t29) t29 = {}; // defined in tools.js
    12 t29.tr = {};       // this namespace
     11if(!t29) t29 = {};       // defined in tools.js
     12if(!t29.tr) t29.tr = {}; // this namespace, also defined in tools.js
    1313
    1414t29.tr.settings = {
    1515    disable_img_license_system: true, // when tr system enabled, disable img licenses for more cleareness
    16         editable_elements: function(){ return $("#content").find("p, ul, ol, blockquote, h2, h3"); },
     16        editable_elements: function(){ return $("#content").find("p, ul, ol, blockquote, dl, table, h2, h3"); },
    1717        infobox_default: "<b>Click</b> to contribute a better translation",
    1818        infobox_corrected: "<span class='thanks'>Thank you for your correction.</span> Click to improve your text again.",
    1919        editorbox_heading: "Contribute a better translation",
    20         top_notice_text: "<h3>Thank you for improving this page</h3><p>Simply hover the text with your mouse and edit a paragraph by clicking on it.</p>"
     20        top_notice_text: "<h3>Thank you for improving this page</h3><p>Simply hover the text with your mouse and edit a paragraph by clicking on it.</p>",
     21       
    2122};
    2223
     
    3536        if(!t29.tr.is_enabled()) $("body").addClass("tr-disabled"); // prepare
    3637        t29.tr.sidebar = $("#sidebar-tr");
    37         t29.tr.sidebar.find(".tr-enabled .button").click(t29.tr.call("set_enabled",false));
    38        
     38        t29.tr.sidebar.append('<span class="arrow tr-enabled"></span>');
     39        t29.tr.sidebar.find(".tr-enabled .button").attr("href","#back_to_normal_mode").click(t29.tr.call("set_enabled",false));
    3940        // initial value
    4041        //t29.tr.set_enabled(true);
     
    198199                alert("Bad state: Starting editing while editing?");
    199200                return; // bad
     201        } else if(!editing_target_or_false && !t29.tr.is_editing()) {
     202                // hab gar nicht bearbeitet.
     203                return;
    200204        }
    201205       
     
    226230                // stop editing
    227231                t29.tr.initial_editor = null;
    228                 //              v- falls es noch irgendeinen anderen Muell geben sollte
    229                 old_editor.add(".tr-editing").attr("contenteditable", "false").removeClass("tr-editing");
     232                if(old_editor) { // falls es noch irgendeinen anderen Muell geben sollte
     233                        old_editor.add(".tr-editing").attr("contenteditable", "false").removeClass("tr-editing");
     234                }
    230235                t29.tr.editorbox.hide();
    231236        }
  • en/devices/dec-history.shtm

    r36 r191  
    2424<!--#echo encoding="none" var="heading" -->
    2525<div id="content">
    26   <h2 class="center"><!--#echo var="title" --></h2>
     26  <h2><!--#echo var="title" --></h2>
    2727
    2828<div class="cols">
  • en/devices/diehl-combitronic.shtm

    r181 r191  
    1313   --><title>technikum29 - <!--#echo var="title" --></title>
    1414
    15     <!--#include virtual="/de/inc/head.inc.shtm" -->
     15    <!--#include virtual="/en/inc/head.inc.shtm" -->
    1616    <meta name="DC.Title" content="technikum29 - <!--#echo var="title" -->" />
    1717    <meta name="t29.SVN" content="$Id$" />
  • en/devices/hellfax-functionality.shtm

    r31 r191  
    55   --><!--#set var="location"     value="hellfax"
    66   --><!--#set var="part"         value="extra"
    7    --><!--#set var="url_de"       value="geraete/hellfax-funktionsschema.shtm.shtm"
     7   --><!--#set var="url_de"       value="geraete/hellfax-funktionsschema.shtm"
    88   --><!--#set var="title_de"     value="Hellfax Funktionsschema"
    99   --><!--#set var="prev"         value="/en/communication/fax.shtm#backlink-hellfax"
     
    2424<!--#echo encoding="none" var="heading" -->
    2525<div id="content">
    26     <h2 class="center"><!--#echo var="title" --></h2>
     26    <h2><!--#echo var="title" --></h2>
    2727
    2828<div class="box center">
  • en/devices/lab_8e.shtm

    r42 r191  
    2424<!--#echo encoding="none" var="heading" -->
    2525<div id="content">
    26     <h2 class="center"><!--#echo var="title" --></h2>
     26    <h2><!--#echo var="title" --></h2>
    2727
    2828<div class="box center">
  • en/inc/menu.inc.shtm

    r189 r191  
    7676    </ul>
    7777  </div><!-- id=menu -->
    78   <div class="box" id="sidebar-tr"> <span class="arrow tr-enabled"></span><!--design-->
     78  <!--#endif --><!-- endif part extra -->
     79 
     80  <div class="box" id="sidebar-tr">
    7981        <div class="tr-disabled">
    80                 <h3>Found a mistake?</h3>
    81                 <p>This site was voluntarily trans&shy;lated by project collab&shy;orators.
    82                    We'ld love to get your help!</p>
     82                <h3>Bad English?</h3>
     83                <p>This site was trans&shy;lated by nonprofessional voluntary project members.
     84                   We'd love to get your help!</p>
    8385                <a class="button white medium" href="/en/dev/translation/editor.php?page=<!--#echo var="DOCUMENT_URI" -->"
    8486                        title="Edit sentences directly inline!">Improve this page</a>
    8587        </div>
    86         <div class="tr-enabled">
    87                 <h3>Improve this page</h3>
    88                 <p>Now simply click on any paragraph to correct it. Thank you!</p>
    89                 <span class="button gray" href="#back_to_normal_mode">Finished!</span>
    90         </div>
    91   </div>
    92   <!--#endif -->
     88  </div><!--sidebar-tr-->
    9389</div><!-- id=sidebar -->
    9490
Note: See TracChangeset for help on using the changeset viewer.
© 2008 - 2013 technikum29 • Sven Köppel • Some rights reserved
Powered by Trac
Expect where otherwise noted, content on this site is licensed under a Creative Commons 3.0 License