commit avant reprise

This commit is contained in:
adriy 2018-12-12 16:25:12 +01:00
commit 7a642a45f4
95 changed files with 33957 additions and 0 deletions

73
_index_.js Executable file
View File

@ -0,0 +1,73 @@
var express = require('express');
var app = express();
var http = require('http').Server(app);
var io = require('socket.io')(http);
var mysql = require('mysql');
const util = require('util')
var bodyParser = require('body-parser');
app.use(bodyParser.json()); // support json encoded bodies
app.use(bodyParser.urlencoded({ extended: true })); // support encoded bodies
const config = require('./config.json');
//console.debug(config.bdd.user)
var con = mysql.createConnection({
host: "localhost",
user: config.bdd.user,
password: config.bdd.pw,
database : config.bdd.dbname
});
app.set('view engine', 'ejs');
app.use('/static', express.static('static'));
app.get('/', function(req, res){
res.render('index');
}).get('/TV', function(req, res){
res.render('TV');
}).get('/mapsTest', function(req, res){
con.query('SELECT * FROM zone', function (err, result, fields) {
if (err) throw err;
var data = JSON.stringify(result);
data = JSON.parse(data);
res.render('mapsTest', {data:data});
});
}).post('/addZone' , function(req, res){
var nord = req.body.N;
var sud = req.body.S;
var est = req.body.E;
var ouest = req.body.O;
var name = req.body.Name;
con.query('CALL add_zone(?,?,?,?,?,?)', [true, name,nord,sud,ouest,est], function(err, result){
});
});
io.on('connection', function(socket){
socket.on('JoinZone', function(zone){
console.log("Join "+zone)
socket.join(zone);
});
socket.on('Communication', function(CommunicationJSON){
var data = JSON.parse(CommunicationJSON);
console.log("JSON : "+CommunicationJSON);
console.log("ZONE "+data.zone);
io.sockets.in(data.zone).emit('Communication', CommunicationJSON);
});
});
http.listen(1234, function(){
console.log('listening on *:1234');
});

0
_test.js Executable file
View File

18
bdd.js Normal file
View File

@ -0,0 +1,18 @@
const config = require('./config.json');
var mysql = require('mysql');
var connection = mysql.createConnection({
host: "localhost",
user: config.bdd.user,
password: config.bdd.pw,
database : config.bdd.dbname
});
connection.connect(function(err){
if(!err) {
console.log("Database is connected");
} else {
console.log("Error while connecting with database");
}
});
module.exports = connection;

7
config.json.sample Normal file
View File

@ -0,0 +1,7 @@
{
"bdd" : {
"user" : "UserBDD",
"pw" : "BDDPW",
"dbname" : "DataBaseName"
}
}

View File

@ -0,0 +1,41 @@
//http://www.expertphp.in/article/user-login-and-registration-using-nodejs-and-mysql-with-example
var connection = require('./../bdd');
var passwordProtection = require('./securepw');
module.exports=function(req,res,next){
var name=req.body.username;
var password=passwordProtection(req.body.password);
connection.query('SELECT * FROM user WHERE name = ? AND actif = 1',[name], function (error, results, fields) {
if (error) {
req.session.auth.json({
status:false,
message:'there are some error with query'
})
next();
}else{
if(results.length >0){
if(password==results[0].pw){
req.session.authStatus=true;
req.session.authMessage='successfully authenticated';
next();
}else{
req.session.authStatus=false,
req.session.authMessage="Email and password does not match";
next();
}
}
else{
req.session.authStatus=false;
req.session.authMessage="Email does not exits";
next();
}
}
});
}

View File

@ -0,0 +1,23 @@
// /http://www.expertphp.in/article/user-login-and-registration-using-nodejs-and-mysql-with-example
var connection = require('./../bdd');
var passwordProtection = require('./securepw');
module.exports=function(req,res, next){
var today = new Date();
var users={
"name":req.body.username,
"pw": passwordProtection(req.body.password)
}
connection.query('INSERT INTO user SET ?',users, function (error, results, fields) {
if (error) {
//res.local.stat = 0;
res.locals.message='there are some error with query'+error;
next();
}else{
//res.loacal.stat = 1;
res.locals.data = results;
res.locals.message = 'user registered sucessfully';
next();
}
});
}

7
controllers/securepw.js Normal file
View File

@ -0,0 +1,7 @@
//https://lollyrock.com/articles/nodejs-encryption/
var crypto = require('crypto'),
algorithm = 'sha-256';
module.exports = function(text){
return crypto.createHash('sha256').update(text).digest('base64');
}

16
document.json Executable file
View File

@ -0,0 +1,16 @@
{
"zone" : "Liege",
"cmd" : "ping",
"ListeCom": [
{"IDPub" : 1,
"CMD" : "add/dell",
"html" : "<strong>Hello</strong>",
"level" : 1
},
{"IDPub" : 2,
"CMD" : "add/dell",
"html" : "<strong>Hello</strong>",
"level" : 2
}
]
}

22
fonction.js Normal file
View File

@ -0,0 +1,22 @@
exports.choixZone = function(zones){
var zone = zones[0];
var aireMin = (zones[0].Nord-zones[0].Sud)*(zones[0].Est-zones[0].Ouest)
for(var i = 1;i<zones.length;i++)
{
var aire = (zones[i].Nord-zones[i].Sud)*(zones[i].Est-zones[i].Ouest)
if(aire<aireMin){
zone = zones[i];
aireMin = aire;
}
}
return zone;
}
exports.listPubDansZone = function(zone, callback){
var con = require('./bdd.js')
con.query("SELECT * FROM com_active INNER JOIN zone ON com_active.ID_Zone = zone.ID_Zone INNER JOIN communication ON com_active.ID_Com = communication.ID_Com WHERE zone.ID_Zone = ? ", [zone], function(err, result){
var data = JSON.stringify(result);
data = JSON.parse(data);
callback(err, data)
});
}

112
index.js Normal file
View File

@ -0,0 +1,112 @@
var express = require('express');
var app = express();
var http = require('http').Server(app);
var io = require('socket.io')(http);
var mysql = require('mysql');
const util = require('util');
var bodyParser = require('body-parser');
var session = require('express-session');
var fonctionMaison = require('./fonction.js');
var registerController = require('./controllers/register-controller.js');
var loginController = require('./controllers/login-controller.js');
app.use(bodyParser.json()); // support json encoded bodies
app.use(bodyParser.urlencoded({ extended: true })); // support encoded bodies
app.use(session({ secret: 'fUZG4VjOx9U91Htq2AAA', cookie: { maxAge: 60000 }, saveUninitialized: true,resave: false}));
const config = require('./config.json');
var con = require('./bdd.js')
app.set('view engine', 'ejs');
app.use('/static/', express.static('static'));
app.get('/', function(req, res){
if(req.session.authStatus)
con.query('SELECT * FROM zone', function (err, result, fields) {
if (err) throw err;
var zone = JSON.stringify(result);
zone = JSON.parse(zone);
res.render('index', {zone:zone});
});
else
res.redirect('/login');
}).get('/TV', function(req, res){
res.render('TV');
}).get('/TV/zone/:zone', function(req, res){
con.query("SELECT * FROM com_active INNER JOIN zone ON com_active.ID_Zone = zone.ID_Zone INNER JOIN communication ON com_active.ID_Com = communication.ID_Com WHERE zone.ID_Zone = ? ", [req.params.zone], function(err, result){
if (err) throw err;
var pub = JSON.stringify(result);
pub = JSON.parse(pub);
fonctionMaison.listPubDansZone(req.params.zone,function(err, pub){
if (err) throw err;
res.render('TV', {zone:req.params.zone,pub:pub})
});
});
}).get('/TV/latlng/:lat/:lng', function(req,res){
con.query('CALL cherche_zones(?,?,?,?)', [req.params.lat,req.params.lat,req.params.lng,req.params.lng], function(err, result){
if (err) throw err;
var data = JSON.stringify(result);
data = JSON.parse(data);
var zone = fonctionMaison.choixZone(data[0]);
fonctionMaison.listPubDansZone(zone,function(err, pub){
if (err) throw err;
res.render('TV', {zone:zone.ID_Zone,pub:pub})
});
//console.log(util.inspect(data[0][0].Nom, false, null, true /* enable colors */))
});
}).get('/map', function(req, res){
con.query('SELECT * FROM zone', function (err, result, fields) {
if (err) throw err;
var zone = JSON.stringify(result);
zone = JSON.parse(zone);
res.render('map', {zone:zone});
});
}).get('/login', function(req, res){
res.render('login');
}).post('/login', loginController, function(req, res){
res.send('<!DOCTYPE html><html><body>'+req.session.authMessage+'<br><a href="http://nodejs.adriy.be">HOME</a></body></html>');
}).post('/register', registerController, function(req, res){
res.send('<!DOCTYPE html><html><body>'+res.locals.message+'<br><a href="http://nodejs.adriy.be">HOME</a></body></html>');
}).post('/addZone' , function(req, res){
var nord = req.body.N;
var sud = req.body.S;
var est = req.body.E;
var ouest = req.body.O;
var name = req.body.Name;
con.query('CALL add_zone(?,?,?,?,?,?)', [true, name,nord,sud,ouest,est], function(err, result){
});
});
io.on('connection', function(socket){
socket.on('JoinZone', function(zone){
console.log("Join "+zone)
socket.join(zone);
});
socket.on('Communication', function(CommunicationJSON){
var data = JSON.parse(CommunicationJSON);
console.log("JSON : "+CommunicationJSON);
console.log("ZONE "+data.zone);
io.sockets.in(data.zone).emit('Communication', CommunicationJSON);
});
});
http.listen(1234, function(){
console.log('listening on *:1234');
});

1
jsProcess Executable file
View File

@ -0,0 +1 @@
1696

157
old.jd Executable file
View File

@ -0,0 +1,157 @@
// Initialise the FeatureGroup to store editable layers
L.EditControl = L.Control.extend({
options: {
position: 'topleft',
callback: null,
kind: '',
html: ''
},
onAdd: function (map) {
var container = L.DomUtil.create('div', 'leaflet-control leaflet-bar'),
link = L.DomUtil.create('a', '', container);
link.href = '#';
link.title = 'Create a new ' + this.options.kind;
link.innerHTML = this.options.html;
L.DomEvent.on(link, 'click', L.DomEvent.stop)
.on(link, 'click', function () {
window.LAYER = this.options.callback.call(map.editTools);
}, this);
return container;
}
});
L.NewLineControl = L.EditControl.extend({
options: {
position: 'topleft',
callback: map.editTools.startPolyline,
kind: 'line',
html: '\\/\\'
}
});
L.NewPolygonControl = L.EditControl.extend({
options: {
position: 'topleft',
callback: map.editTools.startPolygon,
kind: 'polygon',
html: '▰'
}
});
L.NewMarkerControl = L.EditControl.extend({
options: {
position: 'topleft',
callback: map.editTools.startMarker,
kind: 'marker',
html: '🖈'
}
});
L.NewRectangleControl = L.EditControl.extend({
options: {
position: 'topleft',
callback: map.editTools.startRectangle,
kind: 'rectangle',
html: '⬛'
}
});
L.NewCircleControl = L.EditControl.extend({
options: {
position: 'topleft',
callback: map.editTools.startCircle,
kind: 'circle',
html: '⬤'
}
});
map.addControl(new L.NewMarkerControl());
map.addControl(new L.NewLineControl());
map.addControl(new L.NewPolygonControl());
map.addControl(new L.NewRectangleControl());
map.addControl(new L.NewCircleControl());
var line = L.polyline([
[43.1292, 1.256],
[43.1295, 1.259],
[43.1291, 1.261]
]).addTo(map);
line.enableEdit();
line.on('dblclick', L.DomEvent.stop).on('dblclick', line.toggleEdit);
var multi = L.polygon([
[
[
[43.1239, 1.244],
[43.123, 1.253],
[43.1252, 1.255],
[43.1250, 1.251],
[43.1239, 1.244]
],
[
[43.124, 1.246],
[43.1236, 1.248],
[43.12475, 1.250]
],
[
[43.124, 1.251],
[43.1236, 1.253],
[43.12475, 1.254]
]
],
[
[
[43.1269, 1.246],
[43.126, 1.252],
[43.1282, 1.255],
[43.1280, 1.245]
]
]
]).addTo(map);
multi.enableEdit();
multi.on('dblclick', L.DomEvent.stop).on('dblclick', multi.toggleEdit);
multi.bindPopup('hi!');
var poly = L.polygon([
[
[43.1239, 1.259],
[43.123, 1.263],
[43.1252, 1.265],
[43.1250, 1.261]
],
[
[43.124, 1.263],
[43.1236, 1.261],
[43.12475, 1.262]
]
]).addTo(map);
poly.enableEdit();
poly.on('dblclick', L.DomEvent.stop).on('dblclick', poly.toggleEdit);
var rec = L.rectangle([
[43.1235, 1.255],
[43.1215, 1.259]
]).addTo(map);
rec.enableEdit();
rec.on('dblclick', L.DomEvent.stop).on('dblclick', rec.toggleEdit);
var circle = L.circle([43.1220, 1.250], {radius: 100}).addTo(map);
circle.enableEdit();
circle.on('dblclick', L.DomEvent.stop).on('dblclick', circle.toggleEdit);

835
package-lock.json generated Executable file
View File

@ -0,0 +1,835 @@
{
"name": "TVPublicitaire",
"version": "0.0.1",
"lockfileVersion": 1,
"requires": true,
"dependencies": {
"accepts": {
"version": "1.3.5",
"resolved": "https://registry.npmjs.org/accepts/-/accepts-1.3.5.tgz",
"integrity": "sha1-63d99gEXI6OxTopywIBcjoZ0a9I=",
"requires": {
"mime-types": "~2.1.18",
"negotiator": "0.6.1"
}
},
"after": {
"version": "0.8.2",
"resolved": "https://registry.npmjs.org/after/-/after-0.8.2.tgz",
"integrity": "sha1-/ts5T58OAqqXaOcCvaI7UF+ufh8="
},
"array-flatten": {
"version": "1.1.1",
"resolved": "https://registry.npmjs.org/array-flatten/-/array-flatten-1.1.1.tgz",
"integrity": "sha1-ml9pkFGx5wczKPKgCJaLZOopVdI="
},
"arraybuffer.slice": {
"version": "0.0.7",
"resolved": "https://registry.npmjs.org/arraybuffer.slice/-/arraybuffer.slice-0.0.7.tgz",
"integrity": "sha512-wGUIVQXuehL5TCqQun8OW81jGzAWycqzFF8lFp+GOM5BXLYj3bKNsYC4daB7n6XjCqxQA/qgTJ+8ANR3acjrog=="
},
"async-limiter": {
"version": "1.0.0",
"resolved": "https://registry.npmjs.org/async-limiter/-/async-limiter-1.0.0.tgz",
"integrity": "sha512-jp/uFnooOiO+L211eZOoSyzpOITMXx1rBITauYykG3BRYPu8h0UcxsPNB04RR5vo4Tyz3+ay17tR6JVf9qzYWg=="
},
"backo2": {
"version": "1.0.2",
"resolved": "https://registry.npmjs.org/backo2/-/backo2-1.0.2.tgz",
"integrity": "sha1-MasayLEpNjRj41s+u2n038+6eUc="
},
"base64-arraybuffer": {
"version": "0.1.5",
"resolved": "https://registry.npmjs.org/base64-arraybuffer/-/base64-arraybuffer-0.1.5.tgz",
"integrity": "sha1-c5JncZI7Whl0etZmqlzUv5xunOg="
},
"base64id": {
"version": "1.0.0",
"resolved": "https://registry.npmjs.org/base64id/-/base64id-1.0.0.tgz",
"integrity": "sha1-R2iMuZu2gE8OBtPnY7HDLlfY5rY="
},
"better-assert": {
"version": "1.0.2",
"resolved": "https://registry.npmjs.org/better-assert/-/better-assert-1.0.2.tgz",
"integrity": "sha1-QIZrnhueC1W0gYlDEeaPr/rrxSI=",
"requires": {
"callsite": "1.0.0"
}
},
"bignumber.js": {
"version": "4.1.0",
"resolved": "https://registry.npmjs.org/bignumber.js/-/bignumber.js-4.1.0.tgz",
"integrity": "sha512-eJzYkFYy9L4JzXsbymsFn3p54D+llV27oTQ+ziJG7WFRheJcNZilgVXMG0LoZtlQSKBsJdWtLFqOD0u+U0jZKA=="
},
"blob": {
"version": "0.0.4",
"resolved": "https://registry.npmjs.org/blob/-/blob-0.0.4.tgz",
"integrity": "sha1-vPEwUspURj8w+fx+lbmkdjCpSSE="
},
"body-parser": {
"version": "1.18.3",
"resolved": "https://registry.npmjs.org/body-parser/-/body-parser-1.18.3.tgz",
"integrity": "sha1-WykhmP/dVTs6DyDe0FkrlWlVyLQ=",
"requires": {
"bytes": "3.0.0",
"content-type": "~1.0.4",
"debug": "2.6.9",
"depd": "~1.1.2",
"http-errors": "~1.6.3",
"iconv-lite": "0.4.23",
"on-finished": "~2.3.0",
"qs": "6.5.2",
"raw-body": "2.3.3",
"type-is": "~1.6.16"
},
"dependencies": {
"qs": {
"version": "6.5.2",
"resolved": "https://registry.npmjs.org/qs/-/qs-6.5.2.tgz",
"integrity": "sha512-N5ZAX4/LxJmF+7wN74pUD6qAh9/wnvdQcjq9TZjevvXzSUo7bfmw91saqMjzGS2xq91/odN2dW/WOl7qQHNDGA=="
}
}
},
"bytes": {
"version": "3.0.0",
"resolved": "https://registry.npmjs.org/bytes/-/bytes-3.0.0.tgz",
"integrity": "sha1-0ygVQE1olpn4Wk6k+odV3ROpYEg="
},
"callsite": {
"version": "1.0.0",
"resolved": "https://registry.npmjs.org/callsite/-/callsite-1.0.0.tgz",
"integrity": "sha1-KAOY5dZkvXQDi28JBRU+borxvCA="
},
"component-bind": {
"version": "1.0.0",
"resolved": "https://registry.npmjs.org/component-bind/-/component-bind-1.0.0.tgz",
"integrity": "sha1-AMYIq33Nk4l8AAllGx06jh5zu9E="
},
"component-emitter": {
"version": "1.2.1",
"resolved": "https://registry.npmjs.org/component-emitter/-/component-emitter-1.2.1.tgz",
"integrity": "sha1-E3kY1teCg/ffemt8WmPhQOaUJeY="
},
"component-inherit": {
"version": "0.0.3",
"resolved": "https://registry.npmjs.org/component-inherit/-/component-inherit-0.0.3.tgz",
"integrity": "sha1-ZF/ErfWLcrZJ1crmUTVhnbJv8UM="
},
"content-disposition": {
"version": "0.5.2",
"resolved": "https://registry.npmjs.org/content-disposition/-/content-disposition-0.5.2.tgz",
"integrity": "sha1-DPaLud318r55YcOoUXjLhdunjLQ="
},
"content-type": {
"version": "1.0.4",
"resolved": "https://registry.npmjs.org/content-type/-/content-type-1.0.4.tgz",
"integrity": "sha512-hIP3EEPs8tB9AT1L+NUqtwOAps4mk2Zob89MWXMHjHWg9milF/j4osnnQLXBCBFBk/tvIG/tUc9mOUJiPBhPXA=="
},
"cookie": {
"version": "0.3.1",
"resolved": "https://registry.npmjs.org/cookie/-/cookie-0.3.1.tgz",
"integrity": "sha1-5+Ch+e9DtMi6klxcWpboBtFoc7s="
},
"cookie-parser": {
"version": "1.4.3",
"resolved": "https://registry.npmjs.org/cookie-parser/-/cookie-parser-1.4.3.tgz",
"integrity": "sha1-D+MfoZ0AC5X0qt8fU/3CuKIDuqU=",
"requires": {
"cookie": "0.3.1",
"cookie-signature": "1.0.6"
}
},
"cookie-signature": {
"version": "1.0.6",
"resolved": "https://registry.npmjs.org/cookie-signature/-/cookie-signature-1.0.6.tgz",
"integrity": "sha1-4wOogrNCzD7oylE6eZmXNNqzriw="
},
"core-util-is": {
"version": "1.0.2",
"resolved": "https://registry.npmjs.org/core-util-is/-/core-util-is-1.0.2.tgz",
"integrity": "sha1-tf1UIgqivFq1eqtxQMlAdUUDwac="
},
"crc": {
"version": "3.4.4",
"resolved": "https://registry.npmjs.org/crc/-/crc-3.4.4.tgz",
"integrity": "sha1-naHpgOO9RPxck79as9ozeNheRms="
},
"debug": {
"version": "2.6.9",
"resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz",
"integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==",
"requires": {
"ms": "2.0.0"
}
},
"depd": {
"version": "1.1.2",
"resolved": "https://registry.npmjs.org/depd/-/depd-1.1.2.tgz",
"integrity": "sha1-m81S4UwJd2PnSbJ0xDRu0uVgtak="
},
"destroy": {
"version": "1.0.4",
"resolved": "https://registry.npmjs.org/destroy/-/destroy-1.0.4.tgz",
"integrity": "sha1-l4hXRCxEdJ5CBmE+N5RiBYJqvYA="
},
"ee-first": {
"version": "1.1.1",
"resolved": "https://registry.npmjs.org/ee-first/-/ee-first-1.1.1.tgz",
"integrity": "sha1-WQxhFWsK4vTwJVcyoViyZrxWsh0="
},
"ejs": {
"version": "2.6.1",
"resolved": "https://registry.npmjs.org/ejs/-/ejs-2.6.1.tgz",
"integrity": "sha512-0xy4A/twfrRCnkhfk8ErDi5DqdAsAqeGxht4xkCUrsvhhbQNs7E+4jV0CN7+NKIY0aHE72+XvqtBIXzD31ZbXQ=="
},
"encodeurl": {
"version": "1.0.2",
"resolved": "https://registry.npmjs.org/encodeurl/-/encodeurl-1.0.2.tgz",
"integrity": "sha1-rT/0yG7C0CkyL1oCw6mmBslbP1k="
},
"engine.io": {
"version": "3.2.0",
"resolved": "https://registry.npmjs.org/engine.io/-/engine.io-3.2.0.tgz",
"integrity": "sha512-mRbgmAtQ4GAlKwuPnnAvXXwdPhEx+jkc0OBCLrXuD/CRvwNK3AxRSnqK4FSqmAMRRHryVJP8TopOvmEaA64fKw==",
"requires": {
"accepts": "~1.3.4",
"base64id": "1.0.0",
"cookie": "0.3.1",
"debug": "~3.1.0",
"engine.io-parser": "~2.1.0",
"ws": "~3.3.1"
},
"dependencies": {
"debug": {
"version": "3.1.0",
"resolved": "https://registry.npmjs.org/debug/-/debug-3.1.0.tgz",
"integrity": "sha512-OX8XqP7/1a9cqkxYw2yXss15f26NKWBpDXQd0/uK/KPqdQhxbPa994hnzjcE2VqQpDslf55723cKPUOGSmMY3g==",
"requires": {
"ms": "2.0.0"
}
}
}
},
"engine.io-client": {
"version": "3.2.1",
"resolved": "https://registry.npmjs.org/engine.io-client/-/engine.io-client-3.2.1.tgz",
"integrity": "sha512-y5AbkytWeM4jQr7m/koQLc5AxpRKC1hEVUb/s1FUAWEJq5AzJJ4NLvzuKPuxtDi5Mq755WuDvZ6Iv2rXj4PTzw==",
"requires": {
"component-emitter": "1.2.1",
"component-inherit": "0.0.3",
"debug": "~3.1.0",
"engine.io-parser": "~2.1.1",
"has-cors": "1.1.0",
"indexof": "0.0.1",
"parseqs": "0.0.5",
"parseuri": "0.0.5",
"ws": "~3.3.1",
"xmlhttprequest-ssl": "~1.5.4",
"yeast": "0.1.2"
},
"dependencies": {
"debug": {
"version": "3.1.0",
"resolved": "https://registry.npmjs.org/debug/-/debug-3.1.0.tgz",
"integrity": "sha512-OX8XqP7/1a9cqkxYw2yXss15f26NKWBpDXQd0/uK/KPqdQhxbPa994hnzjcE2VqQpDslf55723cKPUOGSmMY3g==",
"requires": {
"ms": "2.0.0"
}
}
}
},
"engine.io-parser": {
"version": "2.1.2",
"resolved": "https://registry.npmjs.org/engine.io-parser/-/engine.io-parser-2.1.2.tgz",
"integrity": "sha512-dInLFzr80RijZ1rGpx1+56/uFoH7/7InhH3kZt+Ms6hT8tNx3NGW/WNSA/f8As1WkOfkuyb3tnRyuXGxusclMw==",
"requires": {
"after": "0.8.2",
"arraybuffer.slice": "~0.0.7",
"base64-arraybuffer": "0.1.5",
"blob": "0.0.4",
"has-binary2": "~1.0.2"
}
},
"escape-html": {
"version": "1.0.3",
"resolved": "https://registry.npmjs.org/escape-html/-/escape-html-1.0.3.tgz",
"integrity": "sha1-Aljq5NPQwJdN4cFpGI7wBR0dGYg="
},
"etag": {
"version": "1.8.1",
"resolved": "https://registry.npmjs.org/etag/-/etag-1.8.1.tgz",
"integrity": "sha1-Qa4u62XvpiJorr/qg6x9eSmbCIc="
},
"express": {
"version": "4.16.3",
"resolved": "http://registry.npmjs.org/express/-/express-4.16.3.tgz",
"integrity": "sha1-avilAjUNsyRuzEvs9rWjTSL37VM=",
"requires": {
"accepts": "~1.3.5",
"array-flatten": "1.1.1",
"body-parser": "1.18.2",
"content-disposition": "0.5.2",
"content-type": "~1.0.4",
"cookie": "0.3.1",
"cookie-signature": "1.0.6",
"debug": "2.6.9",
"depd": "~1.1.2",
"encodeurl": "~1.0.2",
"escape-html": "~1.0.3",
"etag": "~1.8.1",
"finalhandler": "1.1.1",
"fresh": "0.5.2",
"merge-descriptors": "1.0.1",
"methods": "~1.1.2",
"on-finished": "~2.3.0",
"parseurl": "~1.3.2",
"path-to-regexp": "0.1.7",
"proxy-addr": "~2.0.3",
"qs": "6.5.1",
"range-parser": "~1.2.0",
"safe-buffer": "5.1.1",
"send": "0.16.2",
"serve-static": "1.13.2",
"setprototypeof": "1.1.0",
"statuses": "~1.4.0",
"type-is": "~1.6.16",
"utils-merge": "1.0.1",
"vary": "~1.1.2"
},
"dependencies": {
"body-parser": {
"version": "1.18.2",
"resolved": "https://registry.npmjs.org/body-parser/-/body-parser-1.18.2.tgz",
"integrity": "sha1-h2eKGdhLR9hZuDGZvVm84iKxBFQ=",
"requires": {
"bytes": "3.0.0",
"content-type": "~1.0.4",
"debug": "2.6.9",
"depd": "~1.1.1",
"http-errors": "~1.6.2",
"iconv-lite": "0.4.19",
"on-finished": "~2.3.0",
"qs": "6.5.1",
"raw-body": "2.3.2",
"type-is": "~1.6.15"
}
},
"iconv-lite": {
"version": "0.4.19",
"resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.4.19.tgz",
"integrity": "sha512-oTZqweIP51xaGPI4uPa56/Pri/480R+mo7SeU+YETByQNhDG55ycFyNLIgta9vXhILrxXDmF7ZGhqZIcuN0gJQ=="
},
"raw-body": {
"version": "2.3.2",
"resolved": "https://registry.npmjs.org/raw-body/-/raw-body-2.3.2.tgz",
"integrity": "sha1-vNYMd9Prk83gBQKVw/N5OJvIj4k=",
"requires": {
"bytes": "3.0.0",
"http-errors": "1.6.2",
"iconv-lite": "0.4.19",
"unpipe": "1.0.0"
},
"dependencies": {
"depd": {
"version": "1.1.1",
"resolved": "https://registry.npmjs.org/depd/-/depd-1.1.1.tgz",
"integrity": "sha1-V4O04cRZ8G+lyif5kfPQbnoxA1k="
},
"http-errors": {
"version": "1.6.2",
"resolved": "https://registry.npmjs.org/http-errors/-/http-errors-1.6.2.tgz",
"integrity": "sha1-CgAsyFcHGSp+eUbO7cERVfYOxzY=",
"requires": {
"depd": "1.1.1",
"inherits": "2.0.3",
"setprototypeof": "1.0.3",
"statuses": ">= 1.3.1 < 2"
}
},
"setprototypeof": {
"version": "1.0.3",
"resolved": "https://registry.npmjs.org/setprototypeof/-/setprototypeof-1.0.3.tgz",
"integrity": "sha1-ZlZ+NwQ+608E2RvWWMDL77VbjgQ="
}
}
}
}
},
"express-session": {
"version": "1.15.6",
"resolved": "https://registry.npmjs.org/express-session/-/express-session-1.15.6.tgz",
"integrity": "sha512-r0nrHTCYtAMrFwZ0kBzZEXa1vtPVrw0dKvGSrKP4dahwBQ1BJpF2/y1Pp4sCD/0kvxV4zZeclyvfmw0B4RMJQA==",
"requires": {
"cookie": "0.3.1",
"cookie-signature": "1.0.6",
"crc": "3.4.4",
"debug": "2.6.9",
"depd": "~1.1.1",
"on-headers": "~1.0.1",
"parseurl": "~1.3.2",
"uid-safe": "~2.1.5",
"utils-merge": "1.0.1"
}
},
"finalhandler": {
"version": "1.1.1",
"resolved": "https://registry.npmjs.org/finalhandler/-/finalhandler-1.1.1.tgz",
"integrity": "sha512-Y1GUDo39ez4aHAw7MysnUD5JzYX+WaIj8I57kO3aEPT1fFRL4sr7mjei97FgnwhAyyzRYmQZaTHb2+9uZ1dPtg==",
"requires": {
"debug": "2.6.9",
"encodeurl": "~1.0.2",
"escape-html": "~1.0.3",
"on-finished": "~2.3.0",
"parseurl": "~1.3.2",
"statuses": "~1.4.0",
"unpipe": "~1.0.0"
}
},
"forwarded": {
"version": "0.1.2",
"resolved": "https://registry.npmjs.org/forwarded/-/forwarded-0.1.2.tgz",
"integrity": "sha1-mMI9qxF1ZXuMBXPozszZGw/xjIQ="
},
"fresh": {
"version": "0.5.2",
"resolved": "https://registry.npmjs.org/fresh/-/fresh-0.5.2.tgz",
"integrity": "sha1-PYyt2Q2XZWn6g1qx+OSyOhBWBac="
},
"has-binary2": {
"version": "1.0.3",
"resolved": "https://registry.npmjs.org/has-binary2/-/has-binary2-1.0.3.tgz",
"integrity": "sha512-G1LWKhDSvhGeAQ8mPVQlqNcOB2sJdwATtZKl2pDKKHfpf/rYj24lkinxf69blJbnsvtqqNU+L3SL50vzZhXOnw==",
"requires": {
"isarray": "2.0.1"
}
},
"has-cors": {
"version": "1.1.0",
"resolved": "https://registry.npmjs.org/has-cors/-/has-cors-1.1.0.tgz",
"integrity": "sha1-XkdHk/fqmEPRu5nCPu9J/xJv/zk="
},
"http-errors": {
"version": "1.6.3",
"resolved": "http://registry.npmjs.org/http-errors/-/http-errors-1.6.3.tgz",
"integrity": "sha1-i1VoC7S+KDoLW/TqLjhYC+HZMg0=",
"requires": {
"depd": "~1.1.2",
"inherits": "2.0.3",
"setprototypeof": "1.1.0",
"statuses": ">= 1.4.0 < 2"
}
},
"iconv-lite": {
"version": "0.4.23",
"resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.4.23.tgz",
"integrity": "sha512-neyTUVFtahjf0mB3dZT77u+8O0QB89jFdnBkd5P1JgYPbPaia3gXXOVL2fq8VyU2gMMD7SaN7QukTB/pmXYvDA==",
"requires": {
"safer-buffer": ">= 2.1.2 < 3"
}
},
"indexof": {
"version": "0.0.1",
"resolved": "https://registry.npmjs.org/indexof/-/indexof-0.0.1.tgz",
"integrity": "sha1-gtwzbSMrkGIXnQWrMpOmYFn9Q10="
},
"inherits": {
"version": "2.0.3",
"resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.3.tgz",
"integrity": "sha1-Yzwsg+PaQqUC9SRmAiSA9CCCYd4="
},
"ipaddr.js": {
"version": "1.8.0",
"resolved": "https://registry.npmjs.org/ipaddr.js/-/ipaddr.js-1.8.0.tgz",
"integrity": "sha1-6qM9bd16zo9/b+DJygRA5wZzix4="
},
"isarray": {
"version": "2.0.1",
"resolved": "https://registry.npmjs.org/isarray/-/isarray-2.0.1.tgz",
"integrity": "sha1-o32U7ZzaLVmGXJ92/llu4fM4dB4="
},
"media-typer": {
"version": "0.3.0",
"resolved": "https://registry.npmjs.org/media-typer/-/media-typer-0.3.0.tgz",
"integrity": "sha1-hxDXrwqmJvj/+hzgAWhUUmMlV0g="
},
"merge-descriptors": {
"version": "1.0.1",
"resolved": "https://registry.npmjs.org/merge-descriptors/-/merge-descriptors-1.0.1.tgz",
"integrity": "sha1-sAqqVW3YtEVoFQ7J0blT8/kMu2E="
},
"methods": {
"version": "1.1.2",
"resolved": "https://registry.npmjs.org/methods/-/methods-1.1.2.tgz",
"integrity": "sha1-VSmk1nZUE07cxSZmVoNbD4Ua/O4="
},
"mime": {
"version": "1.4.1",
"resolved": "https://registry.npmjs.org/mime/-/mime-1.4.1.tgz",
"integrity": "sha512-KI1+qOZu5DcW6wayYHSzR/tXKCDC5Om4s1z2QJjDULzLcmf3DvzS7oluY4HCTrc+9FiKmWUgeNLg7W3uIQvxtQ=="
},
"mime-db": {
"version": "1.36.0",
"resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.36.0.tgz",
"integrity": "sha512-L+xvyD9MkoYMXb1jAmzI/lWYAxAMCPvIBSWur0PZ5nOf5euahRLVqH//FKW9mWp2lkqUgYiXPgkzfMUFi4zVDw=="
},
"mime-types": {
"version": "2.1.20",
"resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.20.tgz",
"integrity": "sha512-HrkrPaP9vGuWbLK1B1FfgAkbqNjIuy4eHlIYnFi7kamZyLLrGlo2mpcx0bBmNpKqBtYtAfGbodDddIgddSJC2A==",
"requires": {
"mime-db": "~1.36.0"
}
},
"ms": {
"version": "2.0.0",
"resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz",
"integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g="
},
"mysql": {
"version": "2.16.0",
"resolved": "https://registry.npmjs.org/mysql/-/mysql-2.16.0.tgz",
"integrity": "sha512-dPbN2LHonQp7D5ja5DJXNbCLe/HRdu+f3v61aguzNRQIrmZLOeRoymBYyeThrR6ug+FqzDL95Gc9maqZUJS+Gw==",
"requires": {
"bignumber.js": "4.1.0",
"readable-stream": "2.3.6",
"safe-buffer": "5.1.2",
"sqlstring": "2.3.1"
},
"dependencies": {
"safe-buffer": {
"version": "5.1.2",
"resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz",
"integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g=="
}
}
},
"negotiator": {
"version": "0.6.1",
"resolved": "https://registry.npmjs.org/negotiator/-/negotiator-0.6.1.tgz",
"integrity": "sha1-KzJxhOiZIQEXeyhWP7XnECrNDKk="
},
"object-component": {
"version": "0.0.3",
"resolved": "https://registry.npmjs.org/object-component/-/object-component-0.0.3.tgz",
"integrity": "sha1-8MaapQ78lbhmwYb0AKM3acsvEpE="
},
"on-finished": {
"version": "2.3.0",
"resolved": "https://registry.npmjs.org/on-finished/-/on-finished-2.3.0.tgz",
"integrity": "sha1-IPEzZIGwg811M3mSoWlxqi2QaUc=",
"requires": {
"ee-first": "1.1.1"
}
},
"on-headers": {
"version": "1.0.1",
"resolved": "https://registry.npmjs.org/on-headers/-/on-headers-1.0.1.tgz",
"integrity": "sha1-ko9dD0cNSTQmUepnlLCFfBAGk/c="
},
"parseqs": {
"version": "0.0.5",
"resolved": "https://registry.npmjs.org/parseqs/-/parseqs-0.0.5.tgz",
"integrity": "sha1-1SCKNzjkZ2bikbouoXNoSSGouJ0=",
"requires": {
"better-assert": "~1.0.0"
}
},
"parseuri": {
"version": "0.0.5",
"resolved": "https://registry.npmjs.org/parseuri/-/parseuri-0.0.5.tgz",
"integrity": "sha1-gCBKUNTbt3m/3G6+J3jZDkvOMgo=",
"requires": {
"better-assert": "~1.0.0"
}
},
"parseurl": {
"version": "1.3.2",
"resolved": "https://registry.npmjs.org/parseurl/-/parseurl-1.3.2.tgz",
"integrity": "sha1-/CidTtiZMRlGDBViUyYs3I3mW/M="
},
"path-to-regexp": {
"version": "0.1.7",
"resolved": "https://registry.npmjs.org/path-to-regexp/-/path-to-regexp-0.1.7.tgz",
"integrity": "sha1-32BBeABfUi8V60SQ5yR6G/qmf4w="
},
"process-nextick-args": {
"version": "2.0.0",
"resolved": "https://registry.npmjs.org/process-nextick-args/-/process-nextick-args-2.0.0.tgz",
"integrity": "sha512-MtEC1TqN0EU5nephaJ4rAtThHtC86dNN9qCuEhtshvpVBkAW5ZO7BASN9REnF9eoXGcRub+pFuKEpOHE+HbEMw=="
},
"proxy-addr": {
"version": "2.0.4",
"resolved": "https://registry.npmjs.org/proxy-addr/-/proxy-addr-2.0.4.tgz",
"integrity": "sha512-5erio2h9jp5CHGwcybmxmVqHmnCBZeewlfJ0pex+UW7Qny7OOZXTtH56TGNyBizkgiOwhJtMKrVzDTeKcySZwA==",
"requires": {
"forwarded": "~0.1.2",
"ipaddr.js": "1.8.0"
}
},
"qs": {
"version": "6.5.1",
"resolved": "https://registry.npmjs.org/qs/-/qs-6.5.1.tgz",
"integrity": "sha512-eRzhrN1WSINYCDCbrz796z37LOe3m5tmW7RQf6oBntukAG1nmovJvhnwHHRMAfeoItc1m2Hk02WER2aQ/iqs+A=="
},
"random-bytes": {
"version": "1.0.0",
"resolved": "https://registry.npmjs.org/random-bytes/-/random-bytes-1.0.0.tgz",
"integrity": "sha1-T2ih3Arli9P7lYSMMDJNt11kNgs="
},
"range-parser": {
"version": "1.2.0",
"resolved": "https://registry.npmjs.org/range-parser/-/range-parser-1.2.0.tgz",
"integrity": "sha1-9JvmtIeJTdxA3MlKMi9hEJLgDV4="
},
"raw-body": {
"version": "2.3.3",
"resolved": "https://registry.npmjs.org/raw-body/-/raw-body-2.3.3.tgz",
"integrity": "sha512-9esiElv1BrZoI3rCDuOuKCBRbuApGGaDPQfjSflGxdy4oyzqghxu6klEkkVIvBje+FF0BX9coEv8KqW6X/7njw==",
"requires": {
"bytes": "3.0.0",
"http-errors": "1.6.3",
"iconv-lite": "0.4.23",
"unpipe": "1.0.0"
}
},
"readable-stream": {
"version": "2.3.6",
"resolved": "http://registry.npmjs.org/readable-stream/-/readable-stream-2.3.6.tgz",
"integrity": "sha512-tQtKA9WIAhBF3+VLAseyMqZeBjW0AHJoxOtYqSUZNJxauErmLbVm2FW1y+J/YA9dUrAC39ITejlZWhVIwawkKw==",
"requires": {
"core-util-is": "~1.0.0",
"inherits": "~2.0.3",
"isarray": "~1.0.0",
"process-nextick-args": "~2.0.0",
"safe-buffer": "~5.1.1",
"string_decoder": "~1.1.1",
"util-deprecate": "~1.0.1"
},
"dependencies": {
"isarray": {
"version": "1.0.0",
"resolved": "https://registry.npmjs.org/isarray/-/isarray-1.0.0.tgz",
"integrity": "sha1-u5NdSFgsuhaMBoNJV6VKPgcSTxE="
}
}
},
"safe-buffer": {
"version": "5.1.1",
"resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.1.tgz",
"integrity": "sha512-kKvNJn6Mm93gAczWVJg7wH+wGYWNrDHdWvpUmHyEsgCtIwwo3bqPtV4tR5tuPaUhTOo/kvhVwd8XwwOllGYkbg=="
},
"safer-buffer": {
"version": "2.1.2",
"resolved": "https://registry.npmjs.org/safer-buffer/-/safer-buffer-2.1.2.tgz",
"integrity": "sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg=="
},
"send": {
"version": "0.16.2",
"resolved": "https://registry.npmjs.org/send/-/send-0.16.2.tgz",
"integrity": "sha512-E64YFPUssFHEFBvpbbjr44NCLtI1AohxQ8ZSiJjQLskAdKuriYEP6VyGEsRDH8ScozGpkaX1BGvhanqCwkcEZw==",
"requires": {
"debug": "2.6.9",
"depd": "~1.1.2",
"destroy": "~1.0.4",
"encodeurl": "~1.0.2",
"escape-html": "~1.0.3",
"etag": "~1.8.1",
"fresh": "0.5.2",
"http-errors": "~1.6.2",
"mime": "1.4.1",
"ms": "2.0.0",
"on-finished": "~2.3.0",
"range-parser": "~1.2.0",
"statuses": "~1.4.0"
}
},
"serve-static": {
"version": "1.13.2",
"resolved": "https://registry.npmjs.org/serve-static/-/serve-static-1.13.2.tgz",
"integrity": "sha512-p/tdJrO4U387R9oMjb1oj7qSMaMfmOyd4j9hOFoxZe2baQszgHcSWjuya/CiT5kgZZKRudHNOA0pYXOl8rQ5nw==",
"requires": {
"encodeurl": "~1.0.2",
"escape-html": "~1.0.3",
"parseurl": "~1.3.2",
"send": "0.16.2"
}
},
"setprototypeof": {
"version": "1.1.0",
"resolved": "https://registry.npmjs.org/setprototypeof/-/setprototypeof-1.1.0.tgz",
"integrity": "sha512-BvE/TwpZX4FXExxOxZyRGQQv651MSwmWKZGqvmPcRIjDqWub67kTKuIMx43cZZrS/cBBzwBcNDWoFxt2XEFIpQ=="
},
"socket.io": {
"version": "2.1.1",
"resolved": "https://registry.npmjs.org/socket.io/-/socket.io-2.1.1.tgz",
"integrity": "sha512-rORqq9c+7W0DAK3cleWNSyfv/qKXV99hV4tZe+gGLfBECw3XEhBy7x85F3wypA9688LKjtwO9pX9L33/xQI8yA==",
"requires": {
"debug": "~3.1.0",
"engine.io": "~3.2.0",
"has-binary2": "~1.0.2",
"socket.io-adapter": "~1.1.0",
"socket.io-client": "2.1.1",
"socket.io-parser": "~3.2.0"
},
"dependencies": {
"debug": {
"version": "3.1.0",
"resolved": "https://registry.npmjs.org/debug/-/debug-3.1.0.tgz",
"integrity": "sha512-OX8XqP7/1a9cqkxYw2yXss15f26NKWBpDXQd0/uK/KPqdQhxbPa994hnzjcE2VqQpDslf55723cKPUOGSmMY3g==",
"requires": {
"ms": "2.0.0"
}
}
}
},
"socket.io-adapter": {
"version": "1.1.1",
"resolved": "https://registry.npmjs.org/socket.io-adapter/-/socket.io-adapter-1.1.1.tgz",
"integrity": "sha1-KoBeihTWNyEk3ZFZrUUC+MsH8Gs="
},
"socket.io-client": {
"version": "2.1.1",
"resolved": "https://registry.npmjs.org/socket.io-client/-/socket.io-client-2.1.1.tgz",
"integrity": "sha512-jxnFyhAuFxYfjqIgduQlhzqTcOEQSn+OHKVfAxWaNWa7ecP7xSNk2Dx/3UEsDcY7NcFafxvNvKPmmO7HTwTxGQ==",
"requires": {
"backo2": "1.0.2",
"base64-arraybuffer": "0.1.5",
"component-bind": "1.0.0",
"component-emitter": "1.2.1",
"debug": "~3.1.0",
"engine.io-client": "~3.2.0",
"has-binary2": "~1.0.2",
"has-cors": "1.1.0",
"indexof": "0.0.1",
"object-component": "0.0.3",
"parseqs": "0.0.5",
"parseuri": "0.0.5",
"socket.io-parser": "~3.2.0",
"to-array": "0.1.4"
},
"dependencies": {
"debug": {
"version": "3.1.0",
"resolved": "https://registry.npmjs.org/debug/-/debug-3.1.0.tgz",
"integrity": "sha512-OX8XqP7/1a9cqkxYw2yXss15f26NKWBpDXQd0/uK/KPqdQhxbPa994hnzjcE2VqQpDslf55723cKPUOGSmMY3g==",
"requires": {
"ms": "2.0.0"
}
}
}
},
"socket.io-parser": {
"version": "3.2.0",
"resolved": "https://registry.npmjs.org/socket.io-parser/-/socket.io-parser-3.2.0.tgz",
"integrity": "sha512-FYiBx7rc/KORMJlgsXysflWx/RIvtqZbyGLlHZvjfmPTPeuD/I8MaW7cfFrj5tRltICJdgwflhfZ3NVVbVLFQA==",
"requires": {
"component-emitter": "1.2.1",
"debug": "~3.1.0",
"isarray": "2.0.1"
},
"dependencies": {
"debug": {
"version": "3.1.0",
"resolved": "https://registry.npmjs.org/debug/-/debug-3.1.0.tgz",
"integrity": "sha512-OX8XqP7/1a9cqkxYw2yXss15f26NKWBpDXQd0/uK/KPqdQhxbPa994hnzjcE2VqQpDslf55723cKPUOGSmMY3g==",
"requires": {
"ms": "2.0.0"
}
}
}
},
"sqlstring": {
"version": "2.3.1",
"resolved": "https://registry.npmjs.org/sqlstring/-/sqlstring-2.3.1.tgz",
"integrity": "sha1-R1OT/56RR5rqYtyvDKPRSYOn+0A="
},
"statuses": {
"version": "1.4.0",
"resolved": "https://registry.npmjs.org/statuses/-/statuses-1.4.0.tgz",
"integrity": "sha512-zhSCtt8v2NDrRlPQpCNtw/heZLtfUDqxBM1udqikb/Hbk52LK4nQSwr10u77iopCW5LsyHpuXS0GnEc48mLeew=="
},
"string_decoder": {
"version": "1.1.1",
"resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.1.1.tgz",
"integrity": "sha512-n/ShnvDi6FHbbVfviro+WojiFzv+s8MPMHBczVePfUpDJLwoLT0ht1l4YwBCbi8pJAveEEdnkHyPyTP/mzRfwg==",
"requires": {
"safe-buffer": "~5.1.0"
}
},
"to-array": {
"version": "0.1.4",
"resolved": "https://registry.npmjs.org/to-array/-/to-array-0.1.4.tgz",
"integrity": "sha1-F+bBH3PdTz10zaek/zI46a2b+JA="
},
"type-is": {
"version": "1.6.16",
"resolved": "https://registry.npmjs.org/type-is/-/type-is-1.6.16.tgz",
"integrity": "sha512-HRkVv/5qY2G6I8iab9cI7v1bOIdhm94dVjQCPFElW9W+3GeDOSHmy2EBYe4VTApuzolPcmgFTN3ftVJRKR2J9Q==",
"requires": {
"media-typer": "0.3.0",
"mime-types": "~2.1.18"
}
},
"uid-safe": {
"version": "2.1.5",
"resolved": "https://registry.npmjs.org/uid-safe/-/uid-safe-2.1.5.tgz",
"integrity": "sha512-KPHm4VL5dDXKz01UuEd88Df+KzynaohSL9fBh096KWAxSKZQDI2uBrVqtvRM4rwrIrRRKsdLNML/lnaaVSRioA==",
"requires": {
"random-bytes": "~1.0.0"
}
},
"ultron": {
"version": "1.1.1",
"resolved": "https://registry.npmjs.org/ultron/-/ultron-1.1.1.tgz",
"integrity": "sha512-UIEXBNeYmKptWH6z8ZnqTeS8fV74zG0/eRU9VGkpzz+LIJNs8W/zM/L+7ctCkRrgbNnnR0xxw4bKOr0cW0N0Og=="
},
"unpipe": {
"version": "1.0.0",
"resolved": "https://registry.npmjs.org/unpipe/-/unpipe-1.0.0.tgz",
"integrity": "sha1-sr9O6FFKrmFltIF4KdIbLvSZBOw="
},
"util": {
"version": "0.11.0",
"resolved": "https://registry.npmjs.org/util/-/util-0.11.0.tgz",
"integrity": "sha512-5n12uMzKCjvB2HPFHnbQSjaqAa98L5iIXmHrZCLavuZVe0qe/SJGbDGWlpaHk5lnBkWRDO+dRu1/PgmUYKPPTw==",
"requires": {
"inherits": "2.0.3"
}
},
"util-deprecate": {
"version": "1.0.2",
"resolved": "https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.2.tgz",
"integrity": "sha1-RQ1Nyfpw3nMnYvvS1KKJgUGaDM8="
},
"utils-merge": {
"version": "1.0.1",
"resolved": "https://registry.npmjs.org/utils-merge/-/utils-merge-1.0.1.tgz",
"integrity": "sha1-n5VxD1CiZ5R7LMwSR0HBAoQn5xM="
},
"vary": {
"version": "1.1.2",
"resolved": "https://registry.npmjs.org/vary/-/vary-1.1.2.tgz",
"integrity": "sha1-IpnwLG3tMNSllhsLn3RSShj2NPw="
},
"ws": {
"version": "3.3.3",
"resolved": "https://registry.npmjs.org/ws/-/ws-3.3.3.tgz",
"integrity": "sha512-nnWLa/NwZSt4KQJu51MYlCcSQ5g7INpOrOMt4XV8j4dqTXdmlUmSHQ8/oLC069ckre0fRsgfvsKwbTdtKLCDkA==",
"requires": {
"async-limiter": "~1.0.0",
"safe-buffer": "~5.1.0",
"ultron": "~1.1.0"
}
},
"xmlhttprequest-ssl": {
"version": "1.5.5",
"resolved": "https://registry.npmjs.org/xmlhttprequest-ssl/-/xmlhttprequest-ssl-1.5.5.tgz",
"integrity": "sha1-wodrBhaKrcQOV9l+gRkayPQ5iz4="
},
"yeast": {
"version": "0.1.2",
"resolved": "https://registry.npmjs.org/yeast/-/yeast-0.1.2.tgz",
"integrity": "sha1-AI4G2AlDIMNy28L47XagymyKxBk="
}
}
}

15
package.json Executable file
View File

@ -0,0 +1,15 @@
{
"name": "TVPublicitaire",
"version": "0.0.1",
"description": "Application pour TV publicitaire ou d'information à 3 niveau (Haut, moyen, bas) géolocalisé",
"dependencies": {
"body-parser": "^1.18.3",
"cookie-parser": "^1.4.3",
"ejs": "^2.6.1",
"express": "^4.16.3",
"express-session": "^1.15.6",
"mysql": "^2.16.0",
"socket.io": "^2.1.1",
"util": "^0.11.0"
}
}

BIN
static/Icons/H1.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

BIN
static/Icons/h0.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.0 MiB

60
static/Js/index.js Normal file
View File

@ -0,0 +1,60 @@
// jus fot testing :)
console.log("Ok");
//Materialize js component initialization
$(document).ready(function(){
$('select').formSelect();
var socket = io();
$('#send').click(function(e){
e.preventDefault();
var data = {zone:$("#zone").val(),
ListeCom : new Array()};
data.ListeCom.push({
IDPub:-1,
html: $('#summernote').summernote('code'),
level:$("#level").val()
});
socket.emit('Communication', JSON.stringify(data));
//$('#m').val('');
return false;
});
$("#SendAll").click(function(){
var data = {zone:$("#zone").val(),
ListeCom : new Array()};
for(var i=0;i<3;i++)
{
var f = $($("form").get(i));
console.log(f)
data.ListeCom.push({
IDPub:-1,
html:f.children(".com")[0].value,
level:f.children(".lvl")[0].value
});
}
socket.emit('Communication', JSON.stringify(data));
})
socket.on('chat message', function(msg){
//$('#messages').append($('<li>').text(msg));
});
});
//Summer note initialization
$('#summernote').summernote({
placeholder: 'nothing',
tabsize: 2,
height: 100
});

1
static/Js/map.js Normal file
View File

@ -0,0 +1 @@
//Javascript leafletjs initialization

1946
static/Leaflet.Editable.js Executable file

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 101 101"><defs><style>.a,.c{fill:none;}.a{stroke:#fefefe;stroke-width:3px;}.b{stroke:none;}</style></defs><g class="a"><circle class="b" cx="50.5" cy="50.5" r="50.5"/><circle class="c" cx="50.5" cy="50.5" r="49"/></g></svg>

After

Width:  |  Height:  |  Size: 276 B

View File

@ -0,0 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 2189 577"><defs><style>.a{fill:#fefefe;}</style></defs><path class="a" d="M148.227,420.607A238.386,238.386,0,0,1,24.5,455a238.557,238.557,0,0,1-154.35-56.364A239.41,239.41,0,0,1-336.5,517c-101.029,0-187.451-62.564-222.639-151.054A239.047,239.047,0,0,1-745.5,455C-877.772,455-985,347.773-985,215.5S-877.772-24-745.5-24c101.029,0,187.451,62.565,222.639,151.055A239.047,239.047,0,0,1-336.5,38,238.557,238.557,0,0,1-182.151,94.363a239.586,239.586,0,0,1,420.925,14.029,239.788,239.788,0,0,1,240.98-3.776A239.525,239.525,0,0,1,792.187,88.162,238.811,238.811,0,0,1,964.5,15C1096.772,15,1204,122.228,1204,254.5S1096.772,494,964.5,494a238.435,238.435,0,0,1-146.687-50.163,239.627,239.627,0,0,1-289.567,42.545,239.558,239.558,0,0,1-380.02-65.775Z" transform="translate(985 24)"/></svg>

After

Width:  |  Height:  |  Size: 828 B

View File

@ -0,0 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1133.87 533.85"><defs><style>.a{fill:none;stroke:#fefefe;stroke-width:3px;}</style></defs><path class="a" d="M1621.891,512S1805.446,182.495,1953,311.012c93.253,81.223,135.847,264.114,208.665,280.168,41.939,9.247,130.289-87.844,205.335-172.213,203.928-229.261,344.719,172.213,344.719,172.213" transform="matrix(-0.978, -0.208, 0.208, -0.978, 2595.689, 1144.399)"/></svg>

After

Width:  |  Height:  |  Size: 422 B

View File

@ -0,0 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 715.631 852.838"><defs><style>.a{fill:none;stroke:#fefefe;stroke-width:3px;}</style></defs><path class="a" d="M1490.993,460.272s166.3-261.886,296.327-41.241S2051.656,408,2134.148,474.192s89.571,292.355,89.571,292.355" transform="translate(35.956 -1483.227) rotate(64)"/></svg>

After

Width:  |  Height:  |  Size: 329 B

View File

@ -0,0 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 166.652 81.635"><defs><style>.a{fill:none;stroke:#fefefe;stroke-width:3px;}</style></defs><path class="a" d="M1297.178,683.713,1247,761.6l159-10.887Z" transform="translate(-1244.12 -681.665)"/></svg>

After

Width:  |  Height:  |  Size: 252 B

View File

@ -0,0 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 939.13 366.659"><defs><style>.a{fill:#8f20cf;}</style></defs><path class="a" d="M1921,24s-112.391,206.995-285.739,170.8-337.173,60.958-373.366,93.342S1153.313,413.868,1071.4,385.294s-89.532-43.813-89.532-43.813V24Z" transform="translate(-981.87 -24)"/></svg>

After

Width:  |  Height:  |  Size: 311 B

92
static/css/style.css Normal file
View File

@ -0,0 +1,92 @@
@import url('https://fonts.googleapis.com/css?family=K2D:700|Nunito:400,700');
body{
display: flex;
min-height: 100vh;
/*overflow-y: hidden;*/
flex-direction: column;
background-color: #EDEDED;
}
*{
font-family: sans-serif;
}
nav{
background-color: #EDEDED;
box-shadow: none;
}
nav.nav-wrapper{
background-color: white;
}
a.brand-logo,ul li a{
font-family: 'K2D',sans-serif;
color: #FEFEFE;
z-index: 100;
}
div#water-shape{
position: fixed;
width: 600px;
}
div#circle-shape{
position: fixed;
width: 100px;
margin-left: 700px;
margin-top: 100px;
text-align: center;
}
div#curve-shape{
position: fixed;
width: 600px;
margin-left: 800px;
}
div#curve-two-shape{
z-index: -1;
position: fixed;
width: 500px;
margin-top: 180px;
margin-left: -250px;
}
div#triangle-shape{
position: fixed;
width: 150px;
margin-left: 650px;
margin-top: 500px;
}
div#body{
margin-top: 100px;
}
h1.title{
font-family: 'Nunito',sans-serif;
font-weight: 700;
}
p.sub-title{
color: #686666;
font-family: 'Nunito',sans-serif;
}
a.bordered{
border-radius: 30px;
text-decoration: none;
color: white;
font-family: 'Nunito',sans-serif;
}
.center-btn{
text-align: center;
}
footer img{
margin-top: -120px
}
/*CSS for the map page*/
a.brand-logo-map{
font-family: 'K2D',sans-serif;
font-size: 30px;
color: #FEFEFE;
z-index: 100;
}
div#mapid{
height: 420px;
}

View File

@ -0,0 +1,13 @@
<!DOCTYPE html PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html style=""><head>
<meta http-equiv="content-type" content="text/html; charset=windows-1252">
<title>503 Service Unavailable</title>
</head><body style="background: rgb(23, 23, 23) none repeat scroll 0% 0% !important;">
<h1>Service Unavailable</h1>
<p>The server is temporarily unable to service your
request due to maintenance downtime or capacity
problems. Please try again later.</p>
<hr>
<address>Apache/2.4.25 (Debian) Server at nodejs.adriy.be Port 80</address>
</body><link type="text/css" id="dma-temp-global-css" class="dmn-custom-append-data" rel="stylesheet" href="503%20Service%20Unavailable_fichiers/global-new.css"><link type="text/css" id="dma-universal-css" class="dmn-custom-append-data" rel="stylesheet" href="503%20Service%20Unavailable_fichiers/universal.css"></html>

View File

@ -0,0 +1,116 @@
html, html * {
color: rgb(183, 183, 183) !important;}
*{border-color:#a4afaf !important;}
input[type="button"]:hover, input[type="submit"]:not(.color):hover,
input[type="reset"]:hover, button:hover, select:hover {
color: #e9e9e9 !important;
background-color: #303030 !important;
}
html > body[class] a,html > body[class] a[class] {
color: #6091c1 !important;
}
a, a[class] {
color: #6091c1 !important;
}
html > body svg[class] {
fill: rgb(183, 183, 183);
}
html > body svg {
fill: rgb(183, 183, 183);
}
li {
color: #004db3 !important;
}
tr {
color: #653d3d !important;
}
cite {
color: #268 !important;
}
input {
color: #257 !important;
}
em {
color: #DEF !important;
}
ul {
color: #650000 !important;
}
nobr {
color: #4a0505 !important;
}
strong {
color: #9CC !important;
}
b {
color: #7AF !important;
}
a:hover, a:hover *, a:visited:hover, a:visited:hover *, span[onclick]:hover, div[onclick]:hover,
[role="link"]:hover, [role="link"]:hover *, [role="button"]:hover *, [role="menuitem"]:hover, [role="menuitem"]:hover *, .link:hover, .link:hover * {
color: #2a3bb1 !important;
background-color: #0000009c !important;
}
a:visited, a:visited * {
color: #607069 !important
}
a.highlight, a.highlight *, a.active, a.active *, .selected, .selected *, [href="#"] {
color: #DDD !important;
font-weight: bold !important
}
textarea, i, td {
color: #ACE !important;
/* text-shadow: -1px -1px #000, 1px -1px #000, -1px 1px #000, 1px 1px #000 !important; */
}
/* Removed selection color
::-moz-selection {
color: #0FF !important;
background-color: #333 !important;
}
::selection {
color: #0FF !important;
background-color: #333 !important;
}
::-webkit-selection {
color: #0FF !important;
background-color: #333 !important;
}
*/
abbr, progress, time, label, .date {
color: #CDEFC2 !important;
}
mark, code, pre, blockquote, [class*="quote"], td[style*="inset"][class="alt2"] {
background-color: #00090F !important;
}
/* Removed because dropdown icons were having black background unnecessarily.
nav, menu, html body [class*="open"], html body [id*="Dropdown"], html body [id*="dropdown"], html body [class*="Dropdown"],
html body [class*="dropdown"], html body [id*="menu"]:not(SELECT), html body [class*="menu"]:NOT(SELECT), html body [class*="tooltip"],
html body [class*="popup"], html body [id*="popup"], html body [class*="note"], html body [class*="detail"], html body [class*="description"] {
background-color: #232323 !important;
}
*/
[onclick]:hover, [ondblclick]:hover, [onmousedown]:hover {
color: #FEFF97 !important
}

View File

@ -0,0 +1,31 @@
/*html {
background-color: #252525 !important;
background-image: none !important;
}*/
::-webkit-scrollbar {
width: 7px;
height: 7px;
}
::-webkit-scrollbar-button {
width: 0px;
height: 0px;
}
::-webkit-scrollbar-thumb {
background: #525252;
border: 0px none #ffffff;
border-radius: 50px;
}
::-webkit-scrollbar-thumb:hover {
background: #4c4c4c;
}
::-webkit-scrollbar-thumb:active {
background: #404040;
}
::-webkit-scrollbar-track {
background: #272727;
border: 0px dashed #ffffff;
border-radius: 22px;
}
::-webkit-scrollbar-corner {
background: transparent;
}

BIN
static/old/font/summernote.eot Executable file

Binary file not shown.

BIN
static/old/font/summernote.ttf Executable file

Binary file not shown.

BIN
static/old/font/summernote.woff Executable file

Binary file not shown.

View File

@ -0,0 +1,155 @@
(function($) {
$.extend($.summernote.lang, {
'ar-AR': {
font: {
bold: 'عريض',
italic: 'مائل',
underline: 'تحته خط',
clear: 'مسح التنسيق',
height: 'إرتفاع السطر',
name: 'الخط',
strikethrough: 'فى وسطه خط',
subscript: 'مخطوطة',
superscript: 'حرف فوقي',
size: 'الحجم'
},
image: {
image: 'صورة',
insert: 'إضافة صورة',
resizeFull: 'الحجم بالكامل',
resizeHalf: 'تصغير للنصف',
resizeQuarter: 'تصغير للربع',
floatLeft: 'تطيير لليسار',
floatRight: 'تطيير لليمين',
floatNone: 'ثابته',
shapeRounded: 'الشكل: تقريب',
shapeCircle: 'الشكل: دائرة',
shapeThumbnail: 'الشكل: صورة مصغرة',
shapeNone: 'الشكل: لا شيء',
dragImageHere: 'إدرج الصورة هنا',
dropImage: 'إسقاط صورة أو نص',
selectFromFiles: 'حدد ملف',
maximumFileSize: 'الحد الأقصى لحجم الملف',
maximumFileSizeError: 'تم تجاوز الحد الأقصى لحجم الملف',
url: 'رابط الصورة',
remove: 'حذف الصورة',
original: 'Original'
},
video: {
video: 'فيديو',
videoLink: 'رابط الفيديو',
insert: 'إدراج الفيديو',
url: 'رابط الفيديو',
providers: '(YouTube, Vimeo, Vine, Instagram, DailyMotion ou Youku)'
},
link: {
link: 'رابط رابط',
insert: 'إدراج',
unlink: 'حذف الرابط',
edit: 'تعديل',
textToDisplay: 'النص',
url: 'مسار الرابط',
openInNewWindow: 'فتح في نافذة جديدة'
},
table: {
table: 'جدول',
addRowAbove: 'Add row above',
addRowBelow: 'Add row below',
addColLeft: 'Add column left',
addColRight: 'Add column right',
delRow: 'Delete row',
delCol: 'Delete column',
delTable: 'Delete table'
},
hr: {
insert: 'إدراج خط أفقي'
},
style: {
style: 'تنسيق',
p: 'عادي',
blockquote: 'إقتباس',
pre: 'شفيرة',
h1: 'عنوان رئيسي 1',
h2: 'عنوان رئيسي 2',
h3: 'عنوان رئيسي 3',
h4: 'عنوان رئيسي 4',
h5: 'عنوان رئيسي 5',
h6: 'عنوان رئيسي 6'
},
lists: {
unordered: 'قائمة مُنقطة',
ordered: 'قائمة مُرقمة'
},
options: {
help: 'مساعدة',
fullscreen: 'حجم الشاشة بالكامل',
codeview: 'شفيرة المصدر'
},
paragraph: {
paragraph: 'فقرة',
outdent: 'محاذاة للخارج',
indent: 'محاذاة للداخل',
left: 'محاذاة لليسار',
center: 'توسيط',
right: 'محاذاة لليمين',
justify: 'ملئ السطر'
},
color: {
recent: 'تم إستخدامه',
more: 'المزيد',
background: 'لون الخلفية',
foreground: 'لون النص',
transparent: 'شفاف',
setTransparent: 'بدون خلفية',
reset: 'إعادة الضبط',
resetToDefault: 'إعادة الضبط'
},
shortcut: {
shortcuts: 'إختصارات',
close: 'غلق',
textFormatting: 'تنسيق النص',
action: 'Action',
paragraphFormatting: 'تنسيق الفقرة',
documentStyle: 'تنسيق المستند',
extraKeys: 'Extra keys'
},
help: {
'insertParagraph': 'Insert Paragraph',
'undo': 'Undoes the last command',
'redo': 'Redoes the last command',
'tab': 'Tab',
'untab': 'Untab',
'bold': 'Set a bold style',
'italic': 'Set a italic style',
'underline': 'Set a underline style',
'strikethrough': 'Set a strikethrough style',
'removeFormat': 'Clean a style',
'justifyLeft': 'Set left align',
'justifyCenter': 'Set center align',
'justifyRight': 'Set right align',
'justifyFull': 'Set full align',
'insertUnorderedList': 'Toggle unordered list',
'insertOrderedList': 'Toggle ordered list',
'outdent': 'Outdent on current paragraph',
'indent': 'Indent on current paragraph',
'formatPara': 'Change current block\'s format as a paragraph(P tag)',
'formatH1': 'Change current block\'s format as H1',
'formatH2': 'Change current block\'s format as H2',
'formatH3': 'Change current block\'s format as H3',
'formatH4': 'Change current block\'s format as H4',
'formatH5': 'Change current block\'s format as H5',
'formatH6': 'Change current block\'s format as H6',
'insertHorizontalRule': 'Insert horizontal rule',
'linkDialog.show': 'Show Link Dialog'
},
history: {
undo: 'تراجع',
redo: 'إعادة'
},
specialChar: {
specialChar: 'SPECIAL CHARACTERS',
select: 'Select Special characters'
}
}
});
})(jQuery);

View File

@ -0,0 +1,155 @@
(function($) {
$.extend($.summernote.lang, {
'bg-BG': {
font: {
bold: 'Удебелен',
italic: 'Наклонен',
underline: 'Подчертан',
clear: 'Изчисти стиловете',
height: 'Височина',
name: 'Шрифт',
strikethrough: 'Задраскано',
subscript: 'Долен индекс',
superscript: 'Горен индекс',
size: 'Размер на шрифта'
},
image: {
image: 'Изображение',
insert: 'Постави картинка',
resizeFull: 'Цял размер',
resizeHalf: 'Размер на 50%',
resizeQuarter: 'Размер на 25%',
floatLeft: 'Подравни в ляво',
floatRight: 'Подравни в дясно',
floatNone: 'Без подравняване',
shapeRounded: 'Shape: Rounded',
shapeCircle: 'Shape: Circle',
shapeThumbnail: 'Shape: Thumbnail',
shapeNone: 'Shape: None',
dragImageHere: 'Пуснете изображението тук',
dropImage: 'Drop image or Text',
selectFromFiles: 'Изберете файл',
maximumFileSize: 'Maximum file size',
maximumFileSizeError: 'Maximum file size exceeded.',
url: 'URL адрес на изображение',
remove: 'Премахни изображение',
original: 'Original'
},
video: {
video: 'Video',
videoLink: 'Video Link',
insert: 'Insert Video',
url: 'Video URL?',
providers: '(YouTube, Vimeo, Vine, Instagram, DailyMotion or Youku)'
},
link: {
link: 'Връзка',
insert: 'Добави връзка',
unlink: 'Премахни връзка',
edit: 'Промени',
textToDisplay: 'Текст за показване',
url: 'URL адрес',
openInNewWindow: 'Отвори в нов прозорец'
},
table: {
table: 'Таблица',
addRowAbove: 'Add row above',
addRowBelow: 'Add row below',
addColLeft: 'Add column left',
addColRight: 'Add column right',
delRow: 'Delete row',
delCol: 'Delete column',
delTable: 'Delete table'
},
hr: {
insert: 'Добави хоризонтална линия'
},
style: {
style: 'Стил',
p: 'Нормален',
blockquote: 'Цитат',
pre: 'Код',
h1: 'Заглавие 1',
h2: 'Заглавие 2',
h3: 'Заглавие 3',
h4: 'Заглавие 4',
h5: 'Заглавие 5',
h6: 'Заглавие 6'
},
lists: {
unordered: 'Символен списък',
ordered: 'Цифров списък'
},
options: {
help: 'Помощ',
fullscreen: 'На цял екран',
codeview: 'Преглед на код'
},
paragraph: {
paragraph: 'Параграф',
outdent: 'Намаляване на отстъпа',
indent: 'Абзац',
left: 'Подравняване в ляво',
center: 'Център',
right: 'Подравняване в дясно',
justify: 'Разтягане по ширина'
},
color: {
recent: 'Последния избран цвят',
more: 'Още цветове',
background: 'Цвят на фона',
foreground: 'Цвят на шрифта',
transparent: 'Прозрачен',
setTransparent: 'Направете прозрачен',
reset: 'Възстанови',
resetToDefault: 'Възстанови оригиналните'
},
shortcut: {
shortcuts: 'Клавишни комбинации',
close: 'Затвори',
textFormatting: 'Форматиране на текста',
action: 'Действие',
paragraphFormatting: 'Форматиране на параграф',
documentStyle: 'Стил на документа',
extraKeys: 'Extra keys'
},
help: {
'insertParagraph': 'Insert Paragraph',
'undo': 'Undoes the last command',
'redo': 'Redoes the last command',
'tab': 'Tab',
'untab': 'Untab',
'bold': 'Set a bold style',
'italic': 'Set a italic style',
'underline': 'Set a underline style',
'strikethrough': 'Set a strikethrough style',
'removeFormat': 'Clean a style',
'justifyLeft': 'Set left align',
'justifyCenter': 'Set center align',
'justifyRight': 'Set right align',
'justifyFull': 'Set full align',
'insertUnorderedList': 'Toggle unordered list',
'insertOrderedList': 'Toggle ordered list',
'outdent': 'Outdent on current paragraph',
'indent': 'Indent on current paragraph',
'formatPara': 'Change current block\'s format as a paragraph(P tag)',
'formatH1': 'Change current block\'s format as H1',
'formatH2': 'Change current block\'s format as H2',
'formatH3': 'Change current block\'s format as H3',
'formatH4': 'Change current block\'s format as H4',
'formatH5': 'Change current block\'s format as H5',
'formatH6': 'Change current block\'s format as H6',
'insertHorizontalRule': 'Insert horizontal rule',
'linkDialog.show': 'Show Link Dialog'
},
history: {
undo: 'Назад',
redo: 'Напред'
},
specialChar: {
specialChar: 'SPECIAL CHARACTERS',
select: 'Select Special characters'
}
}
});
})(jQuery);

View File

@ -0,0 +1,155 @@
(function($) {
$.extend($.summernote.lang, {
'ca-ES': {
font: {
bold: 'Negreta',
italic: 'Cursiva',
underline: 'Subratllat',
clear: 'Treure estil de lletra',
height: 'Alçada de línia',
name: 'Font',
strikethrough: 'Ratllat',
subscript: 'Subíndex',
superscript: 'Superíndex',
size: 'Mida de lletra'
},
image: {
image: 'Imatge',
insert: 'Inserir imatge',
resizeFull: 'Redimensionar a mida completa',
resizeHalf: 'Redimensionar a la meitat',
resizeQuarter: 'Redimensionar a un quart',
floatLeft: 'Alinear a l\'esquerra',
floatRight: 'Alinear a la dreta',
floatNone: 'No alinear',
shapeRounded: 'Forma: Arrodonit',
shapeCircle: 'Forma: Cercle',
shapeThumbnail: 'Forma: Marc',
shapeNone: 'Forma: Cap',
dragImageHere: 'Arrossegueu una imatge o text aquí',
dropImage: 'Deixa anar aquí una imatge o un text',
selectFromFiles: 'Seleccioneu des dels arxius',
maximumFileSize: 'Mida màxima de l\'arxiu',
maximumFileSizeError: 'La mida màxima de l\'arxiu s\'ha superat.',
url: 'URL de la imatge',
remove: 'Eliminar imatge',
original: 'Original'
},
video: {
video: 'Vídeo',
videoLink: 'Enllaç del vídeo',
insert: 'Inserir vídeo',
url: 'URL del vídeo?',
providers: '(YouTube, Vimeo, Vine, Instagram, DailyMotion o Youku)'
},
link: {
link: 'Enllaç',
insert: 'Inserir enllaç',
unlink: 'Treure enllaç',
edit: 'Editar',
textToDisplay: 'Text per mostrar',
url: 'Cap a quina URL porta l\'enllaç?',
openInNewWindow: 'Obrir en una finestra nova'
},
table: {
table: 'Taula',
addRowAbove: 'Add row above',
addRowBelow: 'Add row below',
addColLeft: 'Add column left',
addColRight: 'Add column right',
delRow: 'Delete row',
delCol: 'Delete column',
delTable: 'Delete table'
},
hr: {
insert: 'Inserir línia horitzontal'
},
style: {
style: 'Estil',
p: 'p',
blockquote: 'Cita',
pre: 'Codi',
h1: 'Títol 1',
h2: 'Títol 2',
h3: 'Títol 3',
h4: 'Títol 4',
h5: 'Títol 5',
h6: 'Títol 6'
},
lists: {
unordered: 'Llista desendreçada',
ordered: 'Llista endreçada'
},
options: {
help: 'Ajut',
fullscreen: 'Pantalla sencera',
codeview: 'Veure codi font'
},
paragraph: {
paragraph: 'Paràgraf',
outdent: 'Menys tabulació',
indent: 'Més tabulació',
left: 'Alinear a l\'esquerra',
center: 'Alinear al mig',
right: 'Alinear a la dreta',
justify: 'Justificar'
},
color: {
recent: 'Últim color',
more: 'Més colors',
background: 'Color de fons',
foreground: 'Color de lletra',
transparent: 'Transparent',
setTransparent: 'Establir transparent',
reset: 'Restablir',
resetToDefault: 'Restablir per defecte'
},
shortcut: {
shortcuts: 'Dreceres de teclat',
close: 'Tancar',
textFormatting: 'Format de text',
action: 'Acció',
paragraphFormatting: 'Format de paràgraf',
documentStyle: 'Estil del document',
extraKeys: 'Tecles adicionals'
},
help: {
'insertParagraph': 'Inserir paràgraf',
'undo': 'Desfer l\'última acció',
'redo': 'Refer l\'última acció',
'tab': 'Tabular',
'untab': 'Eliminar tabulació',
'bold': 'Establir estil negreta',
'italic': 'Establir estil cursiva',
'underline': 'Establir estil subratllat',
'strikethrough': 'Establir estil ratllat',
'removeFormat': 'Netejar estil',
'justifyLeft': 'Alinear a l\'esquerra',
'justifyCenter': 'Alinear al centre',
'justifyRight': 'Alinear a la dreta',
'justifyFull': 'Justificar',
'insertUnorderedList': 'Inserir llista desendreçada',
'insertOrderedList': 'Inserir llista endreçada',
'outdent': 'Reduïr tabulació del paràgraf',
'indent': 'Augmentar tabulació del paràgraf',
'formatPara': 'Canviar l\'estil del bloc com a un paràgraf (etiqueta P)',
'formatH1': 'Canviar l\'estil del bloc com a un H1',
'formatH2': 'Canviar l\'estil del bloc com a un H2',
'formatH3': 'Canviar l\'estil del bloc com a un H3',
'formatH4': 'Canviar l\'estil del bloc com a un H4',
'formatH5': 'Canviar l\'estil del bloc com a un H5',
'formatH6': 'Canviar l\'estil del bloc com a un H6',
'insertHorizontalRule': 'Inserir una línia horitzontal',
'linkDialog.show': 'Mostrar panel d\'enllaços'
},
history: {
undo: 'Desfer',
redo: 'Refer'
},
specialChar: {
specialChar: 'CARÀCTERS ESPECIALS',
select: 'Selecciona caràcters especials'
}
}
});
})(jQuery);

View File

@ -0,0 +1,149 @@
(function($) {
$.extend($.summernote.lang, {
'cs-CZ': {
font: {
bold: 'Tučné',
italic: 'Kurzíva',
underline: 'Podtržené',
clear: 'Odstranit styl písma',
height: 'Výška řádku',
strikethrough: 'Přeškrtnuté',
size: 'Velikost písma'
},
image: {
image: 'Obrázek',
insert: 'Vložit obrázek',
resizeFull: 'Původní velikost',
resizeHalf: 'Poloviční velikost',
resizeQuarter: 'Čtvrteční velikost',
floatLeft: 'Umístit doleva',
floatRight: 'Umístit doprava',
floatNone: 'Neobtékat textem',
shapeRounded: 'Shape: Rounded',
shapeCircle: 'Shape: Circle',
shapeThumbnail: 'Shape: Thumbnail',
shapeNone: 'Shape: None',
dragImageHere: 'Přetáhnout sem obrázek',
dropImage: 'Drop image or Text',
selectFromFiles: 'Vybrat soubor',
url: 'URL obrázku',
remove: 'Remove Image',
original: 'Original'
},
video: {
video: 'Video',
videoLink: 'Odkaz videa',
insert: 'Vložit video',
url: 'URL videa?',
providers: '(YouTube, Vimeo, Vine, Instagram, DailyMotion nebo Youku)'
},
link: {
link: 'Odkaz',
insert: 'Vytvořit odkaz',
unlink: 'Zrušit odkaz',
edit: 'Upravit',
textToDisplay: 'Zobrazovaný text',
url: 'Na jaké URL má tento odkaz vést?',
openInNewWindow: 'Otevřít v novém okně'
},
table: {
table: 'Tabulka',
addRowAbove: 'Add row above',
addRowBelow: 'Add row below',
addColLeft: 'Add column left',
addColRight: 'Add column right',
delRow: 'Delete row',
delCol: 'Delete column',
delTable: 'Delete table'
},
hr: {
insert: 'Vložit vodorovnou čáru'
},
style: {
style: 'Styl',
p: 'Normální',
blockquote: 'Citace',
pre: 'Kód',
h1: 'Nadpis 1',
h2: 'Nadpis 2',
h3: 'Nadpis 3',
h4: 'Nadpis 4',
h5: 'Nadpis 5',
h6: 'Nadpis 6'
},
lists: {
unordered: 'Odrážkový seznam',
ordered: 'Číselný seznam'
},
options: {
help: 'Nápověda',
fullscreen: 'Celá obrazovka',
codeview: 'HTML kód'
},
paragraph: {
paragraph: 'Odstavec',
outdent: 'Zvětšit odsazení',
indent: 'Zmenšit odsazení',
left: 'Zarovnat doleva',
center: 'Zarovnat na střed',
right: 'Zarovnat doprava',
justify: 'Zarovnat oboustranně'
},
color: {
recent: 'Aktuální barva',
more: 'Další barvy',
background: 'Barva pozadí',
foreground: 'Barva písma',
transparent: 'Průhlednost',
setTransparent: 'Nastavit průhlednost',
reset: 'Obnovit',
resetToDefault: 'Obnovit výchozí'
},
shortcut: {
shortcuts: 'Klávesové zkratky',
close: 'Zavřít',
textFormatting: 'Formátování textu',
action: 'Akce',
paragraphFormatting: 'Formátování odstavce',
documentStyle: 'Styl dokumentu'
},
help: {
'insertParagraph': 'Insert Paragraph',
'undo': 'Undoes the last command',
'redo': 'Redoes the last command',
'tab': 'Tab',
'untab': 'Untab',
'bold': 'Set a bold style',
'italic': 'Set a italic style',
'underline': 'Set a underline style',
'strikethrough': 'Set a strikethrough style',
'removeFormat': 'Clean a style',
'justifyLeft': 'Set left align',
'justifyCenter': 'Set center align',
'justifyRight': 'Set right align',
'justifyFull': 'Set full align',
'insertUnorderedList': 'Toggle unordered list',
'insertOrderedList': 'Toggle ordered list',
'outdent': 'Outdent on current paragraph',
'indent': 'Indent on current paragraph',
'formatPara': 'Change current block\'s format as a paragraph(P tag)',
'formatH1': 'Change current block\'s format as H1',
'formatH2': 'Change current block\'s format as H2',
'formatH3': 'Change current block\'s format as H3',
'formatH4': 'Change current block\'s format as H4',
'formatH5': 'Change current block\'s format as H5',
'formatH6': 'Change current block\'s format as H6',
'insertHorizontalRule': 'Insert horizontal rule',
'linkDialog.show': 'Show Link Dialog'
},
history: {
undo: 'Krok vzad',
redo: 'Krok vpřed'
},
specialChar: {
specialChar: 'SPECIAL CHARACTERS',
select: 'Select Special characters'
}
}
});
})(jQuery);

View File

@ -0,0 +1,155 @@
(function($) {
$.extend($.summernote.lang, {
'da-DK': {
font: {
bold: 'Fed',
italic: 'Kursiv',
underline: 'Understreget',
clear: 'Fjern formatering',
height: 'Højde',
name: 'Skrifttype',
strikethrough: 'Gennemstreget',
subscript: 'Sænket skrift',
superscript: 'Hævet skrift',
size: 'Skriftstørrelse'
},
image: {
image: 'Billede',
insert: 'Indsæt billede',
resizeFull: 'Original størrelse',
resizeHalf: 'Halv størrelse',
resizeQuarter: 'Kvart størrelse',
floatLeft: 'Venstrestillet',
floatRight: 'Højrestillet',
floatNone: 'Fjern formatering',
shapeRounded: 'Form: Runde kanter',
shapeCircle: 'Form: Cirkel',
shapeThumbnail: 'Form: Miniature',
shapeNone: 'Form: Ingen',
dragImageHere: 'Træk billede hertil',
dropImage: 'Slip billede',
selectFromFiles: 'Vælg billed-fil',
maximumFileSize: 'Maks fil størrelse',
maximumFileSizeError: 'Filen er større end maks tilladte fil størrelse!',
url: 'Billede URL',
remove: 'Fjern billede',
original: 'Original'
},
video: {
video: 'Video',
videoLink: 'Video Link',
insert: 'Indsæt Video',
url: 'Video URL?',
providers: '(YouTube, Vimeo, Vine, Instagram, DailyMotion eller Youku)'
},
link: {
link: 'Link',
insert: 'Indsæt link',
unlink: 'Fjern link',
edit: 'Rediger',
textToDisplay: 'Visningstekst',
url: 'Hvor skal linket pege hen?',
openInNewWindow: 'Åbn i nyt vindue'
},
table: {
table: 'Tabel',
addRowAbove: 'Add row above',
addRowBelow: 'Add row below',
addColLeft: 'Add column left',
addColRight: 'Add column right',
delRow: 'Delete row',
delCol: 'Delete column',
delTable: 'Delete table'
},
hr: {
insert: 'Indsæt horisontal linje'
},
style: {
style: 'Stil',
p: 'p',
blockquote: 'Citat',
pre: 'Kode',
h1: 'Overskrift 1',
h2: 'Overskrift 2',
h3: 'Overskrift 3',
h4: 'Overskrift 4',
h5: 'Overskrift 5',
h6: 'Overskrift 6'
},
lists: {
unordered: 'Punktopstillet liste',
ordered: 'Nummereret liste'
},
options: {
help: 'Hjælp',
fullscreen: 'Fuld skærm',
codeview: 'HTML-Visning'
},
paragraph: {
paragraph: 'Afsnit',
outdent: 'Formindsk indryk',
indent: 'Forøg indryk',
left: 'Venstrestillet',
center: 'Centreret',
right: 'Højrestillet',
justify: 'Blokjuster'
},
color: {
recent: 'Nyligt valgt farve',
more: 'Flere farver',
background: 'Baggrund',
foreground: 'Forgrund',
transparent: 'Transparent',
setTransparent: 'Sæt transparent',
reset: 'Nulstil',
resetToDefault: 'Gendan standardindstillinger'
},
shortcut: {
shortcuts: 'Genveje',
close: 'Luk',
textFormatting: 'Tekstformatering',
action: 'Handling',
paragraphFormatting: 'Afsnitsformatering',
documentStyle: 'Dokumentstil',
extraKeys: 'Extra keys'
},
help: {
'insertParagraph': 'Insert Paragraph',
'undo': 'Undoes the last command',
'redo': 'Redoes the last command',
'tab': 'Tab',
'untab': 'Untab',
'bold': 'Set a bold style',
'italic': 'Set a italic style',
'underline': 'Set a underline style',
'strikethrough': 'Set a strikethrough style',
'removeFormat': 'Clean a style',
'justifyLeft': 'Set left align',
'justifyCenter': 'Set center align',
'justifyRight': 'Set right align',
'justifyFull': 'Set full align',
'insertUnorderedList': 'Toggle unordered list',
'insertOrderedList': 'Toggle ordered list',
'outdent': 'Outdent on current paragraph',
'indent': 'Indent on current paragraph',
'formatPara': 'Change current block\'s format as a paragraph(P tag)',
'formatH1': 'Change current block\'s format as H1',
'formatH2': 'Change current block\'s format as H2',
'formatH3': 'Change current block\'s format as H3',
'formatH4': 'Change current block\'s format as H4',
'formatH5': 'Change current block\'s format as H5',
'formatH6': 'Change current block\'s format as H6',
'insertHorizontalRule': 'Insert horizontal rule',
'linkDialog.show': 'Show Link Dialog'
},
history: {
undo: 'Fortryd',
redo: 'Annuller fortryd'
},
specialChar: {
specialChar: 'SPECIAL CHARACTERS',
select: 'Select Special characters'
}
}
});
})(jQuery);

View File

@ -0,0 +1,154 @@
(function($) {
$.extend($.summernote.lang, {
'de-DE': {
font: {
bold: 'Fett',
italic: 'Kursiv',
underline: 'Unterstreichen',
clear: 'Zurücksetzen',
height: 'Zeilenhöhe',
name: 'Font Family',
strikethrough: 'Durchgestrichen',
subscript: 'Subscript',
superscript: 'Superscript',
size: 'Schriftgröße'
},
image: {
image: 'Grafik',
insert: 'Grafik einfügen',
resizeFull: 'Originalgröße',
resizeHalf: 'Größe 1/2',
resizeQuarter: 'Größe 1/4',
floatLeft: 'Linksbündig',
floatRight: 'Rechtsbündig',
floatNone: 'Kein Textfluss',
shapeRounded: 'Rahmen: Abgerundet',
shapeCircle: 'Rahmen: Kreisförmig',
shapeThumbnail: 'Rahmen: Thumbnail',
shapeNone: 'Kein Rahmen',
dragImageHere: 'Ziehen Sie ein Bild mit der Maus hierher',
dropImage: 'Drop image or Text',
selectFromFiles: 'Wählen Sie eine Datei aus',
maximumFileSize: 'Maximale Dateigröße',
maximumFileSizeError: 'Maximale Dateigröße überschritten',
url: 'Grafik URL',
remove: 'Grafik entfernen',
original: 'Original'
},
video: {
video: 'Video',
videoLink: 'Video Link',
insert: 'Video einfügen',
url: 'Video URL?',
providers: '(YouTube, Vimeo, Vine, Instagram, DailyMotion oder Youku)'
},
link: {
link: 'Link',
insert: 'Link einfügen',
unlink: 'Link entfernen',
edit: 'Editieren',
textToDisplay: 'Anzeigetext',
url: 'Ziel des Links?',
openInNewWindow: 'In einem neuen Fenster öffnen'
},
table: {
table: 'Tabelle',
addRowAbove: 'Add row above',
addRowBelow: 'Add row below',
addColLeft: 'Add column left',
addColRight: 'Add column right',
delRow: 'Delete row',
delCol: 'Delete column',
delTable: 'Delete table'
},
hr: {
insert: 'Eine horizontale Linie einfügen'
},
style: {
style: 'Stil',
p: 'Normal',
blockquote: 'Zitat',
pre: 'Quellcode',
h1: 'Überschrift 1',
h2: 'Überschrift 2',
h3: 'Überschrift 3',
h4: 'Überschrift 4',
h5: 'Überschrift 5',
h6: 'Überschrift 6'
},
lists: {
unordered: 'Aufzählung',
ordered: 'Nummerierung'
},
options: {
help: 'Hilfe',
fullscreen: 'Vollbild',
codeview: 'HTML-Code anzeigen'
},
paragraph: {
paragraph: 'Absatz',
outdent: 'Einzug vergrößern',
indent: 'Einzug verkleinern',
left: 'Links ausrichten',
center: 'Zentriert ausrichten',
right: 'Rechts ausrichten',
justify: 'Blocksatz'
},
color: {
recent: 'Letzte Farbe',
more: 'Mehr Farben',
background: 'Hintergrundfarbe',
foreground: 'Schriftfarbe',
transparent: 'Transparenz',
setTransparent: 'Transparenz setzen',
reset: 'Zurücksetzen',
resetToDefault: 'Auf Standard zurücksetzen'
},
shortcut: {
shortcuts: 'Tastenkürzel',
close: 'Schließen',
textFormatting: 'Textformatierung',
action: 'Aktion',
paragraphFormatting: 'Absatzformatierung',
documentStyle: 'Dokumentenstil'
},
help: {
'insertParagraph': 'Insert Paragraph',
'undo': 'Undoes the last command',
'redo': 'Redoes the last command',
'tab': 'Tab',
'untab': 'Untab',
'bold': 'Set a bold style',
'italic': 'Set a italic style',
'underline': 'Set a underline style',
'strikethrough': 'Set a strikethrough style',
'removeFormat': 'Clean a style',
'justifyLeft': 'Set left align',
'justifyCenter': 'Set center align',
'justifyRight': 'Set right align',
'justifyFull': 'Set full align',
'insertUnorderedList': 'Toggle unordered list',
'insertOrderedList': 'Toggle ordered list',
'outdent': 'Outdent on current paragraph',
'indent': 'Indent on current paragraph',
'formatPara': 'Change current block\'s format as a paragraph(P tag)',
'formatH1': 'Change current block\'s format as H1',
'formatH2': 'Change current block\'s format as H2',
'formatH3': 'Change current block\'s format as H3',
'formatH4': 'Change current block\'s format as H4',
'formatH5': 'Change current block\'s format as H5',
'formatH6': 'Change current block\'s format as H6',
'insertHorizontalRule': 'Insert horizontal rule',
'linkDialog.show': 'Show Link Dialog'
},
history: {
undo: 'Rückgängig',
redo: 'Wiederholen'
},
specialChar: {
specialChar: 'SPECIAL CHARACTERS',
select: 'Select Special characters'
}
}
});
})(jQuery);

View File

@ -0,0 +1,155 @@
(function($) {
$.extend($.summernote.lang, {
'el-GR': {
font: {
bold: 'Έντονα',
italic: 'Πλάγια',
underline: 'Υπογραμμισμένα',
clear: 'Καθαρισμός',
height: 'Ύψος',
name: 'Γραμματοσειρά',
strikethrough: 'Διεγραμμένα',
subscript: 'Δείκτης',
superscript: 'Εκθέτης',
size: 'Μέγεθος'
},
image: {
image: 'εικόνα',
insert: 'Εισαγωγή',
resizeFull: 'Πλήρες μέγεθος',
resizeHalf: 'Μισό μέγεθος',
resizeQuarter: '1/4 μέγεθος',
floatLeft: 'Μετατόπιση αριστερά',
floatRight: 'Μετατόπιση δεξιά',
floatNone: 'Χωρίς μετατόπιση',
shapeRounded: 'Σχήμα: Στρογγυλεμένο',
shapeCircle: 'Σχήμα: Κύκλος',
shapeThumbnail: 'Σχήμα: Thumbnail',
shapeNone: 'Σχήμα: Κανένα',
dragImageHere: 'Σύρτε την εικόνα εδώ',
dropImage: 'Αφήστε την εικόνα',
selectFromFiles: 'Επιλογή από αρχεία',
maximumFileSize: 'Μέγιστο μέγεθος αρχείου',
maximumFileSizeError: 'Το μέγεθος είναι μεγαλύτερο από το μέγιστο επιτρεπτό.',
url: 'URL',
remove: 'Αφαίρεση',
original: 'Original'
},
link: {
link: 'Σύνδεσμος',
insert: 'Εισαγωγή συνδέσμου',
unlink: 'Αφαίρεση συνδέσμου',
edit: 'Επεξεργασία συνδέσμου',
textToDisplay: 'Κείμενο συνδέσμου',
url: 'URL',
openInNewWindow: 'Άνοιγμα σε νέο παράθυρο'
},
video: {
video: 'Βίντεο',
videoLink: 'Σύνδεσμος Βίντεο',
insert: 'Εισαγωγή',
url: 'URL',
providers: '(YouTube, Vimeo, Vine, Instagram, DailyMotion or Youku)'
},
table: {
table: 'Πίνακας',
addRowAbove: 'Add row above',
addRowBelow: 'Add row below',
addColLeft: 'Add column left',
addColRight: 'Add column right',
delRow: 'Delete row',
delCol: 'Delete column',
delTable: 'Delete table'
},
hr: {
insert: 'Εισαγωγή οριζόντιας γραμμής'
},
style: {
style: 'Στυλ',
normal: 'Κανονικό',
blockquote: 'Παράθεση',
pre: 'Ως έχει',
h1: 'Κεφαλίδα 1',
h2: 'συνδέσμου 2',
h3: 'συνδέσμου 3',
h4: 'συνδέσμου 4',
h5: 'συνδέσμου 5',
h6: 'συνδέσμου 6'
},
lists: {
unordered: 'Αταξινόμητη λίστα',
ordered: 'Ταξινομημένη λίστα'
},
options: {
help: 'Βοήθεια',
fullscreen: 'Πλήρης οθόνη',
codeview: 'Προβολή HTML'
},
paragraph: {
paragraph: 'Παράγραφος',
outdent: 'Μείωση εσοχής',
indent: 'Άυξηση εσοχής',
left: 'Αριστερή στοίχιση',
center: 'Στοίχιση στο κέντρο',
right: 'Δεξιά στοίχιση',
justify: 'Πλήρης στοίχιση'
},
color: {
recent: 'Πρόσφατη επιλογή',
more: 'Περισσότερα',
background: 'Υπόβαθρο',
foreground: 'Μπροστά',
transparent: 'Διαφανές',
setTransparent: 'Επιλογή διαφάνειας',
reset: 'Επαναφορά',
resetToDefault: 'Επαναφορά στις προκαθορισμένες τιμές'
},
shortcut: {
shortcuts: 'Συντομεύσεις',
close: 'Κλείσιμο',
textFormatting: 'Διαμόρφωση κειμένου',
action: 'Ενέργεια',
paragraphFormatting: 'Διαμόρφωση παραγράφου',
documentStyle: 'Στυλ κειμένου',
extraKeys: 'Επιπλέον συντομεύσεις'
},
help: {
'insertParagraph': 'Εισαγωγή παραγράφου',
'undo': 'Αναιρεί την προηγούμενη εντολή',
'redo': 'Επαναλαμβάνει την προηγούμενη εντολή',
'tab': 'Εσοχή',
'untab': 'Αναίρεση εσοχής',
'bold': 'Ορισμός έντονου στυλ',
'italic': 'Ορισμός πλάγιου στυλ',
'underline': 'Ορισμός υπογεγραμμένου στυλ',
'strikethrough': 'Ορισμός διεγραμμένου στυλ',
'removeFormat': 'Αφαίρεση στυλ',
'justifyLeft': 'Ορισμός αριστερής στοίχισης',
'justifyCenter': 'Ορισμός κεντρικής στοίχισης',
'justifyRight': 'Ορισμός δεξιάς στοίχισης',
'justifyFull': 'Ορισμός πλήρους στοίχισης',
'insertUnorderedList': 'Ορισμός μη-ταξινομημένης λίστας',
'insertOrderedList': 'Ορισμός ταξινομημένης λίστας',
'outdent': 'Προεξοχή παραγράφου',
'indent': 'Εσοχή παραγράφου',
'formatPara': 'Αλλαγή της μορφής του τρέχοντος μπλοκ σε παράγραφο (P tag)',
'formatH1': 'Αλλαγή της μορφής του τρέχοντος μπλοκ σε H1',
'formatH2': 'Αλλαγή της μορφής του τρέχοντος μπλοκ σε H2',
'formatH3': 'Αλλαγή της μορφής του τρέχοντος μπλοκ σε H3',
'formatH4': 'Αλλαγή της μορφής του τρέχοντος μπλοκ σε H4',
'formatH5': 'Αλλαγή της μορφής του τρέχοντος μπλοκ σε H5',
'formatH6': 'Αλλαγή της μορφής του τρέχοντος μπλοκ σε H6',
'insertHorizontalRule': 'Εισαγωγή οριζόντιας γραμμής',
'linkDialog.show': 'Εμφάνιση διαλόγου συνδέσμου'
},
history: {
undo: 'Αναίρεση',
redo: 'Επαναληψη'
},
specialChar: {
specialChar: 'SPECIAL CHARACTERS',
select: 'Επιλέξτε ειδικούς χαρακτήρες'
}
}
});
})(jQuery);

View File

@ -0,0 +1,155 @@
(function($) {
$.extend($.summernote.lang, {
'es-ES': {
font: {
bold: 'Negrita',
italic: 'Cursiva',
underline: 'Subrayado',
clear: 'Quitar estilo de fuente',
height: 'Altura de línea',
name: 'Fuente',
strikethrough: 'Tachado',
superscript: 'Superíndice',
subscript: 'Subíndice',
size: 'Tamaño de la fuente'
},
image: {
image: 'Imagen',
insert: 'Insertar imagen',
resizeFull: 'Redimensionar a tamaño completo',
resizeHalf: 'Redimensionar a la mitad',
resizeQuarter: 'Redimensionar a un cuarto',
floatLeft: 'Flotar a la izquierda',
floatRight: 'Flotar a la derecha',
floatNone: 'No flotar',
shapeRounded: 'Forma: Redondeado',
shapeCircle: 'Forma: Círculo',
shapeThumbnail: 'Forma: Marco',
shapeNone: 'Forma: Ninguna',
dragImageHere: 'Arrastrar una imagen o texto aquí',
dropImage: 'Suelta la imagen o texto',
selectFromFiles: 'Seleccionar desde los archivos',
maximumFileSize: 'Tamaño máximo del archivo',
maximumFileSizeError: 'Has superado el tamaño máximo del archivo.',
url: 'URL de la imagen',
remove: 'Eliminar imagen',
original: 'Original'
},
video: {
video: 'Vídeo',
videoLink: 'Link del vídeo',
insert: 'Insertar vídeo',
url: '¿URL del vídeo?',
providers: '(YouTube, Vimeo, Vine, Instagram, DailyMotion o Youku)'
},
link: {
link: 'Link',
insert: 'Insertar link',
unlink: 'Quitar link',
edit: 'Editar',
textToDisplay: 'Texto para mostrar',
url: '¿Hacia que URL lleva el link?',
openInNewWindow: 'Abrir en una nueva ventana'
},
table: {
table: 'Tabla',
addRowAbove: 'Añadir fila encima',
addRowBelow: 'Añadir fila debajo',
addColLeft: 'Añadir columna izquierda',
addColRight: 'Añadir columna derecha',
delRow: 'Borrar fila',
delCol: 'Eliminar columna',
delTable: 'Eliminar tabla'
},
hr: {
insert: 'Insertar línea horizontal'
},
style: {
style: 'Estilo',
p: 'p',
blockquote: 'Cita',
pre: 'Código',
h1: 'Título 1',
h2: 'Título 2',
h3: 'Título 3',
h4: 'Título 4',
h5: 'Título 5',
h6: 'Título 6'
},
lists: {
unordered: 'Lista desordenada',
ordered: 'Lista ordenada'
},
options: {
help: 'Ayuda',
fullscreen: 'Pantalla completa',
codeview: 'Ver código fuente'
},
paragraph: {
paragraph: 'Párrafo',
outdent: 'Menos tabulación',
indent: 'Más tabulación',
left: 'Alinear a la izquierda',
center: 'Alinear al centro',
right: 'Alinear a la derecha',
justify: 'Justificar'
},
color: {
recent: 'Último color',
more: 'Más colores',
background: 'Color de fondo',
foreground: 'Color de fuente',
transparent: 'Transparente',
setTransparent: 'Establecer transparente',
reset: 'Restaurar',
resetToDefault: 'Restaurar por defecto'
},
shortcut: {
shortcuts: 'Atajos de teclado',
close: 'Cerrar',
textFormatting: 'Formato de texto',
action: 'Acción',
paragraphFormatting: 'Formato de párrafo',
documentStyle: 'Estilo de documento',
extraKeys: 'Teclas adicionales'
},
help: {
'insertParagraph': 'Insertar párrafo',
'undo': 'Deshacer última acción',
'redo': 'Rehacer última acción',
'tab': 'Tabular',
'untab': 'Eliminar tabulación',
'bold': 'Establecer estilo negrita',
'italic': 'Establecer estilo cursiva',
'underline': 'Establecer estilo subrayado',
'strikethrough': 'Establecer estilo tachado',
'removeFormat': 'Limpiar estilo',
'justifyLeft': 'Alinear a la izquierda',
'justifyCenter': 'Alinear al centro',
'justifyRight': 'Alinear a la derecha',
'justifyFull': 'Justificar',
'insertUnorderedList': 'Insertar lista desordenada',
'insertOrderedList': 'Insertar lista ordenada',
'outdent': 'Reducir tabulación del párrafo',
'indent': 'Aumentar tabulación del párrafo',
'formatPara': 'Cambiar estilo del bloque a párrafo (etiqueta P)',
'formatH1': 'Cambiar estilo del bloque a H1',
'formatH2': 'Cambiar estilo del bloque a H2',
'formatH3': 'Cambiar estilo del bloque a H3',
'formatH4': 'Cambiar estilo del bloque a H4',
'formatH5': 'Cambiar estilo del bloque a H5',
'formatH6': 'Cambiar estilo del bloque a H6',
'insertHorizontalRule': 'Insertar línea horizontal',
'linkDialog.show': 'Mostrar panel enlaces'
},
history: {
undo: 'Deshacer',
redo: 'Rehacer'
},
specialChar: {
specialChar: 'CARACTERES ESPECIALES',
select: 'Selecciona Caracteres especiales'
}
}
});
})(jQuery);

View File

@ -0,0 +1,154 @@
(function($) {
$.extend($.summernote.lang, {
'es-EU': {
font: {
bold: 'Lodia',
italic: 'Etzana',
underline: 'Azpimarratua',
clear: 'Estiloa kendu',
height: 'Lerro altuera',
name: 'Tipografia',
strikethrough: 'Marratua',
subscript: 'Subscript',
superscript: 'Superscript',
size: 'Letren neurria'
},
image: {
image: 'Irudia',
insert: 'Irudi bat txertatu',
resizeFull: 'Jatorrizko neurrira aldatu',
resizeHalf: 'Neurria erdira aldatu',
resizeQuarter: 'Neurria laurdenera aldatu',
floatLeft: 'Ezkerrean kokatu',
floatRight: 'Eskuinean kokatu',
floatNone: 'Kokapenik ez ezarri',
shapeRounded: 'Shape: Rounded',
shapeCircle: 'Shape: Circle',
shapeThumbnail: 'Shape: Thumbnail',
shapeNone: 'Shape: None',
dragImageHere: 'Irudi bat ezarri hemen',
dropImage: 'Drop image or Text',
selectFromFiles: 'Zure fitxategi bat aukeratu',
maximumFileSize: 'Maximum file size',
maximumFileSizeError: 'Maximum file size exceeded.',
url: 'Irudiaren URL helbidea',
remove: 'Remove Image',
original: 'Original'
},
video: {
video: 'Bideoa',
videoLink: 'Bideorako esteka',
insert: 'Bideo berri bat txertatu',
url: 'Bideoaren URL helbidea',
providers: '(YouTube, Vimeo, Vine, Instagram edo DailyMotion)'
},
link: {
link: 'Esteka',
insert: 'Esteka bat txertatu',
unlink: 'Esteka ezabatu',
edit: 'Editatu',
textToDisplay: 'Estekaren testua',
url: 'Estekaren URL helbidea',
openInNewWindow: 'Leiho berri batean ireki'
},
table: {
table: 'Taula',
addRowAbove: 'Add row above',
addRowBelow: 'Add row below',
addColLeft: 'Add column left',
addColRight: 'Add column right',
delRow: 'Delete row',
delCol: 'Delete column',
delTable: 'Delete table'
},
hr: {
insert: 'Marra horizontala txertatu'
},
style: {
style: 'Estiloa',
p: 'p',
blockquote: 'Aipamena',
pre: 'Kodea',
h1: '1. izenburua',
h2: '2. izenburua',
h3: '3. izenburua',
h4: '4. izenburua',
h5: '5. izenburua',
h6: '6. izenburua'
},
lists: {
unordered: 'Ordenatu gabeko zerrenda',
ordered: 'Zerrenda ordenatua'
},
options: {
help: 'Laguntza',
fullscreen: 'Pantaila osoa',
codeview: 'Kodea ikusi'
},
paragraph: {
paragraph: 'Paragrafoa',
outdent: 'Koska txikiagoa',
indent: 'Koska handiagoa',
left: 'Ezkerrean kokatu',
center: 'Erdian kokatu',
right: 'Eskuinean kokatu',
justify: 'Justifikatu'
},
color: {
recent: 'Azken kolorea',
more: 'Kolore gehiago',
background: 'Atzeko planoa',
foreground: 'Aurreko planoa',
transparent: 'Gardena',
setTransparent: 'Gardendu',
reset: 'Lehengoratu',
resetToDefault: 'Berrezarri lehenetsia'
},
shortcut: {
shortcuts: 'Lasterbideak',
close: 'Itxi',
textFormatting: 'Testuaren formatua',
action: 'Ekintza',
paragraphFormatting: 'Paragrafoaren formatua',
documentStyle: 'Dokumentuaren estiloa'
},
help: {
'insertParagraph': 'Insert Paragraph',
'undo': 'Undoes the last command',
'redo': 'Redoes the last command',
'tab': 'Tab',
'untab': 'Untab',
'bold': 'Set a bold style',
'italic': 'Set a italic style',
'underline': 'Set a underline style',
'strikethrough': 'Set a strikethrough style',
'removeFormat': 'Clean a style',
'justifyLeft': 'Set left align',
'justifyCenter': 'Set center align',
'justifyRight': 'Set right align',
'justifyFull': 'Set full align',
'insertUnorderedList': 'Toggle unordered list',
'insertOrderedList': 'Toggle ordered list',
'outdent': 'Outdent on current paragraph',
'indent': 'Indent on current paragraph',
'formatPara': 'Change current block\'s format as a paragraph(P tag)',
'formatH1': 'Change current block\'s format as H1',
'formatH2': 'Change current block\'s format as H2',
'formatH3': 'Change current block\'s format as H3',
'formatH4': 'Change current block\'s format as H4',
'formatH5': 'Change current block\'s format as H5',
'formatH6': 'Change current block\'s format as H6',
'insertHorizontalRule': 'Insert horizontal rule',
'linkDialog.show': 'Show Link Dialog'
},
history: {
undo: 'Desegin',
redo: 'Berregin'
},
specialChar: {
specialChar: 'SPECIAL CHARACTERS',
select: 'Select Special characters'
}
}
});
})(jQuery);

View File

@ -0,0 +1,155 @@
(function($) {
$.extend($.summernote.lang, {
'fa-IR': {
font: {
bold: 'درشت',
italic: 'خمیده',
underline: 'میان خط',
clear: 'پاک کردن فرمت فونت',
height: 'فاصله ی خطی',
name: 'اسم فونت',
strikethrough: 'Strike',
subscript: 'Subscript',
superscript: 'Superscript',
size: 'اندازه ی فونت'
},
image: {
image: 'تصویر',
insert: 'وارد کردن تصویر',
resizeFull: 'تغییر به اندازه ی کامل',
resizeHalf: 'تغییر به اندازه نصف',
resizeQuarter: 'تغییر به اندازه یک چهارم',
floatLeft: 'چسباندن به چپ',
floatRight: 'چسباندن به راست',
floatNone: 'بدون چسبندگی',
shapeRounded: 'Shape: Rounded',
shapeCircle: 'Shape: Circle',
shapeThumbnail: 'Shape: Thumbnail',
shapeNone: 'Shape: None',
dragImageHere: 'یک تصویر را اینجا بکشید',
dropImage: 'Drop image or Text',
selectFromFiles: 'فایل ها را انتخاب کنید',
maximumFileSize: 'Maximum file size',
maximumFileSizeError: 'Maximum file size exceeded.',
url: 'آدرس تصویر',
remove: 'حذف تصویر',
original: 'Original'
},
video: {
video: 'ویدیو',
videoLink: 'لینک ویدیو',
insert: 'افزودن ویدیو',
url: 'آدرس ویدیو ؟',
providers: '(YouTube, Vimeo, Vine, Instagram, DailyMotion یا Youku)'
},
link: {
link: 'لینک',
insert: 'اضافه کردن لینک',
unlink: 'حذف لینک',
edit: 'ویرایش',
textToDisplay: 'متن جهت نمایش',
url: 'این لینک به چه آدرسی باید برود ؟',
openInNewWindow: 'در یک پنجره ی جدید باز شود'
},
table: {
table: 'جدول',
addRowAbove: 'Add row above',
addRowBelow: 'Add row below',
addColLeft: 'Add column left',
addColRight: 'Add column right',
delRow: 'Delete row',
delCol: 'Delete column',
delTable: 'Delete table'
},
hr: {
insert: 'افزودن خط افقی'
},
style: {
style: 'استیل',
p: 'نرمال',
blockquote: 'نقل قول',
pre: 'کد',
h1: 'سرتیتر 1',
h2: 'سرتیتر 2',
h3: 'سرتیتر 3',
h4: 'سرتیتر 4',
h5: 'سرتیتر 5',
h6: 'سرتیتر 6'
},
lists: {
unordered: 'لیست غیر ترتیبی',
ordered: 'لیست ترتیبی'
},
options: {
help: 'راهنما',
fullscreen: 'نمایش تمام صفحه',
codeview: 'مشاهده ی کد'
},
paragraph: {
paragraph: 'پاراگراف',
outdent: 'کاهش تو رفتگی',
indent: 'افزایش تو رفتگی',
left: 'چپ چین',
center: 'میان چین',
right: 'راست چین',
justify: 'بلوک چین'
},
color: {
recent: 'رنگ اخیرا استفاده شده',
more: 'رنگ بیشتر',
background: 'رنگ پس زمینه',
foreground: 'رنگ متن',
transparent: 'بی رنگ',
setTransparent: 'تنظیم حالت بی رنگ',
reset: 'بازنشاندن',
resetToDefault: 'حالت پیش فرض'
},
shortcut: {
shortcuts: 'دکمه های میان بر',
close: 'بستن',
textFormatting: 'فرمت متن',
action: 'عملیات',
paragraphFormatting: 'فرمت پاراگراف',
documentStyle: 'استیل سند',
extraKeys: 'Extra keys'
},
help: {
'insertParagraph': 'Insert Paragraph',
'undo': 'Undoes the last command',
'redo': 'Redoes the last command',
'tab': 'Tab',
'untab': 'Untab',
'bold': 'Set a bold style',
'italic': 'Set a italic style',
'underline': 'Set a underline style',
'strikethrough': 'Set a strikethrough style',
'removeFormat': 'Clean a style',
'justifyLeft': 'Set left align',
'justifyCenter': 'Set center align',
'justifyRight': 'Set right align',
'justifyFull': 'Set full align',
'insertUnorderedList': 'Toggle unordered list',
'insertOrderedList': 'Toggle ordered list',
'outdent': 'Outdent on current paragraph',
'indent': 'Indent on current paragraph',
'formatPara': 'Change current block\'s format as a paragraph(P tag)',
'formatH1': 'Change current block\'s format as H1',
'formatH2': 'Change current block\'s format as H2',
'formatH3': 'Change current block\'s format as H3',
'formatH4': 'Change current block\'s format as H4',
'formatH5': 'Change current block\'s format as H5',
'formatH6': 'Change current block\'s format as H6',
'insertHorizontalRule': 'Insert horizontal rule',
'linkDialog.show': 'Show Link Dialog'
},
history: {
undo: 'واچیدن',
redo: 'بازچیدن'
},
specialChar: {
specialChar: 'SPECIAL CHARACTERS',
select: 'Select Special characters'
}
}
});
})(jQuery);

View File

@ -0,0 +1,153 @@
(function($) {
$.extend($.summernote.lang, {
'fi-FI': {
font: {
bold: 'Lihavoitu',
italic: 'Kursiivi',
underline: 'Alleviivaa',
clear: 'Tyhjennä muotoilu',
height: 'Riviväli',
name: 'Kirjasintyyppi',
strikethrough: 'Yliviivaus',
subscript: 'Subscript',
superscript: 'Superscript',
size: 'Kirjasinkoko'
},
image: {
image: 'Kuva',
insert: 'Lisää kuva',
resizeFull: 'Koko leveys',
resizeHalf: 'Puolikas leveys',
resizeQuarter: 'Neljäsosa leveys',
floatLeft: 'Sijoita vasemmalle',
floatRight: 'Sijoita oikealle',
floatNone: 'Ei sijoitusta',
shapeRounded: 'Shape: Rounded',
shapeCircle: 'Shape: Circle',
shapeThumbnail: 'Shape: Thumbnail',
shapeNone: 'Shape: None',
dragImageHere: 'Vedä kuva tähän',
selectFromFiles: 'Valitse tiedostoista',
maximumFileSize: 'Maximum file size',
maximumFileSizeError: 'Maximum file size exceeded.',
url: 'URL-osoitteen mukaan',
remove: 'Poista kuva',
original: 'Original'
},
video: {
video: 'Video',
videoLink: 'Linkki videoon',
insert: 'Lisää video',
url: 'Videon URL-osoite?',
providers: '(YouTube, Vimeo, Vine, Instagram, DailyMotion tai Youku)'
},
link: {
link: 'Linkki',
insert: 'Lisää linkki',
unlink: 'Poista linkki',
edit: 'Muokkaa',
textToDisplay: 'Näytettävä teksti',
url: 'Linkin URL-osoite?',
openInNewWindow: 'Avaa uudessa ikkunassa'
},
table: {
table: 'Taulukko',
addRowAbove: 'Add row above',
addRowBelow: 'Add row below',
addColLeft: 'Add column left',
addColRight: 'Add column right',
delRow: 'Delete row',
delCol: 'Delete column',
delTable: 'Delete table'
},
hr: {
insert: 'Lisää vaakaviiva'
},
style: {
style: 'Tyyli',
p: 'Normaali',
blockquote: 'Lainaus',
pre: 'Koodi',
h1: 'Otsikko 1',
h2: 'Otsikko 2',
h3: 'Otsikko 3',
h4: 'Otsikko 4',
h5: 'Otsikko 5',
h6: 'Otsikko 6'
},
lists: {
unordered: 'Luettelomerkitty luettelo',
ordered: 'Numeroitu luettelo'
},
options: {
help: 'Ohje',
fullscreen: 'Koko näyttö',
codeview: 'HTML-näkymä'
},
paragraph: {
paragraph: 'Kappale',
outdent: 'Pienennä sisennystä',
indent: 'Suurenna sisennystä',
left: 'Tasaus vasemmalle',
center: 'Keskitä',
right: 'Tasaus oikealle',
justify: 'Tasaa'
},
color: {
recent: 'Viimeisin väri',
more: 'Lisää värejä',
background: 'Taustaväri',
foreground: 'Tekstin väri',
transparent: 'Läpinäkyvä',
setTransparent: 'Aseta läpinäkyväksi',
reset: 'Palauta',
resetToDefault: 'Palauta oletusarvoksi'
},
shortcut: {
shortcuts: 'Pikanäppäimet',
close: 'Sulje',
textFormatting: 'Tekstin muotoilu',
action: 'Toiminto',
paragraphFormatting: 'Kappaleen muotoilu',
documentStyle: 'Asiakirjan tyyli'
},
help: {
'insertParagraph': 'Insert Paragraph',
'undo': 'Undoes the last command',
'redo': 'Redoes the last command',
'tab': 'Tab',
'untab': 'Untab',
'bold': 'Set a bold style',
'italic': 'Set a italic style',
'underline': 'Set a underline style',
'strikethrough': 'Set a strikethrough style',
'removeFormat': 'Clean a style',
'justifyLeft': 'Set left align',
'justifyCenter': 'Set center align',
'justifyRight': 'Set right align',
'justifyFull': 'Set full align',
'insertUnorderedList': 'Toggle unordered list',
'insertOrderedList': 'Toggle ordered list',
'outdent': 'Outdent on current paragraph',
'indent': 'Indent on current paragraph',
'formatPara': 'Change current block\'s format as a paragraph(P tag)',
'formatH1': 'Change current block\'s format as H1',
'formatH2': 'Change current block\'s format as H2',
'formatH3': 'Change current block\'s format as H3',
'formatH4': 'Change current block\'s format as H4',
'formatH5': 'Change current block\'s format as H5',
'formatH6': 'Change current block\'s format as H6',
'insertHorizontalRule': 'Insert horizontal rule',
'linkDialog.show': 'Show Link Dialog'
},
history: {
undo: 'Kumoa',
redo: 'Toista'
},
specialChar: {
specialChar: 'SPECIAL CHARACTERS',
select: 'Select Special characters'
}
}
});
})(jQuery);

View File

@ -0,0 +1,155 @@
(function($) {
$.extend($.summernote.lang, {
'fr-FR': {
font: {
bold: 'Gras',
italic: 'Italique',
underline: 'Souligné',
clear: 'Effacer la mise en forme',
height: 'Interligne',
name: 'Famille de police',
strikethrough: 'Barré',
superscript: 'Exposant',
subscript: 'Indice',
size: 'Taille de police'
},
image: {
image: 'Image',
insert: 'Insérer une image',
resizeFull: 'Taille originale',
resizeHalf: 'Redimensionner à 50 %',
resizeQuarter: 'Redimensionner à 25 %',
floatLeft: 'Aligné à gauche',
floatRight: 'Aligné à droite',
floatNone: 'Pas d\'alignement',
shapeRounded: 'Forme: Rectangle arrondie',
shapeCircle: 'Forme: Cercle',
shapeThumbnail: 'Forme: Vignette',
shapeNone: 'Forme: Aucune',
dragImageHere: 'Faites glisser une image ou un texte dans ce cadre',
dropImage: 'Lachez l\'image ou le texte',
selectFromFiles: 'Choisir un fichier',
maximumFileSize: 'Taille de fichier maximale',
maximumFileSizeError: 'Taille maximale du fichier dépassée',
url: 'URL de l\'image',
remove: 'Supprimer l\'image',
original: 'Original'
},
video: {
video: 'Vidéo',
videoLink: 'Lien vidéo',
insert: 'Insérer une vidéo',
url: 'URL de la vidéo',
providers: '(YouTube, Vimeo, Vine, Instagram, DailyMotion ou Youku)'
},
link: {
link: 'Lien',
insert: 'Insérer un lien',
unlink: 'Supprimer un lien',
edit: 'Modifier',
textToDisplay: 'Texte à afficher',
url: 'URL du lien',
openInNewWindow: 'Ouvrir dans une nouvelle fenêtre'
},
table: {
table: 'Tableau',
addRowAbove: 'Ajouter une ligne au-dessus',
addRowBelow: 'Ajouter une ligne en dessous',
addColLeft: 'Ajouter une colonne à gauche',
addColRight: 'Ajouter une colonne à droite',
delRow: 'Supprimer la ligne',
delCol: 'Supprimer la colonne',
delTable: 'Supprimer le tableau'
},
hr: {
insert: 'Insérer une ligne horizontale'
},
style: {
style: 'Style',
p: 'Normal',
blockquote: 'Citation',
pre: 'Code source',
h1: 'Titre 1',
h2: 'Titre 2',
h3: 'Titre 3',
h4: 'Titre 4',
h5: 'Titre 5',
h6: 'Titre 6'
},
lists: {
unordered: 'Liste à puces',
ordered: 'Liste numérotée'
},
options: {
help: 'Aide',
fullscreen: 'Plein écran',
codeview: 'Afficher le code HTML'
},
paragraph: {
paragraph: 'Paragraphe',
outdent: 'Diminuer le retrait',
indent: 'Augmenter le retrait',
left: 'Aligner à gauche',
center: 'Centrer',
right: 'Aligner à droite',
justify: 'Justifier'
},
color: {
recent: 'Dernière couleur sélectionnée',
more: 'Plus de couleurs',
background: 'Couleur de fond',
foreground: 'Couleur de police',
transparent: 'Transparent',
setTransparent: 'Définir la transparence',
reset: 'Restaurer',
resetToDefault: 'Restaurer la couleur par défaut'
},
shortcut: {
shortcuts: 'Raccourcis',
close: 'Fermer',
textFormatting: 'Mise en forme du texte',
action: 'Action',
paragraphFormatting: 'Mise en forme des paragraphes',
documentStyle: 'Style du document',
extraKeys: 'Touches supplémentaires'
},
help: {
'insertParagraph': 'Insérer paragraphe',
'undo': 'Défaire la dernière commande',
'redo': 'Refaire la dernière commande',
'tab': 'Tabulation',
'untab': 'Tabulation arrière',
'bold': 'Mettre en caractère gras',
'italic': 'Mettre en italique',
'underline': 'Mettre en souligné',
'strikethrough': 'Mettre en texte barré',
'removeFormat': 'Nettoyer les styles',
'justifyLeft': 'Aligner à gauche',
'justifyCenter': 'Centrer',
'justifyRight': 'Aligner à droite',
'justifyFull': 'Justifier à gauche et à droite',
'insertUnorderedList': 'Basculer liste à puces',
'insertOrderedList': 'Basculer liste ordonnée',
'outdent': 'Diminuer le retrait du paragraphe',
'indent': 'Augmenter le retrait du paragraphe',
'formatPara': 'Changer le paragraphe en cours en normal (P)',
'formatH1': 'Changer le paragraphe en cours en entête H1',
'formatH2': 'Changer le paragraphe en cours en entête H2',
'formatH3': 'Changer le paragraphe en cours en entête H3',
'formatH4': 'Changer le paragraphe en cours en entête H4',
'formatH5': 'Changer le paragraphe en cours en entête H5',
'formatH6': 'Changer le paragraphe en cours en entête H6',
'insertHorizontalRule': 'Insérer séparation horizontale',
'linkDialog.show': 'Afficher fenêtre d\'hyperlien'
},
history: {
undo: 'Annuler la dernière action',
redo: 'Restaurer la dernière action annulée'
},
specialChar: {
specialChar: 'CARACTÈRES SPÉCIAUX',
select: 'Choisir des caractères spéciaux'
}
}
});
})(jQuery);

View File

@ -0,0 +1,155 @@
(function($) {
$.extend($.summernote.lang, {
'gl-ES': {
font: {
bold: 'Negrita',
italic: 'Cursiva',
underline: 'Subliñado',
clear: 'Quitar estilo de fonte',
height: 'Altura de liña',
name: 'Fonte',
strikethrough: 'Riscado',
superscript: 'Superíndice',
subscript: 'Subíndice',
size: 'Tamaño da fonte'
},
image: {
image: 'Imaxe',
insert: 'Inserir imaxe',
resizeFull: 'Redimensionar a tamaño completo',
resizeHalf: 'Redimensionar á metade',
resizeQuarter: 'Redimensionar a un cuarto',
floatLeft: 'Flotar á esquerda',
floatRight: 'Flotar á dereita',
floatNone: 'Non flotar',
shapeRounded: 'Forma: Redondeado',
shapeCircle: 'Forma: Círculo',
shapeThumbnail: 'Forma: Marco',
shapeNone: 'Forma: Ningunha',
dragImageHere: 'Arrastrar unha imaxe ou texto aquí',
dropImage: 'Solta a imaxe ou texto',
selectFromFiles: 'Seleccionar desde os arquivos',
maximumFileSize: 'Tamaño máximo do arquivo',
maximumFileSizeError: 'Superaches o tamaño máximo do arquivo.',
url: 'URL da imaxe',
remove: 'Eliminar imaxe',
original: 'Original'
},
video: {
video: 'Vídeo',
videoLink: 'Ligazón do vídeo',
insert: 'Insertar vídeo',
url: 'URL do vídeo?',
providers: '(YouTube, Vimeo, Vine, Instagram, DailyMotion, o Youku)'
},
link: {
link: 'Ligazón',
insert: 'Inserir Ligazón',
unlink: 'Quitar Ligazón',
edit: 'Editar',
textToDisplay: 'Texto para amosar',
url: 'Cara a que URL leva a ligazón?',
openInNewWindow: 'Abrir nunha nova xanela'
},
table: {
table: 'Táboa',
addRowAbove: 'Add row above',
addRowBelow: 'Add row below',
addColLeft: 'Add column left',
addColRight: 'Add column right',
delRow: 'Delete row',
delCol: 'Delete column',
delTable: 'Delete table'
},
hr: {
insert: 'Inserir liña horizontal'
},
style: {
style: 'Estilo',
normal: 'Normal',
blockquote: 'Cita',
pre: 'Código',
h1: 'Título 1',
h2: 'Título 2',
h3: 'Título 3',
h4: 'Título 4',
h5: 'Título 5',
h6: 'Título 6'
},
lists: {
unordered: 'Lista desordenada',
ordered: 'Lista ordenada'
},
options: {
help: 'Axuda',
fullscreen: 'Pantalla completa',
codeview: 'Ver código fonte'
},
paragraph: {
paragraph: 'Parágrafo',
outdent: 'Menos tabulación',
indent: 'Máis tabulación',
left: 'Aliñar á esquerda',
center: 'Aliñar ao centro',
right: 'Aliñar á dereita',
justify: 'Xustificar'
},
color: {
recent: 'Última cor',
more: 'Máis cores',
background: 'Cor de fondo',
foreground: 'Cor de fuente',
transparent: 'Transparente',
setTransparent: 'Establecer transparente',
reset: 'Restaurar',
resetToDefault: 'Restaurar por defecto'
},
shortcut: {
shortcuts: 'Atallos de teclado',
close: 'Pechar',
textFormatting: 'Formato de texto',
action: 'Acción',
paragraphFormatting: 'Formato de parágrafo',
documentStyle: 'Estilo de documento',
extraKeys: 'Teclas adicionais'
},
help: {
'insertParagraph': 'Inserir parágrafo',
'undo': 'Desfacer última acción',
'redo': 'Refacer última acción',
'tab': 'Tabular',
'untab': 'Eliminar tabulación',
'bold': 'Establecer estilo negrita',
'italic': 'Establecer estilo cursiva',
'underline': 'Establecer estilo subliñado',
'strikethrough': 'Establecer estilo riscado',
'removeFormat': 'Limpar estilo',
'justifyLeft': 'Aliñar á esquerda',
'justifyCenter': 'Aliñar ao centro',
'justifyRight': 'Aliñar á dereita',
'justifyFull': 'Xustificar',
'insertUnorderedList': 'Inserir lista desordenada',
'insertOrderedList': 'Inserir lista ordenada',
'outdent': 'Reducir tabulación do parágrafo',
'indent': 'Aumentar tabulación do parágrafo',
'formatPara': 'Mudar estilo do bloque a parágrafo (etiqueta P)',
'formatH1': 'Mudar estilo do bloque a H1',
'formatH2': 'Mudar estilo do bloque a H2',
'formatH3': 'Mudar estilo do bloque a H3',
'formatH4': 'Mudar estilo do bloque a H4',
'formatH5': 'Mudar estilo do bloque a H5',
'formatH6': 'Mudar estilo do bloque a H6',
'insertHorizontalRule': 'Inserir liña horizontal',
'linkDialog.show': 'Amosar panel ligazóns'
},
history: {
undo: 'Desfacer',
redo: 'Refacer'
},
specialChar: {
specialChar: 'CARACTERES ESPECIAIS',
select: 'Selecciona Caracteres especiais'
}
}
});
})(jQuery);

View File

@ -0,0 +1,155 @@
(function($) {
$.extend($.summernote.lang, {
'he-IL': {
font: {
bold: 'מודגש',
italic: 'נטוי',
underline: 'קו תחתון',
clear: 'נקה עיצוב',
height: 'גובה',
name: 'גופן',
strikethrough: 'קו חוצה',
subscript: 'כתב תחתי',
superscript: 'כתב עילי',
size: 'גודל גופן'
},
image: {
image: 'תמונה',
insert: 'הוסף תמונה',
resizeFull: 'גודל מלא',
resizeHalf: 'להקטין לחצי',
resizeQuarter: 'להקטין לרבע',
floatLeft: 'יישור לשמאל',
floatRight: 'יישור לימין',
floatNone: 'ישר',
shapeRounded: 'Shape: Rounded',
shapeCircle: 'Shape: Circle',
shapeThumbnail: 'Shape: Thumbnail',
shapeNone: 'Shape: None',
dragImageHere: 'גרור תמונה לכאן',
dropImage: 'Drop image or Text',
selectFromFiles: 'בחר מתוך קבצים',
maximumFileSize: 'Maximum file size',
maximumFileSizeError: 'Maximum file size exceeded.',
url: 'נתיב לתמונה',
remove: 'הסר תמונה',
original: 'Original'
},
video: {
video: 'סרטון',
videoLink: 'קישור לסרטון',
insert: 'הוסף סרטון',
url: 'קישור לסרטון',
providers: '(YouTube, Vimeo, Vine, Instagram, DailyMotion או Youku)'
},
link: {
link: 'קישור',
insert: 'הוסף קישור',
unlink: 'הסר קישור',
edit: 'ערוך',
textToDisplay: 'טקסט להציג',
url: 'קישור',
openInNewWindow: 'פתח בחלון חדש'
},
table: {
table: 'טבלה',
addRowAbove: 'Add row above',
addRowBelow: 'Add row below',
addColLeft: 'Add column left',
addColRight: 'Add column right',
delRow: 'Delete row',
delCol: 'Delete column',
delTable: 'Delete table'
},
hr: {
insert: 'הוסף קו'
},
style: {
style: 'עיצוב',
p: 'טקסט רגיל',
blockquote: 'ציטוט',
pre: 'קוד',
h1: 'כותרת 1',
h2: 'כותרת 2',
h3: 'כותרת 3',
h4: 'כותרת 4',
h5: 'כותרת 5',
h6: 'כותרת 6'
},
lists: {
unordered: 'רשימת תבליטים',
ordered: 'רשימה ממוספרת'
},
options: {
help: 'עזרה',
fullscreen: 'מסך מלא',
codeview: 'תצוגת קוד'
},
paragraph: {
paragraph: 'פסקה',
outdent: 'הקטן כניסה',
indent: 'הגדל כניסה',
left: 'יישור לשמאל',
center: 'יישור למרכז',
right: 'יישור לימין',
justify: 'מיושר'
},
color: {
recent: 'צבע טקסט אחרון',
more: 'עוד צבעים',
background: 'צבע רקע',
foreground: 'צבע טקסט',
transparent: 'שקוף',
setTransparent: 'קבע כשקוף',
reset: 'איפוס',
resetToDefault: 'אפס לברירת מחדל'
},
shortcut: {
shortcuts: 'קיצורי מקלדת',
close: 'סגור',
textFormatting: 'עיצוב הטקסט',
action: 'פעולה',
paragraphFormatting: 'סגנונות פסקה',
documentStyle: 'עיצוב המסמך',
extraKeys: 'קיצורים נוספים'
},
help: {
'insertParagraph': 'Insert Paragraph',
'undo': 'Undoes the last command',
'redo': 'Redoes the last command',
'tab': 'Tab',
'untab': 'Untab',
'bold': 'Set a bold style',
'italic': 'Set a italic style',
'underline': 'Set a underline style',
'strikethrough': 'Set a strikethrough style',
'removeFormat': 'Clean a style',
'justifyLeft': 'Set left align',
'justifyCenter': 'Set center align',
'justifyRight': 'Set right align',
'justifyFull': 'Set full align',
'insertUnorderedList': 'Toggle unordered list',
'insertOrderedList': 'Toggle ordered list',
'outdent': 'Outdent on current paragraph',
'indent': 'Indent on current paragraph',
'formatPara': 'Change current block\'s format as a paragraph(P tag)',
'formatH1': 'Change current block\'s format as H1',
'formatH2': 'Change current block\'s format as H2',
'formatH3': 'Change current block\'s format as H3',
'formatH4': 'Change current block\'s format as H4',
'formatH5': 'Change current block\'s format as H5',
'formatH6': 'Change current block\'s format as H6',
'insertHorizontalRule': 'Insert horizontal rule',
'linkDialog.show': 'Show Link Dialog'
},
history: {
undo: 'בטל פעולה',
redo: 'בצע שוב'
},
specialChar: {
specialChar: 'SPECIAL CHARACTERS',
select: 'Select Special characters'
}
}
});
})(jQuery);

View File

@ -0,0 +1,155 @@
(function($) {
$.extend($.summernote.lang, {
'hr-HR': {
font: {
bold: 'Podebljano',
italic: 'Kurziv',
underline: 'Podvučeno',
clear: 'Ukloni stilove fonta',
height: 'Visina linije',
name: 'Font Family',
strikethrough: 'Precrtano',
subscript: 'Subscript',
superscript: 'Superscript',
size: 'Veličina fonta'
},
image: {
image: 'Slika',
insert: 'Ubaci sliku',
resizeFull: 'Puna veličina',
resizeHalf: 'Umanji na 50%',
resizeQuarter: 'Umanji na 25%',
floatLeft: 'Poravnaj lijevo',
floatRight: 'Poravnaj desno',
floatNone: 'Bez poravnanja',
shapeRounded: 'Shape: Rounded',
shapeCircle: 'Shape: Circle',
shapeThumbnail: 'Shape: Thumbnail',
shapeNone: 'Shape: None',
dragImageHere: 'Povuci sliku ovdje',
dropImage: 'Drop image or Text',
selectFromFiles: 'Izaberi iz datoteke',
maximumFileSize: 'Maximum file size',
maximumFileSizeError: 'Maximum file size exceeded.',
url: 'Adresa slike',
remove: 'Ukloni sliku',
original: 'Original'
},
video: {
video: 'Video',
videoLink: 'Veza na video',
insert: 'Ubaci video',
url: 'URL video',
providers: '(YouTube, Vimeo, Vine, Instagram, DailyMotion ili Youku)'
},
link: {
link: 'Veza',
insert: 'Ubaci vezu',
unlink: 'Ukloni vezu',
edit: 'Uredi',
textToDisplay: 'Tekst za prikaz',
url: 'Internet adresa',
openInNewWindow: 'Otvori u novom prozoru'
},
table: {
table: 'Tablica',
addRowAbove: 'Add row above',
addRowBelow: 'Add row below',
addColLeft: 'Add column left',
addColRight: 'Add column right',
delRow: 'Delete row',
delCol: 'Delete column',
delTable: 'Delete table'
},
hr: {
insert: 'Ubaci horizontalnu liniju'
},
style: {
style: 'Stil',
p: 'pni',
blockquote: 'Citat',
pre: 'Kôd',
h1: 'Naslov 1',
h2: 'Naslov 2',
h3: 'Naslov 3',
h4: 'Naslov 4',
h5: 'Naslov 5',
h6: 'Naslov 6'
},
lists: {
unordered: 'Obična lista',
ordered: 'Numerirana lista'
},
options: {
help: 'Pomoć',
fullscreen: 'Preko cijelog ekrana',
codeview: 'Izvorni kôd'
},
paragraph: {
paragraph: 'Paragraf',
outdent: 'Smanji uvlačenje',
indent: 'Povećaj uvlačenje',
left: 'Poravnaj lijevo',
center: 'Centrirano',
right: 'Poravnaj desno',
justify: 'Poravnaj obostrano'
},
color: {
recent: 'Posljednja boja',
more: 'Više boja',
background: 'Boja pozadine',
foreground: 'Boja teksta',
transparent: 'Prozirna',
setTransparent: 'Prozirna',
reset: 'Poništi',
resetToDefault: 'Podrazumijevana'
},
shortcut: {
shortcuts: 'Prečice s tipkovnice',
close: 'Zatvori',
textFormatting: 'Formatiranje teksta',
action: 'Akcija',
paragraphFormatting: 'Formatiranje paragrafa',
documentStyle: 'Stil dokumenta',
extraKeys: 'Dodatne kombinacije'
},
help: {
'insertParagraph': 'Insert Paragraph',
'undo': 'Undoes the last command',
'redo': 'Redoes the last command',
'tab': 'Tab',
'untab': 'Untab',
'bold': 'Set a bold style',
'italic': 'Set a italic style',
'underline': 'Set a underline style',
'strikethrough': 'Set a strikethrough style',
'removeFormat': 'Clean a style',
'justifyLeft': 'Set left align',
'justifyCenter': 'Set center align',
'justifyRight': 'Set right align',
'justifyFull': 'Set full align',
'insertUnorderedList': 'Toggle unordered list',
'insertOrderedList': 'Toggle ordered list',
'outdent': 'Outdent on current paragraph',
'indent': 'Indent on current paragraph',
'formatPara': 'Change current block\'s format as a paragraph(P tag)',
'formatH1': 'Change current block\'s format as H1',
'formatH2': 'Change current block\'s format as H2',
'formatH3': 'Change current block\'s format as H3',
'formatH4': 'Change current block\'s format as H4',
'formatH5': 'Change current block\'s format as H5',
'formatH6': 'Change current block\'s format as H6',
'insertHorizontalRule': 'Insert horizontal rule',
'linkDialog.show': 'Show Link Dialog'
},
history: {
undo: 'Poništi',
redo: 'Ponovi'
},
specialChar: {
specialChar: 'SPECIAL CHARACTERS',
select: 'Select Special characters'
}
}
});
})(jQuery);

View File

@ -0,0 +1,155 @@
(function($) {
$.extend($.summernote.lang, {
'hu-HU': {
font: {
bold: 'Félkövér',
italic: 'Dőlt',
underline: 'Aláhúzott',
clear: 'Formázás törlése',
height: 'Sorköz',
name: 'Betűtípus',
strikethrough: 'Áthúzott',
subscript: 'Subscript',
superscript: 'Superscript',
size: 'Betűméret'
},
image: {
image: 'Kép',
insert: 'Kép beszúrása',
resizeFull: 'Átméretezés teljes méretre',
resizeHalf: 'Átméretezés felére',
resizeQuarter: 'Átméretezés negyedére',
floatLeft: 'Igazítás balra',
floatRight: 'Igazítás jobbra',
floatNone: 'Igazítás törlése',
shapeRounded: 'Shape: Rounded',
shapeCircle: 'Shape: Circle',
shapeThumbnail: 'Shape: Thumbnail',
shapeNone: 'Shape: None',
dragImageHere: 'Ide húzhat képet vagy szöveget',
dropImage: 'Engedje el a képet vagy szöveget',
selectFromFiles: 'Fájlok kiválasztása',
maximumFileSize: 'Maximum file size',
maximumFileSizeError: 'Maximum file size exceeded.',
url: 'Kép URL címe',
remove: 'Kép törlése',
original: 'Original'
},
video: {
video: 'Videó',
videoLink: 'Videó hivatkozás',
insert: 'Videó beszúrása',
url: 'Videó URL címe',
providers: '(YouTube, Vimeo, Vine, Instagram, DailyMotion vagy Youku)'
},
link: {
link: 'Hivatkozás',
insert: 'Hivatkozás beszúrása',
unlink: 'Hivatkozás megszüntetése',
edit: 'Szerkesztés',
textToDisplay: 'Megjelenítendő szöveg',
url: 'Milyen URL címre hivatkozzon?',
openInNewWindow: 'Megnyitás új ablakban'
},
table: {
table: 'Táblázat',
addRowAbove: 'Add row above',
addRowBelow: 'Add row below',
addColLeft: 'Add column left',
addColRight: 'Add column right',
delRow: 'Delete row',
delCol: 'Delete column',
delTable: 'Delete table'
},
hr: {
insert: 'Elválasztó vonal beszúrása'
},
style: {
style: 'Stílus',
p: 'Normál',
blockquote: 'Idézet',
pre: 'Kód',
h1: 'Fejléc 1',
h2: 'Fejléc 2',
h3: 'Fejléc 3',
h4: 'Fejléc 4',
h5: 'Fejléc 5',
h6: 'Fejléc 6'
},
lists: {
unordered: 'Listajeles lista',
ordered: 'Számozott lista'
},
options: {
help: 'Súgó',
fullscreen: 'Teljes képernyő',
codeview: 'Kód nézet'
},
paragraph: {
paragraph: 'Bekezdés',
outdent: 'Behúzás csökkentése',
indent: 'Behúzás növelése',
left: 'Igazítás balra',
center: 'Igazítás középre',
right: 'Igazítás jobbra',
justify: 'Sorkizárt'
},
color: {
recent: 'Jelenlegi szín',
more: 'További színek',
background: 'Háttérszín',
foreground: 'Betűszín',
transparent: 'Átlátszó',
setTransparent: 'Átlászóság beállítása',
reset: 'Visszaállítás',
resetToDefault: 'Alaphelyzetbe állítás'
},
shortcut: {
shortcuts: 'Gyorsbillentyű',
close: 'Bezárás',
textFormatting: 'Szöveg formázása',
action: 'Művelet',
paragraphFormatting: 'Bekezdés formázása',
documentStyle: 'Dokumentumstílus',
extraKeys: 'Extra keys'
},
help: {
'insertParagraph': 'Új bekezdés',
'undo': 'Visszavonás',
'redo': 'Újra',
'tab': 'Behúzás növelése',
'untab': 'Behúzás csökkentése',
'bold': 'Félkövérre állítás',
'italic': 'Dőltre állítás',
'underline': 'Aláhúzás',
'strikethrough': 'Áthúzás',
'removeFormat': 'Formázás törlése',
'justifyLeft': 'Balra igazítás',
'justifyCenter': 'Középre igazítás',
'justifyRight': 'Jobbra igazítás',
'justifyFull': 'Sorkizárt',
'insertUnorderedList': 'Számozatlan lista be/ki',
'insertOrderedList': 'Számozott lista be/ki',
'outdent': 'Jelenlegi bekezdés behúzásának megszüntetése',
'indent': 'Jelenlegi bekezdés behúzása',
'formatPara': 'Blokk formázása bekezdésként (P tag)',
'formatH1': 'Blokk formázása, mint Fejléc 1',
'formatH2': 'Blokk formázása, mint Fejléc 2',
'formatH3': 'Blokk formázása, mint Fejléc 3',
'formatH4': 'Blokk formázása, mint Fejléc 4',
'formatH5': 'Blokk formázása, mint Fejléc 5',
'formatH6': 'Blokk formázása, mint Fejléc 6',
'insertHorizontalRule': 'Vízszintes vonal beszúrása',
'linkDialog.show': 'Link párbeszédablak megjelenítése'
},
history: {
undo: 'Visszavonás',
redo: 'Újra'
},
specialChar: {
specialChar: 'SPECIAL CHARACTERS',
select: 'Select Special characters'
}
}
});
})(jQuery);

View File

@ -0,0 +1,155 @@
(function($) {
$.extend($.summernote.lang, {
'id-ID': {
font: {
bold: 'Tebal',
italic: 'Miring',
underline: 'Garis bawah',
clear: 'Bersihkan gaya',
height: 'Jarak baris',
name: 'Font Family',
strikethrough: 'Coret',
subscript: 'Subscript',
superscript: 'Superscript',
size: 'Ukuran font'
},
image: {
image: 'Gambar',
insert: 'Sisipkan gambar',
resizeFull: 'Ukuran penuh',
resizeHalf: 'Ukuran 50%',
resizeQuarter: 'Ukuran 25%',
floatLeft: 'Rata kiri',
floatRight: 'Rata kanan',
floatNone: 'Tidak ada perataan',
shapeRounded: 'Shape: Rounded',
shapeCircle: 'Shape: Circle',
shapeThumbnail: 'Shape: Thumbnail',
shapeNone: 'Shape: None',
dragImageHere: 'Tarik gambar pada area ini',
dropImage: 'Drop image or Text',
selectFromFiles: 'Pilih gambar dari berkas',
maximumFileSize: 'Maximum file size',
maximumFileSizeError: 'Maximum file size exceeded.',
url: 'URL gambar',
remove: 'Hapus Gambar',
original: 'Original'
},
video: {
video: 'Video',
videoLink: 'Link video',
insert: 'Sisipkan video',
url: 'Tautan video',
providers: '(YouTube, Vimeo, Vine, Instagram, DailyMotion atau Youku)'
},
link: {
link: 'Tautan',
insert: 'Tambah tautan',
unlink: 'Hapus tautan',
edit: 'Edit',
textToDisplay: 'Tampilan teks',
url: 'Tautan tujuan',
openInNewWindow: 'Buka di jendela baru'
},
table: {
table: 'Tabel',
addRowAbove: 'Add row above',
addRowBelow: 'Add row below',
addColLeft: 'Add column left',
addColRight: 'Add column right',
delRow: 'Delete row',
delCol: 'Delete column',
delTable: 'Delete table'
},
hr: {
insert: 'Masukkan garis horizontal'
},
style: {
style: 'Gaya',
p: 'p',
blockquote: 'Kutipan',
pre: 'Kode',
h1: 'Heading 1',
h2: 'Heading 2',
h3: 'Heading 3',
h4: 'Heading 4',
h5: 'Heading 5',
h6: 'Heading 6'
},
lists: {
unordered: 'Pencacahan',
ordered: 'Penomoran'
},
options: {
help: 'Bantuan',
fullscreen: 'Layar penuh',
codeview: 'Kode HTML'
},
paragraph: {
paragraph: 'Paragraf',
outdent: 'Outdent',
indent: 'Indent',
left: 'Rata kiri',
center: 'Rata tengah',
right: 'Rata kanan',
justify: 'Rata kanan kiri'
},
color: {
recent: 'Warna sekarang',
more: 'Selengkapnya',
background: 'Warna latar',
foreground: 'Warna font',
transparent: 'Transparan',
setTransparent: 'Atur transparansi',
reset: 'Atur ulang',
resetToDefault: 'Kembalikan kesemula'
},
shortcut: {
shortcuts: 'Jalan pintas',
close: 'Keluar',
textFormatting: 'Format teks',
action: 'Aksi',
paragraphFormatting: 'Format paragraf',
documentStyle: 'Gaya dokumen',
extraKeys: 'Extra keys'
},
help: {
'insertParagraph': 'Insert Paragraph',
'undo': 'Undoes the last command',
'redo': 'Redoes the last command',
'tab': 'Tab',
'untab': 'Untab',
'bold': 'Set a bold style',
'italic': 'Set a italic style',
'underline': 'Set a underline style',
'strikethrough': 'Set a strikethrough style',
'removeFormat': 'Clean a style',
'justifyLeft': 'Set left align',
'justifyCenter': 'Set center align',
'justifyRight': 'Set right align',
'justifyFull': 'Set full align',
'insertUnorderedList': 'Toggle unordered list',
'insertOrderedList': 'Toggle ordered list',
'outdent': 'Outdent on current paragraph',
'indent': 'Indent on current paragraph',
'formatPara': 'Change current block\'s format as a paragraph(P tag)',
'formatH1': 'Change current block\'s format as H1',
'formatH2': 'Change current block\'s format as H2',
'formatH3': 'Change current block\'s format as H3',
'formatH4': 'Change current block\'s format as H4',
'formatH5': 'Change current block\'s format as H5',
'formatH6': 'Change current block\'s format as H6',
'insertHorizontalRule': 'Insert horizontal rule',
'linkDialog.show': 'Show Link Dialog'
},
history: {
undo: 'Kembali',
redo: 'Ulang'
},
specialChar: {
specialChar: 'SPECIAL CHARACTERS',
select: 'Select Special characters'
}
}
});
})(jQuery);

View File

@ -0,0 +1,155 @@
(function($) {
$.extend($.summernote.lang, {
'it-IT': {
font: {
bold: 'Testo in grassetto',
italic: 'Testo in corsivo',
underline: 'Testo sottolineato',
clear: 'Elimina la formattazione del testo',
height: 'Altezza della linea di testo',
name: 'Famiglia Font',
strikethrough: 'Testo barrato',
subscript: 'Subscript',
superscript: 'Superscript',
size: 'Dimensione del carattere'
},
image: {
image: 'Immagine',
insert: 'Inserisci Immagine',
resizeFull: 'Dimensioni originali',
resizeHalf: 'Ridimensiona al 50%',
resizeQuarter: 'Ridimensiona al 25%',
floatLeft: 'Posiziona a sinistra',
floatRight: 'Posiziona a destra',
floatNone: 'Nessun posizionamento',
shapeRounded: 'Shape: Rounded',
shapeCircle: 'Shape: Circle',
shapeThumbnail: 'Shape: Thumbnail',
shapeNone: 'Shape: None',
dragImageHere: 'Trascina qui un\'immagine',
dropImage: 'Drop image or Text',
selectFromFiles: 'Scegli dai Documenti',
maximumFileSize: 'Maximum file size',
maximumFileSizeError: 'Maximum file size exceeded.',
url: 'URL dell\'immagine',
remove: 'Rimuovi immagine',
original: 'Original'
},
video: {
video: 'Video',
videoLink: 'Collegamento ad un Video',
insert: 'Inserisci Video',
url: 'URL del Video',
providers: '(YouTube, Vimeo, Vine, Instagram, DailyMotion o Youku)'
},
link: {
link: 'Collegamento',
insert: 'Inserisci Collegamento',
unlink: 'Elimina collegamento',
edit: 'Modifica collegamento',
textToDisplay: 'Testo del collegamento',
url: 'URL del collegamento',
openInNewWindow: 'Apri in una nuova finestra'
},
table: {
table: 'Tabella',
addRowAbove: 'Add row above',
addRowBelow: 'Add row below',
addColLeft: 'Add column left',
addColRight: 'Add column right',
delRow: 'Delete row',
delCol: 'Delete column',
delTable: 'Delete table'
},
hr: {
insert: 'Inserisce una linea di separazione'
},
style: {
style: 'Stili',
p: 'pe',
blockquote: 'Citazione',
pre: 'Codice',
h1: 'Titolo 1',
h2: 'Titolo 2',
h3: 'Titolo 3',
h4: 'Titolo 4',
h5: 'Titolo 5',
h6: 'Titolo 6'
},
lists: {
unordered: 'Elenco non ordinato',
ordered: 'Elenco ordinato'
},
options: {
help: 'Aiuto',
fullscreen: 'Modalità a tutto schermo',
codeview: 'Visualizza codice'
},
paragraph: {
paragraph: 'Paragrafo',
outdent: 'Diminuisce il livello di rientro',
indent: 'Aumenta il livello di rientro',
left: 'Allinea a sinistra',
center: 'Centra',
right: 'Allinea a destra',
justify: 'Giustifica (allinea a destra e sinistra)'
},
color: {
recent: 'Ultimo colore utilizzato',
more: 'Altri colori',
background: 'Colore di sfondo',
foreground: 'Colore',
transparent: 'Trasparente',
setTransparent: 'Trasparente',
reset: 'Reimposta',
resetToDefault: 'Reimposta i colori'
},
shortcut: {
shortcuts: 'Scorciatoie da tastiera',
close: 'Chiudi',
textFormatting: 'Formattazione testo',
action: 'Azioni',
paragraphFormatting: 'Formattazione paragrafo',
documentStyle: 'Stili',
extraKeys: 'Extra keys'
},
help: {
'insertParagraph': 'Insert Paragraph',
'undo': 'Undoes the last command',
'redo': 'Redoes the last command',
'tab': 'Tab',
'untab': 'Untab',
'bold': 'Set a bold style',
'italic': 'Set a italic style',
'underline': 'Set a underline style',
'strikethrough': 'Set a strikethrough style',
'removeFormat': 'Clean a style',
'justifyLeft': 'Set left align',
'justifyCenter': 'Set center align',
'justifyRight': 'Set right align',
'justifyFull': 'Set full align',
'insertUnorderedList': 'Toggle unordered list',
'insertOrderedList': 'Toggle ordered list',
'outdent': 'Outdent on current paragraph',
'indent': 'Indent on current paragraph',
'formatPara': 'Change current block\'s format as a paragraph(P tag)',
'formatH1': 'Change current block\'s format as H1',
'formatH2': 'Change current block\'s format as H2',
'formatH3': 'Change current block\'s format as H3',
'formatH4': 'Change current block\'s format as H4',
'formatH5': 'Change current block\'s format as H5',
'formatH6': 'Change current block\'s format as H6',
'insertHorizontalRule': 'Insert horizontal rule',
'linkDialog.show': 'Show Link Dialog'
},
history: {
undo: 'Annulla',
redo: 'Ripristina'
},
specialChar: {
specialChar: 'SPECIAL CHARACTERS',
select: 'Select Special characters'
}
}
});
})(jQuery);

View File

@ -0,0 +1,155 @@
(function($) {
$.extend($.summernote.lang, {
'ja-JP': {
font: {
bold: '太字',
italic: '斜体',
underline: '下線',
clear: 'クリア',
height: '文字高',
name: 'フォント',
strikethrough: '取り消し線',
subscript: 'Subscript',
superscript: 'Superscript',
size: '大きさ'
},
image: {
image: '画像',
insert: '画像挿入',
resizeFull: '最大化',
resizeHalf: '1/2',
resizeQuarter: '1/4',
floatLeft: '左寄せ',
floatRight: '右寄せ',
floatNone: '寄せ解除',
shapeRounded: 'Shape: Rounded',
shapeCircle: 'Shape: Circle',
shapeThumbnail: 'Shape: Thumbnail',
shapeNone: 'Shape: None',
dragImageHere: 'ここに画像をドラッグしてください',
dropImage: 'Drop image or Text',
selectFromFiles: '画像ファイルを選ぶ',
maximumFileSize: 'Maximum file size',
maximumFileSizeError: 'Maximum file size exceeded.',
url: 'URLから画像を挿入する',
remove: '画像を削除する',
original: 'Original'
},
video: {
video: '動画',
videoLink: '動画リンク',
insert: '動画挿入',
url: '動画のURL',
providers: '(YouTube, Vimeo, Vine, Instagram, DailyMotion, Youku)'
},
link: {
link: 'リンク',
insert: 'リンク挿入',
unlink: 'リンク解除',
edit: '編集',
textToDisplay: 'リンク文字列',
url: 'URLを入力してください',
openInNewWindow: '新しいウィンドウで開く'
},
table: {
table: 'テーブル',
addRowAbove: 'Add row above',
addRowBelow: 'Add row below',
addColLeft: 'Add column left',
addColRight: 'Add column right',
delRow: 'Delete row',
delCol: 'Delete column',
delTable: 'Delete table'
},
hr: {
insert: '水平線の挿入'
},
style: {
style: 'スタイル',
p: '標準',
blockquote: '引用',
pre: 'コード',
h1: '見出し1',
h2: '見出し2',
h3: '見出し3',
h4: '見出し4',
h5: '見出し5',
h6: '見出し6'
},
lists: {
unordered: '通常リスト',
ordered: '番号リスト'
},
options: {
help: 'ヘルプ',
fullscreen: 'フルスクリーン',
codeview: 'コード表示'
},
paragraph: {
paragraph: '文章',
outdent: '字上げ',
indent: '字下げ',
left: '左寄せ',
center: '中央寄せ',
right: '右寄せ',
justify: '均等割付'
},
color: {
recent: '現在の色',
more: 'もっと見る',
background: '背景色',
foreground: '文字色',
transparent: '透明',
setTransparent: '透明にする',
reset: '標準',
resetToDefault: '標準に戻す'
},
shortcut: {
shortcuts: 'ショートカット',
close: '閉じる',
textFormatting: '文字フォーマット',
action: 'アクション',
paragraphFormatting: '文章フォーマット',
documentStyle: 'ドキュメント形式',
extraKeys: 'Extra keys'
},
help: {
'insertParagraph': '改行挿入',
'undo': '一旦、行った操作を戻す',
'redo': '最後のコマンドをやり直す',
'tab': 'Tab',
'untab': 'タブ戻し',
'bold': '太文字',
'italic': '斜体',
'underline': '下線',
'strikethrough': '取り消し線',
'removeFormat': '装飾を戻す',
'justifyLeft': '左寄せ',
'justifyCenter': '真ん中寄せ',
'justifyRight': '右寄せ',
'justifyFull': 'すべてを整列',
'insertUnorderedList': '行頭に●を挿入',
'insertOrderedList': '行頭に番号を挿入',
'outdent': '字下げを戻す(アウトデント)',
'indent': '字下げする(インデント)',
'formatPara': '段落(P tag)指定',
'formatH1': 'H1指定',
'formatH2': 'H2指定',
'formatH3': 'H3指定',
'formatH4': 'H4指定',
'formatH5': 'H5指定',
'formatH6': 'H6指定',
'insertHorizontalRule': '&lt;hr /&gt;を挿入',
'linkDialog.show': 'リンク挿入'
},
history: {
undo: '元に戻す',
redo: 'やり直す'
},
specialChar: {
specialChar: 'SPECIAL CHARACTERS',
select: 'Select Special characters'
}
}
});
})(jQuery);

View File

@ -0,0 +1,155 @@
(function($) {
$.extend($.summernote.lang, {
'ko-KR': {
font: {
bold: '굵게',
italic: '기울임꼴',
underline: '밑줄',
clear: '글자 효과 없애기',
height: '줄간격',
name: '글꼴',
superscript: '위 첨자',
subscript: '아래 첨자',
strikethrough: '취소선',
size: '글자 크기'
},
image: {
image: '사진',
insert: '사진 추가',
resizeFull: '100% 크기로 변경',
resizeHalf: '50% 크기로 변경',
resizeQuarter: '25% 크기로 변경',
floatLeft: '왼쪽 정렬',
floatRight: '오른쪽 정렬',
floatNone: '정렬하지 않음',
shapeRounded: '스타일: 둥근 모서리',
shapeCircle: '스타일: 원형',
shapeThumbnail: '스타일: 액자',
shapeNone: '스타일: 없음',
dragImageHere: '텍스트 혹은 사진을 이곳으로 끌어오세요',
dropImage: '텍스트 혹은 사진을 내려놓으세요',
selectFromFiles: '파일 선택',
maximumFileSize: 'Maximum file size',
maximumFileSizeError: 'Maximum file size exceeded.',
url: '사진 URL',
remove: '사진 삭제',
original: 'Original'
},
video: {
video: '동영상',
videoLink: '동영상 링크',
insert: '동영상 추가',
url: '동영상 URL',
providers: '(YouTube, Vimeo, Vine, Instagram, DailyMotion, Youku 사용 가능)'
},
link: {
link: '링크',
insert: '링크 추가',
unlink: '링크 삭제',
edit: '수정',
textToDisplay: '링크에 표시할 내용',
url: '이동할 URL',
openInNewWindow: '새창으로 열기'
},
table: {
table: '테이블',
addRowAbove: 'Add row above',
addRowBelow: 'Add row below',
addColLeft: 'Add column left',
addColRight: 'Add column right',
delRow: 'Delete row',
delCol: 'Delete column',
delTable: 'Delete table'
},
hr: {
insert: '구분선 추가'
},
style: {
style: '스타일',
p: '본문',
blockquote: '인용구',
pre: '코드',
h1: '제목 1',
h2: '제목 2',
h3: '제목 3',
h4: '제목 4',
h5: '제목 5',
h6: '제목 6'
},
lists: {
unordered: '글머리 기호',
ordered: '번호 매기기'
},
options: {
help: '도움말',
fullscreen: '전체 화면',
codeview: '코드 보기'
},
paragraph: {
paragraph: '문단 정렬',
outdent: '내어쓰기',
indent: '들여쓰기',
left: '왼쪽 정렬',
center: '가운데 정렬',
right: '오른쪽 정렬',
justify: '양쪽 정렬'
},
color: {
recent: '마지막으로 사용한 색',
more: '다른 색 선택',
background: '배경색',
foreground: '글자색',
transparent: '투명',
setTransparent: '투명',
reset: '취소',
resetToDefault: '기본 값으로 변경'
},
shortcut: {
shortcuts: '키보드 단축키',
close: '닫기',
textFormatting: '글자 스타일 적용',
action: '기능',
paragraphFormatting: '문단 스타일 적용',
documentStyle: '문서 스타일 적용',
extraKeys: 'Extra keys'
},
help: {
'insertParagraph': 'Insert Paragraph',
'undo': 'Undoes the last command',
'redo': 'Redoes the last command',
'tab': 'Tab',
'untab': 'Untab',
'bold': 'Set a bold style',
'italic': 'Set a italic style',
'underline': 'Set a underline style',
'strikethrough': 'Set a strikethrough style',
'removeFormat': 'Clean a style',
'justifyLeft': 'Set left align',
'justifyCenter': 'Set center align',
'justifyRight': 'Set right align',
'justifyFull': 'Set full align',
'insertUnorderedList': 'Toggle unordered list',
'insertOrderedList': 'Toggle ordered list',
'outdent': 'Outdent on current paragraph',
'indent': 'Indent on current paragraph',
'formatPara': 'Change current block\'s format as a paragraph(P tag)',
'formatH1': 'Change current block\'s format as H1',
'formatH2': 'Change current block\'s format as H2',
'formatH3': 'Change current block\'s format as H3',
'formatH4': 'Change current block\'s format as H4',
'formatH5': 'Change current block\'s format as H5',
'formatH6': 'Change current block\'s format as H6',
'insertHorizontalRule': 'Insert horizontal rule',
'linkDialog.show': 'Show Link Dialog'
},
history: {
undo: '실행 취소',
redo: '다시 실행'
},
specialChar: {
specialChar: '특수문자',
select: '특수문자를 선택하세요'
}
}
});
})(jQuery);

View File

@ -0,0 +1,155 @@
(function($) {
$.extend($.summernote.lang, {
'lt-LT': {
font: {
bold: 'Paryškintas',
italic: 'Kursyvas',
underline: 'Pabrėžtas',
clear: 'Be formatavimo',
height: 'Eilutės aukštis',
name: 'Šrifto pavadinimas',
strikethrough: 'Perbrauktas',
superscript: 'Viršutinis',
subscript: 'Indeksas',
size: 'Šrifto dydis'
},
image: {
image: 'Paveikslėlis',
insert: 'Įterpti paveikslėlį',
resizeFull: 'Pilnas dydis',
resizeHalf: 'Sumažinti dydį 50%',
resizeQuarter: 'Sumažinti dydį 25%',
floatLeft: 'Kairinis lygiavimas',
floatRight: 'Dešininis lygiavimas',
floatNone: 'Jokio lygiavimo',
shapeRounded: 'Forma: apvalūs kraštai',
shapeCircle: 'Forma: apskritimas',
shapeThumbnail: 'Forma: miniatiūra',
shapeNone: 'Forma: jokia',
dragImageHere: 'Vilkite paveikslėlį čia',
dropImage: 'Drop image or Text',
selectFromFiles: 'Pasirinkite failą',
maximumFileSize: 'Maskimalus failo dydis',
maximumFileSizeError: 'Maskimalus failo dydis viršytas!',
url: 'Paveikslėlio URL adresas',
remove: 'Ištrinti paveikslėlį',
original: 'Original'
},
video: {
video: 'Video',
videoLink: 'Video Link',
insert: 'Insert Video',
url: 'Video URL?',
providers: '(YouTube, Vimeo, Vine, Instagram, DailyMotion or Youku)'
},
link: {
link: 'Nuoroda',
insert: 'Įterpti nuorodą',
unlink: 'Pašalinti nuorodą',
edit: 'Redaguoti',
textToDisplay: 'Rodomas tekstas',
url: 'Koks URL adresas yra susietas?',
openInNewWindow: 'Atidaryti naujame lange'
},
table: {
table: 'Lentelė',
addRowAbove: 'Add row above',
addRowBelow: 'Add row below',
addColLeft: 'Add column left',
addColRight: 'Add column right',
delRow: 'Delete row',
delCol: 'Delete column',
delTable: 'Delete table'
},
hr: {
insert: 'Įterpti horizontalią liniją'
},
style: {
style: 'Stilius',
p: 'pus',
blockquote: 'Citata',
pre: 'Kodas',
h1: 'Antraštė 1',
h2: 'Antraštė 2',
h3: 'Antraštė 3',
h4: 'Antraštė 4',
h5: 'Antraštė 5',
h6: 'Antraštė 6'
},
lists: {
unordered: 'Suženklintasis sąrašas',
ordered: 'Sunumeruotas sąrašas'
},
options: {
help: 'Pagalba',
fullscreen: 'Viso ekrano režimas',
codeview: 'HTML kodo peržiūra'
},
paragraph: {
paragraph: 'Pastraipa',
outdent: 'Sumažinti įtrauką',
indent: 'Padidinti įtrauką',
left: 'Kairinė lygiuotė',
center: 'Centrinė lygiuotė',
right: 'Dešininė lygiuotė',
justify: 'Abipusis išlyginimas'
},
color: {
recent: 'Paskutinė naudota spalva',
more: 'Daugiau spalvų',
background: 'Fono spalva',
foreground: 'Šrifto spalva',
transparent: 'Permatoma',
setTransparent: 'Nustatyti skaidrumo intensyvumą',
reset: 'Atkurti',
resetToDefault: 'Atstatyti numatytąją spalvą'
},
shortcut: {
shortcuts: 'Spartieji klavišai',
close: 'Uždaryti',
textFormatting: 'Teksto formatavimas',
action: 'Veiksmas',
paragraphFormatting: 'Pastraipos formatavimas',
documentStyle: 'Dokumento stilius',
extraKeys: 'Papildomi klavišų deriniai'
},
help: {
'insertParagraph': 'Insert Paragraph',
'undo': 'Undoes the last command',
'redo': 'Redoes the last command',
'tab': 'Tab',
'untab': 'Untab',
'bold': 'Set a bold style',
'italic': 'Set a italic style',
'underline': 'Set a underline style',
'strikethrough': 'Set a strikethrough style',
'removeFormat': 'Clean a style',
'justifyLeft': 'Set left align',
'justifyCenter': 'Set center align',
'justifyRight': 'Set right align',
'justifyFull': 'Set full align',
'insertUnorderedList': 'Toggle unordered list',
'insertOrderedList': 'Toggle ordered list',
'outdent': 'Outdent on current paragraph',
'indent': 'Indent on current paragraph',
'formatPara': 'Change current block\'s format as a paragraph(P tag)',
'formatH1': 'Change current block\'s format as H1',
'formatH2': 'Change current block\'s format as H2',
'formatH3': 'Change current block\'s format as H3',
'formatH4': 'Change current block\'s format as H4',
'formatH5': 'Change current block\'s format as H5',
'formatH6': 'Change current block\'s format as H6',
'insertHorizontalRule': 'Insert horizontal rule',
'linkDialog.show': 'Show Link Dialog'
},
history: {
undo: 'Anuliuoti veiksmą',
redo: 'Perdaryti veiksmą'
},
specialChar: {
specialChar: 'SPECIAL CHARACTERS',
select: 'Select Special characters'
}
}
});
})(jQuery);

View File

@ -0,0 +1,155 @@
(function($) {
$.extend($.summernote.lang, {
'lv-LV': {
font: {
bold: 'Treknraksts',
italic: 'Kursīvs',
underline: 'Pasvītrots',
clear: 'Noņemt formatējumu',
height: 'Līnijas augstums',
name: 'Fonts',
strikethrough: 'Nosvītrots',
superscript: 'Augšraksts',
subscript: 'Apakšraksts',
size: 'Fonta lielums'
},
image: {
image: 'Attēls',
insert: 'Ievietot attēlu',
resizeFull: 'Pilns izmērts',
resizeHalf: 'Samazināt 50%',
resizeQuarter: 'Samazināt 25%',
floatLeft: 'Līdzināt pa kreisi',
floatRight: 'Līdzināt pa labi',
floatNone: 'Nelīdzināt',
shapeRounded: 'Forma: apaļām malām',
shapeCircle: 'Forma: aplis',
shapeThumbnail: 'Forma: rāmītis',
shapeNone: 'Forma: orģināla',
dragImageHere: 'Ievēlciet attēlu šeit',
dropImage: 'Drop image or Text',
selectFromFiles: 'Izvēlēties failu',
maximumFileSize: 'Maksimālais faila izmērs',
maximumFileSizeError: 'Faila izmērs pārāk liels!',
url: 'Attēla URL',
remove: 'Dzēst attēlu',
original: 'Original'
},
video: {
video: 'Video',
videoLink: 'Video Link',
insert: 'Insert Video',
url: 'Video URL?',
providers: '(YouTube, Vimeo, Vine, Instagram, DailyMotion or Youku)'
},
link: {
link: 'Saite',
insert: 'Ievietot saiti',
unlink: 'Noņemt saiti',
edit: 'Rediģēt',
textToDisplay: 'Saites saturs',
url: 'Koks URL adresas yra susietas?',
openInNewWindow: 'Atvērt jaunā logā'
},
table: {
table: 'Tabula',
addRowAbove: 'Add row above',
addRowBelow: 'Add row below',
addColLeft: 'Add column left',
addColRight: 'Add column right',
delRow: 'Delete row',
delCol: 'Delete column',
delTable: 'Delete table'
},
hr: {
insert: 'Ievietot līniju'
},
style: {
style: 'Stils',
p: 'Parasts',
blockquote: 'Citāts',
pre: 'Kods',
h1: 'Virsraksts h1',
h2: 'Virsraksts h2',
h3: 'Virsraksts h3',
h4: 'Virsraksts h4',
h5: 'Virsraksts h5',
h6: 'Virsraksts h6'
},
lists: {
unordered: 'Nenumurēts saraksts',
ordered: 'Numurēts saraksts'
},
options: {
help: 'Palīdzība',
fullscreen: 'Pa visu ekrānu',
codeview: 'HTML kods'
},
paragraph: {
paragraph: 'Paragrāfs',
outdent: 'Samazināt atkāpi',
indent: 'Palielināt atkāpi',
left: 'Līdzināt pa kreisi',
center: 'Centrēt',
right: 'Līdzināt pa labi',
justify: 'Līdzināt gar abām malām'
},
color: {
recent: 'Nesen izmantotās',
more: 'Citas krāsas',
background: 'Fona krāsa',
foreground: 'Fonta krāsa',
transparent: 'Caurspīdīgs',
setTransparent: 'Iestatīt caurspīdīgumu',
reset: 'Atjaunot',
resetToDefault: 'Atjaunot noklusējumu'
},
shortcut: {
shortcuts: 'Saīsnes',
close: 'Aizvērt',
textFormatting: 'Teksta formatēšana',
action: 'Darbība',
paragraphFormatting: 'Paragrāfa formatēšana',
documentStyle: 'Dokumenta stils',
extraKeys: 'Citas taustiņu kombinācijas'
},
help: {
insertParagraph: 'Ievietot Paragrāfu',
undo: 'Atcelt iepriekšējo darbību',
redo: 'Atkārtot atcelto darbību',
tab: 'Atkāpe',
untab: 'Samazināt atkāpi',
bold: 'Pārvērst tekstu treknrakstā',
italic: 'Pārvērst tekstu slīprakstā (kursīvā)',
underline: 'Pasvītrot tekstu',
strikethrough: 'Nosvītrot tekstu',
removeFormat: 'Notīrīt stilu no teksta',
justifyLeft: 'Līdzīnāt saturu pa kreisi',
justifyCenter: 'Centrēt saturu',
justifyRight: 'Līdzīnāt saturu pa labi',
justifyFull: 'Izlīdzināt saturu gar abām malām',
insertUnorderedList: 'Ievietot nenumurētu sarakstu',
insertOrderedList: 'Ievietot numurētu sarakstu',
outdent: 'Samazināt/noņemt atkāpi paragrāfam',
indent: 'Uzlikt atkāpi paragrāfam',
formatPara: 'Mainīt bloka tipu uz (p) Paragrāfu',
formatH1: 'Mainīt bloka tipu uz virsrakstu H1',
formatH2: 'Mainīt bloka tipu uz virsrakstu H2',
formatH3: 'Mainīt bloka tipu uz virsrakstu H3',
formatH4: 'Mainīt bloka tipu uz virsrakstu H4',
formatH5: 'Mainīt bloka tipu uz virsrakstu H5',
formatH6: 'Mainīt bloka tipu uz virsrakstu H6',
insertHorizontalRule: 'Ievietot horizontālu līniju',
'linkDialog.show': 'Parādīt saites logu'
},
history: {
undo: 'Atsauks (undo)',
redo: 'Atkārtot (redo)'
},
specialChar: {
specialChar: 'SPECIAL CHARACTERS',
select: 'Select Special characters'
}
}
});
})(jQuery);

View File

@ -0,0 +1,157 @@
// Starsoft Mongolia LLC Temuujin Ariunbold
(function($) {
$.extend($.summernote.lang, {
'mn-MN': {
font: {
bold: 'Тод',
italic: 'Налуу',
underline: 'Доогуур зураас',
clear: 'Цэвэрлэх',
height: 'Өндөр',
name: 'Фонт',
superscript: 'Дээд илтгэгч',
subscript: 'Доод илтгэгч',
strikethrough: 'Дарах',
size: 'Хэмжээ'
},
image: {
image: 'Зураг',
insert: 'Оруулах',
resizeFull: 'Хэмжээ бүтэн',
resizeHalf: 'Хэмжээ 1/2',
resizeQuarter: 'Хэмжээ 1/4',
floatLeft: 'Зүүн талд байрлуулах',
floatRight: 'Баруун талд байрлуулах',
floatNone: 'Анхдагч байрлалд аваачих',
shapeRounded: 'Хүрээ: Дугуй',
shapeCircle: 'Хүрээ: Тойрог',
shapeThumbnail: 'Хүрээ: Хураангуй',
shapeNone: 'Хүрээгүй',
dragImageHere: 'Зургийг энд чирч авчирна уу',
dropImage: 'Drop image or Text',
selectFromFiles: 'Файлуудаас сонгоно уу',
maximumFileSize: 'Файлын дээд хэмжээ',
maximumFileSizeError: 'Файлын дээд хэмжээ хэтэрсэн',
url: 'Зургийн URL',
remove: 'Зургийг устгах',
original: 'Original'
},
video: {
video: 'Видео',
videoLink: 'Видео холбоос',
insert: 'Видео оруулах',
url: 'Видео URL?',
providers: '(YouTube, Vimeo, Vine, Instagram, DailyMotion болон Youku)'
},
link: {
link: 'Холбоос',
insert: 'Холбоос оруулах',
unlink: 'Холбоос арилгах',
edit: 'Засварлах',
textToDisplay: 'Харуулах бичвэр',
url: 'Энэ холбоос хаашаа очих вэ?',
openInNewWindow: 'Шинэ цонхонд нээх'
},
table: {
table: 'Хүснэгт',
addRowAbove: 'Add row above',
addRowBelow: 'Add row below',
addColLeft: 'Add column left',
addColRight: 'Add column right',
delRow: 'Delete row',
delCol: 'Delete column',
delTable: 'Delete table'
},
hr: {
insert: 'Хэвтээ шугам оруулах'
},
style: {
style: 'Хэв маяг',
p: 'p',
blockquote: 'Иш татах',
pre: 'Эх сурвалж',
h1: 'Гарчиг 1',
h2: 'Гарчиг 2',
h3: 'Гарчиг 3',
h4: 'Гарчиг 4',
h5: 'Гарчиг 5',
h6: 'Гарчиг 6'
},
lists: {
unordered: 'Эрэмбэлэгдээгүй',
ordered: 'Эрэмбэлэгдсэн'
},
options: {
help: 'Тусламж',
fullscreen: 'Дэлгэцийг дүүргэх',
codeview: 'HTML-Code харуулах'
},
paragraph: {
paragraph: 'Хэсэг',
outdent: 'Догол мөр хасах',
indent: 'Догол мөр нэмэх',
left: 'Зүүн тийш эгнүүлэх',
center: 'Төвд эгнүүлэх',
right: 'Баруун тийш эгнүүлэх',
justify: 'Мөрийг тэгшлэх'
},
color: {
recent: 'Сүүлд хэрэглэсэн өнгө',
more: 'Өөр өнгөнүүд',
background: 'Дэвсгэр өнгө',
foreground: 'Үсгийн өнгө',
transparent: 'Тунгалаг',
setTransparent: 'Тунгалаг болгох',
reset: 'Анхдагч өнгөөр тохируулах',
resetToDefault: 'Хэвд нь оруулах'
},
shortcut: {
shortcuts: 'Богино холбоос',
close: 'Хаалт',
textFormatting: 'Бичвэрийг хэлбэржүүлэх',
action: 'Үйлдэл',
paragraphFormatting: 'Догол мөрийг хэлбэржүүлэх',
documentStyle: 'Бичиг баримтын хэв загвар',
extraKeys: 'Extra keys'
},
help: {
'insertParagraph': 'Insert Paragraph',
'undo': 'Undoes the last command',
'redo': 'Redoes the last command',
'tab': 'Tab',
'untab': 'Untab',
'bold': 'Set a bold style',
'italic': 'Set a italic style',
'underline': 'Set a underline style',
'strikethrough': 'Set a strikethrough style',
'removeFormat': 'Clean a style',
'justifyLeft': 'Set left align',
'justifyCenter': 'Set center align',
'justifyRight': 'Set right align',
'justifyFull': 'Set full align',
'insertUnorderedList': 'Toggle unordered list',
'insertOrderedList': 'Toggle ordered list',
'outdent': 'Outdent on current paragraph',
'indent': 'Indent on current paragraph',
'formatPara': 'Change current block\'s format as a paragraph(P tag)',
'formatH1': 'Change current block\'s format as H1',
'formatH2': 'Change current block\'s format as H2',
'formatH3': 'Change current block\'s format as H3',
'formatH4': 'Change current block\'s format as H4',
'formatH5': 'Change current block\'s format as H5',
'formatH6': 'Change current block\'s format as H6',
'insertHorizontalRule': 'Insert horizontal rule',
'linkDialog.show': 'Show Link Dialog'
},
history: {
undo: 'Буцаах',
redo: 'Дахин хийх'
},
specialChar: {
specialChar: 'Тусгай тэмдэгт',
select: 'Тусгай тэмдэгт сонгох'
}
}
});
})(jQuery);

View File

@ -0,0 +1,154 @@
(function($) {
$.extend($.summernote.lang, {
'nb-NO': {
font: {
bold: 'Fet',
italic: 'Kursiv',
underline: 'Understrek',
clear: 'Fjern formatering',
height: 'Linjehøyde',
name: 'Skrifttype',
strikethrough: 'Gjennomstrek',
subscript: 'Subscript',
superscript: 'Superscript',
size: 'Skriftstørrelse'
},
image: {
image: 'Bilde',
insert: 'Sett inn bilde',
resizeFull: 'Sett full størrelse',
resizeHalf: 'Sett halv størrelse',
resizeQuarter: 'Sett kvart størrelse',
floatLeft: 'Flyt til venstre',
floatRight: 'Flyt til høyre',
floatNone: 'Fjern flyt',
shapeRounded: 'Shape: Rounded',
shapeCircle: 'Shape: Circle',
shapeThumbnail: 'Shape: Thumbnail',
shapeNone: 'Shape: None',
dragImageHere: 'Dra et bilde hit',
dropImage: 'Drop image or Text',
selectFromFiles: 'Velg fra filer',
maximumFileSize: 'Maximum file size',
maximumFileSizeError: 'Maximum file size exceeded.',
url: 'Bilde-URL',
remove: 'Fjern bilde',
original: 'Original'
},
video: {
video: 'Video',
videoLink: 'Videolenke',
insert: 'Sett inn video',
url: 'Video-URL',
providers: '(YouTube, Vimeo, Vine, Instagram, DailyMotion eller Youku)'
},
link: {
link: 'Lenke',
insert: 'Sett inn lenke',
unlink: 'Fjern lenke',
edit: 'Rediger',
textToDisplay: 'Visningstekst',
url: 'Til hvilken URL skal denne lenken peke?',
openInNewWindow: 'Åpne i nytt vindu'
},
table: {
table: 'Tabell',
addRowAbove: 'Add row above',
addRowBelow: 'Add row below',
addColLeft: 'Add column left',
addColRight: 'Add column right',
delRow: 'Delete row',
delCol: 'Delete column',
delTable: 'Delete table'
},
hr: {
insert: 'Sett inn horisontal linje'
},
style: {
style: 'Stil',
p: 'p',
blockquote: 'Sitat',
pre: 'Kode',
h1: 'Overskrift 1',
h2: 'Overskrift 2',
h3: 'Overskrift 3',
h4: 'Overskrift 4',
h5: 'Overskrift 5',
h6: 'Overskrift 6'
},
lists: {
unordered: 'Punktliste',
ordered: 'Nummerert liste'
},
options: {
help: 'Hjelp',
fullscreen: 'Fullskjerm',
codeview: 'HTML-visning'
},
paragraph: {
paragraph: 'Avsnitt',
outdent: 'Tilbakerykk',
indent: 'Innrykk',
left: 'Venstrejustert',
center: 'Midtstilt',
right: 'Høyrejustert',
justify: 'Blokkjustert'
},
color: {
recent: 'Nylig valgt farge',
more: 'Flere farger',
background: 'Bakgrunnsfarge',
foreground: 'Skriftfarge',
transparent: 'Gjennomsiktig',
setTransparent: 'Sett gjennomsiktig',
reset: 'Nullstill',
resetToDefault: 'Nullstill til standard'
},
shortcut: {
shortcuts: 'Hurtigtaster',
close: 'Lukk',
textFormatting: 'Tekstformatering',
action: 'Handling',
paragraphFormatting: 'Avsnittsformatering',
documentStyle: 'Dokumentstil'
},
help: {
'insertParagraph': 'Insert Paragraph',
'undo': 'Undoes the last command',
'redo': 'Redoes the last command',
'tab': 'Tab',
'untab': 'Untab',
'bold': 'Set a bold style',
'italic': 'Set a italic style',
'underline': 'Set a underline style',
'strikethrough': 'Set a strikethrough style',
'removeFormat': 'Clean a style',
'justifyLeft': 'Set left align',
'justifyCenter': 'Set center align',
'justifyRight': 'Set right align',
'justifyFull': 'Set full align',
'insertUnorderedList': 'Toggle unordered list',
'insertOrderedList': 'Toggle ordered list',
'outdent': 'Outdent on current paragraph',
'indent': 'Indent on current paragraph',
'formatPara': 'Change current block\'s format as a paragraph(P tag)',
'formatH1': 'Change current block\'s format as H1',
'formatH2': 'Change current block\'s format as H2',
'formatH3': 'Change current block\'s format as H3',
'formatH4': 'Change current block\'s format as H4',
'formatH5': 'Change current block\'s format as H5',
'formatH6': 'Change current block\'s format as H6',
'insertHorizontalRule': 'Insert horizontal rule',
'linkDialog.show': 'Show Link Dialog'
},
history: {
undo: 'Angre',
redo: 'Gjør om'
},
specialChar: {
specialChar: 'SPECIAL CHARACTERS',
select: 'Select Special characters'
}
}
});
})(jQuery);

View File

@ -0,0 +1,155 @@
(function($) {
$.extend($.summernote.lang, {
'nl-NL': {
font: {
bold: 'Vet',
italic: 'Cursief',
underline: 'Onderstrepen',
clear: 'Stijl verwijderen',
height: 'Regelhoogte',
name: 'Lettertype',
strikethrough: 'Doorhalen',
subscript: 'Subscript',
superscript: 'Superscript',
size: 'Tekstgrootte'
},
image: {
image: 'Afbeelding',
insert: 'Afbeelding invoegen',
resizeFull: 'Volledige breedte',
resizeHalf: 'Halve breedte',
resizeQuarter: 'Kwart breedte',
floatLeft: 'Links uitlijnen',
floatRight: 'Rechts uitlijnen',
floatNone: 'Geen uitlijning',
shapeRounded: 'Shape: Rounded',
shapeCircle: 'Shape: Circle',
shapeThumbnail: 'Shape: Thumbnail',
shapeNone: 'Shape: None',
dragImageHere: 'Sleep hier een afbeelding naar toe',
dropImage: 'Drop image or Text',
selectFromFiles: 'Selecteer een bestand',
maximumFileSize: 'Maximum file size',
maximumFileSizeError: 'Maximum file size exceeded.',
url: 'URL van de afbeelding',
remove: 'Verwijder afbeelding',
original: 'Original'
},
video: {
video: 'Video',
videoLink: 'Video link',
insert: 'Video invoegen',
url: 'URL van de video',
providers: '(YouTube, Vimeo, Vine, Instagram, DailyMotion of Youku)'
},
link: {
link: 'Link',
insert: 'Link invoegen',
unlink: 'Link verwijderen',
edit: 'Wijzigen',
textToDisplay: 'Tekst van link',
url: 'Naar welke URL moet deze link verwijzen?',
openInNewWindow: 'Open in nieuw venster'
},
table: {
table: 'Tabel',
addRowAbove: 'Add row above',
addRowBelow: 'Add row below',
addColLeft: 'Add column left',
addColRight: 'Add column right',
delRow: 'Delete row',
delCol: 'Delete column',
delTable: 'Delete table'
},
hr: {
insert: 'Horizontale lijn invoegen'
},
style: {
style: 'Stijl',
p: 'Normaal',
blockquote: 'Quote',
pre: 'Code',
h1: 'Kop 1',
h2: 'Kop 2',
h3: 'Kop 3',
h4: 'Kop 4',
h5: 'Kop 5',
h6: 'Kop 6'
},
lists: {
unordered: 'Ongeordende lijst',
ordered: 'Geordende lijst'
},
options: {
help: 'Help',
fullscreen: 'Volledig scherm',
codeview: 'Bekijk Code'
},
paragraph: {
paragraph: 'Paragraaf',
outdent: 'Inspringen verkleinen',
indent: 'Inspringen vergroten',
left: 'Links uitlijnen',
center: 'Centreren',
right: 'Rechts uitlijnen',
justify: 'Uitvullen'
},
color: {
recent: 'Recente kleur',
more: 'Meer kleuren',
background: 'Achtergrond kleur',
foreground: 'Tekst kleur',
transparent: 'Transparant',
setTransparent: 'Transparant',
reset: 'Standaard',
resetToDefault: 'Standaard kleur'
},
shortcut: {
shortcuts: 'Toetsencombinaties',
close: 'sluiten',
textFormatting: 'Tekststijlen',
action: 'Acties',
paragraphFormatting: 'Paragraafstijlen',
documentStyle: 'Documentstijlen',
extraKeys: 'Extra keys'
},
help: {
'insertParagraph': 'Insert Paragraph',
'undo': 'Undoes the last command',
'redo': 'Redoes the last command',
'tab': 'Tab',
'untab': 'Untab',
'bold': 'Set a bold style',
'italic': 'Set a italic style',
'underline': 'Set a underline style',
'strikethrough': 'Set a strikethrough style',
'removeFormat': 'Clean a style',
'justifyLeft': 'Set left align',
'justifyCenter': 'Set center align',
'justifyRight': 'Set right align',
'justifyFull': 'Set full align',
'insertUnorderedList': 'Toggle unordered list',
'insertOrderedList': 'Toggle ordered list',
'outdent': 'Outdent on current paragraph',
'indent': 'Indent on current paragraph',
'formatPara': 'Change current block\'s format as a paragraph(P tag)',
'formatH1': 'Change current block\'s format as H1',
'formatH2': 'Change current block\'s format as H2',
'formatH3': 'Change current block\'s format as H3',
'formatH4': 'Change current block\'s format as H4',
'formatH5': 'Change current block\'s format as H5',
'formatH6': 'Change current block\'s format as H6',
'insertHorizontalRule': 'Insert horizontal rule',
'linkDialog.show': 'Show Link Dialog'
},
history: {
undo: 'Ongedaan maken',
redo: 'Opnieuw doorvoeren'
},
specialChar: {
specialChar: 'SPECIAL CHARACTERS',
select: 'Select Special characters'
}
}
});
})(jQuery);

View File

@ -0,0 +1,155 @@
(function($) {
$.extend($.summernote.lang, {
'pl-PL': {
font: {
bold: 'Pogrubienie',
italic: 'Pochylenie',
underline: 'Podkreślenie',
clear: 'Usuń formatowanie',
height: 'Interlinia',
name: 'Czcionka',
strikethrough: 'Przekreślenie',
subscript: 'Subscript',
superscript: 'Superscript',
size: 'Rozmiar'
},
image: {
image: 'Grafika',
insert: 'Wstaw grafikę',
resizeFull: 'Zmień rozmiar na 100%',
resizeHalf: 'Zmień rozmiar na 50%',
resizeQuarter: 'Zmień rozmiar na 25%',
floatLeft: 'Po lewej',
floatRight: 'Po prawej',
floatNone: 'Równo z tekstem',
shapeRounded: 'Kształt: zaokrąglone',
shapeCircle: 'Kształt: okrąg',
shapeThumbnail: 'Kształt: miniatura',
shapeNone: 'Kształt: brak',
dragImageHere: 'Przeciągnij grafikę lub tekst tutaj',
dropImage: 'Przeciągnij grafikę lub tekst',
selectFromFiles: 'Wybierz z dysku',
maximumFileSize: 'Limit wielkości pliku',
maximumFileSizeError: 'Przekroczono limit wielkości pliku.',
url: 'Adres URL grafiki',
remove: 'Usuń grafikę',
original: 'Original'
},
video: {
video: 'Wideo',
videoLink: 'Adres wideo',
insert: 'Wstaw wideo',
url: 'Adres wideo',
providers: '(YouTube, Vimeo, Vine, Instagram, DailyMotion lub Youku)'
},
link: {
link: 'Odnośnik',
insert: 'Wstaw odnośnik',
unlink: 'Usuń odnośnik',
edit: 'Edytuj',
textToDisplay: 'Tekst do wyświetlenia',
url: 'Na jaki adres URL powinien przenosić ten odnośnik?',
openInNewWindow: 'Otwórz w nowym oknie'
},
table: {
table: 'Tabela',
addRowAbove: 'Add row above',
addRowBelow: 'Add row below',
addColLeft: 'Add column left',
addColRight: 'Add column right',
delRow: 'Delete row',
delCol: 'Delete column',
delTable: 'Delete table'
},
hr: {
insert: 'Wstaw poziomą linię'
},
style: {
style: 'Style',
p: 'pny',
blockquote: 'Cytat',
pre: 'Kod',
h1: 'Nagłówek 1',
h2: 'Nagłówek 2',
h3: 'Nagłówek 3',
h4: 'Nagłówek 4',
h5: 'Nagłówek 5',
h6: 'Nagłówek 6'
},
lists: {
unordered: 'Lista wypunktowana',
ordered: 'Lista numerowana'
},
options: {
help: 'Pomoc',
fullscreen: 'Pełny ekran',
codeview: 'Źródło'
},
paragraph: {
paragraph: 'Akapit',
outdent: 'Zmniejsz wcięcie',
indent: 'Zwiększ wcięcie',
left: 'Wyrównaj do lewej',
center: 'Wyrównaj do środka',
right: 'Wyrównaj do prawej',
justify: 'Wyrównaj do lewej i prawej'
},
color: {
recent: 'Ostani kolor',
more: 'Więcej kolorów',
background: 'Tło',
foreground: 'Czcionka',
transparent: 'Przeźroczysty',
setTransparent: 'Przeźroczyste',
reset: 'Reset',
resetToDefault: 'Domyślne'
},
shortcut: {
shortcuts: 'Skróty klawiaturowe',
close: 'Zamknij',
textFormatting: 'Formatowanie tekstu',
action: 'Akcja',
paragraphFormatting: 'Formatowanie akapitu',
documentStyle: 'Styl dokumentu',
extraKeys: 'Dodatkowe klawisze'
},
help: {
'insertParagraph': 'Insert Paragraph',
'undo': 'Undoes the last command',
'redo': 'Redoes the last command',
'tab': 'Tab',
'untab': 'Untab',
'bold': 'Set a bold style',
'italic': 'Set a italic style',
'underline': 'Set a underline style',
'strikethrough': 'Set a strikethrough style',
'removeFormat': 'Clean a style',
'justifyLeft': 'Set left align',
'justifyCenter': 'Set center align',
'justifyRight': 'Set right align',
'justifyFull': 'Set full align',
'insertUnorderedList': 'Toggle unordered list',
'insertOrderedList': 'Toggle ordered list',
'outdent': 'Outdent on current paragraph',
'indent': 'Indent on current paragraph',
'formatPara': 'Change current block\'s format as a paragraph(P tag)',
'formatH1': 'Change current block\'s format as H1',
'formatH2': 'Change current block\'s format as H2',
'formatH3': 'Change current block\'s format as H3',
'formatH4': 'Change current block\'s format as H4',
'formatH5': 'Change current block\'s format as H5',
'formatH6': 'Change current block\'s format as H6',
'insertHorizontalRule': 'Insert horizontal rule',
'linkDialog.show': 'Show Link Dialog'
},
history: {
undo: 'Cofnij',
redo: 'Ponów'
},
specialChar: {
specialChar: 'SPECIAL CHARACTERS',
select: 'Select Special characters'
}
}
});
})(jQuery);

View File

@ -0,0 +1,155 @@
(function($) {
$.extend($.summernote.lang, {
'pt-BR': {
font: {
bold: 'Negrito',
italic: 'Itálico',
underline: 'Sublinhado',
clear: 'Remover estilo da fonte',
height: 'Altura da linha',
name: 'Fonte',
strikethrough: 'Riscado',
subscript: 'Subscript',
superscript: 'Superscript',
size: 'Tamanho da fonte'
},
image: {
image: 'Imagem',
insert: 'Inserir imagem',
resizeFull: 'Redimensionar Completamente',
resizeHalf: 'Redimensionar pela Metade',
resizeQuarter: 'Redimensionar um Quarto',
floatLeft: 'Flutuar para Esquerda',
floatRight: 'Flutuar para Direira',
floatNone: 'Não Flutuar',
shapeRounded: 'Shape: Rounded',
shapeCircle: 'Shape: Circle',
shapeThumbnail: 'Shape: Thumbnail',
shapeNone: 'Shape: None',
dragImageHere: 'Arraste uma imagem para cá',
dropImage: 'Drop image or Text',
selectFromFiles: 'Selecione a partir dos arquivos',
maximumFileSize: 'Maximum file size',
maximumFileSizeError: 'Maximum file size exceeded.',
url: 'URL da imagem',
remove: 'Remove Image',
original: 'Original'
},
video: {
video: 'Vídeo',
videoLink: 'Link para vídeo',
insert: 'Inserir vídeo',
url: 'URL do vídeo?',
providers: '(YouTube, Vimeo, Vine, Instagram, DailyMotion ou Youku)'
},
link: {
link: 'Link',
insert: 'Inserir link',
unlink: 'Remover link',
edit: 'Editar',
textToDisplay: 'Texto para exibir',
url: 'Para qual URL esse link leva?',
openInNewWindow: 'Abrir em uma nova janela'
},
table: {
table: 'Tabela',
addRowAbove: 'Adicionar linha acima',
addRowBelow: 'Adicionar linha abaixo',
addColLeft: 'Adicionar coluna a esquerda',
addColRight: 'Adicionar coluna a direita',
delRow: 'Excluir linha',
delCol: 'Excluir coluna',
delTable: 'Delete table'
},
hr: {
insert: 'Inserir linha horizontal'
},
style: {
style: 'Estilo',
normal: 'Normal',
blockquote: 'Citação',
pre: 'Código',
h1: 'Título 1',
h2: 'Título 2',
h3: 'Título 3',
h4: 'Título 4',
h5: 'Título 5',
h6: 'Título 6'
},
lists: {
unordered: 'Lista com marcadores',
ordered: 'Lista numerada'
},
options: {
help: 'Ajuda',
fullscreen: 'Tela cheia',
codeview: 'Ver código-fonte'
},
paragraph: {
paragraph: 'Parágrafo',
outdent: 'Menor tabulação',
indent: 'Maior tabulação',
left: 'Alinhar à esquerda',
center: 'Alinhar ao centro',
right: 'Alinha à direita',
justify: 'Justificado'
},
color: {
recent: 'Cor recente',
more: 'Mais cores',
background: 'Fundo',
foreground: 'Fonte',
transparent: 'Transparente',
setTransparent: 'Fundo transparente',
reset: 'Restaurar',
resetToDefault: 'Restaurar padrão'
},
shortcut: {
shortcuts: 'Atalhos do teclado',
close: 'Fechar',
textFormatting: 'Formatação de texto',
action: 'Ação',
paragraphFormatting: 'Formatação de parágrafo',
documentStyle: 'Estilo de documento',
extraKeys: 'Extra keys'
},
help: {
'insertParagraph': 'Inserir Parágrafo',
'undo': 'Desfazer o último comando',
'redo': 'Refazer o último comando',
'tab': 'Tab',
'untab': 'Desfazer tab',
'bold': 'Colocar em negrito',
'italic': 'Colocar em itálico',
'underline': 'Sublinhado',
'strikethrough': 'Tachado',
'removeFormat': 'Remover estilo',
'justifyLeft': 'Alinhar à esquerda',
'justifyCenter': 'Centralizar',
'justifyRight': 'Alinhar à esquerda',
'justifyFull': 'Justificar',
'insertUnorderedList': 'Lista não ordenada',
'insertOrderedList': 'Lista ordenada',
'outdent': 'Recuar parágrafo atual',
'indent': 'Avançar parágrafo atual',
'formatPara': 'Alterar formato do bloco para parágrafo(tag P)',
'formatH1': 'Alterar formato do bloco para H1',
'formatH2': 'Alterar formato do bloco para H2',
'formatH3': 'Alterar formato do bloco para H3',
'formatH4': 'Alterar formato do bloco para H4',
'formatH5': 'Alterar formato do bloco para H5',
'formatH6': 'Alterar formato do bloco para H6',
'insertHorizontalRule': 'Inserir régua horizontal',
'linkDialog.show': 'Inserir um Hiperlink'
},
history: {
undo: 'Desfazer',
redo: 'Refazer'
},
specialChar: {
specialChar: 'SPECIAL CHARACTERS',
select: 'Select Special characters'
}
}
});
})(jQuery);

View File

@ -0,0 +1,154 @@
(function($) {
$.extend($.summernote.lang, {
'pt-PT': {
font: {
bold: 'Negrito',
italic: 'Itálico',
underline: 'Sublinhado',
clear: 'Remover estilo da fonte',
height: 'Altura da linha',
name: 'Fonte',
strikethrough: 'Riscado',
subscript: 'Subscript',
superscript: 'Superscript',
size: 'Tamanho da fonte'
},
image: {
image: 'Imagem',
insert: 'Inserir imagem',
resizeFull: 'Redimensionar Completo',
resizeHalf: 'Redimensionar Metade',
resizeQuarter: 'Redimensionar Um Quarto',
floatLeft: 'Float Esquerda',
floatRight: 'Float Direita',
floatNone: 'Sem Float',
shapeRounded: 'Shape: Rounded',
shapeCircle: 'Shape: Circle',
shapeThumbnail: 'Shape: Thumbnail',
shapeNone: 'Shape: None',
dragImageHere: 'Arraste uma imagem para aqui',
dropImage: 'Drop image or Text',
selectFromFiles: 'Selecione a partir dos arquivos',
maximumFileSize: 'Maximum file size',
maximumFileSizeError: 'Maximum file size exceeded.',
url: 'Endereço da imagem',
remove: 'Remove Image',
original: 'Original'
},
video: {
video: 'Vídeo',
videoLink: 'Link para vídeo',
insert: 'Inserir vídeo',
url: 'URL do vídeo?',
providers: '(YouTube, Vimeo, Vine, Instagram, DailyMotion ou Youku)'
},
link: {
link: 'Link',
insert: 'Inserir ligação',
unlink: 'Remover ligação',
edit: 'Editar',
textToDisplay: 'Texto para exibir',
url: 'Que endereço esta licação leva?',
openInNewWindow: 'Abrir numa nova janela'
},
table: {
table: 'Tabela',
addRowAbove: 'Add row above',
addRowBelow: 'Add row below',
addColLeft: 'Add column left',
addColRight: 'Add column right',
delRow: 'Delete row',
delCol: 'Delete column',
delTable: 'Delete table'
},
hr: {
insert: 'Inserir linha horizontal'
},
style: {
style: 'Estilo',
p: 'p',
blockquote: 'Citação',
pre: 'Código',
h1: 'Título 1',
h2: 'Título 2',
h3: 'Título 3',
h4: 'Título 4',
h5: 'Título 5',
h6: 'Título 6'
},
lists: {
unordered: 'Lista com marcadores',
ordered: 'Lista numerada'
},
options: {
help: 'Ajuda',
fullscreen: 'Janela Completa',
codeview: 'Ver código-fonte'
},
paragraph: {
paragraph: 'Parágrafo',
outdent: 'Menor tabulação',
indent: 'Maior tabulação',
left: 'Alinhar à esquerda',
center: 'Alinhar ao centro',
right: 'Alinha à direita',
justify: 'Justificado'
},
color: {
recent: 'Cor recente',
more: 'Mais cores',
background: 'Fundo',
foreground: 'Fonte',
transparent: 'Transparente',
setTransparent: 'Fundo transparente',
reset: 'Restaurar',
resetToDefault: 'Restaurar padrão'
},
shortcut: {
shortcuts: 'Atalhos do teclado',
close: 'Fechar',
textFormatting: 'Formatação de texto',
action: 'Ação',
paragraphFormatting: 'Formatação de parágrafo',
documentStyle: 'Estilo de documento'
},
help: {
'insertParagraph': 'Insert Paragraph',
'undo': 'Undoes the last command',
'redo': 'Redoes the last command',
'tab': 'Tab',
'untab': 'Untab',
'bold': 'Set a bold style',
'italic': 'Set a italic style',
'underline': 'Set a underline style',
'strikethrough': 'Set a strikethrough style',
'removeFormat': 'Clean a style',
'justifyLeft': 'Set left align',
'justifyCenter': 'Set center align',
'justifyRight': 'Set right align',
'justifyFull': 'Set full align',
'insertUnorderedList': 'Toggle unordered list',
'insertOrderedList': 'Toggle ordered list',
'outdent': 'Outdent on current paragraph',
'indent': 'Indent on current paragraph',
'formatPara': 'Change current block\'s format as a paragraph(P tag)',
'formatH1': 'Change current block\'s format as H1',
'formatH2': 'Change current block\'s format as H2',
'formatH3': 'Change current block\'s format as H3',
'formatH4': 'Change current block\'s format as H4',
'formatH5': 'Change current block\'s format as H5',
'formatH6': 'Change current block\'s format as H6',
'insertHorizontalRule': 'Insert horizontal rule',
'linkDialog.show': 'Show Link Dialog'
},
history: {
undo: 'Desfazer',
redo: 'Refazer'
},
specialChar: {
specialChar: 'SPECIAL CHARACTERS',
select: 'Select Special characters'
}
}
});
})(jQuery);

View File

@ -0,0 +1,155 @@
(function($) {
$.extend($.summernote.lang, {
'ro-RO': {
font: {
bold: 'Îngroșat',
italic: 'Înclinat',
underline: 'Subliniat',
clear: 'Înlătură formatare font',
height: 'Înălțime rând',
name: 'Familie de fonturi',
strikethrough: 'Tăiat',
subscript: 'Indice',
superscript: 'Exponent',
size: 'Dimensiune font'
},
image: {
image: 'Imagine',
insert: 'Inserează imagine',
resizeFull: 'Redimensionează complet',
resizeHalf: 'Redimensionează 1/2',
resizeQuarter: 'Redimensionează 1/4',
floatLeft: 'Aliniere la stânga',
floatRight: 'Aliniere la dreapta',
floatNone: 'Fară aliniere',
shapeRounded: 'Formă: Rotund',
shapeCircle: 'Formă: Cerc',
shapeThumbnail: 'Formă: Pictogramă',
shapeNone: 'Formă: Nici una',
dragImageHere: 'Trage o imagine sau un text aici',
dropImage: 'Eliberează imaginea sau textul',
selectFromFiles: 'Alege din fişiere',
maximumFileSize: 'Dimensiune maximă fișier',
maximumFileSizeError: 'Dimensiune maximă fișier depășită.',
url: 'URL imagine',
remove: 'Șterge imagine',
original: 'Original'
},
video: {
video: 'Video',
videoLink: 'Link video',
insert: 'Inserează video',
url: 'URL video?',
providers: '(YouTube, Vimeo, Vine, Instagram, DailyMotion sau Youku)'
},
link: {
link: 'Link',
insert: 'Inserează link',
unlink: 'Înlătură link',
edit: 'Editează',
textToDisplay: 'Text ce va fi afişat',
url: 'La ce adresă URL trebuie să conducă acest link?',
openInNewWindow: 'Deschidere în fereastră nouă'
},
table: {
table: 'Tabel',
addRowAbove: 'Adaugă rând deasupra',
addRowBelow: 'Adaugă rând dedesubt',
addColLeft: 'Adaugă coloană stânga',
addColRight: 'Adaugă coloană dreapta',
delRow: 'Șterge rând',
delCol: 'Șterge coloană',
delTable: 'Șterge tabel'
},
hr: {
insert: 'Inserează o linie orizontală'
},
style: {
style: 'Stil',
p: 'p',
blockquote: 'Citat',
pre: 'Preformatat',
h1: 'Titlu 1',
h2: 'Titlu 2',
h3: 'Titlu 3',
h4: 'Titlu 4',
h5: 'Titlu 5',
h6: 'Titlu 6'
},
lists: {
unordered: 'Listă neordonată',
ordered: 'Listă ordonată'
},
options: {
help: 'Ajutor',
fullscreen: 'Măreşte',
codeview: 'Sursă'
},
paragraph: {
paragraph: 'Paragraf',
outdent: 'Creşte identarea',
indent: 'Scade identarea',
left: 'Aliniere la stânga',
center: 'Aliniere centrală',
right: 'Aliniere la dreapta',
justify: 'Aliniere în bloc'
},
color: {
recent: 'Culoare recentă',
more: 'Mai multe culori',
background: 'Culoarea fundalului',
foreground: 'Culoarea textului',
transparent: 'Transparent',
setTransparent: 'Setează transparent',
reset: 'Resetează',
resetToDefault: 'Revino la iniţial'
},
shortcut: {
shortcuts: 'Scurtături tastatură',
close: 'Închide',
textFormatting: 'Formatare text',
action: 'Acţiuni',
paragraphFormatting: 'Formatare paragraf',
documentStyle: 'Stil paragraf',
extraKeys: 'Taste extra'
},
help: {
'insertParagraph': 'Inserează paragraf',
'undo': 'Revine la starea anterioară',
'redo': 'Revine la starea ulterioară',
'tab': 'Tab',
'untab': 'Untab',
'bold': 'Setează stil îngroșat',
'italic': 'Setează stil înclinat',
'underline': 'Setează stil subliniat',
'strikethrough': 'Setează stil tăiat',
'removeFormat': 'Înlătură formatare',
'justifyLeft': 'Setează aliniere stânga',
'justifyCenter': 'Setează aliniere centru',
'justifyRight': 'Setează aliniere dreapta',
'justifyFull': 'Setează aliniere bloc',
'insertUnorderedList': 'Comutare listă neordinată',
'insertOrderedList': 'Comutare listă ordonată',
'outdent': 'Înlătură indentare paragraf curent',
'indent': 'Adaugă indentare paragraf curent',
'formatPara': 'Schimbă formatarea selecției în paragraf',
'formatH1': 'Schimbă formatarea selecției în H1',
'formatH2': 'Schimbă formatarea selecției în H2',
'formatH3': 'Schimbă formatarea selecției în H3',
'formatH4': 'Schimbă formatarea selecției în H4',
'formatH5': 'Schimbă formatarea selecției în H5',
'formatH6': 'Schimbă formatarea selecției în H6',
'insertHorizontalRule': 'Adaugă linie orizontală',
'linkDialog.show': 'Inserează link'
},
history: {
undo: 'Starea anterioară',
redo: 'Starea ulterioară'
},
specialChar: {
specialChar: 'CARACTERE SPECIALE',
select: 'Alege caractere speciale'
}
}
});
})(jQuery);

View File

@ -0,0 +1,155 @@
(function($) {
$.extend($.summernote.lang, {
'ru-RU': {
font: {
bold: 'Полужирный',
italic: 'Курсив',
underline: 'Подчёркнутый',
clear: 'Убрать стили шрифта',
height: 'Высота линии',
name: 'Шрифт',
strikethrough: 'Зачёркнутый',
subscript: 'Нижний индекс',
superscript: 'Верхний индекс',
size: 'Размер шрифта'
},
image: {
image: 'Картинка',
insert: 'Вставить картинку',
resizeFull: 'Восстановить размер',
resizeHalf: 'Уменьшить до 50%',
resizeQuarter: 'Уменьшить до 25%',
floatLeft: 'Расположить слева',
floatRight: 'Расположить справа',
floatNone: 'Расположение по-умолчанию',
shapeRounded: 'Форма: Закругленная',
shapeCircle: 'Форма: Круг',
shapeThumbnail: 'Форма: Миниатюра',
shapeNone: 'Форма: Нет',
dragImageHere: 'Перетащите сюда картинку',
dropImage: 'Перетащите картинку',
selectFromFiles: 'Выбрать из файлов',
maximumFileSize: 'Максимальный размер файла',
maximumFileSizeError: 'Превышен максимальный размер файла',
url: 'URL картинки',
remove: 'Удалить картинку',
original: 'Оригинал'
},
video: {
video: 'Видео',
videoLink: 'Ссылка на видео',
insert: 'Вставить видео',
url: 'URL видео',
providers: '(YouTube, Vimeo, Vine, Instagram, DailyMotion или Youku)'
},
link: {
link: 'Ссылка',
insert: 'Вставить ссылку',
unlink: 'Убрать ссылку',
edit: 'Редактировать',
textToDisplay: 'Отображаемый текст',
url: 'URL для перехода',
openInNewWindow: 'Открывать в новом окне'
},
table: {
table: 'Таблица',
addRowAbove: 'Добавить строку выше',
addRowBelow: 'Добавить строку ниже',
addColLeft: 'Добавить столбец слева',
addColRight: 'Добавить столбец справа',
delRow: 'Удалить строку',
delCol: 'Удалить столбец',
delTable: 'Удалить таблицу'
},
hr: {
insert: 'Вставить горизонтальную линию'
},
style: {
style: 'Стиль',
p: 'Нормальный',
blockquote: 'Цитата',
pre: 'Код',
h1: 'Заголовок 1',
h2: 'Заголовок 2',
h3: 'Заголовок 3',
h4: 'Заголовок 4',
h5: 'Заголовок 5',
h6: 'Заголовок 6'
},
lists: {
unordered: 'Маркированный список',
ordered: 'Нумерованный список'
},
options: {
help: 'Помощь',
fullscreen: 'На весь экран',
codeview: 'Исходный код'
},
paragraph: {
paragraph: 'Параграф',
outdent: 'Уменьшить отступ',
indent: 'Увеличить отступ',
left: 'Выровнять по левому краю',
center: 'Выровнять по центру',
right: 'Выровнять по правому краю',
justify: 'Растянуть по ширине'
},
color: {
recent: 'Последний цвет',
more: 'Еще цвета',
background: 'Цвет фона',
foreground: 'Цвет шрифта',
transparent: 'Прозрачный',
setTransparent: 'Сделать прозрачным',
reset: 'Сброс',
resetToDefault: 'Восстановить умолчания'
},
shortcut: {
shortcuts: 'Сочетания клавиш',
close: 'Закрыть',
textFormatting: 'Форматирование текста',
action: 'Действие',
paragraphFormatting: 'Форматирование параграфа',
documentStyle: 'Стиль документа',
extraKeys: 'Дополнительные комбинации'
},
help: {
'insertParagraph': 'Новый параграф',
'undo': 'Отменить последнюю команду',
'redo': 'Повторить последнюю команду',
'tab': 'Tab',
'untab': 'Untab',
'bold': 'Установить стиль "Жирный"',
'italic': 'Установить стиль "Наклонный"',
'underline': 'Установить стиль "Подчеркнутый"',
'strikethrough': 'Установить стиль "Зачеркнутый"',
'removeFormat': 'Сборсить стили',
'justifyLeft': 'Выровнять по левому краю',
'justifyCenter': 'Выровнять по центру',
'justifyRight': 'Выровнять по правому краю',
'justifyFull': 'Растянуть на всю ширину',
'insertUnorderedList': 'Включить/отключить маркированный список',
'insertOrderedList': 'Включить/отключить нумерованный список',
'outdent': 'Убрать отступ в текущем параграфе',
'indent': 'Вставить отступ в текущем параграфе',
'formatPara': 'Форматировать текущий блок как параграф (тег P)',
'formatH1': 'Форматировать текущий блок как H1',
'formatH2': 'Форматировать текущий блок как H2',
'formatH3': 'Форматировать текущий блок как H3',
'formatH4': 'Форматировать текущий блок как H4',
'formatH5': 'Форматировать текущий блок как H5',
'formatH6': 'Форматировать текущий блок как H6',
'insertHorizontalRule': 'Вставить горизонтальную черту',
'linkDialog.show': 'Показать диалог "Ссылка"'
},
history: {
undo: 'Отменить',
redo: 'Повтор'
},
specialChar: {
specialChar: 'SPECIAL CHARACTERS',
select: 'Select Special characters'
}
}
});
})(jQuery);

View File

@ -0,0 +1,153 @@
(function($) {
$.extend($.summernote.lang, {
'sk-SK': {
font: {
bold: 'Tučné',
italic: 'Kurzíva',
underline: 'Podčiarknutie',
clear: 'Odstrániť štýl písma',
height: 'Výška riadku',
strikethrough: 'Prečiarknuté',
subscript: 'Subscript',
superscript: 'Superscript',
size: 'Veľkosť písma'
},
image: {
image: 'Obrázok',
insert: 'Vložiť obrázok',
resizeFull: 'Pôvodná veľkosť',
resizeHalf: 'Polovičná veľkosť',
resizeQuarter: 'Štvrtinová veľkosť',
floatLeft: 'Umiestniť doľava',
floatRight: 'Umiestniť doprava',
floatNone: 'Bez zarovnania',
shapeRounded: 'Shape: Rounded',
shapeCircle: 'Shape: Circle',
shapeThumbnail: 'Shape: Thumbnail',
shapeNone: 'Shape: None',
dragImageHere: 'Pretiahnuť sem obrázok',
dropImage: 'Drop image or Text',
selectFromFiles: 'Vybrať súbor',
maximumFileSize: 'Maximum file size',
maximumFileSizeError: 'Maximum file size exceeded.',
url: 'URL obrázku',
remove: 'Remove Image',
original: 'Original'
},
video: {
video: 'Video',
videoLink: 'Odkaz videa',
insert: 'Vložiť video',
url: 'URL videa?',
providers: '(YouTube, Vimeo, Vine, Instagram, DailyMotion alebo Youku)'
},
link: {
link: 'Odkaz',
insert: 'Vytvoriť odkaz',
unlink: 'Zrušiť odkaz',
edit: 'Upraviť',
textToDisplay: 'Zobrazovaný text',
url: 'Na akú URL adresu má tento odkaz viesť?',
openInNewWindow: 'Otvoriť v novom okne'
},
table: {
table: 'Tabuľka',
addRowAbove: 'Add row above',
addRowBelow: 'Add row below',
addColLeft: 'Add column left',
addColRight: 'Add column right',
delRow: 'Delete row',
delCol: 'Delete column',
delTable: 'Delete table'
},
hr: {
insert: 'Vložit vodorovnú čiaru'
},
style: {
style: 'Štýl',
p: 'Normálny',
blockquote: 'Citácia',
pre: 'Kód',
h1: 'Nadpis 1',
h2: 'Nadpis 2',
h3: 'Nadpis 3',
h4: 'Nadpis 4',
h5: 'Nadpis 5',
h6: 'Nadpis 6'
},
lists: {
unordered: 'Odrážkový zoznam',
ordered: 'Číselný zoznam'
},
options: {
help: 'Pomoc',
fullscreen: 'Celá obrazovka',
codeview: 'HTML kód'
},
paragraph: {
paragraph: 'Odsek',
outdent: 'Zväčšiť odsadenie',
indent: 'Zmenšiť odsadenie',
left: 'Zarovnať doľava',
center: 'Zarovnať na stred',
right: 'Zarovnať doprava',
justify: 'Zarovnať obojstranne'
},
color: {
recent: 'Aktuálna farba',
more: 'Dalšie farby',
background: 'Farba pozadia',
foreground: 'Farba písma',
transparent: 'Priehľadnosť',
setTransparent: 'Nastaviť priehľadnosť',
reset: 'Obnoviť',
resetToDefault: 'Obnoviť prednastavené'
},
shortcut: {
shortcuts: 'Klávesové skratky',
close: 'Zavrieť',
textFormatting: 'Formátovanie textu',
action: 'Akcia',
paragraphFormatting: 'Formátovanie odseku',
documentStyle: 'Štýl dokumentu'
},
help: {
'insertParagraph': 'Insert Paragraph',
'undo': 'Undoes the last command',
'redo': 'Redoes the last command',
'tab': 'Tab',
'untab': 'Untab',
'bold': 'Set a bold style',
'italic': 'Set a italic style',
'underline': 'Set a underline style',
'strikethrough': 'Set a strikethrough style',
'removeFormat': 'Clean a style',
'justifyLeft': 'Set left align',
'justifyCenter': 'Set center align',
'justifyRight': 'Set right align',
'justifyFull': 'Set full align',
'insertUnorderedList': 'Toggle unordered list',
'insertOrderedList': 'Toggle ordered list',
'outdent': 'Outdent on current paragraph',
'indent': 'Indent on current paragraph',
'formatPara': 'Change current block\'s format as a paragraph(P tag)',
'formatH1': 'Change current block\'s format as H1',
'formatH2': 'Change current block\'s format as H2',
'formatH3': 'Change current block\'s format as H3',
'formatH4': 'Change current block\'s format as H4',
'formatH5': 'Change current block\'s format as H5',
'formatH6': 'Change current block\'s format as H6',
'insertHorizontalRule': 'Insert horizontal rule',
'linkDialog.show': 'Show Link Dialog'
},
history: {
undo: 'Krok vzad',
redo: 'Krok dopredu'
},
specialChar: {
specialChar: 'SPECIAL CHARACTERS',
select: 'Select Special characters'
}
}
});
})(jQuery);

View File

@ -0,0 +1,155 @@
(function($) {
$.extend($.summernote.lang, {
'sl-SI': {
font: {
bold: 'Krepko',
italic: 'Ležeče',
underline: 'Podčrtano',
clear: 'Počisti oblikovanje izbire',
height: 'Razmik med vrsticami',
name: 'Pisava',
strikethrough: 'Prečrtano',
subscript: 'Podpisano',
superscript: 'Nadpisano',
size: 'Velikost pisave'
},
image: {
image: 'Slika',
insert: 'Vstavi sliko',
resizeFull: 'Razširi na polno velikost',
resizeHalf: 'Razširi na polovico velikosti',
resizeQuarter: 'Razširi na četrtino velikosti',
floatLeft: 'Leva poravnava',
floatRight: 'Desna poravnava',
floatNone: 'Brez poravnave',
shapeRounded: 'Shape: Rounded',
shapeCircle: 'Shape: Circle',
shapeThumbnail: 'Shape: Thumbnail',
shapeNone: 'Shape: None',
dragImageHere: 'Sem povlecite sliko',
dropImage: 'Drop image or Text',
selectFromFiles: 'Izberi sliko za nalaganje',
maximumFileSize: 'Maximum file size',
maximumFileSizeError: 'Maximum file size exceeded.',
url: 'URL naslov slike',
remove: 'Odstrani sliko',
original: 'Original'
},
video: {
video: 'Video',
videoLink: 'Video povezava',
insert: 'Vstavi video',
url: 'Povezava do videa',
providers: '(YouTube, Vimeo, Vine, Instagram, DailyMotion ali Youku)'
},
link: {
link: 'Povezava',
insert: 'Vstavi povezavo',
unlink: 'Odstrani povezavo',
edit: 'Uredi',
textToDisplay: 'Prikazano besedilo',
url: 'Povezava',
openInNewWindow: 'Odpri v novem oknu'
},
table: {
table: 'Tabela',
addRowAbove: 'Add row above',
addRowBelow: 'Add row below',
addColLeft: 'Add column left',
addColRight: 'Add column right',
delRow: 'Delete row',
delCol: 'Delete column',
delTable: 'Delete table'
},
hr: {
insert: 'Vstavi horizontalno črto'
},
style: {
style: 'Slogi',
p: 'Navadno besedilo',
blockquote: 'Citat',
pre: 'Koda',
h1: 'Naslov 1',
h2: 'Naslov 2',
h3: 'Naslov 3',
h4: 'Naslov 4',
h5: 'Naslov 5',
h6: 'Naslov 6'
},
lists: {
unordered: 'Označen seznam',
ordered: 'Oštevilčen seznam'
},
options: {
help: 'Pomoč',
fullscreen: 'Celozaslonski način',
codeview: 'Pregled HTML kode'
},
paragraph: {
paragraph: 'Slogi odstavka',
outdent: 'Zmanjšaj odmik',
indent: 'Povečaj odmik',
left: 'Leva poravnava',
center: 'Desna poravnava',
right: 'Sredinska poravnava',
justify: 'Obojestranska poravnava'
},
color: {
recent: 'Uporabi zadnjo barvo',
more: 'Več barv',
background: 'Barva ozadja',
foreground: 'Barva besedila',
transparent: 'Brez barve',
setTransparent: 'Brez barve',
reset: 'Ponastavi',
resetToDefault: 'Ponastavi na privzeto'
},
shortcut: {
shortcuts: 'Bljižnice',
close: 'Zapri',
textFormatting: 'Oblikovanje besedila',
action: 'Dejanja',
paragraphFormatting: 'Oblikovanje odstavka',
documentStyle: 'Oblikovanje naslova',
extraKeys: 'Extra keys'
},
help: {
'insertParagraph': 'Insert Paragraph',
'undo': 'Undoes the last command',
'redo': 'Redoes the last command',
'tab': 'Tab',
'untab': 'Untab',
'bold': 'Set a bold style',
'italic': 'Set a italic style',
'underline': 'Set a underline style',
'strikethrough': 'Set a strikethrough style',
'removeFormat': 'Clean a style',
'justifyLeft': 'Set left align',
'justifyCenter': 'Set center align',
'justifyRight': 'Set right align',
'justifyFull': 'Set full align',
'insertUnorderedList': 'Toggle unordered list',
'insertOrderedList': 'Toggle ordered list',
'outdent': 'Outdent on current paragraph',
'indent': 'Indent on current paragraph',
'formatPara': 'Change current block\'s format as a paragraph(P tag)',
'formatH1': 'Change current block\'s format as H1',
'formatH2': 'Change current block\'s format as H2',
'formatH3': 'Change current block\'s format as H3',
'formatH4': 'Change current block\'s format as H4',
'formatH5': 'Change current block\'s format as H5',
'formatH6': 'Change current block\'s format as H6',
'insertHorizontalRule': 'Insert horizontal rule',
'linkDialog.show': 'Show Link Dialog'
},
history: {
undo: 'Razveljavi',
redo: 'Uveljavi'
},
specialChar: {
specialChar: 'SPECIAL CHARACTERS',
select: 'Select Special characters'
}
}
});
})(jQuery);

View File

@ -0,0 +1,155 @@
(function($) {
$.extend($.summernote.lang, {
'sr-RS': {
font: {
bold: 'Podebljano',
italic: 'Kurziv',
underline: 'Podvučeno',
clear: 'Ukloni stilove fonta',
height: 'Visina linije',
name: 'Font Family',
strikethrough: 'Precrtano',
subscript: 'Subscript',
superscript: 'Superscript',
size: 'Veličina fonta'
},
image: {
image: 'Slika',
insert: 'Umetni sliku',
resizeFull: 'Puna veličina',
resizeHalf: 'Umanji na 50%',
resizeQuarter: 'Umanji na 25%',
floatLeft: 'Uz levu ivicu',
floatRight: 'Uz desnu ivicu',
floatNone: 'Bez ravnanja',
shapeRounded: 'Shape: Rounded',
shapeCircle: 'Shape: Circle',
shapeThumbnail: 'Shape: Thumbnail',
shapeNone: 'Shape: None',
dragImageHere: 'Prevuci sliku ovde',
dropImage: 'Drop image or Text',
selectFromFiles: 'Izaberi iz datoteke',
maximumFileSize: 'Maximum file size',
maximumFileSizeError: 'Maximum file size exceeded.',
url: 'Adresa slike',
remove: 'Ukloni sliku',
original: 'Original'
},
video: {
video: 'Video',
videoLink: 'Veza ka videu',
insert: 'Umetni video',
url: 'URL video',
providers: '(YouTube, Vimeo, Vine, Instagram, DailyMotion ili Youku)'
},
link: {
link: 'Veza',
insert: 'Umetni vezu',
unlink: 'Ukloni vezu',
edit: 'Uredi',
textToDisplay: 'Tekst za prikaz',
url: 'Internet adresa',
openInNewWindow: 'Otvori u novom prozoru'
},
table: {
table: 'Tabela',
addRowAbove: 'Add row above',
addRowBelow: 'Add row below',
addColLeft: 'Add column left',
addColRight: 'Add column right',
delRow: 'Delete row',
delCol: 'Delete column',
delTable: 'Delete table'
},
hr: {
insert: 'Umetni horizontalnu liniju'
},
style: {
style: 'Stil',
p: 'pni',
blockquote: 'Citat',
pre: 'Kod',
h1: 'Zaglavlje 1',
h2: 'Zaglavlje 2',
h3: 'Zaglavlje 3',
h4: 'Zaglavlje 4',
h5: 'Zaglavlje 5',
h6: 'Zaglavlje 6'
},
lists: {
unordered: 'Obična lista',
ordered: 'Numerisana lista'
},
options: {
help: 'Pomoć',
fullscreen: 'Preko celog ekrana',
codeview: 'Izvorni kod'
},
paragraph: {
paragraph: 'Paragraf',
outdent: 'Smanji uvlačenje',
indent: 'Povečaj uvlačenje',
left: 'Poravnaj u levo',
center: 'Centrirano',
right: 'Poravnaj u desno',
justify: 'Poravnaj obostrano'
},
color: {
recent: 'Poslednja boja',
more: 'Više boja',
background: 'Boja pozadine',
foreground: 'Boja teksta',
transparent: 'Providna',
setTransparent: 'Providna',
reset: 'Opoziv',
resetToDefault: 'Podrazumevana'
},
shortcut: {
shortcuts: 'Prečice sa tastature',
close: 'Zatvori',
textFormatting: 'Formatiranje teksta',
action: 'Akcija',
paragraphFormatting: 'Formatiranje paragrafa',
documentStyle: 'Stil dokumenta',
extraKeys: 'Dodatne kombinacije'
},
help: {
'insertParagraph': 'Insert Paragraph',
'undo': 'Undoes the last command',
'redo': 'Redoes the last command',
'tab': 'Tab',
'untab': 'Untab',
'bold': 'Set a bold style',
'italic': 'Set a italic style',
'underline': 'Set a underline style',
'strikethrough': 'Set a strikethrough style',
'removeFormat': 'Clean a style',
'justifyLeft': 'Set left align',
'justifyCenter': 'Set center align',
'justifyRight': 'Set right align',
'justifyFull': 'Set full align',
'insertUnorderedList': 'Toggle unordered list',
'insertOrderedList': 'Toggle ordered list',
'outdent': 'Outdent on current paragraph',
'indent': 'Indent on current paragraph',
'formatPara': 'Change current block\'s format as a paragraph(P tag)',
'formatH1': 'Change current block\'s format as H1',
'formatH2': 'Change current block\'s format as H2',
'formatH3': 'Change current block\'s format as H3',
'formatH4': 'Change current block\'s format as H4',
'formatH5': 'Change current block\'s format as H5',
'formatH6': 'Change current block\'s format as H6',
'insertHorizontalRule': 'Insert horizontal rule',
'linkDialog.show': 'Show Link Dialog'
},
history: {
undo: 'Poništi',
redo: 'Ponovi'
},
specialChar: {
specialChar: 'SPECIAL CHARACTERS',
select: 'Select Special characters'
}
}
});
})(jQuery);

View File

@ -0,0 +1,155 @@
(function($) {
$.extend($.summernote.lang, {
'sr-RS': {
font: {
bold: 'Подебљано',
italic: 'Курзив',
underline: 'Подвучено',
clear: 'Уклони стилове фонта',
height: 'Висина линије',
name: 'Font Family',
strikethrough: 'Прецртано',
subscript: 'Subscript',
superscript: 'Superscript',
size: 'Величина фонта'
},
image: {
image: 'Слика',
insert: 'Уметни слику',
resizeFull: 'Пуна величина',
resizeHalf: 'Умањи на 50%',
resizeQuarter: 'Умањи на 25%',
floatLeft: 'Уз леву ивицу',
floatRight: 'Уз десну ивицу',
floatNone: 'Без равнања',
shapeRounded: 'Shape: Rounded',
shapeCircle: 'Shape: Circle',
shapeThumbnail: 'Shape: Thumbnail',
shapeNone: 'Shape: None',
dragImageHere: 'Превуци слику овде',
dropImage: 'Drop image or Text',
selectFromFiles: 'Изабери из датотеке',
maximumFileSize: 'Maximum file size',
maximumFileSizeError: 'Maximum file size exceeded.',
url: 'Адреса слике',
remove: 'Уклони слику',
original: 'Original'
},
video: {
video: 'Видео',
videoLink: 'Веза ка видеу',
insert: 'Уметни видео',
url: 'URL видео',
providers: '(YouTube, Vimeo, Vine, Instagram, DailyMotion или Youku)'
},
link: {
link: 'Веза',
insert: 'Уметни везу',
unlink: 'Уклони везу',
edit: 'Уреди',
textToDisplay: 'Текст за приказ',
url: 'Интернет адреса',
openInNewWindow: 'Отвори у новом прозору'
},
table: {
table: 'Табела',
addRowAbove: 'Add row above',
addRowBelow: 'Add row below',
addColLeft: 'Add column left',
addColRight: 'Add column right',
delRow: 'Delete row',
delCol: 'Delete column',
delTable: 'Delete table'
},
hr: {
insert: 'Уметни хоризонталну линију'
},
style: {
style: 'Стил',
p: 'Нормални',
blockquote: 'Цитат',
pre: 'Код',
h1: 'Заглавље 1',
h2: 'Заглавље 2',
h3: 'Заглавље 3',
h4: 'Заглавље 4',
h5: 'Заглавље 5',
h6: 'Заглавље 6'
},
lists: {
unordered: 'Обична листа',
ordered: 'Нумерисана листа'
},
options: {
help: 'Помоћ',
fullscreen: 'Преко целог екрана',
codeview: 'Изворни код'
},
paragraph: {
paragraph: 'Параграф',
outdent: 'Смањи увлачење',
indent: 'Повечај увлачење',
left: 'Поравнај у лево',
center: 'Центрирано',
right: 'Поравнај у десно',
justify: 'Поравнај обострано'
},
color: {
recent: 'Последња боја',
more: 'Више боја',
background: 'Боја позадине',
foreground: 'Боја текста',
transparent: 'Провидна',
setTransparent: 'Провидна',
reset: 'Опозив',
resetToDefault: 'Подразумевана'
},
shortcut: {
shortcuts: 'Пречице са тастатуре',
close: 'Затвори',
textFormatting: 'Форматирање текста',
action: 'Акција',
paragraphFormatting: 'Форматирање параграфа',
documentStyle: 'Стил документа',
extraKeys: 'Додатне комбинације'
},
help: {
'insertParagraph': 'Insert Paragraph',
'undo': 'Undoes the last command',
'redo': 'Redoes the last command',
'tab': 'Tab',
'untab': 'Untab',
'bold': 'Set a bold style',
'italic': 'Set a italic style',
'underline': 'Set a underline style',
'strikethrough': 'Set a strikethrough style',
'removeFormat': 'Clean a style',
'justifyLeft': 'Set left align',
'justifyCenter': 'Set center align',
'justifyRight': 'Set right align',
'justifyFull': 'Set full align',
'insertUnorderedList': 'Toggle unordered list',
'insertOrderedList': 'Toggle ordered list',
'outdent': 'Outdent on current paragraph',
'indent': 'Indent on current paragraph',
'formatPara': 'Change current block\'s format as a paragraph(P tag)',
'formatH1': 'Change current block\'s format as H1',
'formatH2': 'Change current block\'s format as H2',
'formatH3': 'Change current block\'s format as H3',
'formatH4': 'Change current block\'s format as H4',
'formatH5': 'Change current block\'s format as H5',
'formatH6': 'Change current block\'s format as H6',
'insertHorizontalRule': 'Insert horizontal rule',
'linkDialog.show': 'Show Link Dialog'
},
history: {
undo: 'Поништи',
redo: 'Понови'
},
specialChar: {
specialChar: 'SPECIAL CHARACTERS',
select: 'Select Special characters'
}
}
});
})(jQuery);

View File

@ -0,0 +1,155 @@
(function($) {
$.extend($.summernote.lang, {
'sv-SE': {
font: {
bold: 'Fet',
italic: 'Kursiv',
underline: 'Understruken',
clear: 'Radera formatering',
height: 'Radavstånd',
name: 'Teckensnitt',
strikethrough: 'Genomstruken',
subscript: 'Subscript',
superscript: 'Superscript',
size: 'Teckenstorlek'
},
image: {
image: 'Bild',
insert: 'Infoga bild',
resizeFull: 'Full storlek',
resizeHalf: 'Halv storlek',
resizeQuarter: 'En fjärdedel i storlek',
floatLeft: 'Vänsterjusterad',
floatRight: 'Högerjusterad',
floatNone: 'Ingen justering',
shapeRounded: 'Shape: Rounded',
shapeCircle: 'Shape: Circle',
shapeThumbnail: 'Shape: Thumbnail',
shapeNone: 'Shape: None',
dragImageHere: 'Dra en bild hit',
dropImage: 'Drop image or Text',
selectFromFiles: 'Välj från filer',
maximumFileSize: 'Maximum file size',
maximumFileSizeError: 'Maximum file size exceeded.',
url: 'Länk till bild',
remove: 'Ta bort bild',
original: 'Original'
},
video: {
video: 'Filmklipp',
videoLink: 'Länk till filmklipp',
insert: 'Infoga filmklipp',
url: 'Länk till filmklipp',
providers: '(YouTube, Vimeo, Vine, Instagram, DailyMotion eller Youku)'
},
link: {
link: 'Länk',
insert: 'Infoga länk',
unlink: 'Ta bort länk',
edit: 'Redigera',
textToDisplay: 'Visningstext',
url: 'Till vilken URL ska denna länk peka?',
openInNewWindow: 'Öppna i ett nytt fönster'
},
table: {
table: 'Tabell',
addRowAbove: 'Add row above',
addRowBelow: 'Add row below',
addColLeft: 'Add column left',
addColRight: 'Add column right',
delRow: 'Delete row',
delCol: 'Delete column',
delTable: 'Delete table'
},
hr: {
insert: 'Infoga horisontell linje'
},
style: {
style: 'Stil',
p: 'p',
blockquote: 'Citat',
pre: 'Kod',
h1: 'Rubrik 1',
h2: 'Rubrik 2',
h3: 'Rubrik 3',
h4: 'Rubrik 4',
h5: 'Rubrik 5',
h6: 'Rubrik 6'
},
lists: {
unordered: 'Punktlista',
ordered: 'Numrerad lista'
},
options: {
help: 'Hjälp',
fullscreen: 'Fullskärm',
codeview: 'HTML-visning'
},
paragraph: {
paragraph: 'Justera text',
outdent: 'Minska indrag',
indent: 'Öka indrag',
left: 'Vänsterjusterad',
center: 'Centrerad',
right: 'Högerjusterad',
justify: 'Justera text'
},
color: {
recent: 'Senast använda färg',
more: 'Fler färger',
background: 'Bakgrundsfärg',
foreground: 'Teckenfärg',
transparent: 'Genomskinlig',
setTransparent: 'Gör genomskinlig',
reset: 'Nollställ',
resetToDefault: 'Återställ till standard'
},
shortcut: {
shortcuts: 'Kortkommandon',
close: 'Stäng',
textFormatting: 'Textformatering',
action: 'Funktion',
paragraphFormatting: 'Avsnittsformatering',
documentStyle: 'Dokumentstil',
extraKeys: 'Extra keys'
},
help: {
'insertParagraph': 'Insert Paragraph',
'undo': 'Undoes the last command',
'redo': 'Redoes the last command',
'tab': 'Tab',
'untab': 'Untab',
'bold': 'Set a bold style',
'italic': 'Set a italic style',
'underline': 'Set a underline style',
'strikethrough': 'Set a strikethrough style',
'removeFormat': 'Clean a style',
'justifyLeft': 'Set left align',
'justifyCenter': 'Set center align',
'justifyRight': 'Set right align',
'justifyFull': 'Set full align',
'insertUnorderedList': 'Toggle unordered list',
'insertOrderedList': 'Toggle ordered list',
'outdent': 'Outdent on current paragraph',
'indent': 'Indent on current paragraph',
'formatPara': 'Change current block\'s format as a paragraph(P tag)',
'formatH1': 'Change current block\'s format as H1',
'formatH2': 'Change current block\'s format as H2',
'formatH3': 'Change current block\'s format as H3',
'formatH4': 'Change current block\'s format as H4',
'formatH5': 'Change current block\'s format as H5',
'formatH6': 'Change current block\'s format as H6',
'insertHorizontalRule': 'Insert horizontal rule',
'linkDialog.show': 'Show Link Dialog'
},
history: {
undo: 'Ångra',
redo: 'Gör om'
},
specialChar: {
specialChar: 'SPECIAL CHARACTERS',
select: 'Select Special characters'
}
}
});
})(jQuery);

View File

@ -0,0 +1,155 @@
(function($) {
$.extend($.summernote.lang, {
'ta-IN': {
font: {
bold: 'தடித்த',
italic: 'சாய்வு',
underline: 'அடிக்கோடு',
clear: 'நீக்கு',
height: 'வரி உயரம்',
name: 'எழுத்துரு பெயர்',
strikethrough: 'குறுக்குக் கோடு',
size: 'எழுத்துரு அளவு',
superscript: 'மேல் ஒட்டு',
subscript: 'கீழ் ஒட்டு'
},
image: {
image: 'படம்',
insert: 'படத்தை செருகு',
resizeFull: 'முழு அளவை',
resizeHalf: 'அரை அளவை',
resizeQuarter: 'கால் அளவை',
floatLeft: 'இடப்பக்கமாக வை',
floatRight: 'வலப்பக்கமாக வை',
floatNone: 'இயல்புநிலையில் வை',
shapeRounded: 'வட்டமான வடிவம்',
shapeCircle: 'வட்ட வடிவம்',
shapeThumbnail: 'சிறு வடிவம்',
shapeNone: 'வடிவத்தை நீக்கு',
dragImageHere: 'படத்தை இங்கே இழுத்துவை',
dropImage: 'படத்தை விடு',
selectFromFiles: 'கோப்புகளை தேர்வு செய்',
maximumFileSize: 'அதிகபட்ச கோப்பு அளவு',
maximumFileSizeError: 'கோப்பு அதிகபட்ச அளவை மீறிவிட்டது',
url: 'இணையதள முகவரி',
remove: 'படத்தை நீக்கு',
original: 'Original'
},
video: {
video: 'காணொளி',
videoLink: 'காணொளி இணைப்பு',
insert: 'காணொளியை செருகு',
url: 'இணையதள முகவரி',
providers: '(YouTube, Vimeo, Vine, Instagram, DailyMotion or Youku)'
},
link: {
link: 'இணைப்பு',
insert: 'இணைப்பை செருகு',
unlink: 'இணைப்பை நீக்கு',
edit: 'இணைப்பை தொகு',
textToDisplay: 'காட்சி வாசகம்',
url: 'இணையதள முகவரி',
openInNewWindow: 'புதிய சாளரத்தில் திறக்க'
},
table: {
table: 'அட்டவணை',
addRowAbove: 'Add row above',
addRowBelow: 'Add row below',
addColLeft: 'Add column left',
addColRight: 'Add column right',
delRow: 'Delete row',
delCol: 'Delete column',
delTable: 'Delete table'
},
hr: {
insert: 'கிடைமட்ட கோடு'
},
style: {
style: 'தொகுப்பு',
p: 'பத்தி',
blockquote: 'மேற்கோள்',
pre: 'குறியீடு',
h1: 'தலைப்பு 1',
h2: 'தலைப்பு 2',
h3: 'தலைப்பு 3',
h4: 'தலைப்பு 4',
h5: 'தலைப்பு 5',
h6: 'தலைப்பு 6'
},
lists: {
unordered: 'வரிசையிடாத',
ordered: 'வரிசையிட்ட'
},
options: {
help: 'உதவி',
fullscreen: 'முழுத்திரை',
codeview: 'நிரலாக்க காட்சி'
},
paragraph: {
paragraph: 'பத்தி',
outdent: 'வெளித்தள்ளு',
indent: 'உள்ளே தள்ளு',
left: 'இடது சீரமைப்பு',
center: 'நடு சீரமைப்பு',
right: 'வலது சீரமைப்பு',
justify: 'இருபுற சீரமைப்பு'
},
color: {
recent: 'அண்மை நிறம்',
more: 'மேலும்',
background: 'பின்புல நிறம்',
foreground: 'முன்புற நிறம்',
transparent: 'தெளிமையான',
setTransparent: 'தெளிமையாக்கு',
reset: 'மீட்டமைக்க',
resetToDefault: 'இயல்புநிலைக்கு மீட்டமை'
},
shortcut: {
shortcuts: 'குறுக்குவழி',
close: 'மூடு',
textFormatting: 'எழுத்து வடிவமைப்பு',
action: 'செயல்படுத்து',
paragraphFormatting: 'பத்தி வடிவமைப்பு',
documentStyle: 'ஆவண பாணி',
extraKeys: 'Extra keys'
},
help: {
'insertParagraph': 'Insert Paragraph',
'undo': 'Undoes the last command',
'redo': 'Redoes the last command',
'tab': 'Tab',
'untab': 'Untab',
'bold': 'Set a bold style',
'italic': 'Set a italic style',
'underline': 'Set a underline style',
'strikethrough': 'Set a strikethrough style',
'removeFormat': 'Clean a style',
'justifyLeft': 'Set left align',
'justifyCenter': 'Set center align',
'justifyRight': 'Set right align',
'justifyFull': 'Set full align',
'insertUnorderedList': 'Toggle unordered list',
'insertOrderedList': 'Toggle ordered list',
'outdent': 'Outdent on current paragraph',
'indent': 'Indent on current paragraph',
'formatPara': 'Change current block\'s format as a paragraph(P tag)',
'formatH1': 'Change current block\'s format as H1',
'formatH2': 'Change current block\'s format as H2',
'formatH3': 'Change current block\'s format as H3',
'formatH4': 'Change current block\'s format as H4',
'formatH5': 'Change current block\'s format as H5',
'formatH6': 'Change current block\'s format as H6',
'insertHorizontalRule': 'Insert horizontal rule',
'linkDialog.show': 'Show Link Dialog'
},
history: {
undo: 'மீளமை',
redo: 'மீண்டும்'
},
specialChar: {
specialChar: 'SPECIAL CHARACTERS',
select: 'Select Special characters'
}
}
});
})(jQuery);

View File

@ -0,0 +1,155 @@
(function($) {
$.extend($.summernote.lang, {
'th-TH': {
font: {
bold: 'ตัวหนา',
italic: 'ตัวเอียง',
underline: 'ขีดเส้นใต้',
clear: 'ล้างรูปแบบตัวอักษร',
height: 'ความสูงบรรทัด',
name: 'แบบตัวอักษร',
strikethrough: 'ขีดฆ่า',
subscript: 'ตัวห้อย',
superscript: 'ตัวยก',
size: 'ขนาดตัวอักษร'
},
image: {
image: 'รูปภาพ',
insert: 'แทรกรูปภาพ',
resizeFull: 'ปรับขนาดเท่าจริง',
resizeHalf: 'ปรับขนาดลง 50%',
resizeQuarter: 'ปรับขนาดลง 25%',
floatLeft: 'ชิดซ้าย',
floatRight: 'ชิดขวา',
floatNone: 'ไม่จัดตำแหน่ง',
shapeRounded: 'Shape: Rounded',
shapeCircle: 'Shape: Circle',
shapeThumbnail: 'Shape: Thumbnail',
shapeNone: 'Shape: None',
dragImageHere: 'ลากรูปภาพที่ต้องการไว้ที่นี่',
dropImage: 'Drop image or Text',
selectFromFiles: 'เลือกไฟล์รูปภาพ',
maximumFileSize: 'Maximum file size',
maximumFileSizeError: 'Maximum file size exceeded.',
url: 'ที่อยู่ URL ของรูปภาพ',
remove: 'ลบรูปภาพ',
original: 'Original'
},
video: {
video: 'วีดีโอ',
videoLink: 'ลิงก์ของวีดีโอ',
insert: 'แทรกวีดีโอ',
url: 'ที่อยู่ URL ของวีดีโอ?',
providers: '(YouTube, Vimeo, Vine, Instagram, DailyMotion หรือ Youku)'
},
link: {
link: 'ตัวเชื่อมโยง',
insert: 'แทรกตัวเชื่อมโยง',
unlink: 'ยกเลิกตัวเชื่อมโยง',
edit: 'แก้ไข',
textToDisplay: 'ข้อความที่ให้แสดง',
url: 'ที่อยู่เว็บไซต์ที่ต้องการให้เชื่อมโยงไปถึง?',
openInNewWindow: 'เปิดในหน้าต่างใหม่'
},
table: {
table: 'ตาราง',
addRowAbove: 'Add row above',
addRowBelow: 'Add row below',
addColLeft: 'Add column left',
addColRight: 'Add column right',
delRow: 'Delete row',
delCol: 'Delete column',
delTable: 'Delete table'
},
hr: {
insert: 'แทรกเส้นคั่น'
},
style: {
style: 'รูปแบบ',
p: 'ปกติ',
blockquote: 'ข้อความ',
pre: 'โค้ด',
h1: 'หัวข้อ 1',
h2: 'หัวข้อ 2',
h3: 'หัวข้อ 3',
h4: 'หัวข้อ 4',
h5: 'หัวข้อ 5',
h6: 'หัวข้อ 6'
},
lists: {
unordered: 'รายการแบบไม่มีลำดับ',
ordered: 'รายการแบบมีลำดับ'
},
options: {
help: 'ช่วยเหลือ',
fullscreen: 'ขยายเต็มหน้าจอ',
codeview: 'ซอร์สโค้ด'
},
paragraph: {
paragraph: 'ย่อหน้า',
outdent: 'เยื้องซ้าย',
indent: 'เยื้องขวา',
left: 'จัดหน้าชิดซ้าย',
center: 'จัดหน้ากึ่งกลาง',
right: 'จัดหน้าชิดขวา',
justify: 'จัดบรรทัดเสมอกัน'
},
color: {
recent: 'สีที่ใช้ล่าสุด',
more: 'สีอื่นๆ',
background: 'สีพื้นหลัง',
foreground: 'สีพื้นหน้า',
transparent: 'โปร่งแสง',
setTransparent: 'ตั้งค่าความโปร่งแสง',
reset: 'คืนค่า',
resetToDefault: 'คืนค่ามาตรฐาน'
},
shortcut: {
shortcuts: 'แป้นลัด',
close: 'ปิด',
textFormatting: 'การจัดรูปแบบข้อความ',
action: 'การกระทำ',
paragraphFormatting: 'การจัดรูปแบบย่อหน้า',
documentStyle: 'รูปแบบของเอกสาร',
extraKeys: 'Extra keys'
},
help: {
'insertParagraph': 'Insert Paragraph',
'undo': 'Undoes the last command',
'redo': 'Redoes the last command',
'tab': 'Tab',
'untab': 'Untab',
'bold': 'Set a bold style',
'italic': 'Set a italic style',
'underline': 'Set a underline style',
'strikethrough': 'Set a strikethrough style',
'removeFormat': 'Clean a style',
'justifyLeft': 'Set left align',
'justifyCenter': 'Set center align',
'justifyRight': 'Set right align',
'justifyFull': 'Set full align',
'insertUnorderedList': 'Toggle unordered list',
'insertOrderedList': 'Toggle ordered list',
'outdent': 'Outdent on current paragraph',
'indent': 'Indent on current paragraph',
'formatPara': 'Change current block\'s format as a paragraph(P tag)',
'formatH1': 'Change current block\'s format as H1',
'formatH2': 'Change current block\'s format as H2',
'formatH3': 'Change current block\'s format as H3',
'formatH4': 'Change current block\'s format as H4',
'formatH5': 'Change current block\'s format as H5',
'formatH6': 'Change current block\'s format as H6',
'insertHorizontalRule': 'Insert horizontal rule',
'linkDialog.show': 'Show Link Dialog'
},
history: {
undo: 'ยกเลิกการกระทำ',
redo: 'ทำซ้ำการกระทำ'
},
specialChar: {
specialChar: 'SPECIAL CHARACTERS',
select: 'Select Special characters'
}
}
});
})(jQuery);

View File

@ -0,0 +1,155 @@
(function($) {
$.extend($.summernote.lang, {
'tr-TR': {
font: {
bold: 'Kalın',
italic: 'İtalik',
underline: 'Altı çizili',
clear: 'Temizle',
height: 'Satır yüksekliği',
name: 'Yazı Tipi',
strikethrough: 'Üstü çizili',
subscript: 'Alt Simge',
superscript: 'Üst Simge',
size: 'Yazı tipi boyutu'
},
image: {
image: 'Resim',
insert: 'Resim ekle',
resizeFull: 'Orjinal boyut',
resizeHalf: '1/2 boyut',
resizeQuarter: '1/4 boyut',
floatLeft: 'Sola hizala',
floatRight: 'Sağa hizala',
floatNone: 'Hizalamayı kaldır',
shapeRounded: 'Şekil: Yuvarlatılmış Köşe',
shapeCircle: 'Şekil: Daire',
shapeThumbnail: 'Şekil: K.Resim',
shapeNone: 'Şekil: Yok',
dragImageHere: 'Buraya sürükleyin',
dropImage: 'Resim veya metni bırakın',
selectFromFiles: 'Dosya seçin',
maximumFileSize: 'Maksimum dosya boyutu',
maximumFileSizeError: 'Maksimum dosya boyutu aşıldı.',
url: 'Resim bağlantısı',
remove: 'Resimi Kaldır',
original: 'Original'
},
video: {
video: 'Video',
videoLink: 'Video bağlantısı',
insert: 'Video ekle',
url: 'Video bağlantısı?',
providers: '(YouTube, Vimeo, Vine, Instagram, DailyMotion veya Youku)'
},
link: {
link: 'Bağlantı',
insert: 'Bağlantı ekle',
unlink: 'Bağlantıyı kaldır',
edit: 'Bağlantıyı düzenle',
textToDisplay: 'Görüntülemek için',
url: 'Bağlantı adresi?',
openInNewWindow: 'Yeni pencerede aç'
},
table: {
table: 'Tablo',
addRowAbove: 'Yukarı satır ekle',
addRowBelow: 'Aşağı satır ekle',
addColLeft: 'Sola sütun ekle',
addColRight: 'Sağa sütun ekle',
delRow: 'Satırı sil',
delCol: 'Sütunu sil',
delTable: 'Tabloyu sil'
},
hr: {
insert: 'Yatay çizgi ekle'
},
style: {
style: 'Biçim',
p: 'p',
blockquote: 'Alıntı',
pre: 'Önbiçimli',
h1: 'Başlık 1',
h2: 'Başlık 2',
h3: 'Başlık 3',
h4: 'Başlık 4',
h5: 'Başlık 5',
h6: 'Başlık 6'
},
lists: {
unordered: 'Madde işaretli liste',
ordered: 'Numaralı liste'
},
options: {
help: 'Yardım',
fullscreen: 'Tam ekran',
codeview: 'HTML Kodu'
},
paragraph: {
paragraph: 'Paragraf',
outdent: 'Girintiyi artır',
indent: 'Girintiyi azalt',
left: 'Sola hizala',
center: 'Ortaya hizala',
right: 'Sağa hizala',
justify: 'Yasla'
},
color: {
recent: 'Son renk',
more: 'Daha fazla renk',
background: 'Arka plan rengi',
foreground: 'Yazı rengi',
transparent: 'Seffaflık',
setTransparent: 'Şeffaflığı ayarla',
reset: 'Sıfırla',
resetToDefault: 'Varsayılanlara sıfırla'
},
shortcut: {
shortcuts: 'Kısayollar',
close: 'Kapat',
textFormatting: 'Yazı biçimlendirme',
action: 'Eylem',
paragraphFormatting: 'Paragraf biçimlendirme',
documentStyle: 'Biçim',
extraKeys: 'İlave anahtarlar'
},
help: {
'insertParagraph': 'Paragraf ekler',
'undo': 'Son komudu geri alır',
'redo': 'Son komudu yineler',
'tab': 'Girintiyi artırır',
'untab': 'Girintiyi azaltır',
'bold': 'Kalın yazma stilini ayarlar',
'italic': 'İtalik yazma stilini ayarlar',
'underline': 'Altı çizgili yazma stilini ayarlar',
'strikethrough': 'Üstü çizgili yazma stilini ayarlar',
'removeFormat': 'Biçimlendirmeyi temizler',
'justifyLeft': 'Yazıyı sola hizalar',
'justifyCenter': 'Yazıyı ortalar',
'justifyRight': 'Yazıyı sağa hizalar',
'justifyFull': 'Yazıyı her iki tarafa yazlar',
'insertUnorderedList': 'Madde işaretli liste ekler',
'insertOrderedList': 'Numaralı liste ekler',
'outdent': 'Aktif paragrafın girintisini azaltır',
'indent': 'Aktif paragrafın girintisini artırır',
'formatPara': 'Aktif bloğun biçimini paragraf (p) olarak değiştirir',
'formatH1': 'Aktif bloğun biçimini başlık 1 (h1) olarak değiştirir',
'formatH2': 'Aktif bloğun biçimini başlık 2 (h2) olarak değiştirir',
'formatH3': 'Aktif bloğun biçimini başlık 3 (h3) olarak değiştirir',
'formatH4': 'Aktif bloğun biçimini başlık 4 (h4) olarak değiştirir',
'formatH5': 'Aktif bloğun biçimini başlık 5 (h5) olarak değiştirir',
'formatH6': 'Aktif bloğun biçimini başlık 6 (h6) olarak değiştirir',
'insertHorizontalRule': 'Yatay çizgi ekler',
'linkDialog.show': 'Bağlantı ayar kutusunu gösterir'
},
history: {
undo: 'Geri al',
redo: 'Yinele'
},
specialChar: {
specialChar: 'ÖZEL KARAKTERLER',
select: 'Özel Karakterleri seçin'
}
}
});
})(jQuery);

View File

@ -0,0 +1,155 @@
(function($) {
$.extend($.summernote.lang, {
'uk-UA': {
font: {
bold: 'Напівжирний',
italic: 'Курсив',
underline: 'Підкреслений',
clear: 'Прибрати стилі шрифту',
height: 'Висота лінії',
name: 'Шрифт',
strikethrough: 'Закреслений',
subscript: 'Нижній індекс',
superscript: 'Верхній індекс',
size: 'Розмір шрифту'
},
image: {
image: 'Картинка',
insert: 'Вставити картинку',
resizeFull: 'Відновити розмір',
resizeHalf: 'Зменшити до 50%',
resizeQuarter: 'Зменшити до 25%',
floatLeft: 'Розташувати ліворуч',
floatRight: 'Розташувати праворуч',
floatNone: 'Початкове розташування',
shapeRounded: 'Форма: Заокруглена',
shapeCircle: 'Форма: Коло',
shapeThumbnail: 'Форма: Мініатюра',
shapeNone: 'Форма: Немає',
dragImageHere: 'Перетягніть сюди картинку',
dropImage: 'Перетягніть картинку',
selectFromFiles: 'Вибрати з файлів',
maximumFileSize: 'Maximum file size',
maximumFileSizeError: 'Maximum file size exceeded.',
url: 'URL картинки',
remove: 'Видалити картинку',
original: 'Original'
},
video: {
video: 'Відео',
videoLink: 'Посилання на відео',
insert: 'Вставити відео',
url: 'URL відео',
providers: '(YouTube, Vimeo, Vine, Instagram, DailyMotion чи Youku)'
},
link: {
link: 'Посилання',
insert: 'Вставити посилання',
unlink: 'Прибрати посилання',
edit: 'Редагувати',
textToDisplay: 'Текст, що відображається',
url: 'URL для переходу',
openInNewWindow: 'Відкривати у новому вікні'
},
table: {
table: 'Таблиця',
addRowAbove: 'Add row above',
addRowBelow: 'Add row below',
addColLeft: 'Add column left',
addColRight: 'Add column right',
delRow: 'Delete row',
delCol: 'Delete column',
delTable: 'Delete table'
},
hr: {
insert: 'Вставити горизонтальну лінію'
},
style: {
style: 'Стиль',
p: 'Нормальний',
blockquote: 'Цитата',
pre: 'Код',
h1: 'Заголовок 1',
h2: 'Заголовок 2',
h3: 'Заголовок 3',
h4: 'Заголовок 4',
h5: 'Заголовок 5',
h6: 'Заголовок 6'
},
lists: {
unordered: 'Маркований список',
ordered: 'Нумерований список'
},
options: {
help: 'Допомога',
fullscreen: 'На весь екран',
codeview: 'Початковий код'
},
paragraph: {
paragraph: 'Параграф',
outdent: 'Зменшити відступ',
indent: 'Збільшити відступ',
left: 'Вирівняти по лівому краю',
center: 'Вирівняти по центру',
right: 'Вирівняти по правому краю',
justify: 'Розтягнути по ширині'
},
color: {
recent: 'Останній колір',
more: 'Ще кольори',
background: 'Колір фону',
foreground: 'Колір шрифту',
transparent: 'Прозорий',
setTransparent: 'Зробити прозорим',
reset: 'Відновити',
resetToDefault: 'Відновити початкові'
},
shortcut: {
shortcuts: 'Комбінації клавіш',
close: 'Закрити',
textFormatting: 'Форматування тексту',
action: 'Дія',
paragraphFormatting: 'Форматування параграфу',
documentStyle: 'Стиль документу',
extraKeys: 'Extra keys'
},
help: {
'insertParagraph': 'Insert Paragraph',
'undo': 'Undoes the last command',
'redo': 'Redoes the last command',
'tab': 'Tab',
'untab': 'Untab',
'bold': 'Set a bold style',
'italic': 'Set a italic style',
'underline': 'Set a underline style',
'strikethrough': 'Set a strikethrough style',
'removeFormat': 'Clean a style',
'justifyLeft': 'Set left align',
'justifyCenter': 'Set center align',
'justifyRight': 'Set right align',
'justifyFull': 'Set full align',
'insertUnorderedList': 'Toggle unordered list',
'insertOrderedList': 'Toggle ordered list',
'outdent': 'Outdent on current paragraph',
'indent': 'Indent on current paragraph',
'formatPara': 'Change current block\'s format as a paragraph(P tag)',
'formatH1': 'Change current block\'s format as H1',
'formatH2': 'Change current block\'s format as H2',
'formatH3': 'Change current block\'s format as H3',
'formatH4': 'Change current block\'s format as H4',
'formatH5': 'Change current block\'s format as H5',
'formatH6': 'Change current block\'s format as H6',
'insertHorizontalRule': 'Insert horizontal rule',
'linkDialog.show': 'Show Link Dialog'
},
history: {
undo: 'Відмінити',
redo: 'Повторити'
},
specialChar: {
specialChar: 'SPECIAL CHARACTERS',
select: 'Select Special characters'
}
}
});
})(jQuery);

View File

@ -0,0 +1,155 @@
(function($) {
$.extend($.summernote.lang, {
'vi-VN': {
font: {
bold: 'In Đậm',
italic: 'In Nghiêng',
underline: 'Gạch dưới',
clear: 'Bỏ định dạng',
height: 'Chiều cao dòng',
name: 'Phông chữ',
strikethrough: 'Gạch ngang',
subscript: 'Subscript',
superscript: 'Superscript',
size: 'Cỡ chữ'
},
image: {
image: 'Hình ảnh',
insert: 'Chèn',
resizeFull: '100%',
resizeHalf: '50%',
resizeQuarter: '25%',
floatLeft: 'Trôi về trái',
floatRight: 'Trôi về phải',
floatNone: 'Không trôi',
shapeRounded: 'Shape: Rounded',
shapeCircle: 'Shape: Circle',
shapeThumbnail: 'Shape: Thumbnail',
shapeNone: 'Shape: None',
dragImageHere: 'Thả Ảnh ở vùng này',
dropImage: 'Drop image or Text',
selectFromFiles: 'Chọn từ File',
maximumFileSize: 'Maximum file size',
maximumFileSizeError: 'Maximum file size exceeded.',
url: 'URL',
remove: 'Xóa',
original: 'Original'
},
video: {
video: 'Video',
videoLink: 'Link đến Video',
insert: 'Chèn Video',
url: 'URL',
providers: '(YouTube, Vimeo, Vine, Instagram, DailyMotion và Youku)'
},
link: {
link: 'Link',
insert: 'Chèn Link',
unlink: 'Gỡ Link',
edit: 'Sửa',
textToDisplay: 'Văn bản hiển thị',
url: 'URL',
openInNewWindow: 'Mở ở Cửa sổ mới'
},
table: {
table: 'Bảng',
addRowAbove: 'Add row above',
addRowBelow: 'Add row below',
addColLeft: 'Add column left',
addColRight: 'Add column right',
delRow: 'Delete row',
delCol: 'Delete column',
delTable: 'Delete table'
},
hr: {
insert: 'Chèn'
},
style: {
style: 'Kiểu chữ',
p: 'Chữ thường',
blockquote: 'Đoạn trích',
pre: 'Mã Code',
h1: 'H1',
h2: 'H2',
h3: 'H3',
h4: 'H4',
h5: 'H5',
h6: 'H6'
},
lists: {
unordered: 'Liệt kê danh sách',
ordered: 'Liệt kê theo thứ tự'
},
options: {
help: 'Trợ giúp',
fullscreen: 'Toàn Màn hình',
codeview: 'Xem Code'
},
paragraph: {
paragraph: 'Canh lề',
outdent: 'Dịch sang trái',
indent: 'Dịch sang phải',
left: 'Canh trái',
center: 'Canh giữa',
right: 'Canh phải',
justify: 'Canh đều'
},
color: {
recent: 'Màu chữ',
more: 'Mở rộng',
background: 'Màu nền',
foreground: 'Màu chữ',
transparent: 'trong suốt',
setTransparent: 'Nền trong suốt',
reset: 'Thiết lập lại',
resetToDefault: 'Trở lại ban đầu'
},
shortcut: {
shortcuts: 'Phím tắt',
close: 'Đóng',
textFormatting: 'Định dạng Văn bản',
action: 'Hành động',
paragraphFormatting: 'Định dạng',
documentStyle: 'Kiểu văn bản',
extraKeys: 'Extra keys'
},
help: {
'insertParagraph': 'Insert Paragraph',
'undo': 'Undoes the last command',
'redo': 'Redoes the last command',
'tab': 'Tab',
'untab': 'Untab',
'bold': 'Set a bold style',
'italic': 'Set a italic style',
'underline': 'Set a underline style',
'strikethrough': 'Set a strikethrough style',
'removeFormat': 'Clean a style',
'justifyLeft': 'Set left align',
'justifyCenter': 'Set center align',
'justifyRight': 'Set right align',
'justifyFull': 'Set full align',
'insertUnorderedList': 'Toggle unordered list',
'insertOrderedList': 'Toggle ordered list',
'outdent': 'Outdent on current paragraph',
'indent': 'Indent on current paragraph',
'formatPara': 'Change current block\'s format as a paragraph(P tag)',
'formatH1': 'Change current block\'s format as H1',
'formatH2': 'Change current block\'s format as H2',
'formatH3': 'Change current block\'s format as H3',
'formatH4': 'Change current block\'s format as H4',
'formatH5': 'Change current block\'s format as H5',
'formatH6': 'Change current block\'s format as H6',
'insertHorizontalRule': 'Insert horizontal rule',
'linkDialog.show': 'Show Link Dialog'
},
history: {
undo: 'Lùi lại',
redo: 'Làm lại'
},
specialChar: {
specialChar: 'SPECIAL CHARACTERS',
select: 'Select Special characters'
}
}
});
})(jQuery);

View File

@ -0,0 +1,155 @@
(function($) {
$.extend($.summernote.lang, {
'zh-CN': {
font: {
bold: '粗体',
italic: '斜体',
underline: '下划线',
clear: '清除格式',
height: '行高',
name: '字体',
strikethrough: '删除线',
subscript: '下标',
superscript: '上标',
size: '字号'
},
image: {
image: '图片',
insert: '插入图片',
resizeFull: '缩放至 100%',
resizeHalf: '缩放至 50%',
resizeQuarter: '缩放至 25%',
floatLeft: '靠左浮动',
floatRight: '靠右浮动',
floatNone: '取消浮动',
shapeRounded: '形状: 圆角',
shapeCircle: '形状: 圆',
shapeThumbnail: '形状: 缩略图',
shapeNone: '形状: 无',
dragImageHere: '将图片拖拽至此处',
dropImage: 'Drop image or Text',
selectFromFiles: '从本地上传',
maximumFileSize: '文件大小最大值',
maximumFileSizeError: '文件大小超出最大值。',
url: '图片地址',
remove: '移除图片',
original: 'Original'
},
video: {
video: '视频',
videoLink: '视频链接',
insert: '插入视频',
url: '视频地址',
providers: '(优酷, 腾讯, Instagram, DailyMotion, Youtube等)'
},
link: {
link: '链接',
insert: '插入链接',
unlink: '去除链接',
edit: '编辑链接',
textToDisplay: '显示文本',
url: '链接地址',
openInNewWindow: '在新窗口打开'
},
table: {
table: '表格',
addRowAbove: 'Add row above',
addRowBelow: 'Add row below',
addColLeft: 'Add column left',
addColRight: 'Add column right',
delRow: 'Delete row',
delCol: 'Delete column',
delTable: 'Delete table'
},
hr: {
insert: '水平线'
},
style: {
style: '样式',
p: '普通',
blockquote: '引用',
pre: '代码',
h1: '标题 1',
h2: '标题 2',
h3: '标题 3',
h4: '标题 4',
h5: '标题 5',
h6: '标题 6'
},
lists: {
unordered: '无序列表',
ordered: '有序列表'
},
options: {
help: '帮助',
fullscreen: '全屏',
codeview: '源代码'
},
paragraph: {
paragraph: '段落',
outdent: '减少缩进',
indent: '增加缩进',
left: '左对齐',
center: '居中对齐',
right: '右对齐',
justify: '两端对齐'
},
color: {
recent: '最近使用',
more: '更多',
background: '背景',
foreground: '前景',
transparent: '透明',
setTransparent: '透明',
reset: '重置',
resetToDefault: '默认'
},
shortcut: {
shortcuts: '快捷键',
close: '关闭',
textFormatting: '文本格式',
action: '动作',
paragraphFormatting: '段落格式',
documentStyle: '文档样式',
extraKeys: '额外按键'
},
help: {
insertParagraph: '插入段落',
undo: '撤销',
redo: '重做',
tab: '增加缩进',
untab: '减少缩进',
bold: '粗体',
italic: '斜体',
underline: '下划线',
strikethrough: '删除线',
removeFormat: '清除格式',
justifyLeft: '左对齐',
justifyCenter: '居中对齐',
justifyRight: '右对齐',
justifyFull: '两端对齐',
insertUnorderedList: '无序列表',
insertOrderedList: '有序列表',
outdent: '减少缩进',
indent: '增加缩进',
formatPara: '设置选中内容样式为 普通',
formatH1: '设置选中内容样式为 标题1',
formatH2: '设置选中内容样式为 标题2',
formatH3: '设置选中内容样式为 标题3',
formatH4: '设置选中内容样式为 标题4',
formatH5: '设置选中内容样式为 标题5',
formatH6: '设置选中内容样式为 标题6',
insertHorizontalRule: '插入水平线',
'linkDialog.show': '显示链接对话框'
},
history: {
undo: '撤销',
redo: '重做'
},
specialChar: {
specialChar: 'SPECIAL CHARACTERS',
select: 'Select Special characters'
}
}
});
})(jQuery);

View File

@ -0,0 +1,155 @@
(function($) {
$.extend($.summernote.lang, {
'zh-TW': {
font: {
bold: '粗體',
italic: '斜體',
underline: '底線',
clear: '清除格式',
height: '行高',
name: '字體',
strikethrough: '刪除線',
subscript: '下標',
superscript: '上標',
size: '字號'
},
image: {
image: '圖片',
insert: '插入圖片',
resizeFull: '縮放至100%',
resizeHalf: '縮放至 50%',
resizeQuarter: '縮放至 25%',
floatLeft: '靠左浮動',
floatRight: '靠右浮動',
floatNone: '取消浮動',
shapeRounded: '形狀: 圓角',
shapeCircle: '形狀: 圓',
shapeThumbnail: '形狀: 縮略圖',
shapeNone: '形狀: 無',
dragImageHere: '將圖片拖曳至此處',
dropImage: 'Drop image or Text',
selectFromFiles: '從本機上傳',
maximumFileSize: '文件大小最大值',
maximumFileSizeError: '文件大小超出最大值。',
url: '圖片網址',
remove: '移除圖片',
original: 'Original'
},
video: {
video: '影片',
videoLink: '影片連結',
insert: '插入影片',
url: '影片網址',
providers: '(優酷, Instagram, DailyMotion, Youtube等)'
},
link: {
link: '連結',
insert: '插入連結',
unlink: '取消連結',
edit: '編輯連結',
textToDisplay: '顯示文字',
url: '連結網址',
openInNewWindow: '在新視窗開啟'
},
table: {
table: '表格',
addRowAbove: 'Add row above',
addRowBelow: 'Add row below',
addColLeft: 'Add column left',
addColRight: 'Add column right',
delRow: 'Delete row',
delCol: 'Delete column',
delTable: 'Delete table'
},
hr: {
insert: '水平線'
},
style: {
style: '樣式',
p: '一般',
blockquote: '引用區塊',
pre: '程式碼區塊',
h1: '標題 1',
h2: '標題 2',
h3: '標題 3',
h4: '標題 4',
h5: '標題 5',
h6: '標題 6'
},
lists: {
unordered: '項目清單',
ordered: '編號清單'
},
options: {
help: '幫助',
fullscreen: '全螢幕',
codeview: '原始碼'
},
paragraph: {
paragraph: '段落',
outdent: '取消縮排',
indent: '增加縮排',
left: '靠右對齊',
center: '靠中對齊',
right: '靠右對齊',
justify: '左右對齊'
},
color: {
recent: '字型顏色',
more: '更多',
background: '背景',
foreground: '前景',
transparent: '透明',
setTransparent: '透明',
reset: '重設',
resetToDefault: '默認'
},
shortcut: {
shortcuts: '快捷鍵',
close: '關閉',
textFormatting: '文字格式',
action: '動作',
paragraphFormatting: '段落格式',
documentStyle: '文件格式',
extraKeys: '額外按鍵'
},
help: {
'insertParagraph': 'Insert Paragraph',
'undo': 'Undoes the last command',
'redo': 'Redoes the last command',
'tab': 'Tab',
'untab': 'Untab',
'bold': 'Set a bold style',
'italic': 'Set a italic style',
'underline': 'Set a underline style',
'strikethrough': 'Set a strikethrough style',
'removeFormat': 'Clean a style',
'justifyLeft': 'Set left align',
'justifyCenter': 'Set center align',
'justifyRight': 'Set right align',
'justifyFull': 'Set full align',
'insertUnorderedList': 'Toggle unordered list',
'insertOrderedList': 'Toggle ordered list',
'outdent': 'Outdent on current paragraph',
'indent': 'Indent on current paragraph',
'formatPara': 'Change current block\'s format as a paragraph(P tag)',
'formatH1': 'Change current block\'s format as H1',
'formatH2': 'Change current block\'s format as H2',
'formatH3': 'Change current block\'s format as H3',
'formatH4': 'Change current block\'s format as H4',
'formatH5': 'Change current block\'s format as H5',
'formatH6': 'Change current block\'s format as H6',
'insertHorizontalRule': 'Insert horizontal rule',
'linkDialog.show': 'Show Link Dialog'
},
history: {
undo: '復原',
redo: '取消復原'
},
specialChar: {
specialChar: 'SPECIAL CHARACTERS',
select: 'Select Special characters'
}
}
});
})(jQuery);

View File

@ -0,0 +1,16 @@
.ext-databasic {
position: relative;
display: block;
min-height: 50px;
background-color: cyan;
text-align: center;
padding: 20px;
border: 1px solid white;
border-radius: 10px;
}
.ext-databasic p {
color: white;
font-size: 1.2em;
margin: 0;
}

View File

@ -0,0 +1,292 @@
(function(factory) {
/* global define */
if (typeof define === 'function' && define.amd) {
// AMD. Register as an anonymous module.
define(['jquery'], factory);
} else if (typeof module === 'object' && module.exports) {
// Node/CommonJS
module.exports = factory(require('jquery'));
} else {
// Browser globals
factory(window.jQuery);
}
}(function($) {
// pull in some summernote core functions
var ui = $.summernote.ui;
var dom = $.summernote.dom;
// define the popover plugin
var DataBasicPlugin = function(context) {
var self = this;
var options = context.options;
var lang = options.langInfo;
self.icon = '<i class="fa fa-object-group"/>';
// add context menu button for dialog
context.memo('button.databasic', function() {
return ui.button({
contents: self.icon,
tooltip: lang.databasic.insert,
click: context.createInvokeHandler('databasic.showDialog')
}).render();
});
// add popover edit button
context.memo('button.databasicDialog', function() {
return ui.button({
contents: self.icon,
tooltip: lang.databasic.edit,
click: context.createInvokeHandler('databasic.showDialog')
}).render();
});
// add popover size buttons
context.memo('button.databasicSize100', function() {
return ui.button({
contents: '<span class="note-fontsize-10">100%</span>',
tooltip: lang.image.resizeFull,
click: context.createInvokeHandler('editor.resize', '1')
}).render();
});
context.memo('button.databasicSize50', function() {
return ui.button({
contents: '<span class="note-fontsize-10">50%</span>',
tooltip: lang.image.resizeHalf,
click: context.createInvokeHandler('editor.resize', '0.5')
}).render();
});
context.memo('button.databasicSize25', function() {
return ui.button({
contents: '<span class="note-fontsize-10">25%</span>',
tooltip: lang.image.resizeQuarter,
click: context.createInvokeHandler('editor.resize', '0.25')
}).render();
});
self.events = {
'summernote.init': function(we, e) {
// update existing containers
$('data.ext-databasic', e.editable).each(function() { self.setContent($(this)); });
// TODO: make this an undo snapshot...
},
'summernote.keyup summernote.mouseup summernote.change summernote.scroll': function() {
self.update();
},
'summernote.dialog.shown': function() {
self.hidePopover();
}
};
self.initialize = function() {
// create dialog markup
var $container = options.dialogsInBody ? $(document.body) : context.layoutInfo.editor;
var body = '<div class="form-group row-fluid">' +
'<label>' + lang.databasic.testLabel + '</label>' +
'<input class="ext-databasic-test form-control" type="text" />' +
'</div>';
var footer = '<button href="#" class="btn btn-primary ext-databasic-save">' + lang.databasic.insert + '</button>';
self.$dialog = ui.dialog({
title: lang.databasic.name,
fade: options.dialogsFade,
body: body,
footer: footer
}).render().appendTo($container);
// create popover
self.$popover = ui.popover({
className: 'ext-databasic-popover'
}).render().appendTo('body');
var $content = self.$popover.find('.popover-content');
context.invoke('buttons.build', $content, options.popover.databasic);
};
self.destroy = function() {
self.$popover.remove();
self.$popover = null;
self.$dialog.remove();
self.$dialog = null;
};
self.update = function() {
// Prevent focusing on editable when invoke('code') is executed
if (!context.invoke('editor.hasFocus')) {
self.hidePopover();
return;
}
var rng = context.invoke('editor.createRange');
var visible = false;
if (rng.isOnData()) {
var $data = $(rng.sc).closest('data.ext-databasic');
if ($data.length) {
var pos = dom.posFromPlaceholder($data[0]);
self.$popover.css({
display: 'block',
left: pos.left,
top: pos.top
});
// save editor target to let size buttons resize the container
context.invoke('editor.saveTarget', $data[0]);
visible = true;
}
}
// hide if not visible
if (!visible) {
self.hidePopover();
}
};
self.hidePopover = function() {
self.$popover.hide();
};
// define plugin dialog
self.getInfo = function() {
var rng = context.invoke('editor.createRange');
if (rng.isOnData()) {
var $data = $(rng.sc).closest('data.ext-databasic');
if ($data.length) {
// Get the first node on range(for edit).
return {
node: $data,
test: $data.attr('data-test')
};
}
}
return {};
};
self.setContent = function($node) {
$node.html('<p contenteditable="false">' + self.icon + ' ' + lang.databasic.name + ': ' +
$node.attr('data-test') + '</p>');
};
self.updateNode = function(info) {
self.setContent(info.node
.attr('data-test', info.test));
};
self.createNode = function(info) {
var $node = $('<data class="ext-databasic"></data>');
if ($node) {
// save node to info structure
info.node = $node;
// insert node into editor dom
context.invoke('editor.insertNode', $node[0]);
}
return $node;
};
self.showDialog = function() {
var info = self.getInfo();
var newNode = !info.node;
context.invoke('editor.saveRange');
self
.openDialog(info)
.then(function(dialogInfo) {
// [workaround] hide dialog before restore range for IE range focus
ui.hideDialog(self.$dialog);
context.invoke('editor.restoreRange');
// insert a new node
if (newNode) {
self.createNode(info);
}
// update info with dialog info
$.extend(info, dialogInfo);
self.updateNode(info);
})
.fail(function() {
context.invoke('editor.restoreRange');
});
};
self.openDialog = function(info) {
return $.Deferred(function(deferred) {
var $inpTest = self.$dialog.find('.ext-databasic-test');
var $saveBtn = self.$dialog.find('.ext-databasic-save');
var onKeyup = function(event) {
if (event.keyCode === 13) {
$saveBtn.trigger('click');
}
};
ui.onDialogShown(self.$dialog, function() {
context.triggerEvent('dialog.shown');
$inpTest.val(info.test).on('input', function() {
ui.toggleBtn($saveBtn, $inpTest.val());
}).trigger('focus').on('keyup', onKeyup);
$saveBtn
.text(info.node ? lang.databasic.edit : lang.databasic.insert)
.click(function(event) {
event.preventDefault();
deferred.resolve({ test: $inpTest.val() });
});
// init save button
ui.toggleBtn($saveBtn, $inpTest.val());
});
ui.onDialogHidden(self.$dialog, function() {
$inpTest.off('input keyup');
$saveBtn.off('click');
if (deferred.state() === 'pending') {
deferred.reject();
}
});
ui.showDialog(self.$dialog);
});
};
};
// Extends summernote
$.extend(true, $.summernote, {
plugins: {
databasic: DataBasicPlugin
},
options: {
popover: {
databasic: [
['databasic', ['databasicDialog', 'databasicSize100', 'databasicSize50', 'databasicSize25']]
]
}
},
// add localization texts
lang: {
'en-US': {
databasic: {
name: 'Basic Data Container',
insert: 'insert basic data container',
edit: 'edit basic data container',
testLabel: 'test input'
}
}
}
});
}));

View File

@ -0,0 +1,81 @@
(function(factory) {
/* global define */
if (typeof define === 'function' && define.amd) {
// AMD. Register as an anonymous module.
define(['jquery'], factory);
} else if (typeof module === 'object' && module.exports) {
// Node/CommonJS
module.exports = factory(require('jquery'));
} else {
// Browser globals
factory(window.jQuery);
}
}(function($) {
// Extends plugins for adding hello.
// - plugin is external module for customizing.
$.extend($.summernote.plugins, {
/**
* @param {Object} context - context object has status of editor.
*/
'hello': function(context) {
var self = this;
// ui has renders to build ui elements.
// - you can create a button with `ui.button`
var ui = $.summernote.ui;
// add hello button
context.memo('button.hello', function() {
// create button
var button = ui.button({
contents: '<i class="fa fa-child"/> Hello',
tooltip: 'hello',
click: function() {
self.$panel.show();
self.$panel.hide(500);
// invoke insertText method with 'hello' on editor module.
context.invoke('editor.insertText', 'hello');
}
});
// create jQuery object from button instance.
var $hello = button.render();
return $hello;
});
// This events will be attached when editor is initialized.
this.events = {
// This will be called after modules are initialized.
'summernote.init': function(we, e) {
console.log('summernote initialized', we, e);
},
// This will be called when user releases a key on editable.
'summernote.keyup': function(we, e) {
console.log('summernote keyup', we, e);
}
};
// This method will be called when editor is initialized by $('..').summernote();
// You can create elements for plugin
this.initialize = function() {
this.$panel = $('<div class="hello-panel"/>').css({
position: 'absolute',
width: 100,
height: 100,
left: '50%',
top: '50%',
background: 'red'
}).hide();
this.$panel.appendTo('body');
};
// This methods will be called when editor is destroyed by $('..').summernote('destroy');
// You should remove elements on `initialize`.
this.destroy = function() {
this.$panel.remove();
this.$panel = null;
};
}
});
}));

View File

@ -0,0 +1,312 @@
(function(factory) {
/* global define */
if (typeof define === 'function' && define.amd) {
// AMD. Register as an anonymous module.
define(['jquery'], factory);
} else if (typeof module === 'object' && module.exports) {
// Node/CommonJS
module.exports = factory(require('jquery'));
} else {
// Browser globals
factory(window.jQuery);
}
}(function($) {
$.extend($.summernote.plugins, {
'specialchars': function(context) {
var self = this;
var ui = $.summernote.ui;
var $editor = context.layoutInfo.editor;
var options = context.options;
var lang = options.langInfo;
var KEY = {
UP: 38,
DOWN: 40,
LEFT: 37,
RIGHT: 39,
ENTER: 13
};
var COLUMN_LENGTH = 15;
var COLUMN_WIDTH = 35;
var currentColumn = 0;
var currentRow = 0;
var totalColumn = 0;
var totalRow = 0;
// special characters data set
var specialCharDataSet = [
'&quot;', '&amp;', '&lt;', '&gt;', '&iexcl;', '&cent;',
'&pound;', '&curren;', '&yen;', '&brvbar;', '&sect;',
'&uml;', '&copy;', '&ordf;', '&laquo;', '&not;',
'&reg;', '&macr;', '&deg;', '&plusmn;', '&sup2;',
'&sup3;', '&acute;', '&micro;', '&para;', '&middot;',
'&cedil;', '&sup1;', '&ordm;', '&raquo;', '&frac14;',
'&frac12;', '&frac34;', '&iquest;', '&times;', '&divide;',
'&fnof;', '&circ;', '&tilde;', '&ndash;', '&mdash;',
'&lsquo;', '&rsquo;', '&sbquo;', '&ldquo;', '&rdquo;',
'&bdquo;', '&dagger;', '&Dagger;', '&bull;', '&hellip;',
'&permil;', '&prime;', '&Prime;', '&lsaquo;', '&rsaquo;',
'&oline;', '&frasl;', '&euro;', '&image;', '&weierp;',
'&real;', '&trade;', '&alefsym;', '&larr;', '&uarr;',
'&rarr;', '&darr;', '&harr;', '&crarr;', '&lArr;',
'&uArr;', '&rArr;', '&dArr;', '&hArr;', '&forall;',
'&part;', '&exist;', '&empty;', '&nabla;', '&isin;',
'&notin;', '&ni;', '&prod;', '&sum;', '&minus;',
'&lowast;', '&radic;', '&prop;', '&infin;', '&ang;',
'&and;', '&or;', '&cap;', '&cup;', '&int;',
'&there4;', '&sim;', '&cong;', '&asymp;', '&ne;',
'&equiv;', '&le;', '&ge;', '&sub;', '&sup;',
'&nsub;', '&sube;', '&supe;', '&oplus;', '&otimes;',
'&perp;', '&sdot;', '&lceil;', '&rceil;', '&lfloor;',
'&rfloor;', '&loz;', '&spades;', '&clubs;', '&hearts;',
'&diams;'
];
context.memo('button.specialchars', function() {
return ui.button({
contents: '<i class="fa fa-font fa-flip-vertical">',
tooltip: lang.specialChar.specialChar,
click: function() {
self.show();
}
}).render();
});
/**
* Make Special Characters Table
*
* @member plugin.specialChar
* @private
* @return {jQuery}
*/
this.makeSpecialCharSetTable = function() {
var $table = $('<table/>');
$.each(specialCharDataSet, function(idx, text) {
var $td = $('<td/>').addClass('note-specialchar-node');
var $tr = (idx % COLUMN_LENGTH === 0) ? $('<tr/>') : $table.find('tr').last();
var $button = ui.button({
callback: function($node) {
$node.html(text);
$node.attr('title', text);
$node.attr('data-value', encodeURIComponent(text));
$node.css({
width: COLUMN_WIDTH,
'margin-right': '2px',
'margin-bottom': '2px'
});
}
}).render();
$td.append($button);
$tr.append($td);
if (idx % COLUMN_LENGTH === 0) {
$table.append($tr);
}
});
totalRow = $table.find('tr').length;
totalColumn = COLUMN_LENGTH;
return $table;
};
this.initialize = function() {
var $container = options.dialogsInBody ? $(document.body) : $editor;
var body = '<div class="form-group row-fluid">' + this.makeSpecialCharSetTable()[0].outerHTML + '</div>';
this.$dialog = ui.dialog({
title: lang.specialChar.select,
body: body
}).render().appendTo($container);
};
this.show = function() {
var text = context.invoke('editor.getSelectedText');
context.invoke('editor.saveRange');
this.showSpecialCharDialog(text).then(function(selectChar) {
context.invoke('editor.restoreRange');
// build node
var $node = $('<span></span>').html(selectChar)[0];
if ($node) {
// insert video node
context.invoke('editor.insertNode', $node);
}
}).fail(function() {
context.invoke('editor.restoreRange');
});
};
/**
* show image dialog
*
* @param {jQuery} $dialog
* @return {Promise}
*/
this.showSpecialCharDialog = function(text) {
return $.Deferred(function(deferred) {
var $specialCharDialog = self.$dialog;
var $specialCharNode = $specialCharDialog.find('.note-specialchar-node');
var $selectedNode = null;
var ARROW_KEYS = [KEY.UP, KEY.DOWN, KEY.LEFT, KEY.RIGHT];
var ENTER_KEY = KEY.ENTER;
function addActiveClass($target) {
if (!$target) {
return;
}
$target.find('button').addClass('active');
$selectedNode = $target;
}
function removeActiveClass($target) {
$target.find('button').removeClass('active');
$selectedNode = null;
}
// find next node
function findNextNode(row, column) {
var findNode = null;
$.each($specialCharNode, function(idx, $node) {
var findRow = Math.ceil((idx + 1) / COLUMN_LENGTH);
var findColumn = ((idx + 1) % COLUMN_LENGTH === 0) ? COLUMN_LENGTH : (idx + 1) % COLUMN_LENGTH;
if (findRow === row && findColumn === column) {
findNode = $node;
return false;
}
});
return $(findNode);
}
function arrowKeyHandler(keyCode) {
// left, right, up, down key
var $nextNode;
var lastRowColumnLength = $specialCharNode.length % totalColumn;
if (KEY.LEFT === keyCode) {
if (currentColumn > 1) {
currentColumn = currentColumn - 1;
} else if (currentRow === 1 && currentColumn === 1) {
currentColumn = lastRowColumnLength;
currentRow = totalRow;
} else {
currentColumn = totalColumn;
currentRow = currentRow - 1;
}
} else if (KEY.RIGHT === keyCode) {
if (currentRow === totalRow && lastRowColumnLength === currentColumn) {
currentColumn = 1;
currentRow = 1;
} else if (currentColumn < totalColumn) {
currentColumn = currentColumn + 1;
} else {
currentColumn = 1;
currentRow = currentRow + 1;
}
} else if (KEY.UP === keyCode) {
if (currentRow === 1 && lastRowColumnLength < currentColumn) {
currentRow = totalRow - 1;
} else {
currentRow = currentRow - 1;
}
} else if (KEY.DOWN === keyCode) {
currentRow = currentRow + 1;
}
if (currentRow === totalRow && currentColumn > lastRowColumnLength) {
currentRow = 1;
} else if (currentRow > totalRow) {
currentRow = 1;
} else if (currentRow < 1) {
currentRow = totalRow;
}
$nextNode = findNextNode(currentRow, currentColumn);
if ($nextNode) {
removeActiveClass($selectedNode);
addActiveClass($nextNode);
}
}
function enterKeyHandler() {
if (!$selectedNode) {
return;
}
deferred.resolve(decodeURIComponent($selectedNode.find('button').attr('data-value')));
$specialCharDialog.modal('hide');
}
function keyDownEventHandler(event) {
event.preventDefault();
var keyCode = event.keyCode;
if (keyCode === undefined || keyCode === null) {
return;
}
// check arrowKeys match
if (ARROW_KEYS.indexOf(keyCode) > -1) {
if ($selectedNode === null) {
addActiveClass($specialCharNode.eq(0));
currentColumn = 1;
currentRow = 1;
return;
}
arrowKeyHandler(keyCode);
} else if (keyCode === ENTER_KEY) {
enterKeyHandler();
}
return false;
}
// remove class
removeActiveClass($specialCharNode);
// find selected node
if (text) {
for (var i = 0; i < $specialCharNode.length; i++) {
var $checkNode = $($specialCharNode[i]);
if ($checkNode.text() === text) {
addActiveClass($checkNode);
currentRow = Math.ceil((i + 1) / COLUMN_LENGTH);
currentColumn = (i + 1) % COLUMN_LENGTH;
}
}
}
ui.onDialogShown(self.$dialog, function() {
$(document).on('keydown', keyDownEventHandler);
self.$dialog.find('button').tooltip();
$specialCharNode.on('click', function(event) {
event.preventDefault();
deferred.resolve(decodeURIComponent($(event.currentTarget).find('button').attr('data-value')));
ui.hideDialog(self.$dialog);
});
});
ui.onDialogHidden(self.$dialog, function() {
$specialCharNode.off('click');
self.$dialog.find('button').tooltip('destroy');
$(document).off('keydown', keyDownEventHandler);
if (deferred.state() === 'pending') {
deferred.reject();
}
});
ui.showDialog(self.$dialog);
});
};
}
});
}));

1
static/old/summernote-bs4.css Executable file

File diff suppressed because one or more lines are too long

7285
static/old/summernote-bs4.js Executable file

File diff suppressed because it is too large Load Diff

3
static/old/summernote-bs4.min.js vendored Executable file

File diff suppressed because one or more lines are too long

1
static/old/summernote-lite.css Executable file

File diff suppressed because one or more lines are too long

7798
static/old/summernote-lite.js Executable file

File diff suppressed because it is too large Load Diff

1
static/old/summernote.css Executable file

File diff suppressed because one or more lines are too long

7278
static/old/summernote.js Executable file

File diff suppressed because it is too large Load Diff

3
static/old/summernote.min.js vendored Executable file

File diff suppressed because one or more lines are too long

24
static/script.js Executable file
View File

@ -0,0 +1,24 @@
$(function () {
var socket = io();
socket.on('chat message', function(msg){
//$('#messages').append($('<li>').text(msg));
});
});
$('#send').click(function(){
var data = {zone:$("#zone").val(),
ListeCom : new Array()};
data.ListeCom.push({
IDPub:-1,
html:($(this).children(".com")[0]).value,
level:($(this).children(".lvl")[0]).value
});
socket.emit('Communication', JSON.stringify(data));
//$('#m').val('');
return false;
});

BIN
sync.ffs_db Executable file

Binary file not shown.

117
views/TV.ejs Executable file
View File

@ -0,0 +1,117 @@
<!DOCTYPE html>
<html>
<head>
<!--Import Google Icon Font-->
<link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
<!--Import materialize.css-->
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/materialize/1.0.0/css/materialize.min.css">
<!--Let browser know website is optimized for mobile-->
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
<title>Page TV</title>
<style>
.heading { color: black; }
</style>
<script src="/socket.io/socket.io.js"></script>
<script>
$(function () {
var socket = io();
socket.on('Communication', function(msg){
var CommunicationJSON = JSON.parse(msg);
console.debug(CommunicationJSON)
CommunicationJSON.ListeCom.forEach(function(Communication){
switch (Communication.level) {
case "1":
$("#lvl1").append('<li class="caption center-align" data-idPub="'+Communication.IDPub+'\">'+Communication.html+'</li>')
break;
case "2":
$("#lvl2").append('<li class="caption center-align" data-idPub="'+Communication.IDPub+'\">'+Communication.html+'</li>')
break;
case "3":
$("#lvl3").append('<li class="caption center-align" data-idPub="'+Communication.IDPub+'\">'+Communication.html+'</li>')
break;
default:
}
})
});
<% if(typeof zone != 'undefined') { %>
socket.emit("JoinZone", "<%= zone %>");
<% } %>
$("#btnJoin").click(function(){
socket.close().connect();
socket.emit("JoinZone", $("#zone").val());
})
});
</script>
</head>
<body>
<!--<div class="row">-->
<div class="slider">
<ul class="slides" id="lvl1">
</ul>
</div>
<div class="slider" >
<ul class="slides" id="lvl2">
</ul>
</div>
<div class="slider" >
<ul class="slides" id="lvl3">
</ul>
</div>
<!-- Section slider pour M3-->
<!--</div>-->
<!--JavaScript at end of body for optimized loading-->
<!-- Compiled and minified JavaScript -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/materialize/1.0.0/js/materialize.min.js"></script>
<script>
// Slider
$(document).ready(function(){
$('.slider').slider({indicators: false})
});
</script>
<script>
<% if(typeof pub != 'undefined') {
for(var i=0;i<pub.length;i++){ %>
var x = "<%= pub[i].Type%>";
console.debug(x);
<%
switch (pub[i].Type) {
case 1: %>
$("#lvl1").append('<li class="caption center-align" data-idPub="<%=pub[i].ID_Com%>"\><%=pub[i].Texte%></li>')
<%break;
case 2: %>
$("#lvl2").append('<li class="caption center-align" data-idPub="<%=pub[i].ID_Com%>"\><%=pub[i].Texte%></li>')
<%break;
case 3: %>
$("#lvl3").append('<li class="caption center-align" data-idPub="<%=pub[i].ID_Com%>"\><%=pub[i].Texte%></li>')
<%break;%>
<% } %>
<% } %>
var x = "<%= pub.length%>";
console.debug(x);
<% } %>
</script>
</body>
</html>

97
views/TV_old.ejs Normal file
View File

@ -0,0 +1,97 @@
<!doctype html>
<html>
<head>
<title>Socket.IO chat</title>
<style>
* { margin: 0; padding: 0; box-sizing: border-box; text-align: center;}
body { font: 13px Helvetica, Arial; }
#lvl3 {height: 20%;background-color: red; color:yellow; padding: 3px; position: fixed; bottom: 0; width: 100%; }
#lvl2 {height: 30%;}
#lvl1 {height: 50%;}
table {
border-collapse: collapse;
}
table, th, td {
border: 1px solid black;
}
</style>
<script src="https://code.jquery.com/jquery-1.11.1.js"></script>
<script src="/socket.io/socket.io.js"></script>
<script>
$(function () {
var socket = io();
socket.on('Communication', function(msg){
var CommunicationJSON = JSON.parse(msg);
console.debug(CommunicationJSON)
CommunicationJSON.ListeCom.forEach(function(Communication){
switch (Communication.level) {
case "1":
$("#lvl1").html('<div data-idPub="'+Communication.IDPub+'\">'+Communication.html+'</div>')
break;
case "2":
$("#lvl2").html('<div data-idPub="'+Communication.IDPub+'\">'+Communication.html+'</div>')
break;
case "3":
$("#lvl3").html('<div data-idPub="'+Communication.IDPub+'\">'+Communication.html+'</div>')
break;
default:
}
})
});
<% if(typeof zone != 'undefined') { %>
socket.emit("JoinZone", "<%= zone %>");
<% } %>
$("#btnJoin").click(function(){
socket.close().connect();
socket.emit("JoinZone", $("#zone").val());
})
});
</script>
</head>
<body>
<% if(typeof zone == 'undefined') { %>
<input type="text" id="zone" /><button id="btnJoin">Joindre</button>
<% } %>
<table>
<tr><td id="lvl1"></td></tr>
<tr><td id="lvl2"></td></tr>
<tr><td id="lvl3"></td></tr>
</table>
<script>
<% if(typeof pub != 'undefined') {
for(var i=0;i<pub.length;i++){ %>
var x = "<%= pub[i].Type%>";
console.debug(x);
<%
switch (pub[i].Type) {
case 1: %>
$("#lvl1").html('<div data-idPub="<%=pub[i].ID_Com%>"\><%=pub[i].Texte%></div>')
<%break;
case 2: %>
$("#lvl2").html('<div data-idPub="<%=pub[i].ID_Com%>"\><%=pub[i].Texte%></div>')
<%break;
case 3: %>
$("#lvl3").html('<div data-idPub="<%=pub[i].ID_Com%>"\><%=pub[i].Texte%></div>')
<%break;%>
<% } %>
<% } %>
var x = "<%= pub.length%>";
console.debug(x);
<% } %>
</script>
</body>
</html>

59
views/_index2.ejs Normal file
View File

@ -0,0 +1,59 @@
<!doctype html>
<html>
<head>
<title>Socket.IO chat</title>
<style>
</style>
<script src="https://code.jquery.com/jquery-1.11.1.js"></script>
<script src="/socket.io/socket.io.js"></script>
<script src="static/script.js"></script>
<!--<script src="node_modules/trumbowyg/dist/trumbowyg.min.js"></script>
<link rel="stylesheet" href="node_modules/trumbowyg/dist/ui/trumbowyg.min.css">-->
<script>
/* $(document).ready(function() {
$('.com').summernote();
});*/
</script>
</head>
<body>
Zone cible <input id="zone">
<form action="">
<input type="hidden" class="lvl" value="1" />
Lvl 1 : <textarea class="com" name="editordata"></textarea><button>Send</button>
</form>
<form action="">
<input type="hidden" class="lvl" value="2" />
Lvl 2:<textarea class="com" name="editordata"></textarea><button>Send</button>
</form>
<form action="">
<input type="hidden" class="lvl" value="3" />
Lvl 3:<textarea class="com" name="editordata"></textarea><button>Send</button>
</form>
<button id="SendAll">Envoyer Tout</button><br/>
<iframe src="https://nodejs.adriy.be/mapsTest" style="width:100%;height:800px;"></iframe>
<script>
$('.com').tuiEditor({
initialEditType: 'markdown',
previewStyle: 'vertical',
height: '300px'
});
</script>
</body>
</html>

95
views/_mapsTest.ejs Executable file
View File

@ -0,0 +1,95 @@
<!DOCTYPE html>
<html>
<head>
<script>
if (location.protocol != 'https:')
{
location.href = 'https:' + window.location.href.substring(window.location.protocol.length);
}
</script>
<title>User-Editable Shapes</title>
<meta name="viewport" content="initial-scale=1.0, user-scalable=no">
<meta charset="utf-8">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
<link rel="stylesheet" href="https://unpkg.com/leaflet@1.3.4/dist/leaflet.css"
integrity="sha512-puBpdR0798OZvTTbP4A8Ix/l+A4dHDD0DGqYW6RQ+9jxkRFclaxxQb/SJAWZfWAkuyeQUytO7+7N4QKrDh+drA=="
crossorigin=""/>
<script src="https://unpkg.com/leaflet@1.3.4/dist/leaflet.js"
integrity="sha512-nMMmRyTVoLYqjP9hrbed9S+FzjZHW5gY1TWCHA5ckwXZBadntCNs8kEqAWdrb9O7rxbCaA4lKTIWjDXZxflOcA=="
crossorigin=""></script>
<script src="/static/Leaflet.Editable.js"></script>
<style>
#map { height: 500px; width: 80%}
</style>
</head>
<body>
<table><tr><td id="map">
</td><td><h1>Zone :</h1>
<table id="ListZone"><tr><th>Nom</th><th>Coo</th></tr>
<% for(var i = 0;i<data.length;i++){ %>
<tr><td><%= data[i].Nom %></td><td>#N<%=data[i].Nord %>#S<%=data[i].Sud %>#O<%=data[i].Ouest %>#E<%=data[i].Est %></td></tr>
<% } %>
</table>
Nom Zone : <input type="text" id="nomZone">
<button id="btnAddZone">Ajouter une zone</button>
</td></tr>
</table>
<script>
L.Popup = L.Popup.extend({
getEvents: function () {
var events = L.DivOverlay.prototype.getEvents.call(this);
if ('closeOnClick' in this.options ? this.options.closeOnClick : this._map.options.closePopupOnClick) {
//events.preclick = this._close;
}
if (this.options.keepInView) {
events.moveend = this._adjustPan;
}
return events;
},
});
var lstRect = new Array();
// center of the map
var center = [-33.8650, 151.2094];
// Create the map
var map = L.map('map',{editable: true}).setView(center, 6);
// Set up the OSM layer
L.tileLayer(
'https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png', {
attribution: 'Data © <a href="http://osm.org/copyright">OpenStreetMap</a>',
maxZoom: 18
}).addTo(map);
L.marker(center);
map.locate({setView: true, maxZoom: 15});
$("#btnAddZone").click(function(){
if($(this).html() == "Ajouter une zone"){
lstRect.push(map.editTools.startRectangle());
console.debug(lstRect);
lstRect[lstRect.length-1].enableEdit();
$(this).html("Confirmer");
}
else {
$(this).html("Ajouter une zone");
lstRect[lstRect.length-1].disableEdit();
lstRect[lstRect.length-1].bindTooltip($("#nomZone").val(),{permanent: true, direction:"center"});
var bounds = lstRect[lstRect.length-1].getBounds();
$('#ListZone tr:last').after('<tr><td>'+$("#nomZone").val()+'</td><td>w'+bounds.getWest()+';s'+bounds.getSouth()+';e'+bounds.getEast()
+';n'+bounds.getNorth()+'</td></tr>');
$.post( "/addZone", { N: bounds.getNorth(), S: bounds.getSouth(), E:bounds.getEast(), O:bounds.getWest(), Name:$("#nomZone").val() } );
}
});
<% for(var i = 0;i<data.length;i++){ %>
lstRect.push(L.rectangle([[<%=data[i].Nord %>,<%=data[i].Ouest %>],[<%=data[i].Sud %>,<%=data[i].Est %>]]));
lstRect[lstRect.length-1].addTo(map);
lstRect[lstRect.length-1].bindTooltip("<%= data[i].Nom %>",{permanent: true, direction:"center"}).addTo(map);
<% } %>
</script>
</body>
</html>

123
views/index.ejs Normal file
View File

@ -0,0 +1,123 @@
<!DOCTYPE html>
<html>
<head>
<!--Importing CSS frameworks-->
<link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/materialize/1.0.0/css/materialize.min.css">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0-beta/css/bootstrap.min.css">
<link rel="stylesheet" href="https://unpkg.com/leaflet@1.3.4/dist/leaflet.css"
integrity="sha512-puBpdR0798OZvTTbP4A8Ix/l+A4dHDD0DGqYW6RQ+9jxkRFclaxxQb/SJAWZfWAkuyeQUytO7+7N4QKrDh+drA=="
crossorigin=""/>
<link href='https://api.tiles.mapbox.com/mapbox-gl-js/v0.50.0/mapbox-gl.css' rel='stylesheet' />
<link rel="shortcut icon" type="image/x-icon" href="./static/Icons/h0.png" />
<link rel="stylesheet" type="text/css" href="./static/css/style.css">
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
</head>
<body>
<!--Background shapes Don't care about them! :D -->
<div id="water-shape">
<img src="./static/Shapes/water-shape.svg">
</div>
<div id="circle-shape">
<img src="./static/Shapes/circle-shape.svg">
</div>
<div id="curve-shape">
<img src="./static/Shapes/curve1-shape.svg">
</div>
<div id="curve-two-shape">
<img src="./static/Shapes/curve2-shape.svg">
</div>
<div id="triangle-shape">
<img src="./static/Shapes/triangle-shape.svg">
</div>
<!--End of background shapes-->
<!--This is the beginning of the navigation you dont have to care about it too :D -->
<div class="container">
<nav>
<div class="nav-wrapper">
<a href="#" class="brand-logo left">Pub</a>
<ul class="right">
<li><a class="btn-floating btn-small waves-effect waves-light purple darken-3"><i class="material-icons">menu</i></a></li>
</ul>
</div>
</nav>
</div>
<!--The End of the naviation-->
<!-- this is the interesting part-->
<div class="container">
<div id="body" class="row">
<div class="col m12 s12">
<div class="row">
<!-- this is the combo-box! :) -->
<div class="input-field col m12 s12">
<select id="zone">
<option value="" disabled selected>Choose you location</option>
<% for(var i = 0;i<zone.length;i++){ %>
<option value="<%= zone[i].ID_Zone %>"><%= zone[i].Nom %></option>
<% } %>
</select>
<label>Location</label>
</div>
<div class="input-field col m12 s12">
<select id="level">
<option value="" disabled selected>Choose you level</option>
<option value="1">1</option>
<option value="2">2</option>
<option value="3">3</option>
</select>
<label>Level</label>
</div>
<!--The end of the combo box-->
</div>
<div class="row">
<!--Link to the map page to add a new map-->
<div class=" col s12 center">
<a href="/map">Click here to add a new Location</a>
</div>
<!--End of the map link-->
</div>
<div class="row">
<div class="col s12">
<!--This is the call of the summernote-->
<div id="summernote" class="">Write your publication here!</div>
<!--End of the summernote-->
</div>
</div>
<div class="row">
<div class="col s12 center-btn">
<!--This is the upload button-->
<a href="#" class="btn white-text waves-effect purple darken-3 center bordered" id="send">Upload</a>
<!--This is the End of the upload button-->
</div>
</div>
</div>
</div>
</div>
<!--The end of the interesting part :( -->
<!--The footer-->
<footer>
</footer>
<!-- Importing Javascript frameworks-->
<script src="/socket.io/socket.io.js"></script>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/materialize/1.0.0/js/materialize.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.11.0/umd/popper.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0-beta/js/bootstrap.min.js"></script>
<link href="https://cdnjs.cloudflare.com/ajax/libs/summernote/0.8.9/summernote-bs4.css" rel="stylesheet">
<script src="https://cdnjs.cloudflare.com/ajax/libs/summernote/0.8.9/summernote-bs4.js"></script>
<script src='https://api.tiles.mapbox.com/mapbox-gl-js/v0.50.0/mapbox-gl.js'></script>
<script src="https://unpkg.com/leaflet@1.3.4/dist/leaflet.js"
integrity="sha512-nMMmRyTVoLYqjP9hrbed9S+FzjZHW5gY1TWCHA5ckwXZBadntCNs8kEqAWdrb9O7rxbCaA4lKTIWjDXZxflOcA=="
crossorigin=""></script>
<script type="text/javascript" src="./static/Js/index.js"></script>
</body>
</html>

142
views/login.ejs Normal file
View File

@ -0,0 +1,142 @@
<!DOCTYPE html>
<html>
<head>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
<script>
$('.message a').click(function(){
$('form').animate({height: "toggle", opacity: "toggle"}, "slow");
});
$(function(){
$( "input[name='repassword']" ).on('input', function(){
if($( "input[name='password']" ).val() != $( "input[name='repassword']" ).val())
$( "input[name='repassword']" ).css('color', 'red');
else
$( "input[name='repassword']" ).css('color', '');
})
});
</script>
<style>
@import url(https://fonts.googleapis.com/css?family=Roboto:300);
.login-page {
width: 360px;
padding: 8% 0 0;
margin: auto;
}
.form {
position: relative;
z-index: 1;
background: #FFFFFF;
max-width: 360px;
margin: 0 auto 100px;
padding: 45px;
text-align: center;
box-shadow: 0 0 20px 0 rgba(0, 0, 0, 0.2), 0 5px 5px 0 rgba(0, 0, 0, 0.24);
}
.form input {
font-family: "Roboto", sans-serif;
outline: 0;
background: #f2f2f2;
width: 100%;
border: 0;
margin: 0 0 15px;
padding: 15px;
box-sizing: border-box;
font-size: 14px;
}
.form button {
font-family: "Roboto", sans-serif;
text-transform: uppercase;
outline: 0;
background: #4CAF50;
width: 100%;
border: 0;
padding: 15px;
color: #FFFFFF;
font-size: 14px;
-webkit-transition: all 0.3 ease;
transition: all 0.3 ease;
cursor: pointer;
}
.form button:hover,.form button:active,.form button:focus {
background: #43A047;
}
.form .message {
margin: 15px 0 0;
color: #b3b3b3;
font-size: 12px;
}
.form .message a {
color: #4CAF50;
text-decoration: none;
}
.form .register-form {
display: none;
}
.container {
position: relative;
z-index: 1;
max-width: 300px;
margin: 0 auto;
}
.container:before, .container:after {
content: "";
display: block;
clear: both;
}
.container .info {
margin: 50px auto;
text-align: center;
}
.container .info h1 {
margin: 0 0 15px;
padding: 0;
font-size: 36px;
font-weight: 300;
color: #1a1a1a;
}
.container .info span {
color: #4d4d4d;
font-size: 12px;
}
.container .info span a {
color: #000000;
text-decoration: none;
}
.container .info span .fa {
color: #EF3B3A;
}
body {
background: #76b852; /* fallback for old browsers */
background: -webkit-linear-gradient(right, #76b852, #8DC26F);
background: -moz-linear-gradient(right, #76b852, #8DC26F);
background: -o-linear-gradient(right, #76b852, #8DC26F);
background: linear-gradient(to left, #76b852, #8DC26F);
font-family: "Roboto", sans-serif;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
</style>
</head>
<body>
<div class="login-page">
<div class="form">
<form class="register-form" action="/register" method="post">
<input type="text" placeholder="name" name="username"/>
<input type="password" placeholder="password" name="password"/>
<input type="password" placeholder="repassword" name="repassword" class="repassword"/>
<button>create</button>
<p class="message">Already registered? <a href="#" onclick="$('.login-form').show();$('.register-form').hide();">Sign In</a></p>
</form>
<form class="login-form" action="/login" method="post">
<input type="text" placeholder="username" name="username"/>
<input type="password" placeholder="password" name="password"/>
<button>login</button>
<p class="message">Not registered? <a href="#" onclick="$('.login-form').hide();$('.register-form').show();">Create an account</a></p>
</form>
</div>
</div>
</body>
</html>

139
views/map.ejs Normal file
View File

@ -0,0 +1,139 @@
<!DOCTYPE html>
<html>
<head>
<script>
if (location.protocol != 'https:')
{
location.href = 'https:' + window.location.href.substring(window.location.protocol.length);
}
</script>
<!--Importing CSS frameworks-->
<link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/materialize/1.0.0/css/materialize.min.css">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0-beta/css/bootstrap.min.css">
<link rel="stylesheet" href="https://unpkg.com/leaflet@1.3.4/dist/leaflet.css"
integrity="sha512-puBpdR0798OZvTTbP4A8Ix/l+A4dHDD0DGqYW6RQ+9jxkRFclaxxQb/SJAWZfWAkuyeQUytO7+7N4QKrDh+drA=="
crossorigin=""/>
<link href='https://api.tiles.mapbox.com/mapbox-gl-js/v0.50.0/mapbox-gl.css' rel='stylesheet' />
<link rel="shortcut icon" type="image/x-icon" href="/static/Icons/h0.png" />
<link rel="stylesheet" type="text/css" href="/static/css/style.css">
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
</head>
<body>
<!--Background shapes Don't care about them! :D -->
<div id="water-shape">
<img src="/static/Shapes/water-shape.svg">
</div>
<div id="circle-shape">
<img src="/static/Shapes/circle-shape.svg">
</div>
<div id="curve-two-shape">
<img src="/static/Shapes/curve2-shape.svg">
</div>
<div id="triangle-shape">
<img src="/static/Shapes/triangle-shape.svg">
</div>
<!--End of background shapes-->
<!--This is the beginning of the navigation you dont have to care about it too :D -->
<div class="container">
<nav>
<div class="nav-wrapper">
<a href="#" class="brand-logo-map left">Pub</a>
<ul class="right">
<li><a class="btn-floating btn-small waves-effect waves-light purple darken-3"><i class="material-icons">menu</i></a></li>
</ul>
</div>
</nav>
</div>
<!--The End of the naviation-->
<div class="container">
<div class="row ">
<div class="col m4 s12 purple darken-3">
<!--Map from leafletjs-->
<div id="mapid"></div>
<!--End of Map from leafletjs-->
</div>
</div>
<div class="row">
<!--This is the add button-->
<div class="input-field col m6 s12 center-btn">
<input placeholder="Placeholder" id="nomZone" type="text" class="validate">
<label for="nomZone">Nom Zone </label>
<a href="#" class="btn white-text purple darken-3 center bordered" id="btnAddZone">Add</a>
</div>
<!--This is the End of the add button-->
</div>
</div>
<!-- Importing Javascript frameworks-->
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/materialize/1.0.0/js/materialize.min.js"></script>
<script src='https://api.tiles.mapbox.com/mapbox-gl-js/v0.50.0/mapbox-gl.js'></script>
<script src="https://unpkg.com/leaflet@1.3.4/dist/leaflet.js"
integrity="sha512-nMMmRyTVoLYqjP9hrbed9S+FzjZHW5gY1TWCHA5ckwXZBadntCNs8kEqAWdrb9O7rxbCaA4lKTIWjDXZxflOcA=="
crossorigin=""></script>
<script type="text/javascript" src="/static/Js/map.js"></script>
<script src="/static/Leaflet.Editable.js"></script>
<script>
L.Popup = L.Popup.extend({
getEvents: function () {
var events = L.DivOverlay.prototype.getEvents.call(this);
if ('closeOnClick' in this.options ? this.options.closeOnClick : this._map.options.closePopupOnClick) {
//events.preclick = this._close;
}
if (this.options.keepInView) {
events.moveend = this._adjustPan;
}
return events;
},
});
var lstRect = new Array();
var map = L.map('mapid',{editable: true});
// Set up the OSM layer
L.tileLayer(
'https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png', {
attribution: 'Data © <a href="http://osm.org/copyright">OpenStreetMap</a>',
maxZoom: 18
}).addTo(map);
map.locate({setView: true, maxZoom: 15});
<% /*ajout des rectangle*/ %>
<% for(var i = 0;i<zone.length;i++){ %>
lstRect.push(L.rectangle([[<%=zone[i].Nord %>,<%=zone[i].Ouest %>],[<%=zone[i].Sud %>,<%=zone[i].Est %>]]));
lstRect[lstRect.length-1].addTo(map);
lstRect[lstRect.length-1].bindTooltip("<%= zone[i].Nom %>",{permanent: true, direction:"auto"}).addTo(map);
<% } %>
$("#btnAddZone").click(function(){
if($("#btnAddZone").html() == "Add"){
lstRect.push(map.editTools.startRectangle());
console.debug(lstRect);
lstRect[lstRect.length-1].enableEdit();
$(this).html("Confirmer");
} else if($("#btnAddZone").html() == "Confirmer"){
$(this).html("Add");
lstRect[lstRect.length-1].disableEdit();
lstRect[lstRect.length-1].bindTooltip($("#nomZone").val(),{permanent: true, direction:"auto"});
var bounds = lstRect[lstRect.length-1].getBounds();
$('#ListZone tr:last').after('<tr><td>'+$("#nomZone").val()+'</td><td>w'+bounds.getWest()+';s'+bounds.getSouth()+';e'+bounds.getEast()
+';n'+bounds.getNorth()+'</td></tr>');
$.post( "/addZone", { N: bounds.getNorth(), S: bounds.getSouth(), E:bounds.getEast(), O:bounds.getWest(), Name:$("#nomZone").val() } );
}
});
</script>
</body>
</html>