Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Localization of strings in binarycaching.cpp #606

Merged
merged 11 commits into from
Jul 1, 2022
25 changes: 19 additions & 6 deletions locales/messages.en.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,9 @@
"AllFormatArgsUnbalancedBraces": "unbalanced brace in format string \"{value}\"",
"AlreadyInstalled": "{spec} is already installed",
"AlreadyInstalledNotHead": "{spec} is already installed -- not building from HEAD",
"AnotherInstallationInProgress": "Another installation is in progress on the machine, sleeping 6s before retrying.",
"AttemptingToFetchPackagesFromVendor": "Attempting to fetch {count} package(s) from {vendor}",
"AuthenticationMayRequireManualAction": "One or more {vendor} credential providers requested manual action. Add the binary source 'interactive' to allow interactivity.",
"AutoSettingEnvVar": "-- Automatically setting {env_var} environment variables to \"{url}\".",
"BothYesAndNoOptionSpecifiedError": "cannot specify both --no-{option} and --{option}.",
"BuildAlreadyInstalled": "{spec} is already installed; please remove {spec} before attempting to build it.",
Expand Down Expand Up @@ -73,6 +75,7 @@
"CompressFolderFailed": "Failed to compress folder '{path}':",
"CouldNotDeduceNugetIdAndVersion": "Could not deduce nuget id and version from filename: {path}",
"CurlReportedUnexpectedResults": "curl has reported unexpected results to vcpkg and vcpkg cannot continue.\nPlease review the following text for sensitive information and open an issue on the Microsoft/vcpkg GitHub to help fix this problem!\ncmd: {command_line}\n=== curl output ===\n{actual}\n=== end curl output ===",
"DefaultPathToBinaries": "Based on your system settings, the default path to store binaries is \n '{path}'. This consults %LOCALAPPDATA%/%APPDATA% on Windows and $XDG_CACHE_HOME or $HOME on other platforms.",
"DetectCompilerHash": "Detecting compiler hash for triplet \"{triplet}\"...",
"DownloadAvailable": "A downloadable copy of this tool is available and can be used by unsetting {env_var}.",
"DownloadedSources": "Downloaded sources for {spec}",
Expand Down Expand Up @@ -103,9 +106,12 @@
"ExpectedFailOrSkip": "expected 'fail', 'skip', or 'pass' here",
"ExpectedPortName": "expected a port name here",
"ExpectedTripletName": "expected a triplet name here",
"ExtendedDocumenationAtUrl": "Extended documentation available at '{url}'.",
"FailedToProvisionCe": "Failed to provision vcpkg-ce.",
"FailedToRunToolToDetermineVersion": "Failed to run {path} to determine the {tool_name} version.",
"FailedToStoreBackToMirror": "failed to store back to mirror:",
"FailedToStoreBinaryCache": "Failed to store binary cache '{path}':'{error_msg}'",
"FailedVendorAuthentication": "One or more {vendor} credential providers failed to authenticate. See '{url}' for more details on how to provide credentials.",
"ForceSystemBinariesOnWeirdPlatforms": "Environment variable VCPKG_FORCE_SYSTEM_BINARIES must be set on arm, s390x, and ppc64le platforms.",
"FormattedParseMessageExpression": "on expression: {value}",
"GenerateMsgErrorParsingFormatArgs": "parsing format string for {value}:",
Expand Down Expand Up @@ -137,12 +143,11 @@
"InvalidArgumentRequiresBaseUrlAndToken": "invalid argument: binary config '{binary_source}' requires at least a base-url and a SAS token",
"InvalidArgumentRequiresNoneArguments": "invalid argument: binary config '{binary_source}' does not take arguments",
"InvalidArgumentRequiresOneOrTwoArguments": "invalid argument: binary config '{binary_source}' requires 1 or 2 arguments",
"InvalidArgumentRequiresPathArgument": "invalid argument: binary config '{binary_source}' requires at least a path argument",
"InvalidArgumentRequiresPrefix": "invalid argument: binary config '{binary_source}' requires at least a prefix",
"InvalidArgumentRequiresPathArgument": "invalid argument: binary config '{binary_source}' requires at least one path argument",
"InvalidArgumentRequiresPrefix": "invalid argument: binary config '{binary_source}' requires at least one prefix",
"InvalidArgumentRequiresSingleArgument": "invalid argument: binary config '{binary_source}' does not take more than 1 argument",
"InvalidArgumentRequiresSingleStringArgument": "invalid argument: binary config '{binary_source}' expects a single string argument",
"InvalidArgumentRequiresSource": "invalid argument: binary config '{binary_source}' requires non-empty source",
"InvalidArgumentRequiresSourceArgument": "invalid argument: binary config '{binary_source}' requires at least a source argument",
"InvalidArgumentRequiresSourceArgument": "invalid argument: binary config '{binary_source}' requires at least one source argument",
"InvalidArgumentRequiresTwoOrThreeArguments": "invalid argument: binary config '{binary_source}' requires 2 or 3 arguments",
"InvalidArgumentRequiresValidToken": "invalid argument: binary config '{binary_source}' requires a SAS token without a preceeding '?' as the second argument",
"InvalidFormatString": "invalid format string: {actual}",
Expand Down Expand Up @@ -175,6 +180,7 @@
"NoLocalizationForMessages": "No localization for the following messages:",
"NoRegistryForPort": "no registry configured for port {package_name}",
"NoteMessage": "note: ",
"PackingVendorFailed": "Packing {vendor} failed. Use --debug for more information.",
"ParseControlErrorInfoInvalidFields": "The following fields were not expected:",
"ParseControlErrorInfoMissingFields": "The following fields were missing:",
"ParseControlErrorInfoTypesEntry": "{value} was expected to be {expected}",
Expand All @@ -185,19 +191,23 @@
"ProcessorArchitectureMissing": "The required environment variable %PROCESSOR_ARCHITECTURE% is missing.",
"ProcessorArchitectureW6432Malformed": "Failed to parse %PROCESSOR_ARCHITEW6432% ({arch}) as a valid CPU architecture. Falling back to %PROCESSOR_ARCHITECTURE%.",
"ProgramReturnedNonzeroExitCode": "{tool_name} failed with exit code: ({exit_code}).",
"PushingVendorFailed": "Pushing {vendor} to '{path}' failed. Use --debug for more information.",
"RemovingPackage": "Removing {action_index}/{count} {spec}",
"RestoredPackagesFromVendor": "Restored {count} package(s) from {vendor} in {elapsed}",
"ReplaceSecretsError": "Replace secretes produced the following error: '{error_msg}'",
"RestoredPackage": "Restored package from '{path}'",
"RestoredPackagesFromVendor": "Restored {count} package(s) from {value} in {elapsed}. Use --debug to see more details.",
"ResultsHeader": "RESULTS",
"SeeURL": "See {url} for more information.",
"SettingEnvVar": "-- Setting \"{env_var}\" environment variables to \"{url}\".",
"SourceFieldPortNameMismatch": "The 'Source' field inside the CONTROL file, or \"name\" field inside the vcpkg.json file has the name {package_name} and does not match the port directory {path}.",
"StoredBinaryCache": "Stored binary cache: '{path}'",
"SystemApiErrorMessage": "calling {system_api} failed with {exit_code} ({error_msg})",
"ToolFetchFailed": "Could not fetch {tool_name}.",
"ToolInWin10": "This utility is bundled with Windows 10 or later.",
"UnexpectedErrorDuringBulkDownload": "an unexpected error occurred during bulk download.",
"UnexpectedToolOutput": "{tool_name} ({path}) produced unexpected output when attempting to determine the version:",
"UnknownBaselineFileContent": "unrecognizable baseline entry; expected 'port:triplet=(fail|skip|pass)'",
"UnknownBinaryProviderType": "unknown binary provider type: valid providers are 'clear', 'default', 'nuget', 'nugetconfig', 'interactive', and 'files'",
"UnknownBinaryProviderType": "unknown binary provider type: valid providers are 'clear', 'default', 'nuget', 'nugetconfig','nugettimeout', 'interactive', 'x-azblob', 'x-gcs', 'x-aws', 'x-aws-config', 'http', and 'files'",
"UnknownTool": "vcpkg does not have a definition of this tool for this platform.",
"UnknownVariablesInTemplate": "invalid argument: url template '{value}' contains unknown variables: {list}",
"UnsupportedSystemName": "Could not map VCPKG_CMAKE_SYSTEM_NAME '{system_name}' to a vcvarsall platform. Supported system names are '', 'Windows' and 'WindowsStore'.",
Expand All @@ -209,7 +219,10 @@
"UpdateBaselineNoUpdate": "registry '{url}' not updated: '{value}'",
"UpdateBaselineRemoteGitError": "git failed to fetch remote repository '{url}'",
"UpdateBaselineUpdatedBaseline": "updated registry '{url}': baseline '{old_value}' -> '{new_value}'",
"UploadedBinaries": "Uploaded binaries to '{count}' '{vendor}'.",
"UploadedPackagesToVendor": "Uploaded {count} package(s) to {vendor} in {elapsed}",
"UploadingBinariesToVendor": "Uploading binaries for '{spec}' to '{vendor}' source '{path}'.",
"UploadingBinariesUsingVendor": "Uploading binaries for '{spec}' using '{vendor}' '{path}'.",
"UseEnvVar": "-- Using {env_var} in environment variables.",
"UsingCommunityTriplet": "-- Using community triplet {triplet}. This triplet configuration is not guaranteed to succeed.",
"UsingManifestAt": "Using manifest file at {path}.",
Expand Down
Loading