Skip to content

Commit

Permalink
Add translation to texts
Browse files Browse the repository at this point in the history
Signed-off-by: Swikriti Tripathi <swikriti808@gmail.com>
  • Loading branch information
SwikritiT committed Mar 25, 2022
1 parent 94d0b71 commit 1c113fc
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 16 deletions.
4 changes: 2 additions & 2 deletions src/views/ProjectsTab.vue
Original file line number Diff line number Diff line change
Expand Up @@ -36,11 +36,11 @@
<WorkPackage :workpackage="workpackage" />
<Actions class="linked-workpackages--menu" menu-align="right">
<ActionButton icon="icon-openproject">
Open in OpenProject
{{ t('integration_openproject', 'Open in OpenProject') }}
</ActionButton>
<ActionSeparator />
<ActionButton icon="icon-delete">
Delete link
{{ t('integration_openproject', 'Delete link') }}
</ActionButton>
</Actions>
</div>
Expand Down
28 changes: 14 additions & 14 deletions tests/jest/views/__snapshots__/ProjectsTab.spec.js.snap
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@

exports[`ProjectsTab.vue Test action menu should display the action menu in linked work packages 1`] = `
<actions-stub defaulticon="" arialabel="Actions" placement="bottom" boundarieselement="[object HTMLBodyElement]" container="body" menu-align="right" class="linked-workpackages--menu">
<actionbutton-stub icon="icon-openproject" title="" arialabel="" class="linked-workpackages--menu--item">
Open in OpenProject
<actionbutton-stub icon="icon-openproject" title="" arialabel="">
integration_openproject
</actionbutton-stub>
<actionseparator-stub></actionseparator-stub>
<actionbutton-stub icon="icon-delete" title="" arialabel="" class="linked-workpackages--menu--item">
Delete link
<actionbutton-stub icon="icon-delete" title="" arialabel="">
integration_openproject
</actionbutton-stub>
</actions-stub>
`;
Expand Down Expand Up @@ -49,11 +49,11 @@ exports[`ProjectsTab.vue Test fetchWorkpackages shows the linked workpackages 1`
</div>
<actions-stub defaulticon="" arialabel="Actions" placement="bottom" boundarieselement="[object HTMLBodyElement]" container="body" menu-align="right" class="linked-workpackages--menu">
<actionbutton-stub icon="icon-openproject" title="" arialabel="">
Open in OpenProject
integration_openproject
</actionbutton-stub>
<actionseparator-stub></actionseparator-stub>
<actionbutton-stub icon="icon-delete" title="" arialabel="">
Delete link
integration_openproject
</actionbutton-stub>
</actions-stub>
</div>
Expand Down Expand Up @@ -89,11 +89,11 @@ exports[`ProjectsTab.vue Test fetchWorkpackages shows the linked workpackages 1`
</div>
<actions-stub defaulticon="" arialabel="Actions" placement="bottom" boundarieselement="[object HTMLBodyElement]" container="body" menu-align="right" class="linked-workpackages--menu">
<actionbutton-stub icon="icon-openproject" title="" arialabel="">
Open in OpenProject
integration_openproject
</actionbutton-stub>
<actionseparator-stub></actionseparator-stub>
<actionbutton-stub icon="icon-delete" title="" arialabel="">
Delete link
integration_openproject
</actionbutton-stub>
</actions-stub>
</div>
Expand Down Expand Up @@ -137,11 +137,11 @@ exports[`ProjectsTab.vue Test fetchWorkpackages shows the linked workpackages 2`
</div>
<actions-stub defaulticon="" arialabel="Actions" placement="bottom" boundarieselement="[object HTMLBodyElement]" container="body" menu-align="right" class="linked-workpackages--menu">
<actionbutton-stub icon="icon-openproject" title="" arialabel="">
Open in OpenProject
integration_openproject
</actionbutton-stub>
<actionseparator-stub></actionseparator-stub>
<actionbutton-stub icon="icon-delete" title="" arialabel="">
Delete link
integration_openproject
</actionbutton-stub>
</actions-stub>
</div>
Expand Down Expand Up @@ -177,11 +177,11 @@ exports[`ProjectsTab.vue Test fetchWorkpackages shows the linked workpackages 2`
</div>
<actions-stub defaulticon="" arialabel="Actions" placement="bottom" boundarieselement="[object HTMLBodyElement]" container="body" menu-align="right" class="linked-workpackages--menu">
<actionbutton-stub icon="icon-openproject" title="" arialabel="">
Open in OpenProject
integration_openproject
</actionbutton-stub>
<actionseparator-stub></actionseparator-stub>
<actionbutton-stub icon="icon-delete" title="" arialabel="">
Delete link
integration_openproject
</actionbutton-stub>
</actions-stub>
</div>
Expand Down Expand Up @@ -225,11 +225,11 @@ exports[`ProjectsTab.vue Test onSave shows the just linked workpackage 1`] = `
</div>
<actions-stub defaulticon="" arialabel="Actions" placement="bottom" boundarieselement="[object HTMLBodyElement]" container="body" menu-align="right" class="linked-workpackages--menu">
<actionbutton-stub icon="icon-openproject" title="" arialabel="">
Open in OpenProject
integration_openproject
</actionbutton-stub>
<actionseparator-stub></actionseparator-stub>
<actionbutton-stub icon="icon-delete" title="" arialabel="">
Delete link
integration_openproject
</actionbutton-stub>
</actions-stub>
</div>
Expand Down

0 comments on commit 1c113fc

Please sign in to comment.