You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: lib/dsc-lib/locales/en-us.toml
+32-11Lines changed: 32 additions & 11 deletions
Original file line number
Diff line number
Diff line change
@@ -792,14 +792,9 @@ parser = "Parser"
792
792
progress = "Progress"
793
793
resourceNotFound = "Resource not found"
794
794
resourceManifestNotFound = "Resource manifest not found"
795
-
resourceVersionToSemverConversion = "Unable to convert arbitrary string resource version to semantic version"
796
-
resourceVersionReqToSemverConversion = "Unable to convert arbitrary string resource version requirement to semantic version requirement"
797
795
schema = "Schema"
798
796
schemaNotAvailable = "No Schema found and `validate` is not supported"
799
797
securityContext = "Security context"
800
-
semverReqWithBuildMetadataPrefix = "Invalid semantic version requirement: version"
801
-
semverReqWithBuildMetadataInfix = "contains the build metadata segment"
802
-
semverReqWithBuildMetadataSuffix = "DSC semantic version requirements must not include build metadata."
803
798
utf8Conversion = "UTF-8 conversion"
804
799
unknown = "Unknown"
805
800
validation = "Validation"
@@ -827,13 +822,39 @@ executableNotFoundInWorkingDirectory = "Executable '%{executable}' not found wit
827
822
executableNotFound = "Executable '%{executable}' not found"
828
823
829
824
[types.date_version]
830
-
invalidDay = "Day `%{day}` for month `%{month}` is invalid - the day for that month must be between `01` and `%{max_days}`."
831
-
invalidLeapDay = "Invalid version date '%{year}-%{month}-%{day}' - the specified date is for a leap day in a year that doesn't have a leap day. Only leap years, like 2024 and 2028, have February 29th. %{year} is not a leap year."
832
-
invalidMonth = "Month `%{month}` is invalid. Date version months must be between `01` and `12` inclusive."
833
-
invalidYear = "Year `%{year}` is invalid. Date version years must be between `1000` and `9999` inclusive."
834
-
notMatchPattern = "Input string '%{text}' didn't match the validating pattern '%{pattern}'"
835
-
parseError = "Unable to parse '%{text}' as a date version: %{details}"
825
+
invalidDay = "day `%{day}` for month `%{month}` is invalid - must be between `01` and `%{max_days}`"
826
+
invalidLeapDay = "specified date '%{year}-02-29' is a leap day but %{year} isn't a leap year"
827
+
invalidMonth = "month `%{month}` is invalid - must be between `01` and `12` inclusive"
828
+
invalidYear = "year `%{year}` is invalid - must be between `1000` and `9999` inclusive"
829
+
notMatchPattern = "input string '%{text}' didn't match the validating pattern '%{pattern}'"
830
+
invalidDate = "unable to parse '%{text}' as a date version - %{errors}"
836
831
837
832
[types.exit_codes_map]
838
833
successText = "Success"
839
834
failureText = "Error"
835
+
836
+
[types.resource_version]
837
+
unparseableVersion = "unable to parse '%{text}' as resource version - input doesn't seem to be a semantic or date version"
838
+
invalidDateVersion = "invalid date resource version: %{err}"
invalidConversionToSemanticVersion = "unable to convert date resource version '%{version}' to semantic version"
841
+
invalidConversionToDateVersion = "unable to convert semantic resource version '%{version}' to date version"
842
+
843
+
[types.resource_version_req]
844
+
invalidConversionToSemanticVersionReq = "unable to convert date resource version requirement to semantic version requirement"
845
+
invalidConversionToDateVersion = "unable to convert semantic resource version requirement to date version requirement"
846
+
invalidDateVersionRequirement = "invalid date resource version requirement: %{err}"
847
+
invalidSemanticVersionRequirement = "invalid semantic resource version requirement: %{err}"
848
+
unparseableRequirement = "unable to parse '%{text}' as a resource version requirement - input doesn't seem to be a semantic or date version requirement"
849
+
850
+
[types.semantic_version]
851
+
invalidSemanticVersion = "invalid semantic version '%{text}': %{err}"
852
+
853
+
[types.semantic_version_req]
854
+
unparseableReq = "unable to parse semantic version requirement: %{err}"
855
+
invalidReq = "invalid semantic version requirement '%{requirement}': %{err}"
0 commit comments