src/locale/en-US.ps1
|
@{ LangName = "English (United States)" LangID = "en-US" # Right click Menu CompileTitle = "Compile to EXE" OpenInGUI = "Open in ps12exeGUI" GUICfgFileDesc = "ps12exeGUI config file" # Web Server ErrorHead = "An error occurred:" CompileResult = "Compile result:" DefaultResult = "Done." AskSaveCfg = "Save the configuration file?" AskSaveCfgTitle = "Save configuration file" CfgFileLabelHead = "Configuration file:" # Console ServerStarted = "HTTP server started." ServerStopped = "HTTP server stopped." ServerStartFailed = "Failed to start the HTTP server." TryRunAsRoot = "Try running as administrator." ServerListening = "Access URL:" ExitServerTip = "Press Ctrl+C to stop the server." # GUI ConsoleHelpData = @{ title = "Usage:" Usage = "[input |] ps12exe [[-inputFile] '<filename|url>' | -Content '<script>'] [-outputFile '<filename>'] [-CompilerOptions '<options>'] [-TempDir '<directory>'] [-minifyer '<scriptblock>'] [-noConsole] [-architecture 'x86'|'x64'] [-threadingModel 'STA'|'MTA'] [-prepareDebug] [-lcid <lcid>] [-resourceParams @{iconFile='<filename|url>'; title='<title>'; description='<description>'; company='<company>'; product='<product>'; copyright='<copyright>'; trademark='<trademark>'; version='<version>'}] [-CodeSigning @{Path='<PFX file path>'; Password='<PFX password>'; Thumbprint='<certificate thumbprint>'; TimestampServer='<timestamp server>'}] [-UNICODEEncoding] [-credentialGUI] [-configFile] [-noOutput] [-noError] [-noVisualStyles] [-exitOnCancel] [-DPIAware] [-winFormsDPIAware] [-requireAdmin] [-supportOS] [-virtualize] [-longPaths] [-targetRuntime '<Runtime>'] [-SkipVersionCheck] [-GuestMode] [-PreprocessOnly] [-GolfMode] [-Localize '<language code>'] [-help]" PrarmsData = [ordered]@{ input = "String contents of the PowerShell script (same as ``-Content``)." inputFile = "Path or URL of the PowerShell script to convert (file must be UTF-8 or UTF-16 encoded)." Content = "PowerShell script text to convert to an executable." outputFile = "Output executable path or folder; defaults to the input file path with a ``.exe`` extension." CompilerOptions = "Additional compiler options (see ``https://msdn.microsoft.com/en-us/library/78f4aasd.aspx``)." TempDir = "Directory for temporary files (default: a random folder under ``%temp%``)." minifyer = "Script block to minify the script before compiling." lcid = "Locale ID for the compiled executable. Uses the current user culture if omitted." prepareDebug = "Creates info to help with debugging." architecture = "Compile for a specific runtime. Possible values are ``'x64'``, ``'x86'``, and ``'anycpu'``." threadingModel = "``'Single Thread Apartment'`` or ``'Multi Thread Apartment'`` mode." noConsole = "The resulting executable will be a Windows Forms app without a console window." UNICODEEncoding = "Encode output as UNICODE in console mode." credentialGUI = "Use a GUI to prompt for credentials in console mode." resourceParams = "A hashtable with resource parameters for the executable." CodeSigning = "A hashtable containing code signing options for the compiled executable." configFile = "Write a config file (``<outputfile>.exe.config``)." noOutput = "The resulting executable will not write standard output (including verbose and information streams)." noError = "The resulting executable will not write error output (including warning and debug streams)." noVisualStyles = "Disable visual styles for a generated GUI app (only with ``-noConsole``)." exitOnCancel = "Exits the program when ``Cancel`` or ``'X'`` is selected in a ``Read-Host`` input box (only with ``-noConsole``)." DPIAware = "If display scaling is on, GUI controls will be scaled if possible." winFormsDPIAware = "If display scaling is on, WinForms uses DPI scaling (requires Windows 10 and .NET 4.7 or up)." requireAdmin = "If UAC is enabled, the compiled executable runs only in an elevated context (UAC dialog appears)." supportOS = "Use functions of the newest Windows versions (run ``[Environment]::OSVersion`` to see the difference)." virtualize = "App virtualization is activated (forcing x86 runtime)." longPaths = "Enable long paths ( > 260 characters) if enabled on the OS (Windows 10 or up)." targetRuntime = "Target runtime version, ``'Framework4.0'`` by default, ``'Framework2.0'`` is supported." SkipVersionCheck = "Skip checking for new versions of ps12exe." GuestMode = "Compile scripts with extra protection, preventing access to native files." PreprocessOnly = "Preprocess the input script and return it without compiling." GolfMode = "Enable golf mode, adding abbreviations and common functions." Localize = "Language code for localized messages." Help = "Show this help message." } } GUIHelpData = @{ title = "Usage:" Usage = @" ps12exeGUI [[-ConfigFile] '<config file>'] [-PS1File '<PS1 file>'] [-Localize '<language code>'] [-UIMode 'Dark'|'Light'|'Auto'] [-help] ps12exeGUI [[-PS1File] '<PS1 file>'] [-Localize '<language code>'] [-UIMode 'Dark'|'Light'|'Auto'] [-help] "@ PrarmsData = [ordered]@{ ConfigFile = "Configuration file to load." PS1File = "Script file to compile." Localize = "Language code to use." UIMode = "UI mode." help = "Show this help message." } } SetContextMenuHelpData = @{ title = "Usage:" Usage = "Set-ps12exeContextMenu [[-action] 'enable'|'disable'|'reset'] [-Localize '<language code>'] [-help]" PrarmsData = [ordered]@{ action = "Action to execute." Localize = "Language code." help = "Show this help message." } } WebServerHelpData = @{ title = "Usage:" Usage = "Start-ps12exeWebServer [[-HostUrl] '<url>'] [-MaxCompileThreads '<uint>'] [-MaxCompileTime '<uint>'] [-ReqLimitPerMin '<uint>'] [-MaxCachedFileSize '<uint>'] [-MaxScriptFileSize '<uint>'] [-CacheDir '<path>'] [-Localize '<language code>'] [-help]" PrarmsData = [ordered]@{ HostUrl = "The HTTP server address." MaxCompileThreads = "Max number of compile threads." MaxCompileTime = "Max compile time in seconds." ReqLimitPerMin = "Max number of requests per minute per IP." MaxCachedFileSize = "Max size of cached files." MaxScriptFileSize = "Max size of script files." CacheDir = "Directory to store cached files." Localize = "Language code for server-side messages." help = "Show this help message." } } exe21spHelpData = @{ title = "Usage:" Usage = "[input |] exe21sp [[-inputFile] '<path or url to exe>'] [-outputFile '<path to output .ps1>'] [-help]" PrarmsData = [ordered]@{ input = "Path or URL to the ps12exe-generated exe to decompile, same as ``-inputFile``." inputFile = "Path or URL to the ps12exe-generated exe to decompile." outputFile = "Optional; path to write the recovered script. If omitted, output goes to stdout when redirected, otherwise writes to ``<exe>.ps1`` in the same folder." help = "Show this help message." } } CompilingI18nData = @{ NewVersionAvailable = "There's a new version of ps12exe available: {0}!" NoneInput = "No input file specified!" BothInputAndContentSpecified = "Input file and content can't be used at the same time." PreprocessDone = "Done pre-processing the input script!" PreprocessedScriptSize = "Preprocessed script -> {0} bytes." MinifyingScript = "Minifying the script..." MinifyedScriptSize = "Minified script -> {0} bytes." MinifyerError = "Minifyer error: {0}" MinifyerFailedUsingOriginalScript = "Minifyer failed, using the original script." TempFileMissing = "Temporary file {0} not found." PreprocessOnlyDone = "Done pre-processing the input script." CombinedArg_x86_x64 = "-x86 can't be combined with -x64." CombinedArg_Runtime20_Runtime40 = "-runtime20 can't be combined with -runtime40." CombinedArg_Runtime20_LongPaths = "Long paths are only available with .NET 4 or above." CombinedArg_Runtime20_winFormsDPIAware = "DPI awareness is only available with .NET 4 or above." CombinedArg_STA_MTA = "-STA can't be combined with -MTA." InvalidResourceParam = "Parameter -resourceParams has an invalid key: {0}" CombinedArg_ConfigFileYes_No = "-configFile can't be combined with -noConfigFile." InputSyntaxError = "Syntax error in the script." SyntaxErrorLineStart = "At line {0}, Col {1}:" IdenticalInputOutput = "Input file is the same as the output file." CombinedArg_Virtualize_requireAdmin = "-virtualize can't be combined with -requireAdmin." CombinedArg_Virtualize_supportOS = "-virtualize can't be combined with -supportOS." CombinedArg_Virtualize_longPaths = "-virtualize can't be combined with -longPaths." CombinedArg_NoConfigFile_LongPaths = "Forcing config file generation, since -longPaths needs it." CombinedArg_NoConfigFile_winFormsDPIAware = "Forcing config file generation, since -winFormsDPIAware needs it." SomeCmdletsMayNotAvailable = "Cmdlets {0} are used but might not be available." SomeNotFindedCmdlets = "Unknown functions {0} are used." SomeTypesMayNotAvailable = "Types {0} are used but might not be available at runtime." CompilingFile = "Compiling file..." CompilationFailed = "Compilation failed!" OutputFileNotWritten = "Output file {0} not written." CompiledFileSize = "Compiled file written -> {0} bytes." OppsSomethingWentWrong = "Something went wrong." TryUpgrade = "A newer version is available: {0}. Consider upgrading." EnterToSubmitIssue = "For help, submit an issue by pressing Enter." GuestModeFileTooLarge = "File {0} is too large to read." GuestModeIconFileTooLarge = "Icon {0} is too large to read." GuestModeFtpNotSupported = "FTP is not supported in Guest mode." IconFileNotFound = "Icon file not found: {0}" ConvertingImageToIcon = "Converting image to icon format..." ImageConvertedToIcon = "Image converted to icon: {0}" ImageConversionFailed = "Image conversion failed: {0}" PleaseUseIcoFile = "Please use a .ico file instead of {0}" SigningExecutable = "Signing executable..." ExecutableSignedSuccessfully = "Executable signed successfully." SigningStatusNotValid = "Signing status not valid: {0} - {1}" CertificateNotFoundOrInvalidPassword = "Certificate not found or invalid password." SigningFailed = "Signing failed: {0}" ReadFileFailed = "Failed to read file: {0}" PreprocessUnknownIfCondition = "Unknown condition: {0}; assuming false." PreprocessMissingEndIf = "Missing end of if statement: {0}" ConfigFileCreated = "Config file for the EXE created." SourceFileCopied = "Source file name for debugging copied: {0}" RoslynFailedFallback = "Roslyn CodeAnalysis failed. Falling back to Windows PowerShell with CodeDom.`nAdd -UseWindowsPowerShell to skip this fallback next time, or open a PR on the ps12exe repository." ReadingFile = "Reading file {0}, size {1} bytes." ForceX86byVirtualization = "App virtualization activated, forcing x86 platform." TryingTinySharpCompile = "Const result, trying TinySharp Compiler..." TinySharpFailedFallback = "TinySharp Compiler error, falling back to the normal program frame." OutputPath = "Path: {0}" ReadingScriptDone = "Finished reading {0}; starting preprocessing..." PreprocessScriptDone = "Done preprocessing file {0}." ConstEvalStart = "Evaluation of constants..." ConstEvalDone = "Done evaluating constants -> {0} bytes." ConstEvalTooLongFallback = "Constant result too long, falling back to the normal program frame." ConstEvalTimeoutFallback = "Evaluation timed out after {0} seconds, falling back to the normal program frame." ConstEvalThrowErrorFallback = "Constant result throws an error, falling back to the normal program frame." InvalidArchitecture = "Invalid platform {0}, using AnyCpu." UnknownPragma = "Unknown pragma: {0}" UnknownPragmaBadParameterType = "Unknown pragma: {0}, type {1} can't be analyzed." UnknownPragmaBoolValue = "Unknown pragma value: {0}, can't use that as a boolean." DllExportDelNoneTypeArg = "{0}: {1} is a none type parameter, assuming it's a string." DllExportUsing = "You're using #_DllExport, this macro is in dev and not supported yet." } WebServerI18nData = @{ CompilingUserInput = "Compiling User Input: {0}" EmptyResponse = "No data found when handling the request, returning an empty response." InputTooLarge413 = "User input is too large, returning a 413 error." ReqLimitExceeded429 = "IP {0} has exceeded the limit of {1} requests per minute, returning 429." } InteractI18nData = @{ ModeName = "Interactive" Welcome = "ps12exe interactive mode. Press Ctrl+C to exit." EnterInputFile = "Input script path or URL:" Prompt = " >> " ExitMessage = "Exited interactive mode." InvalidInputFile = "Not a valid PowerShell script path." FileDoesNotExist = "File not found." InvalidExtension = "Use a '.ps1', '.psd1', or '.tmp' file." EnterOutputFile = "Output file path (leave blank for <name>.exe next to the script):" OutputFileExtensionError = "Output must use the '.exe' extension; it was added automatically." AddAdditionalInfo = "Add optional metadata (icon, version, and so on)?" AdditionalInfoPrompt = "[Y/N]" CollectingInfo = "Enter metadata (leave blank to skip a field)." IconPath = "Icon path or URL (.ico, .png, .jpg, .jpeg, .bmp; blank to skip):" InvalidIconExtension = "Icon must be .ico for this step; entry ignored." IconDoesNotExist = "Icon file not found; try again." EnterTitle = "Title" EnterDescription = "Description" EnterCompany = "Company Name" EnterProduct = "Product Name" EnterCopyright = "Copyright" EnterTrademark = "Trademark" EnterResourcePrompt = "Enter {0}:" Version = "Version (e.g. 1.0.0.0):" InvalidVersionFormat = "Invalid version format; entry ignored." SkippingAdditionalInfo = "Skipping optional metadata." CompileAsGui = "Build as a GUI application (no console window)?" RequireAdmin = "Require administrator privileges?" EnableCodeSigning = "Enable code signing?" EnterCertificatePath = "Certificate path or URL (.pfx; blank to skip):" InvalidCertificateExtension = "Certificate must be .pfx; try again." CertificateDoesNotExist = "Certificate file not found; try again." EnterCertificatePassword = "Certificate password (blank to skip):" EnterCertificateThumbprint = "Certificate thumbprint (blank to skip):" EnterTimestampServer = "Timestamp server (blank for default):" SkippingCodeSigning = "Skipping code signing." BuildingCommand = "Building command line..." ExecutingCommand = "Running compiler..." CompileSuccess = "Compilation finished successfully." CompileFailed = "Compilation failed; exit code {0}" CompileFailedException = "Error: {0}" CompileAnother = "Compile another file?" Exiting = "Exiting interactive mode." } exe21spInteractI18nData = @{ ModeName = "Interactive" Welcome = "exe21sp interactive mode. Press Ctrl+C to exit." EnterInputFile = "Input .exe path or URL:" Prompt = " >> " ExitMessage = "Exited interactive mode." InvalidInputFile = "Not a valid .exe path or URL." FileDoesNotExist = "File not found." EnterOutputFile = "Output .ps1 path (leave blank for <name>.ps1 next to the .exe):" OutputFileExtensionError = "Output must use the '.ps1' extension; it was added automatically." AdditionalInfoPrompt = "[Y/N]" ConvertAnother = "Decompile another file?" Exiting = "Exiting interactive mode." } exe21spI18nData = @{ NoneInput = "No input file specified!" TinySharpNoTextSection = "The executable is a .NET assembly but does not match the TinySharp layout (no .text section)." TinySharpTextSectionEmpty = "The executable is a .NET assembly but does not match the TinySharp layout (.text section is empty)." TinySharpCannotReadText = "The executable is a .NET assembly but does not match the TinySharp layout (cannot read .text)." TinySharpPayloadNotRecovered = "The executable is a .NET assembly but does not match the TinySharp layout; script payload cannot be recovered." NoEmbeddedScript = "No embedded script found in '{0}' (not a ps12exe-built exe, or payload cannot be recovered)." FileNotFound = "File not found: {0}" InputUrlFailed = "Failed to read from URL: {0}" } } |