directory renames

This commit is contained in:
jhoneill
2019-12-01 17:01:50 +00:00
parent 6b033d7451
commit 88e2a23e1b
108 changed files with 35 additions and 9 deletions

View File

@@ -145,7 +145,25 @@ Check out the How To Videos https://www.youtube.com/watch?v=U3Ne_yX4tYo&list=PL5
# ModuleList = @()
# List of all files packaged with this module
# FileList = @()
FileList = @(
'.\EPPlus.dll',
'.\Export-charts.ps1',
'.\GetExcelTable.ps1',
'.\ImportExcel.psd1',
'.\ImportExcel.psm1',
'.\LICENSE.txt',
'.\README.md',
'.\en\ImportExcel-help.xml',
'.\en\Strings.psd1',
'.\Charting\Charting.ps1',
'.\InferData\InferData.ps1',
'.\Pivot\Pivot.ps1',
'.\spikes\ConvertFrom-ExcelColumnName.ps1',
'.\Testimonials\t1.png',
'.\images\*.gif',
'.\images\*.png',
'.\Examples\*.*'
)
# Private data to pass to the module specified in RootModule/ModuleToProcess
PrivateData = @{

View File

@@ -1,11 +1,18 @@
#region import everything we need
$culture= $host.CurrentCulture.Name -replace '-\w*$',''
Import-LocalizedData -UICulture $culture -BindingVariable Strings -FileName Strings -ErrorAction Ignore
if (-not $Strings) {
Import-LocalizedData -UICulture "en" -BindingVariable Strings -FileName Strings -ErrorAction Ignore
}
try {[void] [System.Reflection.Assembly]::LoadWithPartialName("System.Drawing")}
catch {Write-Warning -Message "System.Drawing could not be loaded. Color and font look-ups may not be available."}
catch {Write-Warning -Message $Strings.SystemDrawingAvaialable}
foreach ($directory in @('ExportedCommands','Charting','InferData','Pivot')) {
foreach ($directory in @('Public','Private', 'Charting','InferData','Pivot')) {
Get-ChildItem -Path "$PSScriptRoot\$directory\*.ps1" | ForEach-Object {. $_.FullName}
}
. $PSScriptRoot\ArgumentCompletion.ps1
if ($PSVersionTable.PSVersion.Major -ge 5) {
. $PSScriptRoot\Plot.ps1
@@ -18,16 +25,12 @@ if ($PSVersionTable.PSVersion.Major -ge 5) {
}
else {
Write-Warning 'PowerShell 5 is required for plot.ps1'
Write-Warning 'PowerShell Excel is ready, except for that functionality'
Write-Warning $Strings.PS5NeededForPlot
Write-Warning $Strings.ModuleReadyExceptPlot
}
. $PSScriptRoot\ArgumentCompletion.ps1
#endregion
if (($IsLinux -or $IsMacOS) -or $env:NoAutoSize) {
$ExcelPackage = [OfficeOpenXml.ExcelPackage]::new()
$Cells = ($ExcelPackage | Add-Worksheet).Cells['A1']

5
en/Strings.psd1 Normal file
View File

@@ -0,0 +1,5 @@
ConvertFrom-StringData @'
SystemDrawingAvaialable=System.Drawing could not be loaded. Color and font look-ups may not be available.
PS5NeededForPlot=PowerShell 5 is required for plot.ps1
ModuleReadyExceptPlot=The ImportExcel moudle is ready, except for that functionality
'@

Some files were not shown because too many files have changed in this diff Show More