Upgrade to Xinha 0.931. Xinha has been optimized for size and dozens of issues have been closed
out since the last upgrade . Add Firefox and Xinha buttons to main page to show our support.
BIN
images/xinha-red-95.png
Normal file
|
After Width: | Height: | Size: 4.3 KiB |
@@ -693,7 +693,7 @@ function HtmlAreaLoaderScript($aTextareas)
|
||||
|
||||
echo '
|
||||
<!-- Load up the actual editor core -->
|
||||
<script type="text/javascript" src="'.BASE.'xinha/htmlarea.js"></script>
|
||||
<script type="text/javascript" src="'.BASE.'xinha/XinhaCore.js"></script>
|
||||
|
||||
<script type="text/javascript">
|
||||
xinha_editors_'.$outputIndex.' = null;
|
||||
|
||||
20
index.php
@@ -131,6 +131,26 @@ If you have screenshots or links to contribute, please browse the database and u
|
||||
application site, with tips and how-to's on getting listed apps to run.
|
||||
</p>
|
||||
</div>
|
||||
|
||||
<?php
|
||||
|
||||
// promotional buttons
|
||||
echo "<center>\n";
|
||||
echo "<table>\n";
|
||||
echo "<tr>\n";
|
||||
echo "<td style='padding:10px;'>\n";
|
||||
echo '<a href="http://getfirefox.com/"
|
||||
title="Get Firefox - Web browsing redefined."><img
|
||||
src="http://www.mozilla.org/products/firefox/buttons/getfirefox_large2.png"
|
||||
width="178" height="60" border="0" alt="Get Firefox"></a>'."\n";
|
||||
echo "</td>\n";
|
||||
echo "<td style='padding:10px;'>\n";
|
||||
echo '<a href="http://xinha.python-hosting.com/" title="Xinha textarea replacement">
|
||||
<img src="images/xinha-red-95.png" width="95" height="100" alt="Xinha"></a>'."\n";
|
||||
echo "</td>\n";
|
||||
echo "</tr>\n";
|
||||
echo "</table>\n";
|
||||
echo "</center>\n";
|
||||
|
||||
apidb_footer();
|
||||
?>
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
.htmlarea { background: #fff; margin:2px; }
|
||||
.htmlarea { background: #fff; }
|
||||
.htmlarea td { margin:0;padding:0; }
|
||||
|
||||
.htmlarea .toolbar {
|
||||
cursor: default;
|
||||
@@ -49,11 +50,12 @@
|
||||
.htmlarea .toolbar .buttonDisabled img {
|
||||
filter: gray() alpha(opacity = 25);
|
||||
-moz-opacity: 0.25;
|
||||
opacity: 0.25;
|
||||
}
|
||||
|
||||
.htmlarea .toolbar .separator {
|
||||
/*position: relative;*/
|
||||
margin: 3px;
|
||||
margin:0 3px;
|
||||
border-left: 1px solid ButtonShadow;
|
||||
border-right: 1px solid ButtonHighlight;
|
||||
width: 0px;
|
||||
@@ -70,8 +72,8 @@
|
||||
.htmlarea .toolbar select:active {
|
||||
margin-top: 2px;
|
||||
margin-bottom: 1px;
|
||||
background: FieldFace;
|
||||
color: ButtonText;
|
||||
height: 17px;
|
||||
}
|
||||
|
||||
.htmlarea iframe.xinha_iframe, .htmlarea textarea.xinha_textarea
|
||||
@@ -86,6 +88,7 @@
|
||||
background-color: ButtonFace;
|
||||
color: ButtonText;
|
||||
font: 11px Tahoma,Verdana,sans-serif;
|
||||
height:16px;
|
||||
}
|
||||
|
||||
.htmlarea .statusBar .statusBarTree a {
|
||||
@@ -145,16 +148,13 @@
|
||||
}
|
||||
|
||||
.dialog .buttonColor {
|
||||
width :1em;
|
||||
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;
|
||||
@@ -162,6 +162,13 @@
|
||||
border-color: ButtonShadow ButtonHighlight ButtonHighlight ButtonShadow;
|
||||
}
|
||||
|
||||
.dialog .buttonClick {
|
||||
border-color: ButtonShadow ButtonHighlight ButtonHighlight ButtonShadow;
|
||||
}
|
||||
.dialog .buttonColor-hilite {
|
||||
border-color: ButtonShadow ButtonHighlight ButtonHighlight ButtonShadow;
|
||||
}
|
||||
|
||||
.dialog .buttonColor .nocolor { padding: 0px; }
|
||||
.dialog .buttonColor .nocolor-hilite { background-color: #fff; color: #f00; }
|
||||
|
||||
@@ -225,10 +232,32 @@ form { margin: 0px; border: none; }
|
||||
font-size:100%;
|
||||
font-weight:bold;
|
||||
padding: 2px;
|
||||
clear:left;
|
||||
|
||||
}
|
||||
|
||||
.htmlarea .panel { overflow:hidden; }
|
||||
.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; }
|
||||
|
||||
.loading
|
||||
{
|
||||
background-color:#666;
|
||||
position:absolute;
|
||||
z-index:998;
|
||||
}
|
||||
.loading_main
|
||||
{
|
||||
font-size:1.6em;
|
||||
color:#ff6;
|
||||
text-align:center;
|
||||
}
|
||||
.loading_sub
|
||||
{
|
||||
font-size:1.0em;
|
||||
color:#fff;
|
||||
text-align:center;
|
||||
}
|
||||
3668
xinha/XinhaCore.js
Normal file
@@ -1,264 +0,0 @@
|
||||
<?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 = "";
|
||||
if($fp) {
|
||||
echo "$file open...<br>";
|
||||
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;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
?>
|
||||
202
xinha/contrib/php-xinha.php
Normal file
@@ -0,0 +1,202 @@
|
||||
<?php
|
||||
/** Write the appropriate xinha_config directives to pass data to a PHP (Plugin) backend file.
|
||||
*
|
||||
* ImageManager Example:
|
||||
* The following would be placed in step 3 of your configuration (see the NewbieGuide
|
||||
* (http://xinha.python-hosting.com/wiki/NewbieGuide)
|
||||
*
|
||||
* <script language="javascript">
|
||||
* with (xinha_config.ImageManager)
|
||||
* {
|
||||
* <?php
|
||||
* xinha_pass_to_php_backend
|
||||
* (
|
||||
* array
|
||||
* (
|
||||
* 'images_dir' => '/home/your/directory',
|
||||
* 'images_url' => '/directory'
|
||||
* )
|
||||
* )
|
||||
* ?>
|
||||
* }
|
||||
* </script>
|
||||
*
|
||||
*/
|
||||
|
||||
function xinha_pass_to_php_backend($Data, $KeyLocation = 'Xinha:BackendKey')
|
||||
{
|
||||
|
||||
$bk = array();
|
||||
$bk['data'] = serialize($Data);
|
||||
|
||||
@session_start();
|
||||
if(!isset($_SESSION[$KeyLocation]))
|
||||
{
|
||||
$_SESSION[$KeyLocation] = uniqid('Key_');
|
||||
}
|
||||
|
||||
$bk['session_name'] = session_name();
|
||||
$bk['key_location'] = $KeyLocation;
|
||||
$bk['hash'] =
|
||||
function_exists('sha1') ?
|
||||
sha1($_SESSION[$KeyLocation] . $bk['data'])
|
||||
: md5($_SESSION[$KeyLocation] . $bk['data']);
|
||||
|
||||
|
||||
// The data will be passed via a postback to the
|
||||
// backend, we want to make sure these are going to come
|
||||
// out from the PHP as an array like $bk above, so
|
||||
// we need to adjust the keys.
|
||||
$backend_data = array();
|
||||
foreach($bk as $k => $v)
|
||||
{
|
||||
$backend_data["backend_data[$k]"] = $v;
|
||||
}
|
||||
|
||||
// The session_start() above may have been after data was sent, so cookies
|
||||
// wouldn't have worked.
|
||||
$backend_data[session_name()] = session_id();
|
||||
|
||||
echo 'backend_data = ' . xinha_to_js($backend_data) . "; \n";
|
||||
|
||||
}
|
||||
|
||||
/** Convert PHP data structure to Javascript */
|
||||
|
||||
function xinha_to_js($var, $tabs = 0)
|
||||
{
|
||||
if(is_numeric($var))
|
||||
{
|
||||
return $var;
|
||||
}
|
||||
|
||||
if(is_string($var))
|
||||
{
|
||||
return "'" . xinha_js_encode($var) . "'";
|
||||
}
|
||||
|
||||
if(is_array($var))
|
||||
{
|
||||
$useObject = false;
|
||||
foreach(array_keys($var) as $k) {
|
||||
if(!is_numeric($k)) $useObject = true;
|
||||
}
|
||||
$js = array();
|
||||
foreach($var as $k => $v)
|
||||
{
|
||||
$i = "";
|
||||
if($useObject) {
|
||||
if(preg_match('#^[a-zA-Z]+[a-zA-Z0-9]*$#', $k)) {
|
||||
$i .= "$k: ";
|
||||
} else {
|
||||
$i .= "'$k': ";
|
||||
}
|
||||
}
|
||||
$i .= xinha_to_js($v, $tabs + 1);
|
||||
$js[] = $i;
|
||||
}
|
||||
if($useObject) {
|
||||
$ret = "{\n" . xinha_tabify(implode(",\n", $js), $tabs) . "\n}";
|
||||
} else {
|
||||
$ret = "[\n" . xinha_tabify(implode(",\n", $js), $tabs) . "\n]";
|
||||
}
|
||||
return $ret;
|
||||
}
|
||||
|
||||
return 'null';
|
||||
}
|
||||
|
||||
/** Like htmlspecialchars() except for javascript strings. */
|
||||
|
||||
function xinha_js_encode($string)
|
||||
{
|
||||
static $strings = "\\,\",',%,&,<,>,{,},@,\n,\r";
|
||||
|
||||
if(!is_array($strings))
|
||||
{
|
||||
$tr = array();
|
||||
foreach(explode(',', $strings) as $chr)
|
||||
{
|
||||
$tr[$chr] = sprintf('\x%02X', ord($chr));
|
||||
}
|
||||
$strings = $tr;
|
||||
}
|
||||
|
||||
return strtr($string, $strings);
|
||||
}
|
||||
|
||||
|
||||
/** Used by plugins to get the config passed via
|
||||
* xinha_pass_to_backend()
|
||||
* returns either the structure given, or NULL
|
||||
* if none was passed or a security error was encountered.
|
||||
*/
|
||||
|
||||
function xinha_read_passed_data()
|
||||
{
|
||||
if(isset($_REQUEST['backend_data']) && is_array($_REQUEST['backend_data']))
|
||||
{
|
||||
$bk = $_REQUEST['backend_data'];
|
||||
session_name($bk['session_name']);
|
||||
@session_start();
|
||||
if(!isset($_SESSION[$bk['key_location']])) return NULL;
|
||||
|
||||
if($bk['hash'] ===
|
||||
function_exists('sha1') ?
|
||||
sha1($_SESSION[$bk['key_location']] . $bk['data'])
|
||||
: md5($_SESSION[$bk['key_location']] . $bk['data']))
|
||||
{
|
||||
return unserialize(ini_get('magic_quotes_gpc') ? stripslashes($bk['data']) : $bk['data']);
|
||||
}
|
||||
}
|
||||
|
||||
return NULL;
|
||||
}
|
||||
|
||||
/** Used by plugins to get a query string that can be sent to the backend
|
||||
* (or another part of the backend) to send the same data.
|
||||
*/
|
||||
|
||||
function xinha_passed_data_querystring()
|
||||
{
|
||||
$qs = array();
|
||||
if(isset($_REQUEST['backend_data']) && is_array($_REQUEST['backend_data']))
|
||||
{
|
||||
foreach($_REQUEST['backend_data'] as $k => $v)
|
||||
{
|
||||
$v = ini_get('magic_quotes_gpc') ? stripslashes($v) : $v;
|
||||
$qs[] = "backend_data[" . rawurlencode($k) . "]=" . rawurlencode($v);
|
||||
}
|
||||
}
|
||||
|
||||
$qs[] = session_name() . '=' . session_id();
|
||||
return implode('&', $qs);
|
||||
}
|
||||
|
||||
|
||||
/** Just space-tab indent some text */
|
||||
function xinha_tabify($text, $tabs)
|
||||
{
|
||||
if($text)
|
||||
{
|
||||
return str_repeat(" ", $tabs) . preg_replace('/\n(.)/', "\n" . str_repeat(" ", $tabs) . "\$1", $text);
|
||||
}
|
||||
}
|
||||
|
||||
/** Return upload_max_filesize value from php.ini in kilobytes (function adapted from php.net)**/
|
||||
function upload_max_filesize_kb()
|
||||
{
|
||||
$val = ini_get('upload_max_filesize');
|
||||
$val = trim($val);
|
||||
$last = strtolower($val{strlen($val)-1});
|
||||
switch($last)
|
||||
{
|
||||
// The 'G' modifier is available since PHP 5.1.0
|
||||
case 'g':
|
||||
$val *= 1024;
|
||||
case 'm':
|
||||
$val *= 1024;
|
||||
}
|
||||
return $val;
|
||||
}
|
||||
?>
|
||||
@@ -1,76 +0,0 @@
|
||||
// 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();
|
||||
};
|
||||
@@ -15,14 +15,55 @@ function getAbsolutePos(el) {
|
||||
return r;
|
||||
};
|
||||
|
||||
function comboSelectValue(c, val) {
|
||||
var ops = c.getElementsByTagName("option");
|
||||
for (var i = ops.length; --i >= 0;) {
|
||||
var op = ops[i];
|
||||
op.selected = (op.value == val);
|
||||
}
|
||||
c.value = val;
|
||||
};
|
||||
function getSelectedValue(el) {
|
||||
if(!el)
|
||||
return "";
|
||||
return el[el.selectedIndex].value;
|
||||
}
|
||||
|
||||
function setSelectedValue(el, val) {
|
||||
if(!el)
|
||||
return "";
|
||||
var ops = el.getElementsByTagName("option");
|
||||
for (var i = ops.length; --i >= 0;) {
|
||||
var op = ops[i];
|
||||
op.selected = (op.value == val);
|
||||
}
|
||||
el.value = val;
|
||||
}
|
||||
|
||||
function getCheckedValue(el) {
|
||||
if(!el)
|
||||
return "";
|
||||
var radioLength = el.length;
|
||||
if(radioLength == undefined)
|
||||
if(el.checked)
|
||||
return el.value;
|
||||
else
|
||||
return "false";
|
||||
for(var i = 0; i < radioLength; i++) {
|
||||
if(el[i].checked) {
|
||||
return el[i].value;
|
||||
}
|
||||
}
|
||||
return "";
|
||||
}
|
||||
|
||||
function setCheckedValue(el, val) {
|
||||
if(!el)
|
||||
return;
|
||||
var radioLength = el.length;
|
||||
if(radioLength == undefined) {
|
||||
el.checked = (el.value == val.toString());
|
||||
return;
|
||||
}
|
||||
for(var i = 0; i < radioLength; i++) {
|
||||
el[i].checked = false;
|
||||
if(el[i].value == val.toString()) {
|
||||
el[i].checked = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
function __dlg_onclose() {
|
||||
opener.Dialog._return(null);
|
||||
@@ -84,50 +125,77 @@ function __dlg_init(bottom) {
|
||||
document.body.onkeypress = __dlg_close_on_esc;
|
||||
};
|
||||
|
||||
function placeFocus() {
|
||||
var bFound = false;
|
||||
// for each form
|
||||
for (f=0; f < document.forms.length; f++) {
|
||||
// for each element in each form
|
||||
for(i=0; i < document.forms[f].length; i++) {
|
||||
// if it's not a hidden element
|
||||
if (document.forms[f][i].type != "hidden") {
|
||||
// and it's not disabled
|
||||
if (document.forms[f][i].disabled != true) {
|
||||
// set the focus to it
|
||||
document.forms[f][i].focus();
|
||||
var bFound = true;
|
||||
}
|
||||
}
|
||||
// if found in this element, stop looking
|
||||
if (bFound == true)
|
||||
break;
|
||||
}
|
||||
// if found in this form, stop looking
|
||||
if (bFound == true)
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
function Init() {
|
||||
__dlg_init();
|
||||
var param = window.dialogArguments;
|
||||
if (param) {
|
||||
document.getElementById("width").value = param["width"];
|
||||
document.getElementById("height").value = param["height"];
|
||||
document.getElementById("sizeIncludesBars").checked = (param["sizeIncludesBars"] == 'true');
|
||||
document.getElementById("statusBar").checked = (param["statusBar"] == 'true');
|
||||
document.getElementById("mozParaHandler").value = param["mozParaHandler"];
|
||||
document.getElementById("undoSteps").value = param["undoSteps"];
|
||||
document.getElementById("baseHref").value = param["baseHref"];
|
||||
document.getElementById("stripBaseHref").checked = (param["stripBaseHref"] == 'true');
|
||||
document.getElementById("stripSelfNamedAnchors").checked = (param["stripSelfNamedAnchors"] == 'true');
|
||||
document.getElementById("only7BitPrintablesInURLs").checked = (param["only7BitPrintablesInURLs"] == 'true');
|
||||
document.getElementById("sevenBitClean").checked = (param["sevenBitClean"] == 'true');
|
||||
document.getElementById("killWordOnPaste").checked = (param["killWordOnPaste"] == 'true');
|
||||
document.getElementById("flowToolbars").checked = (param["flowToolbars"] == 'true');
|
||||
document.getElementById("CharacterMapMode").value = param["CharacterMapMode"];
|
||||
document.getElementById("ListTypeMode").value = param["ListTypeMode"];
|
||||
|
||||
if(param) {
|
||||
var el;
|
||||
for (var field in param) {
|
||||
//alert(field + '="' + param[field] + '"');
|
||||
el = document.getElementById(field);
|
||||
if (el.tagName.toLowerCase()=="input"){
|
||||
if ((el.type.toLowerCase()=="radio") || (el.type.toLowerCase()=="checkbox")){
|
||||
setCheckedValue(el, param[field]);
|
||||
} else {
|
||||
el.value = param[field];
|
||||
}
|
||||
} else if (el.tagName.toLowerCase()=="select"){
|
||||
setSelectedValue(el, param[field]);
|
||||
} else if (el.tagName.toLowerCase()=="textarea"){
|
||||
el.value = param[field];
|
||||
}
|
||||
}
|
||||
}
|
||||
document.getElementById("width").focus();
|
||||
window.resizeTo(420, 500);
|
||||
placeFocus();
|
||||
};
|
||||
|
||||
// pass data back to the calling window
|
||||
function onOK() {
|
||||
// pass data back to the calling window
|
||||
var param = { width: document.getElementById("width").value,
|
||||
height: document.getElementById("height").value,
|
||||
sizeIncludesBars: (document.getElementById("sizeIncludesBars").checked?true:""),
|
||||
statusBar: (document.getElementById("statusBar").checked?true:""),
|
||||
mozParaHandler: document.getElementById("mozParaHandler").value,
|
||||
undoSteps: document.getElementById("undoSteps").value,
|
||||
baseHref: document.getElementById("baseHref").value,
|
||||
stripBaseHref: (document.getElementById("stripBaseHref").checked?true:""),
|
||||
stripSelfNamedAnchors: (document.getElementById("stripSelfNamedAnchors").checked?true:""),
|
||||
only7BitPrintablesInURLs: (document.getElementById("only7BitPrintablesInURLs").checked?true:""),
|
||||
sevenBitClean: (document.getElementById("sevenBitClean").checked?true:""),
|
||||
killWordOnPaste: (document.getElementById("killWordOnPaste").checked?true:""),
|
||||
flowToolbars: (document.getElementById("flowToolbars").checked?true:""),
|
||||
CharacterMapMode: document.getElementById("CharacterMapMode").value,
|
||||
ListTypeOptions: document.getElementById("ListTypeMode").value
|
||||
};
|
||||
__dlg_close(param);
|
||||
var param = new Object();
|
||||
var el = document.getElementsByTagName('input');
|
||||
for (var i=0; i<el.length;i++){
|
||||
if ((el[i].type.toLowerCase()=="radio") || (el[i].type.toLowerCase()=="checkbox")){
|
||||
if (getCheckedValue(el[i])!=''){
|
||||
param[el[i].id] = getCheckedValue(el[i]);
|
||||
}
|
||||
} else {
|
||||
param[el[i].id] = el[i].value;
|
||||
}
|
||||
}
|
||||
el = document.getElementsByTagName('select');
|
||||
for (var i=0; i<el.length;i++){
|
||||
param[el[i].id] = getSelectedValue(el[i]);
|
||||
}
|
||||
el = document.getElementsByTagName('textarea');
|
||||
for (var i=0; i<el.length;i++){
|
||||
param[el[i].id] = el[i].value;
|
||||
}
|
||||
__dlg_close(param);
|
||||
return false;
|
||||
};
|
||||
|
||||
@@ -144,7 +212,7 @@ function onCancel() {
|
||||
|
||||
</head>
|
||||
|
||||
<body class="dialog" onload="Init()">
|
||||
<body class="dialog" onload="Init(); window.resizeTo(360, 590);">
|
||||
<div class="title">Settings</div>
|
||||
<form action="" method="get">
|
||||
<div class="fr">Editor width:</div>
|
||||
@@ -154,10 +222,10 @@ function onCancel() {
|
||||
<input type="text" name="height" id="height" title="" />
|
||||
<p />
|
||||
<div class="fr">Size includes bars</div>
|
||||
<input type="checkbox" name="sizeIncludesBars" id="sizeIncludesBars" />
|
||||
<input type="checkbox" name="sizeIncludesBars" id="sizeIncludesBars" value="true" />
|
||||
<p />
|
||||
<div class="fr">Status Bar</div>
|
||||
<input type="checkbox" name="statusBar" id="statusBar" />
|
||||
<input type="checkbox" name="statusBar" id="statusBar" value="true" />
|
||||
<p />
|
||||
<div class="fr">Mozilla Parameter Handler:</div>
|
||||
<select name="mozParaHandler" id="mozParaHandler">
|
||||
@@ -173,48 +241,59 @@ function onCancel() {
|
||||
<input type="text" name="baseHref" id="baseHref" title="" />
|
||||
<p />
|
||||
<div class="fr">Strip base href</div>
|
||||
<input type="checkbox" name="stripBaseHref" id="stripBaseHref" />
|
||||
<input type="checkbox" name="stripBaseHref" id="stripBaseHref" value="true" />
|
||||
<p />
|
||||
<div class="fr">Strip self named anchors</div>
|
||||
<input type="checkbox" name="stripSelfNamedAnchors" id="stripSelfNamedAnchors" />
|
||||
<input type="checkbox" name="stripSelfNamedAnchors" id="stripSelfNamedAnchors" value="true" />
|
||||
<p />
|
||||
<div class="fr">only 7bit printables in URLs</div>
|
||||
<input type="checkbox" name="only7BitPrintablesInURLs" id="only7BitPrintablesInURLs" />
|
||||
<input type="checkbox" name="only7BitPrintablesInURLs" id="only7BitPrintablesInURLs" value="true" />
|
||||
<p />
|
||||
<div class="fr">7bit Clean</div>
|
||||
<input type="checkbox" name="sevenBitClean" id="sevenBitClean" />
|
||||
<input type="checkbox" name="sevenBitClean" id="sevenBitClean" value="true" />
|
||||
<p />
|
||||
<div class="fr">kill Word on paste</div>
|
||||
<input type="checkbox" name="killWordOnPaste" id="killWordOnPaste" />
|
||||
<input type="checkbox" name="killWordOnPaste" id="killWordOnPaste" value="true" />
|
||||
<p />
|
||||
<div class="fr">flow toolbars</div>
|
||||
<input type="checkbox" name="flowToolbars" id="flowToolbars" />
|
||||
<input type="checkbox" name="flowToolbars" id="flowToolbars" value="true" />
|
||||
<p />
|
||||
<div class="fr">show loading</div>
|
||||
<input type="checkbox" name="showLoading" id="showLoading" value="true" />
|
||||
<p />
|
||||
|
||||
<div id="CharacterMapOptions" class="options">
|
||||
<hr size="0.5">
|
||||
<div class="fr">CharacterMap mode :</div>
|
||||
<select id="CharacterMapMode" name="CharacterMapMode">
|
||||
<div class="fr">CharacterMap mode :</div>
|
||||
<select id="CharacterMapMode" name="CharacterMapMode">
|
||||
<option value="popup">popup</option>
|
||||
<option value="panel">panel</option>
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
<p />
|
||||
|
||||
<div id="ListTypeOptions" class="options">
|
||||
<hr size="0.5">
|
||||
<hr size="0.5">
|
||||
<div class="fr">ListType mode :</div>
|
||||
<select id="ListTypeMode" name="ListTypeMode">
|
||||
<select id="ListTypeMode" name="ListTypeMode">
|
||||
<option value="toolbar">toolbar</option>
|
||||
<option value="panel">panel</option>
|
||||
</select>
|
||||
</div>
|
||||
<p />
|
||||
|
||||
<p />
|
||||
|
||||
<div id="CharCounterOptions" class="options">
|
||||
<hr size="0.5">
|
||||
<div class="fr">CharCounter (showChar) :</div><input type="checkbox" name="showChar" id="showChar" value="true" /><br />
|
||||
<div class="fr">CharCounter (showWord) :</div><input type="checkbox" name="showWord" id="showWord" value="true" /><br />
|
||||
<div class="fr">CharCounter (showHtml) :</div><input type="checkbox" name="showHtml" id="showHtml" value="true" />
|
||||
</div>
|
||||
<p />
|
||||
|
||||
<div id="buttons">
|
||||
<button type="submit" name="ok" onclick="return onOK();">OK</button>
|
||||
<button type="button" name="cancel" onclick="return onCancel();">Cancel</button>
|
||||
</div>
|
||||
</form>
|
||||
</body>
|
||||
</html>
|
||||
</html>
|
||||
|
||||
22
xinha/examples/Newbie.html
Normal file
@@ -0,0 +1,22 @@
|
||||
<!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>
|
||||
<title>Xinha Newbie Guide</title>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||
|
||||
<script type="text/javascript">
|
||||
_editor_url = "../" // (preferably absolute) URL (including trailing slash) where Xinha is installed
|
||||
_editor_lang = "en"; // And the language we need to use in the editor.
|
||||
_editor_skin = "silva"; // If you want use skin, add the name here
|
||||
</script>
|
||||
<script type="text/javascript" src="../XinhaCore.js"></script>
|
||||
<script type="text/javascript" src="XinhaConfig.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<form action="">
|
||||
<textarea id="myTextArea" name="myTextArea" rows="10" cols="50" style="width: 100%"></textarea>
|
||||
</form>
|
||||
</body>
|
||||
</html>
|
||||
17
xinha/examples/XinhaConfig.js
Normal file
@@ -0,0 +1,17 @@
|
||||
xinha_editors=null;
|
||||
xinha_init=null;
|
||||
xinha_config=null;
|
||||
xinha_plugins=null;
|
||||
xinha_init=xinha_init?xinha_init:function(){
|
||||
xinha_editors=xinha_editors?xinha_editors:["myTextArea","anotherOne"];
|
||||
xinha_plugins=xinha_plugins?xinha_plugins:["CharacterMap","ContextMenu","ListType","Stylist","Linker","SuperClean","TableOperations"];
|
||||
if(!Xinha.loadPlugins(xinha_plugins,xinha_init)){
|
||||
return;
|
||||
}
|
||||
xinha_config=xinha_config?xinha_config():new Xinha.Config();
|
||||
xinha_config.pageStyleSheets=[_editor_url+"examples/full_example.css"];
|
||||
xinha_editors=Xinha.makeEditors(xinha_editors,xinha_config,xinha_plugins);
|
||||
Xinha.startEditors(xinha_editors);
|
||||
};
|
||||
Xinha._addEvent(window,"load",xinha_init);
|
||||
|
||||
@@ -4,9 +4,9 @@
|
||||
-- @TODO Make this CSS more useful.
|
||||
--
|
||||
-- $HeadURL: http://svn.xinha.python-hosting.com/trunk/examples/custom.css $
|
||||
-- $LastChangedDate: 2005-02-18 23:10:03 -0500 (Fri, 18 Feb 2005) $
|
||||
-- $LastChangedRevision: 14 $
|
||||
-- $LastChangedBy: gogo $
|
||||
-- $LastChangedDate: 2007-01-19 23:24:36 +0100 (Fr, 19 Jan 2007) $
|
||||
-- $LastChangedRevision: 677 $
|
||||
-- $LastChangedBy: ray $
|
||||
--------------------------------------------------------------------------*/
|
||||
|
||||
body { background-color: #234; color: #dd8; font-family: tahoma; font-size: 12px; }
|
||||
|
||||
@@ -4,9 +4,9 @@
|
||||
-- @TODO Make this CSS more useful.
|
||||
--
|
||||
-- $HeadURL: http://svn.xinha.python-hosting.com/trunk/examples/dynamic.css $
|
||||
-- $LastChangedDate: 2005-02-18 23:10:03 -0500 (Fri, 18 Feb 2005) $
|
||||
-- $LastChangedRevision: 14 $
|
||||
-- $LastChangedBy: gogo $
|
||||
-- $LastChangedDate: 2007-01-19 23:24:36 +0100 (Fr, 19 Jan 2007) $
|
||||
-- $LastChangedRevision: 677 $
|
||||
-- $LastChangedBy: ray $
|
||||
--------------------------------------------------------------------------*/
|
||||
|
||||
p {
|
||||
|
||||
@@ -4,14 +4,14 @@
|
||||
|
||||
<!-- ---------------------------------------------------------------------
|
||||
-- $HeadURL: http://svn.xinha.python-hosting.com/trunk/examples/ext_example-body.html $
|
||||
-- $LastChangedDate: 2005-07-27 16:43:19 +0200 (Mi, 27 Jul 2005) $
|
||||
-- $LastChangedRevision: 287 $
|
||||
-- $LastChangedDate: 2007-01-22 16:06:18 +0100 (Mo, 22 Jan 2007) $
|
||||
-- $LastChangedRevision: 686 $
|
||||
-- $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" />
|
||||
<link rel="stylesheet" type="text/css" href="full_example.css" />
|
||||
|
||||
<script type="text/javascript">
|
||||
function showError( sMsg, sUrl, sLine){
|
||||
@@ -20,10 +20,6 @@
|
||||
'Line: ' + sLine + '\n';
|
||||
return false;
|
||||
}
|
||||
window.onerror = showError;
|
||||
document.onerror = showError;
|
||||
|
||||
var f = window.parent.menu.document.forms[0];
|
||||
// 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/";
|
||||
@@ -31,21 +27,25 @@
|
||||
// eg: _editor_url = "../";
|
||||
// in this example we do a little regular expression to find the absolute path.
|
||||
_editor_url = document.location.href.replace(/examples\/ext_example-body\.html.*/, '')
|
||||
_editor_lang = f.lang.value; // And the language we need to use in the editor.
|
||||
_editor_skin = f.skin.value; // the skin we use in the editor
|
||||
//moved _editor_lang & _editor_skin to init function because of error thrown when frame document not ready
|
||||
</script>
|
||||
|
||||
<!-- Load up the actual editor core -->
|
||||
<script type="text/javascript" src="../htmlarea.js"></script>
|
||||
<script type="text/javascript" src="../XinhaCore.js"></script>
|
||||
|
||||
<script type="text/javascript">
|
||||
xinha_editors = null;
|
||||
xinha_init = null;
|
||||
xinha_config = null;
|
||||
xinha_plugins = null;
|
||||
|
||||
|
||||
xinha_init = xinha_init ? xinha_init : function() {
|
||||
var f = window.parent.menu.document.forms[0];
|
||||
window.onerror = showError;
|
||||
document.onerror = showError;
|
||||
|
||||
var f = top.frames["menu"].document.forms["fsettings"];
|
||||
_editor_lang = f.lang[f.lang.selectedIndex].value; // the language we need to use in the editor.
|
||||
_editor_skin = f.skin[f.skin.selectedIndex].value; // the skin we use in the editor
|
||||
// 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 = [ ];
|
||||
@@ -54,7 +54,7 @@
|
||||
}
|
||||
|
||||
// THIS BIT OF JAVASCRIPT LOADS THE PLUGINS, NO TOUCHING :)
|
||||
if(!HTMLArea.loadPlugins(xinha_plugins, xinha_init)) return;
|
||||
if(!Xinha.loadPlugins(xinha_plugins, xinha_init)) return;
|
||||
|
||||
// What are the names of the textareas you will be turning into editors?
|
||||
var num = 1;
|
||||
@@ -70,7 +70,7 @@
|
||||
for(var x = 0; x < num; x++) {
|
||||
var ta = 'myTextarea' + x;
|
||||
xinha_editors.push(ta);
|
||||
|
||||
|
||||
var div = document.createElement('div');
|
||||
div.className = 'area_holder';
|
||||
|
||||
@@ -86,22 +86,31 @@
|
||||
}
|
||||
|
||||
// Create a default configuration to be used by all the editors.
|
||||
xinha_config = new HTMLArea.Config();
|
||||
if (f.width) xinha_config.width = f.width.value;
|
||||
if (f.height) xinha_config.height = f.height.value;
|
||||
if (f.sizeIncludesBars) xinha_config.sizeIncludesBars = f.sizeIncludesBars.value;
|
||||
if (f.statusBar) xinha_config.statusBar = f.statusBar.value;
|
||||
if (f.mozParaHandler) xinha_config.mozParaHandler = f.mozParaHandler.value;
|
||||
if (f.undoSteps) xinha_config.undoSteps = f.undoSteps.value;
|
||||
if (f.baseHref) xinha_config.baseHref = f.baseHref.value;
|
||||
if (f.stripBaseHref) xinha_config.stripBaseHref = f.stripBaseHref.value;
|
||||
if (f.stripSelfNamedAnchors) xinha_config.stripSelfNamedAnchors = f.stripSelfNamedAnchors.value;
|
||||
if (f.only7BitPrintablesInURLs) xinha_config.only7BitPrintablesInURLs = f.only7BitPrintablesInURLs.value;
|
||||
if (f.sevenBitClean) xinha_config.sevenBitClean = f.sevenBitClean.value;
|
||||
if (f.killWordOnPaste) xinha_config.killWordOnPaste = f.killWordOnPaste.value;
|
||||
if (f.flowToolbars) xinha_config.flowToolbars = f.flowToolbars.value;
|
||||
if ((typeof CharacterMap != 'undefined') && (f.CharacterMapMode)) xinha_config.CharacterMap.mode = f.CharacterMapMode.value;
|
||||
if ((typeof ListType != 'undefined') && (f.ListTypeMode)) xinha_config.ListType.mode = f.ListTypeMode.value;
|
||||
settings = top.frames["menu"].settings;
|
||||
xinha_config = new Xinha.Config();
|
||||
xinha_config.width = settings.width;
|
||||
xinha_config.height = settings.height;
|
||||
xinha_config.sizeIncludesBars = settings.sizeIncludesBars;
|
||||
xinha_config.statusBar = settings.statusBar;
|
||||
xinha_config.mozParaHandler = settings.mozParaHandler;
|
||||
xinha_config.undoSteps = settings.undoSteps;
|
||||
xinha_config.baseHref = settings.baseHref;
|
||||
xinha_config.stripBaseHref = settings.stripBaseHref;
|
||||
xinha_config.stripSelfNamedAnchors = settings.stripSelfNamedAnchors;
|
||||
xinha_config.only7BitPrintablesInURLs = settings.only7BitPrintablesInURLs;
|
||||
xinha_config.sevenBitClean = settings.sevenBitClean;
|
||||
xinha_config.killWordOnPaste = settings.killWordOnPaste;
|
||||
xinha_config.flowToolbars = settings.flowToolbars;
|
||||
xinha_config.showLoading = settings.showLoading;
|
||||
|
||||
if (typeof CharCounter != 'undefined') {
|
||||
xinha_config.CharCounter.showChar = settings.showChar;
|
||||
xinha_config.CharCounter.showWord = settings.showWord;
|
||||
xinha_config.CharCounter.showHtml = settings.showHtml;
|
||||
}
|
||||
|
||||
if (typeof CharacterMap != 'undefined') xinha_config.CharacterMap.mode = settings.CharacterMapMode;
|
||||
if (typeof ListType != 'undefined') xinha_config.ListType.mode = settings.ListTypeMode;
|
||||
|
||||
if(typeof CSS != 'undefined') {
|
||||
xinha_config.pageStyle = "@import url(custom.css);";
|
||||
@@ -143,58 +152,51 @@
|
||||
}
|
||||
}
|
||||
|
||||
if(typeof InsertPicture != 'undefined') {
|
||||
// Path for InsertPicture plugin
|
||||
InsertPicture.PicturePath = '/schmal/pictures/';
|
||||
}
|
||||
|
||||
if(typeof Filter != 'undefined') {
|
||||
xinha_config.Filters = ["Word", "Paragraph"];
|
||||
}
|
||||
|
||||
// First create editors for the textareas.
|
||||
// You can do this in two ways, either
|
||||
// xinha_editors = HTMLArea.makeEditors(xinha_editors, xinha_config, xinha_plugins);
|
||||
// xinha_editors = Xinha.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']);
|
||||
// xinha_editors = Xinha.makeEditors(xinha_editors, xinha_config);
|
||||
// xinha_editors['myTextarea0'].registerPlugins(['Stylist','FullScreen']);
|
||||
// xinha_editors['myTextarea1'].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);
|
||||
xinha_editors = Xinha.makeEditors(xinha_editors, xinha_config, xinha_plugins);
|
||||
|
||||
// If you want to change the configuration variables of any of the editors,
|
||||
// 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';
|
||||
// xinha_editors['myTextarea0'].config.width = '640px';
|
||||
// xinha_editors['myTextarea0'].config.height = '480px';
|
||||
|
||||
// Finally we "start" the editors, this turns the textareas into Xinha editors.
|
||||
HTMLArea.startEditors(xinha_editors);
|
||||
Xinha.startEditors(xinha_editors);
|
||||
}
|
||||
|
||||
// javascript submit handler
|
||||
// this shows how to create a javascript submit button that works with the htmleditor.
|
||||
submitHandler = function(formname) {
|
||||
var form = document.getElementById(formname);
|
||||
// in order for the submit to work both of these methods have to be called.
|
||||
form.onsubmit();
|
||||
window.parent.menu.document.getElementById('myTextarea0').value = document.getElementById('myTextarea0').value;
|
||||
form.submit();
|
||||
return true;
|
||||
}
|
||||
|
||||
window.onload = xinha_init;
|
||||
// window.onunload = Xinha.collectGarbageForIE;
|
||||
</script>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<form id="to_submit" method="post" action="ext_example-dest.php">
|
||||
<div id="editors_here"></div>
|
||||
<button type="submit">Submit</button>
|
||||
<textarea id="errors" style="width:100%; height:100px; background:silver;"></textarea><!-- style="display:none;"> -->
|
||||
<form id="to_submit" name="to_submit" method="post" action="ext_example-dest.php">
|
||||
<div id="editors_here" name="editors_here"></div>
|
||||
<button type="button" onclick="submitHandler('to_submit');">Submit</button>
|
||||
<textarea id="errors" name="errors" style="width:100%; height:100px; background:silver;"></textarea><!-- style="display:none;" -->
|
||||
</form>
|
||||
<script type="text/javascript">
|
||||
var _oldSubmitHandler = null;
|
||||
if (document.forms[0].onsubmit != null) {
|
||||
_oldSubmitHandler = document.forms[0].onsubmit;
|
||||
}
|
||||
function frame_onSubmit(){
|
||||
document.getElementById('myTextarea0').value = document.getElementById('myTextarea0').value.replace(/^[\r\n]+|\s+$/, '')
|
||||
window.parent.menu.document.getElementById('myTextarea0').value = document.getElementById('myTextarea0').value;
|
||||
if (_oldSubmitHandler != null) {
|
||||
_oldSubmitHandler();
|
||||
}
|
||||
}
|
||||
document.forms[0].onsubmit = frame_onSubmit;
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<?PHP
|
||||
$LocalPluginPath = dirname(dirname(__FILE__)).'\plugins';
|
||||
$LocalSkinPath = dirname(dirname(__File__)).'\skins';
|
||||
?>
|
||||
$LocalPluginPath = dirname(dirname(__FILE__)).DIRECTORY_SEPARATOR.'plugins';
|
||||
$LocalSkinPath = dirname(dirname(__File__)).DIRECTORY_SEPARATOR.'skins';
|
||||
?>
|
||||
<html>
|
||||
<head>
|
||||
|
||||
@@ -10,10 +10,10 @@
|
||||
-- frame to provide a menu for generating example editors using
|
||||
-- full_example-body.html, and full_example.js.
|
||||
--
|
||||
-- $HeadURL$
|
||||
-- $LastChangedDate$
|
||||
-- $LastChangedRevision$
|
||||
-- $LastChangedBy$
|
||||
-- $HeadURL: http://svn.xinha.python-hosting.com/trunk/examples/ext_example-menu.php $
|
||||
-- $LastChangedDate: 2007-02-07 20:12:42 +0100 (Mi, 07 Feb 2007) $
|
||||
-- $LastChangedRevision: 715 $
|
||||
-- $LastChangedBy: htanaka $
|
||||
--------------------------------------------------------------------------->
|
||||
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||
@@ -25,7 +25,30 @@
|
||||
label { display:block;}
|
||||
</style>
|
||||
<script language="JavaScript" type="text/javascript">
|
||||
|
||||
var settings = null;
|
||||
settings = {
|
||||
width: "auto",
|
||||
height: "auto",
|
||||
sizeIncludesBars: true,
|
||||
statusBar: true,
|
||||
mozParaHandler: "best",
|
||||
undoSteps: 20,
|
||||
baseHref: null,
|
||||
stripBaseHref: true,
|
||||
stripSelfNamedAnchors: true,
|
||||
only7BitPrintablesInURLs: true,
|
||||
sevenBitClean: false,
|
||||
killWordOnPaste: true,
|
||||
flowToolbars: true,
|
||||
CharacterMapMode: "popup",
|
||||
ListTypeMode: "toolbar",
|
||||
showLoading: false,
|
||||
showChar: true,
|
||||
showWord: true,
|
||||
showHtml: true
|
||||
};
|
||||
|
||||
|
||||
function getCookieVal (offset) {
|
||||
var endstr = document.cookie.indexOf (";", offset);
|
||||
if (endstr == -1)
|
||||
@@ -43,7 +66,7 @@
|
||||
if (document.cookie.substring(i, j) == arg)
|
||||
return getCookieVal (j);
|
||||
i = document.cookie.indexOf(" ", i) + 1;
|
||||
if (i == 0) break;
|
||||
if (i == 0) break;
|
||||
}
|
||||
return null;
|
||||
}
|
||||
@@ -71,11 +94,11 @@
|
||||
sHeight = sHeight - 245;
|
||||
} else {
|
||||
sHeight = 30
|
||||
}
|
||||
}
|
||||
var div = document.getElementById("div_plugins");
|
||||
div.style.height = sHeight + "px";
|
||||
}
|
||||
|
||||
|
||||
function Dialog(url, action, init) {
|
||||
if (typeof init == "undefined") {
|
||||
init = window; // pass this window object by default
|
||||
@@ -117,15 +140,15 @@ Dialog._geckoOpenModal = function(url, action, 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);
|
||||
// Xinha._addEvent(w, "click", Dialog._parentEvent);
|
||||
// Xinha._addEvent(w, "mousedown", Dialog._parentEvent);
|
||||
// Xinha._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);
|
||||
// Xinha._removeEvent(w, "click", Dialog._parentEvent);
|
||||
// Xinha._removeEvent(w, "mousedown", Dialog._parentEvent);
|
||||
// Xinha._removeEvent(w, "focus", Dialog._parentEvent);
|
||||
};
|
||||
capwin(window);
|
||||
// capture other frames
|
||||
@@ -143,41 +166,29 @@ Dialog._geckoOpenModal = function(url, action, init) {
|
||||
};
|
||||
|
||||
function fExtended () {
|
||||
var outparam = { width: document.getElementById("width").value,
|
||||
height: document.getElementById("height").value,
|
||||
sizeIncludesBars: document.getElementById("sizeIncludesBars").value,
|
||||
statusBar: document.getElementById("statusBar").value,
|
||||
mozParaHandler: document.getElementById("mozParaHandler").value,
|
||||
undoSteps: document.getElementById("undoSteps").value,
|
||||
baseHref: document.getElementById("baseHref").value,
|
||||
stripBaseHref: document.getElementById("stripBaseHref").value,
|
||||
stripSelfNamedAnchors: document.getElementById("stripSelfNamedAnchors").value,
|
||||
only7BitPrintablesInURLs: document.getElementById("only7BitPrintablesInURLs").value,
|
||||
sevenBitClean: document.getElementById("sevenBitClean").value,
|
||||
killWordOnPaste: document.getElementById("killWordOnPaste").value,
|
||||
flowToolbars: document.getElementById("flowToolbars").value,
|
||||
CharacterMapMode: document.getElementById("CharacterMapMode").value,
|
||||
ListTypeMode: document.getElementById("ListTypeMode").value
|
||||
};
|
||||
Dialog("Extended.html", function(param) {
|
||||
Dialog("Extended.html", function(param) {
|
||||
if(param) {
|
||||
document.getElementById("width").value = param["width"];
|
||||
document.getElementById("height").value = param["height"];
|
||||
document.getElementById("sizeIncludesBars").value = param["sizeIncludesBars"];
|
||||
document.getElementById("statusBar").value = param["statusBar"];
|
||||
document.getElementById("mozParaHandler").value = param["mozParaHandler"];
|
||||
document.getElementById("undoSteps").value = param["undoSteps"];
|
||||
document.getElementById("baseHref").value = param["baseHref"];
|
||||
document.getElementById("stripBaseHref").value = param["stripBaseHref"];
|
||||
document.getElementById("stripSelfNamedAnchors").value = param["stripSelfNamedAnchors"];
|
||||
document.getElementById("only7BitPrintablesInURLs").value = param["only7BitPrintablesInURLs"];
|
||||
document.getElementById("sevenBitClean").value = param["sevenBitClean"];
|
||||
document.getElementById("killWordOnPaste").value = param["killWordOnPaste"];
|
||||
document.getElementById("flowToolbars").value = param["flowToolbars"];
|
||||
document.getElementById("CharacterMapMode").value = param["CharacterMapMode"];
|
||||
document.getElementById("ListTypeMode").value = param["ListTypeMode"];
|
||||
}
|
||||
}, outparam );
|
||||
settings.width = param["width"];
|
||||
settings.height = param["height"];
|
||||
settings.sizeIncludesBars = (param["sizeIncludesBars"]=="true");
|
||||
settings.statusBar = (param["statusBar"]=="true");
|
||||
settings.mozParaHandler = param["mozParaHandler"];
|
||||
settings.undoSteps = param["undoSteps"];
|
||||
settings.baseHref = param["baseHref"];
|
||||
settings.stripBaseHref = (param["stripBaseHref"]=="true");
|
||||
settings.stripSelfNamedAnchors = (param["stripSelfNamedAnchors"]=="true");
|
||||
settings.only7BitPrintablesInURLs = (param["only7BitPrintablesInURLs"]=="true");
|
||||
settings.sevenBitClean = (param["sevenBitClean"]=="true");
|
||||
settings.killWordOnPaste = (param["killWordOnPaste"]=="true");
|
||||
settings.flowToolbars = (param["flowToolbars"]=="true");
|
||||
settings.CharacterMapMode = param["CharacterMapMode"];
|
||||
settings.ListTypeMode = param["ListTypeMode"];
|
||||
settings.showLoading = (param["showLoading"]=="true");
|
||||
settings.showChar = (param["showChar"]=="true");
|
||||
settings.showWord = (param["showWord"]=="true");
|
||||
settings.showHtml = (param["showHtml"]=="true");
|
||||
}
|
||||
}, settings );
|
||||
}
|
||||
|
||||
function init(){
|
||||
@@ -197,17 +208,17 @@ Dialog._geckoOpenModal = function(url, action, init) {
|
||||
document.getElementById(co_values[0]).value = co_values[1];
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
_onResize();
|
||||
};
|
||||
|
||||
|
||||
window.onresize = _onResize;
|
||||
window.onload = init;
|
||||
</script>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<form action="ext_example-body.html" target="body">
|
||||
<form action="ext_example-body.html" target="body" name="fsettings" id="fsettings">
|
||||
<h1>Xinha Example</h1>
|
||||
<fieldset>
|
||||
<legend>Settings</legend>
|
||||
@@ -223,6 +234,7 @@ Dialog._geckoOpenModal = function(url, action, init) {
|
||||
<option value="it">Italian</option>
|
||||
<option value="no">Norwegian</option>
|
||||
<option value="pl">Polish</option>
|
||||
<option value="ja">Japanese</option>
|
||||
</select>
|
||||
</label>
|
||||
<label>
|
||||
@@ -233,28 +245,13 @@ Dialog._geckoOpenModal = function(url, action, init) {
|
||||
$d = @dir($LocalSkinPath);
|
||||
while (false !== ($entry = $d->read())) //not a dot file or directory
|
||||
{ if(substr($entry,0,1) != '.')
|
||||
{ echo '<option value="' . $entry . '"> ' . $entry . '</option>';
|
||||
{ echo '<option value="' . $entry . '"> ' . $entry . '</option>'."\n";
|
||||
}
|
||||
}
|
||||
$d->close();
|
||||
?>
|
||||
</select>
|
||||
</label>
|
||||
<input type="hidden" id="width" name="width" value="auto" />
|
||||
<input type="hidden" id="height" name="height" value="auto" />
|
||||
<input type="hidden" id="sizeIncludesBars" name="sizeIncludeBars" value="true" />
|
||||
<input type="hidden" id="statusBar" name="statusBar" value="true" />
|
||||
<input type="hidden" id="mozParaHandler" name="mozParaHandler" value="best" />
|
||||
<input type="hidden" id="undoSteps" name="undoSteps" value="20" />
|
||||
<input type="hidden" id="baseHref" name="baseHref" value="null" />
|
||||
<input type="hidden" id="stripBaseHref" name="stripBaseHref" value="true" />
|
||||
<input type="hidden" id="stripSelfNamedAnchors" name="stripSelfNamedAnchors" value="true" />
|
||||
<input type="hidden" id="only7BitPrintablesInURLs" name="only7BitPrintablesInURLs" value="true" />
|
||||
<input type="hidden" id="sevenBitClean" name="sevenBitClean" value="false" />
|
||||
<input type="hidden" id="killWordOnPaste" name="killWordOnPaste" value="true" />
|
||||
<input type="hidden" id="flowToolbars" name="flowToolbars" value="true" />
|
||||
<input type="hidden" id="CharacterMapMode" name="CharacterMapMode" value="popup" />
|
||||
<input type="hidden" id="ListTypeMode" name="ListTypeMode" value="toolbar" />
|
||||
<center><input type="button" value="extended Settings" onClick="fExtended();" /></center>
|
||||
|
||||
</fieldset>
|
||||
@@ -263,17 +260,25 @@ Dialog._geckoOpenModal = function(url, action, init) {
|
||||
<div id="div_plugins" style="width:100%; overflow:auto">
|
||||
<?php
|
||||
$d = @dir($LocalPluginPath);
|
||||
$dir_array = array();
|
||||
while (false !== ($entry = $d->read())) //not a dot file or directory
|
||||
{ if(substr($entry,0,1) != '.')
|
||||
{ echo '<label><input type="checkbox" name="plugins" value="' . $entry . '"> ' . $entry . '</label>';
|
||||
{
|
||||
$dir_array[] = $entry;
|
||||
}
|
||||
}
|
||||
$d->close();
|
||||
sort($dir_array);
|
||||
foreach ($dir_array as $entry)
|
||||
{
|
||||
echo '<label><input type="checkbox" name="plugins" id="plugins" value="' . $entry . '"> ' . $entry . '</label>'."\n";
|
||||
}
|
||||
|
||||
?>
|
||||
</div>
|
||||
</fieldset>
|
||||
<center><button type="submit">reload editor</button></center>
|
||||
|
||||
|
||||
<textarea id="myTextarea0" style="display:none">
|
||||
<p>Lorem ipsum dolor sit amet, consectetuer adipiscing elit.
|
||||
Aliquam et tellus vitae justo varius placerat. Suspendisse iaculis
|
||||
@@ -292,7 +297,7 @@ Dialog._geckoOpenModal = function(url, action, init) {
|
||||
<li> Nunc sit amet metus in tortor semper mattis. </li>
|
||||
</ul>
|
||||
</textarea>
|
||||
|
||||
|
||||
</form>
|
||||
<script type="text/javascript">
|
||||
top.frames["body"].location.href = document.location.href.replace(/ext_example-menu\.php.*/, 'ext_example-body.html')
|
||||
@@ -308,7 +313,7 @@ Dialog._geckoOpenModal = function(url, action, init) {
|
||||
'num=' + document.getElementById('num').value + '###';
|
||||
var s_value='';
|
||||
for(var x = 0; x < document.forms[0].plugins.length; x++) {
|
||||
if(document.forms[0].plugins[x].checked)
|
||||
if(document.forms[0].plugins[x].checked)
|
||||
s_value += document.forms[0].plugins[x].value + '/';
|
||||
}
|
||||
if(s_value!='') {
|
||||
|
||||
@@ -3,14 +3,14 @@
|
||||
<!--------------------------------------:noTabs=true:tabSize=2:indentSize=2:--
|
||||
-- Xinha example frameset.
|
||||
--
|
||||
-- $HeadURL: http://svn.xinha.python-hosting.com/trunk/examples/full_example.html $
|
||||
-- $LastChangedDate: 2005-06-02 11:14:41 +0200 (Thu, 02 Jun 2005) $
|
||||
-- $LastChangedRevision: 212 $
|
||||
-- $LastChangedBy: gocher $
|
||||
-- $HeadURL: http://svn.xinha.python-hosting.com/trunk/examples/ext_example.html $
|
||||
-- $LastChangedDate: 2007-01-19 23:24:36 +0100 (Fr, 19 Jan 2007) $
|
||||
-- $LastChangedRevision: 677 $
|
||||
-- $LastChangedBy: ray $
|
||||
--------------------------------------------------------------------------->
|
||||
|
||||
<frameset cols="240,*">
|
||||
<frame src="ext_example-menu.php" name="menu">
|
||||
<frame src="about:blank" name="body">
|
||||
<frame src="ext_example-menu.php" name="menu" id="menu">
|
||||
<frame src="about:blank" name="body" id="body">
|
||||
</frameset>
|
||||
</html>
|
||||
|
||||
@@ -1,185 +0,0 @@
|
||||
<!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-27 10:43:19 -0400 (Wed, 27 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>
|
||||
@@ -1,213 +0,0 @@
|
||||
<!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>
|
||||
<option value="no">Norwegian</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>
|
||||
<option value="titan">titan</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="BackgroundImage"> BackgroundImage
|
||||
</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="ClientsideSpellcheck" checked="checked"> ClientsideSpellcheck
|
||||
</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="EnterParagraphs"> EnterParagraphs
|
||||
</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="GetHtml" checked="checked"> GetHtml
|
||||
</label>
|
||||
<label>
|
||||
<input type="checkbox" name="plugins" value="HorizontalRule"> HorizontalRule
|
||||
</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="InsertPagebreak"> InsertPagebreak
|
||||
</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="PasteText" checked="checked"> PasteText
|
||||
</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="UnFormat"> UnFormat
|
||||
</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="InsertPicture"> InsertPicture
|
||||
</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>
|
||||
@@ -2,9 +2,9 @@
|
||||
-- Xinha example CSS file. This is ripped from Trac ;)
|
||||
--
|
||||
-- $HeadURL: http://svn.xinha.python-hosting.com/trunk/examples/full_example.css $
|
||||
-- $LastChangedDate: 2005-02-18 23:10:03 -0500 (Fri, 18 Feb 2005) $
|
||||
-- $LastChangedRevision: 14 $
|
||||
-- $LastChangedBy: gogo $
|
||||
-- $LastChangedDate: 2007-01-19 23:24:36 +0100 (Fr, 19 Jan 2007) $
|
||||
-- $LastChangedRevision: 677 $
|
||||
-- $LastChangedBy: ray $
|
||||
--------------------------------------------------------------------------*/
|
||||
|
||||
body {
|
||||
@@ -44,4 +44,5 @@
|
||||
.area_holder
|
||||
{
|
||||
margin:10px;
|
||||
}
|
||||
}
|
||||
label {font-size: 11px;}
|
||||
@@ -1,16 +0,0 @@
|
||||
<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-07 09:12:14 -0400 (Wed, 07 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>
|
||||
@@ -1,155 +1,97 @@
|
||||
|
||||
/*--------------------------------------: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-10-29 12:28:08 -0400 (Sat, 29 Oct 2005) $
|
||||
-- $LastChangedRevision: 416 $
|
||||
-- $LastChangedBy: gogo $
|
||||
--------------------------------------------------------------------------*/
|
||||
|
||||
var num = 1;
|
||||
if(window.parent && window.parent != window)
|
||||
{
|
||||
var f = window.parent.menu.document.forms[0];
|
||||
_editor_lang = f.lang[f.lang.selectedIndex].value;
|
||||
_editor_skin = f.skin[f.skin.selectedIndex].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;
|
||||
}
|
||||
}
|
||||
|
||||
if(typeof Filter != 'undefined') {
|
||||
xinha_config.Filters = ["Word", "Paragraph"]
|
||||
}
|
||||
|
||||
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;
|
||||
var num=1;
|
||||
if(window.parent&&window.parent!=window){
|
||||
var f=window.parent.menu.document.forms[0];
|
||||
_editor_lang=f.lang[f.lang.selectedIndex].value;
|
||||
_editor_skin=f.skin[f.skin.selectedIndex].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 _1=new HTMLArea.Config();
|
||||
if(typeof CSS!="undefined"){
|
||||
_1.pageStyle="@import url(custom.css);";
|
||||
}
|
||||
if(typeof Stylist!="undefined"){
|
||||
_1.stylistLoadStylesheet(document.location.href.replace(/[^\/]*\.html/,"stylist.css"));
|
||||
_1.stylistLoadStyles("p.red_text { color:red }");
|
||||
_1.stylistLoadStyles("p.pink_text { color:pink }",{"p.pink_text":"Pretty Pink"});
|
||||
}
|
||||
if(typeof DynamicCSS!="undefined"){
|
||||
_1.pageStyle="@import url(dynamic.css);";
|
||||
}
|
||||
if(typeof InsertWords!="undefined"){
|
||||
var _2=new Object();
|
||||
var _3=new Object();
|
||||
_2["-- Dropdown Label --"]="";
|
||||
_2["onekey"]="onevalue";
|
||||
_2["twokey"]="twovalue";
|
||||
_2["threekey"]="threevalue";
|
||||
_3["-- Insert Keyword --"]="";
|
||||
_3["Username"]="%user%";
|
||||
_3["Last login date"]="%last_login%";
|
||||
_1.InsertWords={combos:[{options:_2,context:"body"},{options:_3,context:"li"}]};
|
||||
}
|
||||
if(typeof ListType!="undefined"){
|
||||
if(window.parent&&window.parent!=window){
|
||||
var f=window.parent.menu.document.forms[0];
|
||||
_1.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];
|
||||
_1.CharacterMap.mode=f.elements["CharacterMapMode"].options[f.elements["CharacterMapMode"].selectedIndex].value;
|
||||
}
|
||||
}
|
||||
if(typeof Filter!="undefined"){
|
||||
xinha_config.Filters=["Word","Paragraph"];
|
||||
}
|
||||
return _1;
|
||||
};
|
||||
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);
|
||||
}
|
||||
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;
|
||||
|
||||
|
||||
138
xinha/examples/simple_example.html
Normal file
@@ -0,0 +1,138 @@
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||||
<title>Simple example of Xinha</title>
|
||||
<script type="text/javascript">
|
||||
/************************************************************************
|
||||
* Please refer to http://xinha.python-hosting.com/wiki/NewbieGuide
|
||||
************************************************************************
|
||||
* 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.
|
||||
************************************************************************/
|
||||
var _editor_url = document.location.href.replace(/examples\/simple_example\.html.*/, '')
|
||||
// And the language we need to use in the editor.
|
||||
var _editor_lang = "en";
|
||||
</script>
|
||||
<!-- Load up the actual editor core -->
|
||||
<script type="text/javascript" src="../XinhaCore.js"></script>
|
||||
<script type="text/javascript">
|
||||
/************************************************************************
|
||||
* 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.
|
||||
************************************************************************
|
||||
* Please refer to http://xinha.python-hosting.com/wiki/Plugins for the
|
||||
* list of availables plugins
|
||||
************************************************************************/
|
||||
var xinha_plugins =
|
||||
[
|
||||
'CharacterMap',
|
||||
'ContextMenu',
|
||||
'FullScreen',
|
||||
'ListType',
|
||||
'SpellChecker',
|
||||
'Stylist',
|
||||
'SuperClean',
|
||||
'TableOperations'
|
||||
];
|
||||
/************************************************************************
|
||||
* Names of the textareas you will be turning into editors
|
||||
************************************************************************/
|
||||
var xinha_editors =
|
||||
[
|
||||
'myTextArea',
|
||||
'anotherOne'
|
||||
];
|
||||
/************************************************************************
|
||||
* Initialisation function
|
||||
************************************************************************/
|
||||
function xinha_init()
|
||||
{
|
||||
// THIS BIT OF JAVASCRIPT LOADS THE PLUGINS, NO TOUCHING :)
|
||||
if(!Xinha.loadPlugins(xinha_plugins, xinha_init)) return;
|
||||
/*************************************************************************
|
||||
* 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 later after editors are initiated.
|
||||
************************************************************************
|
||||
* Please refer to http://xinha.python-hosting.com/wiki/Documentation/Customise
|
||||
* for the configuration parameters
|
||||
************************************************************************/
|
||||
var xinha_config = new Xinha.Config();
|
||||
/************************************************************************
|
||||
* We first create editors for the textareas.
|
||||
* You can do this in two ways, either
|
||||
*
|
||||
* xinha_editors = Xinha.makeEditors(xinha_editors, xinha_config, xinha_plugins);
|
||||
*
|
||||
* if you want all the editor objects to use the same set of plugins, OR;
|
||||
*
|
||||
* xinha_editors = Xinha.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 = Xinha.makeEditors(xinha_editors, xinha_config, xinha_plugins);
|
||||
/************************************************************************
|
||||
* 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';
|
||||
/************************************************************************
|
||||
* Or remove the statusbar on the other one, like this...
|
||||
* For every possible configuration, please refer to
|
||||
* http://xinha.python-hosting.com/wiki/Documentation/ConfigVariablesList
|
||||
************************************************************************/
|
||||
xinha_editors.anotherOne.config.statusBar = false;
|
||||
/************************************************************************
|
||||
* Finally we "start" the editors, this turns the textareas into
|
||||
* Xinha editors.
|
||||
************************************************************************/
|
||||
Xinha.startEditors(xinha_editors);
|
||||
}
|
||||
window.onload = xinha_init;
|
||||
</script>
|
||||
<link type="text/css" rel="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 onsubmit="alert(this.myTextArea.value); alert(this.anotherOne.value); return false;">
|
||||
<textarea id="myTextArea" name="myTextArea" rows="10" cols="80" style="width:100%">
|
||||
<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>
|
||||
</textarea>
|
||||
<textarea id="anotherOne" name="anotherOne" rows="10" cols="80" style="width:100%">
|
||||
<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">
|
||||
</form>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
@@ -3,9 +3,9 @@
|
||||
-- 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 02:23:58 -0400 (Tue, 19 Jul 2005) $
|
||||
-- $LastChangedRevision: 277 $
|
||||
-- $LastChangedBy: gogo $
|
||||
-- $LastChangedDate: 2007-01-19 23:24:36 +0100 (Fr, 19 Jan 2007) $
|
||||
-- $LastChangedRevision: 677 $
|
||||
-- $LastChangedBy: ray $
|
||||
--------------------------------------------------------------------------*/
|
||||
|
||||
.bluetext
|
||||
|
||||
@@ -13,10 +13,10 @@
|
||||
-- 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 $
|
||||
-- $HeadURL: http://svn.xinha.python-hosting.com/trunk/examples/testbed.html $
|
||||
-- $LastChangedDate: 2007-01-19 23:24:36 +0100 (Fr, 19 Jan 2007) $
|
||||
-- $LastChangedRevision: 677 $
|
||||
-- $LastChangedBy: ray $
|
||||
--------------------------------------------------------------------------->
|
||||
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||
@@ -54,10 +54,10 @@
|
||||
|
||||
xinha_plugins = xinha_plugins ? xinha_plugins :
|
||||
[
|
||||
|
||||
'CharacterMap', 'SpellChecker', 'Linker'
|
||||
];
|
||||
// THIS BIT OF JAVASCRIPT LOADS THE PLUGINS, NO TOUCHING :)
|
||||
if(!HTMLArea.loadPlugins(xinha_plugins, xinha_init)) return;
|
||||
if(!Xinha.loadPlugins(xinha_plugins, xinha_init)) return;
|
||||
|
||||
/** STEP 2 ***************************************************************
|
||||
* Now, what are the names of the textareas you will be turning into
|
||||
@@ -76,13 +76,15 @@
|
||||
*
|
||||
* If you want to modify the default config you might do something like this.
|
||||
*
|
||||
* xinha_config = new HTMLArea.Config();
|
||||
* xinha_config = new Xinha.Config();
|
||||
* xinha_config.width = 640;
|
||||
* xinha_config.height = 420;
|
||||
*
|
||||
*************************************************************************/
|
||||
|
||||
xinha_config = xinha_config ? xinha_config : new HTMLArea.Config();
|
||||
xinha_config = xinha_config ? xinha_config : new Xinha.Config();
|
||||
xinha_config.fullPage = true;
|
||||
xinha_config.CharacterMap.mode = 'panel';
|
||||
/*
|
||||
// We can load an external stylesheet like this - NOTE : YOU MUST GIVE AN ABSOLUTE URL
|
||||
// otherwise it won't work!
|
||||
@@ -100,11 +102,11 @@
|
||||
*
|
||||
* You can do this in two ways, either
|
||||
*
|
||||
* xinha_editors = HTMLArea.makeEditors(xinha_editors, xinha_config, xinha_plugins);
|
||||
* xinha_editors = Xinha.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 = Xinha.makeEditors(xinha_editors, xinha_config);
|
||||
* xinha_editors['myTextArea'].registerPlugins(['Stylist','FullScreen']);
|
||||
* xinha_editors['anotherOne'].registerPlugins(['CSS','SuperClean']);
|
||||
*
|
||||
@@ -112,7 +114,7 @@
|
||||
* editors.
|
||||
************************************************************************/
|
||||
|
||||
xinha_editors = HTMLArea.makeEditors(xinha_editors, xinha_config, xinha_plugins);
|
||||
xinha_editors = Xinha.makeEditors(xinha_editors, xinha_config, xinha_plugins);
|
||||
|
||||
/** STEP 4 ***************************************************************
|
||||
* If you want to change the configuration variables of any of the
|
||||
@@ -130,12 +132,12 @@
|
||||
* Xinha editors.
|
||||
************************************************************************/
|
||||
|
||||
HTMLArea.startEditors(xinha_editors);
|
||||
Xinha.startEditors(xinha_editors);
|
||||
window.onload = null;
|
||||
}
|
||||
|
||||
window.onload = xinha_init;
|
||||
// window.onunload = HTMLArea.collectGarbageForIE;
|
||||
// window.onunload = Xinha.collectGarbageForIE;
|
||||
</script>
|
||||
</head>
|
||||
|
||||
@@ -143,6 +145,19 @@
|
||||
|
||||
<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;">
|
||||
<html>
|
||||
<head>
|
||||
<title>Hello</title>
|
||||
<style type="text/css">
|
||||
li { color:red; }
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<img src="http://xinha.python-hosting.com/trac/logo.jpg" usemap="#m1">
|
||||
<map name="m1">
|
||||
<area shape="rect" coords="137,101,255,124" href="http://www.mydomain.com">
|
||||
</map>
|
||||
|
||||
<p>
|
||||
Lorem ipsum dolor sit amet, consectetuer adipiscing elit.
|
||||
Aliquam et tellus vitae justo varius placerat. Suspendisse iaculis
|
||||
@@ -161,6 +176,8 @@
|
||||
<li> Quisque sed augue quis nunc laoreet volutpat.</li>
|
||||
<li> Nunc sit amet metus in tortor semper mattis. </li>
|
||||
</ul>
|
||||
</body>
|
||||
</html>
|
||||
</textarea>
|
||||
|
||||
<input type="submit" /> <input type="reset" />
|
||||
|
||||
5610
xinha/htmlarea.js
|
Before Width: | Height: | Size: 69 B After Width: | Height: | Size: 57 B |
|
Before Width: | Height: | Size: 71 B After Width: | Height: | Size: 63 B |
|
Before Width: | Height: | Size: 82 B After Width: | Height: | Size: 69 B |
|
Before Width: | Height: | Size: 87 B After Width: | Height: | Size: 76 B |
|
Before Width: | Height: | Size: 3.4 KiB After Width: | Height: | Size: 3.3 KiB |
|
Before Width: | Height: | Size: 69 B After Width: | Height: | Size: 61 B |
|
Before Width: | Height: | Size: 69 B After Width: | Height: | Size: 60 B |
|
Before Width: | Height: | Size: 69 B After Width: | Height: | Size: 60 B |
|
Before Width: | Height: | Size: 68 B After Width: | Height: | Size: 61 B |
|
Before Width: | Height: | Size: 6.5 KiB After Width: | Height: | Size: 6.5 KiB |
|
Before Width: | Height: | Size: 143 B After Width: | Height: | Size: 134 B |
|
Before Width: | Height: | Size: 149 B After Width: | Height: | Size: 134 B |
|
Before Width: | Height: | Size: 181 B After Width: | Height: | Size: 172 B |
|
Before Width: | Height: | Size: 171 B After Width: | Height: | Size: 164 B |
|
Before Width: | Height: | Size: 110 B After Width: | Height: | Size: 97 B |
|
Before Width: | Height: | Size: 67 B After Width: | Height: | Size: 50 B |
|
Before Width: | Height: | Size: 91 B After Width: | Height: | Size: 78 B |
|
Before Width: | Height: | Size: 90 B After Width: | Height: | Size: 80 B |
|
Before Width: | Height: | Size: 74 B After Width: | Height: | Size: 57 B |
|
Before Width: | Height: | Size: 77 B After Width: | Height: | Size: 67 B |
|
Before Width: | Height: | Size: 78 B After Width: | Height: | Size: 66 B |
|
Before Width: | Height: | Size: 78 B After Width: | Height: | Size: 67 B |
|
Before Width: | Height: | Size: 77 B After Width: | Height: | Size: 67 B |
|
Before Width: | Height: | Size: 85 B After Width: | Height: | Size: 69 B |
|
Before Width: | Height: | Size: 70 B After Width: | Height: | Size: 55 B |
|
Before Width: | Height: | Size: 70 B After Width: | Height: | Size: 53 B |
|
Before Width: | Height: | Size: 75 B After Width: | Height: | Size: 64 B |
|
Before Width: | Height: | Size: 148 B After Width: | Height: | Size: 125 B |
|
Before Width: | Height: | Size: 87 B After Width: | Height: | Size: 84 B |
|
Before Width: | Height: | Size: 87 B After Width: | Height: | Size: 84 B |
|
Before Width: | Height: | Size: 154 B After Width: | Height: | Size: 151 B |
|
Before Width: | Height: | Size: 89 B After Width: | Height: | Size: 72 B |
|
Before Width: | Height: | Size: 97 B After Width: | Height: | Size: 78 B |
|
Before Width: | Height: | Size: 80 B After Width: | Height: | Size: 72 B |
|
Before Width: | Height: | Size: 82 B After Width: | Height: | Size: 76 B |
|
Before Width: | Height: | Size: 888 B After Width: | Height: | Size: 100 B |
|
Before Width: | Height: | Size: 139 B After Width: | Height: | Size: 126 B |
|
Before Width: | Height: | Size: 128 B After Width: | Height: | Size: 117 B |
|
Before Width: | Height: | Size: 80 B After Width: | Height: | Size: 67 B |
|
Before Width: | Height: | Size: 88 B After Width: | Height: | Size: 75 B |
|
Before Width: | Height: | Size: 118 B After Width: | Height: | Size: 105 B |
|
Before Width: | Height: | Size: 143 B After Width: | Height: | Size: 128 B |
|
Before Width: | Height: | Size: 905 B After Width: | Height: | Size: 104 B |
|
Before Width: | Height: | Size: 941 B After Width: | Height: | Size: 150 B |
|
Before Width: | Height: | Size: 104 B After Width: | Height: | Size: 88 B |
|
Before Width: | Height: | Size: 886 B After Width: | Height: | Size: 82 B |
|
Before Width: | Height: | Size: 143 B After Width: | Height: | Size: 111 B |
|
Before Width: | Height: | Size: 81 B After Width: | Height: | Size: 67 B |
|
Before Width: | Height: | Size: 660 B After Width: | Height: | Size: 652 B |
BIN
xinha/images/fr/bold.gif
Normal file
|
After Width: | Height: | Size: 128 B |
BIN
xinha/images/fr/strikethrough.gif
Normal file
|
After Width: | Height: | Size: 131 B |
BIN
xinha/images/fr/underline.gif
Normal file
|
After Width: | Height: | Size: 134 B |
|
Before Width: | Height: | Size: 97 B After Width: | Height: | Size: 87 B |
|
Before Width: | Height: | Size: 97 B After Width: | Height: | Size: 87 B |
|
Before Width: | Height: | Size: 121 B After Width: | Height: | Size: 104 B |
|
Before Width: | Height: | Size: 158 B After Width: | Height: | Size: 148 B |
|
Before Width: | Height: | Size: 988 B After Width: | Height: | Size: 375 B |
|
Before Width: | Height: | Size: 129 B After Width: | Height: | Size: 73 B |
BIN
xinha/images/xinha_logo.gif
Normal file
|
After Width: | Height: | Size: 2.9 KiB |
@@ -1,327 +0,0 @@
|
||||
|
||||
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);
|
||||
};
|
||||
@@ -1,29 +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": "字體例子"
|
||||
}
|
||||
// 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": "字體例子"
|
||||
}
|
||||
|
||||
112
xinha/lang/ch.js
@@ -1,56 +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": "你必須輸入你要连结的網址"
|
||||
}
|
||||
// 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": "你必須輸入你要连结的網址"
|
||||
}
|
||||
|
||||
100
xinha/lang/cz.js
@@ -1,50 +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."
|
||||
}
|
||||
// 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."
|
||||
}
|
||||
|
||||
@@ -1,30 +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"
|
||||
}
|
||||
// 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"
|
||||
}
|
||||
|
||||
315
xinha/lang/de.js
@@ -1,148 +1,169 @@
|
||||
// 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",
|
||||
"Would you like to clear font typefaces?": "Wollen Sie Zeichensatztypen entfernen",
|
||||
"Would you like to clear font sizes?": "Wollen Sie Zeichensatzgrößen entfernen",
|
||||
"Would you like to clear font colours?": "Wollen sie Zeichensatzfarben 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",
|
||||
|
||||
// Editor Help
|
||||
"Keyboard shortcuts": "Tastaturkürzel",
|
||||
"The editor provides the following key combinations:": "Der Editor unterstützt die folgenden kombinationen:",
|
||||
"new paragraph": "Neuer Absatz(Paragraph)",
|
||||
"insert linebreak": "Harter Umbruch einfügen",
|
||||
"Set format to paragraph": "Setze Formatierung auf Absatz",
|
||||
"Clean content pasted from Word": "Von Word eingefügter Text bereinigen",
|
||||
"Headings": "Überschrift Typ 1 bis 6",
|
||||
"Close": "Schließen"
|
||||
// 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",
|
||||
"Would you like to clear font typefaces?": "Wollen Sie Zeichensatztypen entfernen",
|
||||
"Would you like to clear font sizes?": "Wollen Sie Zeichensatzgrößen entfernen",
|
||||
"Would you like to clear font colours?": "Wollen sie Zeichensatzfarben 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. Benutzen Sie bitte die entsprechenden Tastatur-Kommandos (Strg + x/c/v).",
|
||||
|
||||
"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": "Tabelle 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",
|
||||
|
||||
// Editor Help
|
||||
"Keyboard shortcuts": "Tastaturkürzel",
|
||||
"The editor provides the following key combinations:": "Der Editor unterstützt die folgenden kombinationen:",
|
||||
"new paragraph": "Neuer Absatz(Paragraph)",
|
||||
"insert linebreak": "Harter Umbruch einfügen",
|
||||
"Set format to paragraph": "Setze Formatierung auf Absatz",
|
||||
"Clean content pasted from Word": "Von Word eingefügter Text bereinigen",
|
||||
"Headings": "Überschrift Typ 1 bis 6",
|
||||
"Close": "Schließen",
|
||||
|
||||
// Loading messages
|
||||
"Loading in progress. Please wait!": "Editor wird geladen. Bitte warten !",
|
||||
"Loading plugin $plugin" : "Plugin $plugin wird geladen",
|
||||
"Register plugin $plugin" : "Plugin $plugin wird registriert",
|
||||
"Constructing object": "Objekt wird generiert",
|
||||
"Generate Xinha framework": "Xinha Framework wird generiert",
|
||||
"Init editor size":"Größe wird berechnet",
|
||||
"Create Toolbar": "Werkzeugleiste wird generiert",
|
||||
"Create Statusbar" : "Statusleiste wird generiert",
|
||||
"Register right panel" : "Rechtes Panel wird generiert",
|
||||
"Register left panel" : "Linkes Panel wird generiert",
|
||||
"Register bottom panel" : "Unteres Panel wird generiert",
|
||||
"Register top panel" : "Oberes Panel wird generiert",
|
||||
"Finishing" : "Laden wird abgeschlossen",
|
||||
|
||||
// ColorPicker
|
||||
"Click a color..." : "Farbe wählen",
|
||||
"Sample" : "Beispiel",
|
||||
"Web Safe: " : "Web Safe: ",
|
||||
"Color: " : "Farbe: "
|
||||
};
|
||||
100
xinha/lang/ee.js
@@ -1,50 +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."
|
||||
}
|
||||
// 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."
|
||||
}
|
||||
|
||||
110
xinha/lang/el.js
@@ -1,55 +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 ΟΞΏΟ
οδηγΡί Ξ±Ο
ΟΟΟ ΞΏ ΟΟνδΡΟΞΌΞΏΟ"
|
||||
}
|
||||
// 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 ΟΞΏΟ
οδηγΡί Ξ±Ο
ΟΟΟ ΞΏ ΟΟνδΡΟΞΌΞΏΟ"
|
||||
}
|
||||
|
||||
@@ -1,40 +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"
|
||||
}
|
||||
// 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"
|
||||
}
|
||||
|
||||
169
xinha/lang/eu.js
Normal file
@@ -0,0 +1,169 @@
|
||||
// I18N constants
|
||||
// LANG: "eu", ENCODING: UTF-8
|
||||
{
|
||||
"Bold": "Lodia",
|
||||
"Italic": "Etzana",
|
||||
"Underline": "Azpimarratua",
|
||||
"Strikethrough": "Marratua",
|
||||
"Subscript": "Azpindizea",
|
||||
"Superscript": "Goi-indizea",
|
||||
"Justify Left": "Ezkerretara lerrokatu",
|
||||
"Justify Center": "Zentratu",
|
||||
"Justify Right": "Eskuinetara lerrokatu",
|
||||
"Justify Full": "Justifikatu",
|
||||
"Ordered List": "Zerrenda ordenatua",
|
||||
"Bulleted List": "Zerrenda ez ordenatua",
|
||||
"Decrease Indent": "Koska handitu",
|
||||
"Increase Indent": "Koska txikitu",
|
||||
"Font Color": "Testu-kolorea",
|
||||
"Background Color": "Atzeko kolorea",
|
||||
"Horizontal Rule": "Marra horizontala",
|
||||
"Insert Web Link": "Lotura txertatu",
|
||||
"Insert/Modify Image": "Irudia txertatu",
|
||||
"Insert Table": "Taula txertatu",
|
||||
"Toggle HTML Source": "Ikusi dokumentua HTML-n",
|
||||
"Enlarge Editor": "Editorea handitu",
|
||||
"About this editor": "Editoreari buruz...",
|
||||
"Help using editor": "Laguntza",
|
||||
"Current style": "Uneko estiloa",
|
||||
"Undoes your last action": "Desegin",
|
||||
"Redoes your last action": "Berregin",
|
||||
"Cut selection": "Ebaki hautaketa",
|
||||
"Copy selection": "Kopiatu hautaketa",
|
||||
"Paste from clipboard": "Itsatsi arbelean dagoena",
|
||||
"Direction left to right": "Ezkerretik eskuinetarako norabidea",
|
||||
"Direction right to left": "Eskuinetik ezkerretarako norabidea",
|
||||
"Remove formatting": "Formatoa kendu",
|
||||
"Select all": "Dena aukeratu",
|
||||
"Print document": "Dokumentua inprimatu",
|
||||
"Clear MSOffice tags": "MSOffice etiketak ezabatu",
|
||||
"Clear Inline Font Specifications": "Ezabatu testuaren ezaugarriak",
|
||||
"Would you like to clear font typefaces?": "Letra-tipoak ezabatu nahi al dituzu?",
|
||||
"Would you like to clear font sizes?": "Letra-tipoen neurriak ezabatu nahi al dituzu?",
|
||||
"Would you like to clear font colours?": "Letra-tipoen koloreak ezabatu nahi al dituzu?",
|
||||
"Split Block": "Blokea zatitu",
|
||||
"Toggle Borders": "Ertzak trukatu",
|
||||
"Save as": "Gorde honela:",
|
||||
"Insert/Overwrite": "Txertatu/Gainidatzi",
|
||||
"— format —": "— Formatua —",
|
||||
"Heading 1": "Goiburua 1",
|
||||
"Heading 2": "Goiburua 2",
|
||||
"Heading 3": "Goiburua 3",
|
||||
"Heading 4": "Goiburua 4",
|
||||
"Heading 5": "Goiburua 5",
|
||||
"Heading 6": "Goiburua 6",
|
||||
"Normal": "Normala",
|
||||
"Address": "Helbidea",
|
||||
"Formatted": "Formateatua",
|
||||
|
||||
//dialogs
|
||||
"OK": "Ados",
|
||||
"Cancel": "Utzi",
|
||||
"Path": "Bidea",
|
||||
"You are in TEXT MODE. Use the [<>] button to switch back to WYSIWYG.": "TESTU eran ari zara. Erabil ezazu [<>] botoia WYSIWIG erara itzultzeko.",
|
||||
"The Paste button does not work in Mozilla based web browsers (technical security reasons). Press CTRL-V on your keyboard to paste directly.": "Itsatsi botoia ez dabil Mozillan oinarritutako nabigatzaileetan (arrazoi teknikoengatik). Sacatu CTRL-V zure teklatuan, zuzenean itsasteko.",
|
||||
|
||||
"You need to select some text before create a link": "Testu-atal bat aukeratu behar duzu lehendabizi, lotura bat sortzeko",
|
||||
"Your Document is not well formed. Check JavaScript console for details.": "Zure dokumentuak ez du formatu zuzena. Begira ezazu JavaScript kontsola xehetasunetarako.",
|
||||
|
||||
"Alignment:": "Lerrokatzea:",
|
||||
"Not set": "Ez gaitua",
|
||||
"Left": "Ezkerretara",
|
||||
"Right": "Eskuinetara",
|
||||
"Texttop": "Irudiaren goialdean",
|
||||
"Absmiddle": "Irudiaren erdian",
|
||||
"Baseline": "Irudiaren oinean",
|
||||
"Absbottom": "Irudiaren behekaldean",
|
||||
"Bottom": "Behean",
|
||||
"Middle": "Erdian",
|
||||
"Top": "Goian",
|
||||
|
||||
"Layout": "Diseinua",
|
||||
"Spacing": "Tartea",
|
||||
"Horizontal:": "Horizontala:",
|
||||
"Horizontal padding": "Betegarri horizontala",
|
||||
"Vertical:": "Bertikala:",
|
||||
"Vertical padding": "Betegarri bertikala",
|
||||
"Border thickness:": "Ertzaren lodiera:",
|
||||
"Leave empty for no border": "Uztazu hutsik ertzik ez sortzeko",
|
||||
|
||||
//Insert Link
|
||||
"Insert/Modify Link": "Lotura txertatu/aldatu",
|
||||
"None (use implicit)": "Bat ere ez (implizituki erabili)",
|
||||
"New window (_blank)": "Lehio berrian (_blank)",
|
||||
"Same frame (_self)": "Frame berean (_self)",
|
||||
"Top frame (_top)": "Goiko frame-an (_top)",
|
||||
"Other": "Beste bat",
|
||||
"Target:": "Helburua:",
|
||||
"Title (tooltip):": "Izenburua (argibidea):",
|
||||
"URL:": "URL-a:",
|
||||
"You must enter the URL where this link points to": "Loturaren helburu den URL-a idatzi behar duzu",
|
||||
|
||||
// Insert Table
|
||||
"Insert Table": "Taula txertatu",
|
||||
"Rows:": "Lerroak:",
|
||||
"Number of rows": "Lerro-kopurua",
|
||||
"Cols:": "Zutabeak:",
|
||||
"Number of columns": "Zutabe-kopurua",
|
||||
"Width:": "Zabalera:",
|
||||
"Width of the table": "Taularen zabalera",
|
||||
"Percent": "Portzentaia",
|
||||
"Pixels": "Pixelak",
|
||||
"Em": "Em",
|
||||
"Width unit": "Zabalera-unitatea",
|
||||
"Fixed width columns": "Zabalera finkodun zutabeak",
|
||||
"Positioning of this table": "Taula honen kokapena",
|
||||
"Cell spacing:": "Gelaxka-tartea:",
|
||||
"Space between adjacent cells": "Gelaxka auzokideen arteko tartea",
|
||||
"Cell padding:": "Gelaxkaren betegarria:",
|
||||
"Space between content and border in cell": "Gelaxkaren edukia eta ertzaren arteko tartea",
|
||||
"You must enter a number of rows": "Lerro-kopurua idatzi behar duzu",
|
||||
"You must enter a number of columns": "Zutabe-kopurua idatzi behar duzu",
|
||||
|
||||
// Insert Image
|
||||
"Insert Image": "Irudia txertatu",
|
||||
"Image URL:": "Irudiaren URL-a:",
|
||||
"Enter the image URL here": "Idatz ezazu irudiaren URL-a hemen",
|
||||
"Preview": "Aurrebista",
|
||||
"Preview the image in a new window": "Aurreikusi irudia beste lehio batean",
|
||||
"Alternate text:": "Testu alternatiboa:",
|
||||
"For browsers that don't support images": "Irudirik onartzen ez duten nabigatzaileentzat",
|
||||
"Positioning of this image": "Irudiaren kokapena",
|
||||
"Image Preview:": "Irudiaren aurrebista:",
|
||||
"You must enter the URL": "URL-a idatzi behar duzu",
|
||||
|
||||
"button_bold": "de/bold.gif",
|
||||
"button_italic": "de/italic.gif",
|
||||
"button_underline": "de/underline.gif",
|
||||
|
||||
// Editor Help
|
||||
"Keyboard shortcuts": "Laster-teklak",
|
||||
"The editor provides the following key combinations:": "Editoreak ondorengo tekla-konbinazioak eskaintzen ditu:",
|
||||
"new paragraph": "Paragrafo berria",
|
||||
"insert linebreak": "Lerro-jauzia txertatu",
|
||||
"Set format to paragraph": "Formatua ezarri paragrafoari",
|
||||
"Clean content pasted from Word": "Word-etik itsatsitako edukia ezabatu",
|
||||
"Headings": "Goiburuak",
|
||||
"Close": "Itxi",
|
||||
|
||||
// Loading messages
|
||||
"Loading in progress. Please wait!": "Kargatzen. Itxaron mesedez",
|
||||
"Loading plugin $plugin" : "$plugin plugina kargatzen",
|
||||
"Register plugin $plugin" : "$plugin plugina erregistratu",
|
||||
"Constructing object": "Objektua eraikitzen",
|
||||
"Generate Xinha framework": "Xinha Framework sortzen",
|
||||
"Init editor size":"Editorearen hasierako neurria",
|
||||
"Create Toolbar": "Tresna-barra sortu",
|
||||
"Create Statusbar" : "Egoera-barra sortu",
|
||||
"Register right panel" : "Eskuin-panela erregistratu",
|
||||
"Register left panel" : "Ezker-panela erregistratu",
|
||||
"Register bottom panel" : "Beheko panela erregistratu",
|
||||
"Register top panel" : "Goiko panela erregistratu",
|
||||
"Finishing" : "Bukatzen",
|
||||
|
||||
// ColorPicker
|
||||
"Click a color..." : "Kolore bat aukeratu...",
|
||||
"Sample" : "Lagina",
|
||||
"Web Safe: " : "Web Safe: ",
|
||||
"Color: " : "Kolorea: "
|
||||
};
|
||||
167
xinha/lang/fa.js
Normal file
@@ -0,0 +1,167 @@
|
||||
// I18N constants
|
||||
// LANG: "fa", ENCODING: UTF-8
|
||||
{
|
||||
"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": "جهت از راست به چپ",
|
||||
"Remove formatting": "حذف فرمت بندی",
|
||||
"Select all": "انتخاب همه",
|
||||
"Print document": "چاپ سند",
|
||||
"Clear MSOffice tags": "پاک کردن متن از برچسب های MSOffice",
|
||||
"Clear Inline Font Specifications": "پاک کردن متن از مشخصات فونت",
|
||||
"Would you like to clear font typefaces?": "آیا تمایل دارید ظاهر فلم را پاک کنید؟",
|
||||
"Would you like to clear font sizes?": "آیا تمایل دارید اندازه قلم را پاک کنید",
|
||||
"Would you like to clear font colours?": "آیا تمایل دارید رنگ قلم را پاک کنید؟",
|
||||
"Split Block": "بلاک جداسازی",
|
||||
"Toggle Borders": "فعال/غیر فعال کردن لبه ها",
|
||||
"Save as": "ذخیره مانند...",
|
||||
"Insert/Overwrite": "افزودن/جانویسی",
|
||||
"— format —": "— قالب —",
|
||||
"Heading 1": "تیتر 1",
|
||||
"Heading 2": "تیتر 2",
|
||||
"Heading 3": "تیتر 3",
|
||||
"Heading 4": "تیتر 4",
|
||||
"Heading 5": "تیتر 5",
|
||||
"Heading 6": "تیتر 6",
|
||||
"Normal": "معمولی",
|
||||
"Address": "آدرس",
|
||||
"Formatted": "قالب بندی شده",
|
||||
|
||||
//dialogs
|
||||
"OK": "بله",
|
||||
"Cancel": "انصراف",
|
||||
"Path": "مسیر",
|
||||
"You are in TEXT MODE. Use the [<>] button to switch back to WYSIWYG.": "در مد متنی هستید. از دکمه [<>] استفاده نمایید تا به مد WYSIWYG برگردید.",
|
||||
"The Paste button does not work in Mozilla based web browsers (technical security reasons). Press CTRL-V on your keyboard to paste directly.": "دکمه چسباندن در مرورگرهای سری Mozilla کار نمی کند (به دلایل فنی امنیتی).برای چسباندن مستقیم ، دکمه CTRL-V را در صفحه کلید بزنید.",
|
||||
"Your Document is not well formed. Check JavaScript console for details.": "سند شما بدرستی قالب بندی نشده است. برای اطلاعات بیشتر پایانه نمایش جاوااسکریپت را بررسی کنید.",
|
||||
|
||||
"Alignment:": "تراز بندی",
|
||||
"Not set": "تنظیم نشده",
|
||||
"Left": "چپ",
|
||||
"Right": "راست",
|
||||
"Texttop": "بالای متن",
|
||||
"Absmiddle": "دقیقا وسط",
|
||||
"Baseline": "ابتدای خط",
|
||||
"Absbottom": "دقیقا پایین",
|
||||
"Bottom": "پایین",
|
||||
"Middle": "وسط",
|
||||
"Top": "بالا",
|
||||
|
||||
"Layout": "لایه",
|
||||
"Spacing": "فاصله گذاری",
|
||||
"Horizontal:": "افقی",
|
||||
"Horizontal padding": "پرکننده افقی",
|
||||
"Vertical:": "عمودی",
|
||||
"Vertical padding": "پرکننده عمودی",
|
||||
"Border thickness:": "ضخامت لبه",
|
||||
"Leave empty for no border": "برای بدون لبه خالی رها کن",
|
||||
|
||||
//Insert Link
|
||||
"Insert/Modify Link": "افزودن / ویرایش لینک",
|
||||
"None (use implicit)": "هیچکدام (استفاده از بدون شرط)",
|
||||
"New window (_blank)": "پنجره جدید (_blank)",
|
||||
"Same frame (_self)": "فریم یکسان (_self)",
|
||||
"Top frame (_top)": "فریم بالایی (_top)",
|
||||
"Other": "سایر",
|
||||
"Target:": "هدف",
|
||||
"Title (tooltip):": "عنوان (راهنمای یک خطی)",
|
||||
"URL:": "URL:",
|
||||
"You must enter the URL where this link points to": "باید URLی که این لینک به آن اشاره دارد را وارد کنید",
|
||||
"You need to select some text before creating a link": "باید قبل از ساخت لینک ، متنی را انتخاب نمایید",
|
||||
|
||||
// Insert Table
|
||||
"Insert Table": "افزودن جدول",
|
||||
"Rows:": "ردیف ها",
|
||||
"Number of rows": "تعداد ردیف ها",
|
||||
"Cols:": "ستون ها",
|
||||
"Number of columns": "تعداد ستون ها",
|
||||
"Width:": "طول",
|
||||
"Width of the table": "طول جدول",
|
||||
"Percent": "درصد",
|
||||
"Pixels": "پیکسل ها",
|
||||
"Em": "Em",
|
||||
"Width unit": "واحد طول",
|
||||
"Fixed width columns": "ستون های طول ثابت",
|
||||
"Positioning of this table": "موقعیت یابی این جدول",
|
||||
"Cell spacing:": "فاصله سلول ها",
|
||||
"Space between adjacent cells": "فاصله بین سلول های همجوار",
|
||||
"Cell padding:": "پر کننده سلول",
|
||||
"Space between content and border in cell": "فاصله بین محتوا و لبه در سلول",
|
||||
"You must enter a number of rows": "باید تعداد ردیف ها را وارد کنید",
|
||||
"You must enter a number of columns": "باید تعداد ستون ها را وارد کنید",
|
||||
|
||||
// Insert Image
|
||||
"Insert Image": "افزودن تصویر",
|
||||
"Image URL:": "URL تصویر",
|
||||
"Enter the image URL here": "URL تصویر را اینجا وارد کنید",
|
||||
"Preview": "پیش نمایش",
|
||||
"Preview the image in a new window": "پیش نمایش تصویر در پنجره ای جدید",
|
||||
"Alternate text:": "متن جایگزین",
|
||||
"For browsers that don't support images": "برای مرورگرهایی که از تصاویر پشتیبانی نمی کنند",
|
||||
"Positioning of this image": "موقعیت یابی تصویر",
|
||||
"Image Preview:": "پیش نمایش تصویر",
|
||||
"You must enter the URL": "شما باید URL را وارد کنید",
|
||||
|
||||
// toolbar
|
||||
"button_bold": "fr/bold.gif",
|
||||
"button_underline": "fr/underline.gif",
|
||||
"button_strikethrough": "fr/strikethrough.gif",
|
||||
|
||||
// Editor Help
|
||||
"Xinha Help": "راهنمای Xinha",
|
||||
"Editor Help": "راهنمای ویرایشگر",
|
||||
"Keyboard shortcuts": "میانبرهای صفحه کلید",
|
||||
"The editor provides the following key combinations:": "ویرایشگر استفاده از کلید های گروهی زیر را مسیر می سازد :",
|
||||
"ENTER": "ENTREE",
|
||||
"new paragraph": "پاراگراف جدید",
|
||||
"SHIFT-ENTER": "SHIFT+ENTREE",
|
||||
"insert linebreak": "افزودن جدا کننده خط",
|
||||
"Set format to paragraph": "تغییر قالب به پاراگراف",
|
||||
"Clean content pasted from Word": "تمیز کردن محتوای چسبانده شده از Word",
|
||||
"Headings": "عنوان گذاری",
|
||||
"Close": "بستن",
|
||||
|
||||
// Loading messages
|
||||
"Loading in progress. Please wait !": "بارگذاری در حال انجام است. لطفا صبر کنید !",
|
||||
"Constructing main object": "ساختن شیء اصلی",
|
||||
"Constructing object": "ساختن شیء",
|
||||
"Register panel right": "ثبت قاب راست",
|
||||
"Register panel left": "ثبت قاب چپ",
|
||||
"Register panel top": "ثبت قاب بالا",
|
||||
"Register panel bottom": "ثبت قاب پایین",
|
||||
"Create Toolbar": "ساخت نوار ابزار",
|
||||
"Create StatusBar": "ساخت نوار وضعیت",
|
||||
"Generate Xinha object": "تولید شیء Xinha",
|
||||
"Init editor size": "مقدار دهی اندازه ویرایشگر",
|
||||
"Init IFrame": "مقدار دهی IFrame",
|
||||
"Register plugin $plugin": "ثبت پلاگین $plugin"
|
||||
};
|
||||
@@ -1,38 +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"
|
||||
}
|
||||
// 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"
|
||||
}
|
||||
|
||||
297
xinha/lang/fr.js
@@ -1,130 +1,169 @@
|
||||
// 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):": "Texte alternatif",
|
||||
"URL:": "URL:",
|
||||
"You must enter the URL where this link points to": "Vous devez entrer l'URL de ce lien",
|
||||
"You need to select some text before creating a link": "Vous devez sélectionner du texte avant de créer un 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"
|
||||
// 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": "Liste numérotée",
|
||||
"Bulleted List": "Liste à 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": "Supprimer tags MSOffice",
|
||||
"Clear Inline Font Specifications": "Supprimer paramètres inline de la police",
|
||||
"Would you like to clear font typefaces?": "Voulez-vous supprimer les types ?",
|
||||
"Would you like to clear font sizes?": "Voulez-vous supprimer les tailles ?",
|
||||
"Would you like to clear font colours?": "Voulez-vous supprimer les couleurs ?",
|
||||
"Split Block": "Séparer les blocs",
|
||||
"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 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étails.",
|
||||
|
||||
"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 de 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):": "Texte alternatif",
|
||||
"URL:": "URL:",
|
||||
"You must enter the URL where this link points to": "Vous devez entrer l'URL de ce lien",
|
||||
"You need to select some text before creating a link": "Vous devez sélectionner du texte avant de créer un 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 entrer 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:": "Texte 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",
|
||||
|
||||
// toolbar
|
||||
"button_bold": "fr/bold.gif",
|
||||
"button_underline": "fr/underline.gif",
|
||||
"button_strikethrough": "fr/strikethrough.gif",
|
||||
|
||||
// Editor Help
|
||||
"Xinha Help": "Aide Xinha",
|
||||
"Editor Help": "Aide de l'éditeur",
|
||||
"Keyboard shortcuts": "Raccourcis clavier",
|
||||
"The editor provides the following key combinations:": "L'éditeur fournit les combinaisons de touches suivantes :",
|
||||
"ENTER": "ENTREE",
|
||||
"new paragraph": "Nouveau paragraphe",
|
||||
"SHIFT-ENTER": "SHIFT+ENTREE",
|
||||
"insert linebreak": "Insère un saut de ligne",
|
||||
"Set format to paragraph": "Applique le format paragraphe",
|
||||
"Clean content pasted from Word": "Nettoyage du contenu copié depuis Word",
|
||||
"Headings": "Titres",
|
||||
"Close": "Fermer",
|
||||
|
||||
// Loading messages
|
||||
"Loading in progress. Please wait!": "Chargement en cours. Veuillez patienter!",
|
||||
"Finishing" : "Chargement bientôt terminé",
|
||||
"Constructing object": "Construction de l'objet",
|
||||
"Create Toolbar": "Construction de la barre d'icones",
|
||||
"Create Statusbar": "Construction de la barre de status",
|
||||
"Register right panel" : "Enregistrement du panneau droit",
|
||||
"Register left panel" : "Enregistrement du panneau gauche",
|
||||
"Register bottom panel" : "Enregistrement du panneau supérieur",
|
||||
"Register top panel" : "Enregistrement du panneau inférieur",
|
||||
"Generate Xinha framework": "Génération de Xinha",
|
||||
"Init editor size": "Initialisation de la taille d'édition",
|
||||
"Init IFrame": "Initialisation de l'iframe",
|
||||
"Register plugin $plugin": "Enregistrement du plugin $plugin"
|
||||
"Loading plugin $plugin" : "Chargement du plugin $plugin"
|
||||
|
||||
};
|
||||
@@ -1,29 +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": "字体例子"
|
||||
}
|
||||
// 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": "字体例子"
|
||||
}
|
||||
|
||||
128
xinha/lang/he.js
@@ -1,64 +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 שאליו קישור זה מצביע"
|
||||
}
|
||||
// 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 שאליו קישור זה מצביע"
|
||||
}
|
||||
|
||||
128
xinha/lang/hu.js
@@ -1,64 +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"
|
||||
}
|
||||
// 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"
|
||||
}
|
||||
|
||||