Skip to content
This repository has been archived by the owner on Feb 16, 2023. It is now read-only.

Commit

Permalink
Merge pull request #237 from krassowski/patch-1
Browse files Browse the repository at this point in the history
Add missing translations to help extension
  • Loading branch information
jtpio committed Sep 27, 2021
2 parents c2daaae + 68c3d8a commit 7d2a18d
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions packages/help-extension/src/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,7 @@ const plugin: JupyterFrontEndPlugin<void> = {
);

const retroNotebookURL = 'https://github.com/jupyterlab/retrolab';
const linkLabel = trans.__('RETROLAB ON GITHUB');
const externalLinks = (
<span>
<a
Expand All @@ -133,13 +134,14 @@ const plugin: JupyterFrontEndPlugin<void> = {
rel="noopener noreferrer"
className="jp-Button-flat jp-AboutRetro-about-externalLinks"
>
RETROLAB ON GITHUB
{linkLabel}
</a>
</span>
);
const version = trans.__('Version: %1', app.version);
const body = (
<>
<span className="jp-AboutRetro-body">Version: {app.version}</span>
<span className="jp-AboutRetro-body">{version}</span>
<div>{externalLinks}</div>
</>
);
Expand All @@ -149,7 +151,7 @@ const plugin: JupyterFrontEndPlugin<void> = {
body,
buttons: [
Dialog.createButton({
label: 'Dismiss',
label: trans.__('Dismiss'),
className:
'jp-AboutRetro-about-button jp-mod-reject jp-mod-styled'
})
Expand Down

0 comments on commit 7d2a18d

Please sign in to comment.