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 3403194
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions packages/@uppy/webdav/src/locale.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,7 @@ export default {
strings: {
pluginNameWebdavAuth: 'WebDAV',
pluginNameWebdavPublicLink: 'Public Link',
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 3403194

Please sign in to comment.