diff --git a/.i18nrc.json b/.i18nrc.json
index 01065201b9d64..134f2afde6f8f 100644
--- a/.i18nrc.json
+++ b/.i18nrc.json
@@ -6,6 +6,7 @@
"dashboardEmbeddableContainer": "src/plugins/dashboard_embeddable_container",
"data": ["src/legacy/core_plugins/data", "src/plugins/data"],
"embeddableApi": "src/plugins/embeddable",
+ "share": "src/plugins/share",
"esUi": "src/plugins/es_ui_shared",
"expressions_np": "src/plugins/expressions",
"expressions": "src/legacy/core_plugins/expressions",
diff --git a/src/plugins/share/public/components/__snapshots__/url_panel_content.test.tsx.snap b/src/plugins/share/public/components/__snapshots__/url_panel_content.test.tsx.snap
index 980779a02e69c..a8ba5f8edf98d 100644
--- a/src/plugins/share/public/components/__snapshots__/url_panel_content.test.tsx.snap
+++ b/src/plugins/share/public/components/__snapshots__/url_panel_content.test.tsx.snap
@@ -15,7 +15,7 @@ exports[`render 1`] = `
helpText={
}
@@ -47,7 +47,7 @@ exports[`render 1`] = `
@@ -58,7 +58,7 @@ exports[`render 1`] = `
content={
@@ -93,7 +93,7 @@ exports[`render 1`] = `
content={
}
@@ -144,7 +144,7 @@ exports[`render 1`] = `
content={
}
@@ -182,7 +182,7 @@ exports[`should enable saved object export option when objectId is provided 1`]
label={
}
@@ -203,7 +203,7 @@ exports[`should enable saved object export option when objectId is provided 1`]
@@ -214,7 +214,7 @@ exports[`should enable saved object export option when objectId is provided 1`]
content={
@@ -249,7 +249,7 @@ exports[`should enable saved object export option when objectId is provided 1`]
content={
}
@@ -300,7 +300,7 @@ exports[`should enable saved object export option when objectId is provided 1`]
content={
}
@@ -338,7 +338,7 @@ exports[`should hide short url section when allowShortUrl is false 1`] = `
label={
}
@@ -359,7 +359,7 @@ exports[`should hide short url section when allowShortUrl is false 1`] = `
@@ -370,7 +370,7 @@ exports[`should hide short url section when allowShortUrl is false 1`] = `
content={
@@ -405,7 +405,7 @@ exports[`should hide short url section when allowShortUrl is false 1`] = `
content={
{
const permalinkPanel = {
id: panels.length + 1,
- title: i18n.translate('common.ui.share.contextMenu.permalinkPanelTitle', {
+ title: i18n.translate('share.contextMenu.permalinkPanelTitle', {
defaultMessage: 'Permalink',
}),
content: (
@@ -77,7 +77,7 @@ export class ShareContextMenu extends Component {
),
};
menuItems.push({
- name: i18n.translate('common.ui.share.contextMenu.permalinksLabel', {
+ name: i18n.translate('share.contextMenu.permalinksLabel', {
defaultMessage: 'Permalinks',
}),
icon: 'link',
@@ -89,7 +89,7 @@ export class ShareContextMenu extends Component {
if (this.props.allowEmbed) {
const embedPanel = {
id: panels.length + 1,
- title: i18n.translate('common.ui.share.contextMenu.embedCodePanelTitle', {
+ title: i18n.translate('share.contextMenu.embedCodePanelTitle', {
defaultMessage: 'Embed Code',
}),
content: (
@@ -106,7 +106,7 @@ export class ShareContextMenu extends Component {
};
panels.push(embedPanel);
menuItems.push({
- name: i18n.translate('common.ui.share.contextMenu.embedCodeLabel', {
+ name: i18n.translate('share.contextMenu.embedCodeLabel', {
defaultMessage: 'Embed code',
}),
icon: 'console',
@@ -130,7 +130,7 @@ export class ShareContextMenu extends Component {
if (menuItems.length > 1) {
const topLevelMenuPanel = {
id: panels.length + 1,
- title: i18n.translate('common.ui.share.contextMenuTitle', {
+ title: i18n.translate('share.contextMenuTitle', {
defaultMessage: 'Share this {objectType}',
values: {
objectType: this.props.objectType,
diff --git a/src/plugins/share/public/components/url_panel_content.tsx b/src/plugins/share/public/components/url_panel_content.tsx
index 30a62bbeeebcd..c5ce12ed3c02e 100644
--- a/src/plugins/share/public/components/url_panel_content.tsx
+++ b/src/plugins/share/public/components/url_panel_content.tsx
@@ -119,12 +119,12 @@ export class UrlPanelContent extends Component {
>
{this.props.isEmbedded ? (
) : (
)}
@@ -288,12 +288,9 @@ export class UrlPanelContent extends Component {
{
id: ExportUrlAsType.EXPORT_URL_AS_SNAPSHOT,
label: this.renderWithIconTip(
+ ,
,
- {
id: ExportUrlAsType.EXPORT_URL_AS_SAVED_OBJECT,
disabled: this.isNotSaved(),
label: this.renderWithIconTip(
+ ,
,
-
@@ -334,7 +328,7 @@ export class UrlPanelContent extends Component {
private renderExportAsRadioGroup = () => {
const generateLinkAsHelp = this.isNotSaved() ? (
@@ -345,7 +339,7 @@ export class UrlPanelContent extends Component {
}
@@ -368,7 +362,7 @@ export class UrlPanelContent extends Component {
return;
}
const shortUrlLabel = (
-
+
);
const switchLabel = this.state.isCreatingShortUrl ? (
@@ -387,7 +381,7 @@ export class UrlPanelContent extends Component {
);
const tipContent = (