Skip to content

Commit

Permalink
feat: add proper translations for webdav texts
Browse files Browse the repository at this point in the history
  • Loading branch information
JammingBen committed Jul 31, 2023
1 parent 538f172 commit 4fa757d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions packages/@uppy/core/src/locale.js
Original file line number Diff line number Diff line change
Expand Up @@ -58,5 +58,7 @@ export default {
1: 'Added %{smart_count} files from %{folder}',
},
additionalRestrictionsFailed: '%{count} additional restrictions were not fulfilled',
publicLinkURLLabel: 'Public Link URL',
publicLinkURLDescription: 'Please provide a URL to a public link without password protection.',
},
}
4 changes: 2 additions & 2 deletions packages/@uppy/webdav/src/publicLink/WebdavPublicLink.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,8 @@ export default class WebdavPublicLink extends UIPlugin {
authInputs: [
{
name: 'publicLinkURL',
label: 'Public Link URL',
description: 'Please provide a URL to a public link without password protection.',
label: this.i18n('publicLinkURLLabel'),
description: this.i18n('publicLinkURLDescription'),
},
],
})
Expand Down

0 comments on commit 4fa757d

Please sign in to comment.