Merge pull request 'Add report logos and configurable folder scan depth' (#2) from feat/report-logos-and-scan-depth into main
Reviewed-on: #2
This commit is contained in:
@@ -11,7 +11,13 @@ public class TranslationSource
|
||||
{
|
||||
public static readonly TranslationSource Instance = new();
|
||||
|
||||
private ResourceManager _resourceManager = Strings.ResourceManager;
|
||||
// Construct the ResourceManager with the explicit manifest base name rather
|
||||
// than Strings.ResourceManager: the generated designer carries a stale base
|
||||
// name ("SharepointToolbox.Strings") from before the project was renamed to
|
||||
// *.Web, so its lookups throw MissingManifestResourceException. The embedded
|
||||
// resource is "SharepointToolbox.Web.Localization.Strings".
|
||||
private ResourceManager _resourceManager =
|
||||
new ResourceManager("SharepointToolbox.Web.Localization.Strings", typeof(TranslationSource).Assembly);
|
||||
private CultureInfo _currentCulture = CultureInfo.CurrentUICulture;
|
||||
|
||||
private TranslationSource() { }
|
||||
|
||||
Reference in New Issue
Block a user