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 | |
---|
25 | include('../../../../../../header.inc.php'); |
---|
26 | header('Content-type: text/javascript; charset='.$GLOBALS['phpgw']->translation->charset()); |
---|
27 | $GLOBALS['phpgw']->translation->add_app('htmlarea-SpellChecker'); |
---|
28 | |
---|
29 | // I18N constants |
---|
30 | |
---|
31 | // LANG: "en", ENCODING: UTF-8 | ISO-8859-1 |
---|
32 | // Author: Mihai Bazon, http://dynarch.com/mishoo |
---|
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 | ?> |
---|
43 | SpellChecker.I18N = { |
---|
44 | "CONFIRM_LINK_CLICK" : "<?php echo lang('Please confirm that you want to open this link'); ?>", |
---|
45 | "Cancel" : "<?php echo lang('Cancel'); ?>", |
---|
46 | "Dictionary" : "<?php echo lang('Dictionary'); ?>", |
---|
47 | "Finished list of mispelled words" : "<?php echo lang('Finished list of mispelled words'); ?>", |
---|
48 | "I will open it in a new page." : "<?php echo lang('I will open it in a new page.'); ?>", |
---|
49 | "Ignore all" : "<?php echo lang('Ignore all'); ?>", |
---|
50 | "Ignore" : "<?php echo lang('Ignore'); ?>", |
---|
51 | "NO_ERRORS" : "<?php echo lang('No mispelled words found with the selected dictionary.'); ?>", |
---|
52 | "NO_ERRORS_CLOSING" : "<?php echo lang('Spell check complete, didn\'t find any mispelled words. Closing now...'); ?>", |
---|
53 | "OK" : "<?php echo lang('OK'); ?>", |
---|
54 | "Original word" : "<?php echo lang('Original word'); ?>", |
---|
55 | "Please wait. Calling spell checker." : "<?php echo lang('Please wait. Calling spell checker.'); ?>", |
---|
56 | "Please wait: changing dictionary to" : "<?php echo lang('Please wait: changing dictionary to'); ?>", |
---|
57 | "QUIT_CONFIRMATION" : "<?php echo lang('This will drop changes and quit spell checker. Please confirm.'); ?>", |
---|
58 | "Re-check" : "<?php echo lang('Re-check'); ?>", |
---|
59 | "Replace all" : "<?php echo lang('Replace all'); ?>", |
---|
60 | "Replace with" : "<?php echo lang('Replace with'); ?>", |
---|
61 | "Replace" : "<?php echo lang('Replace'); ?>", |
---|
62 | "Revert" : "<?php echo lang('Revert'); ?>", |
---|
63 | "SC-spell-check" : "<?php echo lang('Spell-check'); ?>", |
---|
64 | "Suggestions" : "<?php echo lang('Suggestions'); ?>", |
---|
65 | "pliz weit ;-)" : "<?php echo lang('pliz weit ;-)'); ?>" |
---|
66 | }; |
---|