Skip to content

Commit

Permalink
Fix google drive short name in translations (#10790)
Browse files Browse the repository at this point in the history
## Purpose

Google drive had an underscore in the short name (`google_drive`) in the translations file, but in waterbutler it is just `googledrive`. So this fixes it to match waterbutler. Also adds onedrive.

## Changes

1. Rename google_drive.
2. Add onedrive
  • Loading branch information
brianjgeiger authored Nov 4, 2024
1 parent 9113097 commit a24f7ff
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion osf/external/gravy_valet/translations.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
from addons.gitlab.apps import GitLabAddonConfig
from addons.googledrive.apps import GoogleDriveAddonConfig
from addons.s3.apps import S3AddonAppConfig
from addons.onedrive.apps import OneDriveAddonAppConfig
from . import request_helpers as gv_requests


Expand All @@ -24,8 +25,9 @@ class _LegacyConfigsForWBKey(enum.Enum):
figshare = FigshareAddonAppConfig
github = GitHubAddonConfig
gitlab = GitLabAddonConfig
google_drive = GoogleDriveAddonConfig
googledrive = GoogleDriveAddonConfig
s3 = S3AddonAppConfig
onedrive = OneDriveAddonAppConfig


def make_ephemeral_user_settings(gv_account_data, requesting_user):
Expand Down

0 comments on commit a24f7ff

Please sign in to comment.