src/locale/en-UK.ps1
@{ LangName = "English (United Kingdom)" LangID = "en-UK" # Right click Menu CompileTitle = "Compile to EXE" OpenInGUI = "Open in ps12exeGUI" GUICfgFileDesc = "ps12exeGUI configuration file" # Web Server ServerStarted = "HTTP server started!" ServerStopped = "HTTP server stopped." ServerStartFailed = "Failed to start the HTTP server!" TryRunAsRoot = "Try running as root." ServerListening = "Access address:" ExitServerTip = "You can press Ctrl+C to stop the server at any time." # GUI ErrorHead = "An error occurred:" CompileResult = "Compilation result:" DefaultResult = "Finished!" AskSaveCfg = "Save the configuration file?" AskSaveCfgTitle = "Save configuration file" CfgFileLabelHead = "Configuration file:" # Console 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 to register." MaxCompileThreads = "The maximum number of compile threads." MaxCompileTime = "The maximum compile time in seconds." ReqLimitPerMin = "The maximum number of requests per minute per IP." MaxCachedFileSize = "The maximum size of the cached file." MaxScriptFileSize = "The maximum size of the script file." CacheDir = "The directory to store the cached files." Localize = "The language code to be used for server-side logging." help = "Display this help information." } } 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 = "The configuration file to load." PS1File = "The script file to be compiled." Localize = "The language code to use." UIMode = "The UI mode to use." help = "Show this help message." } } SetContextMenuHelpData = @{ title = "Usage:" Usage = "Set-ps12exeContextMenu [[-action] 'enable'|'disable'|'reset'] [-Localize '<language code>'] [-help]" PrarmsData = [ordered]@{ action = "The action to execute." Localize = "The language code to use." help = "Show this help message." } } 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>'}] [-UNICODEEncoding] [-credentialGUI] [-configFile] [-noOutput] [-noError] [-noVisualStyles] [-exitOnCancel] [-DPIAware] [-winFormsDPIAware] [-requireAdmin] [-supportOS] [-virtualize] [-longPaths] [-targetRuntime '<Runtime>'] [-SkipVersionCheck] [-GuestMode] [-Localize '<language code>'] [-help]" PrarmsData = [ordered]@{ input = "String of the contents of the PowerShell script file (same as ``-Content``)." inputFile = "PowerShell script file path or URL that you want to convert to executable (file has to be UTF8 or UTF16 encoded)." Content = "PowerShell script content that you want to convert to executable." outputFile = "Destination executable file name or folder (defaults to ``inputFile`` with the extension ``'.exe'``)." CompilerOptions = "Additional compiler options (see ``https://msdn.microsoft.com/en-us/library/78f4aasd.aspx``)." TempDir = "Directory for storing temporary files (default is a randomly generated temp directory in ``%temp%``)." minifyer = "Scriptblock to minify the script before compiling." lcid = "Location ID for the compiled executable (Current user culture if not specified)." prepareDebug = "Create helpful information for debugging." architecture = "Compile for specific runtime only (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 for prompting credentials in console mode." resourceParams = "A hashtable that contains resource parameters for the compiled executable." configFile = "Write a config file (``<outputfile>.exe.config``)." noOutput = "The resulting executable will generate no standard output (including verbose and information channels)." noError = "The resulting executable will generate no error output (including warning and debug channels)." noVisualStyles = "Disable visual styles for a generated windows GUI application (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 activated, GUI controls will be scaled if possible." winFormsDPIAware = "If display scaling is activated, WinForms uses DPI scaling (requires Windows 10 and .NET 4.7 or up)." requireAdmin = "If UAC is enabled, the compiled executable will run only in an elevated context (UAC dialog appears if required)." supportOS = "Use functions of the newest Windows versions (execute ``[Environment]::OSVersion`` to see the difference)." virtualize = "Application virtualization is activated (forcing x86 runtime)." longPaths = "Enable long paths ( > 260 characters) if enabled on the OS (works only with Windows 10 or up)." targetRuntime = "Target runtime version (``'Framework4.0'`` by default, ``'Framework2.0'`` is supported)." SkipVersionCheck = "Skip the check for new versions of ps12exe" GuestMode = "Compile scripts with additional protection, preventing native files from being accessed." Localize = "The language code to use." 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." 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 identical to 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 the generation of a config file, since the option -longPaths requires this." CombinedArg_NoConfigFile_winFormsDPIAware = "Forcing the generation of a config file, since the option -winFormsDPIAware requires this." SomeCmdletsMayNotAvailable = "Cmdlets {0} are used but may not be available at runtime. Make sure you've checked." SomeNotFindedCmdlets = "Unknown functions {0} are used." SomeTypesMayNotAvailable = "Types {0} are used but may not be available at runtime. Make sure you've checked." CompilingFile = "Compiling file..." CompilationFailed = "Compilation failed!" OutputFileNotWritten = "Output file {0} not written." CompiledFileSize = "Compiled file written -> {0} bytes." OppsSomethingWentWrong = "Oops, something went wrong." TryUpgrade = "Latest version is {0}, try upgrading." EnterToSubmitIssue = "For help, please submit an issue by pressing Enter." GuestModeFileTooLarge = "The file {0} is too large to read." GuestModeIconFileTooLarge = "The icon {0} is too large to read." GuestModeFtpNotSupported = "FTP is not supported in GuestMode." IconFileNotFound = "Icon file not found: {0}" ReadFileFailed = "Failed to read the file: {0}" PreprocessUnknownIfCondition = "Unknown condition: {0}`nassuming 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`nFalling back to Using Windows PowerShell with CodeDom...`nYou may want to add -UseWindowsPowerShell to args to skip this fallback in the future.`n... or submit a PR to the ps12exe repo to fix it!" ReadingFile = "Reading file {0}, size {1} bytes." ForceX86byVirtualization = "Application virtualization is 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 = "Done reading file {0}, starting preprocessing..." PreprocessScriptDone = "Done preprocessing file {0}." ConstEvalStart = "Evaluation of constants..." ConstEvalDone = "Done evaluating constants -> {0} bytes." ConstEvalTooLongFallback = "Constant result is too long, falling back to the normal program frame." ConstEvalTimeoutFallback = "Evaluation timed out after {0} seconds, falling back to the normal program frame." InvalidArchitecture = "Invalid platform {0}, using AnyCpu." UnknownPragma = "Unknown pragma: {0}" UnknownPragmaBadParameterType = "Unknown pragma: {0}, as type {1} can't analyse." UnknownPragmaBoolValue = "Unknown pragma value: {0}, can't take it as a boolean." DllExportDelNoneTypeArg = "{0}: {1} is a none type parameter, assuming it's a string." DllExportUsing = "You are using #_DllExport, this macro is in dev and not yet supported." } 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 a 429 error." } } |