Skip to content

Commit

Permalink
Fix Google Picker plugins locale (#5575)
Browse files Browse the repository at this point in the history
  • Loading branch information
Murderlon authored Jan 6, 2025
1 parent 0dff336 commit d378791
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ export default class GoogleDrivePicker<M extends Meta, B extends Body>
this.id = this.opts.id || 'GoogleDrivePicker'
this.storage = this.opts.storage || tokenStorage

this.defaultLocale = locale
this.i18nInit()
this.title = this.i18n('pluginNameGoogleDrive')

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ export default class GooglePhotosPicker<M extends Meta, B extends Body>
this.id = this.opts.id || 'GooglePhotosPicker'
this.storage = this.opts.storage || tokenStorage

this.defaultLocale = locale
this.i18nInit()
this.title = this.i18n('pluginNameGooglePhotos')

Expand Down

0 comments on commit d378791

Please sign in to comment.