source: trunk/phpgwapi/inc/htmlarea-lang.php @ 2

Revision 2, 3.9 KB checked in by niltonneto, 17 years ago (diff)

Removida todas as tags usadas pelo CVS ($Id, $Source).
Primeira versão no CVS externo.

  • Property svn:eol-style set to native
  • Property svn:executable set to *
Line 
1<?php
2/**************************************************************************\
3* eGroupWare - API htmlarea translations (according to lang in user prefs) *
4* http://www.eGroupWare.org                                                *
5* Modified by Ralf Becker <RalfBecker@outdoor-training.de>                 *
6* This file is derived from htmlareas's lang/en.js file                    *
7* --------------------------------------------                             *
8*  This program is free software; you can redistribute it and/or modify it *
9*  under the terms of the GNU General Public License as published by the   *
10*  Free Software Foundation; either version 2 of the License, or (at your  *
11*  option) any later version.                                              *
12\**************************************************************************/
13
14
15$GLOBALS['phpgw_info']['flags'] = Array(
16        'currentapp'  => 'home',                // can't be phpgwapi, nor htmlarea (no own directory)
17        'noheader'    => True,
18        'nonavbar'    => True,
19        'noappheader' => True,
20        'noappfooter' => True,
21        'nofooter'    => True,
22        'nocachecontrol' => True                        // allow cacheing
23);
24
25include('../../header.inc.php');
26header('Content-type: text/javascript; charset='.$GLOBALS['phpgw']->translation->charset());
27$GLOBALS['phpgw']->translation->add_app('htmlarea');
28
29// I18N constants
30
31// LANG: "en", ENCODING: UTF-8 | ISO-8859-1
32// Author: Mihai Bazon, <mishoo@infoiasi.ro>
33
34// FOR TRANSLATORS:
35//
36//   1. PLEASE PUT YOUR CONTACT INFO IN THE ABOVE LINE
37//      (at least a valid email address)
38//
39//   2. PLEASE TRY TO USE UTF-8 FOR ENCODING;
40//      (if this is not possible, please include a comment
41//       that states what encoding is necessary.)
42?>
43HTMLArea.I18N = {
44
45        // the following should be the filename without .js extension
46        // it will be used for automatically load plugin language.
47        lang: "<?php echo $GLOBALS['phpgw_info']['user']['preferences']['common']['lang']; ?>",
48
49        tooltips: {
50                bold:           "<?php echo lang('Bold'); ?>",
51                italic:         "<?php echo lang('Italic'); ?>",
52                underline:      "<?php echo lang('Underline'); ?>",
53                strikethrough:  "<?php echo lang('Strikethrough'); ?>",
54                subscript:      "<?php echo lang('Subscript'); ?>",
55                superscript:    "<?php echo lang('Superscript'); ?>",
56                justifyleft:    "<?php echo lang('Justify Left'); ?>",
57                justifycenter:  "<?php echo lang('Justify Center'); ?>",
58                justifyright:   "<?php echo lang('Justify Right'); ?>",
59                justifyfull:    "<?php echo lang('Justify Full'); ?>",
60                insertorderedlist:    "<?php echo lang('Ordered List'); ?>",
61                insertunorderedlist:  "<?php echo lang('Bulleted List'); ?>",
62                outdent:        "<?php echo lang('Decrease Indent'); ?>",
63                indent:         "<?php echo lang('Increase Indent'); ?>",
64                forecolor:      "<?php echo lang('Font Color'); ?>",
65                hilitecolor:    "<?php echo lang('Background Color'); ?>",
66                inserthorizontalrule: "<?php echo lang('Horizontal Rule'); ?>",
67                createlink:     "<?php echo lang('Insert Web Link'); ?>",
68                insertimage:    "<?php echo lang('Insert Image'); ?>",
69                inserttable:    "<?php echo lang('Insert Table'); ?>",
70                htmlmode:       "<?php echo lang('Toggle HTML Source'); ?>",
71                popupeditor:    "<?php echo lang('Enlarge Editor'); ?>",
72                about:          "<?php echo lang('About this editor'); ?>",
73                showhelp:       "<?php echo lang('Help using editor'); ?>",
74                textindicator:  "<?php echo lang('Current style'); ?>",
75                undo:           "<?php echo lang('Undoes your last action'); ?>",
76                redo:           "<?php echo lang('Redoes your last action'); ?>",
77                cut:            "<?php echo lang('Cut selection'); ?>",
78                copy:           "<?php echo lang('Copy selection'); ?>",
79                paste:          "<?php echo lang('Paste from clipboard'); ?>"
80        },
81
82        buttons: {
83                "ok":           "<?php echo lang('OK'); ?>",
84                "cancel":       "<?php echo lang('Cancel'); ?>"
85        },
86
87        msg: {
88                "Path":         "<?php echo lang('Path'); ?>",
89                "TEXT_MODE":    "<?php echo lang('You are in TEXT MODE.  Use the [<>] button to switch back to WYSIWIG.'); ?>"
90        }
91};
Note: See TracBrowser for help on using the repository browser.