Skip to content

Commit

Permalink
#182153655 Fixed Download button translation. (systemseed#186)
Browse files Browse the repository at this point in the history
  • Loading branch information
i-amdroid authored Jun 15, 2022
1 parent 64ce4f0 commit ca4d976
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## Unreleased
-
- Fixed Download button label translation for Resource paragraph.

## [2.5.6]
- Disabled cache when the progress is enabled.
Expand Down
2 changes: 1 addition & 1 deletion js/dist/lesson.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion js/dist/lesson.min.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion js/src/components/Resource.js
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ const Resource = ({ file, name, description }) => {
startIcon={<GetAppIcon />}
onClick={() => window.open(file.path)}
>
Download
{Drupal.t('Download', {}, { context: 'ANU LMS' })}
</Button>
) : (
Drupal.t('File cannot be downloaded.', {}, { context: 'ANU LMS' })
Expand Down

0 comments on commit ca4d976

Please sign in to comment.