From a24f7ff17550fed83de3d6e666ccca7fc8460179 Mon Sep 17 00:00:00 2001 From: "Brian J. Geiger" Date: Mon, 4 Nov 2024 16:15:04 -0500 Subject: [PATCH] Fix google drive short name in translations (#10790) ## 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 --- osf/external/gravy_valet/translations.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/osf/external/gravy_valet/translations.py b/osf/external/gravy_valet/translations.py index 843a23a1ca9..67e6d37fc3c 100644 --- a/osf/external/gravy_valet/translations.py +++ b/osf/external/gravy_valet/translations.py @@ -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 @@ -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):