mirror of https://github.com/artf/grapesjs.git
70 changed files with 2519 additions and 6082 deletions
File diff suppressed because one or more lines are too long
Binary file not shown.
Binary file not shown.
|
Before Width: | Height: | Size: 434 KiB |
Binary file not shown.
Binary file not shown.
Binary file not shown.
File diff suppressed because it is too large
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -0,0 +1,198 @@ |
|||||
|
const traitInputAttr = { placeholder: 'ej. Texto aquí' }; |
||||
|
|
||||
|
export default { |
||||
|
assetManager: { |
||||
|
addButton: 'Añadir imagen', |
||||
|
inputPlh: 'http://camino/a/la/imagen.jpg', |
||||
|
modalTitle: 'Seleccionar imagen', |
||||
|
uploadTitle: 'Arrastre los archivos aquí o haga clic para cargar' |
||||
|
}, |
||||
|
// Here just as a reference, GrapesJS core doesn't contain any block,
|
||||
|
// so this should be omitted from other local files
|
||||
|
blockManager: { |
||||
|
labels: { |
||||
|
// 'block-id': 'Block Label',
|
||||
|
}, |
||||
|
categories: { |
||||
|
// 'category-id': 'Category Label',
|
||||
|
} |
||||
|
}, |
||||
|
domComponents: { |
||||
|
names: { |
||||
|
'': 'Caja', |
||||
|
wrapper: 'Cuerpo', |
||||
|
text: 'Texto', |
||||
|
comment: 'Comentario', |
||||
|
image: 'Imagen', |
||||
|
video: 'Video', |
||||
|
label: 'Etiqueta', |
||||
|
link: 'Vínculo', |
||||
|
map: 'Mapa', |
||||
|
tfoot: 'Pie de lista', |
||||
|
tbody: 'Cuerpo de lista', |
||||
|
thead: 'Encabezado de lista', |
||||
|
table: 'Lista', |
||||
|
row: 'Fila de lista', |
||||
|
cell: 'Celda de lista' |
||||
|
} |
||||
|
}, |
||||
|
deviceManager: { |
||||
|
device: 'Dispositivos', |
||||
|
devices: { |
||||
|
desktop: 'Escritorio', |
||||
|
tablet: 'Tableta', |
||||
|
mobileLandscape: 'Mobile Landscape', |
||||
|
mobilePortrait: 'Mobile Portrait' |
||||
|
} |
||||
|
}, |
||||
|
panels: { |
||||
|
buttons: { |
||||
|
titles: { |
||||
|
preview: 'Vista previa', |
||||
|
fullscreen: 'Pantalla completa', |
||||
|
'sw-visibility': 'Ver componentes', |
||||
|
'export-template': 'Ver código', |
||||
|
'open-sm': 'Abrir Administrador de estilos', |
||||
|
'open-tm': 'Ajustes', |
||||
|
'open-layers': 'Abrir Aministrador de capas', |
||||
|
'open-blocks': 'Abrir Bloques' |
||||
|
} |
||||
|
} |
||||
|
}, |
||||
|
selectorManager: { |
||||
|
label: 'Clases', |
||||
|
selected: 'Seleccionado', |
||||
|
emptyState: '- Estado -', |
||||
|
states: { |
||||
|
hover: 'Hover', |
||||
|
active: 'Click', |
||||
|
'nth-of-type(2n)': 'Par/Impar' |
||||
|
} |
||||
|
}, |
||||
|
styleManager: { |
||||
|
empty: 'Seleccione un elemento antes de usar el Administrador de estilos', |
||||
|
layer: 'Capa', |
||||
|
fileButton: 'Imágenes', |
||||
|
sectors: { |
||||
|
general: 'General', |
||||
|
layout: 'Diseño', |
||||
|
typography: 'Tipografía', |
||||
|
decorations: 'Decoraciones', |
||||
|
extra: 'Extras', |
||||
|
flex: 'Flex', |
||||
|
dimension: 'Dimensión' |
||||
|
}, |
||||
|
// The core library generates the name by their `property` name
|
||||
|
properties: { |
||||
|
float: 'Float', |
||||
|
display: 'Vista', |
||||
|
position: 'Posición', |
||||
|
top: 'Superior', |
||||
|
right: 'Derecho', |
||||
|
left: 'Izquierdo', |
||||
|
bottom: 'Inferior', |
||||
|
width: 'Ancho', |
||||
|
height: 'Altura', |
||||
|
'max-width': 'Max. ancho', |
||||
|
'max-height': 'Max. altura', |
||||
|
margin: 'Margen', |
||||
|
'margin-top': 'Margen Superior', |
||||
|
'margin-right': 'Margen Derecho', |
||||
|
'margin-left': 'Margen Izquierdo', |
||||
|
'margin-bottom': 'Margen Inferior', |
||||
|
padding: 'Padding', |
||||
|
'padding-top': 'Padding Superior', |
||||
|
'padding-left': 'Padding Sol', |
||||
|
'padding-right': 'Padding Derecho', |
||||
|
'padding-bottom': 'Padding Inferior', |
||||
|
'font-family': 'Tipo de letra', |
||||
|
'font-size': 'Tamaño de fuente', |
||||
|
'font-weight': 'Espesor', |
||||
|
'letter-spacing': 'Espacio de letras', |
||||
|
color: 'Color', |
||||
|
'line-height': 'Interlineado', |
||||
|
'text-align': 'Alineación de texto', |
||||
|
'text-shadow': 'Sombra de texto', |
||||
|
'text-shadow-h': 'Sombra de texto: horizontal', |
||||
|
'text-shadow-v': 'Sombra de texto: vertical', |
||||
|
'text-shadow-blur': 'Desenfoque de sombra de texto', |
||||
|
'text-shadow-color': 'Color de sombra de fuente', |
||||
|
'border-top-left': 'Borde Superior Izquierdo', |
||||
|
'border-top-right': 'Borde Superior Derecho', |
||||
|
'border-bottom-left': 'Borde Inferior Izquierdo', |
||||
|
'border-bottom-right': 'Borde Inferior Derecho', |
||||
|
'border-radius-top-left': 'Borde Redondeado Superior Izquierdo', |
||||
|
'border-radius-top-right': 'Borde Redondeado Superior Derecho', |
||||
|
'border-radius-bottom-left': 'Borde Redondeado Inferior Izquierdo', |
||||
|
'border-radius-bottom-right': 'Borde Redondeado Inferior Derecho', |
||||
|
'border-radius': 'Borde Redondeado', |
||||
|
border: 'Bordes', |
||||
|
'border-width': 'Grosor del Borde', |
||||
|
'border-style': 'Estilo del Borde', |
||||
|
'border-color': 'Color de Borde', |
||||
|
'box-shadow': 'Sombra de caja', |
||||
|
'box-shadow-h': 'Sombra de caja: horizontal', |
||||
|
'box-shadow-v': 'Sombra de caja: vertical', |
||||
|
'box-shadow-blur': 'Desenfoque de sombra de caja', |
||||
|
'box-shadow-spread': 'Extensión de sombra de caja', |
||||
|
'box-shadow-color': 'Color de sombra de caja', |
||||
|
'box-shadow-type': 'Tipo de sombra de caja', |
||||
|
background: 'Fondo', |
||||
|
'background-image': 'Imagen de Fondo', |
||||
|
'background-repeat': 'Repetir fondo', |
||||
|
'background-position': 'Posición de fondo', |
||||
|
'background-attachment': 'Plugin de fondo', |
||||
|
'background-size': 'Tamaño de fondo', |
||||
|
transition: 'Transición', |
||||
|
'transition-property': 'Tipo de transición', |
||||
|
'transition-duration': 'Tiempo de transición', |
||||
|
'transition-timing-function': 'Función de tiempo de la transición', |
||||
|
perspective: 'Perspectiva', |
||||
|
transform: 'Transformación', |
||||
|
'transform-rotate-x': 'Rotar horizontalmente', |
||||
|
'transform-rotate-y': 'Rotar verticalmente', |
||||
|
'transform-rotate-z': 'Rotar profundidad', |
||||
|
'transform-scale-x': 'Escalar horizontalmente', |
||||
|
'transform-scale-y': 'Escalar verticalmente', |
||||
|
'transform-scale-z': 'Escalar profundidad', |
||||
|
'flex-direction': 'Dirección Flex', |
||||
|
'flex-wrap': 'Flex wrap', |
||||
|
'justify-content': 'Ajustar contenido', |
||||
|
'align-items': 'Alinear elementos', |
||||
|
'align-content': 'Alinear contenido', |
||||
|
order: 'Orden', |
||||
|
'flex-basis': 'Base Flex', |
||||
|
'flex-grow': 'Crecimiento Flex', |
||||
|
'flex-shrink': 'Contracción Flex', |
||||
|
'align-self': 'Alinearse', |
||||
|
'background-color': 'Color de fondo' |
||||
|
} |
||||
|
}, |
||||
|
traitManager: { |
||||
|
empty: 'Seleccione un elemento antes de usar el Administrador de rasgos', |
||||
|
label: 'Ajustes de componentes', |
||||
|
traits: { |
||||
|
// The core library generates the name by their `name` property
|
||||
|
labels: { |
||||
|
id: 'Identificador', |
||||
|
alt: 'Título alterno', |
||||
|
title: 'Título', |
||||
|
href: 'Vínculo' |
||||
|
}, |
||||
|
// In a simple trait, like text input, these are used on input attributes
|
||||
|
attributes: { |
||||
|
id: traitInputAttr, |
||||
|
alt: traitInputAttr, |
||||
|
title: traitInputAttr, |
||||
|
href: { placeholder: 'ej. https://google.com' } |
||||
|
}, |
||||
|
// In a trait like select, these are used to translate option names
|
||||
|
options: { |
||||
|
target: { |
||||
|
false: 'Esta ventana', |
||||
|
_blank: 'Nueva ventana' |
||||
|
} |
||||
|
} |
||||
|
} |
||||
|
} |
||||
|
}; |
||||
@ -0,0 +1,198 @@ |
|||||
|
const traitInputAttr = { placeholder: 'ex. Votre texte ici' }; |
||||
|
|
||||
|
export default { |
||||
|
assetManager: { |
||||
|
addButton: 'Ajouter image', |
||||
|
inputPlh: 'http://chemin/vers/image.jpg', |
||||
|
modalTitle: 'Sélectionner une image', |
||||
|
uploadTitle: 'Déposez des fichiers ici ou cliquez pour envoyer des fichiers' |
||||
|
}, |
||||
|
blockManager: { |
||||
|
labels: { |
||||
|
// 'block-id': 'Identifiant du bloc',
|
||||
|
}, |
||||
|
categories: { |
||||
|
// 'category-id': 'Identifiant de la catégorie',
|
||||
|
} |
||||
|
}, |
||||
|
domComponents: { |
||||
|
names: { |
||||
|
'': 'Boîte', |
||||
|
wrapper: 'Corps', |
||||
|
text: 'Texte', |
||||
|
comment: 'Commentaire', |
||||
|
image: 'Image', |
||||
|
video: 'Vidéo', |
||||
|
label: 'Libellé', |
||||
|
link: 'Lien', |
||||
|
map: 'Carte', |
||||
|
tfoot: 'Pied de tableau', |
||||
|
tbody: 'Corps de tableau', |
||||
|
thead: 'En-tête de tableau', |
||||
|
table: 'Tableau', |
||||
|
row: 'Ligne tableau', |
||||
|
cell: 'Cellule tableau' |
||||
|
} |
||||
|
}, |
||||
|
deviceManager: { |
||||
|
device: 'Appareil', |
||||
|
devices: { |
||||
|
desktop: 'Ordinateur de bureau', |
||||
|
tablet: 'Tablette', |
||||
|
mobileLandscape: 'Mobile format paysage', |
||||
|
mobilePortrait: 'Mobile format portrait' |
||||
|
} |
||||
|
}, |
||||
|
panels: { |
||||
|
buttons: { |
||||
|
titles: { |
||||
|
preview: 'Prévisualisation', |
||||
|
fullscreen: 'Plein écran', |
||||
|
'sw-visibility': 'Voir les composants', |
||||
|
'export-template': 'Voir le code', |
||||
|
'open-sm': 'Ouvrir le gestionnaire de style', |
||||
|
'open-tm': 'Paramètres', |
||||
|
'open-layers': 'Ouvrir le gestionnaire de calques', |
||||
|
'open-blocks': 'Ouvrir le gestionnaire de blocs' |
||||
|
} |
||||
|
} |
||||
|
}, |
||||
|
selectorManager: { |
||||
|
label: 'Classes', |
||||
|
selected: 'Sélectionné', |
||||
|
emptyState: '- État -', |
||||
|
states: { |
||||
|
hover: 'Survol', |
||||
|
active: 'Clic', |
||||
|
'nth-of-type(2n)': 'Paire/Impaire' |
||||
|
} |
||||
|
}, |
||||
|
styleManager: { |
||||
|
empty: |
||||
|
"Veuillez sélectionner un élément avant d'utiliser le gestionnaire de style", |
||||
|
layer: 'Calque', |
||||
|
fileButton: 'Images', |
||||
|
sectors: { |
||||
|
general: 'Général', |
||||
|
layout: 'Disposition', |
||||
|
typography: 'Typographie', |
||||
|
decorations: 'Décorations', |
||||
|
extra: 'Extra', |
||||
|
flex: 'Flex', |
||||
|
dimension: 'Dimension' |
||||
|
}, |
||||
|
// The core library generates the name by their `property` name
|
||||
|
properties: { |
||||
|
float: 'Flottant', |
||||
|
display: 'Affichage', |
||||
|
position: 'Position', |
||||
|
top: 'Supérieur', |
||||
|
right: 'Droite', |
||||
|
left: 'Gauche', |
||||
|
bottom: 'Inférieur', |
||||
|
width: 'Largeur', |
||||
|
height: 'Hauteur', |
||||
|
'max-width': 'Largeur max.', |
||||
|
'max-height': 'Hauteur max.', |
||||
|
margin: 'Marge', |
||||
|
'margin-top': 'Marge supérieure', |
||||
|
'margin-right': 'Marge droite', |
||||
|
'margin-left': 'Marge gauche', |
||||
|
'margin-bottom': 'Marge inférieure', |
||||
|
padding: 'Padding', |
||||
|
'padding-top': 'Padding supérieur', |
||||
|
'padding-left': 'Padding gauche', |
||||
|
'padding-right': 'Padding droite', |
||||
|
'padding-bottom': 'Padding inférieur', |
||||
|
'font-family': 'Police de caractères', |
||||
|
'font-size': 'Taille de police', |
||||
|
'font-weight': 'Épaisseur de police', |
||||
|
'letter-spacing': 'Espacement entre les lettres', |
||||
|
color: 'Couleur', |
||||
|
'line-height': 'Espacement des lignes', |
||||
|
'text-align': 'Alignement de texte', |
||||
|
'text-shadow': 'Ombre de texte', |
||||
|
'text-shadow-h': 'Ombre de texte: horizontale', |
||||
|
'text-shadow-v': 'Ombre de texte: verticale', |
||||
|
'text-shadow-blur': 'Flou ombre de texte', |
||||
|
'text-shadow-color': 'Couleur ombre de texte', |
||||
|
'border-top-left': 'Bord supérieur gauche', |
||||
|
'border-top-right': 'Bord supérieur droit', |
||||
|
'border-bottom-left': 'Bord inférieur gauche', |
||||
|
'border-bottom-right': 'Bord inférieur droit', |
||||
|
'border-radius-top-left': 'Bord supérieur arrondi gauche', |
||||
|
'border-radius-top-right': 'Bord supérieur arrondi droit', |
||||
|
'border-radius-bottom-left': 'Bord arrondi inférieur gauche', |
||||
|
'border-radius-bottom-right': 'Bord arrondi inférieur droit', |
||||
|
'border-radius': 'Bord arrondi', |
||||
|
border: 'Bordure', |
||||
|
'border-width': 'Largeur de bordure', |
||||
|
'border-style': 'Style de bordure', |
||||
|
'border-color': 'Couleur de bordure', |
||||
|
'box-shadow': 'Ombre de boîte', |
||||
|
'box-shadow-h': 'Ombre de boîte: horizontale', |
||||
|
'box-shadow-v': 'Ombre de boîte: verticale', |
||||
|
'box-shadow-blur': 'Flou ombre de boîte', |
||||
|
'box-shadow-spread': "Extension d'ombre de boîte", |
||||
|
'box-shadow-color': "Couleur d'ombre de boîte", |
||||
|
'box-shadow-type': "Type d'ombre de boîte", |
||||
|
background: 'Fond', |
||||
|
'background-image': 'Image de fond', |
||||
|
'background-repeat': 'Répéter fond', |
||||
|
'background-position': 'Position du fond', |
||||
|
'background-attachment': 'Plugin de fond', |
||||
|
'background-size': 'Taille du fond', |
||||
|
'background-color': 'Couleur de fond', |
||||
|
transition: 'Transition', |
||||
|
'transition-property': 'Type de transition', |
||||
|
'transition-duration': 'Durée de la transition', |
||||
|
'transition-timing-function': 'Timing transition', |
||||
|
perspective: 'Perspective', |
||||
|
transform: 'Transformation', |
||||
|
'transform-rotate-x': 'Rotation horizontale', |
||||
|
'transform-rotate-y': 'Rotation verticale', |
||||
|
'transform-rotate-z': 'Rotation profondeur', |
||||
|
'transform-scale-x': 'Échelle horizontale', |
||||
|
'transform-scale-y': 'Échelle verticale', |
||||
|
'transform-scale-z': 'Échelle profondeur', |
||||
|
'flex-direction': 'Direction Flex', |
||||
|
'flex-wrap': 'Flex wrap', |
||||
|
'justify-content': 'Ajuster contenu', |
||||
|
'align-items': 'Aligner éléments', |
||||
|
'align-content': 'Aligner contenu', |
||||
|
order: 'Ordre', |
||||
|
'flex-basis': 'Base Flex', |
||||
|
'flex-grow': 'Flex grow', |
||||
|
'flex-shrink': 'Flex shrink', |
||||
|
'align-self': 'Aligner' |
||||
|
} |
||||
|
}, |
||||
|
traitManager: { |
||||
|
empty: |
||||
|
'Veuillez sélectionner un élément pour modifier les paramètres de cet élément', |
||||
|
label: 'Paramètres composant', |
||||
|
traits: { |
||||
|
// The core library generates the name by their `name` property
|
||||
|
labels: { |
||||
|
id: 'Identifiant', |
||||
|
alt: 'Texte alternatif', |
||||
|
title: 'Titre', |
||||
|
href: 'Source lien' |
||||
|
}, |
||||
|
// In a simple trait, like text input, these are used on input attributes
|
||||
|
attributes: { |
||||
|
id: traitInputAttr, |
||||
|
alt: traitInputAttr, |
||||
|
title: traitInputAttr, |
||||
|
href: { placeholder: 'eg. https://google.com' } |
||||
|
}, |
||||
|
// In a trait like select, these are used to translate option names
|
||||
|
options: { |
||||
|
target: { |
||||
|
false: 'Cette fenêtre', |
||||
|
_blank: 'Nouvelle fenêtre' |
||||
|
} |
||||
|
} |
||||
|
} |
||||
|
} |
||||
|
}; |
||||
Binary file not shown.
Binary file not shown.
|
Before Width: | Height: | Size: 434 KiB |
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading…
Reference in new issue