Skip to content

Commit beab33c

Browse files
committed
feat: restyle popup link in Block Editor (#869ak4k6x)
1 parent 5f50da4 commit beab33c

3 files changed

Lines changed: 6 additions & 7 deletions

File tree

app/default-files/default-languages/en-gb/translations.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -376,14 +376,14 @@
376376
"addDownloadAttr": "Add \"download\" attribute",
377377
"addLink": "Add link",
378378
"addNofollow": "Add rel=\"nofollow\"",
379-
"downloadAttribute": "Attribute 'download':",
379+
"downloadAttribute": "Link \"download\" attribute",
380380
"insertEditLink": "Insert/Edit link",
381381
"linkInvalidMsg": "Sorry! This link seems to be invalid.",
382382
"linkRelAttribute": "Link \"rel\" attribute",
383383
"linkTitleAttribute": "Link \"title\" attribute",
384384
"linkClassAttribute": "CSS class",
385385
"linkTarget": "Link target",
386-
"openInNewTab": "Open in new tab",
386+
"openInNewWindow": "Open in new window",
387387
"previewLinkInBrowser": "Preview this link in browser",
388388
"previewOnlyExternalLinksMsg": "You can only preview external links in the post editor",
389389
"removeLink": "Remove link",

app/default-files/default-languages/pl/translations.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -381,8 +381,8 @@
381381
"linkRelAttribute": "Atrybut \"rel\" linka",
382382
"linkTitleAttribute": "Atrybut \"title\" linka",
383383
"linkClassAttribute": "Klasa CSS",
384-
"linkTarget": "Target linka",
385-
"openInNewTab": "Otwórz w nowej zakładce",
384+
"linkTarget": "Otwórz w",
385+
"openInNewWindow": "Otwórz w nowym oknie",
386386
"previewLinkInBrowser": "Wyświetl podgląd tego linku w przeglądarce",
387387
"previewOnlyExternalLinksMsg": "W edytorze wpisów możesz wyświetlić podgląd tylko linków zewnętrznych",
388388
"removeLink": "Usuń link",

app/src/components/block-editor/components/BlockLinkPopup.vue

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -122,10 +122,9 @@
122122
</field>
123123

124124
<field
125-
:label="$t('link.linkTarget')">
125+
:label="$t('link.openInNewWindow')">
126126
<switcher
127-
slot="field"
128-
:label="$t('link.openInNewTab')"
127+
slot="field"
129128
v-model="link.targetBlank" />
130129
</field>
131130

0 commit comments

Comments
 (0)