Skip to content

Commit

Permalink
Remove unused description field from NewNodeTemplate
Browse files Browse the repository at this point in the history
  • Loading branch information
breity committed Oct 11, 2023
1 parent 3406b58 commit 5f81275
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 36 deletions.
1 change: 0 additions & 1 deletion src/assets/wise5/authoringTool/addNode/NewNodeTemplate.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
export interface NewNodeTemplate {
label: string;
description: string;
icon: string;
route: string;
}
Original file line number Diff line number Diff line change
Expand Up @@ -11,25 +11,21 @@ export class ChooseNewNodeTemplate {
protected templates: NewNodeTemplate[] = [
{
label: $localize`Create Your Own`,
description: $localize`Create Your Own Description`,
icon: 'mode_edit',
route: 'add-your-own'
},
{
label: $localize`Import from Another Unit`,
description: $localize`Import a step from another unit`,
label: $localize`Import From Another Unit`,
icon: 'system_update_alt',
route: 'import-step/choose-unit'
},
{
label: $localize`Automated Assessment`,
description: $localize`Automated Assessment`,
icon: 'fact_check',
route: 'automated-assessment/choose-item'
},
{
label: $localize`Interactive Simulation`,
description: $localize`Add an existing interactive simulation`,
icon: 'video_settings',
route: 'simulation/choose-item'
}
Expand Down
35 changes: 5 additions & 30 deletions src/messages.xlf
Original file line number Diff line number Diff line change
Expand Up @@ -9305,50 +9305,25 @@ Click &quot;Cancel&quot; to keep the invalid JSON open so you can fix it.</sourc
<context context-type="linenumber">13</context>
</context-group>
</trans-unit>
<trans-unit id="5366550815577392042" datatype="html">
<source>Create Your Own Description</source>
<trans-unit id="7152189031040166896" datatype="html">
<source>Import From Another Unit</source>
<context-group purpose="location">
<context context-type="sourcefile">src/assets/wise5/authoringTool/addNode/choose-new-node-template/choose-new-node-template.component.ts</context>
<context context-type="linenumber">14</context>
</context-group>
</trans-unit>
<trans-unit id="6442735221080596866" datatype="html">
<source>Import from Another Unit</source>
<context-group purpose="location">
<context context-type="sourcefile">src/assets/wise5/authoringTool/addNode/choose-new-node-template/choose-new-node-template.component.ts</context>
<context context-type="linenumber">19</context>
</context-group>
</trans-unit>
<trans-unit id="8901860174205925726" datatype="html">
<source>Import a step from another unit</source>
<context-group purpose="location">
<context context-type="sourcefile">src/assets/wise5/authoringTool/addNode/choose-new-node-template/choose-new-node-template.component.ts</context>
<context context-type="linenumber">20</context>
<context context-type="linenumber">18</context>
</context-group>
</trans-unit>
<trans-unit id="8293078288618811295" datatype="html">
<source>Automated Assessment</source>
<context-group purpose="location">
<context context-type="sourcefile">src/assets/wise5/authoringTool/addNode/choose-new-node-template/choose-new-node-template.component.ts</context>
<context context-type="linenumber">25</context>
</context-group>
<context-group purpose="location">
<context context-type="sourcefile">src/assets/wise5/authoringTool/addNode/choose-new-node-template/choose-new-node-template.component.ts</context>
<context context-type="linenumber">26</context>
<context context-type="linenumber">23</context>
</context-group>
</trans-unit>
<trans-unit id="6013229483538709548" datatype="html">
<source>Interactive Simulation</source>
<context-group purpose="location">
<context context-type="sourcefile">src/assets/wise5/authoringTool/addNode/choose-new-node-template/choose-new-node-template.component.ts</context>
<context context-type="linenumber">31</context>
</context-group>
</trans-unit>
<trans-unit id="3682992588117847800" datatype="html">
<source>Add an existing interactive simulation</source>
<context-group purpose="location">
<context context-type="sourcefile">src/assets/wise5/authoringTool/addNode/choose-new-node-template/choose-new-node-template.component.ts</context>
<context context-type="linenumber">32</context>
<context context-type="linenumber">28</context>
</context-group>
</trans-unit>
<trans-unit id="9430426ed5a9b22d6dcf57e82af9318742f4b2bc" datatype="html">
Expand Down

0 comments on commit 5f81275

Please sign in to comment.