52 lines
3.3 KiB
Markdown
52 lines
3.3 KiB
Markdown
---
|
|
source_files:
|
|
- DataPRO/Modules/InstallerCustomActions/MigrateConfiguration/Resources/StringResources.Designer.cs
|
|
generated_at: "2026-04-17T16:00:53.953284+00:00"
|
|
model: "zai-org/GLM-5-FP8"
|
|
schema_version: 1
|
|
sha256: "01948aae8b98627d"
|
|
---
|
|
|
|
# Documentation: StringResources.Designer.cs
|
|
|
|
## 1. Purpose
|
|
|
|
This module is an auto-generated strongly-typed resource class that provides localized string constants for the `MigrateConfiguration` installer custom action. It exists to centralize all user-facing messages, configuration key names, path templates, and status strings used during configuration migration operations when upgrading or installing DataPRO. The resource strings indicate this module handles migration of `DataPRO.exe.config` settings between versions, license file copying, and plugin path configuration updates.
|
|
|
|
## 2. Public Interface
|
|
|
|
**Note:** This class is marked `internal`, so it is only accessible within the `MigrateConfiguration` assembly.
|
|
|
|
### Class: `StringResources` (internal)
|
|
|
|
Namespace: `MigrateConfiguration.Resources`
|
|
|
|
| Member | Signature | Description |
|
|
|--------|-----------|-------------|
|
|
| `ResourceManager` | `internal static global::System.Resources.ResourceManager ResourceManager { get; }` | Returns the cached `ResourceManager` instance for this assembly. Lazily initialized on first access. |
|
|
| `Culture` | `internal static global::System.Globalization.CultureInfo Culture { get; set; }` | Gets or sets the current thread's `CurrentUICulture` for resource lookups. |
|
|
|
|
### Resource String Properties (all `internal static string`, getter only):
|
|
|
|
| Property Name | Inferred Purpose |
|
|
|---------------|------------------|
|
|
| `ApplicationSettings` | Returns `"applicationSettings"` - likely an XML element/section name. |
|
|
| `ConfigDidNotNeedToBeUpdated` | Status message indicating no config changes were required. |
|
|
| `ConfigMigrationStatus` | Label for config migration status reporting. |
|
|
| `ConfigWasUpdated` | Format string with placeholder `{0}` for installation version info. |
|
|
| `DataPROWin7PropertiesSettings` | Returns `"DataPROWin7.Properties.Settings"` - legacy settings section identifier. |
|
|
| `DataUpOneLevel` | Returns `"..\Data"` - relative path to Data directory. |
|
|
| `DataUpTwoLevels` | Returns `"..\..\Data"` - relative path to Data directory (two levels up). |
|
|
| `DownloadFolder` | Returns `"DownloadFolder"` - configuration key name. |
|
|
| `DTSCommonCorePluginLibConfig` | Returns `"DTS.Common.Core.PluginLib.Config"` - configuration section name. |
|
|
| `DTSPlugins` | Returns `"DTSPlugins"` - configuration key name. |
|
|
| `DTSPluginsNeedsModification` | Warning message about manual config modification required. |
|
|
| `DTSViewerModules` | Returns `"DTSViewerModules"` - configuration key name. |
|
|
| `FailedToCopyLicense` | Error message for license copy failure. |
|
|
| `ImportArchiveFolder` | Returns `"ImportArchiveFolder"` - configuration key name. |
|
|
| `ImportArchiveUpTwoLevels` | Returns `"..\..\ImportArchive"` - relative path for import archive. |
|
|
| `InstallerLicenseFileFoundCopied` | Success message for license file copy from installer. |
|
|
| `KeyNotFound` | Format string with placeholder `{0}` for key name. |
|
|
| `NewSettingsCouldNotBeFound` | Warning format string with placeholders `{0}` and `{1}`. |
|
|
| `NewSettingsCouldNotBeProcessed` | Warning message for processing failure of new settings. |
|
|
| `NoLicenseFound` | Status message when no license exists to copy |