0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-03-28 15:41:25 -05:00

📎 Enable _blank target on all markdown links.

This commit is contained in:
Andrey Antukh 2021-11-11 11:31:27 +01:00
parent 1fffc1e828
commit 3c39661174
4 changed files with 104 additions and 87 deletions

View file

@ -25,6 +25,18 @@ paths.resources = "./resources/";
paths.output = "./resources/public/";
paths.dist = "./target/dist/";
/***********************************************
* Marked Extensions
***********************************************/
const renderer = {
link(href, title, text) {
const escapedText = l.escape(text);
return `<a href="${href}" target="_blank">${escapedText}</a>`;
}
};
marked.use({renderer});
/***********************************************
* Helpers

View file

@ -196,6 +196,9 @@ msgstr "Can view"
msgid "common.share-link.permissions-hint"
msgstr "Anyone with link will have access"
msgid "common.share-link.placeholder"
msgstr "Shareable link will appear here"
msgid "common.share-link.remove-link"
msgstr "Remove link"
@ -250,11 +253,13 @@ msgstr "Duplicate %s files"
msgid "dashboard.empty-files"
msgstr "You still have no files here"
#: src/app/main/ui/dashboard/grid.cljs
#, markdown
msgid "dashboard.empty-placeholder-drafts"
msgstr "There are no files here yet. If you want to try some templates you can go to the [Libraries & templates section](https://penpot.app/libraries-templates.html)"
msgstr ""
"There are no files here yet. If you want to try some templates you can go "
"to the [Libraries & templates "
"section](https://penpot.app/libraries-templates.html)"
msgid "dashboard.export-frames"
msgstr "Export artboards to PDF..."
@ -1110,6 +1115,9 @@ msgstr "Name"
msgid "labels.new-password"
msgstr "New password"
msgid "labels.next"
msgstr "Next"
#: src/app/main/ui/workspace/comments.cljs, src/app/main/ui/dashboard/comments.cljs
msgid "labels.no-comments-available"
msgstr "You have no pending comment notifications"
@ -1539,12 +1547,19 @@ msgstr "Profile saved successfully!"
msgid "notifications.validation-email-sent"
msgstr "Verification email sent to %s. Check your email!"
msgid "onboarding.choice.fly-solo"
msgstr "Fly solo"
msgid "onboarding.templates.title"
msgstr "Start designing"
msgid "onboarding.choice.fly-solo-desc"
msgstr "Jump away into Penpot and start designing by your own."
msgid "onboarding.templates.subtitle"
msgstr "Here are some templates."
msgid "onboarding.choice.team-up"
msgstr "Team up"
msgid "onboarding.choice.team-up-desc"
msgstr ""
"Are you working with someone? Create a team and invite people to work "
"together on projects and share design assets."
msgid "onboarding.contrib.alt"
msgstr "Open Source"
@ -1619,26 +1634,17 @@ msgstr ""
msgid "onboarding.slide.3.title"
msgstr "One shared source of truth"
msgid "onboarding.choice.fly-solo"
msgstr "Fly solo"
msgid "onboarding.choice.fly-solo-desc"
msgstr "Jump away into Penpot and start designing by your own."
msgid "onboarding.choice.team-up"
msgstr "Team up"
msgid "onboarding.team-input-placeholder"
msgstr "Enter new team name"
msgid "onboarding.team.skip-and-invite-later"
msgstr "Skip and invite later"
msgid "onboarding.choice.team-up-desc"
msgstr "Are you working with someone? Create a team and invite people to work together on projects and share design assets."
msgid "onboarding.templates.subtitle"
msgstr "Here are some templates."
msgid "labels.next"
msgstr "Next"
msgid "onboarding.team-input-placeholder"
msgstr "Enter new team name"
msgid "onboarding.templates.title"
msgstr "Start designing"
msgid "onboarding.welcome.alt"
msgstr "Penpot"
@ -2277,6 +2283,9 @@ msgstr "Auto"
msgid "workspace.options.grid.column"
msgstr "Columns"
msgid "workspace.options.grid.params.color"
msgstr "Color"
#: src/app/main/ui/workspace/sidebar/options/menus/frame_grid.cljs
msgid "workspace.options.grid.params.columns"
msgstr "Columns"
@ -2361,6 +2370,9 @@ msgstr "Group fill"
msgid "workspace.options.group-stroke"
msgstr "Group stroke"
msgid "workspace.options.height"
msgstr "Height"
#: src/app/main/ui/workspace/sidebar/options/menus/interactions.cljs
msgid "workspace.options.interaction-action"
msgstr "Action"
@ -2585,6 +2597,9 @@ msgstr "Group layers"
msgid "workspace.options.layer-options.title.multiple"
msgstr "Selected layers"
msgid "workspace.options.opacity"
msgstr "Opacity"
#: src/app/main/ui/workspace/sidebar/options/shapes/frame.cljs, src/app/main/ui/workspace/sidebar/options/menus/measures.cljs
msgid "workspace.options.position"
msgstr "Position"
@ -2631,6 +2646,9 @@ msgstr "Selection stroke"
msgid "workspace.options.shadow-options.blur"
msgstr "Blur"
msgid "workspace.options.shadow-options.color"
msgstr "Shadow color"
#: src/app/main/ui/workspace/sidebar/options/menus/shadow.cljs
msgid "workspace.options.shadow-options.drop-shadow"
msgstr "Drop shadow"
@ -2707,6 +2725,12 @@ msgstr "Square marker"
msgid "workspace.options.stroke-cap.triangle-arrow"
msgstr "Triangle arrow"
msgid "workspace.options.stroke-color"
msgstr "Stroke color"
msgid "workspace.options.stroke-width"
msgstr "Stroke width"
#: src/app/main/ui/workspace/sidebar/options/menus/stroke.cljs
msgid "workspace.options.stroke.center"
msgstr "Center"
@ -2848,6 +2872,15 @@ msgstr "Vertical align"
msgid "workspace.options.use-play-button"
msgstr "Use the play button at the header to run the prototype view."
msgid "workspace.options.width"
msgstr "Width"
msgid "workspace.options.x"
msgstr "X"
msgid "workspace.options.y"
msgstr "Y"
msgid "workspace.path.actions.add-node"
msgstr "Add node (%s)"
@ -3203,34 +3236,4 @@ msgid "workspace.updates.update"
msgstr "Update"
msgid "workspace.viewport.click-to-close-path"
msgstr "Click to close the path"
msgid "workspace.options.grid.params.color"
msgstr "Color"
msgid "workspace.options.height"
msgstr "Height"
msgid "workspace.options.opacity"
msgstr "Opacity"
msgid "workspace.options.shadow-options.color"
msgstr "Shadow color"
msgid "workspace.options.stroke-color"
msgstr "Stroke color"
msgid "workspace.options.stroke-width"
msgstr "Stroke width"
msgid "workspace.options.width"
msgstr "Width"
msgid "workspace.options.x"
msgstr "X"
msgid "workspace.options.y"
msgstr "Y"
msgid "common.share-link.placeholder"
msgstr "Shareable link will appear here"
msgstr "Click to close the path"

View file

@ -200,6 +200,9 @@ msgstr "Puede ver"
msgid "common.share-link.permissions-hint"
msgstr "Cualquiera con el enlace puede acceder"
msgid "common.share-link.placeholder"
msgstr "El enlace para compartir aparecerá aquí"
msgid "common.share-link.remove-link"
msgstr "Eliminar enlace"
@ -318,9 +321,10 @@ msgid "dashboard.fonts.hero-text2"
msgstr ""
"Sólo deberías cargar fuentes que te pertenecen o de las que tienes una "
"licencia que te permita usarlas en Penpot. Encuentra más información en la "
"sección de Derechos de Contenido: [Penpot's Terms of Service](1). También "
"te puede interesar leer más sobre licencias tipográficas: [font "
"licensing](2)."
"sección de Derechos de Contenido: [Penpot's Terms of "
"Service](https://penpot.app/terms.html). También te puede interesar leer "
"más sobre licencias tipográficas: [font "
"licensing](https://www.typography.com/faq)."
msgid "dashboard.import"
msgstr "Importar archivos"
@ -2272,6 +2276,9 @@ msgstr "Automático"
msgid "workspace.options.grid.column"
msgstr "Columnas"
msgid "workspace.options.grid.params.color"
msgstr "Color"
#: src/app/main/ui/workspace/sidebar/options/menus/frame_grid.cljs
msgid "workspace.options.grid.params.columns"
msgstr "Columnas"
@ -2356,6 +2363,9 @@ msgstr "Relleno de grupo"
msgid "workspace.options.group-stroke"
msgstr "Borde de grupo"
msgid "workspace.options.height"
msgstr "Altura"
#: src/app/main/ui/workspace/sidebar/options/menus/interactions.cljs
msgid "workspace.options.interaction-action"
msgstr "Acción"
@ -2580,6 +2590,9 @@ msgstr "Capas de grupo"
msgid "workspace.options.layer-options.title.multiple"
msgstr "Capas seleccionadas"
msgid "workspace.options.opacity"
msgstr "Opacidad"
#: src/app/main/ui/workspace/sidebar/options/shapes/frame.cljs, src/app/main/ui/workspace/sidebar/options/menus/measures.cljs
msgid "workspace.options.position"
msgstr "Posición"
@ -2628,6 +2641,9 @@ msgstr "Borde de selección"
msgid "workspace.options.shadow-options.blur"
msgstr "Desenfoque"
msgid "workspace.options.shadow-options.color"
msgstr "Color de sombra"
#: src/app/main/ui/workspace/sidebar/options/menus/shadow.cljs
msgid "workspace.options.shadow-options.drop-shadow"
msgstr "Sombra arrojada"
@ -2704,6 +2720,12 @@ msgstr "Marcador cuadrado"
msgid "workspace.options.stroke-cap.triangle-arrow"
msgstr "Flecha triángulo"
msgid "workspace.options.stroke-color"
msgstr "Color del trazo"
msgid "workspace.options.stroke-width"
msgstr "Ancho del trazo"
#: src/app/main/ui/workspace/sidebar/options/menus/stroke.cljs
msgid "workspace.options.stroke.center"
msgstr "Centro"
@ -2845,6 +2867,15 @@ msgstr "Alineación vertical"
msgid "workspace.options.use-play-button"
msgstr "Usa el botón de play de la cabecera para arrancar la vista de prototipo."
msgid "workspace.options.width"
msgstr "Ancho"
msgid "workspace.options.x"
msgstr "X"
msgid "workspace.options.y"
msgstr "Y"
msgid "workspace.path.actions.add-node"
msgstr "Añadir nodo (%s)"
@ -3200,34 +3231,4 @@ msgid "workspace.updates.update"
msgstr "Actualizar"
msgid "workspace.viewport.click-to-close-path"
msgstr "Pulsar para cerrar la ruta"
msgid "workspace.options.grid.params.color"
msgstr "Color"
msgid "workspace.options.height"
msgstr "Altura"
msgid "workspace.options.opacity"
msgstr "Opacidad"
msgid "workspace.options.shadow-options.color"
msgstr "Color de sombra"
msgid "workspace.options.stroke-color"
msgstr "Color del trazo"
msgid "workspace.options.stroke-width"
msgstr "Ancho del trazo"
msgid "workspace.options.width"
msgstr "Ancho"
msgid "workspace.options.x"
msgstr "X"
msgid "workspace.options.y"
msgstr "Y"
msgid "common.share-link.placeholder"
msgstr "El enlace para compartir aparecerá aquí"
msgstr "Pulsar para cerrar la ruta"

View file

@ -221,7 +221,8 @@ msgstr ""
"Ar trebui să urcați doar fonturi la care aveți drept de folosință sau "
"fonturi personale. Află mai multe despre Dreptul de conținut la secțiunea "
"[Termenii și Condițiile Penpot](https://penpot.app/terms.html). De "
"asemenea, vă recomandăm să citiți și despre [licențierea fonturilor](2)."
"asemenea, vă recomandăm să citiți și despre [licențierea "
"fonturilor](https://www.typography.com/faq)."
#: src/app/main/ui/dashboard/team.cljs
msgid "dashboard.invite-profile"