Import xinha so we can switch from htmlarea and fix a bunch of in-browser issues that htmlarea has
261
xinha/contrib/lc_parse_strings.php
Executable file
@@ -0,0 +1,261 @@
|
||||
<?php
|
||||
//die("this script is disabled for security");
|
||||
|
||||
/**
|
||||
* LC-Parse-Strings-Script
|
||||
*
|
||||
* This script parses all xinhas source-files and creates base lang-files
|
||||
* in the lang-folders (one for base and one every plugin)
|
||||
*
|
||||
* How To use it: - remove the die() in line 2 (security)
|
||||
* - make sure all lang-folders are writeable for your webserver
|
||||
* - open the contrib/lc_parse_strings.php in your browser
|
||||
* - lang/base.js will be written
|
||||
* - open base.js, translate all strings into your language and save it
|
||||
* as yourlangauge.js
|
||||
* - send the translated file to the xinha-team
|
||||
**/
|
||||
|
||||
|
||||
|
||||
error_reporting(E_ALL);
|
||||
|
||||
$ret = array();
|
||||
$files = getFiles("../", "js$");
|
||||
foreach($files as $file)
|
||||
{
|
||||
$fp = fopen($file, "r");
|
||||
$data = "";
|
||||
while(!feof($fp)) {
|
||||
$data .= fread($fp, 1024);
|
||||
}
|
||||
|
||||
preg_match_all('#_lc\("([^"]+)"\)|_lc\(\'([^\']+)\'\)#', $data, $m);
|
||||
foreach($m[1] as $i) {
|
||||
if(trim($i)=="") continue;
|
||||
$ret[] = $i;
|
||||
}
|
||||
foreach($m[2] as $i) {
|
||||
if(trim($i)=="") continue;
|
||||
$ret[] = $i;
|
||||
}
|
||||
|
||||
if(eregi('htmlarea\\.js$', $file)) {
|
||||
//toolbar-buttons
|
||||
//bold: [ "Bold"
|
||||
preg_match_all('#[a-z]+: *\[ * "([^"]+)"#', $data, $m);
|
||||
foreach($m[1] as $i) {
|
||||
if(trim($i)=="") continue;
|
||||
$ret[] = $i;
|
||||
}
|
||||
|
||||
//HTMLArea._lc({key: 'button_bold', string
|
||||
preg_match_all('#HTMLArea\\._lc\\({key: \'([^\']*)\'#', $data, $m);
|
||||
foreach($m[1] as $i) {
|
||||
if(trim($i)=="") continue;
|
||||
$ret[] = $i;
|
||||
}
|
||||
|
||||
//config.fontname, fontsize and formatblock
|
||||
$data = substr($data, strpos($data, "this.fontname = {"), strpos($data, "this.customSelects = {};")-strpos($data, "this.fontname = {"));
|
||||
preg_match_all('#"([^"]+)"[ \t]*:[ \t]*["\'][^"\']*["\'],?#', $data, $m);
|
||||
foreach($m[1] as $i) {
|
||||
if(trim($i)=="") continue;
|
||||
$ret[] = $i;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
$files = getFiles("../popups/", "html$");
|
||||
foreach($files as $file)
|
||||
{
|
||||
if(preg_match("#custom2.html$#", $file)) continue;
|
||||
if(preg_match('#old_#', $file)) continue;
|
||||
$ret = array_merge($ret, parseHtmlFile($file));
|
||||
}
|
||||
$ret = array_unique($ret);
|
||||
$langData['HTMLArea'] = $ret;
|
||||
|
||||
|
||||
|
||||
$plugins = getFiles("../plugins/");
|
||||
foreach($plugins as $pluginDir)
|
||||
{
|
||||
$plugin = substr($pluginDir, 12);
|
||||
if($plugin=="ibrowser") continue;
|
||||
$ret = array();
|
||||
|
||||
$files = getFiles("$pluginDir/", "js$");
|
||||
$files = array_merge($files, getFiles("$pluginDir/popups/", "html$"));
|
||||
$files = array_merge($files, getFiles("$pluginDir/", "php$"));
|
||||
foreach($files as $file)
|
||||
{
|
||||
$fp = fopen($file, "r");
|
||||
$data = "";
|
||||
while(!feof($fp)) {
|
||||
$data .= fread($fp, 1024);
|
||||
}
|
||||
preg_match_all('#_lc\("([^"]+)"|_lc\(\'([^\']+)\'#', $data, $m);
|
||||
foreach($m[1] as $i) {
|
||||
if(trim(strip_tags($i))=="") continue;
|
||||
$ret[] = $i;
|
||||
}
|
||||
foreach($m[2] as $i) {
|
||||
if(trim(strip_tags($i))=="") continue;
|
||||
$ret[] = $i;
|
||||
}
|
||||
}
|
||||
|
||||
if($plugin=="TableOperations")
|
||||
{
|
||||
preg_match_all('#options = \\[([^\\]]+)\\];#', $data, $m);
|
||||
foreach($m[1] as $i) {
|
||||
preg_match_all('#"([^"]+)"#', $i, $m1);
|
||||
foreach($m1[1] as $i) {
|
||||
$ret[] = $i;
|
||||
}
|
||||
}
|
||||
|
||||
//["cell-delete", "td", "Delete cell"],
|
||||
preg_match_all('#\\["[^"]+",[ \t]*"[^"]+",[ \t]*"([^"]+)"\\]#', $data, $m);
|
||||
foreach($m[1] as $i) {
|
||||
$ret[] = $i;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
$files = getFiles("$pluginDir/", "html$");
|
||||
$files = array_merge($files, getFiles("$pluginDir/", "php$"));
|
||||
foreach($files as $file)
|
||||
{
|
||||
$ret = array_merge($ret, parseHtmlFile($file, $plugin));
|
||||
}
|
||||
|
||||
$files = getFiles("$pluginDir/popups/", "html$");
|
||||
foreach($files as $file)
|
||||
{
|
||||
$ret = array_merge($ret, parseHtmlFile($file, $plugin));
|
||||
}
|
||||
$ret = array_unique($ret);
|
||||
|
||||
$langData[$plugin] = $ret;
|
||||
}
|
||||
|
||||
foreach($langData as $plugin=>$strings)
|
||||
{
|
||||
if(sizeof($strings)==0) continue;
|
||||
|
||||
|
||||
$data = "// I18N constants\n";
|
||||
$data .= "//\n";
|
||||
$data .= "//LANG: \"base\", ENCODING: UTF-8\n";
|
||||
$data .= "//Author: Translator-Name, <email@example.com>\n";
|
||||
$data .= "// FOR TRANSLATORS:\n";
|
||||
$data .= "//\n";
|
||||
$data .= "// 1. PLEASE PUT YOUR CONTACT INFO IN THE ABOVE LINE\n";
|
||||
$data .= "// (at least a valid email address)\n";
|
||||
$data .= "//\n";
|
||||
$data .= "// 2. PLEASE TRY TO USE UTF-8 FOR ENCODING;\n";
|
||||
$data .= "// (if this is not possible, please include a comment\n";
|
||||
$data .= "// that states what encoding is necessary.)\n";
|
||||
$data .= "\n";
|
||||
$data .= "{\n";
|
||||
sort($strings);
|
||||
foreach($strings as $string) {
|
||||
$string = str_replace(array('\\', '"'), array('\\\\', '\\"'), $string);
|
||||
$data .= " \"".$string."\": \"\",\n";
|
||||
}
|
||||
$data = substr($data, 0, -2);
|
||||
$data .= "\n";
|
||||
$data .= "}\n";
|
||||
|
||||
if($plugin=="HTMLArea")
|
||||
$file = "../lang/base.js";
|
||||
else
|
||||
$file = "../plugins/$plugin/lang/base.js";
|
||||
|
||||
$fp = fopen($file, "w");
|
||||
if(!$fp) continue;
|
||||
fwrite($fp, $data);
|
||||
fclose($fp);
|
||||
echo "$file written...<br>";
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
function parseHtmlFile($file, $plugin="")
|
||||
{
|
||||
$ret = array();
|
||||
|
||||
$fp = fopen($file, "r");
|
||||
if(!$fp) {
|
||||
die("invalid fp");
|
||||
}
|
||||
$data = "";
|
||||
while(!feof($fp)) {
|
||||
$data .= fread($fp, 1024);
|
||||
}
|
||||
|
||||
if($plugin=="FormOperations" || $plugin=="SuperClean" || $plugin=="Linker") {
|
||||
//<l10n>-tags for inline-dialog or panel-dialog based dialogs
|
||||
$elems = array("l10n");
|
||||
} else {
|
||||
$elems = array("title", "input", "select", "legend", "span", "option", "td", "button", "div", "label");
|
||||
}
|
||||
foreach($elems as $elem) {
|
||||
preg_match_all("#<{$elem}[^>]*>([^<^\"]+)</$elem>#i", $data, $m);
|
||||
foreach($m[1] as $i) {
|
||||
if(trim(strip_tags($i))=="") continue;
|
||||
if($i=="/") continue;
|
||||
if($plugin=="ImageManager" && preg_match('#^--+$#', $i)) continue; //skip those ------
|
||||
if($plugin=="CharacterMap" && preg_match('#&[a-z0-9]+;#i', trim($i)) || $i=="@") continue;
|
||||
if($plugin=="SpellChecker" && preg_match('#^\'\\.\\$[a-z]+\\.\'$#', $i)) continue;
|
||||
$ret[] = trim($i);
|
||||
}
|
||||
}
|
||||
|
||||
if($plugin=="FormOperations" || $plugin=="SuperClean" || $plugin=="Linker")
|
||||
{
|
||||
//_( for inline-dialog or panel-dialog based dialogs
|
||||
preg_match_all('#"_\(([^"]+)\)"#i', $data, $m);
|
||||
foreach($m[1] as $i) {
|
||||
if(trim($i)=="") continue;
|
||||
$ret[] = $i;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
preg_match_all('#title="([^"]+)"#i', $data, $m);
|
||||
foreach($m[1] as $i) {
|
||||
if(trim(strip_tags($i))=="") continue;
|
||||
if(strip_tags($i)==" - ") continue; //skip those - (ImageManager)
|
||||
$ret[] = $i;
|
||||
}
|
||||
}
|
||||
return($ret);
|
||||
}
|
||||
|
||||
|
||||
function getFiles($rootdirpath, $eregi_match='') {
|
||||
$array = array();
|
||||
if ($dir = @opendir($rootdirpath)) {
|
||||
$array = array();
|
||||
while (($file = readdir($dir)) !== false) {
|
||||
if($file=="." || $file==".." || $file==".svn") continue;
|
||||
if($eregi_match=="")
|
||||
$array[] = $rootdirpath."/".$file;
|
||||
else if(eregi($eregi_match,$file))
|
||||
$array[] = $rootdirpath."/".$file;
|
||||
|
||||
}
|
||||
closedir($dir);
|
||||
}
|
||||
return $array;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
?>
|
||||
76
xinha/dialog.js
Normal file
@@ -0,0 +1,76 @@
|
||||
// htmlArea v3.0 - Copyright (c) 2003-2004 interactivetools.com, inc.
|
||||
// This copyright notice MUST stay intact for use (see license.txt).
|
||||
//
|
||||
// Portions (c) dynarch.com, 2003-2004
|
||||
//
|
||||
// A free WYSIWYG editor replacement for <textarea> fields.
|
||||
// For full source code and docs, visit http://www.interactivetools.com/
|
||||
//
|
||||
// Version 3.0 developed by Mihai Bazon.
|
||||
// http://dynarch.com/mishoo
|
||||
//
|
||||
// $Id$
|
||||
|
||||
// Though "Dialog" looks like an object, it isn't really an object. Instead
|
||||
// it's just namespace for protecting global symbols.
|
||||
|
||||
function Dialog(url, action, init) {
|
||||
if (typeof init == "undefined") {
|
||||
init = window; // pass this window object by default
|
||||
}
|
||||
Dialog._geckoOpenModal(url, action, init);
|
||||
};
|
||||
|
||||
Dialog._parentEvent = function(ev) {
|
||||
setTimeout( function() { if (Dialog._modal && !Dialog._modal.closed) { Dialog._modal.focus() } }, 50);
|
||||
if (Dialog._modal && !Dialog._modal.closed) {
|
||||
HTMLArea._stopEvent(ev);
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
// should be a function, the return handler of the currently opened dialog.
|
||||
Dialog._return = null;
|
||||
|
||||
// constant, the currently opened dialog
|
||||
Dialog._modal = null;
|
||||
|
||||
// the dialog will read it's args from this variable
|
||||
Dialog._arguments = null;
|
||||
|
||||
Dialog._geckoOpenModal = function(url, action, init) {
|
||||
var dlg = window.open(url, "hadialog",
|
||||
"toolbar=no,menubar=no,personalbar=no,width=10,height=10," +
|
||||
"scrollbars=no,resizable=yes,modal=yes,dependable=yes");
|
||||
Dialog._modal = dlg;
|
||||
Dialog._arguments = init;
|
||||
|
||||
// capture some window's events
|
||||
function capwin(w) {
|
||||
HTMLArea._addEvent(w, "click", Dialog._parentEvent);
|
||||
HTMLArea._addEvent(w, "mousedown", Dialog._parentEvent);
|
||||
HTMLArea._addEvent(w, "focus", Dialog._parentEvent);
|
||||
};
|
||||
// release the captured events
|
||||
function relwin(w) {
|
||||
HTMLArea._removeEvent(w, "click", Dialog._parentEvent);
|
||||
HTMLArea._removeEvent(w, "mousedown", Dialog._parentEvent);
|
||||
HTMLArea._removeEvent(w, "focus", Dialog._parentEvent);
|
||||
};
|
||||
capwin(window);
|
||||
// capture other frames, note the exception trapping, this is because
|
||||
// we are not permitted to add events to frames outside of the current
|
||||
// window's domain.
|
||||
for (var i = 0; i < window.frames.length; i++) {try { capwin(window.frames[i]); } catch(e) { } };
|
||||
// make up a function to be called when the Dialog ends.
|
||||
Dialog._return = function (val) {
|
||||
if (val && action) {
|
||||
action(val);
|
||||
}
|
||||
relwin(window);
|
||||
// capture other frames
|
||||
for (var i = 0; i < window.frames.length; i++) { try { relwin(window.frames[i]); } catch(e) { } };
|
||||
Dialog._modal = null;
|
||||
};
|
||||
Dialog._modal.focus();
|
||||
};
|
||||
40
xinha/examples/custom.css
Normal file
@@ -0,0 +1,40 @@
|
||||
/*--------------------------------------:noTabs=true:tabSize=2:indentSize=2:--
|
||||
-- CSS plugin example CSS file. This file is used by full_example.js
|
||||
-- when the CSS plugin is included in an auto-generated example.
|
||||
-- @TODO Make this CSS more useful.
|
||||
--
|
||||
-- $HeadURL: http://svn.xinha.python-hosting.com/trunk/examples/custom.css $
|
||||
-- $LastChangedDate: 2005-02-19 17:10:03 +1300 (Sat, 19 Feb 2005) $
|
||||
-- $LastChangedRevision: 14 $
|
||||
-- $LastChangedBy: gogo $
|
||||
--------------------------------------------------------------------------*/
|
||||
|
||||
body { background-color: #234; color: #dd8; font-family: tahoma; font-size: 12px; }
|
||||
|
||||
a:link, a:visited { color: #8cf; }
|
||||
a:hover { color: #ff8; }
|
||||
|
||||
h1 { background-color: #456; color: #ff8; padding: 2px 5px; border: 1px solid; border-color: #678 #012 #012 #678; }
|
||||
|
||||
/* syntax highlighting (used by the first combo defined for the CSS plugin) */
|
||||
|
||||
pre { margin: 0px 1em; padding: 5px 1em; background-color: #000; border: 1px dotted #02d; border-left: 2px solid #04f; }
|
||||
.code { color: #f5deb3; }
|
||||
.string { color: #00ffff; }
|
||||
.comment { color: #8fbc8f; }
|
||||
.variable-name { color: #fa8072; }
|
||||
.type { color: #90ee90; font-weight: bold; }
|
||||
.reference { color: #ee82ee; }
|
||||
.preprocessor { color: #faf; }
|
||||
.keyword { color: #ffffff; font-weight: bold; }
|
||||
.function-name { color: #ace; }
|
||||
.html-tag { font-weight: bold; }
|
||||
.html-helper-italic { font-style: italic; }
|
||||
.warning { color: #ffa500; font-weight: bold; }
|
||||
.html-helper-bold { font-weight: bold; }
|
||||
|
||||
/* info combo */
|
||||
|
||||
.quote { font-style: italic; color: #ee9; }
|
||||
.highlight { background-color: yellow; color: #000; }
|
||||
.deprecated { text-decoration: line-through; color: #aaa; }
|
||||
56
xinha/examples/dynamic.css
Normal file
@@ -0,0 +1,56 @@
|
||||
/*--------------------------------------:noTabs=true:tabSize=2:indentSize=2:--
|
||||
-- DynamicCSS plugin example CSS file. Used by full_example.js
|
||||
-- when the DynamicCSS plugin is included in an auto-generated example.
|
||||
-- @TODO Make this CSS more useful.
|
||||
--
|
||||
-- $HeadURL: http://svn.xinha.python-hosting.com/trunk/examples/dynamic.css $
|
||||
-- $LastChangedDate: 2005-02-19 17:10:03 +1300 (Sat, 19 Feb 2005) $
|
||||
-- $LastChangedRevision: 14 $
|
||||
-- $LastChangedBy: gogo $
|
||||
--------------------------------------------------------------------------*/
|
||||
|
||||
p {
|
||||
FONT-FAMILY: Arial, Helvetica;
|
||||
FONT-SIZE: 9pt;
|
||||
FONT-WEIGHT: normal;
|
||||
COLOR: #000000;
|
||||
}
|
||||
|
||||
p.p1 {
|
||||
FONT-FAMILY: Arial, Helvetica;
|
||||
FONT-SIZE: 11pt;
|
||||
FONT-WEIGHT: normal;
|
||||
COLOR: #000000;
|
||||
}
|
||||
|
||||
p.p2 {
|
||||
FONT-FAMILY: Arial, Helvetica;
|
||||
FONT-SIZE: 13pt;
|
||||
FONT-WEIGHT: normal;
|
||||
COLOR: #000000;
|
||||
}
|
||||
|
||||
div {
|
||||
FONT-FAMILY: Arial, Helvetica;
|
||||
FONT-SIZE: 9pt;
|
||||
FONT-WEIGHT: bold;
|
||||
COLOR: #000000;
|
||||
}
|
||||
|
||||
div.div1 {
|
||||
FONT-FAMILY: Arial, Helvetica;
|
||||
FONT-SIZE: 11pt;
|
||||
FONT-WEIGHT: bold;
|
||||
COLOR: #000000;
|
||||
}
|
||||
|
||||
div.div2 {
|
||||
FONT-FAMILY: Arial, Helvetica;
|
||||
FONT-SIZE: 13pt;
|
||||
FONT-WEIGHT: bold;
|
||||
COLOR: #000000;
|
||||
}
|
||||
|
||||
.quote { font-style: italic; color: #ee9; }
|
||||
.highlight { background-color: yellow; color: #000; }
|
||||
.deprecated { text-decoration: line-through; color: #aaa; }
|
||||
185
xinha/examples/full_example-body.html
Normal file
@@ -0,0 +1,185 @@
|
||||
<!DOCTYPE BHTML PUBLIC "-//BC//DTD BHTML 3.2 Final//EN">
|
||||
<html>
|
||||
<head>
|
||||
|
||||
<!--------------------------------------:noTabs=true:tabSize=2:indentSize=2:--
|
||||
-- Xinha example usage. This file shows how a developer might make use of
|
||||
-- Xinha, it forms the primary example file for the entire Xinha project.
|
||||
-- This file can be copied and used as a template for development by the
|
||||
-- end developer who should simply removed the area indicated at the bottom
|
||||
-- of the file to remove the auto-example-generating code and allow for the
|
||||
-- use of the file as a boilerplate.
|
||||
--
|
||||
-- $HeadURL: http://svn.xinha.python-hosting.com/trunk/examples/full_example-body.html $
|
||||
-- $LastChangedDate: 2005-07-28 02:43:19 +1200 (Thu, 28 Jul 2005) $
|
||||
-- $LastChangedRevision: 287 $
|
||||
-- $LastChangedBy: gocher $
|
||||
--------------------------------------------------------------------------->
|
||||
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||
<title>Example of Xinha</title>
|
||||
<link rel="stylesheet" href="full_example.css" />
|
||||
|
||||
<script type="text/javascript">
|
||||
// You must set _editor_url to the URL (including trailing slash) where
|
||||
// where xinha is installed, it's highly recommended to use an absolute URL
|
||||
// eg: _editor_url = "/path/to/xinha/";
|
||||
// You may try a relative URL if you wish]
|
||||
// eg: _editor_url = "../";
|
||||
// in this example we do a little regular expression to find the absolute path.
|
||||
_editor_url = document.location.href.replace(/examples\/full_example-body\.html.*/, '')
|
||||
_editor_lang = "en"; // And the language we need to use in the editor.
|
||||
</script>
|
||||
|
||||
<!-- Load up the actual editor core -->
|
||||
<script type="text/javascript" src="../htmlarea.js"></script>
|
||||
|
||||
<script type="text/javascript">
|
||||
xinha_editors = null;
|
||||
xinha_init = null;
|
||||
xinha_config = null;
|
||||
xinha_plugins = null;
|
||||
|
||||
// This contains the names of textareas we will make into Xinha editors
|
||||
xinha_init = xinha_init ? xinha_init : function()
|
||||
{
|
||||
/** STEP 1 ***************************************************************
|
||||
* First, what are the plugins you will be using in the editors on this
|
||||
* page. List all the plugins you will need, even if not all the editors
|
||||
* will use all the plugins.
|
||||
************************************************************************/
|
||||
|
||||
xinha_plugins = xinha_plugins ? xinha_plugins :
|
||||
[
|
||||
'CharacterMap',
|
||||
'ContextMenu',
|
||||
'FullScreen',
|
||||
'ListType',
|
||||
'SpellChecker',
|
||||
'Stylist',
|
||||
'SuperClean',
|
||||
'TableOperations'
|
||||
];
|
||||
|
||||
// THIS BIT OF JAVASCRIPT LOADS THE PLUGINS, NO TOUCHING :)
|
||||
if(!HTMLArea.loadPlugins(xinha_plugins, xinha_init)) return;
|
||||
|
||||
/** STEP 2 ***************************************************************
|
||||
* Now, what are the names of the textareas you will be turning into
|
||||
* editors?
|
||||
************************************************************************/
|
||||
|
||||
xinha_editors = xinha_editors ? xinha_editors :
|
||||
[
|
||||
'myTextArea',
|
||||
'anotherOne'
|
||||
];
|
||||
|
||||
/** STEP 3 ***************************************************************
|
||||
* We create a default configuration to be used by all the editors.
|
||||
* If you wish to configure some of the editors differently this will be
|
||||
* done in step 5.
|
||||
*
|
||||
* If you want to modify the default config you might do something like this.
|
||||
*
|
||||
* xinha_config = new HTMLArea.Config();
|
||||
* xinha_config.width = '640px';
|
||||
* xinha_config.height = '420px';
|
||||
*
|
||||
*************************************************************************/
|
||||
|
||||
xinha_config = xinha_config ? xinha_config() : new HTMLArea.Config();
|
||||
|
||||
/** STEP 4 ***************************************************************
|
||||
* We first create editors for the textareas.
|
||||
*
|
||||
* You can do this in two ways, either
|
||||
*
|
||||
* xinha_editors = HTMLArea.makeEditors(xinha_editors, xinha_config, xinha_plugins);
|
||||
*
|
||||
* if you want all the editor objects to use the same set of plugins, OR;
|
||||
*
|
||||
* xinha_editors = HTMLArea.makeEditors(xinha_editors, xinha_config);
|
||||
* xinha_editors['myTextArea'].registerPlugins(['Stylist','FullScreen']);
|
||||
* xinha_editors['anotherOne'].registerPlugins(['CSS','SuperClean']);
|
||||
*
|
||||
* if you want to use a different set of plugins for one or more of the
|
||||
* editors.
|
||||
************************************************************************/
|
||||
|
||||
xinha_editors = HTMLArea.makeEditors(xinha_editors, xinha_config, xinha_plugins);
|
||||
|
||||
/** STEP 5 ***************************************************************
|
||||
* If you want to change the configuration variables of any of the
|
||||
* editors, this is the place to do that, for example you might want to
|
||||
* change the width and height of one of the editors, like this...
|
||||
*
|
||||
* xinha_editors.myTextArea.config.width = '640px';
|
||||
* xinha_editors.myTextArea.config.height = '480px';
|
||||
*
|
||||
************************************************************************/
|
||||
|
||||
|
||||
/** STEP 6 ***************************************************************
|
||||
* Finally we "start" the editors, this turns the textareas into
|
||||
* Xinha editors.
|
||||
************************************************************************/
|
||||
|
||||
HTMLArea.startEditors(xinha_editors);
|
||||
}
|
||||
|
||||
window.onload = xinha_init;
|
||||
</script>
|
||||
<!--link type="text/css" rel="alternate stylesheet" title="blue-look" href="../skins/blue-look/skin.css" />
|
||||
<link type="text/css" rel="alternate stylesheet" title="green-look" href="../skins/green-look/skin.css" />
|
||||
<link type="text/css" rel="alternate stylesheet" title="xp-blue" href="../skins/xp-blue/skin.css" />
|
||||
<link type="text/css" rel="alternate stylesheet" title="xp-green" href="../skins/xp-green/skin.css" />
|
||||
<link type="text/css" rel="alternate stylesheet" title="inditreuse" href="../skins/inditreuse/skin.css" />
|
||||
<link type="text/css" rel="alternate stylesheet" title="blue-metallic" href="../skins/blue-metallic/skin.css" /-->
|
||||
</head>
|
||||
|
||||
<body>
|
||||
|
||||
<form id="editors_here">
|
||||
<textarea id="myTextArea" name="myTextArea" rows="10" cols="80" style="width:100%"></textarea>
|
||||
<textarea id="anotherOne" name="anotherOne" rows="10" cols="80" style="width:100%"></textarea>
|
||||
</form>
|
||||
|
||||
|
||||
<!-- *************************************************************************
|
||||
- !! IMPORTANT !!
|
||||
- The html and javascript below is the code used to create the example page.
|
||||
- It renders a lot of the above unused because it pre-fills xinha_editors,
|
||||
- xinha_config and xinha_plugins for you, and creates new textareas in place
|
||||
- of the ones above. The items above are not used while the example is being
|
||||
- used!
|
||||
-
|
||||
- If you are going to take the code in this file to form the basis of your
|
||||
- own, then leave out this marked area.
|
||||
- ********************************************************************* -->
|
||||
|
||||
<div id="lipsum" style="display:none">
|
||||
<p>Lorem ipsum dolor sit amet, consectetuer adipiscing elit.
|
||||
Aliquam et tellus vitae justo varius placerat. Suspendisse iaculis
|
||||
velit semper dolor. Donec gravida tincidunt mi. Curabitur tristique
|
||||
ante elementum turpis. Aliquam nisl. Nulla posuere neque non
|
||||
tellus. Morbi vel nibh. Cum sociis natoque penatibus et magnis dis
|
||||
parturient montes, nascetur ridiculus mus. Nam nec wisi. In wisi.
|
||||
Curabitur pharetra bibendum lectus.</p>
|
||||
|
||||
<ul>
|
||||
<li> Phasellus et massa sed diam viverra semper. </li>
|
||||
<li> Mauris tincidunt felis in odio. </li>
|
||||
<li> Nulla placerat nunc ut pede. </li>
|
||||
<li> Vivamus ultrices mi sit amet urna. </li>
|
||||
<li> Quisque sed augue quis nunc laoreet volutpat.</li>
|
||||
<li> Nunc sit amet metus in tortor semper mattis. </li>
|
||||
</ul>
|
||||
</div>
|
||||
<script src="full_example.js"></script>
|
||||
|
||||
<!-- ********************************************************************* -->
|
||||
|
||||
|
||||
</body>
|
||||
</html>
|
||||
187
xinha/examples/full_example-menu.html
Normal file
@@ -0,0 +1,187 @@
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
||||
<html>
|
||||
<head>
|
||||
<!--
|
||||
:noTabs=true:tabSize=2:indentSize=2:
|
||||
Xinha example menu. This file is used by full_example.html within a
|
||||
frame to provide a menu for generating example editors using
|
||||
full_example-body.html, and full_example.js.
|
||||
-->
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||||
<title>Example of Xinha</title>
|
||||
<link rel="stylesheet" href="full_example.css" type="text/css">
|
||||
<style type="text/css">
|
||||
form, p {margin:0; padding:0;}
|
||||
label {display:block;}
|
||||
#numeditor {width:25px;}
|
||||
.options {display:none;}
|
||||
</style>
|
||||
<script type="text/javascript">
|
||||
function checkPluginsOptions()
|
||||
{
|
||||
var plugins = document.forms[0].elements['plugins'];
|
||||
for(var x = 0; x < plugins.length; x++)
|
||||
if (document.getElementById(plugins[x].value + 'Options'))
|
||||
document.getElementById(plugins[x].value + 'Options').style.display = (plugins[x].checked)? 'block':'none';
|
||||
}
|
||||
function toggleOnChange(elt) {
|
||||
document.getElementById(elt.value + 'Options').style.display = (elt.checked)? 'block':'none';
|
||||
}
|
||||
</script>
|
||||
</head>
|
||||
|
||||
<body onload="checkPluginsOptions();">
|
||||
<form action="full_example-body.html" target="body">
|
||||
<p>
|
||||
Select from the options below and <input type="submit" value="click to show Example">
|
||||
</p>
|
||||
<fieldset>
|
||||
<legend>Settings</legend>
|
||||
<label>
|
||||
Number of Editors: <input type="text" name="num" value="1" id="numeditor" maxlength="2">
|
||||
</label>
|
||||
<label>
|
||||
Language:
|
||||
<select name="lang">
|
||||
<option value="en">English</option>
|
||||
<option value="de">German</option>
|
||||
<option value="fr">French</option>
|
||||
<option value="it">Italian</option>
|
||||
</select>
|
||||
</label>
|
||||
<label>
|
||||
Skin:
|
||||
<select name="skin">
|
||||
<option value="blue-look">blue-look</option>
|
||||
<option value="green-look">green-look</option>
|
||||
<option value="xp-blue">xp-blue</option>
|
||||
<option value="xp-green">xp-green</option>
|
||||
<option value="inditreuse">inditreuse</option>
|
||||
<option value="blue-metallic">blue-metallic</option>
|
||||
</select>
|
||||
</label>
|
||||
</fieldset>
|
||||
|
||||
<fieldset>
|
||||
<legend>Plugins</legend>
|
||||
<label>
|
||||
<input type="checkbox" name="plugins" value="Abbreviation"> Abbreviation
|
||||
</label>
|
||||
<label>
|
||||
<input type="checkbox" name="plugins" value="CharacterMap" checked="checked" onchange="toggleOnChange(this);"> CharacterMap
|
||||
</label>
|
||||
<div id="CharacterMapOptions" class="options">
|
||||
mode : <select name="CharacterMapMode">
|
||||
<option value="popup">popup</option>
|
||||
<option value="panel">panel</option>
|
||||
</select>
|
||||
</div>
|
||||
<label>
|
||||
<input type="checkbox" name="plugins" value="CharCounter"> CharCounter
|
||||
</label>
|
||||
<label>
|
||||
<input type="checkbox" name="plugins" value="ContextMenu" checked="checked"> ContextMenu
|
||||
</label>
|
||||
<label>
|
||||
<input type="checkbox" name="plugins" value="CSS" > CSS
|
||||
</label>
|
||||
<label>
|
||||
<input type="checkbox" name="plugins" value="DoubleClick"> DoubleClick
|
||||
</label>
|
||||
<label>
|
||||
<input type="checkbox" name="plugins" value="DynamicCSS" > DynamicCSS
|
||||
</label>
|
||||
<label>
|
||||
<input type="checkbox" name="plugins" value="EditTag"> EditTag
|
||||
</label>
|
||||
<label>
|
||||
<input type="checkbox" name="plugins" value="Equation"> Equation
|
||||
</label>
|
||||
<label>
|
||||
<input type="checkbox" name="plugins" value="FindReplace" checked="checked"> FindReplace
|
||||
</label>
|
||||
<label>
|
||||
<input type="checkbox" name="plugins" value="FormOperations"> FormOperations
|
||||
</label>
|
||||
<label>
|
||||
<input type="checkbox" name="plugins" value="Forms"> Forms
|
||||
</label>
|
||||
<label>
|
||||
<input type="checkbox" name="plugins" value="FullPage" > FullPage
|
||||
</label>
|
||||
<label>
|
||||
<input type="checkbox" name="plugins" value="FullScreen" checked="checked"> FullScreen
|
||||
</label>
|
||||
<label>
|
||||
<input type="checkbox" name="plugins" value="InsertAnchor" checked="checked"> InsertAnchor
|
||||
</label>
|
||||
<label>
|
||||
<input type="checkbox" name="plugins" value="InsertMarquee"> InsertMarquee
|
||||
</label>
|
||||
<label>
|
||||
<input type="checkbox" name="plugins" value="InsertSmiley"> InsertSmiley
|
||||
</label>
|
||||
<label>
|
||||
<input type="checkbox" name="plugins" value="InsertWords"> InsertWords
|
||||
</label>
|
||||
<label>
|
||||
<input type="checkbox" name="plugins" value="LangMarks"> LangMarks
|
||||
</label>
|
||||
<label>
|
||||
<input type="checkbox" name="plugins" value="ListType" checked="checked" onchange="toggleOnChange(this);"> ListType
|
||||
</label>
|
||||
<div id="ListTypeOptions" class="options">
|
||||
mode : <select name="ListTypeMode">
|
||||
<option value="toolbar">toolbar</option>
|
||||
<option value="panel">panel</option>
|
||||
</select>
|
||||
</div>
|
||||
<label>
|
||||
<input type="checkbox" name="plugins" value="NoteServer"> NoteServer
|
||||
</label>
|
||||
<label>
|
||||
<input type="checkbox" name="plugins" value="QuickTag"> QuickTag
|
||||
</label>
|
||||
<label>
|
||||
<input type="checkbox" name="plugins" value="Stylist" checked="checked"> Stylist
|
||||
</label>
|
||||
<label>
|
||||
<input type="checkbox" name="plugins" value="TableOperations" checked="checked"> TableOperations
|
||||
</label>
|
||||
<label>
|
||||
<input type="checkbox" name="plugins" value="Template"> Template
|
||||
</label>
|
||||
<label>
|
||||
<input type="checkbox" name="plugins" value="BackgroundImage"> BackgroundImage
|
||||
</label>
|
||||
</fieldset>
|
||||
|
||||
<fieldset>
|
||||
<legend>PHP Plugins</legend>
|
||||
<p>
|
||||
<small>These plugins require PHP in order to run.</small>
|
||||
</p>
|
||||
<label>
|
||||
<input type="checkbox" name="plugins" value="HtmlTidy"> HtmlTidy
|
||||
</label>
|
||||
<label>
|
||||
<input type="checkbox" name="plugins" value="ImageManager"> ImageManager
|
||||
</label>
|
||||
<label>
|
||||
<input type="checkbox" name="plugins" value="Linker"> Linker
|
||||
</label>
|
||||
<label>
|
||||
<input type="checkbox" name="plugins" value="SpellChecker"> SpellChecker
|
||||
</label>
|
||||
<label>
|
||||
<input type="checkbox" name="plugins" value="SuperClean"> SuperClean
|
||||
</label>
|
||||
</fieldset>
|
||||
|
||||
</form>
|
||||
<script type="text/javascript">
|
||||
top.frames["body"].location.href = document.location.href.replace(/full_example-menu\.html.*/, 'full_example-body.html')
|
||||
</script>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
47
xinha/examples/full_example.css
Normal file
@@ -0,0 +1,47 @@
|
||||
/*--------------------------------------:noTabs=true:tabSize=2:indentSize=2:--
|
||||
-- Xinha example CSS file. This is ripped from Trac ;)
|
||||
--
|
||||
-- $HeadURL: http://svn.xinha.python-hosting.com/trunk/examples/full_example.css $
|
||||
-- $LastChangedDate: 2005-02-19 17:10:03 +1300 (Sat, 19 Feb 2005) $
|
||||
-- $LastChangedRevision: 14 $
|
||||
-- $LastChangedBy: gogo $
|
||||
--------------------------------------------------------------------------*/
|
||||
|
||||
body {
|
||||
background: #fff;
|
||||
color: #000;
|
||||
margin: 10px;
|
||||
}
|
||||
body, th, td {
|
||||
font: normal 13px verdana,arial,'Bitstream Vera Sans',helvetica,sans-serif;
|
||||
}
|
||||
h1, h2, h3, h4 {
|
||||
font-family: arial,verdana,'Bitstream Vera Sans',helvetica,sans-serif;
|
||||
font-weight: bold;
|
||||
letter-spacing: -0.018em;
|
||||
}
|
||||
h1 { font-size: 21px; margin: .15em 1em 0 0 }
|
||||
h2 { font-size: 16px; margin: 2em 0 .5em; }
|
||||
h3 { font-size: 14px; margin: 1.5em 0 .5em; }
|
||||
hr { border: none; border-top: 1px solid #ccb; margin: 2em 0; }
|
||||
address { font-style: normal }
|
||||
img { border: none }
|
||||
|
||||
:link, :visited {
|
||||
text-decoration: none;
|
||||
color: #b00;
|
||||
border-bottom: 1px dotted #bbb;
|
||||
}
|
||||
:link:hover, :visited:hover {
|
||||
background-color: #eee;
|
||||
color: #555;
|
||||
}
|
||||
h1 :link, h1 :visited ,h2 :link, h2 :visited, h3 :link, h3 :visited,
|
||||
h4 :link, h4 :visited, h5 :link, h5 :visited, h6 :link, h6 :visited {
|
||||
color: inherit;
|
||||
}
|
||||
|
||||
.area_holder
|
||||
{
|
||||
margin:10px;
|
||||
}
|
||||
16
xinha/examples/full_example.html
Normal file
@@ -0,0 +1,16 @@
|
||||
<html>
|
||||
|
||||
<!--------------------------------------:noTabs=true:tabSize=2:indentSize=2:--
|
||||
-- Xinha example frameset.
|
||||
--
|
||||
-- $HeadURL: http://svn.xinha.python-hosting.com/trunk/examples/full_example.html $
|
||||
-- $LastChangedDate: 2005-09-08 01:12:14 +1200 (Thu, 08 Sep 2005) $
|
||||
-- $LastChangedRevision: 312 $
|
||||
-- $LastChangedBy: gocher $
|
||||
--------------------------------------------------------------------------->
|
||||
|
||||
<frameset cols="220,*">
|
||||
<frame src="full_example-menu.html" name="menu">
|
||||
<frame src="about:blank" name="body">
|
||||
</frameset>
|
||||
</html>
|
||||
150
xinha/examples/full_example.js
Normal file
@@ -0,0 +1,150 @@
|
||||
|
||||
/*--------------------------------------:noTabs=true:tabSize=2:indentSize=2:--
|
||||
-- Xinha example logic. This javascript is used to auto-generate examples
|
||||
-- as controlled by the options set in full_example-menu.html. it's called
|
||||
-- from full_example-body.html.
|
||||
--
|
||||
-- $HeadURL: http://svn.xinha.python-hosting.com/trunk/examples/full_example.js $
|
||||
-- $LastChangedDate: 2005-09-15 00:09:22 +1200 (Thu, 15 Sep 2005) $
|
||||
-- $LastChangedRevision: 318 $
|
||||
-- $LastChangedBy: mokhet $
|
||||
--------------------------------------------------------------------------*/
|
||||
|
||||
var num = 1;
|
||||
if(window.parent && window.parent != window)
|
||||
{
|
||||
var f = window.parent.menu.document.forms[0];
|
||||
_editor_lang = f.lang.value;
|
||||
_editor_skin = f.skin.value;
|
||||
num = parseInt(f.num.value);
|
||||
if(isNaN(num))
|
||||
{
|
||||
num = 1;
|
||||
f.num.value = 1;
|
||||
}
|
||||
xinha_plugins = [ ];
|
||||
for(var x = 0; x < f.plugins.length; x++)
|
||||
{
|
||||
if(f.plugins[x].checked) xinha_plugins.push(f.plugins[x].value);
|
||||
}
|
||||
}
|
||||
|
||||
xinha_editors = [ ]
|
||||
for(var x = 0; x < num; x++)
|
||||
{
|
||||
var ta = 'myTextarea' + x;
|
||||
xinha_editors.push(ta);
|
||||
}
|
||||
|
||||
xinha_config = function()
|
||||
{
|
||||
var config = new HTMLArea.Config();
|
||||
|
||||
if(typeof CSS != 'undefined')
|
||||
{
|
||||
config.pageStyle = "@import url(custom.css);";
|
||||
}
|
||||
|
||||
if(typeof Stylist != 'undefined')
|
||||
{
|
||||
// We can load an external stylesheet like this - NOTE : YOU MUST GIVE AN ABSOLUTE URL
|
||||
// otherwise it won't work!
|
||||
config.stylistLoadStylesheet(document.location.href.replace(/[^\/]*\.html/, 'stylist.css'));
|
||||
|
||||
// Or we can load styles directly
|
||||
config.stylistLoadStyles('p.red_text { color:red }');
|
||||
|
||||
// If you want to provide "friendly" names you can do so like
|
||||
// (you can do this for stylistLoadStylesheet as well)
|
||||
config.stylistLoadStyles('p.pink_text { color:pink }', {'p.pink_text' : 'Pretty Pink'});
|
||||
}
|
||||
|
||||
if(typeof DynamicCSS != 'undefined')
|
||||
{
|
||||
config.pageStyle = "@import url(dynamic.css);";
|
||||
}
|
||||
|
||||
if(typeof InsertWords != 'undefined')
|
||||
{
|
||||
// Register the keyword/replacement list
|
||||
var keywrds1 = new Object();
|
||||
var keywrds2 = new Object();
|
||||
|
||||
keywrds1['-- Dropdown Label --'] = '';
|
||||
keywrds1['onekey'] = 'onevalue';
|
||||
keywrds1['twokey'] = 'twovalue';
|
||||
keywrds1['threekey'] = 'threevalue';
|
||||
|
||||
keywrds2['-- Insert Keyword --'] = '';
|
||||
keywrds2['Username'] = '%user%';
|
||||
keywrds2['Last login date'] = '%last_login%';
|
||||
config.InsertWords = {
|
||||
combos : [ { options: keywrds1, context: "body" },
|
||||
{ options: keywrds2, context: "li" } ]
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
if (typeof ListType != 'undefined')
|
||||
{
|
||||
if(window.parent && window.parent != window)
|
||||
{
|
||||
var f = window.parent.menu.document.forms[0];
|
||||
config.ListType.mode = f.elements['ListTypeMode'].options[f.elements['ListTypeMode'].selectedIndex].value;
|
||||
}
|
||||
}
|
||||
|
||||
if (typeof CharacterMap != 'undefined')
|
||||
{
|
||||
if(window.parent && window.parent != window)
|
||||
{
|
||||
var f = window.parent.menu.document.forms[0];
|
||||
config.CharacterMap.mode = f.elements['CharacterMapMode'].options[f.elements['CharacterMapMode'].selectedIndex].value;
|
||||
}
|
||||
}
|
||||
|
||||
return config;
|
||||
}
|
||||
|
||||
|
||||
var f = document.forms[0];
|
||||
f.innerHTML = '';
|
||||
|
||||
var lipsum = document.getElementById('lipsum').innerHTML;
|
||||
|
||||
for(var x = 0; x < num; x++)
|
||||
{
|
||||
var ta = 'myTextarea' + x;
|
||||
|
||||
var div = document.createElement('div');
|
||||
div.className = 'area_holder';
|
||||
|
||||
var txta = document.createElement('textarea');
|
||||
txta.id = ta;
|
||||
txta.name = ta;
|
||||
txta.value = lipsum;
|
||||
txta.style.width="100%";
|
||||
txta.style.height="420px";
|
||||
|
||||
div.appendChild(txta);
|
||||
f.appendChild(div);
|
||||
}
|
||||
|
||||
//check submitted values
|
||||
var submit = document.createElement('input');
|
||||
submit.type = "submit";
|
||||
submit.id = "submit";
|
||||
submit.value = "submit";
|
||||
f.appendChild(submit);
|
||||
|
||||
var _oldSubmitHandler = null;
|
||||
if (document.forms[0].onsubmit != null) {
|
||||
_oldSubmitHandler = document.forms[0].onsubmit;
|
||||
}
|
||||
function frame_onSubmit(){
|
||||
alert(document.getElementById("myTextarea0").value);
|
||||
if (_oldSubmitHandler != null) {
|
||||
_oldSubmitHandler();
|
||||
}
|
||||
}
|
||||
document.forms[0].onsubmit = frame_onSubmit;
|
||||
31
xinha/examples/stylist.css
Normal file
@@ -0,0 +1,31 @@
|
||||
/*--------------------------------------:noTabs=true:tabSize=2:indentSize=2:--
|
||||
-- Stylist plugin example CSS file. Used by full_example.js
|
||||
-- when the Stylist plugin is included in an auto-generated example.
|
||||
--
|
||||
-- $HeadURL: http://svn.xinha.python-hosting.com/trunk/examples/stylist.css $
|
||||
-- $LastChangedDate: 2005-07-19 18:23:58 +1200 (Tue, 19 Jul 2005) $
|
||||
-- $LastChangedRevision: 277 $
|
||||
-- $LastChangedBy: gogo $
|
||||
--------------------------------------------------------------------------*/
|
||||
|
||||
.bluetext
|
||||
{
|
||||
color:blue;
|
||||
}
|
||||
|
||||
p.blue_paragraph
|
||||
{
|
||||
color:darkblue;
|
||||
}
|
||||
|
||||
li.green_list_item
|
||||
{
|
||||
color:green;
|
||||
}
|
||||
|
||||
h1.webdings_lvl_1
|
||||
{
|
||||
font-family:webdings;
|
||||
}
|
||||
|
||||
img.polaroid { border:1px solid black; background-color:white; padding:10px; padding-bottom:30px; }
|
||||
174
xinha/examples/testbed.html
Normal file
@@ -0,0 +1,174 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE html
|
||||
PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
|
||||
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
||||
<head>
|
||||
|
||||
<!--------------------------------------:noTabs=true:tabSize=2:indentSize=2:--
|
||||
-- Xinha example usage. This file shows how a developer might make use of
|
||||
-- Xinha, it forms the primary example file for the entire Xinha project.
|
||||
-- This file can be copied and used as a template for development by the
|
||||
-- end developer who should simply removed the area indicated at the bottom
|
||||
-- of the file to remove the auto-example-generating code and allow for the
|
||||
-- use of the file as a boilerplate.
|
||||
--
|
||||
-- $HeadURL: svn://gogo@xinha.gogo.co.nz/repository/trunk/examples/full_example-body.html $
|
||||
-- $LastChangedDate: 2005-03-05 21:42:32 +1300 (Sat, 05 Mar 2005) $
|
||||
-- $LastChangedRevision: 35 $
|
||||
-- $LastChangedBy: gogo $
|
||||
--------------------------------------------------------------------------->
|
||||
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||
<title>Example of Xinha</title>
|
||||
<link rel="stylesheet" href="full_example.css" />
|
||||
|
||||
<script type="text/javascript">
|
||||
// You must set _editor_url to the URL (including trailing slash) where
|
||||
// where xinha is installed, it's highly recommended to use an absolute URL
|
||||
// eg: _editor_url = "/path/to/xinha/";
|
||||
// You may try a relative URL if you wish]
|
||||
// eg: _editor_url = "../";
|
||||
// in this example we do a little regular expression to find the absolute path.
|
||||
_editor_url = document.location.href.replace(/examples\/.*/, '')
|
||||
_editor_lang = "en"; // And the language we need to use in the editor.
|
||||
</script>
|
||||
|
||||
<!-- Load up the actual editor core -->
|
||||
<script type="text/javascript" src="../htmlarea.js"></script>
|
||||
|
||||
<script type="text/javascript">
|
||||
xinha_editors = null;
|
||||
xinha_init = null;
|
||||
xinha_config = null;
|
||||
xinha_plugins = null;
|
||||
|
||||
// This contains the names of textareas we will make into Xinha editors
|
||||
xinha_init = xinha_init ? xinha_init : function()
|
||||
{
|
||||
/** STEP 1 ***************************************************************
|
||||
* First, what are the plugins you will be using in the editors on this
|
||||
* page. List all the plugins you will need, even if not all the editors
|
||||
* will use all the plugins.
|
||||
************************************************************************/
|
||||
|
||||
xinha_plugins = xinha_plugins ? xinha_plugins :
|
||||
[
|
||||
|
||||
];
|
||||
// THIS BIT OF JAVASCRIPT LOADS THE PLUGINS, NO TOUCHING :)
|
||||
if(!HTMLArea.loadPlugins(xinha_plugins, xinha_init)) return;
|
||||
|
||||
/** STEP 2 ***************************************************************
|
||||
* Now, what are the names of the textareas you will be turning into
|
||||
* editors?
|
||||
************************************************************************/
|
||||
|
||||
xinha_editors = xinha_editors ? xinha_editors :
|
||||
[
|
||||
'myTextArea'
|
||||
];
|
||||
|
||||
/** STEP 3 ***************************************************************
|
||||
* We create a default configuration to be used by all the editors.
|
||||
* If you wish to configure some of the editors differently this will be
|
||||
* done in step 4.
|
||||
*
|
||||
* If you want to modify the default config you might do something like this.
|
||||
*
|
||||
* xinha_config = new HTMLArea.Config();
|
||||
* xinha_config.width = 640;
|
||||
* xinha_config.height = 420;
|
||||
*
|
||||
*************************************************************************/
|
||||
|
||||
xinha_config = xinha_config ? xinha_config : new HTMLArea.Config();
|
||||
/*
|
||||
// We can load an external stylesheet like this - NOTE : YOU MUST GIVE AN ABSOLUTE URL
|
||||
// otherwise it won't work!
|
||||
xinha_config.stylistLoadStylesheet(document.location.href.replace(/[^\/]*\.html/, 'stylist.css'));
|
||||
|
||||
// Or we can load styles directly
|
||||
xinha_config.stylistLoadStyles('p.red_text { color:red }');
|
||||
|
||||
// If you want to provide "friendly" names you can do so like
|
||||
// (you can do this for stylistLoadStylesheet as well)
|
||||
xinha_config.stylistLoadStyles('p.pink_text { color:pink }', {'p.pink_text' : 'Pretty Pink'});
|
||||
*/
|
||||
/** STEP 3 ***************************************************************
|
||||
* We first create editors for the textareas.
|
||||
*
|
||||
* You can do this in two ways, either
|
||||
*
|
||||
* xinha_editors = HTMLArea.makeEditors(xinha_editors, xinha_config, xinha_plugins);
|
||||
*
|
||||
* if you want all the editor objects to use the same set of plugins, OR;
|
||||
*
|
||||
* xinha_editors = HTMLArea.makeEditors(xinha_editors, xinha_config);
|
||||
* xinha_editors['myTextArea'].registerPlugins(['Stylist','FullScreen']);
|
||||
* xinha_editors['anotherOne'].registerPlugins(['CSS','SuperClean']);
|
||||
*
|
||||
* if you want to use a different set of plugins for one or more of the
|
||||
* editors.
|
||||
************************************************************************/
|
||||
|
||||
xinha_editors = HTMLArea.makeEditors(xinha_editors, xinha_config, xinha_plugins);
|
||||
|
||||
/** STEP 4 ***************************************************************
|
||||
* If you want to change the configuration variables of any of the
|
||||
* editors, this is the place to do that, for example you might want to
|
||||
* change the width and height of one of the editors, like this...
|
||||
*
|
||||
* xinha_editors.myTextArea.config.width = 640;
|
||||
* xinha_editors.myTextArea.config.height = 480;
|
||||
*
|
||||
************************************************************************/
|
||||
|
||||
|
||||
/** STEP 5 ***************************************************************
|
||||
* Finally we "start" the editors, this turns the textareas into
|
||||
* Xinha editors.
|
||||
************************************************************************/
|
||||
|
||||
HTMLArea.startEditors(xinha_editors);
|
||||
window.onload = null;
|
||||
}
|
||||
|
||||
window.onload = xinha_init;
|
||||
// window.onunload = HTMLArea.collectGarbageForIE;
|
||||
</script>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
|
||||
<form action="javascript:var x = document.getElementById('editors_here');alert(x.myTextArea.value);" id="editors_here" onsubmit="alert(this.myTextArea.value);">
|
||||
<textarea id="myTextArea" name="myTextArea" style="width:100%;height:320px;">
|
||||
<p>
|
||||
Lorem ipsum dolor sit amet, consectetuer adipiscing elit.
|
||||
Aliquam et tellus vitae justo varius placerat. Suspendisse iaculis
|
||||
velit semper dolor. Donec gravida tincidunt mi. Curabitur tristique
|
||||
ante elementum turpis. Aliquam nisl. Nulla posuere neque non
|
||||
tellus. Morbi vel nibh. Cum sociis natoque penatibus et magnis dis
|
||||
parturient montes, nascetur ridiculus mus. Nam nec wisi. In wisi.
|
||||
Curabitur pharetra bibendum lectus.
|
||||
</p>
|
||||
|
||||
<ul>
|
||||
<li> Phasellus et massa sed diam viverra semper. </li>
|
||||
<li> Mauris tincidunt felis in odio. </li>
|
||||
<li> Nulla placerat nunc ut pede. </li>
|
||||
<li> Vivamus ultrices mi sit amet urna. </li>
|
||||
<li> Quisque sed augue quis nunc laoreet volutpat.</li>
|
||||
<li> Nunc sit amet metus in tortor semper mattis. </li>
|
||||
</ul>
|
||||
</textarea>
|
||||
|
||||
<input type="submit" /> <input type="reset" />
|
||||
</form>
|
||||
<script language="javascript">
|
||||
document.write(document.compatMode);
|
||||
</script>
|
||||
<a href="#" onclick="xinha_editors.myTextArea.hidePanels();">Hide</a>
|
||||
<a href="#" onclick="xinha_editors.myTextArea.showPanels();">Show</a>
|
||||
</body>
|
||||
</html>
|
||||
239
xinha/htmlarea.css
Normal file
@@ -0,0 +1,239 @@
|
||||
.htmlarea { background: #fff; margin:2px; }
|
||||
|
||||
.htmlarea .toolbar {
|
||||
cursor: default;
|
||||
background: ButtonFace;
|
||||
padding: 3px;
|
||||
border: 1px solid;
|
||||
border-color: ButtonHighlight ButtonShadow ButtonShadow ButtonHighlight;
|
||||
}
|
||||
.htmlarea .toolbar table { margin: 0; font-family: tahoma,verdana,sans-serif; font-size: 11px; }
|
||||
.htmlarea .toolbar img { border: none; vertical-align: top; }
|
||||
.htmlarea .toolbar .label { padding: 0px 3px; }
|
||||
|
||||
.htmlarea .toolbar .button {
|
||||
background: ButtonFace;
|
||||
color: ButtonText;
|
||||
border: 1px solid ButtonFace;
|
||||
padding: 1px;
|
||||
margin: 0px;
|
||||
width: 18px;
|
||||
height: 18px;
|
||||
}
|
||||
.htmlarea .toolbar a.button:hover {
|
||||
border: 1px solid;
|
||||
border-color: ButtonHighlight ButtonShadow ButtonShadow ButtonHighlight;
|
||||
}
|
||||
.htmlarea .toolbar a.buttonDisabled:hover {
|
||||
border-color: ButtonFace;
|
||||
}
|
||||
.htmlarea .toolbar .buttonActive,
|
||||
.htmlarea .toolbar .buttonPressed
|
||||
{
|
||||
padding: 2px 0px 0px 2px;
|
||||
border: 1px solid;
|
||||
border-color: ButtonShadow ButtonHighlight ButtonHighlight ButtonShadow;
|
||||
}
|
||||
.htmlarea .toolbar .buttonPressed {
|
||||
background: ButtonHighlight;
|
||||
}
|
||||
.htmlarea .toolbar .indicator {
|
||||
padding: 0px 3px;
|
||||
overflow: hidden;
|
||||
width: 20px;
|
||||
text-align: center;
|
||||
cursor: default;
|
||||
border: 1px solid ButtonShadow;
|
||||
}
|
||||
|
||||
.htmlarea .toolbar .buttonDisabled img {
|
||||
filter: gray() alpha(opacity = 25);
|
||||
-moz-opacity: 0.25;
|
||||
}
|
||||
|
||||
.htmlarea .toolbar .separator {
|
||||
/*position: relative;*/
|
||||
margin: 3px;
|
||||
border-left: 1px solid ButtonShadow;
|
||||
border-right: 1px solid ButtonHighlight;
|
||||
width: 0px;
|
||||
height: 18px;
|
||||
padding: 0px;
|
||||
}
|
||||
|
||||
.htmlarea .toolbar .space { width: 5px; }
|
||||
|
||||
.htmlarea .toolbar select, .htmlarea .toolbar option { font: 11px Tahoma,Verdana,sans-serif;}
|
||||
|
||||
.htmlarea .toolbar select,
|
||||
.htmlarea .toolbar select:hover,
|
||||
.htmlarea .toolbar select:active {
|
||||
margin-top: 2px;
|
||||
margin-bottom: 1px;
|
||||
background: FieldFace;
|
||||
color: ButtonText;
|
||||
}
|
||||
|
||||
.htmlarea iframe.xinha_iframe, .htmlarea textarea.xinha_textarea
|
||||
{
|
||||
border: none; /*1px solid;*/
|
||||
}
|
||||
|
||||
.htmlarea .statusBar {
|
||||
border: 1px solid;
|
||||
border-color: ButtonShadow ButtonHighlight ButtonHighlight ButtonShadow;
|
||||
padding: 2px 4px;
|
||||
background-color: ButtonFace;
|
||||
color: ButtonText;
|
||||
font: 11px Tahoma,Verdana,sans-serif;
|
||||
}
|
||||
|
||||
.htmlarea .statusBar .statusBarTree a {
|
||||
padding: 2px 5px;
|
||||
color: #00f;
|
||||
}
|
||||
|
||||
.htmlarea .statusBar .statusBarTree a:visited { color: #00f; }
|
||||
.htmlarea .statusBar .statusBarTree a:hover {
|
||||
background-color: Highlight;
|
||||
color: HighlightText;
|
||||
padding: 1px 4px;
|
||||
border: 1px solid HighlightText;
|
||||
}
|
||||
|
||||
|
||||
/* Hidden DIV popup dialogs (PopupDiv) */
|
||||
|
||||
.dialog {
|
||||
color: ButtonText;
|
||||
background: ButtonFace;
|
||||
}
|
||||
|
||||
.dialog .content { padding: 2px; }
|
||||
|
||||
.dialog, .dialog button, .dialog input, .dialog select, .dialog textarea, .dialog table {
|
||||
font: 11px Tahoma,Verdana,sans-serif;
|
||||
}
|
||||
|
||||
.dialog table { border-collapse: collapse; }
|
||||
|
||||
.dialog .title, .dialog h1
|
||||
{
|
||||
background: #008;
|
||||
color: #ff8;
|
||||
border-bottom: 1px solid #000;
|
||||
padding: 1px 0px 2px 5px;
|
||||
font-size: 12px;
|
||||
font-weight: bold;
|
||||
cursor: default;
|
||||
}
|
||||
.dialog h1 { margin:0px;}
|
||||
.dialog .title .button {
|
||||
float: right;
|
||||
border: 1px solid #66a;
|
||||
padding: 0px 1px 0px 2px;
|
||||
margin-right: 1px;
|
||||
color: #fff;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.dialog .title .button-hilite { border-color: #88f; background: #44c; }
|
||||
|
||||
.dialog button {
|
||||
width: 5em;
|
||||
padding: 0px;
|
||||
}
|
||||
|
||||
.dialog .buttonColor {
|
||||
padding: 1px;
|
||||
cursor: default;
|
||||
border: 1px solid;
|
||||
border-color: ButtonHighlight ButtonShadow ButtonShadow ButtonHighlight;
|
||||
}
|
||||
|
||||
.dialog .buttonColor-hilite {
|
||||
border-color: #000;
|
||||
}
|
||||
|
||||
.dialog .buttonColor .chooser, .dialog .buttonColor .nocolor {
|
||||
height: 0.6em;
|
||||
border: 1px solid;
|
||||
padding: 0px 1em;
|
||||
border-color: ButtonShadow ButtonHighlight ButtonHighlight ButtonShadow;
|
||||
}
|
||||
|
||||
.dialog .buttonColor .nocolor { padding: 0px; }
|
||||
.dialog .buttonColor .nocolor-hilite { background-color: #fff; color: #f00; }
|
||||
|
||||
.dialog .label { text-align: right; width: 6em; }
|
||||
.dialog .value input { width: 100%; }
|
||||
.dialog .buttons { text-align: right; padding: 2px 4px 0px 4px; }
|
||||
|
||||
.dialog legend { font-weight: bold; }
|
||||
.dialog fieldset table { margin: 2px 0px; }
|
||||
|
||||
.popupdiv {
|
||||
border: 2px solid;
|
||||
border-color: ButtonHighlight ButtonShadow ButtonShadow ButtonHighlight;
|
||||
}
|
||||
|
||||
.popupwin {
|
||||
padding: 0px;
|
||||
margin: 0px;
|
||||
}
|
||||
|
||||
.popupwin .title {
|
||||
background: #fff;
|
||||
color: #000;
|
||||
font-weight: bold;
|
||||
font-size: 120%;
|
||||
padding: 3px 10px;
|
||||
margin-bottom: 10px;
|
||||
border-bottom: 1px solid black;
|
||||
letter-spacing: 2px;
|
||||
}
|
||||
|
||||
form { margin: 0px; border: none; }
|
||||
|
||||
|
||||
/** Panels **/
|
||||
.htmlarea .panels.top
|
||||
{
|
||||
border-bottom : 1px solid;
|
||||
border-color: ButtonShadow;
|
||||
}
|
||||
|
||||
.htmlarea .panels.right
|
||||
{
|
||||
border-left : 1px solid;
|
||||
border-color: ButtonShadow;
|
||||
}
|
||||
|
||||
.htmlarea .panels.left
|
||||
{
|
||||
border-right : 1px solid;
|
||||
border-color: ButtonShadow;
|
||||
}
|
||||
|
||||
.htmlarea .panels.bottom
|
||||
{
|
||||
border-top : 1px solid;
|
||||
border-color: ButtonShadow;
|
||||
}
|
||||
|
||||
.htmlarea .panel h1 {
|
||||
background: ButtonFace;
|
||||
border: 1px solid;
|
||||
border-color: ButtonHighlight ButtonShadow ButtonShadow ButtonHighlight;
|
||||
margin: 0px;
|
||||
padding: 0px;
|
||||
font-size:100%;
|
||||
font-weight:bold;
|
||||
padding: 2px;
|
||||
}
|
||||
|
||||
.htmlarea .panels.left .panel { border-right:none; border-left:none; }
|
||||
.htmlarea .panels.left h1 { border-right:none; }
|
||||
.htmlarea .panels.right .panel { border-right:none; border-left:none; }
|
||||
.htmlarea .panels.left h1 { border-left:none; }
|
||||
.htmlarea { border: 1px solid black; }
|
||||
5517
xinha/htmlarea.js
Normal file
BIN
xinha/images/de/bold.gif
Normal file
|
After Width: | Height: | Size: 69 B |
BIN
xinha/images/de/italic.gif
Normal file
|
After Width: | Height: | Size: 71 B |
BIN
xinha/images/de/underline.gif
Normal file
|
After Width: | Height: | Size: 82 B |
BIN
xinha/images/ed_about.gif
Normal file
|
After Width: | Height: | Size: 87 B |
BIN
xinha/images/ed_align.gif
Normal file
|
After Width: | Height: | Size: 3.4 KiB |
BIN
xinha/images/ed_align_center.gif
Normal file
|
After Width: | Height: | Size: 69 B |
BIN
xinha/images/ed_align_justify.gif
Normal file
|
After Width: | Height: | Size: 69 B |
BIN
xinha/images/ed_align_left.gif
Normal file
|
After Width: | Height: | Size: 69 B |
BIN
xinha/images/ed_align_right.gif
Normal file
|
After Width: | Height: | Size: 68 B |
BIN
xinha/images/ed_blank.gif
Normal file
|
After Width: | Height: | Size: 56 B |
BIN
xinha/images/ed_buttons_main.gif
Normal file
|
After Width: | Height: | Size: 6.5 KiB |
BIN
xinha/images/ed_charmap.gif
Normal file
|
After Width: | Height: | Size: 143 B |
BIN
xinha/images/ed_clearfonts.gif
Normal file
|
After Width: | Height: | Size: 149 B |
BIN
xinha/images/ed_color_bg.gif
Normal file
|
After Width: | Height: | Size: 181 B |
BIN
xinha/images/ed_color_fg.gif
Normal file
|
After Width: | Height: | Size: 171 B |
BIN
xinha/images/ed_copy.gif
Normal file
|
After Width: | Height: | Size: 110 B |
BIN
xinha/images/ed_custom.gif
Normal file
|
After Width: | Height: | Size: 67 B |
BIN
xinha/images/ed_cut.gif
Normal file
|
After Width: | Height: | Size: 91 B |
BIN
xinha/images/ed_delete.gif
Normal file
|
After Width: | Height: | Size: 90 B |
BIN
xinha/images/ed_format_bold.gif
Normal file
|
After Width: | Height: | Size: 74 B |
BIN
xinha/images/ed_format_italic.gif
Normal file
|
After Width: | Height: | Size: 77 B |
BIN
xinha/images/ed_format_strike.gif
Normal file
|
After Width: | Height: | Size: 78 B |
BIN
xinha/images/ed_format_sub.gif
Normal file
|
After Width: | Height: | Size: 78 B |
BIN
xinha/images/ed_format_sup.gif
Normal file
|
After Width: | Height: | Size: 77 B |
BIN
xinha/images/ed_format_underline.gif
Normal file
|
After Width: | Height: | Size: 85 B |
BIN
xinha/images/ed_help.gif
Normal file
|
After Width: | Height: | Size: 70 B |
BIN
xinha/images/ed_hr.gif
Normal file
|
After Width: | Height: | Size: 70 B |
BIN
xinha/images/ed_html.gif
Normal file
|
After Width: | Height: | Size: 75 B |
BIN
xinha/images/ed_image.gif
Normal file
|
After Width: | Height: | Size: 148 B |
BIN
xinha/images/ed_indent_less.gif
Normal file
|
After Width: | Height: | Size: 87 B |
BIN
xinha/images/ed_indent_more.gif
Normal file
|
After Width: | Height: | Size: 87 B |
BIN
xinha/images/ed_killword.gif
Normal file
|
After Width: | Height: | Size: 154 B |
BIN
xinha/images/ed_left_to_right.gif
Normal file
|
After Width: | Height: | Size: 89 B |
BIN
xinha/images/ed_link.gif
Normal file
|
After Width: | Height: | Size: 97 B |
BIN
xinha/images/ed_list_bullet.gif
Normal file
|
After Width: | Height: | Size: 80 B |
BIN
xinha/images/ed_list_num.gif
Normal file
|
After Width: | Height: | Size: 82 B |
BIN
xinha/images/ed_overwrite.gif
Normal file
|
After Width: | Height: | Size: 888 B |
BIN
xinha/images/ed_paste.gif
Normal file
|
After Width: | Height: | Size: 139 B |
BIN
xinha/images/ed_print.gif
Normal file
|
After Width: | Height: | Size: 128 B |
BIN
xinha/images/ed_redo.gif
Normal file
|
After Width: | Height: | Size: 80 B |
BIN
xinha/images/ed_right_to_left.gif
Normal file
|
After Width: | Height: | Size: 88 B |
BIN
xinha/images/ed_rmformat.gif
Normal file
|
After Width: | Height: | Size: 118 B |
BIN
xinha/images/ed_save.gif
Normal file
|
After Width: | Height: | Size: 143 B |
BIN
xinha/images/ed_save.png
Normal file
|
After Width: | Height: | Size: 230 B |
BIN
xinha/images/ed_saveas.gif
Normal file
|
After Width: | Height: | Size: 905 B |
BIN
xinha/images/ed_selectall.gif
Normal file
|
After Width: | Height: | Size: 941 B |
BIN
xinha/images/ed_show_border.gif
Normal file
|
After Width: | Height: | Size: 104 B |
BIN
xinha/images/ed_splitblock.gif
Normal file
|
After Width: | Height: | Size: 886 B |
BIN
xinha/images/ed_splitcel.gif
Normal file
|
After Width: | Height: | Size: 143 B |
BIN
xinha/images/ed_undo.gif
Normal file
|
After Width: | Height: | Size: 81 B |
BIN
xinha/images/ed_word_cleaner.gif
Normal file
|
After Width: | Height: | Size: 660 B |
BIN
xinha/images/fullscreen_maximize.gif
Normal file
|
After Width: | Height: | Size: 97 B |
BIN
xinha/images/fullscreen_minimize.gif
Normal file
|
After Width: | Height: | Size: 97 B |
BIN
xinha/images/insert_table.gif
Normal file
|
After Width: | Height: | Size: 121 B |
BIN
xinha/images/insertfilelink.gif
Normal file
|
After Width: | Height: | Size: 158 B |
BIN
xinha/images/insertmacro.png
Normal file
|
After Width: | Height: | Size: 638 B |
BIN
xinha/images/tidy.gif
Normal file
|
After Width: | Height: | Size: 988 B |
BIN
xinha/images/toggle_borders.gif
Normal file
|
After Width: | Height: | Size: 129 B |
327
xinha/inline-dialog.js
Normal file
@@ -0,0 +1,327 @@
|
||||
|
||||
HTMLArea.Dialog = function(editor, html, localizer)
|
||||
{
|
||||
this.id = { };
|
||||
this.r_id = { }; // reverse lookup id
|
||||
this.editor = editor;
|
||||
this.document = document;
|
||||
|
||||
this.rootElem = document.createElement('div');
|
||||
this.rootElem.className = 'dialog';
|
||||
this.rootElem.style.position = 'absolute';
|
||||
this.rootElem.style.display = 'none';
|
||||
this.editor._framework.ed_cell.insertBefore(this.rootElem, this.editor._framework.ed_cell.firstChild);
|
||||
this.rootElem.style.width = this.width = this.editor._framework.ed_cell.offsetWidth + 'px';
|
||||
this.rootElem.style.height = this.height = this.editor._framework.ed_cell.offsetHeight + 'px';
|
||||
|
||||
var dialog = this;
|
||||
if(typeof localizer == 'function')
|
||||
{
|
||||
this._lc = localizer;
|
||||
}
|
||||
else if(localizer)
|
||||
{
|
||||
this._lc = function(string)
|
||||
{
|
||||
return HTMLArea._lc(string,localizer);
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
this._lc = function(string)
|
||||
{
|
||||
return string;
|
||||
}
|
||||
}
|
||||
|
||||
html = html.replace(/\[([a-z0-9_]+)\]/ig,
|
||||
function(fullString, id)
|
||||
{
|
||||
if(typeof dialog.id[id] == 'undefined')
|
||||
{
|
||||
dialog.id[id] = HTMLArea.uniq('Dialog');
|
||||
dialog.r_id[dialog.id[id]] = id;
|
||||
}
|
||||
return dialog.id[id];
|
||||
}
|
||||
).replace(/<l10n>(.*?)<\/l10n>/ig,
|
||||
function(fullString,translate)
|
||||
{
|
||||
return dialog._lc(translate) ;
|
||||
}
|
||||
).replace(/="_\((.*?)\)"/g,
|
||||
function(fullString, translate)
|
||||
{
|
||||
return '="' + dialog._lc(translate) + '"';
|
||||
}
|
||||
);
|
||||
|
||||
this.rootElem.innerHTML = html;
|
||||
|
||||
|
||||
|
||||
|
||||
this.editor.notifyOn
|
||||
('resize',
|
||||
function(e, args)
|
||||
{
|
||||
dialog.rootElem.style.width = dialog.width = dialog.editor._framework.ed_cell.offsetWidth + 'px';
|
||||
dialog.rootElem.style.height = dialog.height = dialog.editor._framework.ed_cell.offsetHeight + 'px';
|
||||
dialog.onresize();
|
||||
}
|
||||
);
|
||||
}
|
||||
|
||||
HTMLArea.Dialog.prototype.onresize = function()
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
||||
HTMLArea.Dialog.prototype.show = function(values)
|
||||
{
|
||||
// We need to preserve the selection for IE
|
||||
if(HTMLArea.is_ie)
|
||||
{
|
||||
this._lastRange = this.editor._createRange(this.editor._getSelection());
|
||||
}
|
||||
|
||||
if(typeof values != 'undefined')
|
||||
{
|
||||
this.setValues(values);
|
||||
}
|
||||
this._restoreTo = [this.editor._textArea.style.display, this.editor._iframe.style.visibility, this.editor.hidePanels()];
|
||||
|
||||
this.editor._textArea.style.display = 'none';
|
||||
this.editor._iframe.style.visibility = 'hidden';
|
||||
this.rootElem.style.display = '';
|
||||
}
|
||||
|
||||
HTMLArea.Dialog.prototype.hide = function()
|
||||
{
|
||||
this.rootElem.style.display = 'none';
|
||||
this.editor._textArea.style.display = this._restoreTo[0];
|
||||
this.editor._iframe.style.visibility = this._restoreTo[1];
|
||||
this.editor.showPanels(this._restoreTo[2]);
|
||||
|
||||
// Restore the selection
|
||||
if(HTMLArea.is_ie)
|
||||
{
|
||||
this._lastRange.select();
|
||||
}
|
||||
this.editor.updateToolbar();
|
||||
return this.getValues();
|
||||
}
|
||||
|
||||
HTMLArea.Dialog.prototype.toggle = function()
|
||||
{
|
||||
if(this.rootElem.style.display == 'none')
|
||||
{
|
||||
this.show();
|
||||
}
|
||||
else
|
||||
{
|
||||
this.hide();
|
||||
}
|
||||
}
|
||||
|
||||
HTMLArea.Dialog.prototype.setValues = function(values)
|
||||
{
|
||||
for(var i in values)
|
||||
{
|
||||
var elems = this.getElementsByName(i);
|
||||
if(!elems) continue;
|
||||
for(var x = 0; x < elems.length; x++)
|
||||
{
|
||||
var e = elems[x];
|
||||
switch(e.tagName.toLowerCase())
|
||||
{
|
||||
case 'select' :
|
||||
{
|
||||
for(var j = 0; j < e.options.length; j++)
|
||||
{
|
||||
if(typeof values[i] == 'object')
|
||||
{
|
||||
for(var k = 0; k < values[i].length; k++)
|
||||
{
|
||||
if(values[i][k] == e.options[j].value)
|
||||
{
|
||||
e.options[j].selected = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
else if(values[i] == e.options[j].value)
|
||||
{
|
||||
e.options[j].selected = true;
|
||||
}
|
||||
}
|
||||
break;
|
||||
}
|
||||
|
||||
|
||||
case 'textarea':
|
||||
case 'input' :
|
||||
{
|
||||
switch(e.getAttribute('type'))
|
||||
{
|
||||
case 'radio' :
|
||||
{
|
||||
if(e.value == values[i])
|
||||
{
|
||||
e.checked = true;
|
||||
}
|
||||
break;
|
||||
}
|
||||
|
||||
case 'checkbox':
|
||||
{
|
||||
if(typeof values[i] == 'object')
|
||||
{
|
||||
for(var j in values[i])
|
||||
{
|
||||
if(values[i][j] == e.value)
|
||||
{
|
||||
e.checked = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
if(values[i] == e.value)
|
||||
{
|
||||
e.checked = true;
|
||||
}
|
||||
}
|
||||
break;
|
||||
}
|
||||
|
||||
default :
|
||||
{
|
||||
e.value = values[i];
|
||||
}
|
||||
}
|
||||
break;
|
||||
}
|
||||
|
||||
default :
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
HTMLArea.Dialog.prototype.getValues = function()
|
||||
{
|
||||
var values = [ ];
|
||||
var inputs = HTMLArea.collectionToArray(this.rootElem.getElementsByTagName('input'))
|
||||
.append(HTMLArea.collectionToArray(this.rootElem.getElementsByTagName('textarea')))
|
||||
.append(HTMLArea.collectionToArray(this.rootElem.getElementsByTagName('select')));
|
||||
|
||||
for(var x = 0; x < inputs.length; x++)
|
||||
{
|
||||
var i = inputs[x];
|
||||
if(!(i.name && this.r_id[i.name])) continue;
|
||||
|
||||
if(typeof values[this.r_id[i.name]] == 'undefined')
|
||||
{
|
||||
values[this.r_id[i.name]] = null;
|
||||
}
|
||||
var v = values[this.r_id[i.name]];
|
||||
|
||||
switch(i.tagName.toLowerCase())
|
||||
{
|
||||
case 'select':
|
||||
{
|
||||
if(i.multiple)
|
||||
{
|
||||
if(!v.push)
|
||||
{
|
||||
if(v != null)
|
||||
{
|
||||
v = [v];
|
||||
}
|
||||
else
|
||||
{
|
||||
v = new Array();
|
||||
}
|
||||
}
|
||||
for(var j = 0; j < i.options.length; j++)
|
||||
{
|
||||
if(i.options[j].selected)
|
||||
{
|
||||
v.push(i.options[j].value);
|
||||
}
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
if(i.selectedIndex >= 0)
|
||||
{
|
||||
v = i.options[i.selectedIndex];
|
||||
}
|
||||
}
|
||||
break;
|
||||
}
|
||||
|
||||
case 'textarea':
|
||||
case 'input' :
|
||||
default :
|
||||
{
|
||||
switch(i.type.toLowerCase())
|
||||
{
|
||||
case 'radio':
|
||||
{
|
||||
if(i.checked)
|
||||
{
|
||||
v = i.value;
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
case 'checkbox':
|
||||
{
|
||||
if(v == null)
|
||||
{
|
||||
if(this.getElementsByName(this.r_id[i.name]).length > 1)
|
||||
{
|
||||
v = new Array();
|
||||
}
|
||||
}
|
||||
|
||||
if(i.checked)
|
||||
{
|
||||
if(v != null && typeof v == 'object' && v.push)
|
||||
{
|
||||
v.push(i.value);
|
||||
}
|
||||
else
|
||||
{
|
||||
v = i.value;
|
||||
}
|
||||
}
|
||||
break;
|
||||
}
|
||||
|
||||
default :
|
||||
{
|
||||
v = i.value;
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
values[this.r_id[i.name]] = v;
|
||||
}
|
||||
return values;
|
||||
}
|
||||
|
||||
HTMLArea.Dialog.prototype.getElementById = function(id)
|
||||
{
|
||||
return this.document.getElementById(this.id[id] ? this.id[id] : id);
|
||||
}
|
||||
|
||||
HTMLArea.Dialog.prototype.getElementsByName = function(name)
|
||||
{
|
||||
return this.document.getElementsByName(this.id[name] ? this.id[name] : name);
|
||||
}
|
||||
29
xinha/lang/b5.js
Normal file
@@ -0,0 +1,29 @@
|
||||
// I18N constants -- UTF-8
|
||||
// by Dave Lo -- dlo@interactivetools.com
|
||||
{
|
||||
"Bold": "粗體",
|
||||
"Italic": "斜體",
|
||||
"Underline": "底線",
|
||||
"Strikethrough": "刪除線",
|
||||
"Subscript": "下標",
|
||||
"Superscript": "上標",
|
||||
"Justify Left": "位置靠左",
|
||||
"Justify Center": "位置居中",
|
||||
"Justify Right": "位置靠右",
|
||||
"Justify Full": "位置左右平等",
|
||||
"Ordered List": "順序清單",
|
||||
"Bulleted List": "無序清單",
|
||||
"Decrease Indent": "減小行前空白",
|
||||
"Increase Indent": "加寬行前空白",
|
||||
"Font Color": "文字顏色",
|
||||
"Background Color": "背景顏色",
|
||||
"Horizontal Rule": "水平線",
|
||||
"Insert Web Link": "插入連結",
|
||||
"Insert/Modify Image": "插入圖形",
|
||||
"Insert Table": "插入表格",
|
||||
"Toggle HTML Source": "切換HTML原始碼",
|
||||
"Enlarge Editor": "放大",
|
||||
"About this editor": "關於 HTMLArea",
|
||||
"Help using editor": "說明",
|
||||
"Current style": "字體例子"
|
||||
}
|
||||
56
xinha/lang/ch.js
Normal file
@@ -0,0 +1,56 @@
|
||||
// I18N constants
|
||||
|
||||
// LANG: "ch", ENCODING: UTF-8
|
||||
// Samuel Stone, http://stonemicro.com/
|
||||
|
||||
{
|
||||
"Bold": "粗體",
|
||||
"Italic": "斜體",
|
||||
"Underline": "底線",
|
||||
"Strikethrough": "刪線",
|
||||
"Subscript": "下標",
|
||||
"Superscript": "上標",
|
||||
"Justify Left": "靠左",
|
||||
"Justify Center": "居中",
|
||||
"Justify Right": "靠右",
|
||||
"Justify Full": "整齊",
|
||||
"Ordered List": "順序清單",
|
||||
"Bulleted List": "無序清單",
|
||||
"Decrease Indent": "伸排",
|
||||
"Increase Indent": "縮排",
|
||||
"Font Color": "文字顏色",
|
||||
"Background Color": "背景顏色",
|
||||
"Horizontal Rule": "水平線",
|
||||
"Insert Web Link": "插入連結",
|
||||
"Insert/Modify Image": "插入圖像",
|
||||
"Insert Table": "插入表格",
|
||||
"Toggle HTML Source": "切換HTML原始碼",
|
||||
"Enlarge Editor": "伸出編輯系統",
|
||||
"About this editor": "關於 HTMLArea",
|
||||
"Help using editor": "說明",
|
||||
"Current style": "字體例子",
|
||||
"Undoes your last action": "回原",
|
||||
"Redoes your last action": "重来",
|
||||
"Cut selection": "剪制选项",
|
||||
"Copy selection": "复制选项",
|
||||
"Paste from clipboard": "贴上",
|
||||
"Direction left to right": "从左到右",
|
||||
"Direction right to left": "从右到左",
|
||||
"OK": "好",
|
||||
"Cancel": "取消",
|
||||
"Path": "途徑",
|
||||
"You are in TEXT MODE. Use the [<>] button to switch back to WYSIWYG.": "你在用純字編輯方式. 用 [<>] 按鈕轉回 所見即所得 編輯方式.",
|
||||
"The full screen mode is known to cause problems with Internet Explorer, due to browser bugs that we weren": "整頁式在Internet Explorer 上常出問題, 因為這是 Internet Explorer 的無名問題,我們無法解決。你可能看見一些垃圾,或遇到其他問題。我們已警告了你. 如果要轉到 正頁式 請按 好.",
|
||||
"The Paste button does not work in Mozilla based web browsers (technical security reasons). Press CTRL-V on your keyboard to paste directly.": "The Paste button does not work in Mozilla based web browsers (technical security reasons). Press CTRL-V on your keyboard to paste directly.",
|
||||
"Cancel": "取消",
|
||||
"Insert/Modify Link": "插入/改寫連結",
|
||||
"New window (_blank)": "新窗户(_blank)",
|
||||
"None (use implicit)": "無(use implicit)",
|
||||
"Other": "其他",
|
||||
"Same frame (_self)": "本匡 (_self)",
|
||||
"Target:": "目標匡:",
|
||||
"Title (tooltip):": "主題 (tooltip):",
|
||||
"Top frame (_top)": "上匡 (_top)",
|
||||
"URL:": "網址:",
|
||||
"You must enter the URL where this link points to": "你必須輸入你要连结的網址"
|
||||
}
|
||||
50
xinha/lang/cz.js
Normal file
@@ -0,0 +1,50 @@
|
||||
// I18N constants
|
||||
|
||||
// LANG: "cz", ENCODING: UTF-8
|
||||
// Author: Jiri Löw, <jirilow@jirilow.com>
|
||||
|
||||
// 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.)
|
||||
|
||||
{
|
||||
"Bold": "Tučně",
|
||||
"Italic": "Kurzíva",
|
||||
"Underline": "Podtržení",
|
||||
"Strikethrough": "Přeškrtnutí",
|
||||
"Subscript": "Dolní index",
|
||||
"Superscript": "Horní index",
|
||||
"Justify Left": "Zarovnat doleva",
|
||||
"Justify Center": "Na střed",
|
||||
"Justify Right": "Zarovnat doprava",
|
||||
"Justify Full": "Zarovnat do stran",
|
||||
"Ordered List": "Seznam",
|
||||
"Bulleted List": "Odrážky",
|
||||
"Decrease Indent": "Předsadit",
|
||||
"Increase Indent": "Odsadit",
|
||||
"Font Color": "Barva písma",
|
||||
"Background Color": "Barva pozadí",
|
||||
"Horizontal Rule": "Vodorovná čára",
|
||||
"Insert Web Link": "Vložit odkaz",
|
||||
"Insert/Modify Image": "Vložit obrázek",
|
||||
"Insert Table": "Vložit tabulku",
|
||||
"Toggle HTML Source": "Přepnout HTML",
|
||||
"Enlarge Editor": "Nové okno editoru",
|
||||
"About this editor": "O této aplikaci",
|
||||
"Help using editor": "Nápověda aplikace",
|
||||
"Current style": "Zvolený styl",
|
||||
"Undoes your last action": "Vrátí poslední akci",
|
||||
"Redoes your last action": "Opakuje poslední akci",
|
||||
"Cut selection": "Vyjmout",
|
||||
"Copy selection": "Kopírovat",
|
||||
"Paste from clipboard": "Vložit",
|
||||
"OK": "OK",
|
||||
"Cancel": "Zrušit",
|
||||
"Path": "Cesta",
|
||||
"You are in TEXT MODE. Use the [<>] button to switch back to WYSIWYG.": "Jste v TEXTOVÉM REŽIMU. Použijte tlačítko [<>] pro přepnutí do WYSIWIG."
|
||||
}
|
||||
30
xinha/lang/da.js
Normal file
@@ -0,0 +1,30 @@
|
||||
// LANG: "da", ENCODING: UTF-8
|
||||
// Author: rene, <rene@laerke.net>
|
||||
|
||||
{
|
||||
"Bold": "Fed",
|
||||
"Italic": "Kursiv",
|
||||
"Underline": "Understregning",
|
||||
"Strikethrough": "Overstregning ",
|
||||
"Subscript": "Sænket skrift",
|
||||
"Superscript": "Hævet skrift",
|
||||
"Justify Left": "Venstrejuster",
|
||||
"Justify Center": "Centrer",
|
||||
"Justify Right": "Højrejuster",
|
||||
"Justify Full": "Lige margener",
|
||||
"Ordered List": "Opstilling med tal",
|
||||
"Bulleted List": "Opstilling med punkttegn",
|
||||
"Decrease Indent": "Formindsk indrykning",
|
||||
"Increase Indent": "Forøg indrykning",
|
||||
"Font Color": "Skriftfarve",
|
||||
"Background Color": "Baggrundsfarve",
|
||||
"Horizontal Rule": "Horisontal linie",
|
||||
"Insert Web Link": "Indsæt hyperlink",
|
||||
"Insert/Modify Image": "Indsæt billede",
|
||||
"Insert Table": "Indsæt tabel",
|
||||
"Toggle HTML Source": "HTML visning",
|
||||
"Enlarge Editor": "Vis editor i popup",
|
||||
"About this editor": "Om htmlarea",
|
||||
"Help using editor": "Hjælp",
|
||||
"Current style": "Anvendt stil"
|
||||
}
|
||||
138
xinha/lang/de.js
Normal file
@@ -0,0 +1,138 @@
|
||||
// I18N constants
|
||||
|
||||
// LANG: "de", ENCODING: UTF-8
|
||||
|
||||
{
|
||||
"Bold": "Fett",
|
||||
"Italic": "Kursiv",
|
||||
"Underline": "Unterstrichen",
|
||||
"Strikethrough": "Durchgestrichen",
|
||||
"Subscript": "Tiefgestellt",
|
||||
"Superscript": "Hochgestellt",
|
||||
"Justify Left": "Linksbündig",
|
||||
"Justify Center": "Zentriert",
|
||||
"Justify Right": "Rechtsbündig",
|
||||
"Justify Full": "Blocksatz",
|
||||
"Ordered List": "Nummerierte Liste",
|
||||
"Bulleted List": "Aufzählungsliste",
|
||||
"Decrease Indent": "Einzug verkleinern",
|
||||
"Increase Indent": "Einzug vergrößern",
|
||||
"Font Color": "Schriftfarbe",
|
||||
"Background Color": "Hindergrundfarbe",
|
||||
"Horizontal Rule": "Horizontale Linie",
|
||||
"Insert Web Link": "Hyperlink einfügen",
|
||||
"Insert/Modify Image": "Bild einfügen/verändern",
|
||||
"Insert Table": "Tabelle einfügen",
|
||||
"Toggle HTML Source": "HTML Quelltext ein/ausschalten",
|
||||
"Enlarge Editor": "Editor vergrößern",
|
||||
"About this editor": "Über diesen Editor",
|
||||
"Help using editor": "Hilfe",
|
||||
"Current style": "Derzeitiger Stil",
|
||||
"Undoes your last action": "Rückgängig",
|
||||
"Redoes your last action": "Wiederholen",
|
||||
"Cut selection": "Ausschneiden",
|
||||
"Copy selection": "Kopieren",
|
||||
"Paste from clipboard": "Einfügen aus der Zwischenablage",
|
||||
"Direction left to right": "Textrichtung von Links nach Rechts",
|
||||
"Direction right to left": "Textrichtung von Rechts nach Links",
|
||||
"Remove formatting": "Formatierung entfernen",
|
||||
"Select all": "Alles markieren",
|
||||
"Print document": "Dokument ausdrucken",
|
||||
"Clear MSOffice tags": "MSOffice filter",
|
||||
"Clear Inline Font Specifications": "Zeichensatz Formatierungen entfernen",
|
||||
"Split Block": "Block teilen",
|
||||
"Toggle Borders": "Tabellenränder ein/ausblenden",
|
||||
"Save as": "speichern unter",
|
||||
"Insert/Overwrite": "Einfügen/Überschreiben",
|
||||
"— format —": "— Format —",
|
||||
"Heading 1": "Überschrift 1",
|
||||
"Heading 2": "Überschrift 2",
|
||||
"Heading 3": "Überschrift 3",
|
||||
"Heading 4": "Überschrift 4",
|
||||
"Heading 5": "Überschrift 5",
|
||||
"Heading 6": "Überschrift 6",
|
||||
"Normal": "Normal (Absatz)",
|
||||
"Address": "Adresse",
|
||||
"Formatted": "Formatiert",
|
||||
|
||||
//dialogs
|
||||
"OK": "OK",
|
||||
"Cancel": "Abbrechen",
|
||||
"Path": "Pfad",
|
||||
"You are in TEXT MODE. Use the [<>] button to switch back to WYSIWYG.": "Sie sind im Text-Modus. Benutzen Sie den [<>] Button, um in den visuellen Modus (WYSIWIG) zu gelangen.",
|
||||
"The Paste button does not work in Mozilla based web browsers (technical security reasons). Press CTRL-V on your keyboard to paste directly.": "Aus Sicherheitsgründen dürfen Skripte normalerweise nicht auf Ausschneiden/Kopieren/Einfügen zugreifen. Bitte klicken Sie OK um die technische Erläuterung auf mozilla.org zu öffnen, in der erklärt wird, wie einem Skript Zugriff gewährt werden kann.",
|
||||
|
||||
"You need to select some text before create a link": "Sie müssen einen Text markieren, um einen Link zu erstellen",
|
||||
"Your Document is not well formed. Check JavaScript console for details.": "Ihr Dokument ist in keinem sauberen Format. Benutzen Sie die Javascript Console für weitere Informationen.",
|
||||
|
||||
"Alignment:": "Ausrichtung:",
|
||||
"Not set": "nicht eingestellt",
|
||||
"Left": "links",
|
||||
"Right": "rechts",
|
||||
"Texttop": "oben bündig",
|
||||
"Absmiddle": "mittig",
|
||||
"Baseline": "Grundlinie",
|
||||
"Absbottom": "unten bündig",
|
||||
"Bottom": "unten",
|
||||
"Middle": "zentriert",
|
||||
"Top": "oben",
|
||||
|
||||
"Layout": "Layout",
|
||||
"Spacing": "Abstand",
|
||||
"Horizontal:": "horizontal:",
|
||||
"Horizontal padding": "horizontaler Inhaltsabstand",
|
||||
"Vertical:": "vertikal:",
|
||||
"Vertical padding": "vertikaler Inhaltsabstand",
|
||||
"Border thickness:": "Randstärke:",
|
||||
"Leave empty for no border": "leer lassen für keinen Rand",
|
||||
|
||||
//Insert Link
|
||||
"Insert/Modify Link": "Verknüpfung hinzufügen/ändern",
|
||||
"None (use implicit)": "k.A. (implizit)",
|
||||
"New window (_blank)": "Neues Fenster (_blank)",
|
||||
"Same frame (_self)": "Selber Rahmen (_self)",
|
||||
"Top frame (_top)": "Oberster Rahmen (_top)",
|
||||
"Other": "Anderes",
|
||||
"Target:": "Ziel:",
|
||||
"Title (tooltip):": "Titel (Tooltip):",
|
||||
"URL:": "URL:",
|
||||
"You must enter the URL where this link points to": "Sie müssen eine Ziel-URL angeben für die Verknüpfung angeben",
|
||||
|
||||
// Insert Table
|
||||
"Insert Table": "Table einfügen",
|
||||
"Rows:": "Zeilen:",
|
||||
"Number of rows": "Zeilenanzahl",
|
||||
"Cols:": "Spalten:",
|
||||
"Number of columns": "Spaltenanzahl",
|
||||
"Width:": "Breite:",
|
||||
"Width of the table": "Tabellenbreite",
|
||||
"Percent": "Prozent",
|
||||
"Pixels": "Pixel",
|
||||
"Em": "Geviert",
|
||||
"Width unit": "Größeneinheit",
|
||||
"Fixed width columns": "Spalten mit fester Breite",
|
||||
"Positioning of this table": "Positionierung der Tabelle",
|
||||
"Cell spacing:": "Zellenabstand:",
|
||||
"Space between adjacent cells": "Raum zwischen angrenzenden Zellen",
|
||||
"Cell padding:": "Innenabstand:",
|
||||
"Space between content and border in cell": "Raum zwischen Inhalt und Rand der Zelle",
|
||||
"You must enter a number of rows": "Bitte geben Sie die Anzahl der Zeilen an",
|
||||
"You must enter a number of columns": "Bitte geben Sie die Anzahl der Spalten an",
|
||||
|
||||
// Insert Image
|
||||
"Insert Image": "Bild einfügen",
|
||||
"Image URL:": "Bild URL:",
|
||||
"Enter the image URL here": "Bitte geben sie hier die Bild URL ein",
|
||||
"Preview": "Voransicht",
|
||||
"Preview the image in a new window": "Voransicht des Bildes in einem neuen Fenster",
|
||||
"Alternate text:": "Alternativer Text:",
|
||||
"For browsers that don't support images": "für Browser, die keine Bilder unterstützen",
|
||||
"Positioning of this image": "Positionierung dieses Bildes",
|
||||
"Image Preview:": "Bild Voransicht:",
|
||||
"You must enter the URL": "Bitte geben Sie die URL ein",
|
||||
|
||||
"button_bold": "de/bold.gif",
|
||||
"button_italic": "de/italic.gif",
|
||||
"button_underline": "de/underline.gif"
|
||||
|
||||
}
|
||||
50
xinha/lang/ee.js
Normal file
@@ -0,0 +1,50 @@
|
||||
// I18N constants
|
||||
|
||||
// LANG: "ee", ENCODING: UTF-8
|
||||
// Author: Martin Raie, <albertvill@hot.ee>
|
||||
|
||||
// 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.)
|
||||
|
||||
{
|
||||
"Bold": "Paks",
|
||||
"Italic": "Kursiiv",
|
||||
"Underline": "Allakriipsutatud",
|
||||
"Strikethrough": "Läbikriipsutatud",
|
||||
"Subscript": "Allindeks",
|
||||
"Superscript": "Ülaindeks",
|
||||
"Justify Left": "Joonda vasakule",
|
||||
"Justify Center": "Joonda keskele",
|
||||
"Justify Right": "Joonda paremale",
|
||||
"Justify Full": "Rööpjoonda",
|
||||
"Ordered List": "Nummerdus",
|
||||
"Bulleted List": "Täpploend",
|
||||
"Decrease Indent": "Vähenda taanet",
|
||||
"Increase Indent": "Suurenda taanet",
|
||||
"Font Color": "Fondi värv",
|
||||
"Background Color": "Tausta värv",
|
||||
"Horizontal Rule": "Horisontaaljoon",
|
||||
"Insert Web Link": "Lisa viit",
|
||||
"Insert/Modify Image": "Lisa pilt",
|
||||
"Insert Table": "Lisa tabel",
|
||||
"Toggle HTML Source": "HTML/tavaline vaade",
|
||||
"Enlarge Editor": "Suurenda toimeti aken",
|
||||
"About this editor": "Teave toimeti kohta",
|
||||
"Help using editor": "Spikker",
|
||||
"Current style": "Kirjastiil",
|
||||
"Undoes your last action": "Võta tagasi",
|
||||
"Redoes your last action": "Tee uuesti",
|
||||
"Cut selection": "Lõika",
|
||||
"Copy selection": "Kopeeri",
|
||||
"Paste from clipboard": "Kleebi",
|
||||
"OK": "OK",
|
||||
"Cancel": "Loobu",
|
||||
"Path": "Path",
|
||||
"You are in TEXT MODE. Use the [<>] button to switch back to WYSIWYG.": "Sa oled tekstireziimis. Kasuta nuppu [<>] lülitamaks tagasi WYSIWIG reziimi."
|
||||
}
|
||||
55
xinha/lang/el.js
Normal file
@@ -0,0 +1,55 @@
|
||||
// I18N constants
|
||||
|
||||
// LANG: "el", ENCODING: UTF-8
|
||||
// Author: Dimitris Glezos, dimitris@glezos.com
|
||||
|
||||
{
|
||||
"Bold": "ΞΞ½ΟΞΏΞ½Ξ±",
|
||||
"Italic": "Πλάγια",
|
||||
"Underline": "Ξ<>ΟΞΏΞ³ΟΞ±ΞΌΞΌΞΉΟΞΌΞΞ½Ξ±",
|
||||
"Strikethrough": "ΞΞΉΞ±Ξ³ΟΞ±ΞΌΞΌΞΞ½Ξ±",
|
||||
"Subscript": "ΞΡίκΟΞ·Ο",
|
||||
"Superscript": "ΞΡίκΟΞ·Ο",
|
||||
"Justify Left": "Ξ£ΟΞΏΞ―ΟΞΉΟΞ· ΞΟΞΉΟΟΞ΅ΟΞ¬",
|
||||
"Justify Center": "Ξ£ΟΞΏΞ―ΟΞΉΟΞ· ΞΞΞ½ΟΟΞΏ",
|
||||
"Justify Right": "Ξ£ΟΞΏΞ―ΟΞΉΟΞ· ΞΡξιά",
|
||||
"Justify Full": "Ξ Ξ»Ξ<C2BB>ΟΞ·Ο Ξ£ΟΞΏΞ―ΟΞΉΟΞ·",
|
||||
"Ordered List": "ΞΟΞ―ΞΈΞΌΞ·ΟΞ·",
|
||||
"Bulleted List": "ΞΞΏΟ
κκίδΡΟ",
|
||||
"Decrease Indent": "ΞΡίΟΟΞ· ΞΟΞΏΟΞ<C287>Ο",
|
||||
"Increase Indent": "ΞΟΞΎΞ·ΟΞ· ΞΟΞΏΟΞ<C287>Ο",
|
||||
"Font Color": "Ξ§ΟΟΞΌΞ± ΞΟΞ±ΞΌΞΌΞ±ΟΞΏΟΡιΟΞ¬Ο",
|
||||
"Background Color": "Ξ§ΟΟΞΌΞ± Ξ¦ΟΞ½ΟΞΏΟ
",
|
||||
"Horizontal Rule": "ΞΟΞΉΞΆΟΞ½ΟΞΉΞ± ΞΟΞ±ΞΌΞΌΞ<CE8C>",
|
||||
"Insert Web Link": "ΞΞΉΟΞ±Ξ³ΟΞ³Ξ<C2B3> Ξ£Ο
Ξ½Ξ΄ΞΟΞΌΞΏΟ
",
|
||||
"Insert/Modify Image": "ΞΞΉΟΞ±Ξ³ΟΞ³Ξ<C2B3>/Ξ<>ΟΞΏΟΞΏΟΞΏΞ―Ξ·ΟΞ· ΞΞΉΞΊΟΞ½Ξ±Ο",
|
||||
"Insert Table": "ΞΞΉΟΞ±Ξ³ΟΞ³Ξ<C2B3> Ξ Ξ―Ξ½Ξ±ΞΊΞ±",
|
||||
"Toggle HTML Source": "ΞναλλαγΞ<C2B3> ΟΞ΅/Ξ±ΟΟ HTML",
|
||||
"Enlarge Editor": "ΞΡγΞΞ½ΞΈΟ
Ξ½ΟΞ· Ξ΅ΟΡξΡΟΞ³Ξ±ΟΟΞ<C284>",
|
||||
"About this editor": "ΠληΟΞΏΟΞΏΟΞ―Ξ΅Ο",
|
||||
"Help using editor": "ΞΞΏΞ<CE8F>θΡια",
|
||||
"Current style": "Ξ Ξ±ΟΟΞ½ ΟΟΟ
Ξ»",
|
||||
"Undoes your last action": "ΞΞ½Ξ±Ξ―ΟΞ΅ΟΞ· ΟΡλΡΟ
ΟΞ±Ξ―Ξ±Ο Ξ΅Ξ½ΞΟγΡιαΟ",
|
||||
"Redoes your last action": "ΞΟΞ±Ξ½Ξ±ΟΞΏΟΞ¬ Ξ±ΟΟ Ξ±Ξ½Ξ±Ξ―ΟΞ΅ΟΞ·",
|
||||
"Cut selection": "ΞΟΞΏΞΊΞΏΟΞ<C280>",
|
||||
"Copy selection": "ΞΞ½ΟΞΉΞ³ΟΞ±ΟΞ<C286>",
|
||||
"Paste from clipboard": "ΞΟΞΉΞΊΟλληΟΞ·",
|
||||
"Direction left to right": "ΞΞ±ΟΞ΅ΟΞΈΟ
Ξ½ΟΞ· Ξ±ΟΞΉΟΟΞ΅ΟΞ¬ ΟΟΞΏΟ Ξ΄Ξ΅ΞΎΞΉΞ¬",
|
||||
"Direction right to left": "ΞΞ±ΟΞ΅ΟΞΈΟ
Ξ½ΟΞ· Ξ±ΟΟ Ξ΄Ξ΅ΞΎΞΉΞ¬ ΟΟΞΏΟ ΟΞ± Ξ±ΟΞΉΟΟΞ΅ΟΞ¬",
|
||||
"OK": "OK",
|
||||
"Cancel": "ΞΞΊΟΟΟΟΞ·",
|
||||
"Path": "ΞΞΉΞ±Ξ΄ΟΞΏΞΌΞ<CE8C>",
|
||||
"You are in TEXT MODE. Use the [<>] button to switch back to WYSIWYG.": "ΞΞ―ΟΟΞ΅ ΟΞ΅ TEXT MODE. Ξ§ΟΞ·ΟΞΉΞΌΞΏΟΞΏΞΉΞ<CE89>ΟΟΞ΅ ΟΞΏ ΞΊΞΏΟ
ΞΌΟΞ― [<>] Ξ³ΞΉΞ± Ξ½Ξ± Ξ΅ΟΞ±Ξ½ΞΟΞΈΞ΅ΟΞ΅ ΟΟΞΏ WYSIWIG.",
|
||||
"The full screen mode is known to cause problems with Internet Explorer, due to browser bugs that we weren": "Ξ ΞΊΞ±ΟΞ¬ΟΟΞ±ΟΞ· ΟΞ»Ξ<C2BB>ΟΞ·Ο ΞΏΞΈΟΞ½Ξ·Ο ΞΟΡι ΟΟΞΏΞ²Ξ»Ξ<C2BB>ΞΌΞ±ΟΞ± ΞΌΞ΅ ΟΞΏΞ½ Internet Explorer, Ξ»ΟΞ³Ο ΟΟαλμάΟΟΞ½ ΟΟΞΏΞ½ ίδιο ΟΞΏΞ½ browser. ΞΞ½ ΟΞΏ ΟΟΟΟΞ·ΞΌΞ± ΟΞ±Ο Ξ΅Ξ―Ξ½Ξ±ΞΉ Windows 9x ΞΌΟΞΏΟΡί ΞΊΞ±ΞΉ Ξ½Ξ± ΟΟΡιαΟΟΡίΟΞ΅ reboot. ΞΞ½ ΡίΟΟΞ΅ ΟΞ―Ξ³ΞΏΟ
ΟΞΏΞΉ, ΟΞ±ΟΞ<C284>ΟΟΞ΅ ΞΞ.",
|
||||
"Cancel": "ΞΞΊΟΟΟΟΞ·",
|
||||
"Insert/Modify Link": "ΞΞΉΟΞ±Ξ³ΟΞ³Ξ<C2B3>/Ξ<>ΟΞΏΟΞΏΟΞΏΞ―Ξ·ΟΞ· ΟΟνδΡΟΞΌΞΏΟ
",
|
||||
"New window (_blank)": "ΞΞΞΏ ΟΞ±ΟάθΟ
ΟΞΏ (_blank)",
|
||||
"None (use implicit)": "ΞΞ±Ξ½ΞΞ½Ξ± (ΟΟΞ<C281>ΟΞ· Ξ±ΟΟΞ»Ο
ΟΞΏΟ
)",
|
||||
"Other": "Ξλλο",
|
||||
"Same frame (_self)": "Ξδιο frame (_self)",
|
||||
"Target:": "Target:",
|
||||
"Title (tooltip):": "Ξ<>Ξ―ΟΞ»ΞΏΟ (tooltip):",
|
||||
"Top frame (_top)": "Ξ Ξ¬Ξ½Ο frame (_top)",
|
||||
"URL:": "URL:",
|
||||
"You must enter the URL where this link points to": "Ξ ΟΞΟΡι Ξ½Ξ± ΡιΟάγΡΟΞ΅ ΟΞΏ URL ΟΞΏΟ
οδηγΡί Ξ±Ο
ΟΟΟ ΞΏ ΟΟνδΡΟΞΌΞΏΟ"
|
||||
}
|
||||
40
xinha/lang/es.js
Normal file
@@ -0,0 +1,40 @@
|
||||
// I18N constants
|
||||
|
||||
// LANG: "es", ENCODING: UTF-8
|
||||
|
||||
{
|
||||
"Bold": "Negrita",
|
||||
"Italic": "Cursiva",
|
||||
"Underline": "Subrayado",
|
||||
"Strikethrough": "Tachado",
|
||||
"Subscript": "Sub?ndice",
|
||||
"Superscript": "Super?ndice",
|
||||
"Justify Left": "Alinear a la Izquierda",
|
||||
"Justify Center": "Centrar",
|
||||
"Justify Right": "Alinear a la Derecha",
|
||||
"Justify Full": "Justificar",
|
||||
"Ordered List": "Lista Ordenada",
|
||||
"Bulleted List": "Lista No Ordenada",
|
||||
"Decrease Indent": "Aumentar Sangr?a",
|
||||
"Increase Indent": "Disminuir Sangr?a",
|
||||
"Font Color": "Color del Texto",
|
||||
"Background Color": "Color del Fondo",
|
||||
"Horizontal Rule": "L?nea Horizontal",
|
||||
"Insert Web Link": "Insertar Enlace",
|
||||
"Insert/Modify Image": "Insertar Imagen",
|
||||
"Insert Table": "Insertar Tabla",
|
||||
"Toggle HTML Source": "Ver Documento en HTML",
|
||||
"Enlarge Editor": "Ampliar Editor",
|
||||
"About this editor": "Acerca del Editor",
|
||||
"Help using editor": "Ayuda",
|
||||
"Current style": "Estilo Actual",
|
||||
"Undoes your last action": "Deshacer",
|
||||
"Redoes your last action": "Rehacer",
|
||||
"Cut selection": "Cortar selecci?n",
|
||||
"Copy selection": "Copiar selecci?n",
|
||||
"Paste from clipboard": "Pegar desde el portapapeles",
|
||||
"OK": "Aceptar",
|
||||
"Cancel": "Cancelar",
|
||||
"Path": "Ruta",
|
||||
"You are in TEXT MODE. Use the [<>] button to switch back to WYSIWYG.": "Esta en modo TEXTO. Use el boton [<>] para cambiar a WYSIWIG"
|
||||
}
|
||||
38
xinha/lang/fi.js
Normal file
@@ -0,0 +1,38 @@
|
||||
// I18N constants
|
||||
|
||||
// LANG: "en", ENCODING: UTF-8
|
||||
|
||||
{
|
||||
"Bold": "Lihavoitu",
|
||||
"Italic": "Kursivoitu",
|
||||
"Underline": "Alleviivattu",
|
||||
"Strikethrough": "Yliviivattu",
|
||||
"Subscript": "Alaindeksi",
|
||||
"Superscript": "Yläindeksi",
|
||||
"Justify Left": "Tasaa vasemmat reunat",
|
||||
"Justify Center": "Keskitä",
|
||||
"Justify Right": "Tasaa oikeat reunat",
|
||||
"Justify Full": "Tasaa molemmat reunat",
|
||||
"Ordered List": "Numerointi",
|
||||
"Bulleted List": "Luettelomerkit",
|
||||
"Decrease Indent": "Pienennä sisennystä",
|
||||
"Increase Indent": "Lisää sisennystä",
|
||||
"Font Color": "Fontin väri",
|
||||
"Background Color": "Taustaväri",
|
||||
"Horizontal Rule": "Vaakaviiva",
|
||||
"Insert Web Link": "Lisää linkki",
|
||||
"Insert/Modify Image": "Lisää kuva",
|
||||
"Insert Table": "Lisää taulukko",
|
||||
"Toggle HTML Source": "HTML-lähdekoodi vs WYSIWYG",
|
||||
"Enlarge Editor": "Suurenna editori",
|
||||
"About this editor": "Tietoja editorista",
|
||||
"Help using editor": "Näytä ohje",
|
||||
"Current style": "Nykyinen tyyli",
|
||||
"Undoes your last action": "Peruuta viimeinen toiminto",
|
||||
"Redoes your last action": "Palauta viimeinen toiminto",
|
||||
"Cut selection": "Leikkaa maalattu",
|
||||
"Copy selection": "Kopioi maalattu",
|
||||
"Paste from clipboard": "Liitä leikepyödältä",
|
||||
"OK": "Hyväksy",
|
||||
"Cancel": "Peruuta"
|
||||
}
|
||||
129
xinha/lang/fr.js
Normal file
@@ -0,0 +1,129 @@
|
||||
// I18N constants
|
||||
// LANG: "fr", ENCODING: UTF-8
|
||||
{
|
||||
"Bold": "Gras",
|
||||
"Italic": "Italique",
|
||||
"Underline": "Souligné",
|
||||
"Strikethrough": "Barré",
|
||||
"Subscript": "Indice",
|
||||
"Superscript": "Exposant",
|
||||
"Justify Left": "Aligner à gauche",
|
||||
"Justify Center": "Centrer",
|
||||
"Justify Right": "Aligner à droite",
|
||||
"Justify Full": "Justifier",
|
||||
"Ordered List": "Numérotation",
|
||||
"Bulleted List": "Puces",
|
||||
"Decrease Indent": "Diminuer le retrait",
|
||||
"Increase Indent": "Augmenter le retrait",
|
||||
"Font Color": "Couleur de police",
|
||||
"Background Color": "Surlignage",
|
||||
"Horizontal Rule": "Ligne horizontale",
|
||||
"Insert Web Link": "Insérer un lien",
|
||||
"Insert/Modify Image": "Insérer / Modifier une image",
|
||||
"Insert Table": "Insérer un tableau",
|
||||
"Toggle HTML Source": "Afficher / Masquer code source",
|
||||
"Enlarge Editor": "Agrandir l'éditeur",
|
||||
"About this editor": "A propos",
|
||||
"Help using editor": "Aide",
|
||||
"Current style": "Style courant",
|
||||
"Undoes your last action": "Annuler la dernière action",
|
||||
"Redoes your last action": "Répéter la dernière action",
|
||||
"Cut selection": "Couper la sélection",
|
||||
"Copy selection": "Copier la sélection",
|
||||
"Paste from clipboard": "Coller depuis le presse-papier",
|
||||
"Direction left to right": "Direction de gauche à droite",
|
||||
"Direction right to left": "Direction de droite à gauche",
|
||||
"Remove formatting": "Supprimer mise en forme",
|
||||
"Select all": "Tout sélectionner",
|
||||
"Print document": "Imprimer document",
|
||||
"Clear MSOffice tags": "Effacer tags MSOffice",
|
||||
"Clear Inline Font Specifications": "Supprimer paramètres inline de la fonte",
|
||||
"Split Block": "Séparer les blocks",
|
||||
"Toggle Borders": "Afficher / Masquer les bordures",
|
||||
"Save as": "Enregistrer sous",
|
||||
"Insert/Overwrite": "Insertion / Remplacement",
|
||||
"— format —": "— Format —",
|
||||
"Heading 1": "Titre 1",
|
||||
"Heading 2": "Titre 2",
|
||||
"Heading 3": "Titre 3",
|
||||
"Heading 4": "Titre 4",
|
||||
"Heading 5": "Titre 5",
|
||||
"Heading 6": "Titre 6",
|
||||
"Normal": "Normal",
|
||||
"Address": "Adresse",
|
||||
"Formatted": "Formaté",
|
||||
|
||||
//dialogs
|
||||
"OK": "OK",
|
||||
"Cancel": "Annuler",
|
||||
"Path": "Chemin",
|
||||
"You are in TEXT MODE. Use the [<>] button to switch back to WYSIWYG.": "Vous êtes en MODE TEXTE. Appuyez sur le bouton [<>] pour retourner au mode WYSIWYG.",
|
||||
"The Paste button does not work in Mozilla based web browsers (technical security reasons). Press CTRL-V on your keyboard to paste directly.": "Le bouton Coller ne fonctionne pas sur les navigateurs basés sur Mozilla (pour des raisons de sécurité). Pressez simplement CTRL-V au clavier pour coller directement.",
|
||||
"Your Document is not well formed. Check JavaScript console for details.": "Le document est mal formé. Vérifiez la console JavaScript pour plus de détail.",
|
||||
|
||||
"Alignment:": "Alignement",
|
||||
"Not set": "Indéfini",
|
||||
"Left": "Gauche",
|
||||
"Right": "Droite",
|
||||
"Texttop": "Texttop",
|
||||
"Absmiddle": "Absmiddle",
|
||||
"Baseline": "Baseline",
|
||||
"Absbottom": "Absbottom",
|
||||
"Bottom": "Bas",
|
||||
"Middle": "Milieu",
|
||||
"Top": "Haut",
|
||||
|
||||
"Layout": "Mise en page",
|
||||
"Spacing": "Espacement",
|
||||
"Horizontal:": "Horizontal",
|
||||
"Horizontal padding": "Marge horizontale interne",
|
||||
"Vertical:": "Vertical",
|
||||
"Vertical padding": "Marge verticale interne",
|
||||
"Border thickness:": "Epaisseur bordure",
|
||||
"Leave empty for no border": "Laisser vide pour pas de bordure",
|
||||
|
||||
//Insert Link
|
||||
"Insert/Modify Link": "Insérer / Modifier un lien",
|
||||
"None (use implicit)": "Aucune (implicite)",
|
||||
"New window (_blank)": "Nouvelle fenêtre (_blank)",
|
||||
"Same frame (_self)": "Même frame (_self)",
|
||||
"Top frame (_top)": "Frame principale (_top)",
|
||||
"Other": "Autre",
|
||||
"Target:": "Cible",
|
||||
"Title (tooltip):": "Text alternatif",
|
||||
"URL:": "URL:",
|
||||
"You must enter the URL where this link points to": "Vous devez entrer l'URL de ce lien",
|
||||
|
||||
// Insert Table
|
||||
"Insert Table": "Insérer un tableau",
|
||||
"Rows:": "Lignes",
|
||||
"Number of rows": "Nombre de lignes",
|
||||
"Cols:": "Colonnes",
|
||||
"Number of columns": "Nombre de colonnes",
|
||||
"Width:": "Largeur",
|
||||
"Width of the table": "Largeur du tableau",
|
||||
"Percent": "Pourcent",
|
||||
"Pixels": "Pixels",
|
||||
"Em": "Em",
|
||||
"Width unit": "Unités de largeur",
|
||||
"Fixed width columns": "Colonnes à taille fixe",
|
||||
"Positioning of this table": "Position du tableau",
|
||||
"Cell spacing:": "Espacement",
|
||||
"Space between adjacent cells": "Espace entre les cellules adjacentes",
|
||||
"Cell padding:": "Marge interne",
|
||||
"Space between content and border in cell": "Espace entre le contenu et la bordure d'une cellule",
|
||||
"You must enter a number of rows": "Vous devez entrez le nombre de lignes",
|
||||
"You must enter a number of columns": "Vous devez entrer le nombre de colonnes",
|
||||
|
||||
// Insert Image
|
||||
"Insert Image": "Insérer une image",
|
||||
"Image URL:": "URL image",
|
||||
"Enter the image URL here": "Entrer l'url de l'image ici",
|
||||
"Preview": "Prévisualiser",
|
||||
"Preview the image in a new window": "Prévisualiser l'image dans une nouvelle fenêtre",
|
||||
"Alternate text:": "Text alternatif",
|
||||
"For browsers that don't support images": "Pour les navigateurs qui ne supportent pas les images",
|
||||
"Positioning of this image": "Position de l'image",
|
||||
"Image Preview:": "Prévisualisation",
|
||||
"You must enter the URL": "Vous devez entrer l'URL"
|
||||
}
|
||||
29
xinha/lang/gb.js
Normal file
@@ -0,0 +1,29 @@
|
||||
// I18N constants -- Chinese GB
|
||||
// by Dave Lo -- dlo@interactivetools.com
|
||||
{
|
||||
"Bold": "粗体",
|
||||
"Italic": "斜体",
|
||||
"Underline": "底线",
|
||||
"Strikethrough": "删除线",
|
||||
"Subscript": "下标",
|
||||
"Superscript": "上标",
|
||||
"Justify Left": "位置靠左",
|
||||
"Justify Center": "位置居中",
|
||||
"Justify Right": "位置靠右",
|
||||
"Justify Full": "位置左右平等",
|
||||
"Ordered List": "顺序清单",
|
||||
"Bulleted List": "无序清单",
|
||||
"Decrease Indent": "减小行前空白",
|
||||
"Increase Indent": "加宽行前空白",
|
||||
"Font Color": "文字颜色",
|
||||
"Background Color": "背景颜色",
|
||||
"Horizontal Rule": "水平线",
|
||||
"Insert Web Link": "插入连结",
|
||||
"Insert/Modify Image": "插入图形",
|
||||
"Insert Table": "插入表格",
|
||||
"Toggle HTML Source": "切换HTML原始码",
|
||||
"Enlarge Editor": "放大",
|
||||
"About this editor": "关於 HTMLArea",
|
||||
"Help using editor": "说明",
|
||||
"Current style": "字体例子"
|
||||
}
|
||||
64
xinha/lang/he.js
Normal file
@@ -0,0 +1,64 @@
|
||||
// I18N constants
|
||||
|
||||
// LANG: "he", ENCODING: UTF-8
|
||||
// Author: Liron Newman, http://www.eesh.net, <plastish at ultinet dot org>
|
||||
|
||||
// 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.)
|
||||
|
||||
{
|
||||
"Bold": "מודגש",
|
||||
"Italic": "נטוי",
|
||||
"Underline": "קו תחתי",
|
||||
"Strikethrough": "קו אמצע",
|
||||
"Subscript": "כתב עילי",
|
||||
"Superscript": "כתב תחתי",
|
||||
"Justify Left": " ישור לשמאל",
|
||||
"Justify Center": "ישור למרכז",
|
||||
"Justify Right": "ישור לימין",
|
||||
"Justify Full": "ישור לשורה מלאה",
|
||||
"Ordered List": "רשימה ממוספרת",
|
||||
"Bulleted List": "רשימה לא ממוספרת",
|
||||
"Decrease Indent": "הקטן כניסה",
|
||||
"Increase Indent": "הגדל כניסה",
|
||||
"Font Color": "צבע גופן",
|
||||
"Background Color": "צבע רקע",
|
||||
"Horizontal Rule": "קו אנכי",
|
||||
"Insert Web Link": "הכנס היפר-קישור",
|
||||
"Insert/Modify Image": "הכנס/שנה תמונה",
|
||||
"Insert Table": "הכנס טבלה",
|
||||
"Toggle HTML Source": "שנה מצב קוד HTML",
|
||||
"Enlarge Editor": "הגדל את העורך",
|
||||
"About this editor": "אודות עורך זה",
|
||||
"Help using editor": "עזרה לשימוש בעורך",
|
||||
"Current style": "סגנון נוכחי",
|
||||
"Undoes your last action": "מבטל את פעולתך האחרונה",
|
||||
"Redoes your last action": "מבצע מחדש את הפעולה האחרונה שביטלת",
|
||||
"Cut selection": "גזור בחירה",
|
||||
"Copy selection": "העתק בחירה",
|
||||
"Paste from clipboard": "הדבק מהלוח",
|
||||
"Direction left to right": "כיוון משמאל לימין",
|
||||
"Direction right to left": "כיוון מימין לשמאל",
|
||||
"OK": "אישור",
|
||||
"Cancel": "ביטול",
|
||||
"Path": "נתיב עיצוב",
|
||||
"You are in TEXT MODE. Use the [<>] button to switch back to WYSIWYG.": "אתה במצב טקסט נקי (קוד). השתמש בכפתור [<>] כדי לחזור למצב WYSIWYG (תצוגת עיצוב).",
|
||||
"The full screen mode is known to cause problems with Internet Explorer, due to browser bugs that we weren": "מצב מסך מלא יוצר בעיות בדפדפן Internet Explorer, עקב באגים בדפדפן לא יכולנו לפתור את זה. את/ה עלול/ה לחוות תצוגת זבל, בעיות בתפקוד העורך ו/או קריסה של הדפדפן. אם המערכת שלך היא Windows 9x סביר להניח שתקבל/י ",
|
||||
"Cancel": "ביטול",
|
||||
"Insert/Modify Link": "הוסף/שנה קישור",
|
||||
"New window (_blank)": "חלון חדש (_blank)",
|
||||
"None (use implicit)": "ללא (השתמש ב-frame הקיים)",
|
||||
"Other": "אחר",
|
||||
"Same frame (_self)": "אותו frame (_self)",
|
||||
"Target:": "יעד:",
|
||||
"Title (tooltip):": "כותרת (tooltip):",
|
||||
"Top frame (_top)": "Frame עליון (_top)",
|
||||
"URL:": "URL:",
|
||||
"You must enter the URL where this link points to": "חובה לכתוב URL שאליו קישור זה מצביע"
|
||||
}
|
||||
64
xinha/lang/hu.js
Normal file
@@ -0,0 +1,64 @@
|
||||
// I18N constants
|
||||
|
||||
// LANG: "hu", ENCODING: UTF-8
|
||||
// Author: Miklós Somogyi, <somogyine@vnet.hu>
|
||||
|
||||
// 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.)
|
||||
|
||||
{
|
||||
"Bold": "Félkövér",
|
||||
"Italic": "Dőlt",
|
||||
"Underline": "Aláhúzott",
|
||||
"Strikethrough": "Áthúzott",
|
||||
"Subscript": "Alsó index",
|
||||
"Superscript": "Felső index",
|
||||
"Justify Left": "Balra zárt",
|
||||
"Justify Center": "Középre zárt",
|
||||
"Justify Right": "Jobbra zárt",
|
||||
"Justify Full": "Sorkizárt",
|
||||
"Ordered List": "Számozott lista",
|
||||
"Bulleted List": "Számozatlan lista",
|
||||
"Decrease Indent": "Behúzás csökkentése",
|
||||
"Increase Indent": "Behúzás növelése",
|
||||
"Font Color": "Karakterszín",
|
||||
"Background Color": "Háttérszín",
|
||||
"Horizontal Rule": "Elválasztó vonal",
|
||||
"Insert Web Link": "Hiperhivatkozás beszúrása",
|
||||
"Insert/Modify Image": "Kép beszúrása",
|
||||
"Insert Table": "Táblázat beszúrása",
|
||||
"Toggle HTML Source": "HTML forrás be/ki",
|
||||
"Enlarge Editor": "Szerkesztő külön ablakban",
|
||||
"About this editor": "Névjegy",
|
||||
"Help using editor": "Súgó",
|
||||
"Current style": "Aktuális stílus",
|
||||
"Undoes your last action": "Visszavonás",
|
||||
"Redoes your last action": "Újra végrehajtás",
|
||||
"Cut selection": "Kivágás",
|
||||
"Copy selection": "Másolás",
|
||||
"Paste from clipboard": "Beillesztés",
|
||||
"Direction left to right": "Irány balról jobbra",
|
||||
"Direction right to left": "Irány jobbról balra",
|
||||
"OK": "Rendben",
|
||||
"Cancel": "Mégsem",
|
||||
"Path": "Hierarchia",
|
||||
"You are in TEXT MODE. Use the [<>] button to switch back to WYSIWYG.": "Forrás mód. Visszaváltás [<>] gomb",
|
||||
"The full screen mode is known to cause problems with Internet Explorer, due to browser bugs that we weren": "A teljesképrenyős szerkesztés hibát okozhat Internet Explorer használata esetén, ez a böngésző a hibája, amit nem tudunk kikerülni. Szemetet észlelhet a képrenyőn, illetve néhány funkció hiányozhat és/vagy véletlenszerűen lefagyhat a böngésző. Windows 9x operaciós futtatása esetén elég valószínű, hogy ",
|
||||
"Cancel": "Mégsem",
|
||||
"Insert/Modify Link": "Hivatkozás Beszúrása/Módosítása",
|
||||
"New window (_blank)": "Új ablak (_blank)",
|
||||
"None (use implicit)": "Nincs (use implicit)",
|
||||
"Other": "Más",
|
||||
"Same frame (_self)": "Ugyanabba a keretbe (_self)",
|
||||
"Target:": "Cél:",
|
||||
"Title (tooltip):": "Cím (tooltip):",
|
||||
"Top frame (_top)": "Felső keret (_top)",
|
||||
"URL:": "URL:",
|
||||
"You must enter the URL where this link points to": "Be kell írnia az URL-t, ahova a hivatkozás mutasson"
|
||||
}
|
||||
55
xinha/lang/it.js
Normal file
@@ -0,0 +1,55 @@
|
||||
// I18N constants
|
||||
|
||||
// LANG: "it", ENCODING: UTF-8
|
||||
// Author: Mattia Landoni, http://www.webpresident.org/
|
||||
|
||||
{
|
||||
"Bold": "Grassetto",
|
||||
"Italic": "Corsivo",
|
||||
"Underline": "Sottolineato",
|
||||
"Strikethrough": "Barrato",
|
||||
"Subscript": "Pedice",
|
||||
"Superscript": "Apice",
|
||||
"Justify Left": "Sinistra",
|
||||
"Justify Center": "Centrato",
|
||||
"Justify Right": "Destra",
|
||||
"Justify Full": "Giustificato",
|
||||
"Ordered List": "Lista numerata",
|
||||
"Bulleted List": "Lista non numerata",
|
||||
"Decrease Indent": "Diminuisci indentazione",
|
||||
"Increase Indent": "Aumenta indentazione",
|
||||
"Font Color": "Colore font",
|
||||
"Background Color": "Colore sfondo",
|
||||
"Horizontal Rule": "Righello orizzontale",
|
||||
"Insert Web Link": "Inserisci link",
|
||||
"Insert/Modify Image": "Inserisci/modifica Immagine",
|
||||
"Insert Table": "Inserisci tabella",
|
||||
"Toggle HTML Source": "Visualizza/nascondi sorgente HTML",
|
||||
"Enlarge Editor": "Allarga editor",
|
||||
"About this editor": "Informazioni su HTMLArea",
|
||||
"Help using editor": "Aiuto",
|
||||
"Current style": "Stile corrente",
|
||||
"Undoes your last action": "Annulla ultima azione",
|
||||
"Redoes your last action": "Ripeti ultima azione",
|
||||
"Cut selection": "Taglia",
|
||||
"Copy selection": "Copia",
|
||||
"Paste from clipboard": "Incolla",
|
||||
"Direction left to right": "Testo da sx a dx",
|
||||
"Direction right to left": "Testo da dx a sx",
|
||||
"OK": "OK",
|
||||
"Cancel": "Annulla",
|
||||
"Path": "Percorso",
|
||||
"You are in TEXT MODE. Use the [<>] button to switch back to WYSIWYG.": "Sei in MODALITA",
|
||||
"The full screen mode is known to cause problems with Internet Explorer, due to browser bugs that we weren": "E",
|
||||
"Cancel": "Annulla",
|
||||
"Insert/Modify Link": "Inserisci/modifica link",
|
||||
"New window (_blank)": "Nuova finestra (_blank)",
|
||||
"None (use implicit)": "Niente (usa implicito)",
|
||||
"Other": "Altro",
|
||||
"Same frame (_self)": "Stessa frame (_self)",
|
||||
"Target:": "Target:",
|
||||
"Title (tooltip):": "Title (suggerimento):",
|
||||
"Top frame (_top)": "Pagina intera (_top)",
|
||||
"URL:": "URL:",
|
||||
"You must enter the URL where this link points to": "Devi inserire l'indirizzo a cui punta il link"
|
||||
}
|
||||
30
xinha/lang/ja.js
Normal file
@@ -0,0 +1,30 @@
|
||||
// I18N constants -- Japanese UTF-8
|
||||
// by Manabu Onoue -- tmocsys@tmocsys.com
|
||||
|
||||
{
|
||||
"Bold": "太字",
|
||||
"Italic": "斜体",
|
||||
"Underline": "下線",
|
||||
"Strikethrough": "打ち消し線",
|
||||
"Subscript": "下付き添え字",
|
||||
"Superscript": "上付き添え字",
|
||||
"Justify Left": "左寄せ",
|
||||
"Justify Center": "中央寄せ",
|
||||
"Justify Right": "右寄せ",
|
||||
"Justify Full": "均等割付",
|
||||
"Ordered List": "番号付き箇条書き",
|
||||
"Bulleted List": "記号付き箇条書き",
|
||||
"Decrease Indent": "インデント解除",
|
||||
"Increase Indent": "インデント設定",
|
||||
"Font Color": "文字色",
|
||||
"Background Color": "背景色",
|
||||
"Horizontal Rule": "水平線",
|
||||
"Insert Web Link": "リンク作成",
|
||||
"Insert/Modify Image": "画像挿入",
|
||||
"Insert Table": "テーブル挿入",
|
||||
"Toggle HTML Source": "HTML表示切替",
|
||||
"Enlarge Editor": "エディタ拡大",
|
||||
"About this editor": "バージョン情報",
|
||||
"Help using editor": "ヘルプ",
|
||||
"Current style": "現在のスタイル"
|
||||
}
|
||||
53
xinha/lang/lt.js
Normal file
@@ -0,0 +1,53 @@
|
||||
// I18N constants
|
||||
|
||||
// LANG: "lt", ENCODING: UTF-8
|
||||
// Author: Jaroslav Šatkevič, <jaro@akl.lt>
|
||||
|
||||
{
|
||||
"Bold": "Paryškinti",
|
||||
"Italic": "Kursyvas",
|
||||
"Underline": "Pabraukti",
|
||||
"Strikethrough": "Perbraukti",
|
||||
"Subscript": "Apatinis indeksas",
|
||||
"Superscript": "Viršutinis indeksas",
|
||||
"Justify Left": "Lygiavimas pagal kairę",
|
||||
"Justify Center": "Lygiavimas pagal centrą",
|
||||
"Justify Right": "Lygiavimas pagal dešinę",
|
||||
"Justify Full": "Lygiuoti pastraipą",
|
||||
"Ordered List": "Numeruotas sąrašas",
|
||||
"Bulleted List": "Suženklintas sąrašas",
|
||||
"Decrease Indent": "Sumažinti paraštę",
|
||||
"Increase Indent": "Padidinti paraštę",
|
||||
"Font Color": "Šrifto spalva",
|
||||
"Background Color": "Fono spalva",
|
||||
"Horizontal Rule": "Horizontali linija",
|
||||
"Insert Web Link": "Įterpti nuorodą",
|
||||
"Insert/Modify Image": "Įterpti paveiksliuką",
|
||||
"Insert Table": "Įterpti lentelę",
|
||||
"Toggle HTML Source": "Perjungti į HTML/WYSIWYG",
|
||||
"Enlarge Editor": "Išplėstas redagavimo ekranas/Enlarge Editor",
|
||||
"About this editor": "Apie redaktorių",
|
||||
"Help using editor": "Pagalba naudojant redaktorių",
|
||||
"Current style": "Dabartinis stilius",
|
||||
"Undoes your last action": "Atšaukia paskutini jūsų veiksmą",
|
||||
"Redoes your last action": "Pakartoja paskutinį atšauktą jūsų veiksmą",
|
||||
"Cut selection": "Iškirpti",
|
||||
"Copy selection": "Kopijuoti",
|
||||
"Paste from clipboard": "Įterpti",
|
||||
"OK": "OK",
|
||||
"Cancel": "Atšaukti",
|
||||
"Path": "Kelias",
|
||||
"You are in TEXT MODE. Use the [<>] button to switch back to WYSIWYG.": "Jūs esete teksto režime. Naudokite [<>] mygtuką grįžimui į WYSIWYG.",
|
||||
"The full screen mode is known to cause problems with Internet Explorer, due to browser bugs that we weren": "The full screen mode is known to cause problems with Internet Explorer, due to browser bugs that we weren",
|
||||
"Cancel": "Atšaukti",
|
||||
"Insert/Modify Link": "Idėti/Modifikuoti",
|
||||
"New window (_blank)": "Naujas langas (_blank)",
|
||||
"None (use implicit)": "None (use implicit)",
|
||||
"Other": "Kitas",
|
||||
"Same frame (_self)": "Same frame (_self)",
|
||||
"Target:": "Target:",
|
||||
"Title (tooltip):": "Pavadinimas (tooltip):",
|
||||
"Top frame (_top)": "Top frame (_top)",
|
||||
"URL:": "URL:",
|
||||
"You must enter the URL where this link points to": "Jus privalote nurodyti URL į kuri rodo šitą nuoroda"
|
||||
}
|
||||
42
xinha/lang/lv.js
Normal file
@@ -0,0 +1,42 @@
|
||||
// I18N constants
|
||||
|
||||
// LANG: "lv", ENCODING: UTF-8
|
||||
// Author: Mihai Bazon, http://dynarch.com/mishoo
|
||||
// Translated by: Janis Klavins, <janis.klavins@devia.lv>
|
||||
|
||||
{
|
||||
"Bold": "Trekniem burtiem",
|
||||
"Italic": "Kurs<72>v<EFBFBD>",
|
||||
"Underline": "Pasv<73>trots",
|
||||
"Strikethrough": "P<>rsv<73>trots",
|
||||
"Subscript": "Novietot zem rindas",
|
||||
"Superscript": "Novietot virs rindas",
|
||||
"Justify Left": "Izl<7A>dzin<69>t pa kreisi",
|
||||
"Justify Center": "Izl<7A>dzin<69>t centr<74>",
|
||||
"Justify Right": "Izl<7A>dzin<69>t pa labi",
|
||||
"Justify Full": "Izl<7A>dzin<69>t pa visu lapu",
|
||||
"Ordered List": "Numur<75>ts saraksts",
|
||||
"Bulleted List": "Saraksts",
|
||||
"Decrease Indent": "Samazin<69>t atk<74>pi",
|
||||
"Increase Indent": "Palielin<69>t atk<74>pi",
|
||||
"Font Color": "Burtu kr<6B>sa",
|
||||
"Background Color": "Fona kr<6B>sa",
|
||||
"Horizontal Rule": "Horizont<6E>la atdal<61>t<EFBFBD>jsv<73>tra",
|
||||
"Insert Web Link": "Ievietot hipersaiti",
|
||||
"Insert/Modify Image": "Ievietot att<74>lu",
|
||||
"Insert Table": "Ievietot tabulu",
|
||||
"Toggle HTML Source": "Skat<61>t HTML kodu",
|
||||
"Enlarge Editor": "Palielin<69>t Redi<64><69>t<EFBFBD>ju",
|
||||
"About this editor": "Par <20>o redi<64><69>t<EFBFBD>ju",
|
||||
"Help using editor": "Redi<64><69>t<EFBFBD>ja pal<61>gs",
|
||||
"Current style": "Patreiz<69>jais stils",
|
||||
"Undoes your last action": "Atcelt p<>d<EFBFBD>jo darb<72>bu",
|
||||
"Redoes your last action": "Atk<74>rtot p<>d<EFBFBD>jo darb<72>bu",
|
||||
"Cut selection": "Izgriezt iez<65>m<EFBFBD>to",
|
||||
"Copy selection": "Kop<6F>t iez<65>m<EFBFBD>to",
|
||||
"Paste from clipboard": "Ievietot iez<65>m<EFBFBD>to",
|
||||
"OK": "Labi",
|
||||
"Cancel": "Atcelt",
|
||||
"Path": "Ce<43><65>",
|
||||
"You are in TEXT MODE. Use the [<>] button to switch back to WYSIWYG.": "J<>s patlaban darbojaties TEKSTA RE<52><45>M<EFBFBD>. Lai p<>rietu atpaka<6B> uz GRAFISKO RE<52><45>MU (WYSIWIG), lietojiet [<>] pogu."
|
||||
}
|
||||
31
xinha/lang/nb.js
Normal file
@@ -0,0 +1,31 @@
|
||||
// I18N constants
|
||||
|
||||
// LANG: "en", ENCODING: UTF-8
|
||||
|
||||
{
|
||||
"Bold": "Fet",
|
||||
"Italic": "Kursiv",
|
||||
"Underline": "Understreket",
|
||||
"Strikethrough": "Gjennomstreket",
|
||||
"Subscript": "Senket",
|
||||
"Superscript": "Hevet",
|
||||
"Justify Left": "Venstrejuster",
|
||||
"Justify Center": "Midtjuster",
|
||||
"Justify Right": "Høyrejuster",
|
||||
"Justify Full": "Blokkjuster",
|
||||
"Ordered List": "Nummerert liste",
|
||||
"Bulleted List": "Punktmerket liste",
|
||||
"Decrease Indent": "Øke innrykk",
|
||||
"Increase Indent": "Reduser innrykk",
|
||||
"Font Color": "Skriftfarge",
|
||||
"Background Color": "Bakgrunnsfarge",
|
||||
"Horizontal Rule": "Horisontal linje",
|
||||
"Insert Web Link": "Sett inn lenke",
|
||||
"Insert/Modify Image": "Sett inn bilde",
|
||||
"Insert Table": "Sett inn tabell",
|
||||
"Toggle HTML Source": "Vis HTML kode",
|
||||
"Enlarge Editor": "Forstørr redigeringsvindu",
|
||||
"About this editor": "Om..",
|
||||
"Help using editor": "Hjelp",
|
||||
"Current style": "Gjeldende stil"
|
||||
}
|
||||
64
xinha/lang/nl.js
Normal file
@@ -0,0 +1,64 @@
|
||||
// I18N constants
|
||||
|
||||
// LANG: "nl", ENCODING: UTF-8
|
||||
// Author: Michel Weegeerink (info@mmc-shop.nl), http://mmc-shop.nl
|
||||
|
||||
// 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.)
|
||||
|
||||
{
|
||||
"Bold": "Vet",
|
||||
"Italic": "Cursief",
|
||||
"Underline": "Onderstrepen",
|
||||
"Strikethrough": "Doorhalen",
|
||||
"Subscript": "Subscript",
|
||||
"Superscript": "Superscript",
|
||||
"Justify Left": "Links uitlijnen",
|
||||
"Justify Center": "Centreren",
|
||||
"Justify Right": "Rechts uitlijnen",
|
||||
"Justify Full": "Uitvullen",
|
||||
"Ordered List": "Nummering",
|
||||
"Bulleted List": "Opsommingstekens",
|
||||
"Decrease Indent": "Inspringing verkleinen",
|
||||
"Increase Indent": "Inspringing vergroten",
|
||||
"Font Color": "Tekstkleur",
|
||||
"Background Color": "Achtergrondkleur",
|
||||
"Horizontal Rule": "Horizontale lijn",
|
||||
"Insert Web Link": "Hyperlink invoegen/aanpassen",
|
||||
"Insert/Modify Image": "Afbeelding invoegen/aanpassen",
|
||||
"Insert Table": "Tabel invoegen",
|
||||
"Toggle HTML Source": "HTML broncode",
|
||||
"Enlarge Editor": "Vergroot Editor",
|
||||
"About this editor": "Over deze editor",
|
||||
"Help using editor": "HTMLArea help",
|
||||
"Current style": "Huidige stijl",
|
||||
"Undoes your last action": "Ongedaan maken",
|
||||
"Redoes your last action": "Herhalen",
|
||||
"Cut selection": "Knippen",
|
||||
"Copy selection": "Kopi?ren",
|
||||
"Paste from clipboard": "Plakken",
|
||||
"Direction left to right": "Tekstrichting links naar rechts",
|
||||
"Direction right to left": "Tekstrichting rechts naar links",
|
||||
"OK": "OK",
|
||||
"Cancel": "Annuleren",
|
||||
"Path": "Pad",
|
||||
"You are in TEXT MODE. Use the [<>] button to switch back to WYSIWYG.": "Je bent in TEKST-mode. Gebruik de [<>] knop om terug te keren naar WYSIWYG-mode.",
|
||||
"The full screen mode is known to cause problems with Internet Explorer, due to browser bugs that we weren": "Fullscreen-mode veroorzaakt problemen met Internet Explorer door bugs in de webbrowser die we niet kunnen omzeilen. Hierdoor kunnen de volgende effecten optreden: verknoeide teksten, een verlies aan editor-functionaliteit en/of willekeurig vastlopen van de webbrowser. Als u Windows 95 of 98 gebruikt, is het zeer waarschijnlijk dat u een algemene beschermingsfout (",
|
||||
"Cancel": "Annuleren",
|
||||
"Insert/Modify Link": "Hyperlink invoegen/aanpassen",
|
||||
"New window (_blank)": "Nieuw venster (_blank)",
|
||||
"None (use implicit)": "Geen",
|
||||
"Other": "Ander",
|
||||
"Same frame (_self)": "Zelfde frame (_self)",
|
||||
"Target:": "Doel:",
|
||||
"Title (tooltip):": "Titel (tooltip):",
|
||||
"Top frame (_top)": "Bovenste frame (_top)",
|
||||
"URL:": "URL:",
|
||||
"You must enter the URL where this link points to": "Geef de URL in waar de link naar verwijst"
|
||||
}
|
||||
61
xinha/lang/no.js
Normal file
@@ -0,0 +1,61 @@
|
||||
// I18N constants
|
||||
|
||||
// LANG: "no", ENCODING: UTF-8
|
||||
|
||||
// - translated by ses<ses@online.no>
|
||||
// Additional translations by Håvard Wigtil <havardw@extend.no>
|
||||
// Additional translations by Kim Steinhaug <kim@steinhaug.com>
|
||||
|
||||
{
|
||||
"Bold": "Fet",
|
||||
"Italic": "Kursiv",
|
||||
"Underline": "Understreket",
|
||||
"Strikethrough": "Gjennomstreket",
|
||||
"Subscript": "Nedsenket",
|
||||
"Superscript": "Opphøyet",
|
||||
"Justify Left": "Venstrejuster",
|
||||
"Justify Center": "Midtjuster",
|
||||
"Justify Right": "Høyrejuster",
|
||||
"Justify Full": "Blokkjuster",
|
||||
"Ordered List": "Nummerert liste",
|
||||
"Bulleted List": "Punktliste",
|
||||
"Decrease Indent": "Reduser innrykk",
|
||||
"Increase Indent": "Øke innrykk",
|
||||
"Font Color": "Tekstfarge",
|
||||
"Background Color": "Bakgrundsfarge",
|
||||
"Horizontal Rule": "Vannrett linje",
|
||||
"Insert Web Link": "Lag lenke",
|
||||
"Insert/Modify Image": "Sett inn bilde",
|
||||
"Insert Table": "Sett inn tabell",
|
||||
"Toggle HTML Source": "Vis kildekode",
|
||||
"Enlarge Editor": "Vis i eget vindu",
|
||||
"About this editor": "Om denne editor",
|
||||
"Help using editor": "Hjelp",
|
||||
"Current style": "Nåværende stil",
|
||||
"Undoes your last action": "Angrer siste redigering",
|
||||
"Redoes your last action": "Gjør om siste angring",
|
||||
"Cut selection": "Klipp ut område",
|
||||
"Copy selection": "Kopier område",
|
||||
"Save as": "Lagre som",
|
||||
"Paste from clipboard": "Lim inn",
|
||||
"Remove formatting": "Fjern formattering",
|
||||
"Direction left to right": "Fra venstre mot høyre",
|
||||
"Direction right to left": "Fra høyre mot venstre",
|
||||
"Insert/Overwrite": "Sett inn/Overskriv",
|
||||
"OK": "OK",
|
||||
"Cancel": "Avbryt",
|
||||
"Path": "Tekstvelger",
|
||||
"You are in TEXT MODE. Use the [<>] button to switch back to WYSIWYG.": "Du er i tekstmodus Klikk på [<>] for å gå tilbake til WYSIWIG.",
|
||||
"The full screen mode is known to cause problems with Internet Explorer, due to browser bugs that we weren": "Visning i eget vindu har kjente problemer med Internet Explorer, på grunn av problemer med denne nettleseren. Mulige problemer er et uryddig skjermbilde, manglende editorfunksjoner og/eller at nettleseren crasher. Hvis du bruker Windows 95 eller Windows 98 er det også muligheter for at Windows will crashe.\n\nTrykk ",
|
||||
"Cancel": "Avbryt",
|
||||
"Insert/Modify Link": "Rediger lenke",
|
||||
"New window (_blank)": "Eget vindu (_blank)",
|
||||
"None (use implicit)": "Ingen (bruk standardinnstilling)",
|
||||
"Other": "Annen",
|
||||
"Same frame (_self)": "Samme ramme (_self)",
|
||||
"Target:": "Mål:",
|
||||
"Title (tooltip):": "Tittel (tooltip):",
|
||||
"Top frame (_top)": "Toppramme (_top)",
|
||||
"URL:": "Adresse:",
|
||||
"You must enter the URL where this link points to": "Du må skrive inn en adresse som denne lenken skal peke til"
|
||||
}
|
||||
125
xinha/lang/pl.js
Normal file
@@ -0,0 +1,125 @@
|
||||
// I18N constants
|
||||
// LANG: "pl", ENCODING: UTF-8
|
||||
// translated: Krzysztof Kotowicz, http://www.eskot.krakow.pl/portfolio/, koto@webworkers.pl
|
||||
{
|
||||
"Bold": "Pogrubienie",
|
||||
"Italic": "Pochylenie",
|
||||
"Underline": "Podkreślenie",
|
||||
"Strikethrough": "Przekreślenie",
|
||||
"Subscript": "Indeks dolny",
|
||||
"Superscript": "Indeks górny",
|
||||
"Justify Left": "Wyrównaj do lewej",
|
||||
"Justify Center": "Wyśrodkuj",
|
||||
"Justify Right": "Wyrównaj do prawej",
|
||||
"Justify Full": "Wyjustuj",
|
||||
"Ordered List": "Numerowanie",
|
||||
"Bulleted List": "Wypunktowanie",
|
||||
"Decrease Indent": "Zmniejsz wcięcie",
|
||||
"Increase Indent": "Zwiększ wcięcie",
|
||||
"Font Color": "Kolor czcionki",
|
||||
"Background Color": "Kolor tła",
|
||||
"Horizontal Rule": "Linia pozioma",
|
||||
"Insert Web Link": "Wstaw adres sieci Web",
|
||||
"Insert/Modify Image": "Wstaw obraz",
|
||||
"Insert Table": "Wstaw tabelę",
|
||||
"Toggle HTML Source": "Edycja WYSIWYG/w źródle strony",
|
||||
"Enlarge Editor": "Pełny ekran",
|
||||
"About this editor": "Informacje o tym edytorze",
|
||||
"Help using editor": "Pomoc",
|
||||
"Current style": "Obecny styl",
|
||||
"Undoes your last action": "Cofa ostatnio wykonane polecenie",
|
||||
"Redoes your last action": "Ponawia ostatnio wykonane polecenie",
|
||||
"Cut selection": "Wycina zaznaczenie do schowka",
|
||||
"Copy selection": "Kopiuje zaznaczenie do schowka",
|
||||
"Paste from clipboard": "Wkleja zawartość schowka",
|
||||
"Direction left to right": "Kierunek tekstu lewo-prawo",
|
||||
"Direction right to left": "Kierunek tekstu prawo-lewo",
|
||||
"Remove formatting": "Usuń formatowanie",
|
||||
"Select all": "Zaznacz wszystko",
|
||||
"Print document": "Drukuj dokument",
|
||||
"Clear MSOffice tags": "Wyczyść tagi MSOffice",
|
||||
"Clear Inline Font Specifications": "Wycisz bezpośrednie przypisania czcionek",
|
||||
"Split Block": "Podziel blok",
|
||||
"Toggle Borders": "Włącz / wyłącz ramki",
|
||||
|
||||
"— format —": "— Format —",
|
||||
"Heading 1": "Nagłówek 1",
|
||||
"Heading 2": "Nagłówek 2",
|
||||
"Heading 3": "Nagłówek 3",
|
||||
"Heading 4": "Nagłówek 4",
|
||||
"Heading 5": "Nagłówek 5",
|
||||
"Heading 6": "Nagłówek 6",
|
||||
"Normal": "Normalny",
|
||||
"Address": "Adres",
|
||||
"Formatted": "Preformatowany",
|
||||
|
||||
//dialogs
|
||||
"OK": "OK",
|
||||
"Cancel": "Anuluj",
|
||||
"Path": "Ścieżka",
|
||||
"You are in TEXT MODE. Use the [<>] button to switch back to WYSIWYG.": "Jesteś w TRYBIE TEKSTOWYM. Użyj przycisku [<>], aby przełączyć się na tryb WYSIWYG.",
|
||||
"The Paste button does not work in Mozilla based web browsers (technical security reasons). Press CTRL-V on your keyboard to paste directly.": "Przycisk Wklej nie działa w przeglądarkach Mozilla z uwagi na ustawienia bezpieczeństwa. Naciśnij CRTL-V, aby wkleić zawartość schowka.",
|
||||
|
||||
"Alignment:": "Wyrównanie:",
|
||||
"Not set": "Nie ustawione",
|
||||
"Left": "Do lewej",
|
||||
"Right": "Do prawej",
|
||||
"Texttop": "Góra tekstu",
|
||||
"Absmiddle": "Absolutny środek",
|
||||
"Baseline": "Linia bazowa",
|
||||
"Absbottom": "Absolutny dół",
|
||||
"Bottom": "Dół",
|
||||
"Middle": "Środek",
|
||||
"Top": "Góra",
|
||||
|
||||
"Layout": "Layout",
|
||||
"Spacing": "Spacjowanie",
|
||||
"Horizontal:": "Poziome:",
|
||||
"Horizontal padding": "Wcięcie poziome",
|
||||
"Vertical:": "Pionowe:",
|
||||
"Vertical padding": "Wcięcie pionowe",
|
||||
"Border thickness:": "Grubość obramowania:",
|
||||
"Leave empty for no border": "Bez ramek - zostaw puste",
|
||||
|
||||
//Insert Link
|
||||
"Insert/Modify Link": "Wstaw/edytuj odnośnik",
|
||||
"None (use implicit)": "Brak",
|
||||
"New window (_blank)": "Nowe okno (_blank)",
|
||||
"Same frame (_self)": "Ta sama ramka (_self)",
|
||||
"Top frame (_top)": "Główna ramka (_top)",
|
||||
"Other": "Inne",
|
||||
"Target:": "Okno docelowe:",
|
||||
"Title (tooltip):": "Tytuł (tooltip):",
|
||||
"URL:": "URL:",
|
||||
"You must enter the URL where this link points to": "Musisz podać URL, na jaki będzie wskazywał odnośnik",
|
||||
|
||||
// Insert Table
|
||||
"Insert Table": "Wstaw tabelę",
|
||||
"Rows:": "Wierszy:",
|
||||
"Number of rows": "Liczba wierszy",
|
||||
"Cols:": "Kolumn:",
|
||||
"Number of columns": "Liczba kolumn",
|
||||
"Width:": "Szerokość:",
|
||||
"Width of the table": "Szerokość tabeli",
|
||||
"Percent": "Procent",
|
||||
"Pixels": "Pikseli",
|
||||
"Em": "Em",
|
||||
"Width unit": "Jednostka",
|
||||
"Fixed width columns": "Kolumny o stałej szerokości",
|
||||
"Positioning of this table": "Pozycjonowanie tabeli",
|
||||
"Cell spacing:": "Spacjowanie komórek:",
|
||||
"Space between adjacent cells": "Przestrzeń pomiędzy komórkami",
|
||||
"Cell padding:": "Wcięcie komórek:",
|
||||
"Space between content and border in cell": "Przestrzeń między krawędzią a zawartością komórki",
|
||||
|
||||
// Insert Image
|
||||
"Insert Image": "Wstaw obrazek",
|
||||
"Image URL:": "URL obrazka:",
|
||||
"Enter the image URL here": "Podaj URL obrazka",
|
||||
"Preview": "Podgląd",
|
||||
"Preview the image in a new window": "Podgląd obrazka w nowym oknie",
|
||||
"Alternate text:": "Tekst alternatywny:",
|
||||
"For browsers that don't support images": "Dla przeglądarek, które nie obsługują obrazków",
|
||||
"Positioning of this image": "Pozycjonowanie obrazka",
|
||||
"Image Preview:": "Podgląd obrazka:"
|
||||
}
|
||||
32
xinha/lang/pt_br.js
Normal file
@@ -0,0 +1,32 @@
|
||||
// I18N constants
|
||||
|
||||
// LANG: "bt_br", ENCODING: UTF-8
|
||||
// Brazilian Portuguese Translation by Alex Piaz <webmaster@globalmap.com>
|
||||
|
||||
{
|
||||
"Bold": "Negrito",
|
||||
"Italic": "Itálico",
|
||||
"Underline": "Sublinhado",
|
||||
"Strikethrough": "Tachado",
|
||||
"Subscript": "Subescrito",
|
||||
"Superscript": "Sobrescrito",
|
||||
"Justify Left": "Alinhar à Esquerda",
|
||||
"Justify Center": "Centralizar",
|
||||
"Justify Right": "Alinhar à Direita",
|
||||
"Justify Full": "Justificar",
|
||||
"Ordered List": "Lista Numerada",
|
||||
"Bulleted List": "Lista Marcadores",
|
||||
"Decrease Indent": "Diminuir Indentação",
|
||||
"Increase Indent": "Aumentar Indentação",
|
||||
"Font Color": "Cor da Fonte",
|
||||
"Background Color": "Cor do Fundo",
|
||||
"Horizontal Rule": "Linha Horizontal",
|
||||
"Insert Web Link": "Inserir Link",
|
||||
"Insert/Modify Image": "Inserir Imagem",
|
||||
"Insert Table": "Inserir Tabela",
|
||||
"Toggle HTML Source": "Ver Código-Fonte",
|
||||
"Enlarge Editor": "Expandir Editor",
|
||||
"About this editor": "Sobre",
|
||||
"Help using editor": "Ajuda",
|
||||
"Current style": "Estilo Atual"
|
||||
}
|
||||
63
xinha/lang/ro.js
Normal file
@@ -0,0 +1,63 @@
|
||||
// I18N constants
|
||||
|
||||
// LANG: "ro", ENCODING: UTF-8
|
||||
// Author: Mihai Bazon, http://dynarch.com/mishoo
|
||||
|
||||
// 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.)
|
||||
|
||||
{
|
||||
"Bold": "Îngroşat",
|
||||
"Italic": "Italic",
|
||||
"Underline": "Subliniat",
|
||||
"Strikethrough": "Tăiat",
|
||||
"Subscript": "Indice jos",
|
||||
"Superscript": "Indice sus",
|
||||
"Justify Left": "Aliniere la stânga",
|
||||
"Justify Center": "Aliniere pe centru",
|
||||
"Justify Right": "Aliniere la dreapta",
|
||||
"Justify Full": "Aliniere în ambele părţi",
|
||||
"Ordered List": "Listă ordonată",
|
||||
"Bulleted List": "Listă marcată",
|
||||
"Decrease Indent": "Micşorează alineatul",
|
||||
"Increase Indent": "Măreşte alineatul",
|
||||
"Font Color": "Culoarea textului",
|
||||
"Background Color": "Culoare de fundal",
|
||||
"Horizontal Rule": "Linie orizontală",
|
||||
"Insert Web Link": "Inserează/modifică link",
|
||||
"Insert/Modify Image": "Inserează/modifică imagine",
|
||||
"Insert Table": "Inserează un tabel",
|
||||
"Toggle HTML Source": "Sursa HTML / WYSIWYG",
|
||||
"Enlarge Editor": "Maximizează editorul",
|
||||
"About this editor": "Despre editor",
|
||||
"Help using editor": "Documentaţie (devel)",
|
||||
"Current style": "Stilul curent",
|
||||
"Undoes your last action": "Anulează ultima acţiune",
|
||||
"Redoes your last action": "Reface ultima acţiune anulată",
|
||||
"Cut selection": "Taie în clipboard",
|
||||
"Copy selection": "Copie în clipboard",
|
||||
"Paste from clipboard": "Aduce din clipboard",
|
||||
"Direction left to right": "Direcţia de scriere: stânga - dreapta",
|
||||
"Direction right to left": "Direcţia de scriere: dreapta - stânga",
|
||||
"OK": "OK",
|
||||
"Cancel": "Anulează",
|
||||
"Path": "Calea",
|
||||
"You are in TEXT MODE. Use the [<>] button to switch back to WYSIWYG.": "Eşti în modul TEXT. Apasă butonul [<>] pentru a te întoarce în modul WYSIWYG.",
|
||||
"Cancel": "Renunţă",
|
||||
"Insert/Modify Link": "Inserează/modifcă link",
|
||||
"New window (_blank)": "Fereastră nouă (_blank)",
|
||||
"None (use implicit)": "Nimic (foloseşte ce-i implicit)",
|
||||
"Other": "Alt target",
|
||||
"Same frame (_self)": "Aceeaşi fereastră (_self)",
|
||||
"Target:": "Ţinta:",
|
||||
"Title (tooltip):": "Titlul (tooltip):",
|
||||
"Top frame (_top)": "Fereastra principală (_top)",
|
||||
"URL:": "URL:",
|
||||
"You must enter the URL where this link points to": "Trebuie să introduceţi un URL"
|
||||
}
|
||||
50
xinha/lang/ru.js
Normal file
@@ -0,0 +1,50 @@
|
||||
// I18N constants
|
||||
|
||||
// LANG: "ru", ENCODING: UTF-8
|
||||
// Author: Yulya Shtyryakova, <yulya@vdcom.ru>
|
||||
|
||||
// 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.)
|
||||
|
||||
{
|
||||
"Bold": "Полужирный",
|
||||
"Italic": "Наклонный",
|
||||
"Underline": "Подчеркнутый",
|
||||
"Strikethrough": "Перечеркнутый",
|
||||
"Subscript": "Нижний индекс",
|
||||
"Superscript": "Верхний индекс",
|
||||
"Justify Left": "По левому краю",
|
||||
"Justify Center": "По центру",
|
||||
"Justify Right": "По правому краю",
|
||||
"Justify Full": "По ширине",
|
||||
"Ordered List": "Нумерованный лист",
|
||||
"Bulleted List": "Маркированный лист",
|
||||
"Decrease Indent": "Уменьшить отступ",
|
||||
"Increase Indent": "Увеличить отступ",
|
||||
"Font Color": "Цвет шрифта",
|
||||
"Background Color": "Цвет фона",
|
||||
"Horizontal Rule": "Горизонтальный разделитель",
|
||||
"Insert Web Link": "Вставить гиперссылку",
|
||||
"Insert/Modify Image": "Вставить изображение",
|
||||
"Insert Table": "Вставить таблицу",
|
||||
"Toggle HTML Source": "Показать Html-код",
|
||||
"Enlarge Editor": "Увеличить редактор",
|
||||
"About this editor": "О редакторе",
|
||||
"Help using editor": "Помощь",
|
||||
"Current style": "Текущий стиль",
|
||||
"Undoes your last action": "Отменить",
|
||||
"Redoes your last action": "Повторить",
|
||||
"Cut selection": "Вырезать",
|
||||
"Copy selection": "Копировать",
|
||||
"Paste from clipboard": "Вставить",
|
||||
"OK": "OK",
|
||||
"Cancel": "Отмена",
|
||||
"Path": "Путь",
|
||||
"You are in TEXT MODE. Use the [<>] button to switch back to WYSIWYG.": "Вы в режиме отображения Html-кода. нажмите кнопку [<>], чтобы переключиться в визуальный режим."
|
||||
}
|
||||
32
xinha/lang/se.js
Normal file
@@ -0,0 +1,32 @@
|
||||
// LANG: "se", ENCODING: UTF-8
|
||||
|
||||
// Swedish version for htmlArea v3.0 - Alpha Release
|
||||
// - translated by pat<pat@engvall.nu>
|
||||
|
||||
{
|
||||
"Bold": "Fet",
|
||||
"Italic": "Kursiv",
|
||||
"Underline": "Understruken",
|
||||
"Strikethrough": "Genomstruken",
|
||||
"Subscript": "Nedsänkt",
|
||||
"Superscript": "Upphöjd",
|
||||
"Justify Left": "Vänsterjustera",
|
||||
"Justify Center": "Centrera",
|
||||
"Justify Right": "Högerjustera",
|
||||
"Justify Full": "Marginaljustera",
|
||||
"Ordered List": "Numrerad lista",
|
||||
"Bulleted List": "Punktlista",
|
||||
"Decrease Indent": "Minska indrag",
|
||||
"Increase Indent": "Öka indrag",
|
||||
"Font Color": "Textfärg",
|
||||
"Background Color": "Bakgrundsfärg",
|
||||
"Horizontal Rule": "Vågrät linje",
|
||||
"Insert Web Link": "Infoga länk",
|
||||
"Insert/Modify Image": "Infoga bild",
|
||||
"Insert Table": "Infoga tabell",
|
||||
"Toggle HTML Source": "Visa källkod",
|
||||
"Enlarge Editor": "Visa i eget fönster",
|
||||
"About this editor": "Om denna editor",
|
||||
"Help using editor": "Hjälp",
|
||||
"Current style": "Nuvarande stil"
|
||||
}
|
||||
50
xinha/lang/si.js
Normal file
@@ -0,0 +1,50 @@
|
||||
// I18N constants
|
||||
|
||||
// LANG: "si", ENCODING: UTF-8
|
||||
// Author: Tomaz Kregar, x_tomo_x@email.si
|
||||
|
||||
// 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.)
|
||||
|
||||
{
|
||||
"Bold": "Krepko",
|
||||
"Italic": "Ležeče",
|
||||
"Underline": "Podčrtano",
|
||||
"Strikethrough": "Prečrtano",
|
||||
"Subscript": "Podpisano",
|
||||
"Superscript": "Nadpisano",
|
||||
"Justify Left": "Poravnaj levo",
|
||||
"Justify Center": "Na sredino",
|
||||
"Justify Right": "Poravnaj desno",
|
||||
"Justify Full": "Porazdeli vsebino",
|
||||
"Ordered List": "Oštevilčevanje",
|
||||
"Bulleted List": "Označevanje",
|
||||
"Decrease Indent": "Zmanjšaj zamik",
|
||||
"Increase Indent": "Povečaj zamik",
|
||||
"Font Color": "Barva pisave",
|
||||
"Background Color": "Barva ozadja",
|
||||
"Horizontal Rule": "Vodoravna črta",
|
||||
"Insert Web Link": "Vstavi hiperpovezavo",
|
||||
"Insert/Modify Image": "Vstavi sliko",
|
||||
"Insert Table": "Vstavi tabelo",
|
||||
"Toggle HTML Source": "Preklopi na HTML kodo",
|
||||
"Enlarge Editor": "Povečaj urejevalnik",
|
||||
"About this editor": "Vizitka za urejevalnik",
|
||||
"Help using editor": "Pomoč za urejevalnik",
|
||||
"Current style": "Trenutni slog",
|
||||
"Undoes your last action": "Razveljavi zadnjo akcijo",
|
||||
"Redoes your last action": "Uveljavi zadnjo akcijo",
|
||||
"Cut selection": "Izreži",
|
||||
"Copy selection": "Kopiraj",
|
||||
"Paste from clipboard": "Prilepi",
|
||||
"OK": "V redu",
|
||||
"Cancel": "Prekliči",
|
||||
"Path": "Pot",
|
||||
"You are in TEXT MODE. Use the [<>] button to switch back to WYSIWYG.": "Si v tekstovnem načinu. Uporabi [<>] gumb za prklop nazaj na WYSIWYG."
|
||||
}
|
||||
56
xinha/lang/vn.js
Normal file
@@ -0,0 +1,56 @@
|
||||
// I18N constants : Vietnamese
|
||||
// LANG: "en", ENCODING: UTF-8
|
||||
// Author: Nguyễn Đình Nam, <hncryptologist@yahoo.com>
|
||||
// Modified 21/07/2004 by Phạm Mai Quân <pmquan@4vn.org>
|
||||
|
||||
{
|
||||
"Bold": "Đậm",
|
||||
"Italic": "Nghiêng",
|
||||
"Underline": "Gạch Chân",
|
||||
"Strikethrough": "Gạch Xóa",
|
||||
"Subscript": "Viết Xuống Dưới",
|
||||
"Superscript": "Viết Lên Trên",
|
||||
"Justify Left": "Căn Trái",
|
||||
"Justify Center": "Căn Giữa",
|
||||
"Justify Right": "Căn Phải",
|
||||
"Justify Full": "Căn Đều",
|
||||
"Ordered List": "Danh Sách Có Thứ Tự (1, 2, 3)",
|
||||
"Bulleted List": "Danh Sách Phi Thứ Tự (Chấm đầu dòng)",
|
||||
"Decrease Indent": "Lùi Ra Ngoài",
|
||||
"Increase Indent": "Thụt Vào Trong",
|
||||
"Font Color": "Màu Chữ",
|
||||
"Background Color": "Màu Nền",
|
||||
"Horizontal Rule": "Dòng Kẻ Ngang",
|
||||
"Insert Web Link": "Tạo Liên Kết",
|
||||
"Insert/Modify Image": "Chèn Ảnh",
|
||||
"Insert Table": "Chèn Bảng",
|
||||
"Toggle HTML Source": "Chế Độ Mã HTML",
|
||||
"Enlarge Editor": "Phóng To Ô Soạn Thảo",
|
||||
"About this editor": "Tự Giới Thiệu",
|
||||
"Help using editor": "Giúp Đỡ",
|
||||
"Current style": "Định Dạng Hiện Thời",
|
||||
"Undoes your last action": "Hủy thao tác trước",
|
||||
"Redoes your last action": "Lấy lại thao tác vừa bỏ",
|
||||
"Cut selection": "Cắt",
|
||||
"Copy selection": "Sao chép",
|
||||
"Paste from clipboard": "Dán",
|
||||
"Direction left to right": "Viết từ trái sang phải",
|
||||
"Direction right to left": "Viết từ phải sang trái",
|
||||
"OK": "Đồng ý",
|
||||
"Cancel": "Hủy",
|
||||
"The full screen mode is known to cause problems with Internet Explorer, due to browser bugs that we weren": "Chế độ phóng to ô soạn thảo có thể gây lỗi với Internet Explorer vì một số lỗi của trình duyệt này, vì thế chế độ này có thể sẽ không chạy. Hiển thị không đúng, lộn xộn, không có đầy đủ chức năng, và cũng có thể làm trình duyệt của bạn bị tắt ngang. Nếu bạn đang sử dụng Windows 9x bạn có thể bị báo lỗi ",
|
||||
"Path": "Đường Dẫn",
|
||||
"You are in TEXT MODE. Use the [<>] button to switch back to WYSIWYG.": "Bạn đang ở chế độ text. Sử dụng nút [<>] để chuyển lại chế độ WYSIWIG.",
|
||||
"Cancel": "Hủy",
|
||||
"Insert/Modify Link": "Thêm/Chỉnh sửa đường dẫn",
|
||||
"New window (_blank)": "Cửa sổ mới (_blank)",
|
||||
"None (use implicit)": "Không (sử dụng implicit)",
|
||||
"OK": "Đồng ý",
|
||||
"Other": "Khác",
|
||||
"Same frame (_self)": "Trên cùng khung (_self)",
|
||||
"Target:": "Nơi hiện thị:",
|
||||
"Title (tooltip):": "Tiêu đề (của hướng dẫn):",
|
||||
"Top frame (_top)": "Khung trên cùng (_top)",
|
||||
"URL:": "URL:",
|
||||
"You must enter the URL where this link points to": "Bạn phải điền địa chỉ (URL) mà đường dẫn sẽ liên kết tới"
|
||||
}
|
||||
30
xinha/license.txt
Normal file
@@ -0,0 +1,30 @@
|
||||
htmlArea License (based on BSD license)
|
||||
Copyright (c) 2002-2004, interactivetools.com, inc.
|
||||
Copyright (c) 2003-2004 dynarch.com
|
||||
All rights reserved.
|
||||
|
||||
Redistribution and use in source and binary forms, with or without
|
||||
modification, are permitted provided that the following conditions are met:
|
||||
|
||||
1) Redistributions of source code must retain the above copyright notice,
|
||||
this list of conditions and the following disclaimer.
|
||||
|
||||
2) Redistributions in binary form must reproduce the above copyright notice,
|
||||
this list of conditions and the following disclaimer in the documentation
|
||||
and/or other materials provided with the distribution.
|
||||
|
||||
3) Neither the name of interactivetools.com, inc. nor the names of its
|
||||
contributors may be used to endorse or promote products derived from this
|
||||
software without specific prior written permission.
|
||||
|
||||
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
|
||||
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
||||
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
||||
ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
|
||||
LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
|
||||
CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
|
||||
SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
|
||||
INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
|
||||
CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
|
||||
ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
|
||||
POSSIBILITY OF SUCH DAMAGE.
|
||||