Skip to content

Commit

Permalink
Display extension version number
Browse files Browse the repository at this point in the history
  • Loading branch information
glassjoseph committed Jul 25, 2022
1 parent ebadbc8 commit 7bb99c5
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/resources/module/langs/translation-en.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,10 @@
"snac-extension/upload-to-snac": "Upload to SNAC",
"snac-schema/copy-reference": "copy",
"snac-schema/dialog-explanation": "The SNAC schema below specifies how your tabular data will be transformed into SNAC Resources or CPFs. You can drag and drop the column names below in most input boxes: for each row, entries will be created or updated with the values in these columns. Unmapped fields will be ignored.",
"snac-schema/dialog-explanation2": "<p>Note: External Related CPF URLs are limited to those found in <a href=\"https://tinyurl.com/2s3wjftd \" target=\"_blank\">this list</a> The URL should be based on the Formatter template in the linked document.</p>",
"snac-schema/dialog-explanation2": "<p>Note: External Related CPF URLs are limited to those found in <a href=\"https://tinyurl.com/2s3wjftd \" target=\"_blank\">this list</a>. The URL should be based on the Formatter template in the linked document.</p>",
"snac-schema/discard-button": "Discard changes",
"snac-schema/discard-schema-changes-alt": "Discard the changes made to the schema.",
"snac-schema/extension-version": "Extension version: v1.0.0-beta-18.",
"snac-schema/items-preview-tab-header": "Preview",
"snac-schema/incomplete-schema-could-not-be-saved": "Your schema is incomplete so it cannot be saved yet.",
"snac-schema/invalid-schema-warning-issues": "Your schema is incomplete. Fix it to see the issues.",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
<div bind="schemaHeader">
<p class="body-text" bind="dialogExplanation"></p>
<p class="body-text" bind="dialogExplanation2"></p>
<p class="body-text" bind="extensionVersion" style="font-style: italic;"></p>
<div class="schema-alignment-dialog-columns-area" bind="columnsArea">
</div>
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -232,6 +232,7 @@ SNACSchemaAlignmentDialog.setUpTabs = function() {
var schemaElmts = this._schemaElmts = DOM.bind(schemaTab);
schemaElmts.dialogExplanation.text($.i18n('snac-schema/dialog-explanation'));
schemaElmts.dialogExplanation2.html($.i18n('snac-schema/dialog-explanation2'));
schemaElmts.extensionVersion.text($.i18n('snac-schema/extension-version'));
schemaElmts.saveButton
.text($.i18n('snac-schema/save-button'))
.attr('title', $.i18n('snac-schema/save-schema-alt'))
Expand Down
1 change: 1 addition & 0 deletions src/resources/module/scripts/schema-alignment-tab.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
</div>
<p class="panel-explanation" bind="dialogExplanation"></p>
<p class="panel-explanation" bind="dialogExplanation2"></p>
<p class="panel-explanation" bind="extensionVersion" style="font-style: italic;"></p>
<div style="clear: right"></div>

<div id="snac-radio-buttons-container" style = "display: flex;">
Expand Down

0 comments on commit 7bb99c5

Please sign in to comment.