Files
wehub-resource-sync 643e9f9fcb
.NET Tests / test-codebase (push) Waiting to run
Translation Validation / validate-translations (push) Waiting to run
chore: import upstream snapshot with attribution
2026-07-13 13:01:52 +08:00

19 lines
394 B
PowerShell

[CmdletBinding()]
param(
[switch]$AsJson,
[switch]$AbsolutePaths
)
Set-StrictMode -Version Latest
$ErrorActionPreference = 'Stop'
Import-Module (Join-Path $PSScriptRoot 'LanguageData.psm1') -Force
$languageFileMap = Get-LanguageFilePathMap -AbsolutePaths:$AbsolutePaths.IsPresent
if ($AsJson.IsPresent) {
$languageFileMap | ConvertTo-Json -Depth 5
return
}
$languageFileMap