commit
a93c7bb6d0
|
@ -1,3 +1,4 @@
|
||||||
|
import { t } from '../locale.js';
|
||||||
const template = document.createElement('template');
|
const template = document.createElement('template');
|
||||||
template.innerHTML = `
|
template.innerHTML = `
|
||||||
<style>
|
<style>
|
||||||
|
@ -16,7 +17,7 @@ label {
|
||||||
width:100%;
|
width:100%;
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
<label>Label</label>
|
<label></label>
|
||||||
<select>
|
<select>
|
||||||
</select>
|
</select>
|
||||||
|
|
||||||
|
@ -41,7 +42,7 @@ export class SeSelect extends HTMLElement {
|
||||||
* @returns {any} observed
|
* @returns {any} observed
|
||||||
*/
|
*/
|
||||||
static get observedAttributes () {
|
static get observedAttributes () {
|
||||||
return [ 'label', 'width', 'height', 'options', 'values' ];
|
return [ 'label', 'width', 'height', 'options', 'values', 'title' ];
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -56,7 +57,10 @@ export class SeSelect extends HTMLElement {
|
||||||
if (oldValue === newValue) return;
|
if (oldValue === newValue) return;
|
||||||
switch (name) {
|
switch (name) {
|
||||||
case 'label':
|
case 'label':
|
||||||
this.$label.textContent = newValue;
|
this.$label.textContent = t(newValue);
|
||||||
|
break;
|
||||||
|
case 'title':
|
||||||
|
this.$select.setAttribute("title", t(newValue));
|
||||||
break;
|
break;
|
||||||
case 'height':
|
case 'height':
|
||||||
this.$select.style.height = newValue;
|
this.$select.style.height = newValue;
|
||||||
|
@ -68,7 +72,7 @@ export class SeSelect extends HTMLElement {
|
||||||
options = newValue.split(',');
|
options = newValue.split(',');
|
||||||
options.forEach((option) => {
|
options.forEach((option) => {
|
||||||
const optionNode = document.createElement("OPTION");
|
const optionNode = document.createElement("OPTION");
|
||||||
const text = document.createTextNode(option);
|
const text = document.createTextNode(t(option));
|
||||||
optionNode.appendChild(text);
|
optionNode.appendChild(text);
|
||||||
this.$select.appendChild(optionNode);
|
this.$select.appendChild(optionNode);
|
||||||
});
|
});
|
||||||
|
|
|
@ -3,6 +3,11 @@ const template = document.createElement('template');
|
||||||
// eslint-disable-next-line no-unsanitized/property
|
// eslint-disable-next-line no-unsanitized/property
|
||||||
template.innerHTML = `
|
template.innerHTML = `
|
||||||
<style>
|
<style>
|
||||||
|
#layersLabel {
|
||||||
|
font-size: 13px;
|
||||||
|
line-height: normal;
|
||||||
|
font-weight: 700;
|
||||||
|
}
|
||||||
</style>
|
</style>
|
||||||
<div></div>
|
<div></div>
|
||||||
`;
|
`;
|
||||||
|
@ -26,7 +31,7 @@ export class SeText extends HTMLElement {
|
||||||
* @returns {any} observed
|
* @returns {any} observed
|
||||||
*/
|
*/
|
||||||
static get observedAttributes () {
|
static get observedAttributes () {
|
||||||
return [ 'text', 'value', 'style' ];
|
return [ 'text', 'value', 'style', 'title', 'id' ];
|
||||||
}
|
}
|
||||||
/**
|
/**
|
||||||
* @function attributeChangedCallback
|
* @function attributeChangedCallback
|
||||||
|
@ -39,13 +44,20 @@ export class SeText extends HTMLElement {
|
||||||
if (oldValue === newValue) return;
|
if (oldValue === newValue) return;
|
||||||
switch (name) {
|
switch (name) {
|
||||||
case 'text':
|
case 'text':
|
||||||
this.$div.setAttribute('title', t(newValue));
|
this.$div.textContent = t(newValue);
|
||||||
|
break;
|
||||||
|
case 'title':
|
||||||
|
this.$div.setAttribute("title", t(newValue));
|
||||||
break;
|
break;
|
||||||
case 'style':
|
case 'style':
|
||||||
this.$div.style = newValue;
|
this.$div.style = newValue;
|
||||||
break;
|
break;
|
||||||
|
case 'id':
|
||||||
|
this.$div.id = newValue;
|
||||||
|
break;
|
||||||
case 'value':
|
case 'value':
|
||||||
this.$div.value = newValue;
|
this.$div.value = newValue;
|
||||||
|
//this.$div.setAttribute("value", newValue);
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
// eslint-disable-next-line no-console
|
// eslint-disable-next-line no-console
|
||||||
|
@ -58,7 +70,7 @@ export class SeText extends HTMLElement {
|
||||||
* @returns {any}
|
* @returns {any}
|
||||||
*/
|
*/
|
||||||
get text () {
|
get text () {
|
||||||
return this.getAttribute('text');
|
return this.$div.textContent;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -66,7 +78,7 @@ export class SeText extends HTMLElement {
|
||||||
* @returns {void}
|
* @returns {void}
|
||||||
*/
|
*/
|
||||||
set text (value) {
|
set text (value) {
|
||||||
this.setAttribute('text', value);
|
this.$div.setAttribute("title", t(value));
|
||||||
}
|
}
|
||||||
/**
|
/**
|
||||||
* @function get
|
* @function get
|
||||||
|
@ -83,7 +95,21 @@ export class SeText extends HTMLElement {
|
||||||
set value (value) {
|
set value (value) {
|
||||||
this.value = value;
|
this.value = value;
|
||||||
}
|
}
|
||||||
|
/**
|
||||||
|
* @function get
|
||||||
|
* @returns {any}
|
||||||
|
*/
|
||||||
|
get title () {
|
||||||
|
return this.getAttribute('title');
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @function set
|
||||||
|
* @returns {void}
|
||||||
|
*/
|
||||||
|
set title (value) {
|
||||||
|
this.setAttribute('title', value);
|
||||||
|
}
|
||||||
/**
|
/**
|
||||||
* @function connectedCallback
|
* @function connectedCallback
|
||||||
* @returns {void}
|
* @returns {void}
|
||||||
|
|
|
@ -83,7 +83,6 @@ export const putLocale = async function (givenParam, goodLangs) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
console.info(`Lang: ${i18next.t('lang')}`);
|
|
||||||
return { langParam, i18next };
|
return { langParam, i18next };
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -69,6 +69,7 @@ export default {
|
||||||
straight_segments: 'Straight',
|
straight_segments: 'Straight',
|
||||||
curve_segments: 'Curve',
|
curve_segments: 'Curve',
|
||||||
text_contents: 'Verander teks inhoud',
|
text_contents: 'Verander teks inhoud',
|
||||||
|
font_family_label: 'Font:',
|
||||||
font_family: 'Lettertipe verander Familie',
|
font_family: 'Lettertipe verander Familie',
|
||||||
font_size: 'Verandering Lettertipe Grootte',
|
font_size: 'Verandering Lettertipe Grootte',
|
||||||
bold: 'Vetgedrukte teks',
|
bold: 'Vetgedrukte teks',
|
||||||
|
|
|
@ -69,6 +69,7 @@ export default {
|
||||||
straight_segments: 'Straight',
|
straight_segments: 'Straight',
|
||||||
curve_segments: 'Curve',
|
curve_segments: 'Curve',
|
||||||
text_contents: 'تغيير محتويات النص',
|
text_contents: 'تغيير محتويات النص',
|
||||||
|
font_family_label: 'Font:',
|
||||||
font_family: 'تغيير الخط الأسرة',
|
font_family: 'تغيير الخط الأسرة',
|
||||||
font_size: 'تغيير حجم الخط',
|
font_size: 'تغيير حجم الخط',
|
||||||
bold: 'نص جريء',
|
bold: 'نص جريء',
|
||||||
|
|
|
@ -69,6 +69,7 @@ export default {
|
||||||
straight_segments: 'Straight',
|
straight_segments: 'Straight',
|
||||||
curve_segments: 'Curve',
|
curve_segments: 'Curve',
|
||||||
text_contents: 'Change text contents',
|
text_contents: 'Change text contents',
|
||||||
|
font_family_label: 'Font:',
|
||||||
font_family: 'Change Font Family',
|
font_family: 'Change Font Family',
|
||||||
font_size: 'Change Font Size',
|
font_size: 'Change Font Size',
|
||||||
bold: 'Bold Text',
|
bold: 'Bold Text',
|
||||||
|
|
|
@ -69,6 +69,7 @@ export default {
|
||||||
straight_segments: 'Straight',
|
straight_segments: 'Straight',
|
||||||
curve_segments: 'Curve',
|
curve_segments: 'Curve',
|
||||||
text_contents: 'Змяненне зместу тэксту',
|
text_contents: 'Змяненне зместу тэксту',
|
||||||
|
font_family_label: 'Font:',
|
||||||
font_family: 'Змены Сямейства шрыфтоў',
|
font_family: 'Змены Сямейства шрыфтоў',
|
||||||
font_size: 'Змяніць памер шрыфта',
|
font_size: 'Змяніць памер шрыфта',
|
||||||
bold: 'Тоўсты тэкст',
|
bold: 'Тоўсты тэкст',
|
||||||
|
|
|
@ -69,6 +69,7 @@ export default {
|
||||||
straight_segments: 'Straight',
|
straight_segments: 'Straight',
|
||||||
curve_segments: 'Curve',
|
curve_segments: 'Curve',
|
||||||
text_contents: 'Промяна на текст съдържание',
|
text_contents: 'Промяна на текст съдържание',
|
||||||
|
font_family_label: 'Font:',
|
||||||
font_family: 'Промяна на шрифта Семейство',
|
font_family: 'Промяна на шрифта Семейство',
|
||||||
font_size: 'Промени размера на буквите',
|
font_size: 'Промени размера на буквите',
|
||||||
bold: 'Получер текст',
|
bold: 'Получер текст',
|
||||||
|
|
|
@ -69,6 +69,7 @@ export default {
|
||||||
straight_segments: 'Straight',
|
straight_segments: 'Straight',
|
||||||
curve_segments: 'Curve',
|
curve_segments: 'Curve',
|
||||||
text_contents: 'Contingut del text',
|
text_contents: 'Contingut del text',
|
||||||
|
font_family_label: 'Font:',
|
||||||
font_family: 'Canviar la font Família',
|
font_family: 'Canviar la font Família',
|
||||||
font_size: 'Change Font Size',
|
font_size: 'Change Font Size',
|
||||||
bold: 'Text en negreta',
|
bold: 'Text en negreta',
|
||||||
|
|
|
@ -69,6 +69,7 @@ export default {
|
||||||
straight_segments: 'úsečka',
|
straight_segments: 'úsečka',
|
||||||
curve_segments: 'křivka',
|
curve_segments: 'křivka',
|
||||||
text_contents: 'Změnit text',
|
text_contents: 'Změnit text',
|
||||||
|
font_family_label: 'Font:',
|
||||||
font_family: 'Změnit font',
|
font_family: 'Změnit font',
|
||||||
font_size: 'Změnit velikost písma',
|
font_size: 'Změnit velikost písma',
|
||||||
bold: 'Tučně',
|
bold: 'Tučně',
|
||||||
|
|
|
@ -69,6 +69,7 @@ export default {
|
||||||
straight_segments: 'Straight',
|
straight_segments: 'Straight',
|
||||||
curve_segments: 'Curve',
|
curve_segments: 'Curve',
|
||||||
text_contents: 'Cynnwys testun Newid',
|
text_contents: 'Cynnwys testun Newid',
|
||||||
|
font_family_label: 'Font:',
|
||||||
font_family: 'Newid Font Teulu',
|
font_family: 'Newid Font Teulu',
|
||||||
font_size: 'Newid Maint Ffont',
|
font_size: 'Newid Maint Ffont',
|
||||||
bold: 'Testun Bras',
|
bold: 'Testun Bras',
|
||||||
|
|
|
@ -69,6 +69,7 @@ export default {
|
||||||
straight_segments: 'Gerade',
|
straight_segments: 'Gerade',
|
||||||
curve_segments: 'Kurve',
|
curve_segments: 'Kurve',
|
||||||
text_contents: 'Textinhalt erstellen und bearbeiten',
|
text_contents: 'Textinhalt erstellen und bearbeiten',
|
||||||
|
font_family_label: 'Font:',
|
||||||
font_family: 'Schriftart wählen',
|
font_family: 'Schriftart wählen',
|
||||||
font_size: 'Schriftgröße einstellen',
|
font_size: 'Schriftgröße einstellen',
|
||||||
bold: 'Fetter Text',
|
bold: 'Fetter Text',
|
||||||
|
|
|
@ -69,6 +69,7 @@ export default {
|
||||||
straight_segments: 'Straight',
|
straight_segments: 'Straight',
|
||||||
curve_segments: 'Curve',
|
curve_segments: 'Curve',
|
||||||
text_contents: 'Αλλαγή περιεχόμενο κειμένου',
|
text_contents: 'Αλλαγή περιεχόμενο κειμένου',
|
||||||
|
font_family_label: 'Font:',
|
||||||
font_family: 'Αλλαγή γραμματοσειράς Οικογένεια',
|
font_family: 'Αλλαγή γραμματοσειράς Οικογένεια',
|
||||||
font_size: 'Αλλαγή μεγέθους γραμματοσειράς',
|
font_size: 'Αλλαγή μεγέθους γραμματοσειράς',
|
||||||
bold: 'Bold Text',
|
bold: 'Bold Text',
|
||||||
|
|
|
@ -70,7 +70,7 @@ export default {
|
||||||
straight_segments: 'Straight',
|
straight_segments: 'Straight',
|
||||||
curve_segments: 'Curve',
|
curve_segments: 'Curve',
|
||||||
text_contents: 'Change text contents',
|
text_contents: 'Change text contents',
|
||||||
font_family_label: 'Font',
|
font_family_label: 'Font:',
|
||||||
font_family: 'Change Font Family',
|
font_family: 'Change Font Family',
|
||||||
font_size: 'Change Font Size',
|
font_size: 'Change Font Size',
|
||||||
bold: 'Bold Text',
|
bold: 'Bold Text',
|
||||||
|
|
|
@ -69,6 +69,7 @@ export default {
|
||||||
straight_segments: 'Recta',
|
straight_segments: 'Recta',
|
||||||
curve_segments: 'Curva',
|
curve_segments: 'Curva',
|
||||||
text_contents: 'Modificar el texto',
|
text_contents: 'Modificar el texto',
|
||||||
|
font_family_label: 'Font:',
|
||||||
font_family: 'Tipo de fuente',
|
font_family: 'Tipo de fuente',
|
||||||
font_size: 'Tamaño de la fuente',
|
font_size: 'Tamaño de la fuente',
|
||||||
bold: 'Texto en negrita',
|
bold: 'Texto en negrita',
|
||||||
|
|
|
@ -69,6 +69,7 @@ export default {
|
||||||
straight_segments: 'Straight',
|
straight_segments: 'Straight',
|
||||||
curve_segments: 'Curve',
|
curve_segments: 'Curve',
|
||||||
text_contents: 'Muuda teksti sisu',
|
text_contents: 'Muuda teksti sisu',
|
||||||
|
font_family_label: 'Font:',
|
||||||
font_family: 'Muutke Kirjasinperhe',
|
font_family: 'Muutke Kirjasinperhe',
|
||||||
font_size: 'Change font size',
|
font_size: 'Change font size',
|
||||||
bold: 'Rasvane kiri',
|
bold: 'Rasvane kiri',
|
||||||
|
|
|
@ -69,6 +69,7 @@ export default {
|
||||||
straight_segments: 'مستقیم',
|
straight_segments: 'مستقیم',
|
||||||
curve_segments: 'منحنی',
|
curve_segments: 'منحنی',
|
||||||
text_contents: 'تغییر محتویات متن',
|
text_contents: 'تغییر محتویات متن',
|
||||||
|
font_family_label: 'Font:',
|
||||||
font_family: 'تغییر خانواده قلم',
|
font_family: 'تغییر خانواده قلم',
|
||||||
font_size: 'تغییر اندازه قلم',
|
font_size: 'تغییر اندازه قلم',
|
||||||
bold: 'متن توپر ',
|
bold: 'متن توپر ',
|
||||||
|
|
|
@ -69,6 +69,7 @@ export default {
|
||||||
straight_segments: 'Straight',
|
straight_segments: 'Straight',
|
||||||
curve_segments: 'Curve',
|
curve_segments: 'Curve',
|
||||||
text_contents: 'Muuta tekstin sisältö',
|
text_contents: 'Muuta tekstin sisältö',
|
||||||
|
font_family_label: 'Font:',
|
||||||
font_family: 'Muuta Font Family',
|
font_family: 'Muuta Font Family',
|
||||||
font_size: 'Muuta fontin kokoa',
|
font_size: 'Muuta fontin kokoa',
|
||||||
bold: 'Lihavoitu teksti',
|
bold: 'Lihavoitu teksti',
|
||||||
|
|
|
@ -69,6 +69,7 @@ export default {
|
||||||
straight_segments: 'Droit',
|
straight_segments: 'Droit',
|
||||||
curve_segments: 'Courbe',
|
curve_segments: 'Courbe',
|
||||||
text_contents: 'Changer le contenu du texte',
|
text_contents: 'Changer le contenu du texte',
|
||||||
|
font_family_label: 'Font:',
|
||||||
font_family: 'Changer la famille de police',
|
font_family: 'Changer la famille de police',
|
||||||
font_size: 'Changer la taille de la police',
|
font_size: 'Changer la taille de la police',
|
||||||
bold: 'Texte en gras',
|
bold: 'Texte en gras',
|
||||||
|
|
|
@ -69,6 +69,7 @@ export default {
|
||||||
straight_segments: 'Rjocht',
|
straight_segments: 'Rjocht',
|
||||||
curve_segments: 'Bûcht',
|
curve_segments: 'Bûcht',
|
||||||
text_contents: 'Tekst oanpasse',
|
text_contents: 'Tekst oanpasse',
|
||||||
|
font_family_label: 'Font:',
|
||||||
font_family: 'Lettertype oanpasse',
|
font_family: 'Lettertype oanpasse',
|
||||||
font_size: 'Lettergrutte oanpasse',
|
font_size: 'Lettergrutte oanpasse',
|
||||||
bold: 'Fet',
|
bold: 'Fet',
|
||||||
|
|
|
@ -69,6 +69,7 @@ export default {
|
||||||
straight_segments: 'Straight',
|
straight_segments: 'Straight',
|
||||||
curve_segments: 'Curve',
|
curve_segments: 'Curve',
|
||||||
text_contents: 'Inneachar Athraigh téacs',
|
text_contents: 'Inneachar Athraigh téacs',
|
||||||
|
font_family_label: 'Font:',
|
||||||
font_family: 'Athraigh an Cló Teaghlaigh',
|
font_family: 'Athraigh an Cló Teaghlaigh',
|
||||||
font_size: 'Athraigh Clómhéid',
|
font_size: 'Athraigh Clómhéid',
|
||||||
bold: 'Trom Téacs',
|
bold: 'Trom Téacs',
|
||||||
|
|
|
@ -69,6 +69,7 @@ export default {
|
||||||
straight_segments: 'Straight',
|
straight_segments: 'Straight',
|
||||||
curve_segments: 'Curve',
|
curve_segments: 'Curve',
|
||||||
text_contents: 'Cambiar o contido de texto',
|
text_contents: 'Cambiar o contido de texto',
|
||||||
|
font_family_label: 'Font:',
|
||||||
font_family: 'Cambiar fonte Familia',
|
font_family: 'Cambiar fonte Familia',
|
||||||
font_size: 'Mudar tamaño de letra',
|
font_size: 'Mudar tamaño de letra',
|
||||||
bold: 'Bold Text',
|
bold: 'Bold Text',
|
||||||
|
|
|
@ -69,6 +69,7 @@ export default {
|
||||||
straight_segments: 'Straight',
|
straight_segments: 'Straight',
|
||||||
curve_segments: 'Curve',
|
curve_segments: 'Curve',
|
||||||
text_contents: 'שינוי תוכן טקסט',
|
text_contents: 'שינוי תוכן טקסט',
|
||||||
|
font_family_label: 'Font:',
|
||||||
font_family: 'שינוי גופן משפחה',
|
font_family: 'שינוי גופן משפחה',
|
||||||
font_size: 'שנה גודל גופן',
|
font_size: 'שנה גודל גופן',
|
||||||
bold: 'טקסט מודגש',
|
bold: 'טקסט מודגש',
|
||||||
|
|
|
@ -69,6 +69,7 @@ export default {
|
||||||
straight_segments: 'सीधे वर्ग',
|
straight_segments: 'सीधे वर्ग',
|
||||||
curve_segments: 'घुमाव',
|
curve_segments: 'घुमाव',
|
||||||
text_contents: 'बदलें पाठ सामग्री',
|
text_contents: 'बदलें पाठ सामग्री',
|
||||||
|
font_family_label: 'Font:',
|
||||||
font_family: 'बदलें फ़ॉन्ट परिवार',
|
font_family: 'बदलें फ़ॉन्ट परिवार',
|
||||||
font_size: 'फ़ॉन्ट का आकार बदलें',
|
font_size: 'फ़ॉन्ट का आकार बदलें',
|
||||||
bold: 'मोटा पाठ',
|
bold: 'मोटा पाठ',
|
||||||
|
|
|
@ -69,6 +69,7 @@ export default {
|
||||||
straight_segments: 'Straight',
|
straight_segments: 'Straight',
|
||||||
curve_segments: 'Curve',
|
curve_segments: 'Curve',
|
||||||
text_contents: 'A szöveg tartalma',
|
text_contents: 'A szöveg tartalma',
|
||||||
|
font_family_label: 'Font:',
|
||||||
font_family: 'Change Betűcsalád',
|
font_family: 'Change Betűcsalád',
|
||||||
font_size: 'Change font size',
|
font_size: 'Change font size',
|
||||||
bold: 'Félkövér szöveg',
|
bold: 'Félkövér szöveg',
|
||||||
|
|
|
@ -70,6 +70,7 @@ export default {
|
||||||
curve_segments: 'Curve',
|
curve_segments: 'Curve',
|
||||||
text_contents: 'Change text contents',
|
text_contents: 'Change text contents',
|
||||||
font_family: 'Change Font Family',
|
font_family: 'Change Font Family',
|
||||||
|
font_family_label: 'Font:',
|
||||||
font_size: 'Change Font Size',
|
font_size: 'Change Font Size',
|
||||||
bold: 'Bold Text',
|
bold: 'Bold Text',
|
||||||
italic: 'Italic Text',
|
italic: 'Italic Text',
|
||||||
|
|
|
@ -70,6 +70,7 @@ export default {
|
||||||
curve_segments: 'Curve',
|
curve_segments: 'Curve',
|
||||||
text_contents: 'Ubah isi teks',
|
text_contents: 'Ubah isi teks',
|
||||||
font_family: 'Ubah Font Keluarga',
|
font_family: 'Ubah Font Keluarga',
|
||||||
|
font_family_label: 'Font:',
|
||||||
font_size: 'Ubah Ukuran Font',
|
font_size: 'Ubah Ukuran Font',
|
||||||
bold: 'Bold Teks',
|
bold: 'Bold Teks',
|
||||||
italic: 'Italic Teks',
|
italic: 'Italic Teks',
|
||||||
|
|
|
@ -69,6 +69,7 @@ export default {
|
||||||
straight_segments: 'Straight',
|
straight_segments: 'Straight',
|
||||||
curve_segments: 'Curve',
|
curve_segments: 'Curve',
|
||||||
text_contents: 'Breyta texta innihald',
|
text_contents: 'Breyta texta innihald',
|
||||||
|
font_family_label: 'Font:',
|
||||||
font_family: 'Change Leturfjölskylda',
|
font_family: 'Change Leturfjölskylda',
|
||||||
font_size: 'Breyta leturstærð',
|
font_size: 'Breyta leturstærð',
|
||||||
bold: 'Bold Text',
|
bold: 'Bold Text',
|
||||||
|
|
|
@ -69,6 +69,7 @@ export default {
|
||||||
straight_segments: 'Linea retta',
|
straight_segments: 'Linea retta',
|
||||||
curve_segments: 'Curva',
|
curve_segments: 'Curva',
|
||||||
text_contents: 'Cambia il contenuto del testo',
|
text_contents: 'Cambia il contenuto del testo',
|
||||||
|
font_family_label: 'Font:',
|
||||||
font_family: 'Cambia il tipo di Font',
|
font_family: 'Cambia il tipo di Font',
|
||||||
font_size: 'Modifica dimensione carattere',
|
font_size: 'Modifica dimensione carattere',
|
||||||
bold: 'Grassetto',
|
bold: 'Grassetto',
|
||||||
|
|
|
@ -69,6 +69,7 @@ export default {
|
||||||
straight_segments: '直線',
|
straight_segments: '直線',
|
||||||
curve_segments: 'カーブ',
|
curve_segments: 'カーブ',
|
||||||
text_contents: 'テキストの内容の変更',
|
text_contents: 'テキストの内容の変更',
|
||||||
|
font_family_label: 'Font:',
|
||||||
font_family: 'フォントファミリーの変更',
|
font_family: 'フォントファミリーの変更',
|
||||||
font_size: '文字サイズの変更',
|
font_size: '文字サイズの変更',
|
||||||
bold: '太字',
|
bold: '太字',
|
||||||
|
|
|
@ -69,6 +69,7 @@ export default {
|
||||||
straight_segments: 'Straight',
|
straight_segments: 'Straight',
|
||||||
curve_segments: 'Curve',
|
curve_segments: 'Curve',
|
||||||
text_contents: '텍스트 변경 내용',
|
text_contents: '텍스트 변경 내용',
|
||||||
|
font_family_label: 'Font:',
|
||||||
font_family: '글꼴 변경 패밀리',
|
font_family: '글꼴 변경 패밀리',
|
||||||
font_size: '글꼴 크기 변경',
|
font_size: '글꼴 크기 변경',
|
||||||
bold: '굵은 텍스트',
|
bold: '굵은 텍스트',
|
||||||
|
|
|
@ -69,6 +69,7 @@ export default {
|
||||||
straight_segments: 'Straight',
|
straight_segments: 'Straight',
|
||||||
curve_segments: 'Curve',
|
curve_segments: 'Curve',
|
||||||
text_contents: 'Keisti teksto turinys',
|
text_contents: 'Keisti teksto turinys',
|
||||||
|
font_family_label: 'Font:',
|
||||||
font_family: 'Pakeistišriftą Šeima',
|
font_family: 'Pakeistišriftą Šeima',
|
||||||
font_size: 'Change font size',
|
font_size: 'Change font size',
|
||||||
bold: 'Pusjuodis',
|
bold: 'Pusjuodis',
|
||||||
|
|
|
@ -69,6 +69,7 @@ export default {
|
||||||
straight_segments: 'Straight',
|
straight_segments: 'Straight',
|
||||||
curve_segments: 'Curve',
|
curve_segments: 'Curve',
|
||||||
text_contents: 'Mainītu teksta saturs',
|
text_contents: 'Mainītu teksta saturs',
|
||||||
|
font_family_label: 'Font:',
|
||||||
font_family: 'Mainīt fonta Family',
|
font_family: 'Mainīt fonta Family',
|
||||||
font_size: 'Mainīt fonta izmēru',
|
font_size: 'Mainīt fonta izmēru',
|
||||||
bold: 'Bold Text',
|
bold: 'Bold Text',
|
||||||
|
|
|
@ -69,6 +69,7 @@ export default {
|
||||||
straight_segments: 'Straight',
|
straight_segments: 'Straight',
|
||||||
curve_segments: 'Curve',
|
curve_segments: 'Curve',
|
||||||
text_contents: 'Промена текст содржина',
|
text_contents: 'Промена текст содржина',
|
||||||
|
font_family_label: 'Font:',
|
||||||
font_family: 'Смени фонт Фамилија',
|
font_family: 'Смени фонт Фамилија',
|
||||||
font_size: 'Изменифонт Големина',
|
font_size: 'Изменифонт Големина',
|
||||||
bold: 'Задебелен текст',
|
bold: 'Задебелен текст',
|
||||||
|
|
|
@ -69,6 +69,7 @@ export default {
|
||||||
straight_segments: 'Straight',
|
straight_segments: 'Straight',
|
||||||
curve_segments: 'Curve',
|
curve_segments: 'Curve',
|
||||||
text_contents: 'Tukar isi teks',
|
text_contents: 'Tukar isi teks',
|
||||||
|
font_family_label: 'Font:',
|
||||||
font_family: 'Tukar Font Keluarga',
|
font_family: 'Tukar Font Keluarga',
|
||||||
font_size: 'Ubah Saiz Font',
|
font_size: 'Ubah Saiz Font',
|
||||||
bold: 'Bold Teks',
|
bold: 'Bold Teks',
|
||||||
|
|
|
@ -69,6 +69,7 @@ export default {
|
||||||
straight_segments: 'Straight',
|
straight_segments: 'Straight',
|
||||||
curve_segments: 'Curve',
|
curve_segments: 'Curve',
|
||||||
text_contents: 'Test kontenut Bidla',
|
text_contents: 'Test kontenut Bidla',
|
||||||
|
font_family_label: 'Font:',
|
||||||
font_family: 'Bidla Font Familja',
|
font_family: 'Bidla Font Familja',
|
||||||
font_size: 'Change font size',
|
font_size: 'Change font size',
|
||||||
bold: 'Bold Test',
|
bold: 'Bold Test',
|
||||||
|
|
|
@ -69,6 +69,7 @@ export default {
|
||||||
straight_segments: 'Recht',
|
straight_segments: 'Recht',
|
||||||
curve_segments: 'Gebogen',
|
curve_segments: 'Gebogen',
|
||||||
text_contents: 'Wijzig tekst',
|
text_contents: 'Wijzig tekst',
|
||||||
|
font_family_label: 'Font:',
|
||||||
font_family: 'Verander lettertype',
|
font_family: 'Verander lettertype',
|
||||||
font_size: 'Verander lettertype grootte',
|
font_size: 'Verander lettertype grootte',
|
||||||
bold: 'Vet',
|
bold: 'Vet',
|
||||||
|
|
|
@ -69,6 +69,7 @@ export default {
|
||||||
straight_segments: 'Straight',
|
straight_segments: 'Straight',
|
||||||
curve_segments: 'Curve',
|
curve_segments: 'Curve',
|
||||||
text_contents: 'Endre tekst innholdet',
|
text_contents: 'Endre tekst innholdet',
|
||||||
|
font_family_label: 'Font:',
|
||||||
font_family: 'Change Font Family',
|
font_family: 'Change Font Family',
|
||||||
font_size: 'Endre skriftstørrelse',
|
font_size: 'Endre skriftstørrelse',
|
||||||
bold: 'Fet tekst',
|
bold: 'Fet tekst',
|
||||||
|
|
|
@ -70,6 +70,7 @@ export default {
|
||||||
straight_segments: 'Prosty',
|
straight_segments: 'Prosty',
|
||||||
curve_segments: 'Zaokrąglony',
|
curve_segments: 'Zaokrąglony',
|
||||||
text_contents: 'Zmień text',
|
text_contents: 'Zmień text',
|
||||||
|
font_family_label: 'Font:',
|
||||||
font_family: 'Zmień krój czcionki',
|
font_family: 'Zmień krój czcionki',
|
||||||
font_size: 'Zmień rozmiar czcionki',
|
font_size: 'Zmień rozmiar czcionki',
|
||||||
bold: 'Pogrubienie textu',
|
bold: 'Pogrubienie textu',
|
||||||
|
|
|
@ -69,6 +69,7 @@ export default {
|
||||||
straight_segments: 'Reto',
|
straight_segments: 'Reto',
|
||||||
curve_segments: 'Curvo',
|
curve_segments: 'Curvo',
|
||||||
text_contents: 'Mudar conteúdo do texto',
|
text_contents: 'Mudar conteúdo do texto',
|
||||||
|
font_family_label: 'Font:',
|
||||||
font_family: 'Mudar o estilo da fonte',
|
font_family: 'Mudar o estilo da fonte',
|
||||||
font_size: 'Mudar o tamanho da fonte',
|
font_size: 'Mudar o tamanho da fonte',
|
||||||
bold: 'Negrito',
|
bold: 'Negrito',
|
||||||
|
|
|
@ -69,6 +69,7 @@ export default {
|
||||||
straight_segments: 'Straight',
|
straight_segments: 'Straight',
|
||||||
curve_segments: 'Curve',
|
curve_segments: 'Curve',
|
||||||
text_contents: 'Alterar o conteúdo de texto',
|
text_contents: 'Alterar o conteúdo de texto',
|
||||||
|
font_family_label: 'Font:',
|
||||||
font_family: 'Alterar fonte Família',
|
font_family: 'Alterar fonte Família',
|
||||||
font_size: 'Alterar tamanho de letra',
|
font_size: 'Alterar tamanho de letra',
|
||||||
bold: 'Bold Text',
|
bold: 'Bold Text',
|
||||||
|
|
|
@ -69,6 +69,7 @@ export default {
|
||||||
straight_segments: 'Drept',
|
straight_segments: 'Drept',
|
||||||
curve_segments: 'Curb',
|
curve_segments: 'Curb',
|
||||||
text_contents: 'Schimbarea conţinutului textului',
|
text_contents: 'Schimbarea conţinutului textului',
|
||||||
|
font_family_label: 'Font:',
|
||||||
font_family: 'Modificare familie de fonturi',
|
font_family: 'Modificare familie de fonturi',
|
||||||
font_size: 'Schimbă dimensiunea fontului',
|
font_size: 'Schimbă dimensiunea fontului',
|
||||||
bold: 'Text Îngroşat',
|
bold: 'Text Îngroşat',
|
||||||
|
|
|
@ -69,6 +69,7 @@ export default {
|
||||||
straight_segments: 'Отрезок',
|
straight_segments: 'Отрезок',
|
||||||
curve_segments: 'Сплайн',
|
curve_segments: 'Сплайн',
|
||||||
text_contents: 'Изменить содержание текста',
|
text_contents: 'Изменить содержание текста',
|
||||||
|
font_family_label: 'Font:',
|
||||||
font_family: 'Изменить семейство шрифтов',
|
font_family: 'Изменить семейство шрифтов',
|
||||||
font_size: 'Изменить размер шрифта',
|
font_size: 'Изменить размер шрифта',
|
||||||
bold: 'Жирный',
|
bold: 'Жирный',
|
||||||
|
|
|
@ -69,6 +69,7 @@ export default {
|
||||||
straight_segments: 'Rovný',
|
straight_segments: 'Rovný',
|
||||||
curve_segments: 'Krivka',
|
curve_segments: 'Krivka',
|
||||||
text_contents: 'Zmeniť text',
|
text_contents: 'Zmeniť text',
|
||||||
|
font_family_label: 'Font:',
|
||||||
font_family: 'Zmeniť font',
|
font_family: 'Zmeniť font',
|
||||||
font_size: 'Zmeniť veľkosť písma',
|
font_size: 'Zmeniť veľkosť písma',
|
||||||
bold: 'Tučné',
|
bold: 'Tučné',
|
||||||
|
|
|
@ -69,6 +69,7 @@ export default {
|
||||||
straight_segments: 'Raven odsek',
|
straight_segments: 'Raven odsek',
|
||||||
curve_segments: 'Ukrivljen odsek',
|
curve_segments: 'Ukrivljen odsek',
|
||||||
text_contents: 'Spremeni besedilo',
|
text_contents: 'Spremeni besedilo',
|
||||||
|
font_family_label: 'Font:',
|
||||||
font_family: 'Spremeni tip pisave',
|
font_family: 'Spremeni tip pisave',
|
||||||
font_size: 'Spremeni velikost pisave',
|
font_size: 'Spremeni velikost pisave',
|
||||||
bold: 'Krepko',
|
bold: 'Krepko',
|
||||||
|
|
|
@ -69,6 +69,7 @@ export default {
|
||||||
straight_segments: 'Straight',
|
straight_segments: 'Straight',
|
||||||
curve_segments: 'Curve',
|
curve_segments: 'Curve',
|
||||||
text_contents: 'Text contents Ndryshimi',
|
text_contents: 'Text contents Ndryshimi',
|
||||||
|
font_family_label: 'Font:',
|
||||||
font_family: 'Ndryshimi Font Family',
|
font_family: 'Ndryshimi Font Family',
|
||||||
font_size: 'Ndryshimi Font Size',
|
font_size: 'Ndryshimi Font Size',
|
||||||
bold: 'Bold Text',
|
bold: 'Bold Text',
|
||||||
|
|
|
@ -69,6 +69,7 @@ export default {
|
||||||
straight_segments: 'Straight',
|
straight_segments: 'Straight',
|
||||||
curve_segments: 'Curve',
|
curve_segments: 'Curve',
|
||||||
text_contents: 'Промена садржаја текстуалне',
|
text_contents: 'Промена садржаја текстуалне',
|
||||||
|
font_family_label: 'Font:',
|
||||||
font_family: 'Цханге фонт породицу',
|
font_family: 'Цханге фонт породицу',
|
||||||
font_size: 'Цханге фонт сизе',
|
font_size: 'Цханге фонт сизе',
|
||||||
bold: 'Подебљан текст',
|
bold: 'Подебљан текст',
|
||||||
|
|
|
@ -69,6 +69,7 @@ export default {
|
||||||
straight_segments: 'Straight',
|
straight_segments: 'Straight',
|
||||||
curve_segments: 'Curve',
|
curve_segments: 'Curve',
|
||||||
text_contents: 'Ändra textinnehållet',
|
text_contents: 'Ändra textinnehållet',
|
||||||
|
font_family_label: 'Font:',
|
||||||
font_family: 'Ändra Typsnitt',
|
font_family: 'Ändra Typsnitt',
|
||||||
font_size: 'Ändra textstorlek',
|
font_size: 'Ändra textstorlek',
|
||||||
bold: 'Fet text',
|
bold: 'Fet text',
|
||||||
|
|
|
@ -69,6 +69,7 @@ export default {
|
||||||
straight_segments: 'Straight',
|
straight_segments: 'Straight',
|
||||||
curve_segments: 'Curve',
|
curve_segments: 'Curve',
|
||||||
text_contents: 'Change Nakala contents',
|
text_contents: 'Change Nakala contents',
|
||||||
|
font_family_label: 'Font:',
|
||||||
font_family: 'Change font Family',
|
font_family: 'Change font Family',
|
||||||
font_size: 'Change font Size',
|
font_size: 'Change font Size',
|
||||||
bold: 'Bold Nakala',
|
bold: 'Bold Nakala',
|
||||||
|
|
|
@ -69,6 +69,7 @@ export default {
|
||||||
straight_segments: 'Straight',
|
straight_segments: 'Straight',
|
||||||
curve_segments: 'Curve',
|
curve_segments: 'Curve',
|
||||||
text_contents: 'Change text contents',
|
text_contents: 'Change text contents',
|
||||||
|
font_family_label: 'Font:',
|
||||||
font_family: 'Change Font Family',
|
font_family: 'Change Font Family',
|
||||||
font_size: 'Change Font Size',
|
font_size: 'Change Font Size',
|
||||||
bold: 'Bold Text',
|
bold: 'Bold Text',
|
||||||
|
|
|
@ -69,6 +69,7 @@ export default {
|
||||||
straight_segments: 'Straight',
|
straight_segments: 'Straight',
|
||||||
curve_segments: 'Curve',
|
curve_segments: 'Curve',
|
||||||
text_contents: 'เปลี่ยนเนื้อหาข้อความ',
|
text_contents: 'เปลี่ยนเนื้อหาข้อความ',
|
||||||
|
font_family_label: 'Font:',
|
||||||
font_family: 'ครอบครัว Change Font',
|
font_family: 'ครอบครัว Change Font',
|
||||||
font_size: 'เปลี่ยนขนาดตัวอักษร',
|
font_size: 'เปลี่ยนขนาดตัวอักษร',
|
||||||
bold: 'ข้อความตัวหนา',
|
bold: 'ข้อความตัวหนา',
|
||||||
|
|
|
@ -69,6 +69,7 @@ export default {
|
||||||
straight_segments: 'Straight',
|
straight_segments: 'Straight',
|
||||||
curve_segments: 'Curve',
|
curve_segments: 'Curve',
|
||||||
text_contents: 'Baguhin ang mga nilalaman ng teksto',
|
text_contents: 'Baguhin ang mga nilalaman ng teksto',
|
||||||
|
font_family_label: 'Font:',
|
||||||
font_family: 'Baguhin ang Pamilya ng Font',
|
font_family: 'Baguhin ang Pamilya ng Font',
|
||||||
font_size: 'Baguhin ang Laki ng Font',
|
font_size: 'Baguhin ang Laki ng Font',
|
||||||
bold: 'Bold Text',
|
bold: 'Bold Text',
|
||||||
|
|
|
@ -69,6 +69,7 @@ export default {
|
||||||
straight_segments: 'Straight',
|
straight_segments: 'Straight',
|
||||||
curve_segments: 'Curve',
|
curve_segments: 'Curve',
|
||||||
text_contents: 'Değiştirmek metin içeriği',
|
text_contents: 'Değiştirmek metin içeriği',
|
||||||
|
font_family_label: 'Font:',
|
||||||
font_family: 'Font değiştir Aile',
|
font_family: 'Font değiştir Aile',
|
||||||
font_size: 'Change font size',
|
font_size: 'Change font size',
|
||||||
bold: 'Kalın Yazı',
|
bold: 'Kalın Yazı',
|
||||||
|
|
|
@ -69,6 +69,7 @@ export default {
|
||||||
straight_segments: 'Straight',
|
straight_segments: 'Straight',
|
||||||
curve_segments: 'Curve',
|
curve_segments: 'Curve',
|
||||||
text_contents: 'Зміна змісту тексту',
|
text_contents: 'Зміна змісту тексту',
|
||||||
|
font_family_label: 'Font:',
|
||||||
font_family: 'Зміни Сімейство шрифтів',
|
font_family: 'Зміни Сімейство шрифтів',
|
||||||
font_size: 'Змінити розмір шрифту',
|
font_size: 'Змінити розмір шрифту',
|
||||||
bold: 'Товстий текст',
|
bold: 'Товстий текст',
|
||||||
|
|
|
@ -69,6 +69,7 @@ export default {
|
||||||
straight_segments: 'Straight',
|
straight_segments: 'Straight',
|
||||||
curve_segments: 'Curve',
|
curve_segments: 'Curve',
|
||||||
text_contents: 'Thay đổi nội dung văn bản',
|
text_contents: 'Thay đổi nội dung văn bản',
|
||||||
|
font_family_label: 'Font:',
|
||||||
font_family: 'Thay đổi Font Gia đình',
|
font_family: 'Thay đổi Font Gia đình',
|
||||||
font_size: 'Thay đổi cỡ chữ',
|
font_size: 'Thay đổi cỡ chữ',
|
||||||
bold: 'Bold Text',
|
bold: 'Bold Text',
|
||||||
|
|
|
@ -69,6 +69,7 @@ export default {
|
||||||
straight_segments: 'Straight',
|
straight_segments: 'Straight',
|
||||||
curve_segments: 'Curve',
|
curve_segments: 'Curve',
|
||||||
text_contents: 'ענדערן טעקסט אינהאַלט',
|
text_contents: 'ענדערן טעקסט אינהאַלט',
|
||||||
|
font_family_label: 'Font:',
|
||||||
font_family: 'ענדערן פאָנט פאַמילי',
|
font_family: 'ענדערן פאָנט פאַמילי',
|
||||||
font_size: 'בייטן פאָנט גרייס',
|
font_size: 'בייטן פאָנט גרייס',
|
||||||
bold: 'דרייסט טעקסט',
|
bold: 'דרייסט טעקסט',
|
||||||
|
|
|
@ -69,6 +69,7 @@ export default {
|
||||||
straight_segments: '直线',
|
straight_segments: '直线',
|
||||||
curve_segments: '曲线',
|
curve_segments: '曲线',
|
||||||
text_contents: '更改文本内容',
|
text_contents: '更改文本内容',
|
||||||
|
font_family_label: 'Font:',
|
||||||
font_family: '更改字体样式',
|
font_family: '更改字体样式',
|
||||||
font_size: '更改字体大小',
|
font_size: '更改字体大小',
|
||||||
bold: '粗体',
|
bold: '粗体',
|
||||||
|
|
|
@ -69,6 +69,7 @@ export default {
|
||||||
straight_segments: 'Straight',
|
straight_segments: 'Straight',
|
||||||
curve_segments: 'Curve',
|
curve_segments: 'Curve',
|
||||||
text_contents: '更改文字内容',
|
text_contents: '更改文字内容',
|
||||||
|
font_family_label: 'Font:',
|
||||||
font_family: '更改字体家族',
|
font_family: '更改字体家族',
|
||||||
font_size: '更改字体大小',
|
font_size: '更改字体大小',
|
||||||
bold: '粗体',
|
bold: '粗体',
|
||||||
|
|
|
@ -69,6 +69,7 @@ export default {
|
||||||
straight_segments: '直線',
|
straight_segments: '直線',
|
||||||
curve_segments: '曲線',
|
curve_segments: '曲線',
|
||||||
text_contents: '更改文字內容',
|
text_contents: '更改文字內容',
|
||||||
|
font_family_label: 'Font:',
|
||||||
font_family: '更改字體',
|
font_family: '更改字體',
|
||||||
font_size: '更改字體大小',
|
font_size: '更改字體大小',
|
||||||
bold: '粗體',
|
bold: '粗體',
|
||||||
|
|
|
@ -184,7 +184,7 @@ class BottomPanel {
|
||||||
<se-colorpicker id="fill_color" src="fill.svg" label="properties.fill_color" type="fill"></se-colorpicker>
|
<se-colorpicker id="fill_color" src="fill.svg" label="properties.fill_color" type="fill"></se-colorpicker>
|
||||||
<se-colorpicker id="stroke_color" src="stroke.svg" label="properties.stroke_color" type="stroke"></se-colorpicker>
|
<se-colorpicker id="stroke_color" src="stroke.svg" label="properties.stroke_color" type="stroke"></se-colorpicker>
|
||||||
<se-spin-input id="stroke_width" min=0 max=99 step=1 title="properties.stroke_width" label=""></se-spin-input>
|
<se-spin-input id="stroke_width" min=0 max=99 step=1 title="properties.stroke_width" label=""></se-spin-input>
|
||||||
<se-select id="stroke_style" title="${i18next.t('properties.stroke_style')}" label="" width="22px" height="22px"
|
<se-select id="stroke_style" title="properties.stroke_style" label="" width="22px" height="22px"
|
||||||
options="—,...,- -,- .,- .."
|
options="—,...,- -,- .,- .."
|
||||||
values="none 2,2 5,5 5,2,2,2 5,2,2,2,2,2">
|
values="none 2,2 5,5 5,2,2,2 5,2,2,2,2,2">
|
||||||
</se-select>
|
</se-select>
|
||||||
|
|
|
@ -48,10 +48,10 @@ class LayersPanel {
|
||||||
// eslint-disable-next-line no-unsanitized/property
|
// eslint-disable-next-line no-unsanitized/property
|
||||||
template.innerHTML = `
|
template.innerHTML = `
|
||||||
<div id="sidepanels">
|
<div id="sidepanels">
|
||||||
<div id="sidepanel_handle" title="${i18next.t('ui.panel_action')}">${i18next.t('ui.panel')}</div>
|
<se-text id="sidepanel_handle" title="ui.panel_action" text="ui.panel"></se-text>
|
||||||
<div id="sidepanel_content">
|
<div id="sidepanel_content">
|
||||||
<div id="layerpanel">
|
<div id="layerpanel">
|
||||||
<h3 id="layersLabel">${i18next.t('layers.layers')}</h3>
|
<se-text id="layersLabel" text="layers.layers"></se-text>
|
||||||
<fieldset id="layerbuttons">
|
<fieldset id="layerbuttons">
|
||||||
<se-button id="layer_new" title="layers.new" size="small" src="new.svg"></se-button>
|
<se-button id="layer_new" title="layers.new" size="small" src="new.svg"></se-button>
|
||||||
<se-button id="layer_delete" title="layers.del" size="small" src="delete.svg"></se-button>
|
<se-button id="layer_delete" title="layers.del" size="small" src="delete.svg"></se-button>
|
||||||
|
@ -67,8 +67,8 @@ class LayersPanel {
|
||||||
<td class="layername">Layer 1</td>
|
<td class="layername">Layer 1</td>
|
||||||
</tr>
|
</tr>
|
||||||
</table>
|
</table>
|
||||||
<span id="selLayerLabel">${i18next.t('layers.move_elems_to')}</span>
|
<se-text id="selLayerLabel" text="layers.move_elems_to"></se-text>
|
||||||
<select id="selLayerNames" title="${i18next.t('layers.move_selected')}" disabled="disabled">
|
<select id="selLayerNames" disabled="disabled">
|
||||||
<option selected="selected" value="layer1">Layer 1</option>
|
<option selected="selected" value="layer1">Layer 1</option>
|
||||||
</select>
|
</select>
|
||||||
</div>
|
</div>
|
||||||
|
@ -89,6 +89,7 @@ class LayersPanel {
|
||||||
menuLayerBox.setAttribute("leftclick", false);
|
menuLayerBox.setAttribute("leftclick", false);
|
||||||
this.editor.$container.append(menuLayerBox);
|
this.editor.$container.append(menuLayerBox);
|
||||||
menuLayerBox.init(i18next);
|
menuLayerBox.init(i18next);
|
||||||
|
$id("selLayerNames").setAttribute("title", i18next.t('layers.move_selected'));
|
||||||
$id("layer_new").addEventListener("click", this.newLayer.bind(this));
|
$id("layer_new").addEventListener("click", this.newLayer.bind(this));
|
||||||
$id("layer_delete").addEventListener("click", this.deleteLayer.bind(this));
|
$id("layer_delete").addEventListener("click", this.deleteLayer.bind(this));
|
||||||
$id("layer_up").addEventListener("click", () => this.moveLayer.bind(this)(-1));
|
$id("layer_up").addEventListener("click", () => this.moveLayer.bind(this)(-1));
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
|
/* eslint-disable max-len */
|
||||||
/* globals seAlert */
|
/* globals seAlert */
|
||||||
|
|
||||||
import SvgCanvas from "../../svgcanvas/svgcanvas.js";
|
import SvgCanvas from "../../svgcanvas/svgcanvas.js";
|
||||||
|
@ -894,11 +895,8 @@ class TopPanel {
|
||||||
<se-button id="tool_align_top" title="tools.align_top" src="align_top.svg"></se-button>
|
<se-button id="tool_align_top" title="tools.align_top" src="align_top.svg"></se-button>
|
||||||
<se-button id="tool_align_middle" title="tools.align_middle" src="align_middle.svg"></se-button>
|
<se-button id="tool_align_middle" title="tools.align_middle" src="align_middle.svg"></se-button>
|
||||||
<se-button id="tool_align_bottom" title="tools.align_bottom" src="align_bottom.svg"></se-button>
|
<se-button id="tool_align_bottom" title="tools.align_bottom" src="align_bottom.svg"></se-button>
|
||||||
<se-select id="tool_align_relative" label="relative to:"
|
<se-select id="tool_align_relative" label="tools.relativeTo"
|
||||||
options="${i18next.t('tools.selected_objects')},
|
options="tools.selected_objects,tools.largest_object,tools.smallest_object,tools.page"
|
||||||
${i18next.t('tools.largest_object')},
|
|
||||||
${i18next.t('tools.smallest_object')},
|
|
||||||
${i18next.t('tools.page')}"
|
|
||||||
values="selected largest smallest page"></se-list-item>
|
values="selected largest smallest page"></se-list-item>
|
||||||
</se-select>
|
</se-select>
|
||||||
</div> <!-- multiselected_panel -->
|
</div> <!-- multiselected_panel -->
|
||||||
|
@ -938,18 +936,7 @@ class TopPanel {
|
||||||
<div class="text_panel">
|
<div class="text_panel">
|
||||||
<se-button id="tool_bold" title="properties.bold" src="bold.svg" shortcut="B"></se-button>
|
<se-button id="tool_bold" title="properties.bold" src="bold.svg" shortcut="B"></se-button>
|
||||||
<se-button id="tool_italic" title="properties.italic" src="italic.svg" shortcut="I"></se-button>
|
<se-button id="tool_italic" title="properties.italic" src="italic.svg" shortcut="I"></se-button>
|
||||||
<se-select id="tool_font_family" label="Font:"
|
<se-select id="tool_font_family" label="properties.font_family_label" options="properties.serif,properties.sans_serif,properties.cursive,properties.fantasy,properties.monospace,properties.courier,properties.helvetica,properties.times" values="Serif Sans-serif Cursive Fantasy Monospace Courier Helvetica Times"></select>
|
||||||
options="${i18next.t('properties.serif')},
|
|
||||||
${i18next.t('properties.sans_serif')},
|
|
||||||
${i18next.t('properties.cursive')},
|
|
||||||
${i18next.t('properties.fantasy')},
|
|
||||||
${i18next.t('properties.monospace')},
|
|
||||||
${i18next.t('properties.courier')},
|
|
||||||
${i18next.t('properties.helvetica')},
|
|
||||||
${i18next.t('properties.times')}"
|
|
||||||
values="Serif Sans-serif Cursive Fantasy Monospace Courier Helvetica Times"
|
|
||||||
>
|
|
||||||
</select>
|
|
||||||
<se-spin-input size="2" id="font_size" min=1 max=1000 step=1 title="properties.font_size" src="fontsize.svg"></se-spin-input>
|
<se-spin-input size="2" id="font_size" min=1 max=1000 step=1 title="properties.font_size" src="fontsize.svg"></se-spin-input>
|
||||||
</div>
|
</div>
|
||||||
<div class="text_panel">
|
<div class="text_panel">
|
||||||
|
@ -971,7 +958,7 @@ class TopPanel {
|
||||||
</div> <!-- g_panel -->
|
</div> <!-- g_panel -->
|
||||||
<!-- For anchor elements -->
|
<!-- For anchor elements -->
|
||||||
<div class="a_panel">
|
<div class="a_panel">
|
||||||
<label id="tool_link_url" title="${i18next.t('tools.set_link_url')}">
|
<label id="tool_link_url">
|
||||||
<span id="linkLabel" class="icon_label"></span>
|
<span id="linkLabel" class="icon_label"></span>
|
||||||
<input id="link_url" type="text" size="35" />
|
<input id="link_url" type="text" size="35" />
|
||||||
</label>
|
</label>
|
||||||
|
@ -982,7 +969,7 @@ class TopPanel {
|
||||||
<div class="tool_sep"></div>
|
<div class="tool_sep"></div>
|
||||||
<se-spin-input id="path_node_x" data-attr="x" size="4" title="properties.node_x" label="properties.x_label"></se-spin-input>
|
<se-spin-input id="path_node_x" data-attr="x" size="4" title="properties.node_x" label="properties.x_label"></se-spin-input>
|
||||||
<se-spin-input id="path_node_y" data-attr="y" size="4" title="properties.node_y" label="properties.y_label"></se-spin-input>
|
<se-spin-input id="path_node_y" data-attr="y" size="4" title="properties.node_y" label="properties.y_label"></se-spin-input>
|
||||||
<se-select id="seg_type" title="${i18next.t('tools.seg_type')}" label="" options="${i18next.t('properties.straight_segments')}, ${i18next.t('properties.curve_segments')}" values="4 6"></se-select>
|
<se-select id="seg_type" title="properties.seg_type" label="" options="properties.straight_segments,properties.curve_segments" values="4 6"></se-select>
|
||||||
<se-button id="tool_node_clone" title="tools.node_clone" src="tool_node_clone.svg"></se-button>
|
<se-button id="tool_node_clone" title="tools.node_clone" src="tool_node_clone.svg"></se-button>
|
||||||
<se-button id="tool_node_delete" title="tools.node_delete" src="tool_node_delete.svg"></se-button>
|
<se-button id="tool_node_delete" title="tools.node_delete" src="tool_node_delete.svg"></se-button>
|
||||||
<se-button id="tool_openclose_path" title="tools.openclose_path" src="tool_openclose_path.svg"></se-button>
|
<se-button id="tool_openclose_path" title="tools.openclose_path" src="tool_openclose_path.svg"></se-button>
|
||||||
|
@ -999,6 +986,7 @@ class TopPanel {
|
||||||
newSeEditorDialog.setAttribute("id", "se-svg-editor-dialog");
|
newSeEditorDialog.setAttribute("id", "se-svg-editor-dialog");
|
||||||
this.editor.$container.append(newSeEditorDialog);
|
this.editor.$container.append(newSeEditorDialog);
|
||||||
newSeEditorDialog.init(i18next);
|
newSeEditorDialog.init(i18next);
|
||||||
|
$id("tool_link_url").setAttribute("title", i18next.t('tools.set_link_url'));
|
||||||
// register action to top panel buttons
|
// register action to top panel buttons
|
||||||
$id("tool_source").addEventListener("click", this.showSourceEditor.bind(this));
|
$id("tool_source").addEventListener("click", this.showSourceEditor.bind(this));
|
||||||
$id("tool_wireframe").addEventListener("click", this.clickWireframe.bind(this));
|
$id("tool_wireframe").addEventListener("click", this.clickWireframe.bind(this));
|
||||||
|
|
Loading…
Reference in New Issue