mirror of
https://github.com/duplicati/duplicati.git
synced 2026-05-06 07:16:38 -04:00
a4b33e5d16
Added a free tier for the Office 365 module.
57 lines
3.3 KiB
C#
57 lines
3.3 KiB
C#
// Copyright (c) 2026 Duplicati Inc. All rights reserved.
|
|
|
|
using Duplicati.Library.Localization.Short;
|
|
|
|
namespace Duplicati.Proprietary.Office365;
|
|
|
|
internal static class Strings
|
|
{
|
|
public static string ProviderDisplayName => LC.L("Microsoft 365 Provider");
|
|
|
|
public static string ProviderDescription => LC.L(
|
|
"Expose Microsoft 365 content through a virtual folder structure organized by content type and internal structure.");
|
|
|
|
public static string WebModuleDisplayName => LC.L("Microsoft 365 Web Module");
|
|
public static string WebModuleDescription => LC.L("Provides a web API for managing Microsoft 365 backups.");
|
|
|
|
public static string MissingAccessToken => LC.L("An OAuth access token is required for this workspace backend.");
|
|
public static string InvalidRestoreTargetType(string? type) => LC.L($"Invalid restore target type: {type}");
|
|
|
|
public static string MetadataStorageNotEnabled(string optionname) => LC.L(
|
|
$"Storing metadata content in the database must be enabled to use the Microsoft 365 source provider. Use the option: --{optionname}");
|
|
|
|
public static string MissingTenantId => LC.L("A tenant ID must be supplied to query the Office 365 Management API.");
|
|
|
|
public static string OfficeTenantOptionShort => LC.L("Azure AD tenant identifier.");
|
|
|
|
public static string OfficeTenantOptionLong => LC.L("The tenant GUID used when calling the Office 365 Management Activity APIs.");
|
|
|
|
public static string OfficeClientOptionShort => LC.L("Azure application (client) ID.");
|
|
|
|
public static string OfficeClientOptionLong => LC.L("Client identifier used for OAuth2 client credential flow against the Office 365 Management API.");
|
|
|
|
public static string OfficeSecretOptionShort => LC.L("Azure application client secret.");
|
|
|
|
public static string OfficeSecretOptionLong => LC.L("Client secret used for OAuth2 client credential flow against the Office 365 Management API.");
|
|
|
|
public static string OfficeCertificatePathOptionShort => LC.L("Path to the PKCS12 certificate file.");
|
|
public static string OfficeCertificatePathOptionLong => LC.L("Path to the PKCS12 certificate file used for OAuth2 client credential flow against the Office 365 Management API.");
|
|
|
|
public static string OfficeCertificatePasswordOptionShort => LC.L("Password for the certificate file.");
|
|
public static string OfficeCertificatePasswordOptionLong => LC.L("Password for the PKCS12 certificate file used for OAuth2 client credential flow against the Office 365 Management API.");
|
|
|
|
public static string OfficeGraphBaseOptionShort => LC.L("Microsoft Graph base URL.");
|
|
|
|
public static string OfficeGraphBaseOptionLong => LC.L("Base URL for Microsoft Graph if targeting a sovereign cloud.");
|
|
|
|
public static string WebModuleOperationShort => LC.L("The operation to perform.");
|
|
public static string WebModuleOperationLong => LC.L("The operation that the web module should perform.");
|
|
|
|
public static string WebModuleURLShort => LC.L("The Microsoft 365 URL.");
|
|
public static string WebModuleURLLong => LC.L("The Microsoft 365 URL to the destination.");
|
|
|
|
public static string WebModulePathShort => LC.L("The path within the Microsoft 365 destination.");
|
|
public static string WebModulePathLong => LC.L("The path within the Microsoft 365 destination to list.");
|
|
|
|
}
|