File: en.php

package info (click to toggle)
moodle 1.6.3-2%2Betch3
  • links: PTS
  • area: main
  • in suites: etch
  • size: 37,172 kB
  • ctags: 51,688
  • sloc: php: 231,916; sql: 5,631; xml: 2,688; sh: 1,185; perl: 638; makefile: 48; pascal: 36
file content (91 lines) | stat: -rw-r--r-- 4,417 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
<?php // $Id: en.php,v 1.1.2.1 2006/06/23 19:50:42 julmis Exp $
    include("../../../../config.php");
    $lastmodified = filemtime("en.php");
    $lifetime = 1800;

    // Commenting this out since it's creating problems
    // where solution seem to be hard to find...
    // http://moodle.org/mod/forum/discuss.php?d=34376
    //if ( function_exists('ob_gzhandler') ) {
    //    ob_start("ob_gzhandler");
    //}

    $charset = get_string('thischarset');
    header("Content-type: application/x-javascript; charset: $charset");  // Correct MIME type
    header("Last-Modified: " . gmdate("D, d M Y H:i:s", $lastmodified) . " GMT");
    header("Expires: " . gmdate("D, d M Y H:i:s", time() + $lifetime) . " GMT");
    // See Bug #2387
    header("Cache-control: max_age = -1");
    header("Pragma: no-cache");

?>
// I18N constants

// LANG: "en", ENCODING: UTF-8 | ISO-8859-1
// Author: Mihai Bazon, <mishoo@infoiasi.ro>

// FOR TRANSLATORS:
//
//   1. PLEASE PUT YOUR CONTACT INFO IN THE ABOVE LINE
//      (at least a valid email address)
//
//   2. PLEASE TRY TO USE UTF-8 FOR ENCODING;
//      (if this is not possible, please include a comment
//       that states what encoding is necessary.)
HTMLArea.I18N = {

    // the following should be the filename without .js extension
    // it will be used for automatically load plugin language.
    lang: "en",

    tooltips: {
        bold:           "<?php print_string("bold","editor") ?>",
        italic:         "<?php print_string("italic","editor") ?>",
        underline:      "<?php print_string("underline","editor") ?>",
        strikethrough:  "<?php print_string("strikethrough","editor") ?>",
        subscript:      "<?php print_string("subscript","editor") ?>",
        superscript:    "<?php print_string("superscript","editor") ?>",
        justifyleft:    "<?php print_string("justifyleft","editor") ?>",
        justifycenter:  "<?php print_string("justifycenter","editor") ?>",
        justifyright:   "<?php print_string("justifyright","editor") ?>",
        justifyfull:    "<?php print_string("justifyfull","editor") ?>",
        insertorderedlist:    "<?php print_string("orderedlist","editor") ?>",
        insertunorderedlist:  "<?php print_string("unorderedlist","editor") ?>",
        outdent:        "<?php print_string("outdent","editor") ?>",
        indent:         "<?php print_string("indent","editor") ?>",
        forecolor:      "<?php print_string("forecolor","editor") ?>",
        hilitecolor:    "<?php print_string("hilitecolor","editor") ?>",
        inserthorizontalrule: "<?php print_string("horizontalrule","editor") ?>",
        createlink:     "<?php print_string("createlink","editor") ?>",
        unlink:         "<?php print_string("removelink","editor") ?>",
        nolink:         "<?php print_string("nolink","editor") ?>",
        insertimage:    "<?php print_string("insertimage","editor") ?>",
        inserttable:    "<?php print_string("inserttable","editor") ?>",
        htmlmode:       "<?php print_string("htmlmode","editor") ?>",
        popupeditor:    "<?php print_string("popupeditor","editor") ?>",
        about:          "<?php print_string("about","editor") ?>",
        showhelp:       "<?php print_string("showhelp","editor") ?>",
        textindicator:  "<?php print_string("textindicator","editor") ?>",
        undo:           "<?php print_string("undo","editor") ?>",
        redo:           "<?php print_string("redo","editor") ?>",
        cut:            "<?php print_string("cut","editor") ?>",
        copy:           "<?php print_string("copy","editor") ?>",
        paste:          "<?php print_string("paste","editor") ?>",
        insertsmile:    "<?php print_string("insertsmile","editor") ?>",
        insertchar:     "<?php print_string("insertchar","editor") ?>",
        clean:          "<?php print_string("wordclean","editor") ?>",
        lefttoright:    "<?php print_string("lefttoright","editor");?>",
        righttoleft:    "<?php print_string("righttoleft","editor");?>"
    },

    buttons: {
        "ok":           "<?php print_string("ok","editor") ?>",
        "cancel":       "<?php print_string("cancel","editor") ?>",
        "browse":       "<?php print_string("browse","editor") ?>"
    },

    msg: {
        "Path":         "<?php print_string("path","editor") ?>",
        "TEXT_MODE":    "<?php print_string("textmode","editor") ?>"
    }
};