Skip to content
This repository has been archived by the owner on Jul 24, 2024. It is now read-only.

Commit

Permalink
Merge pull request #5844 from elvisisking/432
Browse files Browse the repository at this point in the history
Fix toast notification for uploading extension shows ID
  • Loading branch information
zregvart authored Jun 20, 2019
2 parents 0c03868 + 073ec1f commit 817b645
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
"extensionImportPageTitle": "$t(extension.ImportExtension)",
"extensionsPageDescription": "<p>Extensions provide custom features for use in integrations. Find out more at <a href=$t(shared:links.userguide) target=\"_blank\">$t(shared:project.name) Help</a>.</p>",
"extensionsPageTitle": "$t(shared:Extensions)",
"extensionUploadSuccessMessage": "\"{{extensionName}}\" was successfully uploaded",
"idMessage": "(ID: {{id}})",
"importDndInstructions": "Drag and drop <strong>one</strong> file here, or <strong>click</strong> to select the file by using a file chooser dialog.",
"ImportExtension": "$t(shared:Import) $t(shared:Extension)",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
"extensionImportPageTitle": "$t(extension.ImportExtension)",
"extensionsPageDescription": "<p>Le estensioni forniscono funzionalità personalizzate da utilizzare nelle integrazioni. Scopri di più su <a href=$t(shared:links.userguide) target=\"_blank\">$t(shared:project.name) Aiuto</a></p>.",
"extensionsPageTitle": "$t(shared:Extensions)",
"extensionUploadSuccessMessage": "\"{{extensionName}}\" è stato caricato con successo",
"idMessage": "(ID: {{id}})",
"importDndInstructions": "Trascina qui <strong>uno</strong> file o <strong>fai clic </strong> per selezionare un file utilizzando una finestra di dialogo di selezione file.",
"ImportExtension": "$t(shared:Extension) di $t(shared:Import)",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,9 @@ export default class ExtensionImportPage extends React.Component<
: await uploadExtension(files[0]);

pushNotification(
`${uploaded.id} was uploaded`,
i18n.t('extensions:extension.extensionUploadSuccessMessage', {
extensionName: uploaded.name,
}),
'success'
);

Expand Down

0 comments on commit 817b645

Please sign in to comment.