diff --git a/Microsoft.Dotnet.Wpf.sln b/Microsoft.Dotnet.Wpf.sln index 3ca30af3c2f..09de305c123 100644 --- a/Microsoft.Dotnet.Wpf.sln +++ b/Microsoft.Dotnet.Wpf.sln @@ -1,4 +1,4 @@ - + Microsoft Visual Studio Solution File, Format Version 12.00 # Visual Studio Version 16 VisualStudioVersion = 16.0.28407.52 diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 578cf26c331..7e7ef9bf81f 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -17,8 +17,8 @@ variables: # When set to true in a manual built, it produces and publishes # Microsoft.DotNet.Arcade.Wpf.Sdk BuildMsBuildSdkPackages: false - _PublishUsingPipelines: false - _DotNetArtifactsCategory: .NETCore + _PublishUsingPipelines: true + _DotNetArtifactsCategory: WINDOWSDESKTOP # only trigger ci builds for the master and release branches trigger: diff --git a/eng/Version.Details.xml b/eng/Version.Details.xml index e743d0f32eb..bdd5dfb8498 100644 --- a/eng/Version.Details.xml +++ b/eng/Version.Details.xml @@ -1,79 +1,79 @@ - - https://github.com/dotnet/corefx - dc522ef97fac72e64cd74825b7ef497f82af4624 + + https://github.com/dotnet/winforms + f977a22b418447e1a42d04a61ab29c289465146f - + + + https://github.com/dotnet/corefx - dc522ef97fac72e64cd74825b7ef497f82af4624 + b96247e76506e81ff6eb28dd2a14914a59e2a257 - + https://github.com/dotnet/corefx - dc522ef97fac72e64cd74825b7ef497f82af4624 + b96247e76506e81ff6eb28dd2a14914a59e2a257 - + https://github.com/dotnet/corefx - dc522ef97fac72e64cd74825b7ef497f82af4624 + b96247e76506e81ff6eb28dd2a14914a59e2a257 - + https://github.com/dotnet/corefx - dc522ef97fac72e64cd74825b7ef497f82af4624 + b96247e76506e81ff6eb28dd2a14914a59e2a257 - + https://github.com/dotnet/corefx - dc522ef97fac72e64cd74825b7ef497f82af4624 + b96247e76506e81ff6eb28dd2a14914a59e2a257 - + https://github.com/dotnet/corefx - dc522ef97fac72e64cd74825b7ef497f82af4624 + b96247e76506e81ff6eb28dd2a14914a59e2a257 - + https://github.com/dotnet/corefx - dc522ef97fac72e64cd74825b7ef497f82af4624 + b96247e76506e81ff6eb28dd2a14914a59e2a257 - + https://github.com/dotnet/corefx - dc522ef97fac72e64cd74825b7ef497f82af4624 + b96247e76506e81ff6eb28dd2a14914a59e2a257 - + https://github.com/dotnet/corefx - dc522ef97fac72e64cd74825b7ef497f82af4624 + b96247e76506e81ff6eb28dd2a14914a59e2a257 - - https://github.com/dotnet/core-setup - eff94d0f17352fb44287f39acbe06729cb896333 - - + https://github.com/dotnet/corefx - dc522ef97fac72e64cd74825b7ef497f82af4624 - 5589 + b96247e76506e81ff6eb28dd2a14914a59e2a257 - - https://github.com/dotnet/winforms - e88abb4ba892ae2a0b8ba053d38d4f3aff352626 - 6173 + + https://github.com/dotnet/corefx + b96247e76506e81ff6eb28dd2a14914a59e2a257 - + https://github.com/dotnet/corefx - dc522ef97fac72e64cd74825b7ef497f82af4624 - 5589 + b96247e76506e81ff6eb28dd2a14914a59e2a257 - + https://github.com/dotnet/corefx - dc522ef97fac72e64cd74825b7ef497f82af4624 - 5589 + b96247e76506e81ff6eb28dd2a14914a59e2a257 - - - + + https://github.com/dotnet/core-setup + 416ae9f2f223d349130198b96d7ce9c617fa25cd + + https://github.com/dotnet/arcade - 63b76f3f952f821d0a7996427a9f3534f1c25ab7 + 5e7ce5b394f3477bb0a485a4b761b7742e95be37 - + https://github.com/dotnet/arcade - 63b76f3f952f821d0a7996427a9f3534f1c25ab7 + 5e7ce5b394f3477bb0a485a4b761b7742e95be37 + + + https://github.com/dotnet/corefx + b96247e76506e81ff6eb28dd2a14914a59e2a257 diff --git a/eng/Versions.props b/eng/Versions.props index 1fc1ab638a4..ef1442e6452 100644 --- a/eng/Versions.props +++ b/eng/Versions.props @@ -2,7 +2,7 @@ 4.8.0 - preview4 + preview5 4.0.0.0 4.6.0-preview4.19212.13 4.8.0-preview4.19222.1 @@ -11,31 +11,50 @@ - - 4.6.0-preview4.19212.13 - 4.6.0-preview4.19212.13 - 4.6.0-preview4.19212.13 - 4.6.0-preview4.19212.13 + 4.8.0-preview5.19218.1 + + + + 3.0.0-preview5-27621-08 + 3.0.0-preview5.19221.5 + 4.6.0-preview5.19221.5 + 4.6.0-preview5.19221.5 + 4.6.0-preview5.19221.5 + + + + 4.6.0-preview5.19221.5 + 4.6.0-preview5.19221.5 + 4.6.0-preview5.19221.5 + 4.6.0-preview5.19221.5 + 4.6.0-preview5.19221.5 4.6.0-preview4.19176.11 - 4.6.0-preview4.19212.13 - 4.6.0-preview4.19212.13 - 4.6.0-preview4.19212.13 - 4.6.0-preview4.19212.13 - 4.6.0-preview4.19212.13 - 4.6.0-preview4.19212.13 - - 1.0.0-beta.19209.2 - + 4.6.0-preview5.19221.5 + 4.6.0-preview5.19221.5 + 4.6.0-preview5.19221.5 + 4.6.0-preview5.19221.5 + 4.6.0-preview5.19221.5 + + + + 1.0.0-beta.19218.7 + + + 0.1.0-preview2-181205-2 - + + + 4.4.0 - + + + 15.9.20 15.9.20 5.28.1.1-1 - 2.4.0 - 2.4.0 2.4.0 + $(XUnitVersion) + $(XUnitVersion) diff --git a/eng/WpfArcadeSdk/Sdk/Sdk.props b/eng/WpfArcadeSdk/Sdk/Sdk.props index 69b6b942de9..fa2b157324a 100644 --- a/eng/WpfArcadeSdk/Sdk/Sdk.props +++ b/eng/WpfArcadeSdk/Sdk/Sdk.props @@ -23,6 +23,7 @@ true + @@ -31,7 +32,6 @@ - diff --git a/eng/WpfArcadeSdk/Sdk/Sdk.targets b/eng/WpfArcadeSdk/Sdk/Sdk.targets index d7744eb2b3d..4f4c216b798 100644 --- a/eng/WpfArcadeSdk/Sdk/Sdk.targets +++ b/eng/WpfArcadeSdk/Sdk/Sdk.targets @@ -3,6 +3,7 @@ + @@ -16,6 +17,7 @@ + diff --git a/eng/WpfArcadeSdk/tools/CodeAnalysis.targets b/eng/WpfArcadeSdk/tools/CodeAnalysis.targets new file mode 100644 index 00000000000..17ff34f4b5e --- /dev/null +++ b/eng/WpfArcadeSdk/tools/CodeAnalysis.targets @@ -0,0 +1,14 @@ + + + $(MSBuildThisFileDirectory)CodeAnalysis\WpfCodeAnalysis.ruleset + + + + + + + + + + + diff --git a/eng/WpfArcadeSdk/tools/ExtendedAssemblyInfo.targets b/eng/WpfArcadeSdk/tools/ExtendedAssemblyInfo.targets index 691438dfd8a..466425168a2 100644 --- a/eng/WpfArcadeSdk/tools/ExtendedAssemblyInfo.targets +++ b/eng/WpfArcadeSdk/tools/ExtendedAssemblyInfo.targets @@ -40,6 +40,26 @@ $(SourceRevisionId) + + + + $(Language) + diff --git a/eng/WpfArcadeSdk/tools/Packaging.targets b/eng/WpfArcadeSdk/tools/Packaging.targets index 99a212f27c3..49dcc63aaa0 100644 --- a/eng/WpfArcadeSdk/tools/Packaging.targets +++ b/eng/WpfArcadeSdk/tools/Packaging.targets @@ -8,7 +8,7 @@ - $(PackageRuntimeIdentifierPrefix).$(PackageName) + $(PackageRuntimeIdentifierPrefix).$(PackageName) $(PackageName.Replace('$(PackageRuntimeIdentifierPrefix).','')) $(PackageName) true @@ -56,14 +56,29 @@ $(PreparePackageAssetsDependsOn): --> + + - + + + + + + $(TargetFramework) - + win-x86 win-x64 @@ -89,22 +104,22 @@ $(PreparePackageAssetsDependsOn): --> - - - - @@ -127,19 +142,20 @@ $(PreparePackageAssetsDependsOn): - - + + - + - - diff --git a/eng/WpfArcadeSdk/tools/RuntimeFrameworkReference.props b/eng/WpfArcadeSdk/tools/RuntimeFrameworkReference.props new file mode 100644 index 00000000000..43eb0affa6a --- /dev/null +++ b/eng/WpfArcadeSdk/tools/RuntimeFrameworkReference.props @@ -0,0 +1,11 @@ + + + $(MicrosoftNETCoreAppVersion) + + + + + true + + + diff --git a/eng/WpfArcadeSdk/tools/RuntimeFrameworkReference.targets b/eng/WpfArcadeSdk/tools/RuntimeFrameworkReference.targets new file mode 100644 index 00000000000..065527bdd93 --- /dev/null +++ b/eng/WpfArcadeSdk/tools/RuntimeFrameworkReference.targets @@ -0,0 +1,25 @@ + + + + + + + + + $(MicrosoftNETCoreAppVersion) + + + + + + + + diff --git a/eng/WpfArcadeSdk/tools/SdkReferences.targets b/eng/WpfArcadeSdk/tools/SdkReferences.targets index 6f1ba6818d9..0481c0d8990 100644 --- a/eng/WpfArcadeSdk/tools/SdkReferences.targets +++ b/eng/WpfArcadeSdk/tools/SdkReferences.targets @@ -5,97 +5,150 @@ ExcludeAssets="All" GeneratePathProperty="True" Condition="'$(MSBuildProjectExtension)'!='.vcxproj' And $(TargetFramework.StartsWith('netcoreapp3')) And '$(NoAutoMicrosoftPrivateWinformsReference)'!='true'"/> + + + + + - + + + + + + + + + + ResolveMicrosoftNetCoreAppReferences; + ResolveMicrosoftWindowsDesktopAppReferences; + ResolveMicrosoftDotNetWpfGitHubReferences; + ResolveWinFormsReferences; + $(ResolveAssemblyReferencesDependsOn) + + + + + + + + + + + - - - - + <_netCoreAppSdkReference Remove="@(_netCoreAppSdkReference)" /> - <_netCoreAppSdkReference Include="@(ReferencePath)" Condition="'%(ReferencePath.NuGetPackageId)'=='Microsoft.NETCore.App' Or '%(ReferencePath.NuGetPackageId)'=='Microsoft.NETCore.App.Ref'"/> - + <_netCoreAppSdkReference Include="@(ReferencePath)" + Condition="'%(ReferencePath.NuGetPackageId)'=='Microsoft.NETCore.App.Ref'" /> + - - + - <_netCoreAppSdkUnwantedRefNormalized Remove="@(_netCoreAppSdkUnwantedRefNormalized)" /> - <_netCoreAppSdkUnwantedRefNormalized Include="@(_netCoreAppSdkReference->'%(FileName)')" /> - <_netCoreAppSdkUnwantedRefNormalized Remove="@(NetCoreReference)" /> + <_netCoreAppReferences Remove="@(_netCoreAppReferences)" /> + + + - - <_netCoreAppSdkUnwantedRef Remove="@(_netCoreAppSdkUnwantedRef)" /> - <_netCoreAppSdkUnwantedRef Include="@(_netCoreAppSdkUnwantedRefNormalized->'%(OriginalItemSpec)')" /> + - - + + + + - + - - - - + <_windowsDesktopAppSdkReference Remove="@(_windowsDesktopAppSdkReference)" /> - <_windowsDesktopAppSdkReference Include="@(ReferencePath)" Condition="'%(ReferencePath.NuGetPackageId)'=='Microsoft.WindowsDesktop.App'"/> + <_windowsDesktopAppSdkReference Include="@(ReferencePath)" + Condition="'%(ReferencePath.NuGetPackageId)'=='Microsoft.WindowsDesktop.App.Ref'" /> - - <_windowsDesktopAppSdkUnwantedRefNormalized Remove="@(_windowsDesktopAppSdkUnwantedRefNormalized)" /> - <_windowsDesktopAppSdkUnwantedRefNormalized Include="@(_windowsDesktopAppSdkReference->'%(FileName)')" /> - <_windowsDesktopAppSdkUnwantedRefNormalized Remove="@(WindowsDesktopReference)" /> + <_windowsDesktopAppReferences Remove="@(_windowsDesktopAppReferences)" /> + + + - - <_windowsDesktopAppSdkUnwantedRef Remove="@(_windowsDesktopAppSdkUnwantedRef)" /> - <_windowsDesktopAppSdkUnwantedRef Include="@(_windowsDesktopAppSdkUnwantedRefNormalized->'%(OriginalItemSpec)')" /> - - - - - + - - - - ResolveMicrosoftDotNetWpfGitHubReferences; - ResolveWinFormsReferences; - $(ResolveAssemblyReferencesDependsOn) - - - - It will get translated into something like this: + It will get translated into something like this: - --> + --> - @@ -128,11 +181,11 @@ - --> + --> - diff --git a/eng/WpfArcadeSdk/tools/ShippingProjects.props b/eng/WpfArcadeSdk/tools/ShippingProjects.props index 8a17945854f..f2f12bc7e66 100644 --- a/eng/WpfArcadeSdk/tools/ShippingProjects.props +++ b/eng/WpfArcadeSdk/tools/ShippingProjects.props @@ -46,7 +46,6 @@ - PresentationBuildTasks; D3DCompiler; VCRuntime diff --git a/eng/common/CheckSymbols.ps1 b/eng/common/CheckSymbols.ps1 new file mode 100644 index 00000000000..b8d84607b89 --- /dev/null +++ b/eng/common/CheckSymbols.ps1 @@ -0,0 +1,158 @@ +param( + [Parameter(Mandatory=$true)][string] $InputPath, # Full path to directory where NuGet packages to be checked are stored + [Parameter(Mandatory=$true)][string] $ExtractPath, # Full path to directory where the packages will be extracted during validation + [Parameter(Mandatory=$true)][string] $SymbolToolPath # Full path to directory where dotnet symbol-tool was installed +) + +Add-Type -AssemblyName System.IO.Compression.FileSystem + +function FirstMatchingSymbolDescriptionOrDefault { + param( + [string] $FullPath, # Full path to the module that has to be checked + [string] $TargetServerParam, # Parameter to pass to `Symbol Tool` indicating the server to lookup for symbols + [string] $SymbolsPath + ) + + $FileName = [System.IO.Path]::GetFileName($FullPath) + $Extension = [System.IO.Path]::GetExtension($FullPath) + + # Those below are potential symbol files that the `dotnet symbol` might + # return. Which one will be returned depend on the type of file we are + # checking and which type of file was uploaded. + + # The file itself is returned + $SymbolPath = $SymbolsPath + "\" + $FileName + + # PDB file for the module + $PdbPath = $SymbolPath.Replace($Extension, ".pdb") + + # PDB file for R2R module (created by crossgen) + $NGenPdb = $SymbolPath.Replace($Extension, ".ni.pdb") + + # DBG file for a .so library + $SODbg = $SymbolPath.Replace($Extension, ".so.dbg") + + # DWARF file for a .dylib + $DylibDwarf = $SymbolPath.Replace($Extension, ".dylib.dwarf") + + .\dotnet-symbol.exe --symbols --modules --windows-pdbs $TargetServerParam $FullPath -o $SymbolsPath | Out-Null + + if (Test-Path $PdbPath) { + return "PDB" + } + elseif (Test-Path $NGenPdb) { + return "NGen PDB" + } + elseif (Test-Path $SODbg) { + return "DBG for SO" + } + elseif (Test-Path $DylibDwarf) { + return "Dwarf for Dylib" + } + elseif (Test-Path $SymbolPath) { + return "Module" + } + else { + return $null + } +} + +function CountMissingSymbols { + param( + [string] $PackagePath # Path to a NuGet package + ) + + # Ensure input file exist + if (!(Test-Path $PackagePath)) { + throw "Input file does not exist: $PackagePath" + } + + # Extensions for which we'll look for symbols + $RelevantExtensions = @(".dll", ".exe", ".so", ".dylib") + + # How many files are missing symbol information + $MissingSymbols = 0 + + $PackageId = [System.IO.Path]::GetFileNameWithoutExtension($PackagePath) + $PackageGuid = New-Guid + $ExtractPath = Join-Path -Path $ExtractPath -ChildPath $PackageGuid + $SymbolsPath = Join-Path -Path $ExtractPath -ChildPath "Symbols" + + [System.IO.Compression.ZipFile]::ExtractToDirectory($PackagePath, $ExtractPath) + + # Makes easier to reference `symbol tool` + Push-Location $SymbolToolPath + + Get-ChildItem -Recurse $ExtractPath | + Where-Object {$RelevantExtensions -contains $_.Extension} | + ForEach-Object { + if ($_.FullName -Match "\\ref\\") { + Write-Host "`t Ignoring reference assembly file" $_.FullName + return + } + + $SymbolsOnMSDL = FirstMatchingSymbolDescriptionOrDefault $_.FullName "--microsoft-symbol-server" $SymbolsPath + $SymbolsOnSymWeb = FirstMatchingSymbolDescriptionOrDefault $_.FullName "--internal-server" $SymbolsPath + + Write-Host -NoNewLine "`t Checking file" $_.FullName "... " + + if ($SymbolsOnMSDL -ne $null -and $SymbolsOnSymWeb -ne $null) { + Write-Host "Symbols found on MSDL (" $SymbolsOnMSDL ") and SymWeb (" $SymbolsOnSymWeb ")" + } + else { + $MissingSymbols++ + + if ($SymbolsOnMSDL -eq $null -and $SymbolsOnSymWeb -eq $null) { + Write-Host "No symbols found on MSDL or SymWeb!" + } + else { + if ($SymbolsOnMSDL -eq $null) { + Write-Host "No symbols found on MSDL!" + } + else { + Write-Host "No symbols found on SymWeb!" + } + } + } + } + + Pop-Location + + return $MissingSymbols +} + +function CheckSymbolsAvailable { + if (Test-Path $ExtractPath) { + Remove-Item $ExtractPath -Force -Recurse -ErrorAction SilentlyContinue + } + + Get-ChildItem "$InputPath\*.nupkg" | + ForEach-Object { + $FileName = $_.Name + + # These packages from Arcade-Services include some native libraries that + # our current symbol uploader can't handle. Below is a workaround until + # we get issue: https://github.com/dotnet/arcade/issues/2457 sorted. + if ($FileName -Match "Microsoft\.DotNet\.Darc\.") { + Write-Host "Ignoring Arcade-services file: $FileName" + Write-Host + return + } + elseif ($FileName -Match "Microsoft\.DotNet\.Maestro\.Tasks\.") { + Write-Host "Ignoring Arcade-services file: $FileName" + Write-Host + return + } + + Write-Host "Validating $FileName " + $Status = CountMissingSymbols "$InputPath\$FileName" + + if ($Status -ne 0) { + Write-Error "Missing symbols for $Status modules in the package $FileName" + } + + Write-Host + } +} + +CheckSymbolsAvailable diff --git a/eng/common/internal/Tools.csproj b/eng/common/internal/Tools.csproj index 1a81ff906f6..1a39a7ef3f6 100644 --- a/eng/common/internal/Tools.csproj +++ b/eng/common/internal/Tools.csproj @@ -12,8 +12,12 @@ - - https://devdiv.pkgs.visualstudio.com/_packaging/8f470c7e-ac49-4afe-a6ee-cf784e438b93/nuget/v3/index.json; + + + https://devdiv.pkgs.visualstudio.com/_packaging/dotnet-core-internal-tooling/nuget/v3/index.json; + + + $(RestoreSources); https://devdiv.pkgs.visualstudio.com/_packaging/VS/nuget/v3/index.json; diff --git a/eng/pipeline.yml b/eng/pipeline.yml index e726b9e3812..0a0d445c293 100644 --- a/eng/pipeline.yml +++ b/eng/pipeline.yml @@ -19,6 +19,7 @@ jobs: enablePublishBuildArtifacts: true enablePublishTestResults: true enablePublishBuildAssets: true + enablePublishUsingPipelines: $(_PublishUsingPipelines) enableTelemetry: true helixRepo: dnceng/wpf diff --git a/global.json b/global.json index 6d7828bfb49..733da516813 100644 --- a/global.json +++ b/global.json @@ -9,7 +9,7 @@ "version": "3.0.100-preview4-011204" }, "msbuild-sdks": { - "Microsoft.DotNet.Arcade.Sdk": "1.0.0-beta.19209.2" + "Microsoft.DotNet.Arcade.Sdk": "1.0.0-beta.19218.7" }, "native-tools": { "strawberry-perl": "5.28.1.1-1", diff --git a/packaging/Microsoft.NET.Sdk.WindowsDesktop/targets/Microsoft.NET.Sdk.WindowsDesktop.props b/packaging/Microsoft.NET.Sdk.WindowsDesktop/targets/Microsoft.NET.Sdk.WindowsDesktop.props index 97c8b47e938..b37afed1058 100644 --- a/packaging/Microsoft.NET.Sdk.WindowsDesktop/targets/Microsoft.NET.Sdk.WindowsDesktop.props +++ b/packaging/Microsoft.NET.Sdk.WindowsDesktop/targets/Microsoft.NET.Sdk.WindowsDesktop.props @@ -2,7 +2,11 @@ + Condition="'$(EnableDefaultApplicationDefinition)' != 'false' And Exists('$(MSBuildProjectDirectory)/App.xaml') And '$(MSBuildProjectExtension)' == '.csproj'"> + MSBuild:Compile + + MSBuild:Compile @@ -18,7 +22,7 @@ - + diff --git a/src/Microsoft.DotNet.Wpf/src/PresentationBuildTasks/MS/Internal/Localization/LocalizationDirectivesToLocFile.cs b/src/Microsoft.DotNet.Wpf/src/PresentationBuildTasks/MS/Internal/Localization/LocalizationDirectivesToLocFile.cs index 20112969618..86a9c114c3b 100644 --- a/src/Microsoft.DotNet.Wpf/src/PresentationBuildTasks/MS/Internal/Localization/LocalizationDirectivesToLocFile.cs +++ b/src/Microsoft.DotNet.Wpf/src/PresentationBuildTasks/MS/Internal/Localization/LocalizationDirectivesToLocFile.cs @@ -1,7 +1,7 @@ -// Licensed to the .NET Foundation under one or more agreements. -// The .NET Foundation licenses this file to you under the MIT license. -// See the LICENSE file in the project root for more information. - +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. + using System; namespace MS.Internal diff --git a/src/Microsoft.DotNet.Wpf/src/PresentationBuildTasks/MS/Internal/Localization/LocalizationParserHooks.cs b/src/Microsoft.DotNet.Wpf/src/PresentationBuildTasks/MS/Internal/Localization/LocalizationParserHooks.cs index a00ae024482..99be5747d5b 100644 --- a/src/Microsoft.DotNet.Wpf/src/PresentationBuildTasks/MS/Internal/Localization/LocalizationParserHooks.cs +++ b/src/Microsoft.DotNet.Wpf/src/PresentationBuildTasks/MS/Internal/Localization/LocalizationParserHooks.cs @@ -1,7 +1,7 @@ -// Licensed to the .NET Foundation under one or more agreements. -// The .NET Foundation licenses this file to you under the MIT license. -// See the LICENSE file in the project root for more information. - +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. + using System; using System.Collections; using System.IO; diff --git a/src/Microsoft.DotNet.Wpf/src/PresentationBuildTasks/MS/Internal/MarkupCompiler/CompilationUnit.cs b/src/Microsoft.DotNet.Wpf/src/PresentationBuildTasks/MS/Internal/MarkupCompiler/CompilationUnit.cs index eec15ddd1fc..db490bcbf6e 100644 --- a/src/Microsoft.DotNet.Wpf/src/PresentationBuildTasks/MS/Internal/MarkupCompiler/CompilationUnit.cs +++ b/src/Microsoft.DotNet.Wpf/src/PresentationBuildTasks/MS/Internal/MarkupCompiler/CompilationUnit.cs @@ -1,7 +1,7 @@ -// Licensed to the .NET Foundation under one or more agreements. -// The .NET Foundation licenses this file to you under the MIT license. -// See the LICENSE file in the project root for more information. - +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. + using System; using System.Security.Permissions; diff --git a/src/Microsoft.DotNet.Wpf/src/PresentationBuildTasks/MS/Internal/MarkupCompiler/FileUnit.cs b/src/Microsoft.DotNet.Wpf/src/PresentationBuildTasks/MS/Internal/MarkupCompiler/FileUnit.cs index 8a624a80a1c..77725ea23a0 100644 --- a/src/Microsoft.DotNet.Wpf/src/PresentationBuildTasks/MS/Internal/MarkupCompiler/FileUnit.cs +++ b/src/Microsoft.DotNet.Wpf/src/PresentationBuildTasks/MS/Internal/MarkupCompiler/FileUnit.cs @@ -1,7 +1,7 @@ -// Licensed to the .NET Foundation under one or more agreements. -// The .NET Foundation licenses this file to you under the MIT license. -// See the LICENSE file in the project root for more information. - +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. + using System; using System.Security.Permissions; diff --git a/src/Microsoft.DotNet.Wpf/src/PresentationBuildTasks/MS/Internal/MarkupCompiler/MarkupCompiler.cs b/src/Microsoft.DotNet.Wpf/src/PresentationBuildTasks/MS/Internal/MarkupCompiler/MarkupCompiler.cs index 61f388b2ed3..d76ddf4cf0b 100644 --- a/src/Microsoft.DotNet.Wpf/src/PresentationBuildTasks/MS/Internal/MarkupCompiler/MarkupCompiler.cs +++ b/src/Microsoft.DotNet.Wpf/src/PresentationBuildTasks/MS/Internal/MarkupCompiler/MarkupCompiler.cs @@ -1,7 +1,7 @@ -// Licensed to the .NET Foundation under one or more agreements. -// The .NET Foundation licenses this file to you under the MIT license. -// See the LICENSE file in the project root for more information. - +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. + //--------------------------------------------------------------------------- // // Description: diff --git a/src/Microsoft.DotNet.Wpf/src/PresentationBuildTasks/MS/Internal/MarkupCompiler/ParserExtension.cs b/src/Microsoft.DotNet.Wpf/src/PresentationBuildTasks/MS/Internal/MarkupCompiler/ParserExtension.cs index 965cd38f2ad..7acac0f0777 100644 --- a/src/Microsoft.DotNet.Wpf/src/PresentationBuildTasks/MS/Internal/MarkupCompiler/ParserExtension.cs +++ b/src/Microsoft.DotNet.Wpf/src/PresentationBuildTasks/MS/Internal/MarkupCompiler/ParserExtension.cs @@ -1,7 +1,7 @@ -// Licensed to the .NET Foundation under one or more agreements. -// The .NET Foundation licenses this file to you under the MIT license. -// See the LICENSE file in the project root for more information. - +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. + //--------------------------------------------------------------------------- // // Description: diff --git a/src/Microsoft.DotNet.Wpf/src/PresentationBuildTasks/MS/Internal/Shared/SourceFileInfo.cs b/src/Microsoft.DotNet.Wpf/src/PresentationBuildTasks/MS/Internal/Shared/SourceFileInfo.cs index c1c89be76c0..9964b7614d0 100644 --- a/src/Microsoft.DotNet.Wpf/src/PresentationBuildTasks/MS/Internal/Shared/SourceFileInfo.cs +++ b/src/Microsoft.DotNet.Wpf/src/PresentationBuildTasks/MS/Internal/Shared/SourceFileInfo.cs @@ -1,7 +1,7 @@ -// Licensed to the .NET Foundation under one or more agreements. -// The .NET Foundation licenses this file to you under the MIT license. -// See the LICENSE file in the project root for more information. - +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. + //--------------------------------------------------------------------------- // // Description: diff --git a/src/Microsoft.DotNet.Wpf/src/PresentationBuildTasks/MS/Internal/Tasks/CompilerLocalReference.cs b/src/Microsoft.DotNet.Wpf/src/PresentationBuildTasks/MS/Internal/Tasks/CompilerLocalReference.cs index 13e67facd34..8751c401dd9 100644 --- a/src/Microsoft.DotNet.Wpf/src/PresentationBuildTasks/MS/Internal/Tasks/CompilerLocalReference.cs +++ b/src/Microsoft.DotNet.Wpf/src/PresentationBuildTasks/MS/Internal/Tasks/CompilerLocalReference.cs @@ -1,7 +1,7 @@ -// Licensed to the .NET Foundation under one or more agreements. -// The .NET Foundation licenses this file to you under the MIT license. -// See the LICENSE file in the project root for more information. - +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. + //---------------------------------------------------------------------------------------- // // Description: diff --git a/src/Microsoft.DotNet.Wpf/src/PresentationBuildTasks/MS/Internal/Tasks/CompilerState.cs b/src/Microsoft.DotNet.Wpf/src/PresentationBuildTasks/MS/Internal/Tasks/CompilerState.cs index 358aa8247f4..131d3b47b73 100644 --- a/src/Microsoft.DotNet.Wpf/src/PresentationBuildTasks/MS/Internal/Tasks/CompilerState.cs +++ b/src/Microsoft.DotNet.Wpf/src/PresentationBuildTasks/MS/Internal/Tasks/CompilerState.cs @@ -1,7 +1,7 @@ -// Licensed to the .NET Foundation under one or more agreements. -// The .NET Foundation licenses this file to you under the MIT license. -// See the LICENSE file in the project root for more information. - +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. + //---------------------------------------------------------------------------------------- // // Description: diff --git a/src/Microsoft.DotNet.Wpf/src/PresentationBuildTasks/MS/Internal/Tasks/CompilerWrapper.cs b/src/Microsoft.DotNet.Wpf/src/PresentationBuildTasks/MS/Internal/Tasks/CompilerWrapper.cs index 08ce31197e4..990552a8d0d 100644 --- a/src/Microsoft.DotNet.Wpf/src/PresentationBuildTasks/MS/Internal/Tasks/CompilerWrapper.cs +++ b/src/Microsoft.DotNet.Wpf/src/PresentationBuildTasks/MS/Internal/Tasks/CompilerWrapper.cs @@ -1,7 +1,7 @@ -// Licensed to the .NET Foundation under one or more agreements. -// The .NET Foundation licenses this file to you under the MIT license. -// See the LICENSE file in the project root for more information. - +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. + //---------------------------------------------------------------------------------------- // // Description: diff --git a/src/Microsoft.DotNet.Wpf/src/PresentationBuildTasks/MS/Internal/Tasks/IPersistFileCheckSum.cs b/src/Microsoft.DotNet.Wpf/src/PresentationBuildTasks/MS/Internal/Tasks/IPersistFileCheckSum.cs index 8c5d2079bb3..ea2c49dcf10 100644 --- a/src/Microsoft.DotNet.Wpf/src/PresentationBuildTasks/MS/Internal/Tasks/IPersistFileCheckSum.cs +++ b/src/Microsoft.DotNet.Wpf/src/PresentationBuildTasks/MS/Internal/Tasks/IPersistFileCheckSum.cs @@ -1,7 +1,7 @@ -// Licensed to the .NET Foundation under one or more agreements. -// The .NET Foundation licenses this file to you under the MIT license. -// See the LICENSE file in the project root for more information. - +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. + //--------------------------------------------------------------------------- // // Description: diff --git a/src/Microsoft.DotNet.Wpf/src/PresentationBuildTasks/MS/Internal/Tasks/IVsMSBuildTaskFileManager.cs b/src/Microsoft.DotNet.Wpf/src/PresentationBuildTasks/MS/Internal/Tasks/IVsMSBuildTaskFileManager.cs index 7fbac38971f..28b1981edfe 100644 --- a/src/Microsoft.DotNet.Wpf/src/PresentationBuildTasks/MS/Internal/Tasks/IVsMSBuildTaskFileManager.cs +++ b/src/Microsoft.DotNet.Wpf/src/PresentationBuildTasks/MS/Internal/Tasks/IVsMSBuildTaskFileManager.cs @@ -1,7 +1,7 @@ -// Licensed to the .NET Foundation under one or more agreements. -// The .NET Foundation licenses this file to you under the MIT license. -// See the LICENSE file in the project root for more information. - +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. + //--------------------------------------------------------------------------- // // Description: diff --git a/src/Microsoft.DotNet.Wpf/src/PresentationBuildTasks/MS/Internal/Tasks/IncrementalCompileAnalyzer.cs b/src/Microsoft.DotNet.Wpf/src/PresentationBuildTasks/MS/Internal/Tasks/IncrementalCompileAnalyzer.cs index bbe98b8b1e0..c314b4210d6 100644 --- a/src/Microsoft.DotNet.Wpf/src/PresentationBuildTasks/MS/Internal/Tasks/IncrementalCompileAnalyzer.cs +++ b/src/Microsoft.DotNet.Wpf/src/PresentationBuildTasks/MS/Internal/Tasks/IncrementalCompileAnalyzer.cs @@ -1,7 +1,7 @@ -// Licensed to the .NET Foundation under one or more agreements. -// The .NET Foundation licenses this file to you under the MIT license. -// See the LICENSE file in the project root for more information. - +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. + //---------------------------------------------------------------------------------------- // // Description: diff --git a/src/Microsoft.DotNet.Wpf/src/PresentationBuildTasks/MS/Internal/Tasks/TaskFileService.cs b/src/Microsoft.DotNet.Wpf/src/PresentationBuildTasks/MS/Internal/Tasks/TaskFileService.cs index e7f218d915d..48b3288c583 100644 --- a/src/Microsoft.DotNet.Wpf/src/PresentationBuildTasks/MS/Internal/Tasks/TaskFileService.cs +++ b/src/Microsoft.DotNet.Wpf/src/PresentationBuildTasks/MS/Internal/Tasks/TaskFileService.cs @@ -1,7 +1,7 @@ -// Licensed to the .NET Foundation under one or more agreements. -// The .NET Foundation licenses this file to you under the MIT license. -// See the LICENSE file in the project root for more information. - +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. + //--------------------------------------------------------------------------- // // Description: diff --git a/src/Microsoft.DotNet.Wpf/src/PresentationBuildTasks/MS/Internal/Tasks/TaskHelper.cs b/src/Microsoft.DotNet.Wpf/src/PresentationBuildTasks/MS/Internal/Tasks/TaskHelper.cs index cb3d1330630..9db02392473 100644 --- a/src/Microsoft.DotNet.Wpf/src/PresentationBuildTasks/MS/Internal/Tasks/TaskHelper.cs +++ b/src/Microsoft.DotNet.Wpf/src/PresentationBuildTasks/MS/Internal/Tasks/TaskHelper.cs @@ -1,7 +1,7 @@ -// Licensed to the .NET Foundation under one or more agreements. -// The .NET Foundation licenses this file to you under the MIT license. -// See the LICENSE file in the project root for more information. - +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. + //----------------------------------------------------------------------------- // // Description: diff --git a/src/Microsoft.DotNet.Wpf/src/PresentationBuildTasks/MS/Internal/Tasks/shared.cs b/src/Microsoft.DotNet.Wpf/src/PresentationBuildTasks/MS/Internal/Tasks/shared.cs index 125b8153e7b..981daabfea8 100644 --- a/src/Microsoft.DotNet.Wpf/src/PresentationBuildTasks/MS/Internal/Tasks/shared.cs +++ b/src/Microsoft.DotNet.Wpf/src/PresentationBuildTasks/MS/Internal/Tasks/shared.cs @@ -1,7 +1,7 @@ -// Licensed to the .NET Foundation under one or more agreements. -// The .NET Foundation licenses this file to you under the MIT license. -// See the LICENSE file in the project root for more information. - +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. + //----------------------------------------------------------------------------- // // Description: diff --git a/src/Microsoft.DotNet.Wpf/src/PresentationBuildTasks/Microsoft/Build/Tasks/Windows/FileClassifier.cs b/src/Microsoft.DotNet.Wpf/src/PresentationBuildTasks/Microsoft/Build/Tasks/Windows/FileClassifier.cs index 6e494915d3f..128ab2c5262 100644 --- a/src/Microsoft.DotNet.Wpf/src/PresentationBuildTasks/Microsoft/Build/Tasks/Windows/FileClassifier.cs +++ b/src/Microsoft.DotNet.Wpf/src/PresentationBuildTasks/Microsoft/Build/Tasks/Windows/FileClassifier.cs @@ -1,7 +1,7 @@ -// Licensed to the .NET Foundation under one or more agreements. -// The .NET Foundation licenses this file to you under the MIT license. -// See the LICENSE file in the project root for more information. - +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. + //--------------------------------------------------------------------------- // // Description: An MSBuild task that classify the input files to different diff --git a/src/Microsoft.DotNet.Wpf/src/PresentationBuildTasks/Microsoft/Build/Tasks/Windows/GenerateTemporaryTargetAssembly.cs b/src/Microsoft.DotNet.Wpf/src/PresentationBuildTasks/Microsoft/Build/Tasks/Windows/GenerateTemporaryTargetAssembly.cs index 75865998c2a..fe87ba50770 100644 --- a/src/Microsoft.DotNet.Wpf/src/PresentationBuildTasks/Microsoft/Build/Tasks/Windows/GenerateTemporaryTargetAssembly.cs +++ b/src/Microsoft.DotNet.Wpf/src/PresentationBuildTasks/Microsoft/Build/Tasks/Windows/GenerateTemporaryTargetAssembly.cs @@ -1,7 +1,7 @@ -// Licensed to the .NET Foundation under one or more agreements. -// The .NET Foundation licenses this file to you under the MIT license. -// See the LICENSE file in the project root for more information. - +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. + //--------------------------------------------------------------------------- // // Description: This is a MSBuild task which generates a temporary target assembly diff --git a/src/Microsoft.DotNet.Wpf/src/PresentationBuildTasks/Microsoft/Build/Tasks/Windows/MarkupCompilePass1.cs b/src/Microsoft.DotNet.Wpf/src/PresentationBuildTasks/Microsoft/Build/Tasks/Windows/MarkupCompilePass1.cs index 8d310630113..fba442a2f14 100644 --- a/src/Microsoft.DotNet.Wpf/src/PresentationBuildTasks/Microsoft/Build/Tasks/Windows/MarkupCompilePass1.cs +++ b/src/Microsoft.DotNet.Wpf/src/PresentationBuildTasks/Microsoft/Build/Tasks/Windows/MarkupCompilePass1.cs @@ -1,7 +1,7 @@ -// Licensed to the .NET Foundation under one or more agreements. -// The .NET Foundation licenses this file to you under the MIT license. -// See the LICENSE file in the project root for more information. - +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. + //--------------------------------------------------------------------------- // // Description: An MSBuild Task that can generate .xaml markup file to specific diff --git a/src/Microsoft.DotNet.Wpf/src/PresentationBuildTasks/Microsoft/Build/Tasks/Windows/MarkupCompilePass2.cs b/src/Microsoft.DotNet.Wpf/src/PresentationBuildTasks/Microsoft/Build/Tasks/Windows/MarkupCompilePass2.cs index 07309c5ada4..b5cb498930c 100644 --- a/src/Microsoft.DotNet.Wpf/src/PresentationBuildTasks/Microsoft/Build/Tasks/Windows/MarkupCompilePass2.cs +++ b/src/Microsoft.DotNet.Wpf/src/PresentationBuildTasks/Microsoft/Build/Tasks/Windows/MarkupCompilePass2.cs @@ -1,7 +1,7 @@ -// Licensed to the .NET Foundation under one or more agreements. -// The .NET Foundation licenses this file to you under the MIT license. -// See the LICENSE file in the project root for more information. - +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. + //--------------------------------------------------------------------------- // // Description: A MSBuild Task that can generate .baml file for some special diff --git a/src/Microsoft.DotNet.Wpf/src/PresentationBuildTasks/Microsoft/Build/Tasks/Windows/MergeLocalizationDirectives.cs b/src/Microsoft.DotNet.Wpf/src/PresentationBuildTasks/Microsoft/Build/Tasks/Windows/MergeLocalizationDirectives.cs index f45937dd440..54c148eac1b 100644 --- a/src/Microsoft.DotNet.Wpf/src/PresentationBuildTasks/Microsoft/Build/Tasks/Windows/MergeLocalizationDirectives.cs +++ b/src/Microsoft.DotNet.Wpf/src/PresentationBuildTasks/Microsoft/Build/Tasks/Windows/MergeLocalizationDirectives.cs @@ -1,7 +1,7 @@ -// Licensed to the .NET Foundation under one or more agreements. -// The .NET Foundation licenses this file to you under the MIT license. -// See the LICENSE file in the project root for more information. - +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. + //--------------------------------------------------------------------------- // // Description: The task that merges all the localization directives files diff --git a/src/Microsoft.DotNet.Wpf/src/PresentationBuildTasks/Microsoft/Build/Tasks/Windows/ResourcesGenerator.cs b/src/Microsoft.DotNet.Wpf/src/PresentationBuildTasks/Microsoft/Build/Tasks/Windows/ResourcesGenerator.cs index 60acee86827..c9f8811fb44 100644 --- a/src/Microsoft.DotNet.Wpf/src/PresentationBuildTasks/Microsoft/Build/Tasks/Windows/ResourcesGenerator.cs +++ b/src/Microsoft.DotNet.Wpf/src/PresentationBuildTasks/Microsoft/Build/Tasks/Windows/ResourcesGenerator.cs @@ -1,7 +1,7 @@ -// Licensed to the .NET Foundation under one or more agreements. -// The .NET Foundation licenses this file to you under the MIT license. -// See the LICENSE file in the project root for more information. - +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. + //--------------------------------------------------------------------------- // // Description: An MSBuild task that generate .resources file from given diff --git a/src/Microsoft.DotNet.Wpf/src/PresentationBuildTasks/Microsoft/Build/Tasks/Windows/UidManager.cs b/src/Microsoft.DotNet.Wpf/src/PresentationBuildTasks/Microsoft/Build/Tasks/Windows/UidManager.cs index d7a7ddedb63..c42bbce17fa 100644 --- a/src/Microsoft.DotNet.Wpf/src/PresentationBuildTasks/Microsoft/Build/Tasks/Windows/UidManager.cs +++ b/src/Microsoft.DotNet.Wpf/src/PresentationBuildTasks/Microsoft/Build/Tasks/Windows/UidManager.cs @@ -1,7 +1,7 @@ -// Licensed to the .NET Foundation under one or more agreements. -// The .NET Foundation licenses this file to you under the MIT license. -// See the LICENSE file in the project root for more information. - +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. + //--------------------------------------------------------------------------- // // Description: diff --git a/src/Microsoft.DotNet.Wpf/src/PresentationBuildTasks/Microsoft/Build/Tasks/Windows/UpdateManifestForBrowserApplication.cs b/src/Microsoft.DotNet.Wpf/src/PresentationBuildTasks/Microsoft/Build/Tasks/Windows/UpdateManifestForBrowserApplication.cs index 98468d81b2f..3bd7142ec07 100644 --- a/src/Microsoft.DotNet.Wpf/src/PresentationBuildTasks/Microsoft/Build/Tasks/Windows/UpdateManifestForBrowserApplication.cs +++ b/src/Microsoft.DotNet.Wpf/src/PresentationBuildTasks/Microsoft/Build/Tasks/Windows/UpdateManifestForBrowserApplication.cs @@ -1,7 +1,7 @@ -// Licensed to the .NET Foundation under one or more agreements. -// The .NET Foundation licenses this file to you under the MIT license. -// See the LICENSE file in the project root for more information. - +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. + /////////////////////////////////////////////////////////////////////////////// // // Update application manifest for browser-hosted application. diff --git a/src/Microsoft.DotNet.Wpf/src/PresentationBuildTasks/PresentationBuildTasks.csproj b/src/Microsoft.DotNet.Wpf/src/PresentationBuildTasks/PresentationBuildTasks.csproj index 635c3ec5798..8bdbe8c36ea 100644 --- a/src/Microsoft.DotNet.Wpf/src/PresentationBuildTasks/PresentationBuildTasks.csproj +++ b/src/Microsoft.DotNet.Wpf/src/PresentationBuildTasks/PresentationBuildTasks.csproj @@ -1,10 +1,8 @@  net472;netcoreapp2.1 - false - true + false true - false - - GenerateResourcesSource; - $(CoreCompileDependsOn) - - diff --git a/src/Microsoft.DotNet.Wpf/src/PresentationBuildTasks/Resources/xlf/Strings.cs.xlf b/src/Microsoft.DotNet.Wpf/src/PresentationBuildTasks/Resources/xlf/Strings.cs.xlf new file mode 100644 index 00000000000..24f5b6e6bf5 --- /dev/null +++ b/src/Microsoft.DotNet.Wpf/src/PresentationBuildTasks/Resources/xlf/Strings.cs.xlf @@ -0,0 +1,1242 @@ + + + + + + Analysis Result : '{0}'. + Analysis Result : '{0}'. + + + + MC1002: Library project file cannot specify ApplicationDefinition element. + MC1002: Library project file cannot specify ApplicationDefinition element. + + + + Input: Markup ApplicationDefinition file: '{0}'. + Input: Markup ApplicationDefinition file: '{0}'. + + + + MC6015: '{0}' cannot be set on the '{1}:{2}' tag. + MC6015: '{0}' cannot be set on the '{1}:{2}' tag. + + + + UM1001: Unrecognized UidManager task name '{0}'. + UM1001: Unrecognized UidManager task name '{0}'. + + + + Checking Uids in file '{0}' ... + Checking Uids in file '{0}' ... + + + + Generated localization directives file: '{0}' . + Generated localization directives file: '{0}' . + + + + Generating localization directives file: '{0}' ... + Generating localization directives file: '{0}' ... + + + + Markup compilation is done. + Markup compilation is done. + + + + MarkupCompilePass1 successfully generated BAML or source code files. + MarkupCompilePass1 successfully generated BAML or source code files. + + + + MarkupCompilePass2 successfully generated BAML or source code files. + MarkupCompilePass2 successfully generated BAML or source code files. + + + + MC6011: '{0}' event has a generic event handler delegate type '{1}'. The type parameters of '{1}' cannot be bound with an appropriate type argument because the containing tag '{2}' is not a generic type. + MC6011: '{0}' event has a generic event handler delegate type '{1}'. The type parameters of '{1}' cannot be bound with an appropriate type argument because the containing tag '{2}' is not a generic type. + + + + Current project directory is '{0}'. + Current project directory is '{0}'. + + + + MC6022: Only a root tag can specify attribute '{0}:{1}'. + MC6022: Only a root tag can specify attribute '{0}:{1}'. + + + + MC6010: '{0}:{1}' cannot be specified as the root element. + MC6010: '{0}:{1}' cannot be specified as the root element. + + + + MC6004: '{0}:{1}' contains '{2}'. '{0}:{1}' can contain only a CDATA or text section. + MC6004: '{0}:{1}' contains '{2}'. '{0}:{1}' can contain only a CDATA or text section. + + + + Started the markup compilation. + Started the markup compilation. + + + + MC6030: {0}="{1}" is not valid. '{0}' event attribute value cannot be a string that is empty or has only white space. + MC6030: {0}="{1}" is not valid. '{0}' event attribute value cannot be a string that is empty or has only white space. + + + + MC6021: {0}:FieldModifier cannot be specified on this tag because it has either no {0}:Name or Name attribute set, or the tag is locally defined and has a Name attribute set, which is not allowed. + MC6021: {0}:FieldModifier cannot be specified on this tag because it has either no {0}:Name or Name attribute set, or the tag is locally defined and has a Name attribute set, which is not allowed. + + + + FileClassifier + FileClassifier + + + + BG1002: File '{0}' cannot be found. + BG1002: File '{0}' cannot be found. + + + + Input file '{0}' is resolved to new relative path '{1}' at directory '{2}'. + Input file '{0}' is resolved to new relative path '{1}' at directory '{2}'. + + + + UM1004: {0} files failed Uid check. + UM1004: {0} files failed Uid check. + + + + Uids valid in {0} files. + Uids valid in {0} files. + + + + Uids removed from {0} files. + Uids removed from {0} files. + + + + Uids updated in {0} files. + Uids updated in {0} files. + + + + Generated BAML file: '{0}'. + Generated BAML file: '{0}'. + + + + Generated code file: '{0}'. + Generated code file: '{0}'. + + + + GetWinFXPath + GetWinFXPath + + + + MC6003: '{0}:{1}' contains '{2}'. '{0}:{1}' cannot contain nested content. + MC6003: '{0}:{1}' contains '{2}'. '{0}:{1}' cannot contain nested content. + + + + UM1006: '{0}' directory does not exist and cannot be created. + UM1006: '{0}' directory does not exist and cannot be created. + + + + InternalTypeHelper class is not required for this project, make file '{0}' empty. + InternalTypeHelper class is not required for this project, make file '{0}' empty. + + + + MC6018: '{0}' class name is not valid for the locally defined XAML root element. + MC6018: '{0}' class name is not valid for the locally defined XAML root element. + + + + MC6019: '{0}' namespace is not valid for the locally defined XAML root element '{1}'. + MC6019: '{0}' namespace is not valid for the locally defined XAML root element '{1}'. + + + + MC6027: {0}:{1}="{2}" is not valid. '{2}' is not a valid {3}class name. + MC6027: {0}:{1}="{2}" is not valid. '{2}' is not a valid {3}class name. + + + + FC1001: The UICulture value '{0}' set in the project file is not valid. + FC1001: The UICulture value '{0}' set in the project file is not valid. + + + + MC4402: Serializer does not support custom BAML serialization operations. + MC4402: Serializer does not support custom BAML serialization operations. + + + + MC4401: Serializer does not support Convert operations. + MC4401: Serializer does not support Convert operations. + + + + MC6029: '{0}' name is not valid in the default namespace '{1}'. Correct the RootNamespace tag value in the project file. + MC6029: '{0}' name is not valid in the default namespace '{1}'. Correct the RootNamespace tag value in the project file. + + + + MC6005: {0}="{1}" is not valid. '{1}' is not a valid event handler method name. Only instance methods on the generated or code-behind class are valid. + MC6005: {0}="{1}" is not valid. '{1}' is not a valid event handler method name. Only instance methods on the generated or code-behind class are valid. + + + + LC1001: Localization comment target property is not valid in string '{0}'. + LC1001: Localization comment target property is not valid in string '{0}'. + + + + LC1002: Localization comment value is not valid for target property '{0}' in string '{1}'. + LC1002: Localization comment value is not valid for target property '{0}' in string '{1}'. + + + + LC1004: Localizability attribute setting '{0}' is not valid. + LC1004: Localizability attribute setting '{0}' is not valid. + + + + MC6001: Markup file is not valid. Specify a source markup file with an .xaml extension. + MC6001: Markup file is not valid. Specify a source markup file with an .xaml extension. + + + + MC6028: {0}:TypeArguments="{1}" is not valid. '{2}' is not a valid type name reference for the generic argument at position '{3}'. + MC6028: {0}:TypeArguments="{1}" is not valid. '{2}' is not a valid type name reference for the generic argument at position '{3}'. + + + + MC3000: '{0}' XML is not valid. + MC3000: '{0}' XML is not valid. + + + + MC6023: Because '{0}' is implemented in the same assembly, you must set the {1}:Name attribute rather than the Name attribute. + MC6023: Because '{0}' is implemented in the same assembly, you must set the {1}:Name attribute rather than the Name attribute. + + + + Input: Local reference markup ApplicationDefinition file is '{0}'. + Input: Local reference markup ApplicationDefinition file is '{0}'. + + + + Generated BAML file: '{0}'. + Generated BAML file: '{0}'. + + + + Input: Local reference markup Page file: '{0}'. + Input: Local reference markup Page file: '{0}'. + + + + MarkupCompilePass1 + MarkupCompilePass1 + + + + MarkupCompilePass2 + MarkupCompilePass2 + + + + MC6012: '{0}' event has a generic event handler delegate type '{1}'. The type parameter '{2}' on '{1}' does not match any type parameters on the containing generic tag '{3}'. + MC6012: '{0}' event has a generic event handler delegate type '{1}'. The type parameter '{2}' on '{1}' does not match any type parameters on the containing generic tag '{3}'. + + + + MergeLocalizationDirectives + MergeLocalizationDirectives + + + + MC6026: '{0}' root element requires a {1}:Class attribute because '{2}' contains a {1}:Code tag. Either remove {1}:Code and its contents, or add a {1}:Class attribute to the root element. + MC6026: '{0}' root element requires a {1}:Class attribute because '{2}' contains a {1}:Code tag. Either remove {1}:Code and its contents, or add a {1}:Class attribute to the root element. + + + + MC6024: '{0}' root element requires a {1}:Class attribute to support event handlers in the XAML file. Either remove the event handler for the {2} event, or add a {1}:Class attribute to the root element. + MC6024: '{0}' root element requires a {1}:Class attribute to support event handlers in the XAML file. Either remove the event handler for the {2} event, or add a {1}:Class attribute to the root element. + + + + MC6025: '{0}' root element is a generic type and requires a {1}:Class attribute to support the {1}:TypeArguments attribute specified on the root element tag. + MC6025: '{0}' root element is a generic type and requires a {1}:Class attribute to support the {1}:TypeArguments attribute specified on the root element tag. + + + + MC6031: {0}:FieldModifier attribute cannot be specified because a {0}:Class attribute is also required to generate a Name field with the specified access modifier. Either add a {0}:Class attribute on the root tag or remove the {0}:FieldModifier attribute. + MC6031: {0}:FieldModifier attribute cannot be specified because a {0}:Class attribute is also required to generate a Name field with the specified access modifier. Either add a {0}:Class attribute on the root tag or remove the {0}:FieldModifier attribute. + + + + MC6009: {0}:ClassModifier attribute cannot be specified on the root tag because a {0}:Class attribute is also required. Either add a {0}:Class attribute or remove the {0}:ClassModifier attribute. + MC6009: {0}:ClassModifier attribute cannot be specified on the root tag because a {0}:Class attribute is also required. Either add a {0}:Class attribute or remove the {0}:ClassModifier attribute. + + + + MC6016: {0}:Class attribute is missing. It is required when a {0}:Subclass attribute is specified. + MC6016: {0}:Class attribute is missing. It is required when a {0}:Subclass attribute is specified. + + + + RG1002: ResourcesGenerator can generate only one .resources file at a time. The OutputResourcesFile property in the project file must be set to one file. + RG1002: ResourcesGenerator can generate only one .resources file at a time. The OutputResourcesFile property in the project file must be set to one file. + + + + MC1004: Project file cannot specify more than one SplashScreen element. + MC1004: Project file cannot specify more than one SplashScreen element. + + + + UM1002: Uid "{0}" for element '{1}' is not unique. + UM1002: Uid "{0}" for element '{1}' is not unique. + + + + MC1003: Project file cannot specify more than one ApplicationDefinition element. + MC1003: Project file cannot specify more than one ApplicationDefinition element. + + + + A '{0}' is named '{1}'. Do not name ResourceDictionary contents because their instantiation is deferred. + A '{0}' is named '{1}'. Do not name ResourceDictionary contents because their instantiation is deferred. + + + + BG1001: Unknown CLS exception. + BG1001: Unknown CLS exception. + + + + OutputType is '{0}'. + OutputType is '{0}'. + + + + MC3001: TypeConverter syntax error encountered while processing initialization string '{0}'. Property elements are not allowed on objects created via TypeConverter. + MC3001: TypeConverter syntax error encountered while processing initialization string '{0}'. Property elements are not allowed on objects created via TypeConverter. + + + + MC3099: Cannot load assembly '{0}' because a different version of that same assembly is loaded '{1}'. + MC3099: Cannot load assembly '{0}' because a different version of that same assembly is loaded '{1}'. + + + + MC3002: The AsyncRecords attribute must be set on the root tag. + MC3002: The AsyncRecords attribute must be set on the root tag. + + + + MC3015: The attached property '{0}' is not defined on '{1}' or one of its base classes. + MC3015: The attached property '{0}' is not defined on '{1}' or one of its base classes. + + + + MC3003: There are too many attributes specified for '{0}'. + MC3003: There are too many attributes specified for '{0}'. + + + + MC3004: There are not enough attributes specified for '{0}'. + MC3004: There are not enough attributes specified for '{0}'. + + + + MC3005: The property '{0}' must be in the default namespace or in the element namespace '{1}'. + MC3005: The property '{0}' must be in the default namespace or in the element namespace '{1}'. + + + + MC3006: Mapper.SetAssemblyPath cannot accept an empty assemblyName. + MC3006: Mapper.SetAssemblyPath cannot accept an empty assemblyName. + + + + MC3007: Mapper.SetAssemblyPath cannot accept an empty assemblyPath. + MC3007: Mapper.SetAssemblyPath cannot accept an empty assemblyPath. + + + + MC3008: An element of type '{0}' cannot be set on the complex property '{1}'. They are not compatible types. + MC3008: An element of type '{0}' cannot be set on the complex property '{1}'. They are not compatible types. + + + + MC3009: Cannot find a public constructor for '{0}' that takes {1} arguments. + MC3009: Cannot find a public constructor for '{0}' that takes {1} arguments. + + + + MC3012: A key for a dictionary cannot be of type '{0}'. Only String, TypeExtension, and StaticExtension are supported. + MC3012: A key for a dictionary cannot be of type '{0}'. Only String, TypeExtension, and StaticExtension are supported. + + + + MC3029: '{0}' member is not valid because it does not have a qualifying type name. + MC3029: '{0}' member is not valid because it does not have a qualifying type name. + + + + MC3010: '{0}' Name property value is not valid. Name must start with a letter or an underscore and can contain only letters, digits, and underscores. + MC3010: '{0}' Name property value is not valid. Name must start with a letter or an underscore and can contain only letters, digits, and underscores. + + + + MC3094: Cannot convert string value '{0}' to type '{1}'. + MC3094: Cannot convert string value '{0}' to type '{1}'. + + + + MC3013: SynchronousMode property value is not valid. Valid values are Async and Sync. + MC3013: SynchronousMode property value is not valid. Valid values are Async and Sync. + + + + MC3014: The object being added to an array property is not a valid type. The array is of type '{0}' but the object being added is of type '{1}'. + MC3014: The object being added to an array property is not a valid type. The array is of type '{0}' but the object being added is of type '{1}'. + + + + MC3079: MarkupExtensions are not allowed for Uid or Name property values, so '{0}' is not valid. + MC3079: MarkupExtensions are not allowed for Uid or Name property values, so '{0}' is not valid. + + + + MC3089: The object '{0}' already has a child and cannot add '{1}'. '{0}' can accept only one child. + MC3089: The object '{0}' already has a child and cannot add '{1}'. '{0}' can accept only one child. + + + + MC3028: Cannot add content to object of type '{0}'. + MC3028: Cannot add content to object of type '{0}'. + + + + MC3081: '{0}' is a read-only property of type IList or IDictionary and cannot be set because it does not have a public or internal get accessor. + MC3081: '{0}' is a read-only property of type IList or IDictionary and cannot be set because it does not have a public or internal get accessor. + + + + MC3080: The {0} '{1}' cannot be set because it does not have an accessible {2} accessor. + MC3080: The {0} '{1}' cannot be set because it does not have an accessible {2} accessor. + + + + MC3087: Cannot set content property '{0}' on element '{1}'. '{0}' has incorrect access level or its assembly does not allow access. + MC3087: Cannot set content property '{0}' on element '{1}'. '{0}' has incorrect access level or its assembly does not allow access. + + + + MC3082: '{0}' cannot be set as the value of a Trigger's Property attribute because it does not have a public or internal get accessor. + MC3082: '{0}' cannot be set as the value of a Trigger's Property attribute because it does not have a public or internal get accessor. + + + + MC3016: Two new namespaces cannot be compatible with the same old namespace using an XmlnsCompatibility attribute.�'{0}' namespace is already marked compatible with '{1}'. + MC3016: Two new namespaces cannot be compatible with the same old namespace using an XmlnsCompatibility attribute.�'{0}' namespace is already marked compatible with '{1}'. + + + + MC3088: Property elements cannot be in the middle of an element's content. They must be before or after the content. + MC3088: Property elements cannot be in the middle of an element's content. They must be before or after the content. + + + + MC3017: 'Code' tag from xaml namespace found in XAML file. To load this file, you must compile it. + MC3017: 'Code' tag from xaml namespace found in XAML file. To load this file, you must compile it. + + + + MC3061: The Element type '{0}' does not have an associated TypeConverter to parse the string '{1}'. + MC3061: The Element type '{0}' does not have an associated TypeConverter to parse the string '{1}'. + + + + MC3018: Cannot modify data in a sealed XmlnsDictionary. + MC3018: Cannot modify data in a sealed XmlnsDictionary. + + + + MC3020: The dictionary key '{0}' is already used. Key attributes are used as keys when inserting objects into a dictionary and must be unique. + MC3020: The dictionary key '{0}' is already used. Key attributes are used as keys when inserting objects into a dictionary and must be unique. + + + + MC3033: The property '{0}' has already been set on this markup extension and can only be set once. + MC3033: The property '{0}' has already been set on this markup extension and can only be set once. + + + + MC3024: '{0}' property has already been set and can be set only once. + MC3024: '{0}' property has already been set and can be set only once. + + + + MC3025: Property '{0}' and '{1}' refer to the same property. Duplicate property settings are not allowed. + MC3025: Property '{0}' and '{1}' refer to the same property. Duplicate property settings are not allowed. + + + + MC3026: '{0}' property element cannot be empty. It must contain child elements or text. + MC3026: '{0}' property element cannot be empty. It must contain child elements or text. + + + + MC3027: The EntityReference &{0}; is not recognized. + MC3027: The EntityReference &{0}; is not recognized. + + + + MC3083: Cannot access the delegate type '{0}' for the '{1}' event. '{0}' has incorrect access level or its assembly does not allow access. + MC3083: Cannot access the delegate type '{0}' for the '{1}' event. '{0}' has incorrect access level or its assembly does not allow access. + + + + MC3030: '{0}' property is a read-only IEnumerable property, which means that '{1}' must implement IAddChild. + MC3030: '{0}' property is a read-only IEnumerable property, which means that '{1}' must implement IAddChild. + + + + MC3078: Invalid ContentPropertyAttribute on type '{0}', property '{1}' not found. + MC3078: Invalid ContentPropertyAttribute on type '{0}', property '{1}' not found. + + + + Known type value {0}='{1}' is not a valid known type. + Known type value {0}='{1}' is not a valid known type. + + + + MC3011: Cannot find the static member '{0}' on the type '{1}'. + MC3011: Cannot find the static member '{0}' on the type '{1}'. + + + + MC3031: Keys and values in XmlnsDictionary must be strings. + MC3031: Keys and values in XmlnsDictionary must be strings. + + + + Line {0} Position {1} + Line {0} Position {1} + + + + MC3037: Missing XmlNamespace, Assembly or ClrNamespace in Mapping instruction. + MC3037: Missing XmlNamespace, Assembly or ClrNamespace in Mapping instruction. + + + + '{0}' mapping URI is not valid. + '{0}' mapping URI is not valid. + + + + MC3040: Format is not valid for MarkupExtension that specifies constructor arguments in '{0}'. + MC3040: Format is not valid for MarkupExtension that specifies constructor arguments in '{0}'. + + + + MC3041: Markup extensions require a single '=' between name and value, and a single ',' between constructor parameters and name/value pairs. The arguments '{0}' are not valid. + MC3041: Markup extensions require a single '=' between name and value, and a single ',' between constructor parameters and name/value pairs. The arguments '{0}' are not valid. + + + + MC3091: '{0}' is not valid. Markup extensions require only spaces between the markup extension name and the first parameter. Cannot have comma or equals sign before the first parameter. + MC3091: '{0}' is not valid. Markup extensions require only spaces between the markup extension name and the first parameter. Cannot have comma or equals sign before the first parameter. + + + + MC8001: Encountered a closing BracketCharacter '{0}' at Line Number '{1}' and Line Position '{2}' without a corresponding opening BracketCharacter. + MC8001: Encountered a closing BracketCharacter '{0}' at Line Number '{1}' and Line Position '{2}' without a corresponding opening BracketCharacter. + + + + MC8002: BracketCharacter '{0}' at Line Number '{1}' and Line Position '{2}' does not have a corresponding opening/closing BracketCharacter. + MC8002: BracketCharacter '{0}' at Line Number '{1}' and Line Position '{2}' does not have a corresponding opening/closing BracketCharacter. + + + + MC3038: MarkupExtension expressions must end with a '}'. + MC3038: MarkupExtension expressions must end with a '}'. + + + + MC3042: Name/value pairs in MarkupExtensions must have the format 'Name = Value' and each pair is separated by a comma. '{0}' does not follow this format. + MC3042: Name/value pairs in MarkupExtensions must have the format 'Name = Value' and each pair is separated by a comma. '{0}' does not follow this format. + + + + MC3043: Names and Values in a MarkupExtension cannot contain quotes. The MarkupExtension arguments '{0}' are not valid. + MC3043: Names and Values in a MarkupExtension cannot contain quotes. The MarkupExtension arguments '{0}' are not valid. + + + + MC3044: The text '{1}' is not allowed after the closing '{0}' of a MarkupExtension expression. + MC3044: The text '{1}' is not allowed after the closing '{0}' of a MarkupExtension expression. + + + + MC3045: Unknown property '{0}' for type '{1}' encountered while parsing a Markup Extension. + MC3045: Unknown property '{0}' for type '{1}' encountered while parsing a Markup Extension. + + + + MC3046: Unknown attribute '{0}' in the '{1}' namespace. Note that only the Key attribute is currently supported in this namespace. + MC3046: Unknown attribute '{0}' in the '{1}' namespace. Note that only the Key attribute is currently supported in this namespace. + + + + MC3047: Internal parser error - Cannot use multiple writable BAML records at the same time. + MC3047: Internal parser error - Cannot use multiple writable BAML records at the same time. + + + + '{0}' property element cannot be nested directly inside another property element. + '{0}' property element cannot be nested directly inside another property element. + + + + MC3049: Cannot place attributes on Array tags. + MC3049: Cannot place attributes on Array tags. + + + + MC3021: Asynchronous loading is not supported when compiling a XAML file, so a SynchronousMode of '{0}' is not allowed. + MC3021: Asynchronous loading is not supported when compiling a XAML file, so a SynchronousMode of '{0}' is not allowed. + + + + MC3051: The type '{0}' does not support element content. + MC3051: The type '{0}' does not support element content. + + + + MC3022: All objects added to an IDictionary must have a Key attribute or some other type of key associated with them. + MC3022: All objects added to an IDictionary must have a Key attribute or some other type of key associated with them. + + + + MC3023: The Key attribute can only be used on a tag contained in a Dictionary (such as a ResourceDictionary). + MC3023: The Key attribute can only be used on a tag contained in a Dictionary (such as a ResourceDictionary). + + + + MC3032: '{1}' cannot be used as a value for '{0}'. Numbers are not valid enumeration values. + MC3032: '{1}' cannot be used as a value for '{0}'. Numbers are not valid enumeration values. + + + + MC3053: Cannot use property element syntax to specify event handler '{0}'. + MC3053: Cannot use property element syntax to specify event handler '{0}'. + + + + MC3052: XAML file that contains events must be compiled. + MC3052: XAML file that contains events must be compiled. + + + + MC3054: The type '{0}' cannot have a Name attribute. Value types and types without a default constructor can be used as items within a ResourceDictionary. + MC3054: The type '{0}' cannot have a Name attribute. Value types and types without a default constructor can be used as items within a ResourceDictionary. + + + + MC3093: Cannot set Name attribute value '{0}' on element '{1}'. '{1}' is under the scope of element '{2}', which already had a name registered when it was defined in another scope. + MC3093: Cannot set Name attribute value '{0}' on element '{1}'. '{1}' is under the scope of element '{2}', which already had a name registered when it was defined in another scope. + + + + MC3056: No NamespaceURI is defined for the object '{0}'. + MC3056: No NamespaceURI is defined for the object '{0}'. + + + + MC3084: Cannot nest XML data islands. + MC3084: Cannot nest XML data islands. + + + + MC3057: Cannot set properties on property elements. + MC3057: Cannot set properties on property elements. + + + + MC3058: Cannot find a custom serializer for '{0}' so it cannot be parsed. + MC3058: Cannot find a custom serializer for '{0}' so it cannot be parsed. + + + + MC3059: Style setters do not support child elements. A tag of type '{0}' is not allowed. + MC3059: Style setters do not support child elements. A tag of type '{0}' is not allowed. + + + + MC3050: Cannot find the type '{0}'. Note that type names are case sensitive. + MC3050: Cannot find the type '{0}'. Note that type names are case sensitive. + + + + MC3048: '{0}' value is not a valid MarkupExtension expression. Cannot resolve '{1}' in namespace '{2}'. '{1}' must be a subclass of MarkupExtension. + MC3048: '{0}' value is not a valid MarkupExtension expression. Cannot resolve '{1}' in namespace '{2}'. '{1}' must be a subclass of MarkupExtension. + + + + MC3062: '{0}' XML namespace prefix does not map to a NamespaceURI, so element '{1}' cannot be resolved. + MC3062: '{0}' XML namespace prefix does not map to a NamespaceURI, so element '{1}' cannot be resolved. + + + + MC3100: '{0}' XML namespace prefix does not map to a namespace URI, so cannot resolve property '{1}'. + MC3100: '{0}' XML namespace prefix does not map to a namespace URI, so cannot resolve property '{1}'. + + + + MC3063: Property '{0}' does not have a value. + MC3063: Property '{0}' does not have a value. + + + + MC3064: Only public or internal classes can be used within markup. '{0}' type is not public or internal. + MC3064: Only public or internal classes can be used within markup. '{0}' type is not public or internal. + + + + MC3065: '{0}' property is read-only and cannot be set from markup. + MC3065: '{0}' property is read-only and cannot be set from markup. + + + + MC3066: The type reference cannot find a public type named '{0}'. + MC3066: The type reference cannot find a public type named '{0}'. + + + + MC3019: Cannot reference the static member '{0}' on the type '{1}' as it is not accessible. + MC3019: Cannot reference the static member '{0}' on the type '{1}' as it is not accessible. + + + + MC3067: SynchronousMode attribute must be on the root tag. + MC3067: SynchronousMode attribute must be on the root tag. + + + + MC3069: Cannot have both the text '{0}' and the child element '{1}' within a property element. + MC3069: Cannot have both the text '{0}' and the child element '{1}' within a property element. + + + + MC3068: Text is not valid under an IDictionary or Array property. + MC3068: Text is not valid under an IDictionary or Array property. + + + + MC3070: A single XAML file cannot reference more than 4,096 different assemblies. + MC3070: A single XAML file cannot reference more than 4,096 different assemblies. + + + + MC3095: Close tag must immediately follow TypeConverter initialization string '{0}'. + MC3095: Close tag must immediately follow TypeConverter initialization string '{0}'. + + + + MC3090: TypeConverter syntax error encountered while processing initialization string '{0}'. Element attributes are not allowed on objects created via TypeConverter. + MC3090: TypeConverter syntax error encountered while processing initialization string '{0}'. Element attributes are not allowed on objects created via TypeConverter. + + + + MC3071: '{0}' is an undeclared namespace. + MC3071: '{0}' is an undeclared namespace. + + + + MC3072: The property '{0}' does not exist in XML namespace '{1}'. + MC3072: The property '{0}' does not exist in XML namespace '{1}'. + + + + MC3073: The attribute '{0}' does not exist in XML namespace 'http://schemas.microsoft.com/winfx/2006/xaml'. + MC3073: The attribute '{0}' does not exist in XML namespace 'http://schemas.microsoft.com/winfx/2006/xaml'. + + + + MC3074: The tag '{0}' does not exist in XML namespace '{1}'. + MC3074: The tag '{0}' does not exist in XML namespace '{1}'. + + + + MC3075: Unrecognized XML node type '{0}' found when determining if the current tag is a property element. + MC3075: Unrecognized XML node type '{0}' found when determining if the current tag is a property element. + + + + MC3086: Parent element or property '{0}' requires an XML data island. To distinguish an XML island from surrounding XAML, wrap the XML data island in <x:XData> ... </x:XData>. + MC3086: Parent element or property '{0}' requires an XML data island. To distinguish an XML island from surrounding XAML, wrap the XML data island in <x:XData> ... </x:XData>. + + + + MC3085: '{0}' element or property cannot contain an XML data island. + MC3085: '{0}' element or property cannot contain an XML data island. + + + + MC3092: XmlLangProperty attribute must specify a property name. + MC3092: XmlLangProperty attribute must specify a property name. + + + + MC3077: The class '{0}' does not implement IXmlLineInfo. This is required to get position information for the XAML being parsed. + MC3077: The class '{0}' does not implement IXmlLineInfo. This is required to get position information for the XAML being parsed. + + + + MC3098: Unexpected token '{0}' at position '{1}'. + MC3098: Unexpected token '{0}' at position '{1}'. + + + + MC3096: Token is not valid. + MC3096: Token is not valid. + + + + Preparing for the markup compilation... + Preparing for the markup compilation... + + + + MC4301: Type name '{0}' does not have the expected format 'className, assembly'. + MC4301: Type name '{0}' does not have the expected format 'className, assembly'. + + + + Reading Resource file: '{0}'... + Reading Resource file: '{0}'... + + + + Recompiled XAML file : '{0}'. + Recompiled XAML file : '{0}'. + + + + Input: Assembly Reference file: '{0}'. + Input: Assembly Reference file: '{0}'. + + + + Resource ID is '{0}'. + Resource ID is '{0}'. + + + + RG1001: Input resource file '{0}' exceeds maximum size of {1} bytes. + RG1001: Input resource file '{0}' exceeds maximum size of {1} bytes. + + + + Generated .resources file: '{0}'. + Generated .resources file: '{0}'. + + + + Generating .resources file: '{0}'... + Generating .resources file: '{0}'... + + + + ResourcesGenerator + ResourcesGenerator + + + + MC6006: {0}.{1}="{2}" is not valid. '{1}' must be a RoutedEvent registered with a name that ends with the keyword "Event". + MC6006: {0}.{1}="{2}" is not valid. '{1}' must be a RoutedEvent registered with a name that ends with the keyword "Event". + + + + UM1005: You must pass markup files to the task. + UM1005: You must pass markup files to the task. + + + + MC4110: SourceName property cannot be set within Style.Triggers section. + MC4110: SourceName property cannot be set within Style.Triggers section. + + + + MC4001: Style does not support both {0} tags and Style.{1} property tags for a single Style. Use one or the other. + MC4001: Style does not support both {0} tags and Style.{1} property tags for a single Style. Use one or the other. + + + + MC4002: The Style property tag '{0}' can only be specified directly under a Style tag. + MC4002: The Style property tag '{0}' can only be specified directly under a Style tag. + + + + MC4005: Cannot find the Style {0} '{1}' on the type '{2}'. + MC4005: Cannot find the Style {0} '{1}' on the type '{2}'. + + + + MC4003: Cannot resolve the Style {0} '{1}'. Verify that the owning type is the Style's TargetType, or use Class.Property syntax to specify the {0}. + MC4003: Cannot resolve the Style {0} '{1}'. Verify that the owning type is the Style's TargetType, or use Class.Property syntax to specify the {0}. + + + + MC4004: Style cannot contain child '{0}'. Style child must be a Setter because it is added to the Setters collection. + MC4004: Style cannot contain child '{0}'. Style child must be a Setter because it is added to the Setters collection. + + + + MC4006: Tags of type '{0}' are not supported in Style sections. + MC4006: Tags of type '{0}' are not supported in Style sections. + + + + MC4007: The event '{0}' cannot be specified on a Target tag in a Style. Use an EventSetter instead. + MC4007: The event '{0}' cannot be specified on a Target tag in a Style. Use an EventSetter instead. + + + + MC4008: The text '{0}' is not allowed at this location within a Style section. + MC4008: The text '{0}' is not allowed at this location within a Style section. + + + + MC4009: The property '{0}' cannot be set on Style. + MC4009: The property '{0}' cannot be set on Style. + + + + MC6017: '{0}' cannot be the root of a XAML file because it was defined using XAML. + MC6017: '{0}' cannot be the root of a XAML file because it was defined using XAML. + + + + BG1004: Target Type '{0}' is not supported by this task. + BG1004: Target Type '{0}' is not supported by this task. + + + + MC4011: TargetName property cannot be set on a Style Setter. + MC4011: TargetName property cannot be set on a Style Setter. + + + + + Copyright (C) Microsoft Corporation 2005. All rights reserved. + Copyright (C) Microsoft Corporation 2005. All rights reserved. + + + + MC4101: The Name '{0}' has already been defined. Names must be unique. + MC4101: The Name '{0}' has already been defined. Names must be unique. + + + + MC4108: The root of a Template content section cannot contain an element of type '{0}'. Only FrameworkElement and FrameworkContentElement types are valid. + MC4108: The root of a Template content section cannot contain an element of type '{0}'. Only FrameworkElement and FrameworkContentElement types are valid. + + + + MC4103: The template property tag '{0}' can only be specified immediately after a ControlTemplate tag. + MC4103: The template property tag '{0}' can only be specified immediately after a ControlTemplate tag. + + + + MC4107: A template can have only a single root element. '{0}' is not allowed. + MC4107: A template can have only a single root element. '{0}' is not allowed. + + + + MC4109: Cannot find the Template Property '{0}' on the type '{1}'. + MC4109: Cannot find the Template Property '{0}' on the type '{1}'. + + + + MC4106: Cannot resolve the Template Property '{0}'. Verify that the owning type is the Style's TargetType, or use Class.Property syntax to specify the property. + MC4106: Cannot resolve the Template Property '{0}'. Verify that the owning type is the Style's TargetType, or use Class.Property syntax to specify the property. + + + + MC4111: Cannot find the Trigger target '{0}'. (The target must appear before any Setters, Triggers, or Conditions that use it.) + MC4111: Cannot find the Trigger target '{0}'. (The target must appear before any Setters, Triggers, or Conditions that use it.) + + + + MC4102: Tags of type '{0}' are not supported in template sections. + MC4102: Tags of type '{0}' are not supported in template sections. + + + + MC4105: The text '{0}' is not allowed at this location within a template section. + MC4105: The text '{0}' is not allowed at this location within a template section. + + + + MC4104: The property '{0}' cannot be set as a property element on template. Only Triggers and Storyboards are allowed as property elements. + MC4104: The property '{0}' cannot be set as a property element on template. Only Triggers and Storyboards are allowed as property elements. + + + + MC7004: Empty token encountered while parsing. + MC7004: Empty token encountered while parsing. + + + + MC7003: Extra data encountered after token while parsing. + MC7003: Extra data encountered after token while parsing. + + + + MC7002: Missing end quote encountered while parsing token. + MC7002: Missing end quote encountered while parsing token. + + + + MC7001: Premature string termination encountered. + MC7001: Premature string termination encountered. + + + + UidManager + UidManager + + + + UM1003: Uid is missing for element '{0}'. + UM1003: Uid is missing for element '{0}'. + + + + Unknown build error, '{0}' + Unknown build error, '{0}' + + + + MC6013: {0}:ClassModifier="{1}" is not valid for the language {2}. + MC6013: {0}:ClassModifier="{1}" is not valid for the language {2}. + + + + MC6002: Unrecognized tag '{0}:{1}' in namespace 'http://schemas.microsoft.com/winfx/2006/xaml'. Note that tag names are case sensitive. + MC6002: Unrecognized tag '{0}:{1}' in namespace 'http://schemas.microsoft.com/winfx/2006/xaml'. Note that tag names are case sensitive. + + + + MC6007: '{1}' is not valid. '{0}' is not an event on '{2}'. + MC6007: '{1}' is not valid. '{0}' is not an event on '{2}'. + + + + MC6014: {0}:FieldModifier="{1}" is not valid for the language {2}. + MC6014: {0}:FieldModifier="{1}" is not valid for the language {2}. + + + + MC6020: {0}:TypeArguments='{1}' is not valid on the tag '{2}'. Either '{2}' is not a generic type or the number of Type arguments in the attribute is wrong. Remove the {0}:TypeArguments attribute because it is allowed only on generic types, or fix its value to match the arity of the generic type '{2}'. + MC6020: {0}:TypeArguments='{1}' is not valid on the tag '{2}'. Either '{2}' is not a generic type or the number of Type arguments in the attribute is wrong. Remove the {0}:TypeArguments attribute because it is allowed only on generic types, or fix its value to match the arity of the generic type '{2}'. + + + + MC6008: '{0}' is not installed properly on this machine. It must be listed in the <compilers> section of machine.config. + MC6008: '{0}' is not installed properly on this machine. It must be listed in the <compilers> section of machine.config. + + + + Unknown path operation attempted. + Unknown path operation attempted. + + + + LC1003: Localization comment has no value set for target property: '{0}'. + LC1003: Localization comment has no value set for target property: '{0}'. + + + + UpdateManifestForBrowserApplication + UpdateManifestForBrowserApplication + + + + MC4501: Major and minor version number components cannot be negative. + MC4501: Major and minor version number components cannot be negative. + + + + MC6000: Project file must include the .NET Framework assembly '{0}' in the reference list. + MC6000: Project file must include the .NET Framework assembly '{0}' in the reference list. + + + + MC1001: The LocalizationDirectivesToLocFile property value is not valid and must be changed to None, CommentsOnly, or All for the MarkupCompilePass1 task. + MC1001: The LocalizationDirectivesToLocFile property value is not valid and must be changed to None, CommentsOnly, or All for the MarkupCompilePass1 task. + + + + BG1003: The project file contains a property value that is not valid. + BG1003: The project file contains a property value that is not valid. + + + + MC4602: Choice cannot follow a Fallback. + MC4602: Choice cannot follow a Fallback. + + + + MC4606: AlternateContent must contain one or more Choice elements. + MC4606: AlternateContent must contain one or more Choice elements. + + + + MC4601: Choice valid only in AlternateContent. + MC4601: Choice valid only in AlternateContent. + + + + MC4640: Namespace '{0}' is marked as compatible with itself using XmlnsCompatibilityAttribute. A namespace cannot directly or indirectly override itself. + MC4640: Namespace '{0}' is marked as compatible with itself using XmlnsCompatibilityAttribute. A namespace cannot directly or indirectly override itself. + + + + MC4631: Duplicate Preserve declaration for element '{1}' in namespace '{0}'. + MC4631: Duplicate Preserve declaration for element '{1}' in namespace '{0}'. + + + + MC4617: Duplicate ProcessContent declaration for element '{1}' in namespace '{0}'. + MC4617: Duplicate ProcessContent declaration for element '{1}' in namespace '{0}'. + + + + MC4633: Duplicate wildcard Preserve declaration for namespace '{0}'. + MC4633: Duplicate wildcard Preserve declaration for namespace '{0}'. + + + + MC4619: Duplicate wildcard ProcessContent declaration for namespace '{0}'. + MC4619: Duplicate wildcard ProcessContent declaration for namespace '{0}'. + + + + MC4605: Fallback valid only in AlternateContent. + MC4605: Fallback valid only in AlternateContent. + + + + MC4610: '{0}' element is not a valid child of AlternateContent. Only Choice and Fallback elements are valid children of an AlternateContent element. + MC4610: '{0}' element is not a valid child of AlternateContent. Only Choice and Fallback elements are valid children of an AlternateContent element. + + + + MC4608: '{0}' attribute is not valid for element '{1}'. + MC4608: '{0}' attribute is not valid for element '{1}'. + + + + MC4611: '{0}' format is not valid. + MC4611: '{0}' format is not valid. + + + + MC4632: Cannot have both a specific and a wildcard Preserve declaration for namespace '{0}'. + MC4632: Cannot have both a specific and a wildcard Preserve declaration for namespace '{0}'. + + + + MC4618: Cannot have both a specific and a wildcard ProcessContent declaration for namespace '{0}'. + MC4618: Cannot have both a specific and a wildcard ProcessContent declaration for namespace '{0}'. + + + + MC4604: Requires attribute must contain a valid namespace prefix. + MC4604: Requires attribute must contain a valid namespace prefix. + + + + MC4634: '{0}' attribute value is not a valid XML name. + MC4634: '{0}' attribute value is not a valid XML name. + + + + MC4607: AlternateContent must contain only one Fallback element. + MC4607: AlternateContent must contain only one Fallback element. + + + + MC4626: MustUnderstand condition failed on namespace '{0}'. + MC4626: MustUnderstand condition failed on namespace '{0}'. + + + + MC4630: Namespace '{0}' has items declared to be preserved but is not declared ignorable. + MC4630: Namespace '{0}' has items declared to be preserved but is not declared ignorable. + + + + MC4615: '{0}' namespace is declared ProcessContent but is not declared Ignorable. + MC4615: '{0}' namespace is declared ProcessContent but is not declared Ignorable. + + + + MC4603: Choice must contain a Requires attribute. + MC4603: Choice must contain a Requires attribute. + + + + MC4612: '{0}' prefix is not defined. + MC4612: '{0}' prefix is not defined. + + + + MC4614: Unrecognized compatibility attribute '{0}'. + MC4614: Unrecognized compatibility attribute '{0}'. + + + + MC4609: Unrecognized compatibility element '{0}'. + MC4609: Unrecognized compatibility element '{0}'. + + + + MC4502: The feature ID string cannot have length 0. + MC4502: The feature ID string cannot have length 0. + + + + + \ No newline at end of file diff --git a/src/Microsoft.DotNet.Wpf/src/PresentationBuildTasks/Resources/xlf/Strings.de.xlf b/src/Microsoft.DotNet.Wpf/src/PresentationBuildTasks/Resources/xlf/Strings.de.xlf new file mode 100644 index 00000000000..86cf0e724d2 --- /dev/null +++ b/src/Microsoft.DotNet.Wpf/src/PresentationBuildTasks/Resources/xlf/Strings.de.xlf @@ -0,0 +1,1242 @@ + + + + + + Analysis Result : '{0}'. + Analyseergebnis: {0}. + + + + MC1002: Library project file cannot specify ApplicationDefinition element. + MC1002: ApplicationDefinition-Element kann von Bibliotheksprojektdatei nicht angegeben werden. + + + + Input: Markup ApplicationDefinition file: '{0}'. + Eingabe: Markup ApplicationDefinition-Datei: "{0}". + + + + MC6015: '{0}' cannot be set on the '{1}:{2}' tag. + MC6015: "{0}" kann nicht für das "{1}:{2}"-Tag festgelegt werden. + + + + UM1001: Unrecognized UidManager task name '{0}'. + UM1001: Unbekannter UidManager-Aufgabenname "{0}". + + + + Checking Uids in file '{0}' ... + Uids in Datei "{0}" werden geprüft... + + + + Generated localization directives file: '{0}' . + Lokalisierungsdirektivendatei wurde generiert: "{0}". + + + + Generating localization directives file: '{0}' ... + Lokalisierungsdirektivendatei wird generiert: "{0}"... + + + + Markup compilation is done. + Markupkompilierung abgeschlossen. + + + + MarkupCompilePass1 successfully generated BAML or source code files. + BAML- oder Quellcodedateien wurden erfolgreich von "MarkupCompilePass1" generiert. + + + + MarkupCompilePass2 successfully generated BAML or source code files. + BAML- oder Quellcodedateien wurden erfolgreich von "MarkupCompilePass2" generiert. + + + + MC6011: '{0}' event has a generic event handler delegate type '{1}'. The type parameters of '{1}' cannot be bound with an appropriate type argument because the containing tag '{2}' is not a generic type. + MC6011: Ereignis "{0}" besitzt den generischen Ereignishandler-Delegattyp "{1}". Die Typparameter von "{1}" können nicht an ein geeignetes Typargument gebunden werden, da es sich bei dem enthaltenen Tag "{2}" nicht um ein generisches Tag handelt. + + + + Current project directory is '{0}'. + Aktuelles Projektverzeichnis: "{0}". + + + + MC6022: Only a root tag can specify attribute '{0}:{1}'. + MC6022: Nur ein Stammtag kann Attribut "{0}:{1}" angeben. + + + + MC6010: '{0}:{1}' cannot be specified as the root element. + MC6010: "{0}:{1}" kann nicht als Stammelement angegeben werden. + + + + MC6004: '{0}:{1}' contains '{2}'. '{0}:{1}' can contain only a CDATA or text section. + MC6004: "{0}:{1}" enthält "{2}". "{0}:{1}" kann nur einen CDATA- oder einen Textabschnitt enthalten. + + + + Started the markup compilation. + Markupkompilierung wurde gestartet. + + + + MC6030: {0}="{1}" is not valid. '{0}' event attribute value cannot be a string that is empty or has only white space. + MC6030: {0}="{1}" ist ungültig. Der Wert des Ereignisattributs "{0}" darf keine leere Zeichenfolge sein oder nur Leerzeichen enthalten. + + + + MC6021: {0}:FieldModifier cannot be specified on this tag because it has either no {0}:Name or Name attribute set, or the tag is locally defined and has a Name attribute set, which is not allowed. + MC6021: "{0}:FieldModifier" kann nicht für dieses Tag angegeben werden, da entweder kein "{0}:Name" oder Name-Attribut festgelegt ist, oder da das Tag lokal definiert wurde und ein nicht zulässiges Name-Attribut besitzt. + + + + FileClassifier + FileClassifier + + + + BG1002: File '{0}' cannot be found. + BG1002: Die Datei "{0}" wurde nicht gefunden. + + + + Input file '{0}' is resolved to new relative path '{1}' at directory '{2}'. + Die Eingabedatei "{0}" wurde zu einem neuen relativen Pfad "{1}" im Verzeichnis "{2}" aufgelöst. + + + + UM1004: {0} files failed Uid check. + UM1004: Fehler bei der Uid-Prüfung von {0} Dateien. + + + + Uids valid in {0} files. + Uids gültig in {0} Dateien. + + + + Uids removed from {0} files. + Uids entfernt aus {0} Dateien. + + + + Uids updated in {0} files. + Uids aktualisiert in {0} Dateien. + + + + Generated BAML file: '{0}'. + BAML-Datei wurde generiert: "{0}". + + + + Generated code file: '{0}'. + Codedatei wurde generiert: "{0}". + + + + GetWinFXPath + GetWinFXPath + + + + MC6003: '{0}:{1}' contains '{2}'. '{0}:{1}' cannot contain nested content. + MC6003: "{0}:{1}" enthält "{2}". "{0}:{1}" darf keine geschachtelten Inhalte enthalten. + + + + UM1006: '{0}' directory does not exist and cannot be created. + UM1006: Das Verzeichnis "{0}" ist nicht vorhanden und kann nicht erstellt werden. + + + + InternalTypeHelper class is not required for this project, make file '{0}' empty. + Die InternalTypeHelper-Klasse ist für dieses Projekt nicht erforderlich, leeren Sie die Datei "{0}". + + + + MC6018: '{0}' class name is not valid for the locally defined XAML root element. + MC6018: Klassenname "{0}" ist für das lokal definierte XAML-Stammelement ungültig. + + + + MC6019: '{0}' namespace is not valid for the locally defined XAML root element '{1}'. + MC6019: Namespace "{0}" ist für das lokal definierte XAML-Stammelement "{1}" ungültig. + + + + MC6027: {0}:{1}="{2}" is not valid. '{2}' is not a valid {3}class name. + MC6027: {0}:{1}="{2}" ist ungültig. "{2}" ist kein gültiger {3}-Klassenname. + + + + FC1001: The UICulture value '{0}' set in the project file is not valid. + FC1001: Der in der Projektdatei festgelegte UICulture-Wert "{0}" ist ungültig. + + + + MC4402: Serializer does not support custom BAML serialization operations. + MC4402: Vom Serialisierungsprogramm werden keine benutzerdefinierten BAML-Serialisierungsvorgänge unterstützt. + + + + MC4401: Serializer does not support Convert operations. + MC4401: Vom Serialisierungsprogramm werden keine Convert-Vorgänge unterstützt. + + + + MC6029: '{0}' name is not valid in the default namespace '{1}'. Correct the RootNamespace tag value in the project file. + MC6029: Der Name "{0}" ist im Standardnamespace "{1}" ungültig. Korrigieren Sie in der Projektdatei den RootNamespace-Tagwert. + + + + MC6005: {0}="{1}" is not valid. '{1}' is not a valid event handler method name. Only instance methods on the generated or code-behind class are valid. + MC6005: {0}="{1}" ist ungültig. "{1}" ist kein gültiger Methodenname für den Ereignishandler. Gültig sind nur Instanzmethoden für die generierte Klasse bzw. für die Code-Behind-Klasse. + + + + LC1001: Localization comment target property is not valid in string '{0}'. + LC1001: Die Zieleigenschaft für den Lokalisierungskommentar ist ungültig in der Zeichenfolge "{0}". + + + + LC1002: Localization comment value is not valid for target property '{0}' in string '{1}'. + LC1002: Der Wert des Lokalisierungskommentars ist ungültig für die Zieleigenschaft "{0}" in der Zeichenfolge "{1}". + + + + LC1004: Localizability attribute setting '{0}' is not valid. + LC1004: Die Einstellung "{0}" für das Lokalisierbarkeitsattribut ist ungültig. + + + + MC6001: Markup file is not valid. Specify a source markup file with an .xaml extension. + MC6001: Die Markupdatei ist ungültig. Geben Sie eine Quellmarkupdatei mit der Erweiterung ".xaml" an. + + + + MC6028: {0}:TypeArguments="{1}" is not valid. '{2}' is not a valid type name reference for the generic argument at position '{3}'. + MC6028: {0}:TypeArguments="{1}" ist ungültig. "{2}" ist kein gültiger Typnamenverweis für das generische Argument an Position "{3}". + + + + MC3000: '{0}' XML is not valid. + MC3000: "{0}"- XML ist nicht gültig. + + + + MC6023: Because '{0}' is implemented in the same assembly, you must set the {1}:Name attribute rather than the Name attribute. + MC6023: Da "{0}" in derselben Assembly implementiert ist, muss statt des Name-Attributs das Attribut "{1}:Name" festgelegt werden. + + + + Input: Local reference markup ApplicationDefinition file is '{0}'. + Eingabe: Die lokale Verweismarkupdatei für "ApplicationDefinition" ist "{0}". + + + + Generated BAML file: '{0}'. + BAML-Datei wurde generiert: "{0}". + + + + Input: Local reference markup Page file: '{0}'. + Eingabe: Lokale Verweismarkupdatei für "Page": "{0}". + + + + MarkupCompilePass1 + MarkupCompilePass1 + + + + MarkupCompilePass2 + MarkupCompilePass2 + + + + MC6012: '{0}' event has a generic event handler delegate type '{1}'. The type parameter '{2}' on '{1}' does not match any type parameters on the containing generic tag '{3}'. + MC6012: Ereignis "{0}" besitzt den generischen Ereignishandler-Delegattyp "{1}". Der Typparameter "{2}" für "{1}" entspricht keinem der im generischen Tag "{3}" enthaltenen Typparameter. + + + + MergeLocalizationDirectives + MergeLocalizationDirectives + + + + MC6026: '{0}' root element requires a {1}:Class attribute because '{2}' contains a {1}:Code tag. Either remove {1}:Code and its contents, or add a {1}:Class attribute to the root element. + MC6026: Für das Stammattribut "{0}" ist ein {1}:Class-Attribut erforderlich, da "{2}" ein {1}:Code-Tag enthält. Entfernen Sie entweder {1}:Code und dessen Inhalt, oder fügen Sie dem Stammelement ein {1}:Class-Attribut hinzu. + + + + MC6024: '{0}' root element requires a {1}:Class attribute to support event handlers in the XAML file. Either remove the event handler for the {2} event, or add a {1}:Class attribute to the root element. + MC6024: Für das Stammelement "{0}" ist ein {1}:Class-Attribut erforderlich, damit Ereignishandler in der XAML-Datei unterstützt werden. Entfernen Sie entweder den Ereignishandler für das {2}-Ereignis, oder fügen Sie dem Stammelement ein {1}:Class-Attribut hinzu. + + + + MC6025: '{0}' root element is a generic type and requires a {1}:Class attribute to support the {1}:TypeArguments attribute specified on the root element tag. + MC6025: Das Stammelement "{0}" ist ein generischer Typ und erfordert ein {1}:Class-Attribut, damit das für das Stammelementtag angegebene {1}:TypeArguments-Attribut unterstützt wird. + + + + MC6031: {0}:FieldModifier attribute cannot be specified because a {0}:Class attribute is also required to generate a Name field with the specified access modifier. Either add a {0}:Class attribute on the root tag or remove the {0}:FieldModifier attribute. + MC6031: Das {0}:FieldModifier-Attribut kann nicht angegeben werden, da zum Generieren eines Namensfeldes mit dem angegebenen Zugriffsmodifizierer auch ein {0}:Class-Attribut erforderlich ist. Fügen Sie für das Stammtag entweder ein {0}:Class-Attribut hinzu, oder entfernen Sie das {0}:FieldModifier-Attribut. + + + + MC6009: {0}:ClassModifier attribute cannot be specified on the root tag because a {0}:Class attribute is also required. Either add a {0}:Class attribute or remove the {0}:ClassModifier attribute. + MC6009: Das {0}:ClassModifier-Attribut kann für das Stammtag nicht angegeben werden, da auch ein {0}:Class-Attribut erforderlich ist. Fügen Sie entweder ein {0}:Class-Attribut hinzu, oder entfernen Sie das {0}:ClassModifier-Attribut. + + + + MC6016: {0}:Class attribute is missing. It is required when a {0}:Subclass attribute is specified. + MC6016: Fehlendes {0}:Class-Attribut. Das Attribut ist erforderlich, wenn ein {0}:Subclass-Attribut angegeben ist. + + + + RG1002: ResourcesGenerator can generate only one .resources file at a time. The OutputResourcesFile property in the project file must be set to one file. + RG1002: Von "ResourcesGenerator" kann immer nur eine .resources-Datei gleichzeitig generiert werden. Die OutputResourcesFile-Eigenschaft in der Projektdatei muss auf eine Datei festgelegt sein. + + + + MC1004: Project file cannot specify more than one SplashScreen element. + MC1004: In der Projektdatei kann nur ein SplashScreen-Element angegeben werden. + + + + UM1002: Uid "{0}" for element '{1}' is not unique. + UM1002: Die Uid "{0}" für das Element "{1}" ist nicht eindeutig. + + + + MC1003: Project file cannot specify more than one ApplicationDefinition element. + MC1003: Von der Projektdatei kann höchstens ein ApplicationDefinition-Element angegeben werden. + + + + A '{0}' is named '{1}'. Do not name ResourceDictionary contents because their instantiation is deferred. + Ein "{0}" hat den Namen "{1}". Benennen Sie ResourceDictionary-Inhalte nicht, da ihre Instanziierung zurückgestellt wird. + + + + BG1001: Unknown CLS exception. + BG1001: Unbekannte CLS-Ausnahme. + + + + OutputType is '{0}'. + OutputType: "{0}". + + + + MC3001: TypeConverter syntax error encountered while processing initialization string '{0}'. Property elements are not allowed on objects created via TypeConverter. + MC3001: Beim Verarbeiten der Initialisierungszeichenfolge "{0}" ist ein TypeConverter-Syntaxfehler aufgetreten. Eigenschaftselemente sind für Objekte, die über "TypeConverter" erstellt wurden, nicht zulässig. + + + + MC3099: Cannot load assembly '{0}' because a different version of that same assembly is loaded '{1}'. + MC3099: Die Assembly "{0}" kann nicht geladen werden, da eine andere Version der gleichen Assembly "{1}" geladen ist. + + + + MC3002: The AsyncRecords attribute must be set on the root tag. + MC3002: Das AsyncRecords-Attribut muss für das Stammtag festgelegt sein. + + + + MC3015: The attached property '{0}' is not defined on '{1}' or one of its base classes. + MC3015: Die angefügte Eigenschaft "{0}" ist für "{1}" oder eine der Basisklassen nicht definiert. + + + + MC3003: There are too many attributes specified for '{0}'. + MC3003: Für "{0}" wurden zu viele Attribute angegeben. + + + + MC3004: There are not enough attributes specified for '{0}'. + MC3004: Für "{0}" wurden nicht genügend Attribute angegeben. + + + + MC3005: The property '{0}' must be in the default namespace or in the element namespace '{1}'. + MC3005: Die Eigenschaft "{0}" muss sich im Standardnamespace oder im Elementnamespace "{1}" befinden. + + + + MC3006: Mapper.SetAssemblyPath cannot accept an empty assemblyName. + MC3006: Von "Mapper.SetAssemblyPath" kann kein leerer "assemblyName" angenommen werden. + + + + MC3007: Mapper.SetAssemblyPath cannot accept an empty assemblyPath. + MC3007: Von "Mapper.SetAssemblyPath" kann kein leerer "assemblyPath" angenommen werden. + + + + MC3008: An element of type '{0}' cannot be set on the complex property '{1}'. They are not compatible types. + MC3008: Ein Element vom Typ "{0}" kann nicht für die komplexe Eigenschaft "{1}" festgelegt werden, da es sich hierbei um nicht kompatible Typen handelt. + + + + MC3009: Cannot find a public constructor for '{0}' that takes {1} arguments. + MC3009: Es wurde kein Public-Konstruktor für "{0}" gefunden, von dem {1}-Argumente angenommen werden. + + + + MC3012: A key for a dictionary cannot be of type '{0}'. Only String, TypeExtension, and StaticExtension are supported. + MC3012: Wörterbuchschlüssel dürfen nicht vom Typ "{0}" sein. Es werden nur String-, TypeExtension- und StaticExtension-Typen unterstützt. + + + + MC3029: '{0}' member is not valid because it does not have a qualifying type name. + MC3029: Member "{0}" ist nicht gültig, da er nicht über einen qualifizierenden Typnamen verfügt. + + + + MC3010: '{0}' Name property value is not valid. Name must start with a letter or an underscore and can contain only letters, digits, and underscores. + MC3010: Der Wert der Name-Eigenschaft "{0}" ist ungültig. Namen müssen mit einem Buchstaben oder Unterstrich beginnen und dürfen nur Buchstaben, Zahlen und Unterstriche enthalten. + + + + MC3094: Cannot convert string value '{0}' to type '{1}'. + MC3094: Zeichenfolgenwert "{0}" kann nicht in Typ "{1}" konvertiert werden. + + + + MC3013: SynchronousMode property value is not valid. Valid values are Async and Sync. + MC3013: Der Eigenschaftswert für "SynchronousMode" ist ungültig. Gültige Werte sind "Async" und "Sync". + + + + MC3014: The object being added to an array property is not a valid type. The array is of type '{0}' but the object being added is of type '{1}'. + MC3014: Das Objekt, das der Array-Eigenschaft hinzugefügt wird, ist kein gültiger Typ. Das Array ist vom Typ "{0}", das hinzugefügte Objekt ist jedoch vom Typ "{1}". + + + + MC3079: MarkupExtensions are not allowed for Uid or Name property values, so '{0}' is not valid. + MC3079: "MarkupExtensions" sind nicht zulässig für die Eigenschaftswerte "Uid" oder "Name", daher ist "{0}" nicht gültig. + + + + MC3089: The object '{0}' already has a child and cannot add '{1}'. '{0}' can accept only one child. + MC3089: Das Objekt "{0}" besitzt bereits ein untergeordnetes Objekt, weshalb "{1}" nicht hinzugefügt werden kann. Von "{0}" kann nur ein einzelnes untergeordnetes Objekt angenommen werden. + + + + MC3028: Cannot add content to object of type '{0}'. + MC3028: Einem Objekt vom Typ "{0}" kann kein Inhalt hinzugefügt werden. + + + + MC3081: '{0}' is a read-only property of type IList or IDictionary and cannot be set because it does not have a public or internal get accessor. + MC3081: Bei "{0}" handelt es sich um eine schreibgeschützte Eigenschaft vom Typ "IList" oder "IDictionary", die nicht festgelegt werden kann, weil sie über keinen öffentlichen oder internen get-Accessor verfügt. + + + + MC3080: The {0} '{1}' cannot be set because it does not have an accessible {2} accessor. + MC3080: "{0} '{1}'" kann nicht festgelegt werden, da kein {2}-Accessor vorhanden ist, auf den zugegriffen werden kann. + + + + MC3087: Cannot set content property '{0}' on element '{1}'. '{0}' has incorrect access level or its assembly does not allow access. + MC3087: Die Inhaltseigenschaft "{0}" kann nicht für das Element "{1}" festgelegt werden. "{0}" hat eine falsche Zugriffsebene, oder die zugehörige Assembly lässt den Zugriff nicht zu. + + + + MC3082: '{0}' cannot be set as the value of a Trigger's Property attribute because it does not have a public or internal get accessor. + MC3082: "{0}" kann nicht als Wert eines Property-Attributs eines Trigger festgelegt werden, da kein öffentlicher oder interner get-Accessor vorhanden ist. + + + + MC3016: Two new namespaces cannot be compatible with the same old namespace using an XmlnsCompatibility attribute.�'{0}' namespace is already marked compatible with '{1}'. + MC3016: Zwei neue Namespaces können nicht mit demselben früheren Namespace kompatibel sein, wenn dieser ein XmlnsCompatibility-Attribut verwendet.�Der Namespace "{0}" ist bereits als mit "{1}" kompatibel markiert. + + + + MC3088: Property elements cannot be in the middle of an element's content. They must be before or after the content. + MC3088: Eigenschaftselemente dürfen nicht in der Mitte von Elementinhalten enthalten sein, sondern müssen sich vor oder nach dem Inhalt befinden. + + + + MC3017: 'Code' tag from xaml namespace found in XAML file. To load this file, you must compile it. + MC3017: Ein Code-Tag aus dem xaml-Namespace wurde in der XAML-Datei gefunden. Führen Sie zum Öffnen der Datei eine Kompilierung durch. + + + + MC3061: The Element type '{0}' does not have an associated TypeConverter to parse the string '{1}'. + MC3061: Der Elementtyp "{0}" verfügt nicht über einen zugehörigen "TypeConverter", um die Zeichenfolge "{1}" zu analysieren. + + + + MC3018: Cannot modify data in a sealed XmlnsDictionary. + MC3018: Daten in einem versiegelten "XmlnsDictionary" können nicht geändert werden. + + + + MC3020: The dictionary key '{0}' is already used. Key attributes are used as keys when inserting objects into a dictionary and must be unique. + MC3020: Der Wörterbuchschlüssel "{0}" wird bereits verwendet. Key-Attribute werden beim Einfügen von Objekten in das Wörterbuch als Schlüssel verwendet und müssen eindeutig sein. + + + + MC3033: The property '{0}' has already been set on this markup extension and can only be set once. + MC3033: Die Eigenschaft "{0}" wurde für diese Markuperweiterung bereits festgelegt und kann nicht mehrmals festgelegt werden. + + + + MC3024: '{0}' property has already been set and can be set only once. + MC3024: Die Eigenschaft "{0}" wurde bereits festgelegt und kann nicht mehrmals festgelegt werden. + + + + MC3025: Property '{0}' and '{1}' refer to the same property. Duplicate property settings are not allowed. + MC3025: Die Eigenschaften "{0}" und "{1}" verweisen auf dieselbe Eigenschaft. Doppelte Eigenschaftseinstellungen sind nicht zulässig. + + + + MC3026: '{0}' property element cannot be empty. It must contain child elements or text. + MC3026: Das Eigenschaftselement "{0}" darf nicht leer sein. Es muss untergeordnete Elemente oder Text enthalten. + + + + MC3027: The EntityReference &{0}; is not recognized. + MC3027: "EntityReference &{0};" ist unbekannt. + + + + MC3083: Cannot access the delegate type '{0}' for the '{1}' event. '{0}' has incorrect access level or its assembly does not allow access. + MC3083: Auf den Delegattyp "{0}" für das {1}-Ereignis kann nicht zugegriffen werden. "{0}" hat eine falsche Zugriffsebene, oder die zugehörige Assembly lässt den Zugriff nicht zu. + + + + MC3030: '{0}' property is a read-only IEnumerable property, which means that '{1}' must implement IAddChild. + MC3030: Bei der Eigenschaft "{0}" handelt es sich um eine schreibgeschützte IEnumerable-Eigenschaft. Das bedeutet, dass "IAddChild" von "{1}" implementiert werden muss. + + + + MC3078: Invalid ContentPropertyAttribute on type '{0}', property '{1}' not found. + MC3078: "ContentPropertyAttribute" für den Typ "{0}" ist ungültig, die Eigenschaft "{1}" wurde nicht gefunden. + + + + Known type value {0}='{1}' is not a valid known type. + Bekannter Typwert {0}="{1}" ist kein gültiger bekannter Typ. + + + + MC3011: Cannot find the static member '{0}' on the type '{1}'. + MC3011: Der statische Member "{0}" wurde nicht im Typ "{1}" gefunden. + + + + MC3031: Keys and values in XmlnsDictionary must be strings. + MC3031: Bei Schlüsseln und Werten in "XmlnsDictionary" muss es sich um Zeichenfolgen handeln. + + + + Line {0} Position {1} + Zeile {0} Position {1} + + + + MC3037: Missing XmlNamespace, Assembly or ClrNamespace in Mapping instruction. + MC3037: "XmlNamespace", "Assembly" oder "ClrNamespace" fehlt in Mapping-Anweisung. + + + + '{0}' mapping URI is not valid. + Der zuweisende URI "{0}" ist ungültig. + + + + MC3040: Format is not valid for MarkupExtension that specifies constructor arguments in '{0}'. + MC3040: Das Format ist für "MarkupExtension", von der die Konstruktor-Argumente in "{0}" angegeben werden, nicht gültig. + + + + MC3041: Markup extensions require a single '=' between name and value, and a single ',' between constructor parameters and name/value pairs. The arguments '{0}' are not valid. + MC3041: Bei Markuperweiterungen ist ein einzelnes "=" zwischen Name und Wert sowie ein einzelnes "," zwischen Konstruktorparametern und Name/Wert-Paaren erforderlich. Die Argumente "{0}" sind ungültig. + + + + MC3091: '{0}' is not valid. Markup extensions require only spaces between the markup extension name and the first parameter. Cannot have comma or equals sign before the first parameter. + MC3091: "{0}" ist ungültig. Bei Markuperweiterungen sind zwischen dem Namen der Markuperweiterung und dem ersten Parameter lediglich Leerstellen erforderlich. Vor dem ersten Parameter sind keine Kommas oder Gleichheitszeichen zulässig. + + + + MC8001: Encountered a closing BracketCharacter '{0}' at Line Number '{1}' and Line Position '{2}' without a corresponding opening BracketCharacter. + MC8001: Schließendes BracketCharacter-Objekt "{0}" in Zeilennummer "{1}" und an Zeilenposition "{2}" ohne entsprechendes öffnendes BracketCharacter-Objekt. + + + + MC8002: BracketCharacter '{0}' at Line Number '{1}' and Line Position '{2}' does not have a corresponding opening/closing BracketCharacter. + MC8002: BracketCharacter "{0}" in Zeilennummer "{1}" und an Zeilenposition "{2}" verfügt nicht über ein entsprechendes öffnendes/schließendes BracketCharacter-Objekt. + + + + MC3038: MarkupExtension expressions must end with a '}'. + MC3038: MarkupExtension-Ausdrücke müssen mit "}" enden. + + + + MC3042: Name/value pairs in MarkupExtensions must have the format 'Name = Value' and each pair is separated by a comma. '{0}' does not follow this format. + MC3042: Name/Wert-Paare in "MarkupExtensions" müssen das Format "Name = Wert" aufweisen. Die einzelnen Paare werden durch Kommas getrennt. Dieses Format gilt nicht für "{0}". + + + + MC3043: Names and Values in a MarkupExtension cannot contain quotes. The MarkupExtension arguments '{0}' are not valid. + MC3043: Namen und Werte von "MarkupExtension" dürfen keine Anführungszeichen enthalten. MarkupExtension-Argumente vom Typ "{0}" sind ungültig. + + + + MC3044: The text '{1}' is not allowed after the closing '{0}' of a MarkupExtension expression. + MC3044: Der Text "{1}" ist nach Abschluss-{0} eines MarkupExtension-Ausdrucks nicht zulässig. + + + + MC3045: Unknown property '{0}' for type '{1}' encountered while parsing a Markup Extension. + MC3045: Beim Analysieren einer Markup Extension wurde für den Typ "{1}" die unbekannte Eigenschaft "{0}" gefunden. + + + + MC3046: Unknown attribute '{0}' in the '{1}' namespace. Note that only the Key attribute is currently supported in this namespace. + MC3046: Unbekanntes Attribut "{0}" im Namespace "{1}". Beachten Sie, dass in diesem Namespace derzeit nur das Key-Attribut unterstützt wird. + + + + MC3047: Internal parser error - Cannot use multiple writable BAML records at the same time. + MC3047: Interner Parserfehler - Es können nicht gleichzeitig mehrere schreibbare BAML-Datensätze verwendet werden. + + + + '{0}' property element cannot be nested directly inside another property element. + Das Eigenschaftselement "{0}" kann nicht direkt innerhalb eines anderen Eigenschaftselements geschachtelt werden. + + + + MC3049: Cannot place attributes on Array tags. + MC3049: Attribute können nicht in Array-Tags platziert werden. + + + + MC3021: Asynchronous loading is not supported when compiling a XAML file, so a SynchronousMode of '{0}' is not allowed. + MC3021: Beim Kompilieren von XAML-Dateien wird asynchrones Laden nicht unterstützt, weshalb "SynchronousMode" von "{0}" nicht zulässig ist. + + + + MC3051: The type '{0}' does not support element content. + MC3051: Elementinhalte werden vom Typ "{0}" nicht unterstützt. + + + + MC3022: All objects added to an IDictionary must have a Key attribute or some other type of key associated with them. + MC3022: Alle zu "IDictionary" hinzugefügten Elemente müssen über ein Key-Attribut oder einen anderen ihnen zugeordneten Schlüsseltyp verfügen. + + + + MC3023: The Key attribute can only be used on a tag contained in a Dictionary (such as a ResourceDictionary). + MC3023: Das Key-Attribut kann nur für Tags verwendet werden, die sich in einem Dictionary (beispielsweise in "ResourceDictionary") befinden. + + + + MC3032: '{1}' cannot be used as a value for '{0}'. Numbers are not valid enumeration values. + MC3032: "{1}" kann nicht als Wert für "{0}" verwendet werden. Zahlen sind keine gültigen Aufzählungswerte. + + + + MC3053: Cannot use property element syntax to specify event handler '{0}'. + MC3053: Die Eigenschaftselementsyntax kann nicht zum Angeben des Ereignishandlers "{0}" verwendet werden. + + + + MC3052: XAML file that contains events must be compiled. + MC3052: Die XAML-Datei, in der Ereignisse enthalten sind, muss kompiliert werden. + + + + MC3054: The type '{0}' cannot have a Name attribute. Value types and types without a default constructor can be used as items within a ResourceDictionary. + MC3054: Der Typ "{0}" darf kein Name-Attribut besitzen. Werttypen und Typen ohne Standardkonstruktor können innerhalb von "ResourceDictionary" als Elemente verwendet werden. + + + + MC3093: Cannot set Name attribute value '{0}' on element '{1}'. '{1}' is under the scope of element '{2}', which already had a name registered when it was defined in another scope. + MC3093: Der Wert "{0}" des Name-Attributs kann für das Element "{1}" nicht festgelegt werden. "{1}" befindet sich im Bereich des Elements "{2}", für das bereits ein Name registriert wurde, als es in einem anderen Bereich definiert wurde. + + + + MC3056: No NamespaceURI is defined for the object '{0}'. + MC3056: Für das Objekt "{0}" wurde kein "NamespaceURI" definiert. + + + + MC3084: Cannot nest XML data islands. + MC3084: XML-Dateninseln können nicht geschachtelt werden. + + + + MC3057: Cannot set properties on property elements. + MC3057: Eigenschaften können nicht für Eigenschaftselemente festgelegt werden. + + + + MC3058: Cannot find a custom serializer for '{0}' so it cannot be parsed. + MC3058: Benutzerdefiniertes Serialisierungsprogramm kann für "{0}" nicht gefunden und deshalb nicht analysiert werden. + + + + MC3059: Style setters do not support child elements. A tag of type '{0}' is not allowed. + MC3059: Von Set-Accessoren für den Stil werden keine untergeordneten Elemente unterstützt. Tags vom Typ "{0}" sind nicht zulässig. + + + + MC3050: Cannot find the type '{0}'. Note that type names are case sensitive. + MC3050: Der Typ "{0}"wurde nicht gefunden. Beachten Sie, dass bei Typnamen die Groß- und Kleinschreibung berücksichtigt wird. + + + + MC3048: '{0}' value is not a valid MarkupExtension expression. Cannot resolve '{1}' in namespace '{2}'. '{1}' must be a subclass of MarkupExtension. + MC3048: Beim Wert "{0}" handelt es sich nicht um einen gültigen MarkupExtension-Ausdruck. "{1}" kann im Namespace "{2}" nicht aufgelöst werden. "{1}" muss eine Unterklasse von "MarkupExtension" sein. + + + + MC3062: '{0}' XML namespace prefix does not map to a NamespaceURI, so element '{1}' cannot be resolved. + MC3062: Das XML-Namespacepräfix "{0}" wird keinem "NamespaceURI" zugeordnet, weshalb das Element "{1}" nicht aufgelöst werden kann. + + + + MC3100: '{0}' XML namespace prefix does not map to a namespace URI, so cannot resolve property '{1}'. + MC3100: Das XML-Namespacepräfix "{0}" ist keinem Namespace-URI zugeordnet. Daher kann die Eigenschaft "{1}" nicht aufgelöst werden. + + + + MC3063: Property '{0}' does not have a value. + MC3063: Die Eigenschaft "{0}" besitzt keinen Wert. + + + + MC3064: Only public or internal classes can be used within markup. '{0}' type is not public or internal. + MC3064: Innerhalb eines Markups können ausschließlich öffentliche oder interne Klassen verwendet werden. Der Typ "{0}" ist weder öffentlich noch intern. + + + + MC3065: '{0}' property is read-only and cannot be set from markup. + MC3065: Die Eigenschaft "{0}" ist schreibgeschützt und kann nicht von einem Markup aus festgelegt werden. + + + + MC3066: The type reference cannot find a public type named '{0}'. + MC3066: Von dem Typverweis kann kein öffentlicher Typ mit dem Namen "{0}" gefunden werden. + + + + MC3019: Cannot reference the static member '{0}' on the type '{1}' as it is not accessible. + MC3019: Auf den statischen Member "{0}" im Typ "{1}" kann nicht verwiesen werden, da auf ihn nicht zugegriffen werden kann. + + + + MC3067: SynchronousMode attribute must be on the root tag. + MC3067: Das SynchronousMode-Attribut muss sich im Stammtag befinden. + + + + MC3069: Cannot have both the text '{0}' and the child element '{1}' within a property element. + MC3069: Innerhalb eines Eigenschaftselements dürfen nicht gleichzeitig der Text "{0}" und das untergeordnete Element "{1}" vorhanden sein. + + + + MC3068: Text is not valid under an IDictionary or Array property. + MC3068: Text ist ungültig in einer IDictionary- oder Array-Eigenschaft. + + + + MC3070: A single XAML file cannot reference more than 4,096 different assemblies. + MC3070: Von einer einzelnen XAML-Datei kann nicht auf mehr als 4.096 verschiedene Assemblys verwiesen werden. + + + + MC3095: Close tag must immediately follow TypeConverter initialization string '{0}'. + MC3095: Unmittelbar nach der TypeConverter-Initialisierungszeichenfolge "{0}" muss ein Endtag folgen. + + + + MC3090: TypeConverter syntax error encountered while processing initialization string '{0}'. Element attributes are not allowed on objects created via TypeConverter. + MC3090: Beim Verarbeiten der Initialisierungszeichenfolge "{0}" ist ein TypeConverter-Syntaxfehler aufgetreten. Elementattribute sind für Objekte, die über "TypeConverter" erstellt wurden, nicht zulässig. + + + + MC3071: '{0}' is an undeclared namespace. + MC3071: Bei "{0}" handelt es sich um einen nicht deklarierten Namespace. + + + + MC3072: The property '{0}' does not exist in XML namespace '{1}'. + MC3072: Die Eigenschaft "{0}" ist im XML-Namespace "{1}" nicht vorhanden. + + + + MC3073: The attribute '{0}' does not exist in XML namespace 'http://schemas.microsoft.com/winfx/2006/xaml'. + MC3073: Das Attribut "{0}" ist im XML-Namespace "http://schemas.microsoft.com/winfx/2006/xaml" nicht vorhanden. + + + + MC3074: The tag '{0}' does not exist in XML namespace '{1}'. + MC3074: Das Tag "{0}" ist im XML-Namespace "{1}" nicht vorhanden. + + + + MC3075: Unrecognized XML node type '{0}' found when determining if the current tag is a property element. + MC3075: Beim Bestimmen, ob es sich beim aktuellen Tag um ein Eigenschaftselement handelt, wurde der unbekannte XML-Knotentyp "{0}" gefunden. + + + + MC3086: Parent element or property '{0}' requires an XML data island. To distinguish an XML island from surrounding XAML, wrap the XML data island in <x:XData> ... </x:XData>. + MC3086: Für das übergeordnete Element oder die Eigenschaft "{0}" ist eine XML-Dateninsel erforderlich. Umschließen Sie XML-Dateninseln mit <x:XData> ... </x:XData>, um die XML-Inseln von umgebenden XAMLs zu unterscheiden. + + + + MC3085: '{0}' element or property cannot contain an XML data island. + MC3085: Das Element oder die Eigenschaft "{0}" kann keine XML-Dateninsel enthalten. + + + + MC3092: XmlLangProperty attribute must specify a property name. + MC3092: Vom XmlLangProperty-Attribut muss ein Eigenschaftsname angegeben werden. + + + + MC3077: The class '{0}' does not implement IXmlLineInfo. This is required to get position information for the XAML being parsed. + MC3077: "IXmlLineInfo" wird von der Klasse "{0}" nicht implementiert. Dies ist erforderlich, um Positionsinformationen für die XAML-Datei zu erhalten, das gerade analysiert wird. + + + + MC3098: Unexpected token '{0}' at position '{1}'. + MC3098: Unerwartetes Token "{0}" an Position "{1}". + + + + MC3096: Token is not valid. + MC3096: Token ist ungültig. + + + + Preparing for the markup compilation... + Markupkompilierung wird vorbereitet... + + + + MC4301: Type name '{0}' does not have the expected format 'className, assembly'. + MC4301: Der Typname "{0}" besitzt nicht das erwartete Format "className, Assembly". + + + + Reading Resource file: '{0}'... + Resource-Datei "{0}" wird gelesen... + + + + Recompiled XAML file : '{0}'. + Neukompilierte XAML-Datei: "{0}". + + + + Input: Assembly Reference file: '{0}'. + Eingabe: Assembly Reference-Datei: "{0}". + + + + Resource ID is '{0}'. + Die Ressourcen-ID lautet "{0}". + + + + RG1001: Input resource file '{0}' exceeds maximum size of {1} bytes. + RG1001: Die Eingaberessourcendatei "{0}" überschreitet die maximale Größe von {1} Byte. + + + + Generated .resources file: '{0}'. + .resources-Datei "{0}" wurde generiert. + + + + Generating .resources file: '{0}'... + .resources-Datei "{0}" wird generiert... + + + + ResourcesGenerator + ResourcesGenerator + + + + MC6006: {0}.{1}="{2}" is not valid. '{1}' must be a RoutedEvent registered with a name that ends with the keyword "Event". + MC6006: {0}.{1}="{2}" ist ungültig. "{1}" muss ein RoutedEvent sein, das mit einem Namen registriert wurde, der mit dem Schlüsselwort "Event" endet. + + + + UM1005: You must pass markup files to the task. + UM1005: Der Aufgabe müssen Markupdateien übergeben werden. + + + + MC4110: SourceName property cannot be set within Style.Triggers section. + MC4110: Die SourceName-Eigenschaft kann nicht innerhalb eines Style.Triggers-Abschnitts festgelegt werden. + + + + MC4001: Style does not support both {0} tags and Style.{1} property tags for a single Style. Use one or the other. + MC4001: Style unterstützt nicht gleichzeitig {0}-Tags und Style.{1}-Eigenschaftstags in einem einzelnen Style. Verwenden Sie nicht beide gleichzeitig. + + + + MC4002: The Style property tag '{0}' can only be specified directly under a Style tag. + MC4002: Das Styleeigenschaftstag "{0}" kann nur direkt in einem Styletag angegeben werden. + + + + MC4005: Cannot find the Style {0} '{1}' on the type '{2}'. + MC4005: Style {0} "{1}" wurde in Typ "{2}" nicht gefunden. + + + + MC4003: Cannot resolve the Style {0} '{1}'. Verify that the owning type is the Style's TargetType, or use Class.Property syntax to specify the {0}. + MC4003: Style {0} "{1}" kann nicht aufgelöst werden. Stellen Sie sicher, dass der besitzende Typ "TargetType" von "Style" ist, oder verwenden Sie die Class.Property-Syntax, um {0} anzugeben. + + + + MC4004: Style cannot contain child '{0}'. Style child must be a Setter because it is added to the Setters collection. + MC4004: Der Style darf kein untergeordnetes {0}-Objekt enthalten. Bei dem untergeordneten Styleobjekt muss es sich um einen Setter-Accessor handeln, da das Objekt der Setters-Sammlung hinzugefügt wird. + + + + MC4006: Tags of type '{0}' are not supported in Style sections. + MC4006: Tags vom Typ "{0}" werden in Abschnitten vom Typ Style nicht unterstützt. + + + + MC4007: The event '{0}' cannot be specified on a Target tag in a Style. Use an EventSetter instead. + MC4007: Das Ereignis "{0}" kann für ein Target-Tag in einem Style nicht angegeben werden. Verwenden Sie stattdessen "EventSetter". + + + + MC4008: The text '{0}' is not allowed at this location within a Style section. + MC4008: Der Text "{0}" ist an dieser Stelle innerhalb eines Abschnitts vom Typ Style nicht zulässig. + + + + MC4009: The property '{0}' cannot be set on Style. + MC4009: Die Eigenschaft "{0}" kann für den Style nicht festgelegt werden. + + + + MC6017: '{0}' cannot be the root of a XAML file because it was defined using XAML. + MC6017: Bei "{0}" darf es sich nicht um den Stamm einer XAML-Datei handeln, da beim Definieren XAML verwendet wurde. + + + + BG1004: Target Type '{0}' is not supported by this task. + BG1004: Der Target-Typ "{0}" wird von dieser Aufgabe nicht unterstützt. + + + + MC4011: TargetName property cannot be set on a Style Setter. + MC4011: TargetName-Eigenschaft kann nicht für einen "Style Setter" festgelegt werden. + + + + + Copyright (C) Microsoft Corporation 2005. All rights reserved. + Copyright (C) Microsoft Corporation 2005. Alle Rechte vorbehalten. + + + + MC4101: The Name '{0}' has already been defined. Names must be unique. + MC4101: Der Name "{0}" wurde bereits definiert. Namen müssen eindeutig sein. + + + + MC4108: The root of a Template content section cannot contain an element of type '{0}'. Only FrameworkElement and FrameworkContentElement types are valid. + MC4108: Der Stamm eines Vorlageninhaltsabschnitts kann kein Element vom Typ "{0}" enthalten. Nur die Typen "FrameworkElement" und "FrameworkContentElement" sind gültig. + + + + MC4103: The template property tag '{0}' can only be specified immediately after a ControlTemplate tag. + MC4103: Das Vorlageneigenschaftstag "{0}" kann nur direkt nach einem ControlTemplate-Tag angegeben werden. + + + + MC4107: A template can have only a single root element. '{0}' is not allowed. + MC4107: Vorlagen dürfen nur ein einzelnes Stammelement besitzen. "{0}" ist nicht zulässig. + + + + MC4109: Cannot find the Template Property '{0}' on the type '{1}'. + MC4109: Vorlageneigenschaft "{0}" wurde nicht im Typ "{1}" gefunden. + + + + MC4106: Cannot resolve the Template Property '{0}'. Verify that the owning type is the Style's TargetType, or use Class.Property syntax to specify the property. + MC4106: Vorlageneigenschaft "{0}" kann nicht aufgelöst werden. Stellen Sie sicher, dass der besitzende Typ "TargetType" von "Style" ist, oder verwenden Sie die Class.Property-Syntax, um die Eigenschaft anzugeben. + + + + MC4111: Cannot find the Trigger target '{0}'. (The target must appear before any Setters, Triggers, or Conditions that use it.) + MC4111: Trigger-Ziel "{0}" wurde nicht gefunden. (Das Ziel muss vor allen Setters, Triggers oder Conditions erscheinen, die es verwenden.) + + + + MC4102: Tags of type '{0}' are not supported in template sections. + MC4102: Tags vom Typ "{0}" werden in Vorlagenabschnitten nicht unterstützt. + + + + MC4105: The text '{0}' is not allowed at this location within a template section. + MC4105: Der Text "{0}" ist an dieser Stelle innerhalb eines Vorlagenabschnitts nicht zulässig. + + + + MC4104: The property '{0}' cannot be set as a property element on template. Only Triggers and Storyboards are allowed as property elements. + MC4104: Die Eigenschaft "{0}" kann nicht als Eigenschaftselement für die Vorlage festgelegt werden. Als Eigenschaftselemente sind nur Elemente vom Typ "Triggers" oder "Storyboards" zulässig. + + + + MC7004: Empty token encountered while parsing. + MC7004: Beim Analysieren wurde ein leeres Token gefunden. + + + + MC7003: Extra data encountered after token while parsing. + MC7003: Beim Analysieren wurden nach dem Token zusätzliche Daten gefunden. + + + + MC7002: Missing end quote encountered while parsing token. + MC7002: Beim Analysieren des Tokens wurde erkannt, dass ein abschließendes Anführungszeichen fehlt. + + + + MC7001: Premature string termination encountered. + MC7001: Es wurde ein vorzeitiger Zeichenfolgenabschluss erkannt. + + + + UidManager + UidManager + + + + UM1003: Uid is missing for element '{0}'. + UM1003: Die Uid fehlt für das Element "{0}". + + + + Unknown build error, '{0}' + Unbekannter Buildfehler, "{0}" + + + + MC6013: {0}:ClassModifier="{1}" is not valid for the language {2}. + MC6013: {0}:ClassModifier="{1}" ist für die Sprache {2} ungültig. + + + + MC6002: Unrecognized tag '{0}:{1}' in namespace 'http://schemas.microsoft.com/winfx/2006/xaml'. Note that tag names are case sensitive. + MC6002: Im Namespace "http://schemas.microsoft.com/winfx/2006/xaml" befindet sich das unbekannte Tag "{0}:{1}". Beachten Sie, dass bei Tagnamen die Groß- und Kleinschreibung berücksichtigt wird. + + + + MC6007: '{1}' is not valid. '{0}' is not an event on '{2}'. + MC6007: "{1}" ist ungültig. "{0}" ist kein Ereignis für "{2}". + + + + MC6014: {0}:FieldModifier="{1}" is not valid for the language {2}. + MC6014: {0}:FieldModifier="{1}" ist für die Sprache {2} ungültig. + + + + MC6020: {0}:TypeArguments='{1}' is not valid on the tag '{2}'. Either '{2}' is not a generic type or the number of Type arguments in the attribute is wrong. Remove the {0}:TypeArguments attribute because it is allowed only on generic types, or fix its value to match the arity of the generic type '{2}'. + MC6020: {0}:TypeArguments="{1}" ist für das Tag "{2}" ungültig. Entweder handelt es sich bei "{2}" nicht um einen generischen Typ oder die im Attribut enthaltene Anzahl von Type-Argumenten ist falsch. Entfernen Sie das {0}:TypeArguments-Attribut, da es nur für generische Typen zulässig ist, oder korrigieren Sie dessen Wert, sodass er der Stelligkeit des generischen Typs "{2}" entspricht. + + + + MC6008: '{0}' is not installed properly on this machine. It must be listed in the <compilers> section of machine.config. + MC6008: "{0}" ist auf diesem Computer nicht ordnungsgemäß installiert. "{0}" muss im <compilers>-Abschnitt von "machine.config" aufgeführt sein. + + + + Unknown path operation attempted. + Unbekannter Pfadvorgang. + + + + LC1003: Localization comment has no value set for target property: '{0}'. + LC1003: Der Lokalisierungskommentar besitzt keinen festgelegten Wert für die Zieleigenschaft: "{0}". + + + + UpdateManifestForBrowserApplication + UpdateManifestForBrowserApplication + + + + MC4501: Major and minor version number components cannot be negative. + MC4501: Die Komponenten der Haupt- und Nebenversionsnummer können nicht negativ sein. + + + + MC6000: Project file must include the .NET Framework assembly '{0}' in the reference list. + MC6000: Die Projektdatei muss die .NET Framework-Assembly "{0}" in der Verweisliste enthalten. + + + + MC1001: The LocalizationDirectivesToLocFile property value is not valid and must be changed to None, CommentsOnly, or All for the MarkupCompilePass1 task. + MC1001: Der Wert für die LocalizationDirectivesToLocFile-Eigenschaft ist ungültig und muss zu "None" oder "CommentsOnly" bzw. für die MarkupCompilePass1-Aufgabe zu "All" geändert werden. + + + + BG1003: The project file contains a property value that is not valid. + BG1003: Die Projektdatei enthält einen ungültigen Eigenschaftswert. + + + + MC4602: Choice cannot follow a Fallback. + MC4602: "Choice" kann nicht auf "Fallback" folgen. + + + + MC4606: AlternateContent must contain one or more Choice elements. + MC4606: "AlternateContent" muss mindestens ein Choice-Element enthalten. + + + + MC4601: Choice valid only in AlternateContent. + MC4601: "Choice" ist nur gültig in "AlternateContent". + + + + MC4640: Namespace '{0}' is marked as compatible with itself using XmlnsCompatibilityAttribute. A namespace cannot directly or indirectly override itself. + MC4640: Der Namespace "{0}" ist mithilfe von "XmlnsCompatibilityAttribute" als mit sich selbst kompatibel markiert. Ein Namespace kann nicht direkt oder indirekt von sich selbst überschrieben werden. + + + + MC4631: Duplicate Preserve declaration for element '{1}' in namespace '{0}'. + MC4631: Doppelte Preserve-Deklaration für das Element "{1}" im Namespace "{0}". + + + + MC4617: Duplicate ProcessContent declaration for element '{1}' in namespace '{0}'. + MC4617: Doppelte ProcessContent-Deklaration für das Element "{1}" in Namespace "{0}". + + + + MC4633: Duplicate wildcard Preserve declaration for namespace '{0}'. + MC4633: Doppelte Preserve-Deklaration mit Platzhalterzeichen für den Namespace "{0}". + + + + MC4619: Duplicate wildcard ProcessContent declaration for namespace '{0}'. + MC4619: Doppelte ProcessContent-Deklaration mit Platzhalterzeichen für den Namespace "{0}". + + + + MC4605: Fallback valid only in AlternateContent. + MC4605: "Fallback" ist nur gültig in "AlternateContent". + + + + MC4610: '{0}' element is not a valid child of AlternateContent. Only Choice and Fallback elements are valid children of an AlternateContent element. + MC4610: Das Element "{0}" ist kein gültiges untergeordnetes Element von "AlternateContent". Nur Elemente vom Typ "Choice" und "Fallback" sind gültige untergeordnete Elemente für AlternateContent-Elemente. + + + + MC4608: '{0}' attribute is not valid for element '{1}'. + MC4608: Das Attribut "{0}" ist für das Element "{1}" nicht gültig. + + + + MC4611: '{0}' format is not valid. + MC4611: Ungültiges {0}-Format. + + + + MC4632: Cannot have both a specific and a wildcard Preserve declaration for namespace '{0}'. + MC4632: Für den Namespace "{0}" dürfen nicht gleichzeitig eine spezifische und eine Preserve-Deklaration mit Platzhalterzeichen vorhanden sein. + + + + MC4618: Cannot have both a specific and a wildcard ProcessContent declaration for namespace '{0}'. + MC4618: Für den Namespace "{0}" dürfen nicht gleichzeitig eine spezifische und eine ProcessContent-Deklaration mit Platzhalterzeichen vorhanden sein. + + + + MC4604: Requires attribute must contain a valid namespace prefix. + MC4604: Das Requires-Attribut muss ein gültiges Namespacepräfix enthalten. + + + + MC4634: '{0}' attribute value is not a valid XML name. + MC4634: Der Attributwert "{0}" ist kein gültiger XML-Name. + + + + MC4607: AlternateContent must contain only one Fallback element. + MC4607: "AlternateContent" darf nur ein einzelnes Fallback-Element enthalten. + + + + MC4626: MustUnderstand condition failed on namespace '{0}'. + MC4626: Fehler bei der MustUnderstand-Bedingung für den Namespace "{0}". + + + + MC4630: Namespace '{0}' has items declared to be preserved but is not declared ignorable. + MC4630: Der Namespace "{0}" besitzt Elemente, für die eine Aufbewahrung deklariert ist, die jedoch nicht als ignorierbar deklariert sind. + + + + MC4615: '{0}' namespace is declared ProcessContent but is not declared Ignorable. + MC4615: Der Namespace "{0}" ist zwar als "ProcessContent", jedoch nicht als "Ignorable" deklariert. + + + + MC4603: Choice must contain a Requires attribute. + MC4603: "Choice" muss ein Requires-Attribut enthalten. + + + + MC4612: '{0}' prefix is not defined. + MC4612: Das Präfix "{0}" ist nicht definiert. + + + + MC4614: Unrecognized compatibility attribute '{0}'. + MC4614: Nicht erkanntes Kompatibilitätsattribut "{0}". + + + + MC4609: Unrecognized compatibility element '{0}'. + MC4609: Unbekanntes Kompatibilitätselement "{0}". + + + + MC4502: The feature ID string cannot have length 0. + MC4502: Die Zeichenfolge mit der Feature-ID darf nicht die Länge Null besitzen. + + + + + \ No newline at end of file diff --git a/src/Microsoft.DotNet.Wpf/src/PresentationBuildTasks/Resources/xlf/Strings.es.xlf b/src/Microsoft.DotNet.Wpf/src/PresentationBuildTasks/Resources/xlf/Strings.es.xlf new file mode 100644 index 00000000000..c27de6e9c6c --- /dev/null +++ b/src/Microsoft.DotNet.Wpf/src/PresentationBuildTasks/Resources/xlf/Strings.es.xlf @@ -0,0 +1,1242 @@ + + + + + + Analysis Result : '{0}'. + Resultado del análisis: '{0}'. + + + + MC1002: Library project file cannot specify ApplicationDefinition element. + MC1002: el archivo de proyecto de biblioteca no puede especificar el elemento ApplicationDefinition. + + + + Input: Markup ApplicationDefinition file: '{0}'. + Entrada: archivo ApplicationDefinition de marcado: '{0}'. + + + + MC6015: '{0}' cannot be set on the '{1}:{2}' tag. + MC6015: no se puede establecer '{0}' en la etiqueta '{1}:{2}'. + + + + UM1001: Unrecognized UidManager task name '{0}'. + UM1001: nombre de tarea UidManager '{0}' no reconocido. + + + + Checking Uids in file '{0}' ... + Comprobando el Uid en el archivo '{0}' ... + + + + Generated localization directives file: '{0}' . + Archivo de directivas de localización generado: '{0}' . + + + + Generating localization directives file: '{0}' ... + Generando archivo de directivas de localización: '{0}' ... + + + + Markup compilation is done. + Compilación de marcado finalizada. + + + + MarkupCompilePass1 successfully generated BAML or source code files. + MarkupCompilePass1 generó correctamente los archivos BAML o de código fuente. + + + + MarkupCompilePass2 successfully generated BAML or source code files. + MarkupCompilePass2 generó correctamente los archivos BAML o de código fuente. + + + + MC6011: '{0}' event has a generic event handler delegate type '{1}'. The type parameters of '{1}' cannot be bound with an appropriate type argument because the containing tag '{2}' is not a generic type. + MC6011: el evento '{0}' tiene un tipo delegado de controlador de eventos genérico '{1}'. Los parámetros de tipo de '{1}' no se pueden enlazar con un argumento de tipo apropiado porque la etiqueta contenedora '{2}' no es de tipo genérico. + + + + Current project directory is '{0}'. + El directorio del proyecto actual es '{0}'. + + + + MC6022: Only a root tag can specify attribute '{0}:{1}'. + MC6022: sólo una etiqueta raíz puede especificar el atributo '{0}:{1}'. + + + + MC6010: '{0}:{1}' cannot be specified as the root element. + MC6010: no se puede especificar '{0}:{1}' como elemento raíz. + + + + MC6004: '{0}:{1}' contains '{2}'. '{0}:{1}' can contain only a CDATA or text section. + MC6004: '{0}:{1}' contiene '{2}'. '{0}:{1}' sólo puede contener una sección CDATA o de texto. + + + + Started the markup compilation. + Comenzó la compilación de marcado. + + + + MC6030: {0}="{1}" is not valid. '{0}' event attribute value cannot be a string that is empty or has only white space. + MC6030: {0}="{1}" no es válido. El valor de atributo de evento '{0}' no puede ser una cadena vacía ni tener sólo espacios en blanco. + + + + MC6021: {0}:FieldModifier cannot be specified on this tag because it has either no {0}:Name or Name attribute set, or the tag is locally defined and has a Name attribute set, which is not allowed. + MC6021: no se puede especificar {0}:FieldModifier en esta etiqueta porque no tiene establecido el atributo {0}:Name o Name, o bien la etiqueta está definida localmente y tiene un atributo Name establecido, que no está permitido. + + + + FileClassifier + FileClassifier + + + + BG1002: File '{0}' cannot be found. + BG1002: no se encuentra el archivo '{0}'. + + + + Input file '{0}' is resolved to new relative path '{1}' at directory '{2}'. + El archivo de entrada '{0}' se resuelve en una ruta de acceso relativa '{1}' en el directorio '{2}'. + + + + UM1004: {0} files failed Uid check. + UM1004: error al comprobar los Uid en {0} archivos. + + + + Uids valid in {0} files. + Uid válidos en {0} archivos. + + + + Uids removed from {0} files. + Uid quitados de {0} archivos. + + + + Uids updated in {0} files. + Uid actualizados en {0} archivos. + + + + Generated BAML file: '{0}'. + Archivo BAML generado: '{0}'. + + + + Generated code file: '{0}'. + Archivo de código generado: '{0}'. + + + + GetWinFXPath + GetWinFXPath + + + + MC6003: '{0}:{1}' contains '{2}'. '{0}:{1}' cannot contain nested content. + MC6003: '{0}:{1}' contiene '{2}'. '{0}:{1}' no puede tener contenido anidado. + + + + UM1006: '{0}' directory does not exist and cannot be created. + UM1006: el directorio '{0}' no existe y no se puede crear. + + + + InternalTypeHelper class is not required for this project, make file '{0}' empty. + No se requiere la clase InternalTypeHelper para este proyecto, vacíe el archivo '{0}'. + + + + MC6018: '{0}' class name is not valid for the locally defined XAML root element. + MC6018: el nombre de clase '{0}' no es válido para el elemento raíz XAML definido localmente. + + + + MC6019: '{0}' namespace is not valid for the locally defined XAML root element '{1}'. + MC6019: el espacio de nombres '{0}' no es válido para el elemento raíz XAML '{1}' definido localmente. + + + + MC6027: {0}:{1}="{2}" is not valid. '{2}' is not a valid {3}class name. + MC6027: {0}:{1}="{2}" no es válido. '{2}' no es un nombre de {3}clase válido. + + + + FC1001: The UICulture value '{0}' set in the project file is not valid. + FC1001: el valor de UICulture '{0}' establecido en el archivo de proyecto no es válido. + + + + MC4402: Serializer does not support custom BAML serialization operations. + MC4402: el serializador no admite operaciones de serialización BAML personalizadas. + + + + MC4401: Serializer does not support Convert operations. + MC4401: el serializador no admite operaciones Convert. + + + + MC6029: '{0}' name is not valid in the default namespace '{1}'. Correct the RootNamespace tag value in the project file. + MC6029: el nombre '{0}' no es válido en el espacio de nombres predeterminado '{1}'. Corrija el valor de la etiqueta RootNamespace en el archivo de proyecto. + + + + MC6005: {0}="{1}" is not valid. '{1}' is not a valid event handler method name. Only instance methods on the generated or code-behind class are valid. + MC6005: {0}="{1}" no es válido. '{1}' no es un nombre de método de controlador de eventos válido. Sólo son válidos los métodos de instancia de la clase generada o de código subyacente. + + + + LC1001: Localization comment target property is not valid in string '{0}'. + LC1001: la propiedad de destino del comentario de localización no es válida en la cadena '{0}'. + + + + LC1002: Localization comment value is not valid for target property '{0}' in string '{1}'. + LC1002: el valor de comentario de localización no es válido para la propiedad de destino '{0}' en la cadena '{1}'. + + + + LC1004: Localizability attribute setting '{0}' is not valid. + LC1004: el valor del atributo de localización '{0}' no es válido. + + + + MC6001: Markup file is not valid. Specify a source markup file with an .xaml extension. + MC6001: el archivo de marcado no es válido. Especifique un archivo de marcado de origen con la extensión .xaml. + + + + MC6028: {0}:TypeArguments="{1}" is not valid. '{2}' is not a valid type name reference for the generic argument at position '{3}'. + MC6028: {0}:TypeArguments="{1}" no es válido. '{2}' no es una referencia de nombre de tipo válida para el argumento genérico en la posición '{3}'. + + + + MC3000: '{0}' XML is not valid. + MC3000: el elemento XML '{0}' no es válido. + + + + MC6023: Because '{0}' is implemented in the same assembly, you must set the {1}:Name attribute rather than the Name attribute. + MC6023: puesto que '{0}' está implementado en el mismo ensamblado, debe establecer el atributo {1}:Name, en lugar del atributo Name. + + + + Input: Local reference markup ApplicationDefinition file is '{0}'. + Entrada: el archivo ApplicationDefinition de marcado de referencia local es '{0}'. + + + + Generated BAML file: '{0}'. + Archivo BAML generado: '{0}'. + + + + Input: Local reference markup Page file: '{0}'. + Entrada: el archivo Page de marcado de referencia local es: '{0}'. + + + + MarkupCompilePass1 + MarkupCompilePass1 + + + + MarkupCompilePass2 + MarkupCompilePass2 + + + + MC6012: '{0}' event has a generic event handler delegate type '{1}'. The type parameter '{2}' on '{1}' does not match any type parameters on the containing generic tag '{3}'. + MC6012: el evento '{0}' tiene un tipo delegado de controlador de eventos genérico '{1}'. El parámetro de tipo '{2}' de '{1}' no coincide con ningún parámetro de tipo de la etiqueta genérica contenedora '{3}'. + + + + MergeLocalizationDirectives + MergeLocalizationDirectives + + + + MC6026: '{0}' root element requires a {1}:Class attribute because '{2}' contains a {1}:Code tag. Either remove {1}:Code and its contents, or add a {1}:Class attribute to the root element. + MC6026: el elemento raíz '{0}' requiere un atributo {1}:Class porque '{2}' contiene una etiqueta {1}:Code. Quite {1}:Code y su contenido o agregue un atributo {1}:Class al elemento raíz. + + + + MC6024: '{0}' root element requires a {1}:Class attribute to support event handlers in the XAML file. Either remove the event handler for the {2} event, or add a {1}:Class attribute to the root element. + MC6024: el elemento raíz '{0}' requiere un atributo {1}:Class para admitir controladores de eventos en el archivo XAML. Quite el controlador de eventos del evento {2} o agregue un atributo {1}:Class al elemento raíz. + + + + MC6025: '{0}' root element is a generic type and requires a {1}:Class attribute to support the {1}:TypeArguments attribute specified on the root element tag. + MC6025: el elemento raíz '{0}' es un tipo genérico y requiere un atributo {1}:Class para admitir el atributo {1}:TypeArguments especificado en la etiqueta del elemento raíz. + + + + MC6031: {0}:FieldModifier attribute cannot be specified because a {0}:Class attribute is also required to generate a Name field with the specified access modifier. Either add a {0}:Class attribute on the root tag or remove the {0}:FieldModifier attribute. + MC6031: no se puede especificar el atributo {0}:FieldModifier porque se requiere también un atributo {0}:Class para generar un campo Name con el modificador de acceso especificado. Agregue un atributo {0}:Class en la etiqueta raíz o quite el atributo {0}:FieldModifier. + + + + MC6009: {0}:ClassModifier attribute cannot be specified on the root tag because a {0}:Class attribute is also required. Either add a {0}:Class attribute or remove the {0}:ClassModifier attribute. + MC6009: no se puede especificar el atributo {0}:ClassModifier en la etiqueta raíz porque se requiere también un atributo {0}:Class. Agregue un atributo {0}:Class o quite el atributo {0}:ClassModifier. + + + + MC6016: {0}:Class attribute is missing. It is required when a {0}:Subclass attribute is specified. + MC6016: falta el atributo {0}:Class. Es necesario cuando se especifica un atributo {0}:Subclass. + + + + RG1002: ResourcesGenerator can generate only one .resources file at a time. The OutputResourcesFile property in the project file must be set to one file. + RG1002: ResourcesGenerator sólo puede generar un archivo .resources cada vez. La propiedad OutputResourcesFile del archivo de proyecto se debe establecer en un archivo. + + + + MC1004: Project file cannot specify more than one SplashScreen element. + MC1004: El archivo de proyecto no puede especificar más de un elemento SplashScreen. + + + + UM1002: Uid "{0}" for element '{1}' is not unique. + UM1002: el Uid "{0}" del elemento '{1}' no es único. + + + + MC1003: Project file cannot specify more than one ApplicationDefinition element. + MC1003: el archivo de proyecto no puede especificar más de un elemento ApplicationDefinition. + + + + A '{0}' is named '{1}'. Do not name ResourceDictionary contents because their instantiation is deferred. + Un elemento '{0}' tiene el nombre '{1}'. No dé nombre al contenido de ResourceDictionary porque aplaza la creación de instancias del mismo. + + + + BG1001: Unknown CLS exception. + BG1001: excepción de CLS desconocida. + + + + OutputType is '{0}'. + OutputType es '{0}'. + + + + MC3001: TypeConverter syntax error encountered while processing initialization string '{0}'. Property elements are not allowed on objects created via TypeConverter. + MC3001: se encontró un error de sintaxis en TypeConverter al procesar la cadena de inicialización '{0}'. No se permiten elementos de propiedad en objetos creados con TypeConverter. + + + + MC3099: Cannot load assembly '{0}' because a different version of that same assembly is loaded '{1}'. + MC3099: no se puede cargar el ensamblado '{0}' porque una versión diferente del mismo ensamblado ya está cargada '{1}'. + + + + MC3002: The AsyncRecords attribute must be set on the root tag. + MC3002: se debe establecer el atributo AsyncRecords en la etiqueta raíz. + + + + MC3015: The attached property '{0}' is not defined on '{1}' or one of its base classes. + MC3015: la propiedad '{0}' adjunta no está definida en '{1}' o alguna de sus clases base. + + + + MC3003: There are too many attributes specified for '{0}'. + MC3003: hay demasiados atributos especificados para '{0}'. + + + + MC3004: There are not enough attributes specified for '{0}'. + MC3004: no hay suficientes atributos especificados para '{0}'. + + + + MC3005: The property '{0}' must be in the default namespace or in the element namespace '{1}'. + MC3005: la propiedad '{0}' debe estar en el espacio de nombres predeterminado o en el espacio de nombres de elementos '{1}'. + + + + MC3006: Mapper.SetAssemblyPath cannot accept an empty assemblyName. + MC3006: Mapper.SetAssemblyPath no puede aceptar un elemento assemblyName vacío. + + + + MC3007: Mapper.SetAssemblyPath cannot accept an empty assemblyPath. + MC3007: Mapper.SetAssemblyPath no puede aceptar un elemento assemblyPath vacío. + + + + MC3008: An element of type '{0}' cannot be set on the complex property '{1}'. They are not compatible types. + MC3008: no se puede establecer un elemento de tipo '{0}' en la propiedad compleja '{1}'. No son tipos compatibles. + + + + MC3009: Cannot find a public constructor for '{0}' that takes {1} arguments. + MC3009: no se encuentra un constructor público para '{0}' que tome {1} argumentos. + + + + MC3012: A key for a dictionary cannot be of type '{0}'. Only String, TypeExtension, and StaticExtension are supported. + MC3012: una clave de diccionario no puede ser de tipo '{0}'. Sólo se admiten String, TypeExtension y StaticExtension. + + + + MC3029: '{0}' member is not valid because it does not have a qualifying type name. + MC3029: El miembro '{0}' no es válido porque no tiene un nombre de tipo calificador. + + + + MC3010: '{0}' Name property value is not valid. Name must start with a letter or an underscore and can contain only letters, digits, and underscores. + MC3010: el valor de la propiedad Name '{0}' no es válido. Name debe comenzar con una letra o un signo de subrayado y sólo puede contener letras, dígitos y signos de subrayado. + + + + MC3094: Cannot convert string value '{0}' to type '{1}'. + MC3094: no se puede convertir el valor de cadena '{0}' al tipo '{1}'. + + + + MC3013: SynchronousMode property value is not valid. Valid values are Async and Sync. + MC3013: el valor de la propiedad SynchronousMode no es válido. Los valores válidos son Async y Sync. + + + + MC3014: The object being added to an array property is not a valid type. The array is of type '{0}' but the object being added is of type '{1}'. + MC3014: el objeto que se va a agregar a una propiedad de matriz no es de un tipo válido. La matriz es de tipo '{0}', pero el objeto que se va a agregar es de tipo '{1}'. + + + + MC3079: MarkupExtensions are not allowed for Uid or Name property values, so '{0}' is not valid. + MC3079: no se permiten elementos MarkupExtension como valores de propiedad Uid y Name; por tanto, '{0}' no es válido. + + + + MC3089: The object '{0}' already has a child and cannot add '{1}'. '{0}' can accept only one child. + MC3089: el objeto '{0}' tiene ya un elemento secundario y no puede agregar '{1}'. '{0}' sólo puede aceptar un elemento secundario. + + + + MC3028: Cannot add content to object of type '{0}'. + MC3028: no se puede agregar contenido a un objeto de tipo '{0}'. + + + + MC3081: '{0}' is a read-only property of type IList or IDictionary and cannot be set because it does not have a public or internal get accessor. + MC3081: '{0}' es una propiedad de sólo lectura del tipo IList o IDictionary y no se puede establecer porque no tiene un descriptor de acceso get público o interno. + + + + MC3080: The {0} '{1}' cannot be set because it does not have an accessible {2} accessor. + MC3080: {0} '{1}' no se puede establecer porque no tiene un descriptor de acceso {2} accesible. + + + + MC3087: Cannot set content property '{0}' on element '{1}'. '{0}' has incorrect access level or its assembly does not allow access. + MC3087: No se puede establecer la propiedad de contenido '{0}' en el elemento '{1}'. '{0}' tiene un nivel de acceso incorrecto o su ensamblado no permite el acceso. + + + + MC3082: '{0}' cannot be set as the value of a Trigger's Property attribute because it does not have a public or internal get accessor. + MC3082: no se puede establecer '{0}' como valor de un atributo Property de un elemento Trigger porque no tiene un descriptor de acceso get público o interno. + + + + MC3016: Two new namespaces cannot be compatible with the same old namespace using an XmlnsCompatibility attribute.�'{0}' namespace is already marked compatible with '{1}'. + MC3016: dos espacios de nombres nuevos no pueden ser compatibles con el mismo espacio de nombres antiguo usando un atributo XmlnsCompatibility.�El espacio de nombres '{0}' está ya marcado como compatible con '{1}'. + + + + MC3088: Property elements cannot be in the middle of an element's content. They must be before or after the content. + MC3088: Los elementos de propiedad no pueden incluirse en la mitad del contenido de un elemento. Deben colocarse antes o después del contenido. + + + + MC3017: 'Code' tag from xaml namespace found in XAML file. To load this file, you must compile it. + MC3017: se encontró la etiqueta 'Code' del espacio de nombres xaml en el archivo XAML. Para cargar este archivo, debe compilarlo. + + + + MC3061: The Element type '{0}' does not have an associated TypeConverter to parse the string '{1}'. + MC3061: El tipo de Element '{0}' no tiene un elemento TypeConverter asociado para analizar la cadena '{1}'. + + + + MC3018: Cannot modify data in a sealed XmlnsDictionary. + MC3018: no se pueden modificar los datos de un elemento XmlnsDictionary sellado. + + + + MC3020: The dictionary key '{0}' is already used. Key attributes are used as keys when inserting objects into a dictionary and must be unique. + MC3020: la clave de diccionario '{0}' está ya en uso. Los atributos de clave se usan como claves cuando se insertan objetos en un diccionario y deben ser únicos. + + + + MC3033: The property '{0}' has already been set on this markup extension and can only be set once. + MC3033: la propiedad '{0}' ya se ha establecido en esta extensión de marcado y sólo se puede establecer una vez. + + + + MC3024: '{0}' property has already been set and can be set only once. + MC3024: la propiedad '{0}' ya se ha establecido y sólo se puede establecer una vez. + + + + MC3025: Property '{0}' and '{1}' refer to the same property. Duplicate property settings are not allowed. + MC3025: las propiedades '{0}' y '{1}' hacen referencia a la misma propiedad. La configuración de propiedades duplicadas no está permitida. + + + + MC3026: '{0}' property element cannot be empty. It must contain child elements or text. + MC3026: el elemento de propiedad '{0}' no puede estar vacío. Debe contener texto o elementos secundarios. + + + + MC3027: The EntityReference &{0}; is not recognized. + MC3027: no se reconoce el elemento EntityReference &{0}; + + + + MC3083: Cannot access the delegate type '{0}' for the '{1}' event. '{0}' has incorrect access level or its assembly does not allow access. + MC3083: no se puede obtener acceso al tipo delegado '{0}' para el evento '{1}'. '{0}' tiene un nivel de acceso incorrecto o su ensamblado no permite el acceso. + + + + MC3030: '{0}' property is a read-only IEnumerable property, which means that '{1}' must implement IAddChild. + MC3030: la propiedad '{0}' es una propiedad IEnumerable de sólo lectura, por lo que '{1}' debe implementar IAddChild. + + + + MC3078: Invalid ContentPropertyAttribute on type '{0}', property '{1}' not found. + MC3078: ContentPropertyAttribute no válido en el tipo '{0}', propiedad '{1}' no encontrada. + + + + Known type value {0}='{1}' is not a valid known type. + El valor de tipo conocido {0}='{1}' no es un tipo conocido válido. + + + + MC3011: Cannot find the static member '{0}' on the type '{1}'. + MC3011: no se puede encontrar el miembro estático '{0}' en el tipo '{1}'. + + + + MC3031: Keys and values in XmlnsDictionary must be strings. + MC3031: las claves y los valores de XmlnsDictionary deben ser cadenas. + + + + Line {0} Position {1} + Línea {0}, posición {1} + + + + MC3037: Missing XmlNamespace, Assembly or ClrNamespace in Mapping instruction. + MC3037: falta un elemento XmlNamespace, Assembly o ClrNamespace en la instrucción Mapping. + + + + '{0}' mapping URI is not valid. + El URI de asignación '{0}' no es válido. + + + + MC3040: Format is not valid for MarkupExtension that specifies constructor arguments in '{0}'. + MC3040: formato no válido para el elemento MarkupExtension que especifica los argumentos del constructor en '{0}'. + + + + MC3041: Markup extensions require a single '=' between name and value, and a single ',' between constructor parameters and name/value pairs. The arguments '{0}' are not valid. + MC3041: las extensiones de marcado requieren un solo signo '=' entre el nombre y el valor, y una sola coma (',') entre los parámetros del constructor y los pares nombre/valor. Los argumentos '{0}' no son válidos. + + + + MC3091: '{0}' is not valid. Markup extensions require only spaces between the markup extension name and the first parameter. Cannot have comma or equals sign before the first parameter. + MC3091: '{0}' no es válido. Las extensiones de marcado requieren sólo espacios entre el nombre de la extensión de marcado y el primer parámetro. No pueden tener coma ni signos igual delante del primer parámetro. + + + + MC8001: Encountered a closing BracketCharacter '{0}' at Line Number '{1}' and Line Position '{2}' without a corresponding opening BracketCharacter. + MC8001: Se encontró un carácter de paréntesis de cierre '{0}' en el número de línea '{1}' y en la posición '{2}' de la línea sin un carácter de paréntesis de apertura correspondiente. + + + + MC8002: BracketCharacter '{0}' at Line Number '{1}' and Line Position '{2}' does not have a corresponding opening/closing BracketCharacter. + MC8002: El carácter de paréntesis '{0}' en el número de línea '{1}' y en la posición '{2}' de la línea no tiene un carácter de paréntesis de apertura o cierre correspondiente. + + + + MC3038: MarkupExtension expressions must end with a '}'. + MC3038: las expresiones MarkupExtension deben terminar con '}'. + + + + MC3042: Name/value pairs in MarkupExtensions must have the format 'Name = Value' and each pair is separated by a comma. '{0}' does not follow this format. + MC3042: los pares nombre/valor de las MarkupExtensions deben tener el formato 'Nombre = Valor' con cada par separado por una coma. '{0}' no se ajusta a este formato. + + + + MC3043: Names and Values in a MarkupExtension cannot contain quotes. The MarkupExtension arguments '{0}' are not valid. + MC3043: los nombres y valores de un elemento MarkupExtension no pueden contener comillas. Los argumentos de MarkupExtension '{0}' no son válidos. + + + + MC3044: The text '{1}' is not allowed after the closing '{0}' of a MarkupExtension expression. + MC3044: no se permite el texto '{1}' después del '{0}' de cierre de una expresión MarkupExtension. + + + + MC3045: Unknown property '{0}' for type '{1}' encountered while parsing a Markup Extension. + MC3045: se encontró una propiedad '{0}' desconocida para el tipo '{1}' al analizar una expresión Markup Extension. + + + + MC3046: Unknown attribute '{0}' in the '{1}' namespace. Note that only the Key attribute is currently supported in this namespace. + MC3046: atributo '{0}' desconocido en el espacio de nombres '{1}'. Tenga en cuenta que, actualmente, sólo se admite el atributo Key en este espacio de nombres. + + + + MC3047: Internal parser error - Cannot use multiple writable BAML records at the same time. + MC3047: error de analizador interno: no se pueden usar varios registros BAML de escritura al mismo tiempo. + + + + '{0}' property element cannot be nested directly inside another property element. + El elemento de propiedad '{0}' no se puede anidar directamente en otro elemento de propiedad. + + + + MC3049: Cannot place attributes on Array tags. + MC3049: no se pueden poner atributos en etiquetas Array. + + + + MC3021: Asynchronous loading is not supported when compiling a XAML file, so a SynchronousMode of '{0}' is not allowed. + MC3021: no se permite la carga asincrónica al compilar un archivo XAML; por tanto, no se permite un valor '{0}' para SynchronousMode. + + + + MC3051: The type '{0}' does not support element content. + MC3051: el tipo '{0}' no admite el contenido de elementos. + + + + MC3022: All objects added to an IDictionary must have a Key attribute or some other type of key associated with them. + MC3022: todos los objetos agregados a un elemento IDictionary deben tener un atributo Key o algún otro tipo de clave asociado. + + + + MC3023: The Key attribute can only be used on a tag contained in a Dictionary (such as a ResourceDictionary). + MC3023: el atributo Key sólo se puede usar en una etiqueta contenida en un elemento Dictionary (como ResourceDictionary). + + + + MC3032: '{1}' cannot be used as a value for '{0}'. Numbers are not valid enumeration values. + MC3032: no se puede usar '{1}' como valor para '{0}'. Los números no son valores de enumeración válidos. + + + + MC3053: Cannot use property element syntax to specify event handler '{0}'. + MC3053: no se puede usar la sintaxis de elemento de propiedad para especificar el controlador de eventos '{0}'. + + + + MC3052: XAML file that contains events must be compiled. + MC3052: se debe compilar el archivo XAML que contiene eventos. + + + + MC3054: The type '{0}' cannot have a Name attribute. Value types and types without a default constructor can be used as items within a ResourceDictionary. + MC3054: el tipo '{0}' no puede tener un atributo Name. En un elemento ResourceDictionary, se pueden usar como elementos los tipos de valor y los tipos sin un constructor predeterminado. + + + + MC3093: Cannot set Name attribute value '{0}' on element '{1}'. '{1}' is under the scope of element '{2}', which already had a name registered when it was defined in another scope. + MC3093: no se puede establecer el valor del atributo Name '{0}' en el elemento '{1}'. '{1}' está dentro del ámbito del elemento '{2}', que ya tenía un nombre registrado cuando se definió en otro ámbito. + + + + MC3056: No NamespaceURI is defined for the object '{0}'. + MC3056: no se ha definido ningún elemento NamespaceURI para el objeto '{0}'. + + + + MC3084: Cannot nest XML data islands. + MC3084: no se pueden anidar islas de datos XML. + + + + MC3057: Cannot set properties on property elements. + MC3057: no se pueden establecer propiedades en elementos de propiedad. + + + + MC3058: Cannot find a custom serializer for '{0}' so it cannot be parsed. + MC3058: no se encuentra ningún serializador personalizado para '{0}'; por tanto, no se puede analizar. + + + + MC3059: Style setters do not support child elements. A tag of type '{0}' is not allowed. + MC3059: los elementos Style Setter no admiten elementos secundarios. No se permite una etiqueta de tipo '{0}'. + + + + MC3050: Cannot find the type '{0}'. Note that type names are case sensitive. + MC3050: no se puede encontrar el tipo '{0}'. Tenga en cuenta que los nombres de tipo distinguen mayúsculas de minúsculas. + + + + MC3048: '{0}' value is not a valid MarkupExtension expression. Cannot resolve '{1}' in namespace '{2}'. '{1}' must be a subclass of MarkupExtension. + MC3048: el valor '{0}' no es una expresión MarkupExtension válida. No se puede resolver '{1}' en el espacio de nombres '{2}'. '{1}' debe ser una subclase de MarkupExtension. + + + + MC3062: '{0}' XML namespace prefix does not map to a NamespaceURI, so element '{1}' cannot be resolved. + MC3062: el prefijo del espacio de nombres XML '{0}' no está asignado a un elemento NamespaceURI, por lo que no se puede resolver el elemento '{1}'. + + + + MC3100: '{0}' XML namespace prefix does not map to a namespace URI, so cannot resolve property '{1}'. + MC3100: el prefijo del espacio de nombres XML '{0}' no está asignado a un URI de espacio de nombres, por lo que no puede resolver la propiedad '{1}'. + + + + MC3063: Property '{0}' does not have a value. + MC3063: la propiedad '{0}' no tiene ningún valor. + + + + MC3064: Only public or internal classes can be used within markup. '{0}' type is not public or internal. + MC3064: sólo se pueden usar clases públicas o internas en el marcado. El tipo '{0}' no es público ni interno. + + + + MC3065: '{0}' property is read-only and cannot be set from markup. + MC3065: la propiedad '{0}' es de sólo lectura y no se puede establecer desde el marcado. + + + + MC3066: The type reference cannot find a public type named '{0}'. + MC3066: la referencia de tipo no puede encontrar un tipo público con el nombre '{0}'. + + + + MC3019: Cannot reference the static member '{0}' on the type '{1}' as it is not accessible. + MC3019: no se puede hacer referencia al miembro estático '{0}' en el tipo '{1}' porque no está accesible. + + + + MC3067: SynchronousMode attribute must be on the root tag. + MC3067: el atributo SynchronousMode debe estar en la etiqueta raíz. + + + + MC3069: Cannot have both the text '{0}' and the child element '{1}' within a property element. + MC3069: el elemento de texto '{0}' y el elemento secundario '{1}' no pueden estar presentes a la vez en un elemento de propiedad. + + + + MC3068: Text is not valid under an IDictionary or Array property. + MC3068: no se permite texto en una propiedad IDictionary o Array. + + + + MC3070: A single XAML file cannot reference more than 4,096 different assemblies. + MC3070: un archivo XAML no puede hacer referencia a más de 4.096 ensamblados diferentes. + + + + MC3095: Close tag must immediately follow TypeConverter initialization string '{0}'. + MC3095: la etiqueta de cierre debe estar inmediatamente después de la cadena de inicialización de TypeConverter '{0}'. + + + + MC3090: TypeConverter syntax error encountered while processing initialization string '{0}'. Element attributes are not allowed on objects created via TypeConverter. + MC3090: se encontró un error de sintaxis de TypeConverter al procesar la cadena de inicialización '{0}'. Los atributos de elemento no están permitidos en objetos creados mediante TypeConverter. + + + + MC3071: '{0}' is an undeclared namespace. + MC3071: '{0}' es un espacio de nombres no declarado. + + + + MC3072: The property '{0}' does not exist in XML namespace '{1}'. + MC3072: la propiedad '{0}' no existe en el espacio de nombres XML '{1}'. + + + + MC3073: The attribute '{0}' does not exist in XML namespace 'http://schemas.microsoft.com/winfx/2006/xaml'. + MC3073: el atributo '{0}' no existe en el espacio de nombres XML 'http://schemas.microsoft.com/winfx/2006/xaml'. + + + + MC3074: The tag '{0}' does not exist in XML namespace '{1}'. + MC3074: la etiqueta '{0}' no existe en el espacio de nombres XML '{1}'. + + + + MC3075: Unrecognized XML node type '{0}' found when determining if the current tag is a property element. + MC3075: se encontró el tipo de nodo XML '{0}' no reconocido al determinar si la etiqueta actual es un elemento de propiedad. + + + + MC3086: Parent element or property '{0}' requires an XML data island. To distinguish an XML island from surrounding XAML, wrap the XML data island in <x:XData> ... </x:XData>. + MC3086: el elemento primario o propiedad '{0}' requiere una isla de datos XML. Para distinguir una isla XML del XAML adyacente, incluya la isla de datos XML entre <x:XData> ... </x:XData>. + + + + MC3085: '{0}' element or property cannot contain an XML data island. + MC3085: el elemento o propiedad '{0}' no puede contener una isla de datos XML. + + + + MC3092: XmlLangProperty attribute must specify a property name. + MC3092: el atributo XmlLangProperty debe especificar un nombre de propiedad. + + + + MC3077: The class '{0}' does not implement IXmlLineInfo. This is required to get position information for the XAML being parsed. + MC3077: la clase '{0}' no implementa IXmlLineInfo, que es necesario para obtener información de posición del XAML que se está analizando. + + + + MC3098: Unexpected token '{0}' at position '{1}'. + MC3098: símbolo (token) '{0}' inesperado en la posición '{1}'. + + + + MC3096: Token is not valid. + MC3096: el símbolo (token) no es válido. + + + + Preparing for the markup compilation... + Preparando la compilación de marcado... + + + + MC4301: Type name '{0}' does not have the expected format 'className, assembly'. + MC4301: el nombre de tipo '{0}' no tiene el formato esperado 'nombreDeClase, ensamblado'. + + + + Reading Resource file: '{0}'... + Leyendo el archivo Resource: '{0}'... + + + + Recompiled XAML file : '{0}'. + Archivo XAML compilado de nuevo: '{0}'. + + + + Input: Assembly Reference file: '{0}'. + Entrada: archivo Reference de ensamblado: '{0}'. + + + + Resource ID is '{0}'. + El Id. de recurso es '{0}'. + + + + RG1001: Input resource file '{0}' exceeds maximum size of {1} bytes. + RG1001: el archivo de recursos de entrada '{0}' supera el tamaño máximo de {1} bytes. + + + + Generated .resources file: '{0}'. + Archivo .resources generado: '{0}'. + + + + Generating .resources file: '{0}'... + Generando archivo .resources: '{0}'... + + + + ResourcesGenerator + ResourcesGenerator + + + + MC6006: {0}.{1}="{2}" is not valid. '{1}' must be a RoutedEvent registered with a name that ends with the keyword "Event". + MC6006: {0}.{1}="{2}" no es válido. '{1}' debe ser un elemento RoutedEvent registrado con un nombre que termine con la palabra clave "Event". + + + + UM1005: You must pass markup files to the task. + UM1005: debe pasar archivos de marcado a la tarea. + + + + MC4110: SourceName property cannot be set within Style.Triggers section. + MC4110: no se puede establecer la propiedad SourceName en la sección Style.Triggers. + + + + MC4001: Style does not support both {0} tags and Style.{1} property tags for a single Style. Use one or the other. + MC4001: Style no admite etiquetas {0} y etiquetas de propiedad Style.{1} a la vez para un solo elemento Style. Use unas u otras. + + + + MC4002: The Style property tag '{0}' can only be specified directly under a Style tag. + MC4002: la etiqueta de propiedad Style '{0}' sólo se puede especificar directamente bajo una etiqueta Style. + + + + MC4005: Cannot find the Style {0} '{1}' on the type '{2}'. + MC4005: no se puede encontrar el elemento Style {0} '{1}' en el tipo '{2}'. + + + + MC4003: Cannot resolve the Style {0} '{1}'. Verify that the owning type is the Style's TargetType, or use Class.Property syntax to specify the {0}. + MC4003: no se puede resolver Style {0} '{1}'. Compruebe que el tipo de propiedad sea TargetType de Style; o bien use la sintaxis Class.Property para especificar {0}. + + + + MC4004: Style cannot contain child '{0}'. Style child must be a Setter because it is added to the Setters collection. + MC4004: Style no puede contener el elemento secundario '{0}'. El elemento secundario Style debe ser un elemento Setter porque se agrega a la colección de Setters. + + + + MC4006: Tags of type '{0}' are not supported in Style sections. + MC4006: no se admiten etiquetas de tipo '{0}' en secciones Style. + + + + MC4007: The event '{0}' cannot be specified on a Target tag in a Style. Use an EventSetter instead. + MC4007: no se puede especificar el evento '{0}' en una etiqueta Target en un Style. Use EventSetter en su lugar. + + + + MC4008: The text '{0}' is not allowed at this location within a Style section. + MC4008: no se permite el texto '{0}' en esta ubicación de una sección Style. + + + + MC4009: The property '{0}' cannot be set on Style. + MC4009: no se puede establecer la propiedad '{0}' en Style. + + + + MC6017: '{0}' cannot be the root of a XAML file because it was defined using XAML. + MC6017: '{0}' no puede ser la raíz de un archivo XAML porque se definió con XAML. + + + + BG1004: Target Type '{0}' is not supported by this task. + BG1004: el tipo de destino '{0}' no es compatible con esta tarea. + + + + MC4011: TargetName property cannot be set on a Style Setter. + MC4011: no se puede establecer la propiedad TargetName en un Style Setter. + + + + + Copyright (C) Microsoft Corporation 2005. All rights reserved. + Copyright (C) Microsoft Corporation 2005. Reservados todos los derechos. + + + + MC4101: The Name '{0}' has already been defined. Names must be unique. + MC4101: Name '{0}' ya se ha definido. Los elementos Name deben ser únicos. + + + + MC4108: The root of a Template content section cannot contain an element of type '{0}'. Only FrameworkElement and FrameworkContentElement types are valid. + MC4108: la raíz de una sección de contenido Template no puede contener un elemento de tipo '{0}'. Sólo son válidos los tipos FrameworkElement y FrameworkContentElement. + + + + MC4103: The template property tag '{0}' can only be specified immediately after a ControlTemplate tag. + MC4103: la etiqueta de propiedad de plantilla '{0}' sólo se puede especificar inmediatamente después de una etiqueta ControlTemplate. + + + + MC4107: A template can have only a single root element. '{0}' is not allowed. + MC4107: una plantilla sólo puede tener un elemento raíz. No se permite '{0}'. + + + + MC4109: Cannot find the Template Property '{0}' on the type '{1}'. + MC4109: se puede encontrar la propiedad de plantilla '{0}' en el tipo '{1}'. + + + + MC4106: Cannot resolve the Template Property '{0}'. Verify that the owning type is the Style's TargetType, or use Class.Property syntax to specify the property. + MC4106: no se puede resolver la propiedad de plantilla '{0}'. Compruebe que el tipo de propiedad sea TargetType de Style, o use la sintaxis Class.Property para especificar la propiedad. + + + + MC4111: Cannot find the Trigger target '{0}'. (The target must appear before any Setters, Triggers, or Conditions that use it.) + MC4111: no se puede encontrar el destino Trigger '{0}'. (El destino debe aparecer delante de cualquier Setters, Triggers o Conditions que lo use). + + + + MC4102: Tags of type '{0}' are not supported in template sections. + MC4102: no se admiten etiquetas de tipo '{0}' en secciones de plantilla. + + + + MC4105: The text '{0}' is not allowed at this location within a template section. + MC4105: no se permite el texto '{0}' en esta ubicación de una sección de plantilla. + + + + MC4104: The property '{0}' cannot be set as a property element on template. Only Triggers and Storyboards are allowed as property elements. + MC4104: no se puede establecer la propiedad '{0}' como elemento de propiedad de una plantilla. Sólo se permite Triggers y Storyboards como elementos de propiedad. + + + + MC7004: Empty token encountered while parsing. + MC7004: se encontró un símbolo (token) vacío durante el análisis. + + + + MC7003: Extra data encountered after token while parsing. + MC7003: se encontraron datos adicionales después de un símbolo (token) durante el análisis. + + + + MC7002: Missing end quote encountered while parsing token. + MC7002: al analizar el símbolo (token) se detectó que falta la comilla final. + + + + MC7001: Premature string termination encountered. + MC7001: se encontró un cierre de cadena prematuro. + + + + UidManager + UidManager + + + + UM1003: Uid is missing for element '{0}'. + UM1003: falta un Uid para el elemento '{0}'. + + + + Unknown build error, '{0}' + Error de compilación desconocido: '{0}' + + + + MC6013: {0}:ClassModifier="{1}" is not valid for the language {2}. + MC6013: {0}:ClassModifier="{1}" no es válido para el idioma {2}. + + + + MC6002: Unrecognized tag '{0}:{1}' in namespace 'http://schemas.microsoft.com/winfx/2006/xaml'. Note that tag names are case sensitive. + MC6002: etiqueta '{0}:{1}' no reconocida en el espacio de nombres 'http://schemas.microsoft.com/winfx/2006/xaml'. Tenga en cuenta que los nombres de etiqueta distinguen mayúsculas de minúsculas. + + + + MC6007: '{1}' is not valid. '{0}' is not an event on '{2}'. + MC6007: '{1}' no es válido. '{0}' no es un evento en '{2}'. + + + + MC6014: {0}:FieldModifier="{1}" is not valid for the language {2}. + MC6014: {0}:FieldModifier="{1}" no es válido para el idioma {2}. + + + + MC6020: {0}:TypeArguments='{1}' is not valid on the tag '{2}'. Either '{2}' is not a generic type or the number of Type arguments in the attribute is wrong. Remove the {0}:TypeArguments attribute because it is allowed only on generic types, or fix its value to match the arity of the generic type '{2}'. + MC6020: {0}:TypeArguments='{1}' no es válido en la etiqueta '{2}'. '{2}' no es de un tipo genérico o bien el número de argumentos Type del atributo es incorrecto. Quite el atributo {0}:TypeArguments, porque sólo se permite en tipos genéricos, o corrija su valor para que coincida con el del tipo genérico '{2}'. + + + + MC6008: '{0}' is not installed properly on this machine. It must be listed in the <compilers> section of machine.config. + MC6008: '{0}' no está instalado correctamente en este equipo. Debe aparecer en la sección <compilers> de machine.config. + + + + Unknown path operation attempted. + Se intentó una operación de ruta de acceso desconocida. + + + + LC1003: Localization comment has no value set for target property: '{0}'. + LC1003: el comentario de localización no tiene ningún valor establecido para la propiedad de destino: '{0}'. + + + + UpdateManifestForBrowserApplication + UpdateManifestForBrowserApplication + + + + MC4501: Major and minor version number components cannot be negative. + MC4501: los componentes principal y secundario del número de versión no pueden ser negativos. + + + + MC6000: Project file must include the .NET Framework assembly '{0}' in the reference list. + MC6000: el archivo de proyecto debe incluir el ensamblado '{0}' de .NET Framework en la lista de referencias. + + + + MC1001: The LocalizationDirectivesToLocFile property value is not valid and must be changed to None, CommentsOnly, or All for the MarkupCompilePass1 task. + MC1001: el valor de propiedad LocalizationDirectivesToLocFile no es válido y se debe cambiar a None, CommentsOnly o All para la tarea MarkupCompilePass1. + + + + BG1003: The project file contains a property value that is not valid. + BG1003: el archivo de proyecto contiene un valor de propiedad no válido. + + + + MC4602: Choice cannot follow a Fallback. + MC4602: Choice no puede ir después de un elemento Fallback. + + + + MC4606: AlternateContent must contain one or more Choice elements. + MC4606: AlternateContent debe contener uno o varios elementos Choice. + + + + MC4601: Choice valid only in AlternateContent. + MC4601: Choice sólo es válido en AlternateContent. + + + + MC4640: Namespace '{0}' is marked as compatible with itself using XmlnsCompatibilityAttribute. A namespace cannot directly or indirectly override itself. + MC4640: El espacio de nombres '{0}' está marcado como compatible con sí mismo con XmlnsCompatibilityAttribute. Un espacio de nombres no puede invalidarse a sí mismo directa ni indirectamente. + + + + MC4631: Duplicate Preserve declaration for element '{1}' in namespace '{0}'. + MC4631: declaración Preserve duplicada para el elemento '{1}' en el espacio de nombres '{0}'. + + + + MC4617: Duplicate ProcessContent declaration for element '{1}' in namespace '{0}'. + MC4617: declaración ProcessContent duplicada para el elemento '{1}' en el espacio de nombres '{0}'. + + + + MC4633: Duplicate wildcard Preserve declaration for namespace '{0}'. + MC4633: declaración Preserve de comodín duplicada para el espacio de nombres '{0}'. + + + + MC4619: Duplicate wildcard ProcessContent declaration for namespace '{0}'. + MC4619: declaración ProcessContent de comodín duplicada para el espacio de nombres '{0}'. + + + + MC4605: Fallback valid only in AlternateContent. + MC4605: Fallback sólo es válido en AlternateContent. + + + + MC4610: '{0}' element is not a valid child of AlternateContent. Only Choice and Fallback elements are valid children of an AlternateContent element. + MC4610: el elemento '{0}' no es un elemento secundario válido de AlternateContent. Sólo Choice y Fallback son elementos secundarios válidos de un elemento AlternateContent. + + + + MC4608: '{0}' attribute is not valid for element '{1}'. + MC4608: el atributo '{0}' no es válido para el elemento '{1}'. + + + + MC4611: '{0}' format is not valid. + MC4611: el formato de '{0}' no es válido. + + + + MC4632: Cannot have both a specific and a wildcard Preserve declaration for namespace '{0}'. + MC4632: no se pueden tener una declaración Preserve específica y otra de comodín para el espacio de nombres '{0}'. + + + + MC4618: Cannot have both a specific and a wildcard ProcessContent declaration for namespace '{0}'. + MC4618: no se pueden tener una declaración ProcessContent específica y otra de comodín para el espacio de nombres '{0}'. + + + + MC4604: Requires attribute must contain a valid namespace prefix. + MC4604: el atributo Requires debe contener un prefijo de espacio de nombres válido. + + + + MC4634: '{0}' attribute value is not a valid XML name. + MC4634: el valor del atributo '{0}' no es un nombre XML válido. + + + + MC4607: AlternateContent must contain only one Fallback element. + MC4607: AlternateContent sólo debe contener un elemento Fallback. + + + + MC4626: MustUnderstand condition failed on namespace '{0}'. + MC4626: error de la condición MustUnderstand en el espacio de nombres '{0}'. + + + + MC4630: Namespace '{0}' has items declared to be preserved but is not declared ignorable. + MC4630: el espacio de nombres '{0}' tiene elementos declarados para conservarlos, pero no está declarado como Ignorable. + + + + MC4615: '{0}' namespace is declared ProcessContent but is not declared Ignorable. + MC4615: el espacio de nombres '{0}' está declarado como ProcessContent, pero no como Ignorable. + + + + MC4603: Choice must contain a Requires attribute. + MC4603: Choice debe contener un atributo Requires. + + + + MC4612: '{0}' prefix is not defined. + MC4612: el prefijo '{0}' no está definido. + + + + MC4614: Unrecognized compatibility attribute '{0}'. + MC4614: atributo de compatibilidad '{0}' no reconocido. + + + + MC4609: Unrecognized compatibility element '{0}'. + MC4609: elemento de compatibilidad '{0}' no reconocido. + + + + MC4502: The feature ID string cannot have length 0. + MC4502: la cadena de Id. de la característica no puede tener longitud 0. + + + + + \ No newline at end of file diff --git a/src/Microsoft.DotNet.Wpf/src/PresentationBuildTasks/Resources/xlf/Strings.fr.xlf b/src/Microsoft.DotNet.Wpf/src/PresentationBuildTasks/Resources/xlf/Strings.fr.xlf new file mode 100644 index 00000000000..a583f51676d --- /dev/null +++ b/src/Microsoft.DotNet.Wpf/src/PresentationBuildTasks/Resources/xlf/Strings.fr.xlf @@ -0,0 +1,1242 @@ + + + + + + Analysis Result : '{0}'. + Résultat de l'analyse : '{0}'. + + + + MC1002: Library project file cannot specify ApplicationDefinition element. + MC1002 : le fichier de projet de bibliothèque ne peut pas spécifier un élément ApplicationDefinition. + + + + Input: Markup ApplicationDefinition file: '{0}'. + Entrée : fichier ApplicationDefinition de balisage : '{0}'. + + + + MC6015: '{0}' cannot be set on the '{1}:{2}' tag. + MC6015 : impossible de définir '{0}' sur la balise '{1}:{2}'. + + + + UM1001: Unrecognized UidManager task name '{0}'. + UM1001 : nom de tâche UidManager non reconnu '{0}'. + + + + Checking Uids in file '{0}' ... + Contrôle des Uid du fichier '{0}' ... + + + + Generated localization directives file: '{0}' . + Fichier de directives de localisation généré : '{0}'. + + + + Generating localization directives file: '{0}' ... + Génération du fichier de directives de localisation : '{0}' ... + + + + Markup compilation is done. + Compilation du balisage terminée. + + + + MarkupCompilePass1 successfully generated BAML or source code files. + MarkupCompilePass1 a généré avec succès les fichiers BAML ou de code source. + + + + MarkupCompilePass2 successfully generated BAML or source code files. + MarkupCompilePass2 a généré avec succès les fichiers BAML ou de code source. + + + + MC6011: '{0}' event has a generic event handler delegate type '{1}'. The type parameters of '{1}' cannot be bound with an appropriate type argument because the containing tag '{2}' is not a generic type. + MC6011 : l'événement '{0}' possède un type délégué de gestionnaires d'événements générique '{1}'. Les paramètres type de '{1}' ne peuvent pas être liés à un argument type approprié car la balise contenante '{2}' n'est pas un type générique. + + + + Current project directory is '{0}'. + Le répertoire projet actuel est '{0}'. + + + + MC6022: Only a root tag can specify attribute '{0}:{1}'. + MC6022 : seule une balise racine peut spécifier l'attribut '{0}:{1}'. + + + + MC6010: '{0}:{1}' cannot be specified as the root element. + MC6010 : impossible de spécifier '{0}:{1}' comme élément racine. + + + + MC6004: '{0}:{1}' contains '{2}'. '{0}:{1}' can contain only a CDATA or text section. + MC6004 : '{0}:{1}' contient '{2}'. '{0}:{1}' ne peut contenir qu'une section CDATA ou texte. + + + + Started the markup compilation. + Démarrage de la compilation du balisage. + + + + MC6030: {0}="{1}" is not valid. '{0}' event attribute value cannot be a string that is empty or has only white space. + MC6030 : {0}="{1}" n'est pas valide. La valeur de l'attribut d'événement '{0}' ne peut pas être une chaîne vide ou ne comportant que des espaces. + + + + MC6021: {0}:FieldModifier cannot be specified on this tag because it has either no {0}:Name or Name attribute set, or the tag is locally defined and has a Name attribute set, which is not allowed. + MC6021 : {0}:FieldModifier ne peut pas être spécifié sur cette balise car il n'a pas d'attribut {0}:Name ou Name défini, ou la balise est localement définie et possède un attribut Name défini, ce qui n'est pas autorisé. + + + + FileClassifier + FileClassifier + + + + BG1002: File '{0}' cannot be found. + BG1002 : impossible de trouver le fichier '{0}'. + + + + Input file '{0}' is resolved to new relative path '{1}' at directory '{2}'. + Résolution du fichier d'entrée '{0}' en nouveau chemin relatif '{1}' au répertoire '{2}'. + + + + UM1004: {0} files failed Uid check. + UM1004 : échec du contrôle des Uid des fichiers {0}. + + + + Uids valid in {0} files. + Uid valides dans les fichiers {0}. + + + + Uids removed from {0} files. + Uid supprimées des fichiers {0}. + + + + Uids updated in {0} files. + Uid mises à jour dans les fichiers {0}. + + + + Generated BAML file: '{0}'. + Fichier BAML généré : '{0}'. + + + + Generated code file: '{0}'. + Fichier code généré : '{0}'. + + + + GetWinFXPath + GetWinFXPath + + + + MC6003: '{0}:{1}' contains '{2}'. '{0}:{1}' cannot contain nested content. + MC6003 : '{0}:{1}' contient '{2}'. '{0}:{1}' ne peut pas comporter un contenu imbriqué. + + + + UM1006: '{0}' directory does not exist and cannot be created. + UM1006 : le répertoire '{0}' n'existe pas et ne peut pas être créé. + + + + InternalTypeHelper class is not required for this project, make file '{0}' empty. + Classe InternalTypeHelper non obligatoire pour ce projet, fichier Make '{0}' vide. + + + + MC6018: '{0}' class name is not valid for the locally defined XAML root element. + MC6018 : nom de classe '{0}' non valide pour l'élément racine XAML défini localement. + + + + MC6019: '{0}' namespace is not valid for the locally defined XAML root element '{1}'. + MC6019 : espace de noms '{0}' non valide pour l'élément racine XAML défini localement '{1}'. + + + + MC6027: {0}:{1}="{2}" is not valid. '{2}' is not a valid {3}class name. + MC6027 : {0}:{1}="{2}" non valide. '{2}' n'est pas un nom de classe {3} valide. + + + + FC1001: The UICulture value '{0}' set in the project file is not valid. + FC1001 : la valeur UICulture '{0}' définie dans le fichier projet n'est pas valide. + + + + MC4402: Serializer does not support custom BAML serialization operations. + MC4402 : le sérialiseur ne prend pas en charge les opérations de sérialisation BAML personnalisées. + + + + MC4401: Serializer does not support Convert operations. + MC4401 : le sérialiseur ne prend pas en charge les opérations Convert. + + + + MC6029: '{0}' name is not valid in the default namespace '{1}'. Correct the RootNamespace tag value in the project file. + MC6029 : nom '{0}' non valide dans l'espace de noms par défaut '{1}'. Corrigez la valeur de la balise RootNamespace dans le fichier projet. + + + + MC6005: {0}="{1}" is not valid. '{1}' is not a valid event handler method name. Only instance methods on the generated or code-behind class are valid. + MC6005 : {0}="{1}" n'est pas valide. '{1}' n'est pas un nom valide de méthode de gestionnaire d'événement. Seules les méthodes d'instance de la classe générée ou code-behind sont valides. + + + + LC1001: Localization comment target property is not valid in string '{0}'. + LC1001 : la propriété cible des commentaires de localisation n'est pas valide dans la chaîne '{0}'. + + + + LC1002: Localization comment value is not valid for target property '{0}' in string '{1}'. + LC1002 : la valeur des commentaires de localisation n'est pas valide pour la propriété cible '{0}' de la chaîne '{1}'. + + + + LC1004: Localizability attribute setting '{0}' is not valid. + LC1004 : paramétrage de l'attribut Localizability '{0}' non valide. + + + + MC6001: Markup file is not valid. Specify a source markup file with an .xaml extension. + MC6001 : fichier de balisage non valide. Spécifiez un fichier de balisage source avec une extension .xaml. + + + + MC6028: {0}:TypeArguments="{1}" is not valid. '{2}' is not a valid type name reference for the generic argument at position '{3}'. + MC6028: {0}:TypeArguments="{1}" n'est pas valide. '{2}' n'est pas une référence de nom de type valide pour l'argument générique à la position '{3}'. + + + + MC3000: '{0}' XML is not valid. + MC3000 : XML '{0}' non valide. + + + + MC6023: Because '{0}' is implemented in the same assembly, you must set the {1}:Name attribute rather than the Name attribute. + MC6023 : comme '{0}' est implémenté dans le même assembly, vous devez définir l'attribut {1}:Name à la place de l'attribut Name. + + + + Input: Local reference markup ApplicationDefinition file is '{0}'. + Entrée : le fichier ApplicationDefinition de balisage de référence local est '{0}'. + + + + Generated BAML file: '{0}'. + Fichier BAML généré : '{0}'. + + + + Input: Local reference markup Page file: '{0}'. + Entrée : fichier Page de balisage de référence local : '{0}'. + + + + MarkupCompilePass1 + MarkupCompilePass1 + + + + MarkupCompilePass2 + MarkupCompilePass2 + + + + MC6012: '{0}' event has a generic event handler delegate type '{1}'. The type parameter '{2}' on '{1}' does not match any type parameters on the containing generic tag '{3}'. + MC6012 : l'événement '{0}' possède un type délégué de gestionnaires d'événements générique '{1}'. Le paramètre type '{2}' de '{1}' ne correspond pas aux paramètres type de la balise générique contenante '{3}'. + + + + MergeLocalizationDirectives + MergeLocalizationDirectives + + + + MC6026: '{0}' root element requires a {1}:Class attribute because '{2}' contains a {1}:Code tag. Either remove {1}:Code and its contents, or add a {1}:Class attribute to the root element. + MC6026 : l'élément racine '{0}' nécessite un attribut {1}:Class car '{2}' contient une balise {1}:Code. Supprimez {1}:Code et son contenu, ou ajoutez un attribut {1}:Class à l'élément racine. + + + + MC6024: '{0}' root element requires a {1}:Class attribute to support event handlers in the XAML file. Either remove the event handler for the {2} event, or add a {1}:Class attribute to the root element. + MC6024 : l'élément racine '{0}' nécessite un attribut {1}:Class pour prendre en charge les gestionnaires d'événements du fichier XAML. Supprimez le gestionnaire d'événements de l'événement {2} ou ajoutez un attribut {1}:Class à l'élément racine. + + + + MC6025: '{0}' root element is a generic type and requires a {1}:Class attribute to support the {1}:TypeArguments attribute specified on the root element tag. + MC6025 : l'élément racine '{0}' est un type générique et nécessite un attribut {1}:Class pour prendre en charge l'attribut {1}:TypeArguments spécifié sur la balise de l'élément racine. + + + + MC6031: {0}:FieldModifier attribute cannot be specified because a {0}:Class attribute is also required to generate a Name field with the specified access modifier. Either add a {0}:Class attribute on the root tag or remove the {0}:FieldModifier attribute. + MC6031 : l'attribut {0}:FieldModifier ne peut pas être spécifié car un attribut {0}:Class est également obligatoire pour générer un champ Name avec le modificateur d'accès spécifié. Ajoutez un attribut {0}:Class sur la balise racine ou supprimez l'attribut {0}:FieldModifier. + + + + MC6009: {0}:ClassModifier attribute cannot be specified on the root tag because a {0}:Class attribute is also required. Either add a {0}:Class attribute or remove the {0}:ClassModifier attribute. + MC6009 : l'attribut {0}:ClassModifier ne peut pas être spécifié sur la balise racine car un attribut {0}:Class est également obligatoire. Ajoutez un attribut {0}:Class sur la balise racine ou supprimez l'attribut {0}:ClassModifier. + + + + MC6016: {0}:Class attribute is missing. It is required when a {0}:Subclass attribute is specified. + MC6016 : l'attribut {0}:Class est manquant. Il est obligatoire quand un attribut {0}:Subclass est spécifié. + + + + RG1002: ResourcesGenerator can generate only one .resources file at a time. The OutputResourcesFile property in the project file must be set to one file. + RG1002 : ResourcesGenerator ne peut générer qu'un seul fichier .resources à la fois. La propriété OutputResourcesFile du fichier projet doit être définie avec un seul fichier. + + + + MC1004: Project file cannot specify more than one SplashScreen element. + MC1004 : le fichier projet ne peut pas spécifier plus d'un élément SplashScreen. + + + + UM1002: Uid "{0}" for element '{1}' is not unique. + UM1002 : l'Uid "{0}" de l'élément '{1}' n'est pas unique. + + + + MC1003: Project file cannot specify more than one ApplicationDefinition element. + MC1003 : le fichier projet ne peut pas spécifier plusieurs éléments ApplicationDefinition. + + + + A '{0}' is named '{1}'. Do not name ResourceDictionary contents because their instantiation is deferred. + Un '{0}' est appelé '{1}'. N'attribuez pas de nom au contenu ResourceDictionary, car son installation est différée. + + + + BG1001: Unknown CLS exception. + BG1001 : exception CLS inconnue. + + + + OutputType is '{0}'. + OutputType est '{0}'. + + + + MC3001: TypeConverter syntax error encountered while processing initialization string '{0}'. Property elements are not allowed on objects created via TypeConverter. + MC3001: erreur de syntaxe TypeConverter rencontrée lors du traitement de la chaîne d'initialisation '{0}'. Les éléments de propriété ne sont pas autorisés sur les objets créés via TypeConverter. + + + + MC3099: Cannot load assembly '{0}' because a different version of that same assembly is loaded '{1}'. + MC3099 : impossible de charger l'assembly '{0}', car une autre version du même assembly est chargée '{1}'. + + + + MC3002: The AsyncRecords attribute must be set on the root tag. + MC3002 : l'attribut AsyncRecords doit être défini sur la balise racine. + + + + MC3015: The attached property '{0}' is not defined on '{1}' or one of its base classes. + MC3015 : la propriété jointe '{0}' n'est pas définie sur '{1}' ou l'une de ses classes de base. + + + + MC3003: There are too many attributes specified for '{0}'. + MC3003 : trop d'attributs spécifiés pour '{0}'. + + + + MC3004: There are not enough attributes specified for '{0}'. + MC3004 : nombre d'attributs spécifié pour '{0}' insuffisant. + + + + MC3005: The property '{0}' must be in the default namespace or in the element namespace '{1}'. + MC3005 : la propriété '{0}' doit être dans l'espace de noms par défaut ou dans l'espace de noms de l'élément '{1}'. + + + + MC3006: Mapper.SetAssemblyPath cannot accept an empty assemblyName. + MC3006 : Mapper.SetAssemblyPath ne peut pas accepter un assemblyName vide. + + + + MC3007: Mapper.SetAssemblyPath cannot accept an empty assemblyPath. + MC3007 : Mapper.SetAssemblyPath ne peut pas accepter un assemblyPath vide. + + + + MC3008: An element of type '{0}' cannot be set on the complex property '{1}'. They are not compatible types. + MC3008 : un élément de type '{0}' ne peut pas être défini sur la propriété complexe '{1}'. Les types ne sont pas compatibles. + + + + MC3009: Cannot find a public constructor for '{0}' that takes {1} arguments. + MC3009 : impossible de trouver un constructeur public pour '{0}' qui accepte {1} arguments. + + + + MC3012: A key for a dictionary cannot be of type '{0}'. Only String, TypeExtension, and StaticExtension are supported. + MC3012 : une clé de dictionnaire ne peut pas être de type '{0}'. Seuls les types String, TypeExtension et StaticExtension sont pris en charge. + + + + MC3029: '{0}' member is not valid because it does not have a qualifying type name. + MC3029 : le membre '{0}' n'est pas valide, car il ne possède pas un nom de type qualifiant. + + + + MC3010: '{0}' Name property value is not valid. Name must start with a letter or an underscore and can contain only letters, digits, and underscores. + MC3010 : valeur '{0}' de la propriété Name non valide. Name doit commencer par une lettre ou un trait de soulignement et ne peut contenir que des lettres, des chiffres ou des traits de soulignement. + + + + MC3094: Cannot convert string value '{0}' to type '{1}'. + MC3094 : impossible de convertir la valeur de chaîne '{0}' en type '{1}'. + + + + MC3013: SynchronousMode property value is not valid. Valid values are Async and Sync. + MC3013 : la valeur de la propriété SynchronousMode n'est pas valide. Les valeurs valides sont Async et Sync. + + + + MC3014: The object being added to an array property is not a valid type. The array is of type '{0}' but the object being added is of type '{1}'. + MC3014 : le type de l'objet ajouté à une propriété de tableau n'est pas valide. Le tableau est de type '{0}' alors que l'objet ajouté est de type '{1}'. + + + + MC3079: MarkupExtensions are not allowed for Uid or Name property values, so '{0}' is not valid. + MC3079 : les expressions MarkupExtension n'étant pas autorisées pour les valeurs des propriétés Uid ou Name, '{0}' n'est pas valide. + + + + MC3089: The object '{0}' already has a child and cannot add '{1}'. '{0}' can accept only one child. + MC3089 : l'objet '{0}' possède déjà un enfant et ne peut pas ajouter '{1}'. '{0}' ne peut accepter qu'un seul enfant. + + + + MC3028: Cannot add content to object of type '{0}'. + MC3028 : impossible d'ajouter un contenu à un objet de type '{0}'. + + + + MC3081: '{0}' is a read-only property of type IList or IDictionary and cannot be set because it does not have a public or internal get accessor. + MC3081 : '{0}' est une propriété en lecture seule de type IList ou IDictionary et ne peut pas être définie car elle ne possède pas d'accesseur get public ou interne. + + + + MC3080: The {0} '{1}' cannot be set because it does not have an accessible {2} accessor. + MC3080 : impossible de définir {0} '{1}' en l'absence d'un accesseur {2} accessible. + + + + MC3087: Cannot set content property '{0}' on element '{1}'. '{0}' has incorrect access level or its assembly does not allow access. + MC3087 : impossible de définir la propriété de contenu '{0}' sur l'élément '{1}'. '{0}' possède un niveau d'accès incorrect ou son assembly n'autorise pas l'accès. + + + + MC3082: '{0}' cannot be set as the value of a Trigger's Property attribute because it does not have a public or internal get accessor. + MC3082 : impossible de définir '{0}' comme valeur de l'attribut Property d'un Trigger, car il ne possède pas un accesseur get public ou interne. + + + + MC3016: Two new namespaces cannot be compatible with the same old namespace using an XmlnsCompatibility attribute.�'{0}' namespace is already marked compatible with '{1}'. + MC3016 : deux nouveaux espaces de noms ne peuvent pas être compatibles avec le même espace de noms antérieur à l'aide d'un attribut XmlnsCompatibility.� L'espace de noms '{0}' est déjà marqué comme compatible avec '{1}'. + + + + MC3088: Property elements cannot be in the middle of an element's content. They must be before or after the content. + MC3088 : les éléments de propriétés ne peuvent pas se trouver au milieu du contenu d'un élément. Ils doivent se trouver avant ou après le contenu. + + + + MC3017: 'Code' tag from xaml namespace found in XAML file. To load this file, you must compile it. + MC3017 : balise 'Code' d'un espace de noms xaml trouvée dans le fichier XAML. Pour charger ce fichier, vous devez le compiler. + + + + MC3061: The Element type '{0}' does not have an associated TypeConverter to parse the string '{1}'. + MC3061 : le type Element '{0}' n'a pas de TypeConverter associé pour analyser la chaîne '{1}'. + + + + MC3018: Cannot modify data in a sealed XmlnsDictionary. + MC3018 : impossible de modifier les données d'un XmlnsDictionary de type sealed. + + + + MC3020: The dictionary key '{0}' is already used. Key attributes are used as keys when inserting objects into a dictionary and must be unique. + MC3020 : clé de dictionnaire '{0}' déjà utilisée. Les attributs Key sont utilisés en tant que clés lors de l'insertion d'objets dans un dictionnaire et doivent être uniques. + + + + MC3033: The property '{0}' has already been set on this markup extension and can only be set once. + MC3033 : la propriété '{0}' a déjà été définie sur cette extension de balisage et ne peut être définie qu'une seule fois. + + + + MC3024: '{0}' property has already been set and can be set only once. + MC3024 : la propriété '{0}' a déjà été définie et ne peut l'être qu'une seule fois. + + + + MC3025: Property '{0}' and '{1}' refer to the same property. Duplicate property settings are not allowed. + MC3025 : '{0}' et '{1}' font référence à la même propriété. Les valeurs de propriété en double ne sont pas autorisées. + + + + MC3026: '{0}' property element cannot be empty. It must contain child elements or text. + MC3026 : l'élément de propriété '{0}' ne peut pas être vide. Il doit contenir des éléments enfants ou du texte. + + + + MC3027: The EntityReference &{0}; is not recognized. + MC3027 : EntityReference &{0}; non reconnue. + + + + MC3083: Cannot access the delegate type '{0}' for the '{1}' event. '{0}' has incorrect access level or its assembly does not allow access. + MC3083 : impossible d'accéder au type délégué '{0}' pour l'événement '{1}'. '{0}' possède un niveau d'accès incorrect ou son assembly n'autorise pas l'accès. + + + + MC3030: '{0}' property is a read-only IEnumerable property, which means that '{1}' must implement IAddChild. + MC3030 : la propriété '{0}' est une propriété IEnumerable en lecture seule, ce qui signifie que '{1}' doit implémenter IAddChild. + + + + MC3078: Invalid ContentPropertyAttribute on type '{0}', property '{1}' not found. + MC3078 : ContentPropertyAttribute non valide sur le type '{0}', propriété '{1}' introuvable. + + + + Known type value {0}='{1}' is not a valid known type. + La valeur de type connu {0}='{1}' n'est pas un type connu valide. + + + + MC3011: Cannot find the static member '{0}' on the type '{1}'. + MC3011 : impossible de trouver le membre statique '{0}' sur le type '{1}'. + + + + MC3031: Keys and values in XmlnsDictionary must be strings. + MC3031 : les clés et les valeurs de XmlnsDictionary doivent être des chaînes. + + + + Line {0} Position {1} + Ligne {0} Position {1} + + + + MC3037: Missing XmlNamespace, Assembly or ClrNamespace in Mapping instruction. + MC3037 : XmlNamespace, Assembly ou ClrNamespace absent de l'instruction Mapping. + + + + '{0}' mapping URI is not valid. + URI de mappage '{0}' non valide. + + + + MC3040: Format is not valid for MarkupExtension that specifies constructor arguments in '{0}'. + MC3040 : format non valide pour MarkupExtension qui spécifie les arguments du constructeur dans '{0}'. + + + + MC3041: Markup extensions require a single '=' between name and value, and a single ',' between constructor parameters and name/value pairs. The arguments '{0}' are not valid. + MC3041 : les extensions de balisage nécessitent un seul signe '=' entre le nom et la valeur et une seule ',' entre les paramètres du constructeur et les paires nom / valeur. Les arguments '{0}' ne sont pas valides. + + + + MC3091: '{0}' is not valid. Markup extensions require only spaces between the markup extension name and the first parameter. Cannot have comma or equals sign before the first parameter. + MC3091 : '{0}' n'est pas valide. Les extensions de balisage nécessitent uniquement des espaces entre le nom de l'extension de balisage et le premier paramètre. Impossible d'avoir une virgule ou un signe '=' avant le premier paramètre. + + + + MC8001: Encountered a closing BracketCharacter '{0}' at Line Number '{1}' and Line Position '{2}' without a corresponding opening BracketCharacter. + MC8001 : BracketCharacter fermant '{0}' détecté au numéro de ligne '{1}' et à la position de ligne '{2}' sans correspondance avec un BracketCharacter ouvrant. + + + + MC8002: BracketCharacter '{0}' at Line Number '{1}' and Line Position '{2}' does not have a corresponding opening/closing BracketCharacter. + MC8002 : le BracketCharacter '{0}' détecté au numéro de ligne '{1}' et à la position de ligne '{2}' ne correspond à aucun BracketCharacter ouvrant/fermant. + + + + MC3038: MarkupExtension expressions must end with a '}'. + MC3038 : les expressions MarkupExtension doivent se terminer par une '}'. + + + + MC3042: Name/value pairs in MarkupExtensions must have the format 'Name = Value' and each pair is separated by a comma. '{0}' does not follow this format. + MC3042 : les paires nom / valeur d'une expression MarkupExtensions doivent obéir au format 'Name = Value' et chaque paire doit être séparée par une virgule. '{0}' ne respecte pas ce format. + + + + MC3043: Names and Values in a MarkupExtension cannot contain quotes. The MarkupExtension arguments '{0}' are not valid. + MC3043 : les noms et valeurs d'une expression MarkupExtension ne peuvent pas contenir de guillemets. Les arguments '{0}' de MarkupExtension ne sont pas valides. + + + + MC3044: The text '{1}' is not allowed after the closing '{0}' of a MarkupExtension expression. + MC3044 : texte '{1}' non autorisé après la fermeture '{0}' d'une expression MarkupExtension. + + + + MC3045: Unknown property '{0}' for type '{1}' encountered while parsing a Markup Extension. + MC3045 : propriété '{0}' inconnue pour le type '{1}' rencontrée lors de l'analyse d'une expression Markup Extension. + + + + MC3046: Unknown attribute '{0}' in the '{1}' namespace. Note that only the Key attribute is currently supported in this namespace. + MC3046 : attribut '{0}' inconnu dans l'espace de noms '{1}'. Notez que seul l'attribut Key est actuellement pris en charge dans cet espace de noms. + + + + MC3047: Internal parser error - Cannot use multiple writable BAML records at the same time. + MC3047 : erreur d'analyse interne - impossible d'utiliser en même temps plusieurs enregistrements BAML accessibles en écriture. + + + + '{0}' property element cannot be nested directly inside another property element. + L'élément de propriété '{0}' ne peut pas être imbriqué directement dans un autre élément de propriété. + + + + MC3049: Cannot place attributes on Array tags. + MC3049 : impossible de placer des attributs sur les balises Array. + + + + MC3021: Asynchronous loading is not supported when compiling a XAML file, so a SynchronousMode of '{0}' is not allowed. + MC3021 : le chargement asynchrone n'étant pas pris en charge lors de la compilation d'un fichier XAML, un SynchronousMode égal à '{0}' n'est pas autorisé. + + + + MC3051: The type '{0}' does not support element content. + MC3051 : le type '{0}' ne prend pas en charge le contenu de l'élément. + + + + MC3022: All objects added to an IDictionary must have a Key attribute or some other type of key associated with them. + MC3022 : tous les objets ajoutés à un IDictionary doivent avoir un attribut Key ou un autre type de clé associé. + + + + MC3023: The Key attribute can only be used on a tag contained in a Dictionary (such as a ResourceDictionary). + MC3023 : l'attribut Key ne peut pas être utilisé sur une balise contenue dans un Dictionary (comme ResourceDictionary). + + + + MC3032: '{1}' cannot be used as a value for '{0}'. Numbers are not valid enumeration values. + MC3032 : '{1}' ne peut pas être utilisé comme valeur de '{0}'. Les nombres ne sont pas des valeurs d'énumération valides. + + + + MC3053: Cannot use property element syntax to specify event handler '{0}'. + MC3053 : impossible d'utiliser la syntaxe de l'élément de propriété pour spécifier le gestionnaire d'événements '{0}'. + + + + MC3052: XAML file that contains events must be compiled. + MC3052 : le fichier XAML qui contient les événements doit être compilé. + + + + MC3054: The type '{0}' cannot have a Name attribute. Value types and types without a default constructor can be used as items within a ResourceDictionary. + MC3054 : le type '{0}' ne peut pas avoir d'attribut Name. Les types valeur et les types sans constructeur par défaut peuvent être utilisés comme éléments au sein d'un ResourceDictionary. + + + + MC3093: Cannot set Name attribute value '{0}' on element '{1}'. '{1}' is under the scope of element '{2}', which already had a name registered when it was defined in another scope. + MC3093 : impossible de définir la valeur de l'attribut Name '{0}' sur l'élément '{1}'. '{1}' se trouve sous la portée de l'élément '{2}', qui avait déjà un nom inscrit quand il a été défini dans une autre portée. + + + + MC3056: No NamespaceURI is defined for the object '{0}'. + MC3056 : aucune définition de NamespaceURI pour l'objet '{0}'. + + + + MC3084: Cannot nest XML data islands. + MC3084 : impossible d'imbriquer des îlots de données XML. + + + + MC3057: Cannot set properties on property elements. + MC3057 : impossible de définir des propriétés sur les éléments de propriété. + + + + MC3058: Cannot find a custom serializer for '{0}' so it cannot be parsed. + MC3058 : comme il est impossible de trouver un sérialiseur personnalisé pour '{0}', il ne peut pas être analysé. + + + + MC3059: Style setters do not support child elements. A tag of type '{0}' is not allowed. + MC3059 : les Style Setters ne prennent pas en charge les éléments enfants. Une balise de type '{0}' n'est pas autorisée. + + + + MC3050: Cannot find the type '{0}'. Note that type names are case sensitive. + MC3050 : impossible de trouver le type '{0}'. Notez que les noms de type respectent la casse. + + + + MC3048: '{0}' value is not a valid MarkupExtension expression. Cannot resolve '{1}' in namespace '{2}'. '{1}' must be a subclass of MarkupExtension. + MC3048 : la valeur '{0}' n'est pas une expression MarkupExtension valide. Impossible de résoudre '{1}' en espace de noms '{2}'. '{1}' doit être une sous-classe de MarkupExtension. + + + + MC3062: '{0}' XML namespace prefix does not map to a NamespaceURI, so element '{1}' cannot be resolved. + MC3062 : comme le préfixe de l'espace de noms XML '{0}' ne correspond pas à un NamespaceURI, l'élément '{1}' ne peut pas être résolu. + + + + MC3100: '{0}' XML namespace prefix does not map to a namespace URI, so cannot resolve property '{1}'. + MC3100 : comme le préfixe d'espace de noms '{0}' ne correspond pas à un URI d'espace de noms, la résolution de la propriété '{1}' n'est pas possible. + + + + MC3063: Property '{0}' does not have a value. + MC3063 : la propriété '{0}' n'a pas de valeur. + + + + MC3064: Only public or internal classes can be used within markup. '{0}' type is not public or internal. + MC3064 : seules les classes publiques ou internes peuvent être utilisées au sein du balisage. Le type '{0}' n'est ni public ni interne. + + + + MC3065: '{0}' property is read-only and cannot be set from markup. + MC3065 : la propriété '{0}' est en lecture seule et ne peut pas être définie à partir du balisage. + + + + MC3066: The type reference cannot find a public type named '{0}'. + MC3066 : la référence de type ne peut pas trouver un type public nommé '{0}'. + + + + MC3019: Cannot reference the static member '{0}' on the type '{1}' as it is not accessible. + MC3019 : impossible de référencer le membre statique '{0}' sur le type '{1}' car il n'est pas accessible. + + + + MC3067: SynchronousMode attribute must be on the root tag. + MC3067 : l'attribut SynchronousMode doit se trouver sur la balise racine. + + + + MC3069: Cannot have both the text '{0}' and the child element '{1}' within a property element. + MC3069 : impossible d'avoir à la fois le texte '{0}' et l'élément enfant '{1}' dans un élément de propriété. + + + + MC3068: Text is not valid under an IDictionary or Array property. + MC3068 : texte non valide sous une propriété IDictionary ou Array. + + + + MC3070: A single XAML file cannot reference more than 4,096 different assemblies. + MC3070 : un même fichier XAML ne peut pas référencer plus de 4 096 assemblys différents. + + + + MC3095: Close tag must immediately follow TypeConverter initialization string '{0}'. + MC3095 : la balise de fermeture doit suivre immédiatement la chaîne d'initialisation TypeConverter '{0}'. + + + + MC3090: TypeConverter syntax error encountered while processing initialization string '{0}'. Element attributes are not allowed on objects created via TypeConverter. + MC3090 : erreur de syntaxe TypeConverter rencontrée lors du traitement de la chaîne d'initialisation '{0}'. Les attributs d'élément ne sont pas autorisés sur les objets créés via TypeConverter. + + + + MC3071: '{0}' is an undeclared namespace. + MC3071 : '{0}' est un espace de noms non déclaré. + + + + MC3072: The property '{0}' does not exist in XML namespace '{1}'. + MC3072 : la propriété '{0}' n'existe pas dans l'espace de noms XML '{1}'. + + + + MC3073: The attribute '{0}' does not exist in XML namespace 'http://schemas.microsoft.com/winfx/2006/xaml'. + MC3073 : l'attribut '{0}' n'existe pas dans l'espace de noms XML 'http://schemas.microsoft.com/winfx/2006/xaml'. + + + + MC3074: The tag '{0}' does not exist in XML namespace '{1}'. + MC3074 : la balise '{0}' n'existe pas dans l'espace de noms XML '{1}'. + + + + MC3075: Unrecognized XML node type '{0}' found when determining if the current tag is a property element. + MC3075 : type de nœud XML non identifié '{0}' rencontré pendant l'analyse visant à déterminer si la balise en cours est un élément de propriété. + + + + MC3086: Parent element or property '{0}' requires an XML data island. To distinguish an XML island from surrounding XAML, wrap the XML data island in <x:XData> ... </x:XData>. + MC3086 : l'élément parent ou la propriété '{0}' nécessite un îlot de données XML. Pour distinguer un îlot XML du XAML environnant, incluez dans un wrapper l'îlot de données XML dans <x:XData> ... </x:XData>. + + + + MC3085: '{0}' element or property cannot contain an XML data island. + MC3085 : la propriété ou l'élément '{0}' ne peut pas contenir d'îlot de données XML. + + + + MC3092: XmlLangProperty attribute must specify a property name. + MC3092 : l'attribut XmlLangProperty doit spécifier un nom de propriété. + + + + MC3077: The class '{0}' does not implement IXmlLineInfo. This is required to get position information for the XAML being parsed. + MC3077 : la classe '{0}' n'implémente pas IXmlLineInfo. Cette implémentation est obligatoire pour obtenir les informations de position du XAML en cours d'analyse. + + + + MC3098: Unexpected token '{0}' at position '{1}'. + MC3098 : jeton inattendu '{0}' à la position '{1}'. + + + + MC3096: Token is not valid. + MC3096 : jeton non valide. + + + + Preparing for the markup compilation... + Préparation de la compilation du balisage... + + + + MC4301: Type name '{0}' does not have the expected format 'className, assembly'. + MC4301 : le nom de type '{0}' n'a pas le format attendu, 'className, assembly'. + + + + Reading Resource file: '{0}'... + Lecture du fichier Resource : '{0}'... + + + + Recompiled XAML file : '{0}'. + Fichier XAML recompilé : '{0}'. + + + + Input: Assembly Reference file: '{0}'. + Entrée : fichier Reference d'assembly : '{0}'. + + + + Resource ID is '{0}'. + L'ID de ressource est '{0}'. + + + + RG1001: Input resource file '{0}' exceeds maximum size of {1} bytes. + RG1001 : le fichier de ressources en entrée '{0}' dépasse la taille maximale ({1} octets). + + + + Generated .resources file: '{0}'. + Fichier .resources généré : '{0}'. + + + + Generating .resources file: '{0}'... + Génération du fichier .resources : '{0}'... + + + + ResourcesGenerator + ResourcesGenerator + + + + MC6006: {0}.{1}="{2}" is not valid. '{1}' must be a RoutedEvent registered with a name that ends with the keyword "Event". + MC6006 : {0}.{1}="{2}" n'est pas valide. '{1}' doit être un événement RoutedEvent inscrit avec un nom qui se termine par le mot clé "Event". + + + + UM1005: You must pass markup files to the task. + UM1005 : vous devez passer les fichiers de balisage à la tâche. + + + + MC4110: SourceName property cannot be set within Style.Triggers section. + MC4110 : la propriété SourceName ne peut pas être définie au sein de la section Style.Triggers. + + + + MC4001: Style does not support both {0} tags and Style.{1} property tags for a single Style. Use one or the other. + MC4001 : Style ne prend pas en charge à la fois les balises {0} et les balises de propriété Style.{1} pour un même Style. Utilisez l'une ou l'autre solution. + + + + MC4002: The Style property tag '{0}' can only be specified directly under a Style tag. + MC4002 : la balise de propriété Style '{0}' ne peut être spécifiée directement que sous une balise Style. + + + + MC4005: Cannot find the Style {0} '{1}' on the type '{2}'. + MC4005 : impossible de trouver le Style {0} '{1}' sur le type '{2}'. + + + + MC4003: Cannot resolve the Style {0} '{1}'. Verify that the owning type is the Style's TargetType, or use Class.Property syntax to specify the {0}. + MC4003 : impossible de résoudre le Style {0} '{1}'. Vérifiez que le type propriétaire est le TargetType de Style ou utilisez la syntaxe Class.Property pour spécifier le {0}. + + + + MC4004: Style cannot contain child '{0}'. Style child must be a Setter because it is added to the Setters collection. + MC4004 : Style ne peut pas contenir d'enfant '{0}'. L'enfant Style doit être une méthode Setter car il est ajouté à la collection Setters. + + + + MC4006: Tags of type '{0}' are not supported in Style sections. + MC4006 : les balises de type '{0}' ne sont pas prises en charge dans les sections Style. + + + + MC4007: The event '{0}' cannot be specified on a Target tag in a Style. Use an EventSetter instead. + MC4007 : l'événement '{0}' ne peut pas être spécifié sur la balise Target d'un Style. Utilisez à la place un EventSetter. + + + + MC4008: The text '{0}' is not allowed at this location within a Style section. + MC4008 : le texte '{0}' n'est pas autorisé à cet emplacement au sein d'une section Style. + + + + MC4009: The property '{0}' cannot be set on Style. + MC4009 : la propriété '{0}' ne peut pas être définie sur Style. + + + + MC6017: '{0}' cannot be the root of a XAML file because it was defined using XAML. + MC6017 : '{0}' ne peut pas être la racine d'un fichier XAML, car sa définition a été faite à l'aide de XAML. + + + + BG1004: Target Type '{0}' is not supported by this task. + BG1004 : type Target '{0}' non pris en charge par cette tâche. + + + + MC4011: TargetName property cannot be set on a Style Setter. + MC4011 : la propriété TargetName ne peut pas être définie sur un Style Setter. + + + + + Copyright (C) Microsoft Corporation 2005. All rights reserved. + Copyright (C) Microsoft Corporation 2005. Tous droits réservés. + + + + MC4101: The Name '{0}' has already been defined. Names must be unique. + MC4101 : le Name '{0}' a déjà été défini. Chaque Name doit être unique. + + + + MC4108: The root of a Template content section cannot contain an element of type '{0}'. Only FrameworkElement and FrameworkContentElement types are valid. + MC4108 : la racine d'une section de contenu Template ne peut pas contenir un élément de type '{0}'. Seuls les types FrameworkElement et FrameworkContentElement sont valides. + + + + MC4103: The template property tag '{0}' can only be specified immediately after a ControlTemplate tag. + MC4103 : la balise de propriété du modèle '{0}' ne peut être spécifiée qu'immédiatement après une balise ControlTemplate. + + + + MC4107: A template can have only a single root element. '{0}' is not allowed. + MC4107 : un modèle ne peut avoir qu'un seul élément racine. '{0}' n'est pas autorisé. + + + + MC4109: Cannot find the Template Property '{0}' on the type '{1}'. + MC4109 : impossible de trouver la propriété de modèle '{0}' sur le type '{1}'. + + + + MC4106: Cannot resolve the Template Property '{0}'. Verify that the owning type is the Style's TargetType, or use Class.Property syntax to specify the property. + MC4106 : impossible de résoudre la propriété de modèle '{0}'. Vérifiez que le type propriétaire est le TargetType de Style ou utilisez la syntaxe Class.Property pour spécifier la propriété. + + + + MC4111: Cannot find the Trigger target '{0}'. (The target must appear before any Setters, Triggers, or Conditions that use it.) + MC4111 : impossible de trouver la cible Trigger '{0}'. (La cible doit figurer avant toute méthode Setter, Trigger ou Condition qui l'utilise.) + + + + MC4102: Tags of type '{0}' are not supported in template sections. + MC4102 : les balises de type '{0}' ne sont pas prises en charge dans les sections de modèle. + + + + MC4105: The text '{0}' is not allowed at this location within a template section. + MC4105 : le texte '{0}' n'est pas autorisé à cet emplacement au sein d'une section de modèle. + + + + MC4104: The property '{0}' cannot be set as a property element on template. Only Triggers and Storyboards are allowed as property elements. + MC4104 : la propriété '{0}' ne peut pas être définie comme élément de propriété d'un modèle. Seuls les éléments Triggers et Storyboards sont autorisés comme éléments de propriété. + + + + MC7004: Empty token encountered while parsing. + MC7004 : jeton vide rencontré lors de l'analyse. + + + + MC7003: Extra data encountered after token while parsing. + MC7003 : données supplémentaires rencontrées après l'analyse du jeton. + + + + MC7002: Missing end quote encountered while parsing token. + MC7002 : absence de guillemet fermant rencontrée lors de l'analyse du jeton. + + + + MC7001: Premature string termination encountered. + MC7001 : fin de chaîne prématurée rencontrée. + + + + UidManager + UidManager + + + + UM1003: Uid is missing for element '{0}'. + UM1003 : absence d'Uid pour l'élément '{0}'. + + + + Unknown build error, '{0}' + Erreur de build inconnue, '{0}' + + + + MC6013: {0}:ClassModifier="{1}" is not valid for the language {2}. + MC6013 : {0}:ClassModifier="{1}" non valide pour le langage {2}. + + + + MC6002: Unrecognized tag '{0}:{1}' in namespace 'http://schemas.microsoft.com/winfx/2006/xaml'. Note that tag names are case sensitive. + MC6002 : balise '{0}:{1}' non reconnue dans l'espace de noms 'http://schemas.microsoft.com/winfx/2006/xaml'. Notez que les noms de balise respectent la casse. + + + + MC6007: '{1}' is not valid. '{0}' is not an event on '{2}'. + MC6007 : '{1}' n'est pas valide. '{0}' n'est pas un événement sur '{2}'. + + + + MC6014: {0}:FieldModifier="{1}" is not valid for the language {2}. + MC6014 : {0}:FieldModifier="{1}" n'est pas valide pour le langage {2}. + + + + MC6020: {0}:TypeArguments='{1}' is not valid on the tag '{2}'. Either '{2}' is not a generic type or the number of Type arguments in the attribute is wrong. Remove the {0}:TypeArguments attribute because it is allowed only on generic types, or fix its value to match the arity of the generic type '{2}'. + MC6020 : {0}:TypeArguments='{1}' n'est pas valide sur la balise '{2}'. '{2}' n'est pas un type générique ou le nombre d'arguments Type dans l'attribut est erroné. Supprimez l'attribut {0} :TypeArguments parce qu'il n'est autorisé que sur les types génériques ou corrigez sa valeur pour qu'elle corresponde à la parité du type générique '{2}'. + + + + MC6008: '{0}' is not installed properly on this machine. It must be listed in the <compilers> section of machine.config. + MC6008 : '{0}' n'est pas installé correctement sur cet ordinateur. Il doit être répertorié dans la section <compilers> de machine.config. + + + + Unknown path operation attempted. + Tentative d'opération de chemin d'accès inconnu. + + + + LC1003: Localization comment has no value set for target property: '{0}'. + LC1003 : les commentaires de localisation n'ont pas de valeur définie pour la propriété cible : '{0}'. + + + + UpdateManifestForBrowserApplication + UpdateManifestForBrowserApplication + + + + MC4501: Major and minor version number components cannot be negative. + MC4501 : les numéros de version majeure et de version mineure ne peuvent pas être négatifs. + + + + MC6000: Project file must include the .NET Framework assembly '{0}' in the reference list. + MC6000 : le fichier projet doit inclure l'assembly du .NET Framework '{0}' dans la liste de référence. + + + + MC1001: The LocalizationDirectivesToLocFile property value is not valid and must be changed to None, CommentsOnly, or All for the MarkupCompilePass1 task. + MC1001 : la valeur de la propriété LocalizationDirectivesToLocFile n'est pas valide et doit être modifiée en None, CommentsOnly ou All pour la tâche MarkupCompilePass1. + + + + BG1003: The project file contains a property value that is not valid. + BG1003 : le fichier projet contient une valeur de propriété non valide. + + + + MC4602: Choice cannot follow a Fallback. + MC4602 : un élément Choice ne peut pas suivre un élément Fallback. + + + + MC4606: AlternateContent must contain one or more Choice elements. + MC4606 : AlternateContent doit contenir un ou plusieurs éléments Choice. + + + + MC4601: Choice valid only in AlternateContent. + MC4601 : élément Choice valide uniquement dans AlternateContent. + + + + MC4640: Namespace '{0}' is marked as compatible with itself using XmlnsCompatibilityAttribute. A namespace cannot directly or indirectly override itself. + MC4640 : l'espace de noms '{0}' est marqué comme compatible avec lui-même à l'aide de XmlnsCompatibilityAttribute. Un espace de noms ne peut pas directement ou indirectement se remplacer lui-même. + + + + MC4631: Duplicate Preserve declaration for element '{1}' in namespace '{0}'. + MC4631 : déclaration Preserve en double pour l'élément '{1}' de l'espace de noms '{0}'. + + + + MC4617: Duplicate ProcessContent declaration for element '{1}' in namespace '{0}'. + MC4617 : déclaration ProcessContent en double pour l'élément '{1}' de l'espace de noms '{0}'. + + + + MC4633: Duplicate wildcard Preserve declaration for namespace '{0}'. + MC4633 : déclaration Preserve générique en double pour l'espace de noms '{0}'. + + + + MC4619: Duplicate wildcard ProcessContent declaration for namespace '{0}'. + MC4619 : déclaration ProcessContent générique en double pour l'espace de noms '{0}'. + + + + MC4605: Fallback valid only in AlternateContent. + MC4605 : élément Fallback valide uniquement dans AlternateContent. + + + + MC4610: '{0}' element is not a valid child of AlternateContent. Only Choice and Fallback elements are valid children of an AlternateContent element. + MC4610 : l'élément '{0}' n'est pas un enfant valide de AlternateContent. Seuls les éléments Choice et Fallback sont des enfants valides d'un élément AlternateContent. + + + + MC4608: '{0}' attribute is not valid for element '{1}'. + MC4608 : attribut '{0} non valide pour l'élément '{1}'. + + + + MC4611: '{0}' format is not valid. + MC4611 : format '{0}' non valide. + + + + MC4632: Cannot have both a specific and a wildcard Preserve declaration for namespace '{0}'. + MC4632 : impossible d'avoir une déclaration Preserve à la fois spécifique et générique pour l'espace de noms '{0}'. + + + + MC4618: Cannot have both a specific and a wildcard ProcessContent declaration for namespace '{0}'. + MC4618 : Impossible d'avoir à la fois une déclaration ProcessContent générique et spécifique pour l'espace de noms '{0}'. + + + + MC4604: Requires attribute must contain a valid namespace prefix. + MC4604 : l'attribut Requires doit contenir un préfixe d'espace de noms valide. + + + + MC4634: '{0}' attribute value is not a valid XML name. + MC4634 : la valeur de l'attribut '{0}' n'est pas un nom XML valide. + + + + MC4607: AlternateContent must contain only one Fallback element. + MC4607 : AlternateContent ne doit contenir qu'un seul élément Fallback. + + + + MC4626: MustUnderstand condition failed on namespace '{0}'. + MC4626 : échec de la condition MustUnderstand sur l'espace de noms '{0}'. + + + + MC4630: Namespace '{0}' has items declared to be preserved but is not declared ignorable. + MC4630 : l'espace de noms '{0}' possède des éléments déclarés avec Preserve, mais n'est pas déclaré lui-même Ignorable. + + + + MC4615: '{0}' namespace is declared ProcessContent but is not declared Ignorable. + MC4615 : l'espace de noms '{0}' est déclaré ProcessContent, mais n'est pas déclaré Ignorable. + + + + MC4603: Choice must contain a Requires attribute. + MC4603 : l'élément Choice doit comporter un attribut Requires. + + + + MC4612: '{0}' prefix is not defined. + MC4612 : le préfixe '{0}' n'est pas défini. + + + + MC4614: Unrecognized compatibility attribute '{0}'. + MC4614 : attribut de compatibilité '{0}' non reconnu. + + + + MC4609: Unrecognized compatibility element '{0}'. + MC4609 : élément de compatibilité '{0}' non reconnu. + + + + MC4502: The feature ID string cannot have length 0. + MC4502 : la chaîne d'identification de la fonctionnalité ne peut pas avoir une longueur nulle. + + + + + \ No newline at end of file diff --git a/src/Microsoft.DotNet.Wpf/src/PresentationBuildTasks/Resources/xlf/Strings.it.xlf b/src/Microsoft.DotNet.Wpf/src/PresentationBuildTasks/Resources/xlf/Strings.it.xlf new file mode 100644 index 00000000000..af4602d7650 --- /dev/null +++ b/src/Microsoft.DotNet.Wpf/src/PresentationBuildTasks/Resources/xlf/Strings.it.xlf @@ -0,0 +1,1242 @@ + + + + + + Analysis Result : '{0}'. + Risultato analisi: '{0}'. + + + + MC1002: Library project file cannot specify ApplicationDefinition element. + MC1002: impossibile specificare l'elemento ApplicationDefinition nel file di progetto della libreria. + + + + Input: Markup ApplicationDefinition file: '{0}'. + Input: file ApplicationDefinition markup: '{0}'. + + + + MC6015: '{0}' cannot be set on the '{1}:{2}' tag. + MC6015: impossibile impostare '{0}' nel tag '{1}:{2}'. + + + + UM1001: Unrecognized UidManager task name '{0}'. + UM1001: nome di attività UidManager non riconosciuto '{0}'. + + + + Checking Uids in file '{0}' ... + Controllo degli Uids nel file '{0}' in corso... + + + + Generated localization directives file: '{0}' . + File di direttive di localizzazione generato: '{0}' . + + + + Generating localization directives file: '{0}' ... + Generazione del file di direttive di localizzazione '{0}' in corso... + + + + Markup compilation is done. + Compilazione del markup completata. + + + + MarkupCompilePass1 successfully generated BAML or source code files. + Generazione dei file BAML o di codice sorgente completata da MarkupCompilePass1. + + + + MarkupCompilePass2 successfully generated BAML or source code files. + Generazione dei file BAML o di codice sorgente completata da MarkupCompilePass2. + + + + MC6011: '{0}' event has a generic event handler delegate type '{1}'. The type parameters of '{1}' cannot be bound with an appropriate type argument because the containing tag '{2}' is not a generic type. + MC6011: all'evento '{0}' è associato un tipo delegato generico di gestore eventi '{1}'. Impossibile associare i parametri di tipo di '{1}' a un argomento di tipo appropriato perché il tag contenitore '{2}' non è un tipo generico. + + + + Current project directory is '{0}'. + Directory di progetto corrente: '{0}'. + + + + MC6022: Only a root tag can specify attribute '{0}:{1}'. + MC6022: l'attributo '{0}:{1}' può essere specificato solo in un tag radice. + + + + MC6010: '{0}:{1}' cannot be specified as the root element. + MC6010: impossibile specificare '{0}:{1}' come elemento radice. + + + + MC6004: '{0}:{1}' contains '{2}'. '{0}:{1}' can contain only a CDATA or text section. + MC6004: '{0}:{1}' contiene '{2}'. '{0}:{1}' può contenere solo una sezione CDATA o di testo. + + + + Started the markup compilation. + Compilazione del markup avviata. + + + + MC6030: {0}="{1}" is not valid. '{0}' event attribute value cannot be a string that is empty or has only white space. + MC6030: {0}="{1}" non è valido. Il valore dell'attributo dell'evento '{0}' non può essere una stringa vuota o composta solo da spazi vuoti. + + + + MC6021: {0}:FieldModifier cannot be specified on this tag because it has either no {0}:Name or Name attribute set, or the tag is locally defined and has a Name attribute set, which is not allowed. + MC6021: impossibile specificare {0}:FieldModifier in questo tag perché non è impostato l'attributo {0}:Name o Name oppure il tag è definito localmente con un attributo Name impostato e questa condizione non è consentita. + + + + FileClassifier + FileClassifier + + + + BG1002: File '{0}' cannot be found. + BG1002: il file '{0}' non è stato trovato. + + + + Input file '{0}' is resolved to new relative path '{1}' at directory '{2}'. + File di input '{0}' risolto in un nuovo percorso relativo '{1}' nella directory '{2}'. + + + + UM1004: {0} files failed Uid check. + UM1004: controllo Uid non riuscito per {0} file. + + + + Uids valid in {0} files. + Uids validi in {0} file. + + + + Uids removed from {0} files. + Uids rimossi da {0} file. + + + + Uids updated in {0} files. + Uids aggiornati in {0} file. + + + + Generated BAML file: '{0}'. + File BAML generato: '{0}'. + + + + Generated code file: '{0}'. + File di codice generato: '{0}'. + + + + GetWinFXPath + GetWinFXPath + + + + MC6003: '{0}:{1}' contains '{2}'. '{0}:{1}' cannot contain nested content. + MC6003: '{0}:{1}' contiene '{2}'. '{0}:{1}' non può includere contenuto annidato. + + + + UM1006: '{0}' directory does not exist and cannot be created. + UM1006: la directory '{0}' non esiste e non può essere creata. + + + + InternalTypeHelper class is not required for this project, make file '{0}' empty. + La classe InternalTypeHelper non è richiesta per questo progetto, file make '{0}' vuoto. + + + + MC6018: '{0}' class name is not valid for the locally defined XAML root element. + MC6018: il nome di classe '{0}' non è valido per l'elemento radice XAML definito in locale. + + + + MC6019: '{0}' namespace is not valid for the locally defined XAML root element '{1}'. + MC6019: lo spazio dei nomi '{0}' non è valido per l'elemento radice XAML definito in locale '{1}'. + + + + MC6027: {0}:{1}="{2}" is not valid. '{2}' is not a valid {3}class name. + MC6027: {0}:{1}="{2}" non è valido. '{2}' non è un nome di classe {3} valido. + + + + FC1001: The UICulture value '{0}' set in the project file is not valid. + FC1001: il valore UICulture '{0}' impostato nel file di progetto non è valido. + + + + MC4402: Serializer does not support custom BAML serialization operations. + MC4402: il serializzatore non supporta operazioni di serializzazione BAML personalizzate. + + + + MC4401: Serializer does not support Convert operations. + MC4401: il serializzatore non supporta operazioni Convert. + + + + MC6029: '{0}' name is not valid in the default namespace '{1}'. Correct the RootNamespace tag value in the project file. + MC6029: il nome '{0}' non è valido nello spazio dei nomi predefinito '{1}'. Correggere il valore del tag RootNamespace nel file di progetto. + + + + MC6005: {0}="{1}" is not valid. '{1}' is not a valid event handler method name. Only instance methods on the generated or code-behind class are valid. + MC6005: {0}="{1}" non è valido. '{1}' non è un nome valido di metodo del gestore eventi. Sono validi solo i metodi di istanza nella classe generata o code-behind. + + + + LC1001: Localization comment target property is not valid in string '{0}'. + LC1001: la proprietà di destinazione del commento di localizzazione non è valida nella stringa '{0}'. + + + + LC1002: Localization comment value is not valid for target property '{0}' in string '{1}'. + LC1002: il valore del commento di localizzazione non è valido per la proprietà di destinazione '{0}' nella stringa '{1}'. + + + + LC1004: Localizability attribute setting '{0}' is not valid. + LC1004: l'impostazione dell'attributo di localizzabilità '{0}' non è valida. + + + + MC6001: Markup file is not valid. Specify a source markup file with an .xaml extension. + MC6001: file di markup non valido. Specificare un file di markup di origine con estensione .xaml. + + + + MC6028: {0}:TypeArguments="{1}" is not valid. '{2}' is not a valid type name reference for the generic argument at position '{3}'. + MC6028: {0}:TypeArguments="{1}" non valido. '{2}' non è un riferimento a un nome di tipo valido per l'argomento generico nella posizione '{3}'. + + + + MC3000: '{0}' XML is not valid. + MC3000: XML '{0}' non valido. + + + + MC6023: Because '{0}' is implemented in the same assembly, you must set the {1}:Name attribute rather than the Name attribute. + MC6023: '{0}' è implementato nello stesso assembly. È pertanto necessario impostare l'attributo {1}:Name anziché l'attributo Name. + + + + Input: Local reference markup ApplicationDefinition file is '{0}'. + Input: il file ApplicationDefinition del markup di riferimento locale è '{0}'. + + + + Generated BAML file: '{0}'. + File BAML generato: '{0}'. + + + + Input: Local reference markup Page file: '{0}'. + Input: file Page del markup di riferimento locale: '{0}'. + + + + MarkupCompilePass1 + MarkupCompilePass1 + + + + MarkupCompilePass2 + MarkupCompilePass2 + + + + MC6012: '{0}' event has a generic event handler delegate type '{1}'. The type parameter '{2}' on '{1}' does not match any type parameters on the containing generic tag '{3}'. + MC6012: all'evento '{0}' è associato un tipo delegato generico del gestore eventi '{1}'. Il parametro del tipo '{2}' in '{1}' non corrisponde a nessun parametro del tipo nel tag generico contenitore '{3}'. + + + + MergeLocalizationDirectives + MergeLocalizationDirectives + + + + MC6026: '{0}' root element requires a {1}:Class attribute because '{2}' contains a {1}:Code tag. Either remove {1}:Code and its contents, or add a {1}:Class attribute to the root element. + MC6026: per l'elemento radice '{0}' è obbligatorio un attributo {1}:Class perché '{2}' contiene un tag {1}:Code. Rimuovere {1}:Code e il relativo contenuto oppure aggiungere un attributo {1}:Class all'elemento radice. + + + + MC6024: '{0}' root element requires a {1}:Class attribute to support event handlers in the XAML file. Either remove the event handler for the {2} event, or add a {1}:Class attribute to the root element. + MC6024: per l'elemento radice '{0}' è necessario un attributo {1}:Class per il supporto dei gestori eventi nel file XAML. Rimuovere il gestore eventi per l'evento {2} oppure aggiungere un attributo {1}:Class all'elemento radice. + + + + MC6025: '{0}' root element is a generic type and requires a {1}:Class attribute to support the {1}:TypeArguments attribute specified on the root element tag. + MC6025: l'elemento radice '{0}' è un tipo generico ed è necessario un attributo {1}:Class per il supporto dell'attributo {1}:TypeArguments specificato nel tag dell'elemento radice. + + + + MC6031: {0}:FieldModifier attribute cannot be specified because a {0}:Class attribute is also required to generate a Name field with the specified access modifier. Either add a {0}:Class attribute on the root tag or remove the {0}:FieldModifier attribute. + MC6031: impossibile specificare l'attributo {0}:FieldModifier perché è necessario anche un attributo {0}:Class per generare un campo Name con il modificatore di accesso specificato. Aggiungere un attributo {0}:Class nel tag radice oppure rimuovere l'attributo {0}:FieldModifier. + + + + MC6009: {0}:ClassModifier attribute cannot be specified on the root tag because a {0}:Class attribute is also required. Either add a {0}:Class attribute or remove the {0}:ClassModifier attribute. + MC6009: impossibile specificare l'attributo {0}:ClassModifier nel tag radice perché è necessario anche un attributo {0}:Class. Aggiungere un attributo {0}:Class o rimuovere l'attributo {0}:ClassModifier. + + + + MC6016: {0}:Class attribute is missing. It is required when a {0}:Subclass attribute is specified. + MC6016: attributo {0}:Class mancante. L'attributo è necessario quando si specifica un attributo {0}:Subclass. + + + + RG1002: ResourcesGenerator can generate only one .resources file at a time. The OutputResourcesFile property in the project file must be set to one file. + RG1002: ResourcesGenerator supporta la generazione di un solo file con estensione resources alla volta. La proprietà OutputResourcesFile nel file di progetto .resources deve essere impostata su un solo file. + + + + MC1004: Project file cannot specify more than one SplashScreen element. + MC1004: impossibile specificare più di un elemento SplashScreen nel file di progetto. + + + + UM1002: Uid "{0}" for element '{1}' is not unique. + UM1002: Uid "{0}" non univoco per l'elemento '{1}'. + + + + MC1003: Project file cannot specify more than one ApplicationDefinition element. + MC1003: impossibile specificare più di un elemento ApplicationDefinition nel file di progetto. + + + + A '{0}' is named '{1}'. Do not name ResourceDictionary contents because their instantiation is deferred. + Un elemento '{0}' è denominato '{1}'. Non assegnare al contenuto il nome ResourceDictionary perché la relativa creazione dell'istanza è posticipata. + + + + BG1001: Unknown CLS exception. + BG1001: eccezione CLS sconosciuta. + + + + OutputType is '{0}'. + OutputType '{0}'. + + + + MC3001: TypeConverter syntax error encountered while processing initialization string '{0}'. Property elements are not allowed on objects created via TypeConverter. + MC3001: errore di sintassi TypeConverter rilevato durante l'elaborazione della stringa di inizializzazione '{0}'. Elementi proprietà non consentiti per gli oggetti creati tramite TypeConverter. + + + + MC3099: Cannot load assembly '{0}' because a different version of that same assembly is loaded '{1}'. + MC3099: non è possibile caricare l'assembly '{0}' perché è caricata una versione diversa dello stesso assembly '{1}'. + + + + MC3002: The AsyncRecords attribute must be set on the root tag. + MC3002: l'attributo AsyncRecords deve essere impostato nel tag radice. + + + + MC3015: The attached property '{0}' is not defined on '{1}' or one of its base classes. + MC3015: la proprietà associata '{0}' non è definita in '{1}' o in una delle classi di base corrispondenti. + + + + MC3003: There are too many attributes specified for '{0}'. + MC3003: troppi attributi specificati per '{0}'. + + + + MC3004: There are not enough attributes specified for '{0}'. + MC3004: attributi insufficienti specificati per '{0}'. + + + + MC3005: The property '{0}' must be in the default namespace or in the element namespace '{1}'. + MC3005: la proprietà '{0}' deve essere inclusa nello spazio dei nomi predefinito o nello spazio dei nomi dell'elemento '{1}'. + + + + MC3006: Mapper.SetAssemblyPath cannot accept an empty assemblyName. + MC3006: Mapper.SetAssemblyPath non accetta un assemblyName vuoto. + + + + MC3007: Mapper.SetAssemblyPath cannot accept an empty assemblyPath. + MC3007: Mapper.SetAssemblyPath non accetta un assemblyPath vuoto. + + + + MC3008: An element of type '{0}' cannot be set on the complex property '{1}'. They are not compatible types. + MC3008: impossibile impostare un elemento di tipo '{0}' nella proprietà complessa '{1}'. Tipi non compatibili. + + + + MC3009: Cannot find a public constructor for '{0}' that takes {1} arguments. + MC3009: impossibile trovare un costruttore pubblico per '{0}' che accetti {1} argomento/i. + + + + MC3012: A key for a dictionary cannot be of type '{0}'. Only String, TypeExtension, and StaticExtension are supported. + MC3012: una chiave per un dizionario non può essere di tipo '{0}'. Sono supportati solo i tipi String, TypeExtension e StaticExtension. + + + + MC3029: '{0}' member is not valid because it does not have a qualifying type name. + MC3029: il membro '{0}' non è valido perché non dispone di un nome di tipo valido. + + + + MC3010: '{0}' Name property value is not valid. Name must start with a letter or an underscore and can contain only letters, digits, and underscores. + MC3010: Il valore della proprietà Name '{0}' non è valido. Il valore Name deve iniziare con una lettera o un carattere di sottolineatura e può includere solo lettere, cifre e caratteri di sottolineatura. + + + + MC3094: Cannot convert string value '{0}' to type '{1}'. + MC3094: impossibile convertire il valore stringa '{0}' nel tipo '{1}'. + + + + MC3013: SynchronousMode property value is not valid. Valid values are Async and Sync. + MC3013: il valore della proprietà SynchronousMode non è valido. I valori validi sono Async e Sync. + + + + MC3014: The object being added to an array property is not a valid type. The array is of type '{0}' but the object being added is of type '{1}'. + MC3014: tentativo di aggiunta di un oggetto di tipo non valido a una proprietà di matrice. La matrice è di tipo '{0}' e l'oggetto è di tipo '{1}'. + + + + MC3079: MarkupExtensions are not allowed for Uid or Name property values, so '{0}' is not valid. + MC3079: non è consentito l'utilizzo di MarkupExtension come valori per la proprietà Uid o Name, pertanto '{0}' non è valido. + + + + MC3089: The object '{0}' already has a child and cannot add '{1}'. '{0}' can accept only one child. + MC3089: per l'oggetto '{0}' esiste già un oggetto figlio. Impossibile aggiungere '{1}'. '{0}' accetta un solo oggetto figlio. + + + + MC3028: Cannot add content to object of type '{0}'. + MC3028: impossibile aggiungere contenuto all'oggetto di tipo '{0}'. + + + + MC3081: '{0}' is a read-only property of type IList or IDictionary and cannot be set because it does not have a public or internal get accessor. + MC3081: '{0}' è una proprietà di sola lettura di tipo IList o IDictionary. Impossibile impostarla perché non dispone di una funzione di accesso get interna o pubblica. + + + + MC3080: The {0} '{1}' cannot be set because it does not have an accessible {2} accessor. + MC3080: impossibile impostare {0} '{1}' perché non dispone di una funzione di accesso {2} accessibile. + + + + MC3087: Cannot set content property '{0}' on element '{1}'. '{0}' has incorrect access level or its assembly does not allow access. + MC3087: non è possibile impostare la proprietà di contenuto '{0}' per l'elemento '{1}'. Il livello di accesso di '{0}' non è corretto oppure l'assembly corrispondente non consente l'accesso. + + + + MC3082: '{0}' cannot be set as the value of a Trigger's Property attribute because it does not have a public or internal get accessor. + MC3082: impossibile impostare '{0}' come valore dell'attributo Property di un Trigger perché non dispone di una funzione di accesso get interna o pubblica. + + + + MC3016: Two new namespaces cannot be compatible with the same old namespace using an XmlnsCompatibility attribute.�'{0}' namespace is already marked compatible with '{1}'. + MC3016: impossibile contrassegnare due spazi dei nomi nuovi come compatibili con lo stesso spazio dei nomi precedente utilizzando un attributo XmlnsCompatibility.�Lo spazio dei nomi '{0}' è già contrassegnato come compatibile con '{1}'. + + + + MC3088: Property elements cannot be in the middle of an element's content. They must be before or after the content. + MC3088: impossibile aggiungere elementi proprietà all'interno del contenuto di un elemento. Devono essere posizionati prima o dopo il contenuto. + + + + MC3017: 'Code' tag from xaml namespace found in XAML file. To load this file, you must compile it. + MC3017: trovato tag 'Code' dallo spazio dei nomi xaml nel file XAML. Per caricare il file, è necessario compilarlo. + + + + MC3061: The Element type '{0}' does not have an associated TypeConverter to parse the string '{1}'. + MC3061: per il tipo Element '{0}' non è disponibile un TypeConverter associato per analizzare la stringa '{1}'. + + + + MC3018: Cannot modify data in a sealed XmlnsDictionary. + MC3018: impossibile modificare i dati in un XmlnsDictionary sealed. + + + + MC3020: The dictionary key '{0}' is already used. Key attributes are used as keys when inserting objects into a dictionary and must be unique. + MC3020: la chiave del dizionario '{0}' è già in uso. Gli attributi Key vengono utilizzati come chiavi per l'inserimento di oggetti in un dizionario e devono essere univoci. + + + + MC3033: The property '{0}' has already been set on this markup extension and can only be set once. + MC3033: la proprietà '{0}' è già impostata in questa estensione di markup e può essere impostata una sola volta. + + + + MC3024: '{0}' property has already been set and can be set only once. + MC3024: la proprietà '{0}' è già impostata e può essere impostata una sola volta. + + + + MC3025: Property '{0}' and '{1}' refer to the same property. Duplicate property settings are not allowed. + MC3025: la proprietà '{0}' e '{1}' fanno riferimento alla stessa proprietà. Non sono consentite impostazioni di proprietà duplicate. + + + + MC3026: '{0}' property element cannot be empty. It must contain child elements or text. + MC3026: l'elemento proprietà '{0}' non può essere vuoto. È necessario che contenga elementi figlio o testo. + + + + MC3027: The EntityReference &{0}; is not recognized. + MC3027: EntityReference &{0}; non riconosciuto. + + + + MC3083: Cannot access the delegate type '{0}' for the '{1}' event. '{0}' has incorrect access level or its assembly does not allow access. + MC3083: non è possibile accedere al tipo delegato '{0}' per l'evento '{1}'. Il livello di accesso di '{0}' non è corretto oppure l'assembly corrispondente non consente l'accesso. + + + + MC3030: '{0}' property is a read-only IEnumerable property, which means that '{1}' must implement IAddChild. + MC3030: la proprietà '{0}' è una proprietà IEnumerable di sola lettura e ciò significa che '{1}' deve implementare IAddChild. + + + + MC3078: Invalid ContentPropertyAttribute on type '{0}', property '{1}' not found. + MC3078: ContentPropertyAttribute non valido per il tipo '{0}'. Impossibile trovare la proprietà '{1}'. + + + + Known type value {0}='{1}' is not a valid known type. + Il valore di tipo noto {0}='{1}' non è un tipo noto valido. + + + + MC3011: Cannot find the static member '{0}' on the type '{1}'. + MC3011: impossibile trovare il membro statico '{0}' nel tipo '{1}'. + + + + MC3031: Keys and values in XmlnsDictionary must be strings. + MC3031: le chiavi e i valori in XmlnsDictionary devono essere stringhe. + + + + Line {0} Position {1} + Riga {0}, posizione {1} + + + + MC3037: Missing XmlNamespace, Assembly or ClrNamespace in Mapping instruction. + MC3037: XmlNamespace, Assembly o ClrNamespace mancante nell'istruzione Mapping. + + + + '{0}' mapping URI is not valid. + URI di mapping '{0}' non valido. + + + + MC3040: Format is not valid for MarkupExtension that specifies constructor arguments in '{0}'. + MC3040: formato non valido per la MarkupExtension che specifica gli argomenti del costruttore in '{0}'. + + + + MC3041: Markup extensions require a single '=' between name and value, and a single ',' between constructor parameters and name/value pairs. The arguments '{0}' are not valid. + MC3041: per le estensioni di markup è necessario specificare un solo segno di uguale '=' tra il nome e il valore e una sola virgola ',' tra i parametri del costruttore e le coppie nome valore. Gli argomenti '{0}' non sono validi. + + + + MC3091: '{0}' is not valid. Markup extensions require only spaces between the markup extension name and the first parameter. Cannot have comma or equals sign before the first parameter. + MC3091: '{0}' non è valido. Per le estensioni di markup sono consentiti solo spazi tra il nome dell'estensione di markup e il primo parametro. Impossibile aggiungere una virgola o un segno di uguale prima del primo parametro. + + + + MC8001: Encountered a closing BracketCharacter '{0}' at Line Number '{1}' and Line Position '{2}' without a corresponding opening BracketCharacter. + MC8001: in corrispondenza del numero di riga '{1}' e della posizione di riga '{2}' è stato rilevato un carattere di parentesi quadra di chiusura '{0}' per il quale non esiste un carattere di parentesi quadra di apertura corrispondente. + + + + MC8002: BracketCharacter '{0}' at Line Number '{1}' and Line Position '{2}' does not have a corresponding opening/closing BracketCharacter. + MC8002: per il carattere di parentesi quadra '{0}' al numero di riga '{1}' e alla posizione di riga '{2}' non esiste un carattere di parentesi quadra di apertura/chiusura corrispondente. + + + + MC3038: MarkupExtension expressions must end with a '}'. + MC3038: le espressioni MarkupExtension devono terminare con una parentesi graffa '}'. + + + + MC3042: Name/value pairs in MarkupExtensions must have the format 'Name = Value' and each pair is separated by a comma. '{0}' does not follow this format. + MC3042: il formato delle coppie nome valore in MarkupExtension deve essere 'Nome = Valore' e ogni coppia deve essere separata da una virgola. '{0}' non è conforme a questo formato. + + + + MC3043: Names and Values in a MarkupExtension cannot contain quotes. The MarkupExtension arguments '{0}' are not valid. + MC3043: i nomi e i valori in una MarkupExtension non possono contenere virgolette. Gli argomenti di MarkupExtension '{0}' non sono validi. + + + + MC3044: The text '{1}' is not allowed after the closing '{0}' of a MarkupExtension expression. + MC3044: testo '{1}' non consentito dopo il carattere di chiusura '{0}' di un'espressione MarkupExtension. + + + + MC3045: Unknown property '{0}' for type '{1}' encountered while parsing a Markup Extension. + MC3045: rilevata proprietà sconosciuta '{0}' per il tipo '{1}' durante l'analisi di una Markup Extension. + + + + MC3046: Unknown attribute '{0}' in the '{1}' namespace. Note that only the Key attribute is currently supported in this namespace. + MC3046: attributo sconosciuto '{0}' nello spazio dei nomi '{1}'. Si noti che solo l'attributo Key è attualmente supportato in questo spazio dei nomi. + + + + MC3047: Internal parser error - Cannot use multiple writable BAML records at the same time. + MC3047: errore interno del parser - impossibile utilizzare contemporaneamente più record BAML scrivibili. + + + + '{0}' property element cannot be nested directly inside another property element. + Impossibile annidare l'elemento proprietà '{0}' direttamente all'interno di un altro elemento proprietà. + + + + MC3049: Cannot place attributes on Array tags. + MC3049: non è possibile inserire attributi nei tag Array. + + + + MC3021: Asynchronous loading is not supported when compiling a XAML file, so a SynchronousMode of '{0}' is not allowed. + MC3021: caricamento asincrono non supportato per la compilazione di un file XAML. Il valore '{0}' per SynchronousMode non è pertanto consentito. + + + + MC3051: The type '{0}' does not support element content. + MC3051: il tipo '{0}' non supporta contenuto di elementi. + + + + MC3022: All objects added to an IDictionary must have a Key attribute or some other type of key associated with them. + MC3022: a tutti gli oggetti aggiunti in un IDictionary deve essere associato un attributo Key o un altro tipo di chiave. + + + + MC3023: The Key attribute can only be used on a tag contained in a Dictionary (such as a ResourceDictionary). + MC3023: è possibile utilizzare l'attributo Key solo in un tag contenuto in un Dictionary, ad esempio un ResourceDictionary. + + + + MC3032: '{1}' cannot be used as a value for '{0}'. Numbers are not valid enumeration values. + MC3032: impossibile utilizzare '{1}' come valore per '{0}'. I numeri non sono valori di enumerazione validi. + + + + MC3053: Cannot use property element syntax to specify event handler '{0}'. + MC3053: impossibile utilizzare la sintassi degli elementi proprietà per specificare il gestore eventi '{0}'. + + + + MC3052: XAML file that contains events must be compiled. + MC3052: è necessario compilare i file XAML che contengono eventi. + + + + MC3054: The type '{0}' cannot have a Name attribute. Value types and types without a default constructor can be used as items within a ResourceDictionary. + MC3054: attributo Name non consentito per il tipo '{0}'. I tipi valore e i tipi senza un costruttore predefinito possono essere utilizzati come elementi in un ResourceDictionary. + + + + MC3093: Cannot set Name attribute value '{0}' on element '{1}'. '{1}' is under the scope of element '{2}', which already had a name registered when it was defined in another scope. + MC3093: impossibile impostare il valore dell'attributo Name '{0}' per l'elemento '{1}'. '{1}' è compreso nell'ambito dell'elemento '{2}', per il quale è già stato registrato un nome al momento della definizione in un altro ambito. + + + + MC3056: No NamespaceURI is defined for the object '{0}'. + MC3056: nessun NamespaceURI definito per l'oggetto '{0}'. + + + + MC3084: Cannot nest XML data islands. + MC3084: impossibile annidare isole di dati XML. + + + + MC3057: Cannot set properties on property elements. + MC3057: impossibile impostare proprietà per gli elementi proprietà. + + + + MC3058: Cannot find a custom serializer for '{0}' so it cannot be parsed. + MC3058: impossibile trovare un serializzatore personalizzato per '{0}', pertanto impossibile eseguirne l'analisi. + + + + MC3059: Style setters do not support child elements. A tag of type '{0}' is not allowed. + MC3059: i Style Setter non supportano elementi figlio. Non è consentito un tag di tipo '{0}'. + + + + MC3050: Cannot find the type '{0}'. Note that type names are case sensitive. + MC3050: impossibile trovare il tipo '{0}'. Si noti che per i nomi di tipo viene fatta distinzione tra maiuscole e minuscole. + + + + MC3048: '{0}' value is not a valid MarkupExtension expression. Cannot resolve '{1}' in namespace '{2}'. '{1}' must be a subclass of MarkupExtension. + MC3048: il valore '{0}' non rappresenta un'espressione MarkupExtension valida. Impossibile risolvere '{1}' nello spazio dei nomi '{2}'. '{1}' deve essere una sottoclasse di MarkupExtension. + + + + MC3062: '{0}' XML namespace prefix does not map to a NamespaceURI, so element '{1}' cannot be resolved. + MC3062: il prefisso dello spazio dei nomi XML '{0}' non corrisponde a un NamespaceURI. Impossibile risolvere l'elemento '{1}'. + + + + MC3100: '{0}' XML namespace prefix does not map to a namespace URI, so cannot resolve property '{1}'. + MC3100: il prefisso dello spazio dei nomi XML '{0}' non corrisponde a un URI di spazio dei nomi. Impossibile risolvere la proprietà '{1}'. + + + + MC3063: Property '{0}' does not have a value. + MC3063: valore non disponibile per la proprietà '{0}'. + + + + MC3064: Only public or internal classes can be used within markup. '{0}' type is not public or internal. + MC3064: nel markup è consentito l'utilizzo solo di classi pubbliche o interne. Il tipo '{0}' non è pubblico né interno. + + + + MC3065: '{0}' property is read-only and cannot be set from markup. + MC3065: la proprietà '{0}' è di sola lettura. Impossibile impostarla dal markup. + + + + MC3066: The type reference cannot find a public type named '{0}'. + MC3066: impossibile trovare un tipo pubblico denominato '{0}' dal riferimento di tipo. + + + + MC3019: Cannot reference the static member '{0}' on the type '{1}' as it is not accessible. + MC3019: impossibile fare riferimento al membro statico '{0}' nel tipo '{1}' perché non è accessibile. + + + + MC3067: SynchronousMode attribute must be on the root tag. + MC3067: l'attributo SynchronousMode deve essere inserito nel tag radice. + + + + MC3069: Cannot have both the text '{0}' and the child element '{1}' within a property element. + MC3069: impossibile inserire sia il testo '{0}' che l'elemento figlio '{1}' in un elemento proprietà. + + + + MC3068: Text is not valid under an IDictionary or Array property. + MC3068: testo non valido in una proprietà IDictionary o Array. + + + + MC3070: A single XAML file cannot reference more than 4,096 different assemblies. + MC3070: impossibile includere riferimenti a più di 4.096 assembly diversi in un singolo file XAML. + + + + MC3095: Close tag must immediately follow TypeConverter initialization string '{0}'. + MC3095: il tag di chiusura deve seguire immediatamente la stringa di inizializzazione del TypeConverter '{0}'. + + + + MC3090: TypeConverter syntax error encountered while processing initialization string '{0}'. Element attributes are not allowed on objects created via TypeConverter. + MC3090: errore di sintassi TypeConverter rilevato durante l'elaborazione della stringa di inizializzazione '{0}'. Attributi di elemento non consentiti per gli oggetti creati tramite TypeConverter. + + + + MC3071: '{0}' is an undeclared namespace. + MC3071: '{0}' è uno spazio dei nomi non dichiarato. + + + + MC3072: The property '{0}' does not exist in XML namespace '{1}'. + MC3072: la proprietà '{0}' non esiste nello spazio dei nomi XML '{1}'. + + + + MC3073: The attribute '{0}' does not exist in XML namespace 'http://schemas.microsoft.com/winfx/2006/xaml'. + MC3073: l'attributo '{0}' non esiste nello spazio dei nomi XML 'http://schemas.microsoft.com/winfx/2006/xaml'. + + + + MC3074: The tag '{0}' does not exist in XML namespace '{1}'. + MC3074: il tag '{0}' non esiste nello spazio dei nomi XML '{1}'. + + + + MC3075: Unrecognized XML node type '{0}' found when determining if the current tag is a property element. + MC3075: rilevato tipo di nodo XML '{0}' non riconosciuto durante il controllo del tag corrente per determinare se si tratta di un elemento proprietà. + + + + MC3086: Parent element or property '{0}' requires an XML data island. To distinguish an XML island from surrounding XAML, wrap the XML data island in <x:XData> ... </x:XData>. + MC3086: per l'elemento o la proprietà padre '{0}' è necessaria un'isola di dati XML. Per distinguere un'isola di dati XML dal codice XAML circostante, includere l'isola di dati XML tra tag <x:XData> ... </x:XData>. + + + + MC3085: '{0}' element or property cannot contain an XML data island. + MC3085: impossibile includere un'isola di dati XML nell'elemento o nella proprietà '{0}'. + + + + MC3092: XmlLangProperty attribute must specify a property name. + MC3092: l'attributo XmlLangProperty deve specificare un nome di proprietà. + + + + MC3077: The class '{0}' does not implement IXmlLineInfo. This is required to get position information for the XAML being parsed. + MC3077: la classe '{0}' non implementa IXmlLineInfo, ma ciò è necessario per il recupero delle informazioni di posizione per il file XAML in corso di analisi. + + + + MC3098: Unexpected token '{0}' at position '{1}'. + MC3098: token imprevisto '{0}' nella posizione '{1}'. + + + + MC3096: Token is not valid. + MC3096: token non valido. + + + + Preparing for the markup compilation... + Preparazione della compilazione del markup in corso... + + + + MC4301: Type name '{0}' does not have the expected format 'className, assembly'. + MC4301: il nome di tipo '{0}' non è specificato nel formato previsto 'nomeClasse, assembly'. + + + + Reading Resource file: '{0}'... + Lettura del file Resource '{0}' in corso... + + + + Recompiled XAML file : '{0}'. + File XAML ricompilato: '{0}'. + + + + Input: Assembly Reference file: '{0}'. + Input: file Reference assembly: '{0}'. + + + + Resource ID is '{0}'. + ID risorsa: '{0}'. + + + + RG1001: Input resource file '{0}' exceeds maximum size of {1} bytes. + RG1001: le dimensioni del file di risorse di input '{0}' superano il massimo consentito di {1} byte. + + + + Generated .resources file: '{0}'. + File con estensione .resources generato: '{0}'. + + + + Generating .resources file: '{0}'... + Generazione del file con estensione .resources '{0}' in corso... + + + + ResourcesGenerator + ResourcesGenerator + + + + MC6006: {0}.{1}="{2}" is not valid. '{1}' must be a RoutedEvent registered with a name that ends with the keyword "Event". + MC6006: {0}.{1}="{2}" non è valido. '{1}' deve essere un RoutedEvent registrato con un nome che termina con la parola chiave "Event". + + + + UM1005: You must pass markup files to the task. + UM1005: è necessario passare i file di markup all'attività. + + + + MC4110: SourceName property cannot be set within Style.Triggers section. + MC4110: impossibile impostare la proprietà SourceName nella sezione Style.Triggers. + + + + MC4001: Style does not support both {0} tags and Style.{1} property tags for a single Style. Use one or the other. + MC4001: per Style non sono supportati sia i tag {0} che i tag di proprietà Style.{1} per un singolo Style. Utilizzare un tipo di tag o l'altro. + + + + MC4002: The Style property tag '{0}' can only be specified directly under a Style tag. + MC4002: è possibile specificare il tag di proprietà Style '{0}' solo direttamente in un tag Style. + + + + MC4005: Cannot find the Style {0} '{1}' on the type '{2}'. + MC4005: impossibile trovare lo Style {0} '{1}' nel tipo '{2}'. + + + + MC4003: Cannot resolve the Style {0} '{1}'. Verify that the owning type is the Style's TargetType, or use Class.Property syntax to specify the {0}. + MC4003: impossibile risolvere lo Style {0} '{1}'. Verificare che il tipo proprietario sia il TargetType dello Style oppure utilizzare la sintassi Class.Property specificare lo stile {0}. + + + + MC4004: Style cannot contain child '{0}'. Style child must be a Setter because it is added to the Setters collection. + MC4004: Style non può contenere l'elemento figlio '{0}'. L'elemento figlio Style deve essere un Setter perché viene aggiunto alla raccolta Setters. + + + + MC4006: Tags of type '{0}' are not supported in Style sections. + MC4006: i tag di tipo '{0}' non sono supportati nelle sezioni Style. + + + + MC4007: The event '{0}' cannot be specified on a Target tag in a Style. Use an EventSetter instead. + MC4007: impossibile specificare l'evento '{0}' in un tag Target in uno Style. Utilizzare un EventSetter in alternativa. + + + + MC4008: The text '{0}' is not allowed at this location within a Style section. + MC4008: testo '{0}' non consentito in questa posizione all'interno di una sezione Style. + + + + MC4009: The property '{0}' cannot be set on Style. + MC4009: impossibile impostare la proprietà '{0}' per Style. + + + + MC6017: '{0}' cannot be the root of a XAML file because it was defined using XAML. + MC6017: '{0}' non può essere la radice di un file XAML perché è stato definito tramite XAML. + + + + BG1004: Target Type '{0}' is not supported by this task. + BG1004: il tipo di destinazione '{0}' non è supportato da questa attività. + + + + MC4011: TargetName property cannot be set on a Style Setter. + MC4011: impossibile impostare la proprietà TargetName in uno Style Setter. + + + + + Copyright (C) Microsoft Corporation 2005. All rights reserved. + Copyright (C) Microsoft Corporation 2005. Tutti i diritti riservati. + + + + MC4101: The Name '{0}' has already been defined. Names must be unique. + MC4101: Name '{0}' già definito. I valori Name devono essere univoci. + + + + MC4108: The root of a Template content section cannot contain an element of type '{0}'. Only FrameworkElement and FrameworkContentElement types are valid. + MC4108: la radice di una sezione di contenuto Template non può contenere un elemento di tipo '{0}'. Sono validi solo i tipi FrameworkElement e FrameworkContentElement. + + + + MC4103: The template property tag '{0}' can only be specified immediately after a ControlTemplate tag. + MC4103: il tag della proprietà di modello '{0}' può essere specificato solo subito dopo un tag ControlTemplate. + + + + MC4107: A template can have only a single root element. '{0}' is not allowed. + MC4107: un modello può includere un solo elemento radice. '{0}' non è consentito. + + + + MC4109: Cannot find the Template Property '{0}' on the type '{1}'. + MC4109: impossibile trovare la proprietà di modello '{0}' nel tipo '{1}'. + + + + MC4106: Cannot resolve the Template Property '{0}'. Verify that the owning type is the Style's TargetType, or use Class.Property syntax to specify the property. + MC4106: impossibile risolvere la proprietà di modello '{0}'. Verificare che il tipo proprietario sia il TargetType dello Style oppure utilizzare la sintassi Class.Property per specificare la proprietà. + + + + MC4111: Cannot find the Trigger target '{0}'. (The target must appear before any Setters, Triggers, or Conditions that use it.) + MC4111: impossibile trovare la destinazione del Trigger '{0}'. La destinazione deve comparire prima di qualsiasi Setter, Trigger o Condition in cui è utilizzata. + + + + MC4102: Tags of type '{0}' are not supported in template sections. + MC4102: i tag di tipo '{0}' non sono supportati nelle sezioni modello. + + + + MC4105: The text '{0}' is not allowed at this location within a template section. + MC4105: testo '{0}' non consentito in questa posizione all'interno di una sezione modello. + + + + MC4104: The property '{0}' cannot be set as a property element on template. Only Triggers and Storyboards are allowed as property elements. + MC4104: impossibile impostare la proprietà '{0}' come elemento proprietà in un modello. Come elementi proprietà sono consentiti solo Triggers e Storyboards. + + + + MC7004: Empty token encountered while parsing. + MC7004: rilevato token vuoto durante l'analisi. + + + + MC7003: Extra data encountered after token while parsing. + MC7003: rilevati ulteriori dati dopo il token durante l'analisi. + + + + MC7002: Missing end quote encountered while parsing token. + MC7002: rilevata virgoletta finale mancante durante l'analisi del token. + + + + MC7001: Premature string termination encountered. + MC7001: rilevata fine prematura della stringa. + + + + UidManager + UidManager + + + + UM1003: Uid is missing for element '{0}'. + UM1003: Uid mancante per l'elemento '{0}'. + + + + Unknown build error, '{0}' + Errore di compilazione sconosciuto, '{0}' + + + + MC6013: {0}:ClassModifier="{1}" is not valid for the language {2}. + MC6013: {0}:ClassModifier="{1}" non valido per il linguaggio {2}. + + + + MC6002: Unrecognized tag '{0}:{1}' in namespace 'http://schemas.microsoft.com/winfx/2006/xaml'. Note that tag names are case sensitive. + MC6002: tag non riconosciuto '{0}:{1}' nello spazio dei nomi 'http://schemas.microsoft.com/winfx/2006/xaml'. Si noti che per i nomi di tag viene fatta distinzione tra maiuscole e minuscole. + + + + MC6007: '{1}' is not valid. '{0}' is not an event on '{2}'. + MC6007: '{1}' non è valido. '{0}' non è un evento in '{2}'. + + + + MC6014: {0}:FieldModifier="{1}" is not valid for the language {2}. + MC6014: {0}:FieldModifier="{1}" non valido per il linguaggio {2}. + + + + MC6020: {0}:TypeArguments='{1}' is not valid on the tag '{2}'. Either '{2}' is not a generic type or the number of Type arguments in the attribute is wrong. Remove the {0}:TypeArguments attribute because it is allowed only on generic types, or fix its value to match the arity of the generic type '{2}'. + MC6020: {0}:TypeArguments='{1}' non è valido nel tag '{2}'. È possibile che '{2}' non sia un tipo generico oppure che il numero di argomenti Type nell'attributo non sia corretto. Rimuovere l'attributo {0}:TypeArguments perché è consentito solo per i tipi generici oppure correggere il valore in modo che corrisponda all'arità del tipo generico '{2}'. + + + + MC6008: '{0}' is not installed properly on this machine. It must be listed in the <compilers> section of machine.config. + MC6008: '{0}' non è installato in modo appropriato nel computer. Deve essere elencato nella sezione <compilers> del file machine.config. + + + + Unknown path operation attempted. + Tentativo di esecuzione di un'operazione di percorso sconosciuta. + + + + LC1003: Localization comment has no value set for target property: '{0}'. + LC1003: per il commento di localizzazione non è disponibile un valore impostato per la proprietà di destinazione: '{0}'. + + + + UpdateManifestForBrowserApplication + UpdateManifestForBrowserApplication + + + + MC4501: Major and minor version number components cannot be negative. + MC4501: i componenti del numero di versione principale e secondario non possono essere negativi. + + + + MC6000: Project file must include the .NET Framework assembly '{0}' in the reference list. + MC6000: il file di progetto deve includere l'assembly .NET Framework '{0}' nell'elenco dei riferimenti. + + + + MC1001: The LocalizationDirectivesToLocFile property value is not valid and must be changed to None, CommentsOnly, or All for the MarkupCompilePass1 task. + MC1001: il valore della proprietà LocalizationDirectivesToLocFile non è valido e deve essere impostato su None, CommentsOnly o All per l'attività MarkupCompilePass1. + + + + BG1003: The project file contains a property value that is not valid. + BG1003: il file di progetto contiene un valore di proprietà non valido. + + + + MC4602: Choice cannot follow a Fallback. + MC4602: Choice non può comparire dopo un Fallback. + + + + MC4606: AlternateContent must contain one or more Choice elements. + MC4606: AlternateContent deve contenere uno o più elementi Choice. + + + + MC4601: Choice valid only in AlternateContent. + MC4601: Choice è un elemento valido solo in AlternateContent. + + + + MC4640: Namespace '{0}' is marked as compatible with itself using XmlnsCompatibilityAttribute. A namespace cannot directly or indirectly override itself. + MC4640: lo spazio dei nomi '{0}' è contrassegnato come compatibile con se stesso tramite XmlnsCompatibilityAttribute. Uno spazio dei nomi non può eseguire l'override diretto o indiretto di se stesso. + + + + MC4631: Duplicate Preserve declaration for element '{1}' in namespace '{0}'. + MC4631: dichiarazione Preserve duplicata per l'elemento '{1}' nello spazio dei nomi '{0}'. + + + + MC4617: Duplicate ProcessContent declaration for element '{1}' in namespace '{0}'. + MC4617: dichiarazione ProcessContent duplicata per l'elemento '{1}' nello spazio dei nomi '{0}'. + + + + MC4633: Duplicate wildcard Preserve declaration for namespace '{0}'. + MC4633: dichiarazione Preserve duplicata con caratteri jolly per lo spazio dei nomi '{0}'. + + + + MC4619: Duplicate wildcard ProcessContent declaration for namespace '{0}'. + MC4619: dichiarazione ProcessContent duplicata con caratteri jolly per lo spazio dei nomi '{0}'. + + + + MC4605: Fallback valid only in AlternateContent. + MC4605: Fallback è un elemento valido solo in AlternateContent. + + + + MC4610: '{0}' element is not a valid child of AlternateContent. Only Choice and Fallback elements are valid children of an AlternateContent element. + MC4610: l'elemento '{0}' non è un elemento figlio valido di AlternateContent. Solo Choice e Fallback sono elementi figlio validi per un elemento AlternateContent. + + + + MC4608: '{0}' attribute is not valid for element '{1}'. + MC4608: attributo '{0}' non valido per l'elemento '{1}'. + + + + MC4611: '{0}' format is not valid. + MC4611: formato '{0}' non valido. + + + + MC4632: Cannot have both a specific and a wildcard Preserve declaration for namespace '{0}'. + MC4632: impossibile definire una dichiarazione Preserve sia specifica che con caratteri jolly per lo spazio dei nomi '{0}'. + + + + MC4618: Cannot have both a specific and a wildcard ProcessContent declaration for namespace '{0}'. + MC4618: impossibile definire una dichiarazione ProcessContent sia specifica che con caratteri jolly per lo spazio dei nomi '{0}'. + + + + MC4604: Requires attribute must contain a valid namespace prefix. + MC4604: l'attributo Requires deve contenere un prefisso di spazio dei nomi valido. + + + + MC4634: '{0}' attribute value is not a valid XML name. + MC4634: il valore dell'attributo '{0}' non è un nome XML valido. + + + + MC4607: AlternateContent must contain only one Fallback element. + MC4607: AlternateContent deve contenere un solo elemento Fallback. + + + + MC4626: MustUnderstand condition failed on namespace '{0}'. + MC4626: condizione MustUnderstand non riuscita nello spazio dei nomi '{0}'. + + + + MC4630: Namespace '{0}' has items declared to be preserved but is not declared ignorable. + MC4630: lo spazio dei nomi '{0}' include elementi da mantenere secondo la dichiarazione Preserve, ma non è dichiarato come Ignorable. + + + + MC4615: '{0}' namespace is declared ProcessContent but is not declared Ignorable. + MC4615: lo spazio dei nomi '{0}' è dichiarato ProcessContent ma non Ignorable. + + + + MC4603: Choice must contain a Requires attribute. + MC4603: Choice deve contenere un attributo Requires. + + + + MC4612: '{0}' prefix is not defined. + MC4612: prefisso '{0}' non definito. + + + + MC4614: Unrecognized compatibility attribute '{0}'. + MC4614: attributo di compatibilità non riconosciuto '{0}'. + + + + MC4609: Unrecognized compatibility element '{0}'. + MC4609: elemento di compatibilità non riconosciuto '{0}'. + + + + MC4502: The feature ID string cannot have length 0. + MC4502: la stringa dell'ID di funzionalità non può essere di lunghezza 0. + + + + + \ No newline at end of file diff --git a/src/Microsoft.DotNet.Wpf/src/PresentationBuildTasks/Resources/xlf/Strings.ja.xlf b/src/Microsoft.DotNet.Wpf/src/PresentationBuildTasks/Resources/xlf/Strings.ja.xlf new file mode 100644 index 00000000000..9eaed1f6f25 --- /dev/null +++ b/src/Microsoft.DotNet.Wpf/src/PresentationBuildTasks/Resources/xlf/Strings.ja.xlf @@ -0,0 +1,1242 @@ + + + + + + Analysis Result : '{0}'. + 分析結果: '{0}'。 + + + + MC1002: Library project file cannot specify ApplicationDefinition element. + MC1002: ライブラリ プロジェクト ファイルは、ApplicationDefinition 要素を指定できません。 + + + + Input: Markup ApplicationDefinition file: '{0}'. + 入力: ApplicationDefinition ファイルのマークアップ: '{0}'。 + + + + MC6015: '{0}' cannot be set on the '{1}:{2}' tag. + MC6015: '{0}' は、'{1}:{2}' タグでは設定できません。 + + + + UM1001: Unrecognized UidManager task name '{0}'. + UM1001: UidManager のタスク名 '{0}' を認識できません。 + + + + Checking Uids in file '{0}' ... + ファイル '{0}' の Uid をチェックしています... + + + + Generated localization directives file: '{0}' . + ローカライズ ディレクティブ ファイル '{0}' を生成しました。 + + + + Generating localization directives file: '{0}' ... + ローカライズ ディレクティブ ファイル '{0}' を生成しています... + + + + Markup compilation is done. + マークアップのコンパイルが終了しました。 + + + + MarkupCompilePass1 successfully generated BAML or source code files. + MarkupCompilePass1 は、正常に BAML またはソース コード ファイルを生成しました。 + + + + MarkupCompilePass2 successfully generated BAML or source code files. + MarkupCompilePass2 は、正常に BAML またはソース コード ファイルを生成しました。 + + + + MC6011: '{0}' event has a generic event handler delegate type '{1}'. The type parameters of '{1}' cannot be bound with an appropriate type argument because the containing tag '{2}' is not a generic type. + MC6011: '{0}' イベントは、ジェネリック イベント ハンドラー デリゲート型 '{1}' を保持しています。含まれているタグ '{2}' がジェネリック型ではないため、'{1}' の型パラメーターを適切な型の引数にバインドできません。 + + + + Current project directory is '{0}'. + 現在のプロジェクト ディレクトリは '{0}' です。 + + + + MC6022: Only a root tag can specify attribute '{0}:{1}'. + MC6022: 属性 '{0}:{1}' は、ルート タグでのみ指定できます。 + + + + MC6010: '{0}:{1}' cannot be specified as the root element. + MC6010: '{0}:{1}' は、ルート要素として指定できません。 + + + + MC6004: '{0}:{1}' contains '{2}'. '{0}:{1}' can contain only a CDATA or text section. + MC6004: '{0}:{1}' に '{2}' が含まれています。'{0}:{1}' は、CDATA またはテキスト セクションだけを含むことができます。 + + + + Started the markup compilation. + マークアップのコンパイルを開始しました。 + + + + MC6030: {0}="{1}" is not valid. '{0}' event attribute value cannot be a string that is empty or has only white space. + MC6030: {0}="{1}" は無効です。'{0}' イベント属性値に、空の文字列または空白だけの文字列を指定することはできません。 + + + + MC6021: {0}:FieldModifier cannot be specified on this tag because it has either no {0}:Name or Name attribute set, or the tag is locally defined and has a Name attribute set, which is not allowed. + MC6021: {0}:FieldModifier をこのタグで指定することはできません。{0}:Name または Name 属性セットがないか、タグがローカルで定義され、Name 属性セットを保持しています。この処理は許可されていません。 + + + + FileClassifier + FileClassifier + + + + BG1002: File '{0}' cannot be found. + BG1002: ファイル '{0}' が見つかりません。 + + + + Input file '{0}' is resolved to new relative path '{1}' at directory '{2}'. + 入力ファイル '{0}' が、ディレクトリ '{2}' の新しい相対パス '{1}' に対して解決されています。 + + + + UM1004: {0} files failed Uid check. + UM1004: {0} 個のファイルが、Uid チェックに失敗しました。 + + + + Uids valid in {0} files. + {0} 個のファイルの Uid が有効です。 + + + + Uids removed from {0} files. + {0} 個のファイルから Uid が削除されました。 + + + + Uids updated in {0} files. + {0} 個のファイルで Uid が更新されました。 + + + + Generated BAML file: '{0}'. + BAML ファイル '{0}' を生成しました。 + + + + Generated code file: '{0}'. + コード ファイル '{0}' を生成しました。 + + + + GetWinFXPath + GetWinFXPath + + + + MC6003: '{0}:{1}' contains '{2}'. '{0}:{1}' cannot contain nested content. + MC6003: '{0}:{1}' に '{2}' が含まれています。'{0}:{1}' には、入れ子になっているコンテンツを含めることはできません。 + + + + UM1006: '{0}' directory does not exist and cannot be created. + UM1006: '{0}' ディレクトリは存在せず、作成することもできません。 + + + + InternalTypeHelper class is not required for this project, make file '{0}' empty. + このプロジェクトには、InternalTypeHelper クラスは不要です。ファイル '{0}' を空にしてください。 + + + + MC6018: '{0}' class name is not valid for the locally defined XAML root element. + MC6018: '{0}' クラス名は、ローカルで定義された XAML ルート要素に対して無効です。 + + + + MC6019: '{0}' namespace is not valid for the locally defined XAML root element '{1}'. + MC6019: '{0}' 名前空間は、ローカルで定義された XAML ルート要素 '{1}' に対して無効です。 + + + + MC6027: {0}:{1}="{2}" is not valid. '{2}' is not a valid {3}class name. + MC6027: {0}:{1}="{2}" は無効です。'{2}' は有効な {3} クラス名ではありません。 + + + + FC1001: The UICulture value '{0}' set in the project file is not valid. + FC1001: プロジェクト ファイルで設定された UICulture 値 '{0}' は無効です。 + + + + MC4402: Serializer does not support custom BAML serialization operations. + MC4402: シリアライザーは、カスタム BAML シリアル化操作をサポートしません。 + + + + MC4401: Serializer does not support Convert operations. + MC4401: シリアライザーは Convert 操作をサポートしません。 + + + + MC6029: '{0}' name is not valid in the default namespace '{1}'. Correct the RootNamespace tag value in the project file. + MC6029: '{0}' 名は、既定の名前空間 '{1}' では無効です。プロジェクト ファイル内の RootNamespace タグの値を修正してください。 + + + + MC6005: {0}="{1}" is not valid. '{1}' is not a valid event handler method name. Only instance methods on the generated or code-behind class are valid. + MC6005: {0}="{1}" は無効です。'{1}' は有効なイベント ハンドラー メソッド名ではありません。生成されたクラスまたは分離コード クラスのインスタンス メソッドだけが有効です。 + + + + LC1001: Localization comment target property is not valid in string '{0}'. + LC1001: ローカライズ コメントの対象プロパティが、文字列 '{0}' で無効です。 + + + + LC1002: Localization comment value is not valid for target property '{0}' in string '{1}'. + LC1002: ローカライズ コメント値が、文字列 '{1}' の対象プロパティ '{0}' で無効です。 + + + + LC1004: Localizability attribute setting '{0}' is not valid. + LC1004: ローカライズ化属性の設定 '{0}' が無効です。 + + + + MC6001: Markup file is not valid. Specify a source markup file with an .xaml extension. + MC6001: マークアップ ファイルが無効です。拡張子 .xaml を持つソース マークアップ ファイルを指定してください。 + + + + MC6028: {0}:TypeArguments="{1}" is not valid. '{2}' is not a valid type name reference for the generic argument at position '{3}'. + MC6028: {0}:TypeArguments="{1}" は無効です。'{2}' は、位置 '{3}' のジェネリック引数に対して有効な型名の参照ではありません。 + + + + MC3000: '{0}' XML is not valid. + MC3000: '{0}' XML が無効です。 + + + + MC6023: Because '{0}' is implemented in the same assembly, you must set the {1}:Name attribute rather than the Name attribute. + MC6023: '{0}' が同じアセンブリに実装されているため、Name 属性ではなく {1}:Name 属性を設定する必要があります。 + + + + Input: Local reference markup ApplicationDefinition file is '{0}'. + 入力: ローカル参照マークアップ ApplicationDefinition ファイルは '{0}' です。 + + + + Generated BAML file: '{0}'. + BAML ファイル '{0}' を生成しました。 + + + + Input: Local reference markup Page file: '{0}'. + 入力: ローカル参照マークアップ Page ファイルは '{0}' です。 + + + + MarkupCompilePass1 + MarkupCompilePass1 + + + + MarkupCompilePass2 + MarkupCompilePass2 + + + + MC6012: '{0}' event has a generic event handler delegate type '{1}'. The type parameter '{2}' on '{1}' does not match any type parameters on the containing generic tag '{3}'. + MC6012: '{0}' イベントはジェネリック イベント ハンドラー デリゲート型 '{1}' を保持しています。'{1}' の型パラメーター '{2}' が、含まれているジェネリック タグ '{3}' のいずれの型パラメーターとも一致しません。 + + + + MergeLocalizationDirectives + MergeLocalizationDirectives + + + + MC6026: '{0}' root element requires a {1}:Class attribute because '{2}' contains a {1}:Code tag. Either remove {1}:Code and its contents, or add a {1}:Class attribute to the root element. + MC6026: '{2}' に {1}:Code タグが含まれているため、'{0}' ルート要素は {1}:Class 属性を必要とします。{1}:Code とそのコンテンツを削除するか、{1}:Class 属性をルート要素に追加してください。 + + + + MC6024: '{0}' root element requires a {1}:Class attribute to support event handlers in the XAML file. Either remove the event handler for the {2} event, or add a {1}:Class attribute to the root element. + MC6024: '{0}' ルート要素は、XAML ファイルでイベント ハンドラーをサポートするために、{1}:Class 属性を必要とします。{2} イベントのイベント ハンドラーを削除するか、{1}:Class 属性をルート要素に追加してください。 + + + + MC6025: '{0}' root element is a generic type and requires a {1}:Class attribute to support the {1}:TypeArguments attribute specified on the root element tag. + MC6025: '{0}' ルート要素はジェネリック型です。ルート要素タグで指定されている {1}:TypeArguments 属性をサポートするには {1}:Class 属性を必要とします。 + + + + MC6031: {0}:FieldModifier attribute cannot be specified because a {0}:Class attribute is also required to generate a Name field with the specified access modifier. Either add a {0}:Class attribute on the root tag or remove the {0}:FieldModifier attribute. + MC6031: {0}:FieldModifier 属性を指定できません。指定されたアクセス修飾子を使用して Name フィールドを生成するには、{0}:Class 属性も必要です。{0}:Class 属性をルート タグに追加するか、{0}:FieldModifier 属性を削除してください。 + + + + MC6009: {0}:ClassModifier attribute cannot be specified on the root tag because a {0}:Class attribute is also required. Either add a {0}:Class attribute or remove the {0}:ClassModifier attribute. + MC6009: {0}:ClassModifier 属性はルート タグで指定できません。{0}:Class 属性も必要です。{0}:Class 属性を追加するか、{0}:ClassModifier 属性を削除してください。 + + + + MC6016: {0}:Class attribute is missing. It is required when a {0}:Subclass attribute is specified. + MC6016: {0}:Class 属性がありません。{0}:Subclass 属性を指定するには、この属性が必要です。 + + + + RG1002: ResourcesGenerator can generate only one .resources file at a time. The OutputResourcesFile property in the project file must be set to one file. + RG1002: ResourcesGenerator は、一度に 1 つの .resources ファイルのみ生成できます。プロジェクト ファイルの OutputResourcesFile プロパティを、1 つのファイルに対して設定する必要があります。 + + + + MC1004: Project file cannot specify more than one SplashScreen element. + MC1004: プロジェクト ファイルでは、複数の SplashScreen 要素を指定することはできません。 + + + + UM1002: Uid "{0}" for element '{1}' is not unique. + UM1002: 要素 '{1}' の Uid "{0}" が一意ではありません。 + + + + MC1003: Project file cannot specify more than one ApplicationDefinition element. + MC1003: プロジェクト ファイルでは、複数の ApplicationDefinition 要素を指定することはできません。 + + + + A '{0}' is named '{1}'. Do not name ResourceDictionary contents because their instantiation is deferred. + '{0}' に '{1}' という名前が付いています。ResourceDictionary のコンテンツのインスタンス化は遅延されるため、これらのコンテンツには名前を付けないでください。 + + + + BG1001: Unknown CLS exception. + BG1001: 不明な CLS 例外です。 + + + + OutputType is '{0}'. + OutputType が '{0}' です。 + + + + MC3001: TypeConverter syntax error encountered while processing initialization string '{0}'. Property elements are not allowed on objects created via TypeConverter. + MC3001: 初期化文字列 '{0}' の処理中に TypeConverter 構文エラーが発生しました。TypeConverter によって作成されるオブジェクトでは、プロパティ要素は許可されていません。 + + + + MC3099: Cannot load assembly '{0}' because a different version of that same assembly is loaded '{1}'. + MC3099: アセンブリ '{0}' を読み込むことができません。同じアセンブリの異なるバージョン '{1}' が読み込まれているためです。 + + + + MC3002: The AsyncRecords attribute must be set on the root tag. + MC3002: AsyncRecords 属性は、ルート タグで設定する必要があります。 + + + + MC3015: The attached property '{0}' is not defined on '{1}' or one of its base classes. + MC3015: 添付プロパティ '{0}' が、'{1}' またはその基本クラスの 1 つで定義されていません。 + + + + MC3003: There are too many attributes specified for '{0}'. + MC3003: '{0}' に指定されている属性が多すぎます。 + + + + MC3004: There are not enough attributes specified for '{0}'. + MC3004: '{0}' に指定されている属性が不足しています。 + + + + MC3005: The property '{0}' must be in the default namespace or in the element namespace '{1}'. + MC3005: プロパティ '{0}' は、既定の名前空間または要素名前空間 '{1}' にある必要があります。 + + + + MC3006: Mapper.SetAssemblyPath cannot accept an empty assemblyName. + MC3006: Mapper.SetAssemblyPath は、空の assemblyName を受け入れません。 + + + + MC3007: Mapper.SetAssemblyPath cannot accept an empty assemblyPath. + MC3007: Mapper.SetAssemblyPath は、空の assemblyPath を受け入れません。 + + + + MC3008: An element of type '{0}' cannot be set on the complex property '{1}'. They are not compatible types. + MC3008: 複合プロパティ '{1}' に型 '{0}' の要素を設定することはできません。これらは互換性のある型ではありません + + + + MC3009: Cannot find a public constructor for '{0}' that takes {1} arguments. + MC3009: 引数 {1} を取る '{0}' のパブリック コンストラクターが見つかりません。 + + + + MC3012: A key for a dictionary cannot be of type '{0}'. Only String, TypeExtension, and StaticExtension are supported. + MC3012: 辞書のキーに、型 '{0}' を使用することはできません。String、TypeExtension、および StaticExtension のみがサポートされています。 + + + + MC3029: '{0}' member is not valid because it does not have a qualifying type name. + MC3029: 修飾型名がないため、'{0}' メンバーは無効です。 + + + + MC3010: '{0}' Name property value is not valid. Name must start with a letter or an underscore and can contain only letters, digits, and underscores. + MC3010: '{0}' Name プロパティ値が無効です。Name は文字またはアンダースコアから開始する必要があり、文字、数字、およびアンダースコアのみを使用することができます。 + + + + MC3094: Cannot convert string value '{0}' to type '{1}'. + MC3094: 文字列値 '{0}' を型 '{1}' に変換できません。 + + + + MC3013: SynchronousMode property value is not valid. Valid values are Async and Sync. + MC3013: SynchronousMode プロパティ値が無効です。有効な値は、Async および Sync です。 + + + + MC3014: The object being added to an array property is not a valid type. The array is of type '{0}' but the object being added is of type '{1}'. + MC3014: 配列プロパティに追加されるオブジェクトが無効な型です。配列は型 '{0}' ですが、追加されるオブジェクトは型 '{1}' です。 + + + + MC3079: MarkupExtensions are not allowed for Uid or Name property values, so '{0}' is not valid. + MC3079: Uid および Name プロパティ値では MarkupExtensions が許可されていないため、'{0}' は無効です。 + + + + MC3089: The object '{0}' already has a child and cannot add '{1}'. '{0}' can accept only one child. + MC3089: オブジェクト '{0}' には既に子があるため、'{1}' を追加できません。'{0}' では、1 つの子だけを使用できます。 + + + + MC3028: Cannot add content to object of type '{0}'. + MC3028: 型 '{0}' のオブジェクトにコンテンツを追加できません。 + + + + MC3081: '{0}' is a read-only property of type IList or IDictionary and cannot be set because it does not have a public or internal get accessor. + MC3081: '{0}' は、型 IList または IDictionary の読み取り専用プロパティで、パブリックまたは内部の get アクセサーがないため設定できません。 + + + + MC3080: The {0} '{1}' cannot be set because it does not have an accessible {2} accessor. + MC3080: {0} '{1}' は、アクセス可能な {2} アクセサーがないので設定できません。。 + + + + MC3087: Cannot set content property '{0}' on element '{1}'. '{0}' has incorrect access level or its assembly does not allow access. + MC3087: 要素 '{1}' のコンテンツ プロパティ '{0}' を設定できません。'{0}' のアクセス レベルが正しくないか、アセンブリでアクセスが許可されていません。 + + + + MC3082: '{0}' cannot be set as the value of a Trigger's Property attribute because it does not have a public or internal get accessor. + MC3082: '{0}' は、パブリックまたは内部の get アクセサーがないため、Trigger の Property 属性の値として設定できません。 + + + + MC3016: Two new namespaces cannot be compatible with the same old namespace using an XmlnsCompatibility attribute.�'{0}' namespace is already marked compatible with '{1}'. + MC3016: XmlnsCompatibility 属性を使用して、2 つの新しい名前空間に同一の古い名前空間と互換性を持たせることはできません。�'{0}' 名前空間は既に '{1}' と互換性があるとマークされています。 + + + + MC3088: Property elements cannot be in the middle of an element's content. They must be before or after the content. + MC3088: Property 要素は要素のコンテンツの中央に配置できません。Property 要素は、コンテンツの前または後ろになければなりません。 + + + + MC3017: 'Code' tag from xaml namespace found in XAML file. To load this file, you must compile it. + MC3017: xaml 名前空間からの 'Code' タグが XAML ファイルに存在します。このファイルを読み込むには、コンパイルする必要があります。 + + + + MC3061: The Element type '{0}' does not have an associated TypeConverter to parse the string '{1}'. + MC3061: 要素型 '{0}' には、文字列 '{1}' を解析するための TypeConverter が関連付けられていません。 + + + + MC3018: Cannot modify data in a sealed XmlnsDictionary. + MC3018: シールされた XmlnsDictionary のデータは変更できません。 + + + + MC3020: The dictionary key '{0}' is already used. Key attributes are used as keys when inserting objects into a dictionary and must be unique. + MC3020: 辞書キー '{0}' は既に使用されています。キー属性は、オブジェクトを辞書に挿入するときにキーとして使用されます。これは一意である必要があります。 + + + + MC3033: The property '{0}' has already been set on this markup extension and can only be set once. + MC3033: プロパティ '{0}' は既にこのマークアップ拡張で設定されています。設定できるのは一度だけです。 + + + + MC3024: '{0}' property has already been set and can be set only once. + MC3024: '{0}' プロパティは既に設定されています。設定できるのは一度だけです。 + + + + MC3025: Property '{0}' and '{1}' refer to the same property. Duplicate property settings are not allowed. + MC3025: プロパティ '{0}' と '{1}' は同じプロパティを参照しています。重複したプロパティ設定は許可されていません。 + + + + MC3026: '{0}' property element cannot be empty. It must contain child elements or text. + MC3026: '{0}' プロパティ要素を空にすることはできません。子要素またはテキストを含んでいる必要があります。 + + + + MC3027: The EntityReference &{0}; is not recognized. + MC3027: EntityReference &{0}; は認識されません。 + + + + MC3083: Cannot access the delegate type '{0}' for the '{1}' event. '{0}' has incorrect access level or its assembly does not allow access. + MC3083: '{1}' イベントのデリゲート型 '{0}' にアクセスできません。'{0}' のアクセス レベルが正しくないか、アセンブリでアクセスが許可されていません。 + + + + MC3030: '{0}' property is a read-only IEnumerable property, which means that '{1}' must implement IAddChild. + MC3030: '{0}' プロパティは読み取り専用の IEnumerable プロパティです。このため、'{1}' は IAddChild を実装する必要があります。 + + + + MC3078: Invalid ContentPropertyAttribute on type '{0}', property '{1}' not found. + MC3078: 型 '{0}' に、無効な ContentPropertyAttribute があります。プロパティ '{1}' が見つかりません。 + + + + Known type value {0}='{1}' is not a valid known type. + 既知の型値 {0}='{1}' は、有効な既知の型ではありません。 + + + + MC3011: Cannot find the static member '{0}' on the type '{1}'. + MC3011: 型 '{1}' に静的メンバー '{0}' が見つかりません。 + + + + MC3031: Keys and values in XmlnsDictionary must be strings. + MC3031: XmlnsDictionary のキーと値は文字列でなければなりません。 + + + + Line {0} Position {1} + 行 {0} 位置 {1} + + + + MC3037: Missing XmlNamespace, Assembly or ClrNamespace in Mapping instruction. + MC3037: XmlNamespace、Assembly または ClrNamespace が Mapping 命令にありません。 + + + + '{0}' mapping URI is not valid. + '{0}' URI マッピングが無効です。 + + + + MC3040: Format is not valid for MarkupExtension that specifies constructor arguments in '{0}'. + MC3040: '{0}' のコンストラクター引数を指定する MarkupExtension の形式が無効です。 + + + + MC3041: Markup extensions require a single '=' between name and value, and a single ',' between constructor parameters and name/value pairs. The arguments '{0}' are not valid. + MC3041: マークアップ拡張では、単一の '=' が名前と値の間に必要です。また、単一の ',' がコンストラクター パラメーターと名前/値の組み合わせの間に必要です。引数 '{0}' は無効です。 + + + + MC3091: '{0}' is not valid. Markup extensions require only spaces between the markup extension name and the first parameter. Cannot have comma or equals sign before the first parameter. + MC3091: '{0}' は無効です。マークアップ拡張では、マークアップ拡張名と最初のパラメーターの間に空白だけを必要とします。コンマや等号を最初のパラメーターの前に使用することはできません。 + + + + MC8001: Encountered a closing BracketCharacter '{0}' at Line Number '{1}' and Line Position '{2}' without a corresponding opening BracketCharacter. + MC8001: 終了の BracketCharacter '{0}' が行番号 '{1}' と行の位置 '{2}' に見つかりましたが、対応する開始の BracketCharacter がありません。 + + + + MC8002: BracketCharacter '{0}' at Line Number '{1}' and Line Position '{2}' does not have a corresponding opening/closing BracketCharacter. + MC8002: 行番号 '{1}' と行の位置 '{2}' にある BracketCharacter '{0}' には、対応する開始/終了の BracketCharacter がありません。 + + + + MC3038: MarkupExtension expressions must end with a '}'. + MC3038: MarkupExtension 式の最後には、'}' が必要です。 + + + + MC3042: Name/value pairs in MarkupExtensions must have the format 'Name = Value' and each pair is separated by a comma. '{0}' does not follow this format. + MC3042: MarkupExtension 内の名前/値の組み合わせは、'名前 = 値' の形式で、各組み合わせはコンマで区切られていなければなりません。'{0}' はこの形式に準拠していません。 + + + + MC3043: Names and Values in a MarkupExtension cannot contain quotes. The MarkupExtension arguments '{0}' are not valid. + MC3043: MarkupExtension の名前と値に引用符を使用することはできません。MarkupExtension の引数 '{0}' は無効です。 + + + + MC3044: The text '{1}' is not allowed after the closing '{0}' of a MarkupExtension expression. + MC3044: MarkupExtension 式を閉じる '{0}' の後にテキスト '{1}' を使用することはできません。 + + + + MC3045: Unknown property '{0}' for type '{1}' encountered while parsing a Markup Extension. + MC3045: Markup Extension の解析時に、型 '{1}' に対する不明なプロパティ '{0}' が見つかりました。 + + + + MC3046: Unknown attribute '{0}' in the '{1}' namespace. Note that only the Key attribute is currently supported in this namespace. + MC3046: 不明な属性 '{0}' が '{1}' 名前空間にあります。Key 属性だけが、この名前空間で現在サポートされています。 + + + + MC3047: Internal parser error - Cannot use multiple writable BAML records at the same time. + MC3047: 内部パーサー エラー - 同時に複数の書き込み可能な BAML レコードを使用することはできません。 + + + + '{0}' property element cannot be nested directly inside another property element. + '{0}' プロパティ要素は、別のプロパティ要素内で直接入れ子にすることはできません。 + + + + MC3049: Cannot place attributes on Array tags. + MC3049: Array タグには属性を配置できません。 + + + + MC3021: Asynchronous loading is not supported when compiling a XAML file, so a SynchronousMode of '{0}' is not allowed. + MC3021: XAML ファイルのコンパイル時は非同期読み込みはサポートされないため、'{0}' の SynchronousMode は使用できません。 + + + + MC3051: The type '{0}' does not support element content. + MC3051: 型 '{0}' は要素のコンテンツをサポートしません。 + + + + MC3022: All objects added to an IDictionary must have a Key attribute or some other type of key associated with them. + MC3022: IDictionary に追加されるすべてのオブジェクトは、Key 属性またはオブジェクトに関連する別の型のキーを保持している必要があります。 + + + + MC3023: The Key attribute can only be used on a tag contained in a Dictionary (such as a ResourceDictionary). + MC3023: Key 属性は、Dictionary (ResourceDictionary など) に含まれているタグでのみ使用できます。 + + + + MC3032: '{1}' cannot be used as a value for '{0}'. Numbers are not valid enumeration values. + MC3032: '{1}' は、'{0}' の値として使用できません。数字は有効な列挙値ではありません。 + + + + MC3053: Cannot use property element syntax to specify event handler '{0}'. + MC3053: プロパティ要素の構文を使用してイベント ハンドラー '{0}' を指定できません。 + + + + MC3052: XAML file that contains events must be compiled. + MC3052: イベントを含む XAML ファイルはコンパイルする必要があります。 + + + + MC3054: The type '{0}' cannot have a Name attribute. Value types and types without a default constructor can be used as items within a ResourceDictionary. + MC3054: 型 '{0}' は Name 属性を持つことができません。値の型と既定のコンストラクターのない型を、ResourceDictionary 内で項目として使用できます。 + + + + MC3093: Cannot set Name attribute value '{0}' on element '{1}'. '{1}' is under the scope of element '{2}', which already had a name registered when it was defined in another scope. + MC3093: 要素 '{1}' で Name 属性値 '{0}' を設定することはできません。'{1}' は、要素 '{2}' のスコープ内にあり、この要素には、別のスコープで定義されたときに既に名前が登録されています。 + + + + MC3056: No NamespaceURI is defined for the object '{0}'. + MC3056: オブジェクト '{0}' に対して NamespaceURI が定義されていません。 + + + + MC3084: Cannot nest XML data islands. + MC3084: XML データ アイランドを入れ子にできません。 + + + + MC3057: Cannot set properties on property elements. + MC3057: プロパティ要素ではプロパティを設定できません。 + + + + MC3058: Cannot find a custom serializer for '{0}' so it cannot be parsed. + MC3058: '{0}' のカスタム シリアライザーが見つからないため、解析できません。 + + + + MC3059: Style setters do not support child elements. A tag of type '{0}' is not allowed. + MC3059: Style セッターは子要素をサポートしていません。型 '{0}' のタグは許可されていません。 + + + + MC3050: Cannot find the type '{0}'. Note that type names are case sensitive. + MC3050: 型 '{0}' が見つかりません。型名では大文字と小文字が区別されることに注意してください。 + + + + MC3048: '{0}' value is not a valid MarkupExtension expression. Cannot resolve '{1}' in namespace '{2}'. '{1}' must be a subclass of MarkupExtension. + MC3048: '{0}' 値は有効な MarkupExtension 式ではありません。名前空間 '{2}' で '{1}' を解決できません。'{1}' は MarkupExtension のサブクラスである必要があります。 + + + + MC3062: '{0}' XML namespace prefix does not map to a NamespaceURI, so element '{1}' cannot be resolved. + MC3062: '{0}' XML 名前空間のプレフィックスは NamespaceURI にマップされないため、要素 '{1}' を解決できません。 + + + + MC3100: '{0}' XML namespace prefix does not map to a namespace URI, so cannot resolve property '{1}'. + MC3100: '{0}' XML 名前空間プレフィックスは、名前空間 URI にマップされないため、プロパティ '{1}' を解決できません。 + + + + MC3063: Property '{0}' does not have a value. + MC3063: プロパティ '{0}' には値がありません。 + + + + MC3064: Only public or internal classes can be used within markup. '{0}' type is not public or internal. + MC3064: パブリックまたは内部のクラスだけをマークアップ内で使用できます。'{0}' 型はパブリックでも内部でもありません。 + + + + MC3065: '{0}' property is read-only and cannot be set from markup. + MC3065: '{0}' プロパティは読み取り専用で、マークアップから設定することはできません。 + + + + MC3066: The type reference cannot find a public type named '{0}'. + MC3066: 型参照は '{0}' という名前のパブリック型を見つけられません。 + + + + MC3019: Cannot reference the static member '{0}' on the type '{1}' as it is not accessible. + MC3019: アクセスできないため、型 '{1}' の静的メンバー '{0}' を参照できません。 + + + + MC3067: SynchronousMode attribute must be on the root tag. + MC3067: SynchronousMode 属性はルート タグになければなりません。 + + + + MC3069: Cannot have both the text '{0}' and the child element '{1}' within a property element. + MC3069: 1 つのプロパティ要素内に、テキスト '{0}' と子要素 '{1}' の両方を保持することはできません。 + + + + MC3068: Text is not valid under an IDictionary or Array property. + MC3068: テキストは、IDictionary または Array プロパティ内では無効です。 + + + + MC3070: A single XAML file cannot reference more than 4,096 different assemblies. + MC3070: 単一の XAML ファイルは、4,096 個を超える異なるアセンブリを参照することはできません。 + + + + MC3095: Close tag must immediately follow TypeConverter initialization string '{0}'. + MC3095: TypeConverter 初期化文字列 '{0}' のすぐ後ろに終了タグが必要です。 + + + + MC3090: TypeConverter syntax error encountered while processing initialization string '{0}'. Element attributes are not allowed on objects created via TypeConverter. + MC3090: 初期化文字列 '{0}' の処理中に TypeConverter 構文エラーが発生しました。TypeConverter によって作成されるオブジェクトでは、要素属性は許可されていません。 + + + + MC3071: '{0}' is an undeclared namespace. + MC3071: '{0}' は宣言されていない名前空間です。 + + + + MC3072: The property '{0}' does not exist in XML namespace '{1}'. + MC3072: プロパティ '{0}' は、XML 名前空間 '{1}' にありません。 + + + + MC3073: The attribute '{0}' does not exist in XML namespace 'http://schemas.microsoft.com/winfx/2006/xaml'. + MC3073: 属性 '{0}' は、XML 名前空間 'http://schemas.microsoft.com/winfx/2006/xaml' にありません。 + + + + MC3074: The tag '{0}' does not exist in XML namespace '{1}'. + MC3074: タグ '{0}' は、XML 名前空間 '{1}' にありません。 + + + + MC3075: Unrecognized XML node type '{0}' found when determining if the current tag is a property element. + MC3075: 現在のタグがプロパティ要素かどうかを判断しているときに、認識不能な XML ノード型 '{0}' が見つかりました。 + + + + MC3086: Parent element or property '{0}' requires an XML data island. To distinguish an XML island from surrounding XAML, wrap the XML data island in <x:XData> ... </x:XData>. + MC3086: 親要素またはプロパティ '{0}' には XML データ アイランドが必要です。XML アイランドと周囲の XAML を区別するには、XML データ アイランドを <x:XData> ... </x:XData> で囲んでください。 + + + + MC3085: '{0}' element or property cannot contain an XML data island. + MC3085: '{0}' 要素またはプロパティに XML データ アイランドを含めることはできません。 + + + + MC3092: XmlLangProperty attribute must specify a property name. + MC3092: XmlLangProperty 属性はプロパティ名を指定する必要があります。 + + + + MC3077: The class '{0}' does not implement IXmlLineInfo. This is required to get position information for the XAML being parsed. + MC3077: クラス '{0}' は IXmlLineInfo を実装しません。これは、解析する XAML の位置情報を取得するために必要です。 + + + + MC3098: Unexpected token '{0}' at position '{1}'. + MC3098: 位置 '{1}' に予期しないトークン '{0}' があります。 + + + + MC3096: Token is not valid. + MC3096: トークンが無効です。 + + + + Preparing for the markup compilation... + マークアップのコンパイルを準備しています... + + + + MC4301: Type name '{0}' does not have the expected format 'className, assembly'. + MC4301: 型名 '{0}' には、予期された書式 'className, assembly' がありません。 + + + + Reading Resource file: '{0}'... + Resource ファイル '{0}' を読み取っています... + + + + Recompiled XAML file : '{0}'. + XAML ファイル '{0}' を再コンパイルしました。 + + + + Input: Assembly Reference file: '{0}'. + 入力: アセンブリ Reference ファイル: '{0}'。 + + + + Resource ID is '{0}'. + リソース ID は '{0}' です。 + + + + RG1001: Input resource file '{0}' exceeds maximum size of {1} bytes. + RG1001: 入力リソース ファイル '{0}' が、最大サイズの {1} バイトを超えました。 + + + + Generated .resources file: '{0}'. + .resources ファイル '{0}' を生成しました。 + + + + Generating .resources file: '{0}'... + .resources ファイル '{0}' を生成しています... + + + + ResourcesGenerator + ResourcesGenerator + + + + MC6006: {0}.{1}="{2}" is not valid. '{1}' must be a RoutedEvent registered with a name that ends with the keyword "Event". + MC6006: {0}.{1}="{2}" は無効です。'{1}' は、"Event" というキーワードで終わる名前で登録された RoutedEvent でなければなりません。 + + + + UM1005: You must pass markup files to the task. + UM1005: マークアップ ファイルをタスクに渡す必要があります。 + + + + MC4110: SourceName property cannot be set within Style.Triggers section. + MC4110: SourceName プロパティは、Style.Triggers セクション内で設定できません。 + + + + MC4001: Style does not support both {0} tags and Style.{1} property tags for a single Style. Use one or the other. + MC4001: Style は、{0} タグと Style.{1} プロパティ タグの両方を単一の Style に対してサポートしていません。どちらか一方を使用してください。 + + + + MC4002: The Style property tag '{0}' can only be specified directly under a Style tag. + MC4002: Style プロパティ タグ '{0}' は、Style タグ内でのみ直接指定できます。 + + + + MC4005: Cannot find the Style {0} '{1}' on the type '{2}'. + MC4005: 型 '{2}' に Style {0} '{1}' が見つかりません。 + + + + MC4003: Cannot resolve the Style {0} '{1}'. Verify that the owning type is the Style's TargetType, or use Class.Property syntax to specify the {0}. + MC4003: Style {0} '{1}' を解決できません。所有している型が Style の TargetType であることを確認するか、Class.Property 構文を使用して {0} を指定してください。 + + + + MC4004: Style cannot contain child '{0}'. Style child must be a Setter because it is added to the Setters collection. + MC4004: Style に子 '{0}' を含めることはできません。Style の子は Setter コレクションに追加されるため、Setter でなければなりません。 + + + + MC4006: Tags of type '{0}' are not supported in Style sections. + MC4006: 型 '{0}' のタグは、Style セクションでサポートされていません。 + + + + MC4007: The event '{0}' cannot be specified on a Target tag in a Style. Use an EventSetter instead. + MC4007: イベント '{0}' は、Style の Target タグでは指定できません。代わりに EventSetter を使用してください。 + + + + MC4008: The text '{0}' is not allowed at this location within a Style section. + MC4008: テキスト '{0}' は、Style セクションのこの位置では使用できません。 + + + + MC4009: The property '{0}' cannot be set on Style. + MC4009: プロパティ '{0}' は、Style では設定できません。 + + + + MC6017: '{0}' cannot be the root of a XAML file because it was defined using XAML. + MC6017: '{0}' は、XAML を使用して定義されているため、XAML ファイルのルートにすることはできません。 + + + + BG1004: Target Type '{0}' is not supported by this task. + BG1004: 対象型 '{0}' は、このタスクではサポートされていません。 + + + + MC4011: TargetName property cannot be set on a Style Setter. + MC4011: Style Setter で TargetName プロパティを設定することはできません。 + + + + + Copyright (C) Microsoft Corporation 2005. All rights reserved. + Copyright (C) Microsoft Corporation 2005. All rights reserved. + + + + MC4101: The Name '{0}' has already been defined. Names must be unique. + MC4101: Name '{0}' は既に定義されています。Name は一意でなければなりません。 + + + + MC4108: The root of a Template content section cannot contain an element of type '{0}'. Only FrameworkElement and FrameworkContentElement types are valid. + MC4108: Template コンテンツ セクションのルートに型 '{0}' の要素を含めることはできません。FrameworkElement および FrameworkContentElement 型のみが有効です。 + + + + MC4103: The template property tag '{0}' can only be specified immediately after a ControlTemplate tag. + MC4103: テンプレート プロパティ タグ '{0}' は、ControlTemplate タグの直後にのみ指定できます。 + + + + MC4107: A template can have only a single root element. '{0}' is not allowed. + MC4107: テンプレートは、ルート要素を 1 つだけ保持できます。'{0}' は使用できません。 + + + + MC4109: Cannot find the Template Property '{0}' on the type '{1}'. + MC4109: 型 '{1}' にテンプレート プロパティ '{0}' が見つかりません。 + + + + MC4106: Cannot resolve the Template Property '{0}'. Verify that the owning type is the Style's TargetType, or use Class.Property syntax to specify the property. + MC4106: テンプレート プロパティ '{0}' を解決できません。所有している型が Style の TargetType であることを確認するか、Class.Property 構文を使用してプロパティを指定してください。 + + + + MC4111: Cannot find the Trigger target '{0}'. (The target must appear before any Setters, Triggers, or Conditions that use it.) + MC4111: Trigger ターゲット '{0}' が見つかりません (ターゲットは、それを使用する Setter、Trigger、または Condition の前になければなりません)。 + + + + MC4102: Tags of type '{0}' are not supported in template sections. + MC4102: 型 '{0}' のタグは、テンプレート セクションでサポートされていません。 + + + + MC4105: The text '{0}' is not allowed at this location within a template section. + MC4105: テキスト '{0}' は、テンプレート セクションのこの位置では使用できません。 + + + + MC4104: The property '{0}' cannot be set as a property element on template. Only Triggers and Storyboards are allowed as property elements. + MC4104: プロパティ '{0}' は、テンプレートのプロパティ要素として設定できません。Triggers と Storyboards だけをプロパティ要素として使用できます。 + + + + MC7004: Empty token encountered while parsing. + MC7004: 解析中に空のトークンが見つかりました。 + + + + MC7003: Extra data encountered after token while parsing. + MC7003: 解析中に、余分なデータがトークンの後に見つかりました。 + + + + MC7002: Missing end quote encountered while parsing token. + MC7002: トークンの解析中に、閉じる引用符の欠落が見つかりました。 + + + + MC7001: Premature string termination encountered. + MC7001: 終了が不完全な文字列が見つかりました。 + + + + UidManager + UidManager + + + + UM1003: Uid is missing for element '{0}'. + UM1003: 要素 '{0}' の Uid がありません。 + + + + Unknown build error, '{0}' + 不明なビルド エラー '{0}' が発生しました + + + + MC6013: {0}:ClassModifier="{1}" is not valid for the language {2}. + MC6013: {0}:ClassModifier="{1}" は、言語 {2} では無効です。 + + + + MC6002: Unrecognized tag '{0}:{1}' in namespace 'http://schemas.microsoft.com/winfx/2006/xaml'. Note that tag names are case sensitive. + MC6002: 認識不能なタグ '{0}:{1}' が名前空間 'http://schemas.microsoft.com/winfx/2006/xaml' にあります。タグ名では大文字と小文字が区別されることに注意してください。 + + + + MC6007: '{1}' is not valid. '{0}' is not an event on '{2}'. + MC6007: '{1}' は無効です。'{0}' は '{2}' のイベントではありません。 + + + + MC6014: {0}:FieldModifier="{1}" is not valid for the language {2}. + MC6014: {0}:FieldModifier="{1}" は、言語 {2} では無効です。 + + + + MC6020: {0}:TypeArguments='{1}' is not valid on the tag '{2}'. Either '{2}' is not a generic type or the number of Type arguments in the attribute is wrong. Remove the {0}:TypeArguments attribute because it is allowed only on generic types, or fix its value to match the arity of the generic type '{2}'. + MC6020: {0}:TypeArguments='{1}' は、タグ '{2}' では無効です。'{2}' がジェネリック型でないか、属性の Type 引数の数が正しくありません。{0}:TypeArguments 属性はジェネリック型でのみ使用可能なため、これを削除するか、またはジェネリック型 '{2}' のアリティに合わせてその値を変更してください。 + + + + MC6008: '{0}' is not installed properly on this machine. It must be listed in the <compilers> section of machine.config. + MC6008: '{0}' がこのコンピューターに正しくインストールされていません。これは、machine.config の <compilers> セクションに一覧表示されていなければなりません。 + + + + Unknown path operation attempted. + 不明なパス操作が試行されました。 + + + + LC1003: Localization comment has no value set for target property: '{0}'. + LC1003: ローカライズ コメントに、対象プロパティ '{0}' の値が設定されていません。 + + + + UpdateManifestForBrowserApplication + UpdateManifestForBrowserApplication + + + + MC4501: Major and minor version number components cannot be negative. + MC4501: メジャーおよびマイナー バージョン番号コンポーネントは、負の値にできません。 + + + + MC6000: Project file must include the .NET Framework assembly '{0}' in the reference list. + MC6000: プロジェクト ファイルは、.NET Framework アセンブリ '{0}' を参照一覧に含んでいなければなりません。 + + + + MC1001: The LocalizationDirectivesToLocFile property value is not valid and must be changed to None, CommentsOnly, or All for the MarkupCompilePass1 task. + MC1001: LocalizationDirectivesToLocFile プロパティ値が無効です。MarkupCompilePass1 タスクでは、None、CommentsOnly、または All に変更する必要があります。 + + + + BG1003: The project file contains a property value that is not valid. + BG1003: プロジェクト ファイルに、無効なプロパティ値が含まれています。 + + + + MC4602: Choice cannot follow a Fallback. + MC4602: Choice を、Fallback に続けることはできません。 + + + + MC4606: AlternateContent must contain one or more Choice elements. + MC4606: AlternateContent には、1 つまたは複数の Choice 要素が必要です。 + + + + MC4601: Choice valid only in AlternateContent. + MC4601: Choice は、AlternateContent でのみ有効です。 + + + + MC4640: Namespace '{0}' is marked as compatible with itself using XmlnsCompatibilityAttribute. A namespace cannot directly or indirectly override itself. + MC4640: 名前空間 '{0}' は、XmlnsCompatibilityAttribute を使用して、それ自身と互換性のある名前空間としてマークされています。名前空間は、自身を直接的または間接的にオーバーライドすることはできません。 + + + + MC4631: Duplicate Preserve declaration for element '{1}' in namespace '{0}'. + MC4631: 名前空間 '{0}' の要素 '{1}' の Preserve 宣言が重複しています。 + + + + MC4617: Duplicate ProcessContent declaration for element '{1}' in namespace '{0}'. + MC4617: 名前空間 '{0}' の要素 '{1}' の ProcessContent 宣言が重複しています。 + + + + MC4633: Duplicate wildcard Preserve declaration for namespace '{0}'. + MC4633: 名前空間 '{0}' のワイルドカード Preserve 宣言が重複しています。 + + + + MC4619: Duplicate wildcard ProcessContent declaration for namespace '{0}'. + MC4619: 名前空間 '{0}' のワイルドカード ProcessContent 宣言が重複しています。 + + + + MC4605: Fallback valid only in AlternateContent. + MC4605: Fallback は、AlternateContent 内でのみ有効です。 + + + + MC4610: '{0}' element is not a valid child of AlternateContent. Only Choice and Fallback elements are valid children of an AlternateContent element. + MC4610: '{0}' 要素は、AlternateContent の有効な子ではありません。AlternateContent 要素の有効な子は、Choice および Fallback 要素のみです。 + + + + MC4608: '{0}' attribute is not valid for element '{1}'. + MC4608: '{0}' 属性は、要素 '{1}' に対して無効です。 + + + + MC4611: '{0}' format is not valid. + MC4611: '{0}' 形式は無効です。 + + + + MC4632: Cannot have both a specific and a wildcard Preserve declaration for namespace '{0}'. + MC4632: 名前空間 '{0}' の固有およびワイルドカードの Preserve 宣言の両方を指定することはできません。 + + + + MC4618: Cannot have both a specific and a wildcard ProcessContent declaration for namespace '{0}'. + MC4618: 名前空間 '{0}' の固有およびワイルドカードの ProcessContent 宣言の両方を指定することはできません。 + + + + MC4604: Requires attribute must contain a valid namespace prefix. + MC4604: Requires 属性には、有効な名前空間プレフィックスが含まれている必要があります。 + + + + MC4634: '{0}' attribute value is not a valid XML name. + MC4634: '{0}' 属性値は、無効な XML 名です。 + + + + MC4607: AlternateContent must contain only one Fallback element. + MC4607: AlternateContent には、Fallback 要素が 1 つだけ含まれている必要があります。 + + + + MC4626: MustUnderstand condition failed on namespace '{0}'. + MC4626: 名前空間 '{0}' で、MustUnderstand 条件が失敗しました。 + + + + MC4630: Namespace '{0}' has items declared to be preserved but is not declared ignorable. + MC4630: 名前空間 '{0}' には、保持されると宣言されている項目がありますが、無視できるとは宣言されていません。 + + + + MC4615: '{0}' namespace is declared ProcessContent but is not declared Ignorable. + MC4615: '{0}' 名前空間は ProcessContent と宣言されていますが、Ignorable とは宣言されていません。 + + + + MC4603: Choice must contain a Requires attribute. + MC4603: Choice には、Requires 属性が含まれている必要があります。 + + + + MC4612: '{0}' prefix is not defined. + MC4612: '{0}' プレフィックスは定義されていません。 + + + + MC4614: Unrecognized compatibility attribute '{0}'. + MC4614: 認識できない互換性属性 '{0}' です。 + + + + MC4609: Unrecognized compatibility element '{0}'. + MC4609: 認識できない互換性要素 '{0}' です。 + + + + MC4502: The feature ID string cannot have length 0. + MC4502: 機能 ID 文字列の長さは 0 にできません。 + + + + + \ No newline at end of file diff --git a/src/Microsoft.DotNet.Wpf/src/PresentationBuildTasks/Resources/xlf/Strings.ko.xlf b/src/Microsoft.DotNet.Wpf/src/PresentationBuildTasks/Resources/xlf/Strings.ko.xlf new file mode 100644 index 00000000000..47e4ea98cd7 --- /dev/null +++ b/src/Microsoft.DotNet.Wpf/src/PresentationBuildTasks/Resources/xlf/Strings.ko.xlf @@ -0,0 +1,1242 @@ + + + + + + Analysis Result : '{0}'. + Analysis Result : '{0}'. + + + + MC1002: Library project file cannot specify ApplicationDefinition element. + MC1002: Library project file cannot specify ApplicationDefinition element. + + + + Input: Markup ApplicationDefinition file: '{0}'. + Input: Markup ApplicationDefinition file: '{0}'. + + + + MC6015: '{0}' cannot be set on the '{1}:{2}' tag. + MC6015: '{0}' cannot be set on the '{1}:{2}' tag. + + + + UM1001: Unrecognized UidManager task name '{0}'. + UM1001: Unrecognized UidManager task name '{0}'. + + + + Checking Uids in file '{0}' ... + Checking Uids in file '{0}' ... + + + + Generated localization directives file: '{0}' . + Generated localization directives file: '{0}' . + + + + Generating localization directives file: '{0}' ... + Generating localization directives file: '{0}' ... + + + + Markup compilation is done. + Markup compilation is done. + + + + MarkupCompilePass1 successfully generated BAML or source code files. + MarkupCompilePass1 successfully generated BAML or source code files. + + + + MarkupCompilePass2 successfully generated BAML or source code files. + MarkupCompilePass2 successfully generated BAML or source code files. + + + + MC6011: '{0}' event has a generic event handler delegate type '{1}'. The type parameters of '{1}' cannot be bound with an appropriate type argument because the containing tag '{2}' is not a generic type. + MC6011: '{0}' event has a generic event handler delegate type '{1}'. The type parameters of '{1}' cannot be bound with an appropriate type argument because the containing tag '{2}' is not a generic type. + + + + Current project directory is '{0}'. + Current project directory is '{0}'. + + + + MC6022: Only a root tag can specify attribute '{0}:{1}'. + MC6022: Only a root tag can specify attribute '{0}:{1}'. + + + + MC6010: '{0}:{1}' cannot be specified as the root element. + MC6010: '{0}:{1}' cannot be specified as the root element. + + + + MC6004: '{0}:{1}' contains '{2}'. '{0}:{1}' can contain only a CDATA or text section. + MC6004: '{0}:{1}' contains '{2}'. '{0}:{1}' can contain only a CDATA or text section. + + + + Started the markup compilation. + Started the markup compilation. + + + + MC6030: {0}="{1}" is not valid. '{0}' event attribute value cannot be a string that is empty or has only white space. + MC6030: {0}="{1}" is not valid. '{0}' event attribute value cannot be a string that is empty or has only white space. + + + + MC6021: {0}:FieldModifier cannot be specified on this tag because it has either no {0}:Name or Name attribute set, or the tag is locally defined and has a Name attribute set, which is not allowed. + MC6021: {0}:FieldModifier cannot be specified on this tag because it has either no {0}:Name or Name attribute set, or the tag is locally defined and has a Name attribute set, which is not allowed. + + + + FileClassifier + FileClassifier + + + + BG1002: File '{0}' cannot be found. + BG1002: File '{0}' cannot be found. + + + + Input file '{0}' is resolved to new relative path '{1}' at directory '{2}'. + Input file '{0}' is resolved to new relative path '{1}' at directory '{2}'. + + + + UM1004: {0} files failed Uid check. + UM1004: {0} files failed Uid check. + + + + Uids valid in {0} files. + Uids valid in {0} files. + + + + Uids removed from {0} files. + Uids removed from {0} files. + + + + Uids updated in {0} files. + Uids updated in {0} files. + + + + Generated BAML file: '{0}'. + Generated BAML file: '{0}'. + + + + Generated code file: '{0}'. + Generated code file: '{0}'. + + + + GetWinFXPath + GetWinFXPath + + + + MC6003: '{0}:{1}' contains '{2}'. '{0}:{1}' cannot contain nested content. + MC6003: '{0}:{1}' contains '{2}'. '{0}:{1}' cannot contain nested content. + + + + UM1006: '{0}' directory does not exist and cannot be created. + UM1006: '{0}' directory does not exist and cannot be created. + + + + InternalTypeHelper class is not required for this project, make file '{0}' empty. + InternalTypeHelper class is not required for this project, make file '{0}' empty. + + + + MC6018: '{0}' class name is not valid for the locally defined XAML root element. + MC6018: '{0}' class name is not valid for the locally defined XAML root element. + + + + MC6019: '{0}' namespace is not valid for the locally defined XAML root element '{1}'. + MC6019: '{0}' namespace is not valid for the locally defined XAML root element '{1}'. + + + + MC6027: {0}:{1}="{2}" is not valid. '{2}' is not a valid {3}class name. + MC6027: {0}:{1}="{2}" is not valid. '{2}' is not a valid {3}class name. + + + + FC1001: The UICulture value '{0}' set in the project file is not valid. + FC1001: The UICulture value '{0}' set in the project file is not valid. + + + + MC4402: Serializer does not support custom BAML serialization operations. + MC4402: Serializer does not support custom BAML serialization operations. + + + + MC4401: Serializer does not support Convert operations. + MC4401: Serializer does not support Convert operations. + + + + MC6029: '{0}' name is not valid in the default namespace '{1}'. Correct the RootNamespace tag value in the project file. + MC6029: '{0}' name is not valid in the default namespace '{1}'. Correct the RootNamespace tag value in the project file. + + + + MC6005: {0}="{1}" is not valid. '{1}' is not a valid event handler method name. Only instance methods on the generated or code-behind class are valid. + MC6005: {0}="{1}" is not valid. '{1}' is not a valid event handler method name. Only instance methods on the generated or code-behind class are valid. + + + + LC1001: Localization comment target property is not valid in string '{0}'. + LC1001: Localization comment target property is not valid in string '{0}'. + + + + LC1002: Localization comment value is not valid for target property '{0}' in string '{1}'. + LC1002: Localization comment value is not valid for target property '{0}' in string '{1}'. + + + + LC1004: Localizability attribute setting '{0}' is not valid. + LC1004: Localizability attribute setting '{0}' is not valid. + + + + MC6001: Markup file is not valid. Specify a source markup file with an .xaml extension. + MC6001: Markup file is not valid. Specify a source markup file with an .xaml extension. + + + + MC6028: {0}:TypeArguments="{1}" is not valid. '{2}' is not a valid type name reference for the generic argument at position '{3}'. + MC6028: {0}:TypeArguments="{1}" is not valid. '{2}' is not a valid type name reference for the generic argument at position '{3}'. + + + + MC3000: '{0}' XML is not valid. + MC3000: '{0}' XML is not valid. + + + + MC6023: Because '{0}' is implemented in the same assembly, you must set the {1}:Name attribute rather than the Name attribute. + MC6023: Because '{0}' is implemented in the same assembly, you must set the {1}:Name attribute rather than the Name attribute. + + + + Input: Local reference markup ApplicationDefinition file is '{0}'. + Input: Local reference markup ApplicationDefinition file is '{0}'. + + + + Generated BAML file: '{0}'. + Generated BAML file: '{0}'. + + + + Input: Local reference markup Page file: '{0}'. + Input: Local reference markup Page file: '{0}'. + + + + MarkupCompilePass1 + MarkupCompilePass1 + + + + MarkupCompilePass2 + MarkupCompilePass2 + + + + MC6012: '{0}' event has a generic event handler delegate type '{1}'. The type parameter '{2}' on '{1}' does not match any type parameters on the containing generic tag '{3}'. + MC6012: '{0}' event has a generic event handler delegate type '{1}'. The type parameter '{2}' on '{1}' does not match any type parameters on the containing generic tag '{3}'. + + + + MergeLocalizationDirectives + MergeLocalizationDirectives + + + + MC6026: '{0}' root element requires a {1}:Class attribute because '{2}' contains a {1}:Code tag. Either remove {1}:Code and its contents, or add a {1}:Class attribute to the root element. + MC6026: '{0}' root element requires a {1}:Class attribute because '{2}' contains a {1}:Code tag. Either remove {1}:Code and its contents, or add a {1}:Class attribute to the root element. + + + + MC6024: '{0}' root element requires a {1}:Class attribute to support event handlers in the XAML file. Either remove the event handler for the {2} event, or add a {1}:Class attribute to the root element. + MC6024: '{0}' root element requires a {1}:Class attribute to support event handlers in the XAML file. Either remove the event handler for the {2} event, or add a {1}:Class attribute to the root element. + + + + MC6025: '{0}' root element is a generic type and requires a {1}:Class attribute to support the {1}:TypeArguments attribute specified on the root element tag. + MC6025: '{0}' root element is a generic type and requires a {1}:Class attribute to support the {1}:TypeArguments attribute specified on the root element tag. + + + + MC6031: {0}:FieldModifier attribute cannot be specified because a {0}:Class attribute is also required to generate a Name field with the specified access modifier. Either add a {0}:Class attribute on the root tag or remove the {0}:FieldModifier attribute. + MC6031: {0}:FieldModifier attribute cannot be specified because a {0}:Class attribute is also required to generate a Name field with the specified access modifier. Either add a {0}:Class attribute on the root tag or remove the {0}:FieldModifier attribute. + + + + MC6009: {0}:ClassModifier attribute cannot be specified on the root tag because a {0}:Class attribute is also required. Either add a {0}:Class attribute or remove the {0}:ClassModifier attribute. + MC6009: {0}:ClassModifier attribute cannot be specified on the root tag because a {0}:Class attribute is also required. Either add a {0}:Class attribute or remove the {0}:ClassModifier attribute. + + + + MC6016: {0}:Class attribute is missing. It is required when a {0}:Subclass attribute is specified. + MC6016: {0}:Class attribute is missing. It is required when a {0}:Subclass attribute is specified. + + + + RG1002: ResourcesGenerator can generate only one .resources file at a time. The OutputResourcesFile property in the project file must be set to one file. + RG1002: ResourcesGenerator can generate only one .resources file at a time. The OutputResourcesFile property in the project file must be set to one file. + + + + MC1004: Project file cannot specify more than one SplashScreen element. + MC1004: Project file cannot specify more than one SplashScreen element. + + + + UM1002: Uid "{0}" for element '{1}' is not unique. + UM1002: Uid "{0}" for element '{1}' is not unique. + + + + MC1003: Project file cannot specify more than one ApplicationDefinition element. + MC1003: Project file cannot specify more than one ApplicationDefinition element. + + + + A '{0}' is named '{1}'. Do not name ResourceDictionary contents because their instantiation is deferred. + A '{0}' is named '{1}'. Do not name ResourceDictionary contents because their instantiation is deferred. + + + + BG1001: Unknown CLS exception. + BG1001: Unknown CLS exception. + + + + OutputType is '{0}'. + OutputType is '{0}'. + + + + MC3001: TypeConverter syntax error encountered while processing initialization string '{0}'. Property elements are not allowed on objects created via TypeConverter. + MC3001: TypeConverter syntax error encountered while processing initialization string '{0}'. Property elements are not allowed on objects created via TypeConverter. + + + + MC3099: Cannot load assembly '{0}' because a different version of that same assembly is loaded '{1}'. + MC3099: Cannot load assembly '{0}' because a different version of that same assembly is loaded '{1}'. + + + + MC3002: The AsyncRecords attribute must be set on the root tag. + MC3002: The AsyncRecords attribute must be set on the root tag. + + + + MC3015: The attached property '{0}' is not defined on '{1}' or one of its base classes. + MC3015: The attached property '{0}' is not defined on '{1}' or one of its base classes. + + + + MC3003: There are too many attributes specified for '{0}'. + MC3003: There are too many attributes specified for '{0}'. + + + + MC3004: There are not enough attributes specified for '{0}'. + MC3004: There are not enough attributes specified for '{0}'. + + + + MC3005: The property '{0}' must be in the default namespace or in the element namespace '{1}'. + MC3005: The property '{0}' must be in the default namespace or in the element namespace '{1}'. + + + + MC3006: Mapper.SetAssemblyPath cannot accept an empty assemblyName. + MC3006: Mapper.SetAssemblyPath cannot accept an empty assemblyName. + + + + MC3007: Mapper.SetAssemblyPath cannot accept an empty assemblyPath. + MC3007: Mapper.SetAssemblyPath cannot accept an empty assemblyPath. + + + + MC3008: An element of type '{0}' cannot be set on the complex property '{1}'. They are not compatible types. + MC3008: An element of type '{0}' cannot be set on the complex property '{1}'. They are not compatible types. + + + + MC3009: Cannot find a public constructor for '{0}' that takes {1} arguments. + MC3009: Cannot find a public constructor for '{0}' that takes {1} arguments. + + + + MC3012: A key for a dictionary cannot be of type '{0}'. Only String, TypeExtension, and StaticExtension are supported. + MC3012: A key for a dictionary cannot be of type '{0}'. Only String, TypeExtension, and StaticExtension are supported. + + + + MC3029: '{0}' member is not valid because it does not have a qualifying type name. + MC3029: '{0}' member is not valid because it does not have a qualifying type name. + + + + MC3010: '{0}' Name property value is not valid. Name must start with a letter or an underscore and can contain only letters, digits, and underscores. + MC3010: '{0}' Name property value is not valid. Name must start with a letter or an underscore and can contain only letters, digits, and underscores. + + + + MC3094: Cannot convert string value '{0}' to type '{1}'. + MC3094: Cannot convert string value '{0}' to type '{1}'. + + + + MC3013: SynchronousMode property value is not valid. Valid values are Async and Sync. + MC3013: SynchronousMode property value is not valid. Valid values are Async and Sync. + + + + MC3014: The object being added to an array property is not a valid type. The array is of type '{0}' but the object being added is of type '{1}'. + MC3014: The object being added to an array property is not a valid type. The array is of type '{0}' but the object being added is of type '{1}'. + + + + MC3079: MarkupExtensions are not allowed for Uid or Name property values, so '{0}' is not valid. + MC3079: MarkupExtensions are not allowed for Uid or Name property values, so '{0}' is not valid. + + + + MC3089: The object '{0}' already has a child and cannot add '{1}'. '{0}' can accept only one child. + MC3089: The object '{0}' already has a child and cannot add '{1}'. '{0}' can accept only one child. + + + + MC3028: Cannot add content to object of type '{0}'. + MC3028: Cannot add content to object of type '{0}'. + + + + MC3081: '{0}' is a read-only property of type IList or IDictionary and cannot be set because it does not have a public or internal get accessor. + MC3081: '{0}' is a read-only property of type IList or IDictionary and cannot be set because it does not have a public or internal get accessor. + + + + MC3080: The {0} '{1}' cannot be set because it does not have an accessible {2} accessor. + MC3080: The {0} '{1}' cannot be set because it does not have an accessible {2} accessor. + + + + MC3087: Cannot set content property '{0}' on element '{1}'. '{0}' has incorrect access level or its assembly does not allow access. + MC3087: Cannot set content property '{0}' on element '{1}'. '{0}' has incorrect access level or its assembly does not allow access. + + + + MC3082: '{0}' cannot be set as the value of a Trigger's Property attribute because it does not have a public or internal get accessor. + MC3082: '{0}' cannot be set as the value of a Trigger's Property attribute because it does not have a public or internal get accessor. + + + + MC3016: Two new namespaces cannot be compatible with the same old namespace using an XmlnsCompatibility attribute.�'{0}' namespace is already marked compatible with '{1}'. + MC3016: Two new namespaces cannot be compatible with the same old namespace using an XmlnsCompatibility attribute.�'{0}' namespace is already marked compatible with '{1}'. + + + + MC3088: Property elements cannot be in the middle of an element's content. They must be before or after the content. + MC3088: Property elements cannot be in the middle of an element's content. They must be before or after the content. + + + + MC3017: 'Code' tag from xaml namespace found in XAML file. To load this file, you must compile it. + MC3017: 'Code' tag from xaml namespace found in XAML file. To load this file, you must compile it. + + + + MC3061: The Element type '{0}' does not have an associated TypeConverter to parse the string '{1}'. + MC3061: The Element type '{0}' does not have an associated TypeConverter to parse the string '{1}'. + + + + MC3018: Cannot modify data in a sealed XmlnsDictionary. + MC3018: Cannot modify data in a sealed XmlnsDictionary. + + + + MC3020: The dictionary key '{0}' is already used. Key attributes are used as keys when inserting objects into a dictionary and must be unique. + MC3020: The dictionary key '{0}' is already used. Key attributes are used as keys when inserting objects into a dictionary and must be unique. + + + + MC3033: The property '{0}' has already been set on this markup extension and can only be set once. + MC3033: The property '{0}' has already been set on this markup extension and can only be set once. + + + + MC3024: '{0}' property has already been set and can be set only once. + MC3024: '{0}' property has already been set and can be set only once. + + + + MC3025: Property '{0}' and '{1}' refer to the same property. Duplicate property settings are not allowed. + MC3025: Property '{0}' and '{1}' refer to the same property. Duplicate property settings are not allowed. + + + + MC3026: '{0}' property element cannot be empty. It must contain child elements or text. + MC3026: '{0}' property element cannot be empty. It must contain child elements or text. + + + + MC3027: The EntityReference &{0}; is not recognized. + MC3027: The EntityReference &{0}; is not recognized. + + + + MC3083: Cannot access the delegate type '{0}' for the '{1}' event. '{0}' has incorrect access level or its assembly does not allow access. + MC3083: Cannot access the delegate type '{0}' for the '{1}' event. '{0}' has incorrect access level or its assembly does not allow access. + + + + MC3030: '{0}' property is a read-only IEnumerable property, which means that '{1}' must implement IAddChild. + MC3030: '{0}' property is a read-only IEnumerable property, which means that '{1}' must implement IAddChild. + + + + MC3078: Invalid ContentPropertyAttribute on type '{0}', property '{1}' not found. + MC3078: Invalid ContentPropertyAttribute on type '{0}', property '{1}' not found. + + + + Known type value {0}='{1}' is not a valid known type. + Known type value {0}='{1}' is not a valid known type. + + + + MC3011: Cannot find the static member '{0}' on the type '{1}'. + MC3011: Cannot find the static member '{0}' on the type '{1}'. + + + + MC3031: Keys and values in XmlnsDictionary must be strings. + MC3031: Keys and values in XmlnsDictionary must be strings. + + + + Line {0} Position {1} + Line {0} Position {1} + + + + MC3037: Missing XmlNamespace, Assembly or ClrNamespace in Mapping instruction. + MC3037: Missing XmlNamespace, Assembly or ClrNamespace in Mapping instruction. + + + + '{0}' mapping URI is not valid. + '{0}' mapping URI is not valid. + + + + MC3040: Format is not valid for MarkupExtension that specifies constructor arguments in '{0}'. + MC3040: Format is not valid for MarkupExtension that specifies constructor arguments in '{0}'. + + + + MC3041: Markup extensions require a single '=' between name and value, and a single ',' between constructor parameters and name/value pairs. The arguments '{0}' are not valid. + MC3041: Markup extensions require a single '=' between name and value, and a single ',' between constructor parameters and name/value pairs. The arguments '{0}' are not valid. + + + + MC3091: '{0}' is not valid. Markup extensions require only spaces between the markup extension name and the first parameter. Cannot have comma or equals sign before the first parameter. + MC3091: '{0}' is not valid. Markup extensions require only spaces between the markup extension name and the first parameter. Cannot have comma or equals sign before the first parameter. + + + + MC8001: Encountered a closing BracketCharacter '{0}' at Line Number '{1}' and Line Position '{2}' without a corresponding opening BracketCharacter. + MC8001: Encountered a closing BracketCharacter '{0}' at Line Number '{1}' and Line Position '{2}' without a corresponding opening BracketCharacter. + + + + MC8002: BracketCharacter '{0}' at Line Number '{1}' and Line Position '{2}' does not have a corresponding opening/closing BracketCharacter. + MC8002: BracketCharacter '{0}' at Line Number '{1}' and Line Position '{2}' does not have a corresponding opening/closing BracketCharacter. + + + + MC3038: MarkupExtension expressions must end with a '}'. + MC3038: MarkupExtension expressions must end with a '}'. + + + + MC3042: Name/value pairs in MarkupExtensions must have the format 'Name = Value' and each pair is separated by a comma. '{0}' does not follow this format. + MC3042: Name/value pairs in MarkupExtensions must have the format 'Name = Value' and each pair is separated by a comma. '{0}' does not follow this format. + + + + MC3043: Names and Values in a MarkupExtension cannot contain quotes. The MarkupExtension arguments '{0}' are not valid. + MC3043: Names and Values in a MarkupExtension cannot contain quotes. The MarkupExtension arguments '{0}' are not valid. + + + + MC3044: The text '{1}' is not allowed after the closing '{0}' of a MarkupExtension expression. + MC3044: The text '{1}' is not allowed after the closing '{0}' of a MarkupExtension expression. + + + + MC3045: Unknown property '{0}' for type '{1}' encountered while parsing a Markup Extension. + MC3045: Unknown property '{0}' for type '{1}' encountered while parsing a Markup Extension. + + + + MC3046: Unknown attribute '{0}' in the '{1}' namespace. Note that only the Key attribute is currently supported in this namespace. + MC3046: Unknown attribute '{0}' in the '{1}' namespace. Note that only the Key attribute is currently supported in this namespace. + + + + MC3047: Internal parser error - Cannot use multiple writable BAML records at the same time. + MC3047: Internal parser error - Cannot use multiple writable BAML records at the same time. + + + + '{0}' property element cannot be nested directly inside another property element. + '{0}' property element cannot be nested directly inside another property element. + + + + MC3049: Cannot place attributes on Array tags. + MC3049: Cannot place attributes on Array tags. + + + + MC3021: Asynchronous loading is not supported when compiling a XAML file, so a SynchronousMode of '{0}' is not allowed. + MC3021: Asynchronous loading is not supported when compiling a XAML file, so a SynchronousMode of '{0}' is not allowed. + + + + MC3051: The type '{0}' does not support element content. + MC3051: The type '{0}' does not support element content. + + + + MC3022: All objects added to an IDictionary must have a Key attribute or some other type of key associated with them. + MC3022: All objects added to an IDictionary must have a Key attribute or some other type of key associated with them. + + + + MC3023: The Key attribute can only be used on a tag contained in a Dictionary (such as a ResourceDictionary). + MC3023: The Key attribute can only be used on a tag contained in a Dictionary (such as a ResourceDictionary). + + + + MC3032: '{1}' cannot be used as a value for '{0}'. Numbers are not valid enumeration values. + MC3032: '{1}' cannot be used as a value for '{0}'. Numbers are not valid enumeration values. + + + + MC3053: Cannot use property element syntax to specify event handler '{0}'. + MC3053: Cannot use property element syntax to specify event handler '{0}'. + + + + MC3052: XAML file that contains events must be compiled. + MC3052: XAML file that contains events must be compiled. + + + + MC3054: The type '{0}' cannot have a Name attribute. Value types and types without a default constructor can be used as items within a ResourceDictionary. + MC3054: The type '{0}' cannot have a Name attribute. Value types and types without a default constructor can be used as items within a ResourceDictionary. + + + + MC3093: Cannot set Name attribute value '{0}' on element '{1}'. '{1}' is under the scope of element '{2}', which already had a name registered when it was defined in another scope. + MC3093: Cannot set Name attribute value '{0}' on element '{1}'. '{1}' is under the scope of element '{2}', which already had a name registered when it was defined in another scope. + + + + MC3056: No NamespaceURI is defined for the object '{0}'. + MC3056: No NamespaceURI is defined for the object '{0}'. + + + + MC3084: Cannot nest XML data islands. + MC3084: Cannot nest XML data islands. + + + + MC3057: Cannot set properties on property elements. + MC3057: Cannot set properties on property elements. + + + + MC3058: Cannot find a custom serializer for '{0}' so it cannot be parsed. + MC3058: Cannot find a custom serializer for '{0}' so it cannot be parsed. + + + + MC3059: Style setters do not support child elements. A tag of type '{0}' is not allowed. + MC3059: Style setters do not support child elements. A tag of type '{0}' is not allowed. + + + + MC3050: Cannot find the type '{0}'. Note that type names are case sensitive. + MC3050: Cannot find the type '{0}'. Note that type names are case sensitive. + + + + MC3048: '{0}' value is not a valid MarkupExtension expression. Cannot resolve '{1}' in namespace '{2}'. '{1}' must be a subclass of MarkupExtension. + MC3048: '{0}' value is not a valid MarkupExtension expression. Cannot resolve '{1}' in namespace '{2}'. '{1}' must be a subclass of MarkupExtension. + + + + MC3062: '{0}' XML namespace prefix does not map to a NamespaceURI, so element '{1}' cannot be resolved. + MC3062: '{0}' XML namespace prefix does not map to a NamespaceURI, so element '{1}' cannot be resolved. + + + + MC3100: '{0}' XML namespace prefix does not map to a namespace URI, so cannot resolve property '{1}'. + MC3100: '{0}' XML namespace prefix does not map to a namespace URI, so cannot resolve property '{1}'. + + + + MC3063: Property '{0}' does not have a value. + MC3063: Property '{0}' does not have a value. + + + + MC3064: Only public or internal classes can be used within markup. '{0}' type is not public or internal. + MC3064: Only public or internal classes can be used within markup. '{0}' type is not public or internal. + + + + MC3065: '{0}' property is read-only and cannot be set from markup. + MC3065: '{0}' property is read-only and cannot be set from markup. + + + + MC3066: The type reference cannot find a public type named '{0}'. + MC3066: The type reference cannot find a public type named '{0}'. + + + + MC3019: Cannot reference the static member '{0}' on the type '{1}' as it is not accessible. + MC3019: Cannot reference the static member '{0}' on the type '{1}' as it is not accessible. + + + + MC3067: SynchronousMode attribute must be on the root tag. + MC3067: SynchronousMode attribute must be on the root tag. + + + + MC3069: Cannot have both the text '{0}' and the child element '{1}' within a property element. + MC3069: Cannot have both the text '{0}' and the child element '{1}' within a property element. + + + + MC3068: Text is not valid under an IDictionary or Array property. + MC3068: Text is not valid under an IDictionary or Array property. + + + + MC3070: A single XAML file cannot reference more than 4,096 different assemblies. + MC3070: A single XAML file cannot reference more than 4,096 different assemblies. + + + + MC3095: Close tag must immediately follow TypeConverter initialization string '{0}'. + MC3095: Close tag must immediately follow TypeConverter initialization string '{0}'. + + + + MC3090: TypeConverter syntax error encountered while processing initialization string '{0}'. Element attributes are not allowed on objects created via TypeConverter. + MC3090: TypeConverter syntax error encountered while processing initialization string '{0}'. Element attributes are not allowed on objects created via TypeConverter. + + + + MC3071: '{0}' is an undeclared namespace. + MC3071: '{0}' is an undeclared namespace. + + + + MC3072: The property '{0}' does not exist in XML namespace '{1}'. + MC3072: The property '{0}' does not exist in XML namespace '{1}'. + + + + MC3073: The attribute '{0}' does not exist in XML namespace 'http://schemas.microsoft.com/winfx/2006/xaml'. + MC3073: The attribute '{0}' does not exist in XML namespace 'http://schemas.microsoft.com/winfx/2006/xaml'. + + + + MC3074: The tag '{0}' does not exist in XML namespace '{1}'. + MC3074: The tag '{0}' does not exist in XML namespace '{1}'. + + + + MC3075: Unrecognized XML node type '{0}' found when determining if the current tag is a property element. + MC3075: Unrecognized XML node type '{0}' found when determining if the current tag is a property element. + + + + MC3086: Parent element or property '{0}' requires an XML data island. To distinguish an XML island from surrounding XAML, wrap the XML data island in <x:XData> ... </x:XData>. + MC3086: Parent element or property '{0}' requires an XML data island. To distinguish an XML island from surrounding XAML, wrap the XML data island in <x:XData> ... </x:XData>. + + + + MC3085: '{0}' element or property cannot contain an XML data island. + MC3085: '{0}' element or property cannot contain an XML data island. + + + + MC3092: XmlLangProperty attribute must specify a property name. + MC3092: XmlLangProperty attribute must specify a property name. + + + + MC3077: The class '{0}' does not implement IXmlLineInfo. This is required to get position information for the XAML being parsed. + MC3077: The class '{0}' does not implement IXmlLineInfo. This is required to get position information for the XAML being parsed. + + + + MC3098: Unexpected token '{0}' at position '{1}'. + MC3098: Unexpected token '{0}' at position '{1}'. + + + + MC3096: Token is not valid. + MC3096: Token is not valid. + + + + Preparing for the markup compilation... + Preparing for the markup compilation... + + + + MC4301: Type name '{0}' does not have the expected format 'className, assembly'. + MC4301: Type name '{0}' does not have the expected format 'className, assembly'. + + + + Reading Resource file: '{0}'... + Reading Resource file: '{0}'... + + + + Recompiled XAML file : '{0}'. + Recompiled XAML file : '{0}'. + + + + Input: Assembly Reference file: '{0}'. + Input: Assembly Reference file: '{0}'. + + + + Resource ID is '{0}'. + Resource ID is '{0}'. + + + + RG1001: Input resource file '{0}' exceeds maximum size of {1} bytes. + RG1001: Input resource file '{0}' exceeds maximum size of {1} bytes. + + + + Generated .resources file: '{0}'. + Generated .resources file: '{0}'. + + + + Generating .resources file: '{0}'... + Generating .resources file: '{0}'... + + + + ResourcesGenerator + ResourcesGenerator + + + + MC6006: {0}.{1}="{2}" is not valid. '{1}' must be a RoutedEvent registered with a name that ends with the keyword "Event". + MC6006: {0}.{1}="{2}" is not valid. '{1}' must be a RoutedEvent registered with a name that ends with the keyword "Event". + + + + UM1005: You must pass markup files to the task. + UM1005: You must pass markup files to the task. + + + + MC4110: SourceName property cannot be set within Style.Triggers section. + MC4110: SourceName property cannot be set within Style.Triggers section. + + + + MC4001: Style does not support both {0} tags and Style.{1} property tags for a single Style. Use one or the other. + MC4001: Style does not support both {0} tags and Style.{1} property tags for a single Style. Use one or the other. + + + + MC4002: The Style property tag '{0}' can only be specified directly under a Style tag. + MC4002: The Style property tag '{0}' can only be specified directly under a Style tag. + + + + MC4005: Cannot find the Style {0} '{1}' on the type '{2}'. + MC4005: Cannot find the Style {0} '{1}' on the type '{2}'. + + + + MC4003: Cannot resolve the Style {0} '{1}'. Verify that the owning type is the Style's TargetType, or use Class.Property syntax to specify the {0}. + MC4003: Cannot resolve the Style {0} '{1}'. Verify that the owning type is the Style's TargetType, or use Class.Property syntax to specify the {0}. + + + + MC4004: Style cannot contain child '{0}'. Style child must be a Setter because it is added to the Setters collection. + MC4004: Style cannot contain child '{0}'. Style child must be a Setter because it is added to the Setters collection. + + + + MC4006: Tags of type '{0}' are not supported in Style sections. + MC4006: Tags of type '{0}' are not supported in Style sections. + + + + MC4007: The event '{0}' cannot be specified on a Target tag in a Style. Use an EventSetter instead. + MC4007: The event '{0}' cannot be specified on a Target tag in a Style. Use an EventSetter instead. + + + + MC4008: The text '{0}' is not allowed at this location within a Style section. + MC4008: The text '{0}' is not allowed at this location within a Style section. + + + + MC4009: The property '{0}' cannot be set on Style. + MC4009: The property '{0}' cannot be set on Style. + + + + MC6017: '{0}' cannot be the root of a XAML file because it was defined using XAML. + MC6017: '{0}' cannot be the root of a XAML file because it was defined using XAML. + + + + BG1004: Target Type '{0}' is not supported by this task. + BG1004: Target Type '{0}' is not supported by this task. + + + + MC4011: TargetName property cannot be set on a Style Setter. + MC4011: TargetName property cannot be set on a Style Setter. + + + + + Copyright (C) Microsoft Corporation 2005. All rights reserved. + Copyright (C) Microsoft Corporation 2005. All rights reserved. + + + + MC4101: The Name '{0}' has already been defined. Names must be unique. + MC4101: The Name '{0}' has already been defined. Names must be unique. + + + + MC4108: The root of a Template content section cannot contain an element of type '{0}'. Only FrameworkElement and FrameworkContentElement types are valid. + MC4108: The root of a Template content section cannot contain an element of type '{0}'. Only FrameworkElement and FrameworkContentElement types are valid. + + + + MC4103: The template property tag '{0}' can only be specified immediately after a ControlTemplate tag. + MC4103: The template property tag '{0}' can only be specified immediately after a ControlTemplate tag. + + + + MC4107: A template can have only a single root element. '{0}' is not allowed. + MC4107: A template can have only a single root element. '{0}' is not allowed. + + + + MC4109: Cannot find the Template Property '{0}' on the type '{1}'. + MC4109: Cannot find the Template Property '{0}' on the type '{1}'. + + + + MC4106: Cannot resolve the Template Property '{0}'. Verify that the owning type is the Style's TargetType, or use Class.Property syntax to specify the property. + MC4106: Cannot resolve the Template Property '{0}'. Verify that the owning type is the Style's TargetType, or use Class.Property syntax to specify the property. + + + + MC4111: Cannot find the Trigger target '{0}'. (The target must appear before any Setters, Triggers, or Conditions that use it.) + MC4111: Cannot find the Trigger target '{0}'. (The target must appear before any Setters, Triggers, or Conditions that use it.) + + + + MC4102: Tags of type '{0}' are not supported in template sections. + MC4102: Tags of type '{0}' are not supported in template sections. + + + + MC4105: The text '{0}' is not allowed at this location within a template section. + MC4105: The text '{0}' is not allowed at this location within a template section. + + + + MC4104: The property '{0}' cannot be set as a property element on template. Only Triggers and Storyboards are allowed as property elements. + MC4104: The property '{0}' cannot be set as a property element on template. Only Triggers and Storyboards are allowed as property elements. + + + + MC7004: Empty token encountered while parsing. + MC7004: Empty token encountered while parsing. + + + + MC7003: Extra data encountered after token while parsing. + MC7003: Extra data encountered after token while parsing. + + + + MC7002: Missing end quote encountered while parsing token. + MC7002: Missing end quote encountered while parsing token. + + + + MC7001: Premature string termination encountered. + MC7001: Premature string termination encountered. + + + + UidManager + UidManager + + + + UM1003: Uid is missing for element '{0}'. + UM1003: Uid is missing for element '{0}'. + + + + Unknown build error, '{0}' + Unknown build error, '{0}' + + + + MC6013: {0}:ClassModifier="{1}" is not valid for the language {2}. + MC6013: {0}:ClassModifier="{1}" is not valid for the language {2}. + + + + MC6002: Unrecognized tag '{0}:{1}' in namespace 'http://schemas.microsoft.com/winfx/2006/xaml'. Note that tag names are case sensitive. + MC6002: Unrecognized tag '{0}:{1}' in namespace 'http://schemas.microsoft.com/winfx/2006/xaml'. Note that tag names are case sensitive. + + + + MC6007: '{1}' is not valid. '{0}' is not an event on '{2}'. + MC6007: '{1}' is not valid. '{0}' is not an event on '{2}'. + + + + MC6014: {0}:FieldModifier="{1}" is not valid for the language {2}. + MC6014: {0}:FieldModifier="{1}" is not valid for the language {2}. + + + + MC6020: {0}:TypeArguments='{1}' is not valid on the tag '{2}'. Either '{2}' is not a generic type or the number of Type arguments in the attribute is wrong. Remove the {0}:TypeArguments attribute because it is allowed only on generic types, or fix its value to match the arity of the generic type '{2}'. + MC6020: {0}:TypeArguments='{1}' is not valid on the tag '{2}'. Either '{2}' is not a generic type or the number of Type arguments in the attribute is wrong. Remove the {0}:TypeArguments attribute because it is allowed only on generic types, or fix its value to match the arity of the generic type '{2}'. + + + + MC6008: '{0}' is not installed properly on this machine. It must be listed in the <compilers> section of machine.config. + MC6008: '{0}' is not installed properly on this machine. It must be listed in the <compilers> section of machine.config. + + + + Unknown path operation attempted. + Unknown path operation attempted. + + + + LC1003: Localization comment has no value set for target property: '{0}'. + LC1003: Localization comment has no value set for target property: '{0}'. + + + + UpdateManifestForBrowserApplication + UpdateManifestForBrowserApplication + + + + MC4501: Major and minor version number components cannot be negative. + MC4501: Major and minor version number components cannot be negative. + + + + MC6000: Project file must include the .NET Framework assembly '{0}' in the reference list. + MC6000: Project file must include the .NET Framework assembly '{0}' in the reference list. + + + + MC1001: The LocalizationDirectivesToLocFile property value is not valid and must be changed to None, CommentsOnly, or All for the MarkupCompilePass1 task. + MC1001: The LocalizationDirectivesToLocFile property value is not valid and must be changed to None, CommentsOnly, or All for the MarkupCompilePass1 task. + + + + BG1003: The project file contains a property value that is not valid. + BG1003: The project file contains a property value that is not valid. + + + + MC4602: Choice cannot follow a Fallback. + MC4602: Choice cannot follow a Fallback. + + + + MC4606: AlternateContent must contain one or more Choice elements. + MC4606: AlternateContent must contain one or more Choice elements. + + + + MC4601: Choice valid only in AlternateContent. + MC4601: Choice valid only in AlternateContent. + + + + MC4640: Namespace '{0}' is marked as compatible with itself using XmlnsCompatibilityAttribute. A namespace cannot directly or indirectly override itself. + MC4640: Namespace '{0}' is marked as compatible with itself using XmlnsCompatibilityAttribute. A namespace cannot directly or indirectly override itself. + + + + MC4631: Duplicate Preserve declaration for element '{1}' in namespace '{0}'. + MC4631: Duplicate Preserve declaration for element '{1}' in namespace '{0}'. + + + + MC4617: Duplicate ProcessContent declaration for element '{1}' in namespace '{0}'. + MC4617: Duplicate ProcessContent declaration for element '{1}' in namespace '{0}'. + + + + MC4633: Duplicate wildcard Preserve declaration for namespace '{0}'. + MC4633: Duplicate wildcard Preserve declaration for namespace '{0}'. + + + + MC4619: Duplicate wildcard ProcessContent declaration for namespace '{0}'. + MC4619: Duplicate wildcard ProcessContent declaration for namespace '{0}'. + + + + MC4605: Fallback valid only in AlternateContent. + MC4605: Fallback valid only in AlternateContent. + + + + MC4610: '{0}' element is not a valid child of AlternateContent. Only Choice and Fallback elements are valid children of an AlternateContent element. + MC4610: '{0}' element is not a valid child of AlternateContent. Only Choice and Fallback elements are valid children of an AlternateContent element. + + + + MC4608: '{0}' attribute is not valid for element '{1}'. + MC4608: '{0}' attribute is not valid for element '{1}'. + + + + MC4611: '{0}' format is not valid. + MC4611: '{0}' format is not valid. + + + + MC4632: Cannot have both a specific and a wildcard Preserve declaration for namespace '{0}'. + MC4632: Cannot have both a specific and a wildcard Preserve declaration for namespace '{0}'. + + + + MC4618: Cannot have both a specific and a wildcard ProcessContent declaration for namespace '{0}'. + MC4618: Cannot have both a specific and a wildcard ProcessContent declaration for namespace '{0}'. + + + + MC4604: Requires attribute must contain a valid namespace prefix. + MC4604: Requires attribute must contain a valid namespace prefix. + + + + MC4634: '{0}' attribute value is not a valid XML name. + MC4634: '{0}' attribute value is not a valid XML name. + + + + MC4607: AlternateContent must contain only one Fallback element. + MC4607: AlternateContent must contain only one Fallback element. + + + + MC4626: MustUnderstand condition failed on namespace '{0}'. + MC4626: MustUnderstand condition failed on namespace '{0}'. + + + + MC4630: Namespace '{0}' has items declared to be preserved but is not declared ignorable. + MC4630: Namespace '{0}' has items declared to be preserved but is not declared ignorable. + + + + MC4615: '{0}' namespace is declared ProcessContent but is not declared Ignorable. + MC4615: '{0}' namespace is declared ProcessContent but is not declared Ignorable. + + + + MC4603: Choice must contain a Requires attribute. + MC4603: Choice must contain a Requires attribute. + + + + MC4612: '{0}' prefix is not defined. + MC4612: '{0}' prefix is not defined. + + + + MC4614: Unrecognized compatibility attribute '{0}'. + MC4614: Unrecognized compatibility attribute '{0}'. + + + + MC4609: Unrecognized compatibility element '{0}'. + MC4609: Unrecognized compatibility element '{0}'. + + + + MC4502: The feature ID string cannot have length 0. + MC4502: The feature ID string cannot have length 0. + + + + + \ No newline at end of file diff --git a/src/Microsoft.DotNet.Wpf/src/PresentationBuildTasks/Resources/xlf/Strings.pl.xlf b/src/Microsoft.DotNet.Wpf/src/PresentationBuildTasks/Resources/xlf/Strings.pl.xlf new file mode 100644 index 00000000000..0b5243a5ed5 --- /dev/null +++ b/src/Microsoft.DotNet.Wpf/src/PresentationBuildTasks/Resources/xlf/Strings.pl.xlf @@ -0,0 +1,1242 @@ + + + + + + Analysis Result : '{0}'. + Wynik analizy: „{0}”. + + + + MC1002: Library project file cannot specify ApplicationDefinition element. + MC1002: Plik biblioteki projektu nie może określić elementu ApplicationDefinition. + + + + Input: Markup ApplicationDefinition file: '{0}'. + Wejście: Plik znakowania ApplicationDefinition: „{0}”. + + + + MC6015: '{0}' cannot be set on the '{1}:{2}' tag. + MC6015: Nie można ustawić elementu „{0}” dla tagu „{1}:{2}”. + + + + UM1001: Unrecognized UidManager task name '{0}'. + UM1001: Nierozpoznana nazwa zadania UidManager „{0}”. + + + + Checking Uids in file '{0}' ... + Trwa sprawdzanie identyfikatorów Uid w pliku „{0}”... + + + + Generated localization directives file: '{0}' . + Wygenerowano plik dyrektyw lokalizacyjnych „{0}”. + + + + Generating localization directives file: '{0}' ... + Trwa generowanie pliku dyrektyw lokalizacyjnych „{0}”... + + + + Markup compilation is done. + Zakończono kompilację znaczników. + + + + MarkupCompilePass1 successfully generated BAML or source code files. + Zadanie MarkupCompilePass1 pomyślnie wygenerowało pliki BAML lub pliki zawierające kod źródłowy. + + + + MarkupCompilePass2 successfully generated BAML or source code files. + Zadanie MarkupCompilePass2 pomyślnie wygenerowało pliki BAML lub pliki zawierające kod źródłowy. + + + + MC6011: '{0}' event has a generic event handler delegate type '{1}'. The type parameters of '{1}' cannot be bound with an appropriate type argument because the containing tag '{2}' is not a generic type. + MC6011: Zdarzenie „{0}” ma typ obiektu delegowanego obsługi zdarzeń rodzajowych „{1}”. Parametrów typu „{1}” nie można łączyć z odpowiednim argumentem typu, ponieważ tag zawierający „{2}” nie jest typu ogólnego. + + + + Current project directory is '{0}'. + Bieżący katalog projektu to „{0}”. + + + + MC6022: Only a root tag can specify attribute '{0}:{1}'. + MC6022: Tylko tag główny może określać atrybut „{0}:{1}”. + + + + MC6010: '{0}:{1}' cannot be specified as the root element. + MC6010: Nie można określić atrybutu „{0}:{1}” jako elementu głównego. + + + + MC6004: '{0}:{1}' contains '{2}'. '{0}:{1}' can contain only a CDATA or text section. + MC6004: Atrybut „{0}:{1}” zawiera element „{2}”. Atrybut „{0}:{1}” może zawierać tylko element CDATA lub sekcję tekstową. + + + + Started the markup compilation. + Rozpoczęto kompilację znaczników. + + + + MC6030: {0}="{1}" is not valid. '{0}' event attribute value cannot be a string that is empty or has only white space. + MC6030: Wartość {0}=„{1}” jest nieprawidłowa. Wartość atrybutu zdarzenia „{0}” nie może być ciągiem, który jest pusty lub zawiera tylko biały znak. + + + + MC6021: {0}:FieldModifier cannot be specified on this tag because it has either no {0}:Name or Name attribute set, or the tag is locally defined and has a Name attribute set, which is not allowed. + MC6021: Nie można określić elementu {0}:FieldModifier dla tego tagu, ponieważ nie ma on ustawionego atrybutu {0}:Name lub Name, albo tag jest zdefiniowany lokalnie i ma ustawiony atrybut Name, który jest niedozwolony. + + + + FileClassifier + FileClassifier + + + + BG1002: File '{0}' cannot be found. + BG1002: Nie można odnaleźć pliku „{0}”. + + + + Input file '{0}' is resolved to new relative path '{1}' at directory '{2}'. + Plik wejściowy „{0}” rozpoznano jako nową względną ścieżkę dostępu „{1}” w katalogu „{2}”. + + + + UM1004: {0} files failed Uid check. + UM1004: Liczba plików, w których sprawdzanie identyfikatorów Uid nie powiodło się, wynosi {0}. + + + + Uids valid in {0} files. + Liczba plików z prawidłowymi identyfikatorami Uid: {0}. + + + + Uids removed from {0} files. + Liczba plików, z których usunięto identyfikatory Uid: {0}. + + + + Uids updated in {0} files. + Liczba plików, w których zaktualizowano identyfikatory Uid: {0}. + + + + Generated BAML file: '{0}'. + Wygenerowany plik BAML: „{0}”. + + + + Generated code file: '{0}'. + Wygenerowany plik kodu: „{0}”. + + + + GetWinFXPath + GetWinFXPath + + + + MC6003: '{0}:{1}' contains '{2}'. '{0}:{1}' cannot contain nested content. + MC6003: Atrybut „{0}:{1}” zawiera element „{2}”. Atrybut „{0}:{1}” nie może zawierać zawartości zagnieżdżonej. + + + + UM1006: '{0}' directory does not exist and cannot be created. + UM1006: Katalog „{0}” nie istnieje i nie można go utworzyć. + + + + InternalTypeHelper class is not required for this project, make file '{0}' empty. + Klasa InternalTypeHelper nie jest wymagana dla tego projektu. Plik make „{0}” jest pusty. + + + + MC6018: '{0}' class name is not valid for the locally defined XAML root element. + MC6018: Nazwa klasy „{0}” jest nieprawidłowa dla zdefiniowanego lokalnie elementu głównego XAML. + + + + MC6019: '{0}' namespace is not valid for the locally defined XAML root element '{1}'. + MC6019: Przestrzeń nazw „{0}” jest nieprawidłowa dla zdefiniowanego lokalnie elementu głównego XAML „{1}”. + + + + MC6027: {0}:{1}="{2}" is not valid. '{2}' is not a valid {3}class name. + MC6027: Wartość {0}:{1}=„{2}” jest nieprawidłowa. „{2}” jest nieprawidłową nazwą klasy {3}. + + + + FC1001: The UICulture value '{0}' set in the project file is not valid. + FC1001: Wartość UICulture „{0}” ustawiona w pliku projektu jest nieprawidłowa. + + + + MC4402: Serializer does not support custom BAML serialization operations. + MC4402: Program szeregujący nie obsługuje niestandardowych operacji serializacji BAML. + + + + MC4401: Serializer does not support Convert operations. + MC4401: Program szeregujący nie obsługuje operacji typu Convert. + + + + MC6029: '{0}' name is not valid in the default namespace '{1}'. Correct the RootNamespace tag value in the project file. + MC6029: Nazwa „{0}” jest nieprawidłowa dla domyślnej przestrzeni nazw „{1}”. Należy poprawić wartość tagu RootNamespace w pliku projektu. + + + + MC6005: {0}="{1}" is not valid. '{1}' is not a valid event handler method name. Only instance methods on the generated or code-behind class are valid. + MC6005: Wyrażenie {0}=„{1}” jest nieprawidłowe. „{1}” jest nieprawidłową nazwą metody obsługi zdarzeń. Tylko metody wystąpień w klasie wygenerowanej lub klasie związanej z kodem są prawidłowe. + + + + LC1001: Localization comment target property is not valid in string '{0}'. + LC1001: Docelowa właściwość komentarza lokalizacji jest nieprawidłowa w ciągu „{0}”. + + + + LC1002: Localization comment value is not valid for target property '{0}' in string '{1}'. + LC1002: Wartość komentarza lokalizacji jest nieprawidłowa dla docelowej właściwości „{0}” w ciągu „{1}”. + + + + LC1004: Localizability attribute setting '{0}' is not valid. + LC1004: Ustawienie atrybutu lokalizowalności „{0}” jest nieprawidłowe. + + + + MC6001: Markup file is not valid. Specify a source markup file with an .xaml extension. + MC6001: Plik znakowania jest nieprawidłowy. Określ źródłowy plik znakowania z rozszerzeniem .xaml + + + + MC6028: {0}:TypeArguments="{1}" is not valid. '{2}' is not a valid type name reference for the generic argument at position '{3}'. + MC6028: Nieprawidłowa wartość {0}:TypeArguments=„{1}”. Element „{2}” jest nieprawidłowym odwołaniem do nazwy typu dla rodzajowego argumentu na pozycji „{3}”. + + + + MC3000: '{0}' XML is not valid. + MC3000: Prefiks „{0}” XML jest nieprawidłowy. + + + + MC6023: Because '{0}' is implemented in the same assembly, you must set the {1}:Name attribute rather than the Name attribute. + MC6023: Właściwość „{0}” jest zaimplementowana w tym samym zestawie, dlatego należy ustawić atrybut {1}:Name zamiast atrybutu Name. + + + + Input: Local reference markup ApplicationDefinition file is '{0}'. + Wejście: Lokalny plik znakowania referencji ApplicationDefinition to „{0}”. + + + + Generated BAML file: '{0}'. + Wygenerowany plik BAML: „{0}”. + + + + Input: Local reference markup Page file: '{0}'. + Wejście: Lokalny plik Page znakowania referencji to „{0}”. + + + + MarkupCompilePass1 + MarkupCompilePass1 + + + + MarkupCompilePass2 + MarkupCompilePass2 + + + + MC6012: '{0}' event has a generic event handler delegate type '{1}'. The type parameter '{2}' on '{1}' does not match any type parameters on the containing generic tag '{3}'. + MC6012: Zdarzenie „{0}” ma typ obiektu delegowanego obsługi zdarzeń rodzajowych „{1}”. Parametr typu „{2}” w zdarzeniu „{1}” nie jest zgodny z żadnym z parametrów typu w zawierającym tagu rodzajowym „{3}”. + + + + MergeLocalizationDirectives + MergeLocalizationDirectives + + + + MC6026: '{0}' root element requires a {1}:Class attribute because '{2}' contains a {1}:Code tag. Either remove {1}:Code and its contents, or add a {1}:Class attribute to the root element. + MC6026: Główny element „{0}” wymaga atrybutu {1}:Class, ponieważ element „{2}” zawiera tag {1}:Code. Usuń tag {1}:Code oraz jego składniki lub dodaj atrybut {1}:Class do elementu głównego. + + + + MC6024: '{0}' root element requires a {1}:Class attribute to support event handlers in the XAML file. Either remove the event handler for the {2} event, or add a {1}:Class attribute to the root element. + MC6024: Element główny „{0}” wymaga atrybutu {1}:Class do obsługi zdarzeń w pliku XAML. Usuń procedurę obsługi dla zdarzenia {2} lub dodaj atrybut {1}:Class do elementu głównego. + + + + MC6025: '{0}' root element is a generic type and requires a {1}:Class attribute to support the {1}:TypeArguments attribute specified on the root element tag. + MC6025: Element główny „{0}” jest typu ogólnego i wymaga atrybutu {1}:Class do obsługi atrybutu {1}:TypeArguments określonego w tagu elementu głównego. + + + + MC6031: {0}:FieldModifier attribute cannot be specified because a {0}:Class attribute is also required to generate a Name field with the specified access modifier. Either add a {0}:Class attribute on the root tag or remove the {0}:FieldModifier attribute. + MC6031: Nie można określić atrybutu {0}:FieldModifier, ponieważ do utworzenia pola Name z określonym modyfikatorem dostępu jest wymagany także atrybut {0}:Class. Dodaj atrybut {0}:Class w tagu głównym lub usuń atrybut {0}:FieldModifier. + + + + MC6009: {0}:ClassModifier attribute cannot be specified on the root tag because a {0}:Class attribute is also required. Either add a {0}:Class attribute or remove the {0}:ClassModifier attribute. + MC6009: Atrybutu {0}:ClassModifier nie można określić w tagu głównym, ponieważ jest wymagany także atrybut {0}:Class. Dodaj atrybut {0}:Class lub usuń atrybut {0}:ClassModifier. + + + + MC6016: {0}:Class attribute is missing. It is required when a {0}:Subclass attribute is specified. + MC6016: Brak atrybutu {0}:Class. Jest on wymagany, gdy jest określony atrybut {0}:Subclass. + + + + RG1002: ResourcesGenerator can generate only one .resources file at a time. The OutputResourcesFile property in the project file must be set to one file. + RG1002: Element ResourcesGenerator może utworzyć jednocześnie tylko jeden plik .resources. Właściwość OutputResourcesFile w pliku projektu musi być ustawiona na jeden plik. + + + + MC1004: Project file cannot specify more than one SplashScreen element. + MC1004: Plik projektu nie może określać więcej niż jednego elementu SplashScreen. + + + + UM1002: Uid "{0}" for element '{1}' is not unique. + UM1002: Identyfikator Uid „{0}” dla elementu „{1}” nie jest unikatowy. + + + + MC1003: Project file cannot specify more than one ApplicationDefinition element. + MC1003: Plik projektu nie może określać więcej niż jednego elementu ApplicationDefinition. + + + + A '{0}' is named '{1}'. Do not name ResourceDictionary contents because their instantiation is deferred. + Elementowi {0} nadano nazwę {1}. Nie należy nadawać nazw elementom obiektu ResourceDictionary, ponieważ ich konkretyzacja została odroczona. + + + + BG1001: Unknown CLS exception. + BG1001: Nieznany wyjątek CLS. + + + + OutputType is '{0}'. + Parametr OutputType: „{0}”. + + + + MC3001: TypeConverter syntax error encountered while processing initialization string '{0}'. Property elements are not allowed on objects created via TypeConverter. + MC3001: W czasie przetwarzania ciągu inicjalizacji „{0}” wystąpił błąd składni funkcji TypeConverter. Elementy właściwości są niedozwolone dla obiektów utworzonych za pomocą funkcji TypeConverter. + + + + MC3099: Cannot load assembly '{0}' because a different version of that same assembly is loaded '{1}'. + MC3099: Nie można załadować zestawu „{0}”, ponieważ jest załadowana inna wersja tego samego zestawu, „{1}”. + + + + MC3002: The AsyncRecords attribute must be set on the root tag. + MC3002: Atrybut AsyncRecords musi być ustawiony w tagu głównym. + + + + MC3015: The attached property '{0}' is not defined on '{1}' or one of its base classes. + MC3015: Dołączona właściwość „{0}” nie została zdefiniowana w klasie „{1}” lub w jednej ze swoich klas podstawowych. + + + + MC3003: There are too many attributes specified for '{0}'. + MC3003: Zbyt dużo atrybutów określonych dla właściwości „{0}”. + + + + MC3004: There are not enough attributes specified for '{0}'. + MC3004: Zbyt mało atrybutów określonych dla właściwości „{0}”. + + + + MC3005: The property '{0}' must be in the default namespace or in the element namespace '{1}'. + MC3005: Właściwość „{0}” musi występować w domyślnej przestrzeni nazw lub w przestrzeni nazw elementu „{1}”. + + + + MC3006: Mapper.SetAssemblyPath cannot accept an empty assemblyName. + MC3006: Klasa Mapper.SetAssemblyPath nie może zaakceptować pustego elementu assemblyName. + + + + MC3007: Mapper.SetAssemblyPath cannot accept an empty assemblyPath. + MC3007: Klasa Mapper.SetAssemblyPath nie może zaakceptować pustego elementu assemblyPath. + + + + MC3008: An element of type '{0}' cannot be set on the complex property '{1}'. They are not compatible types. + MC3008: Dla właściwości złożonej „{1}” nie można ustawić elementu typu „{0}”. Te dwa typy są niezgodne. + + + + MC3009: Cannot find a public constructor for '{0}' that takes {1} arguments. + MC3009: Nie można znaleźć publicznego konstruktora dla funkcji „{0}”, która pobiera {1} argumentów. + + + + MC3012: A key for a dictionary cannot be of type '{0}'. Only String, TypeExtension, and StaticExtension are supported. + MC3012: Klucz dla słownika nie może być typu „{0}”. Obsługiwane są tylko typy String, TypeExtension oraz StaticExtension. + + + + MC3029: '{0}' member is not valid because it does not have a qualifying type name. + MC3029: Członek „{0}” jest nieprawidłowy, ponieważ nie ma on odpowiedniej nazwy typu. + + + + MC3010: '{0}' Name property value is not valid. Name must start with a letter or an underscore and can contain only letters, digits, and underscores. + MC3010: Wartość właściwości Name „{0}” jest nieprawidłowa. Właściwość Name musi zaczynać się literą lub znakiem podkreślenia i może zawierać tylko litery, cyfry i znaki podkreślenia. + + + + MC3094: Cannot convert string value '{0}' to type '{1}'. + MC3094: Nie można przekonwertować wartości ciągu „{0}” na typ „{1}”. + + + + MC3013: SynchronousMode property value is not valid. Valid values are Async and Sync. + MC3013: Wartość właściwości SynchronousMode jest nieprawidłowa. Prawidłowe wartości to Async oraz Sync. + + + + MC3014: The object being added to an array property is not a valid type. The array is of type '{0}' but the object being added is of type '{1}'. + MC3014: Obiekt dodawany do właściwości tablicy nie jest prawidłowym typem. Tablica jest typu „{0}”, a dodawany obiekt jest typu „{1}”. + + + + MC3079: MarkupExtensions are not allowed for Uid or Name property values, so '{0}' is not valid. + MC3079: Wyrażenia MarkupExtension są niedozwolone dla wartości właściwości Uid lub Name, więc element „{0}” jest nieprawidłowy. + + + + MC3089: The object '{0}' already has a child and cannot add '{1}'. '{0}' can accept only one child. + MC3089: Obiekt „{0}” ma już element podrzędny i nie można dodać elementu „{1}”. Obiekt „{0}” może zaakceptować tylko jeden element podrzędny. + + + + MC3028: Cannot add content to object of type '{0}'. + MC3028: Nie można dodać zawartości do obiektu typu „{0}”. + + + + MC3081: '{0}' is a read-only property of type IList or IDictionary and cannot be set because it does not have a public or internal get accessor. + MC3081: Element „{0}” jest właściwością tylko do odczytu typu IList lub IDictionary i nie można go ustawić, ponieważ nie ma on publicznego ani wewnętrznego elementu dostępowego operacji get. + + + + MC3080: The {0} '{1}' cannot be set because it does not have an accessible {2} accessor. + MC3080: Nie można ustawić właściwości {0} dla elementu „{1}”, ponieważ nie ma ona dostępnego {2} elementu dostępowego. + + + + MC3087: Cannot set content property '{0}' on element '{1}'. '{0}' has incorrect access level or its assembly does not allow access. + MC3087: Nie można ustawić właściwości zawartości „{0}” dla elementu „{1}”. Właściwość „{0}” ma nieprawidłowy poziom dostępu lub jej zestaw nie zezwala na uzyskanie dostępu. + + + + MC3082: '{0}' cannot be set as the value of a Trigger's Property attribute because it does not have a public or internal get accessor. + MC3082: Właściwość „{0}” nie może być ustawiona jako wartość atrybutu Property elementu Trigger, ponieważ nie ma ona publicznego ani wewnętrznego elementu dostępowego operacji get. + + + + MC3016: Two new namespaces cannot be compatible with the same old namespace using an XmlnsCompatibility attribute.�'{0}' namespace is already marked compatible with '{1}'. + MC3016: Dwie nowe przestrzenie nazw nie mogą być zgodne z tą samą starą przestrzenią nazw używającą atrybutu XmlnsCompatibility.�Przestrzeń nazw „{0}” jest już oznaczona jako zgodna z przestrzenią „{1}”. + + + + MC3088: Property elements cannot be in the middle of an element's content. They must be before or after the content. + MC3088: Elementy właściwości nie mogą znajdować się w środku zawartości elementu. Muszą znajdować się one przed lub za tą zawartością. + + + + MC3017: 'Code' tag from xaml namespace found in XAML file. To load this file, you must compile it. + MC3017: W pliku XAML znaleziono tag „Code” pochodzący z przestrzeni nazw xaml. Aby załadować ten plik, należy go skompilować. + + + + MC3061: The Element type '{0}' does not have an associated TypeConverter to parse the string '{1}'. + MC3061: Typ elementu „{0}” nie ma skojarzonego elementu funkcji TypeConverter do analizowania ciągu „{1}”. + + + + MC3018: Cannot modify data in a sealed XmlnsDictionary. + MC3018: Nie można zmodyfikować danych w zapieczętowanym elemencie XmlnsDictionary. + + + + MC3020: The dictionary key '{0}' is already used. Key attributes are used as keys when inserting objects into a dictionary and must be unique. + MC3020: Klucz słownika „{0}” jest już używany. Atrybuty klucza są używane jako klucze przy wstawianiu obiektów do słownika i muszą być unikatowe. + + + + MC3033: The property '{0}' has already been set on this markup extension and can only be set once. + MC3033: Właściwość „{0}” została już ustawiona w tym rozszerzeniu znakowania i można ją ustawić tylko raz. + + + + MC3024: '{0}' property has already been set and can be set only once. + MC3024: Właściwość „{0}” została już ustawiona i można ustawić ją tylko raz. + + + + MC3025: Property '{0}' and '{1}' refer to the same property. Duplicate property settings are not allowed. + MC3025: Właściwości „{0}” i „{1}” odnoszą się do tej samej właściwości. Zduplikowane ustawienia właściwości są niedozwolone. + + + + MC3026: '{0}' property element cannot be empty. It must contain child elements or text. + MC3026: Element właściwości „{0}” nie może być pusty. Musi on zawierać elementy podrzędne lub tekst. + + + + MC3027: The EntityReference &{0}; is not recognized. + MC3027: Element EntityReference &{0}; nie został rozpoznany. + + + + MC3083: Cannot access the delegate type '{0}' for the '{1}' event. '{0}' has incorrect access level or its assembly does not allow access. + MC3083: Nie można uzyskać dostępu do typu obiektu delegowanego „{0}” dla zdarzenia „{1}”. Typ „{0}” ma nieprawidłowy poziom dostępu lub jego zestaw nie zezwala na uzyskanie dostępu. + + + + MC3030: '{0}' property is a read-only IEnumerable property, which means that '{1}' must implement IAddChild. + MC3030: Właściwość „{0}” jest właściwością IEnumerable tylko do odczytu, co oznacza, że element „{1}” musi implementować funkcję IAddChild. + + + + MC3078: Invalid ContentPropertyAttribute on type '{0}', property '{1}' not found. + MC3078: Nieprawidłowy atrybut ContentPropertyAttribute dla typu „{0}”. Nie znaleziono właściwości „{1}”. + + + + Known type value {0}='{1}' is not a valid known type. + Wartość znanego typu {0}=„{1}” nie jest prawidłowym znanym typem. + + + + MC3011: Cannot find the static member '{0}' on the type '{1}'. + MC3011: nie można znaleźć statycznego członka „{0}” dla typu „{1}”. + + + + MC3031: Keys and values in XmlnsDictionary must be strings. + MC3031: Klucze i wartości w klasie XmlnsDictionary muszą być ciągami. + + + + Line {0} Position {1} + Wiersz {0} Pozycja {1} + + + + MC3037: Missing XmlNamespace, Assembly or ClrNamespace in Mapping instruction. + MC3037: Brak parametru XmlNamespace, Assembly lub ClrNamespace w instrukcji Mapping. + + + + '{0}' mapping URI is not valid. + Nieprawidłowy identyfikator URI mapowania „{0}”. + + + + MC3040: Format is not valid for MarkupExtension that specifies constructor arguments in '{0}'. + MC3040: Nieprawidłowy format wyrażenia MarkupExtension, które określa argumenty konstruktora we właściwości „{0}”. + + + + MC3041: Markup extensions require a single '=' between name and value, and a single ',' between constructor parameters and name/value pairs. The arguments '{0}' are not valid. + MC3041: Rozszerzenia znakowania wymagają pojedynczego znaku „=” pomiędzy nazwą a wartością oraz pojedynczego znaku „,” pomiędzy parametrami konstruktora a parami nazw/wartości. Argumenty „{0}” są nieprawidłowe. + + + + MC3091: '{0}' is not valid. Markup extensions require only spaces between the markup extension name and the first parameter. Cannot have comma or equals sign before the first parameter. + MC3091: Element „{0}” jest nieprawidłowy. Rozszerzenia znakowania wymagają tylko pustych znaków pomiędzy nazwą rozszerzenia znakowania a pierwszym parametrem. Przed pierwszym parametrem nie może znajdować się przecinek ani znak równości. + + + + MC8001: Encountered a closing BracketCharacter '{0}' at Line Number '{1}' and Line Position '{2}' without a corresponding opening BracketCharacter. + MC8001: Napotkano znak zamykania nawiasu „{0}” w wierszu numer „{1}” na pozycji „{2}” bez odpowiadającego znaku otwierania nawiasu. + + + + MC8002: BracketCharacter '{0}' at Line Number '{1}' and Line Position '{2}' does not have a corresponding opening/closing BracketCharacter. + MC8002: Znak nawiasu „{0}” w wierszu numer „{1}” na pozycji „{2}” nie ma odpowiadającego znaku otwierania/zamykania nawiasu. + + + + MC3038: MarkupExtension expressions must end with a '}'. + MC3038: Wyrażenia MarkupExtension muszą kończyć się znakiem „}”. + + + + MC3042: Name/value pairs in MarkupExtensions must have the format 'Name = Value' and each pair is separated by a comma. '{0}' does not follow this format. + MC3042: Pary nazw/wartości w wyrażeniach MarkupExtension muszą mieć format „Nazwa = Wartość” i każda para musi być oddzielona przecinkiem. Wyrażenie „{0}” nie jest w tym formacie. + + + + MC3043: Names and Values in a MarkupExtension cannot contain quotes. The MarkupExtension arguments '{0}' are not valid. + MC3043: Nazwy oraz wartości w wyrażeniach MarkupExtension nie mogą zawierać cudzysłowów. Argumenty wyrażenia MarkupExtension „{0}” są nieprawidłowe. + + + + MC3044: The text '{1}' is not allowed after the closing '{0}' of a MarkupExtension expression. + MC3044: Tekst „{1}” nie jest dozwolony po ciągu zamykającym „{0}” wyrażenia MarkupExtension. + + + + MC3045: Unknown property '{0}' for type '{1}' encountered while parsing a Markup Extension. + MC3045: Podczas analizowania wyrażenia Markup Extension napotkano nieznaną właściwość „{0}” dla typu „{1}”. + + + + MC3046: Unknown attribute '{0}' in the '{1}' namespace. Note that only the Key attribute is currently supported in this namespace. + MC3046: Nieznany atrybut „{0}” w przestrzeni nazw „{1}”. Należy zwrócić uwagę, że w tej przestrzeni nazw jest obecnie obsługiwany tylko atrybut Key. + + + + MC3047: Internal parser error - Cannot use multiple writable BAML records at the same time. + MC3047: Wewnętrzny błąd analizatora — nie można używać wielu zapisywalnych rekordów BAML w tym samym czasie. + + + + '{0}' property element cannot be nested directly inside another property element. + Element właściwości „{0}” nie może być bezpośrednio zagnieżdżony w innym elemencie właściwości. + + + + MC3049: Cannot place attributes on Array tags. + MC3049: Nie można umieścić atrybutów w tagach właściwości Array. + + + + MC3021: Asynchronous loading is not supported when compiling a XAML file, so a SynchronousMode of '{0}' is not allowed. + MC3021: Ładowanie asynchroniczne nie jest obsługiwane podczas kompilowania pliku XAML, więc tryb SynchronousMode „{0}” jest niedozwolony. + + + + MC3051: The type '{0}' does not support element content. + MC3051: Typ „{0}” nie obsługuje zawartości elementu. + + + + MC3022: All objects added to an IDictionary must have a Key attribute or some other type of key associated with them. + MC3022: Wszystkie obiekty dodane do właściwości IDictionary muszą mieć ustawiony atrybut Key lub mieć skojarzony inny dowolny typ klucza. + + + + MC3023: The Key attribute can only be used on a tag contained in a Dictionary (such as a ResourceDictionary). + MC3023: Atrybutu Key może zostać użyty tylko w tagu zawartym w klasie Dictionary (takiej jak ResourceDictionary). + + + + MC3032: '{1}' cannot be used as a value for '{0}'. Numbers are not valid enumeration values. + MC3032: Nie można użyć elementu „{1}” jako wartości dla parametru „{0}”. Liczby nie są poprawnymi wartościami wyliczania. + + + + MC3053: Cannot use property element syntax to specify event handler '{0}'. + MC3053: Do określania obsługi zdarzenia „{0}” nie można użyć składni elementu właściwości. + + + + MC3052: XAML file that contains events must be compiled. + MC3052: Plik XAML zawierający zdarzenia musi być skompilowany. + + + + MC3054: The type '{0}' cannot have a Name attribute. Value types and types without a default constructor can be used as items within a ResourceDictionary. + MC3054: Typ „{0}” nie może mieć atrybutu Name. Typy wartości oraz typy bez konstruktora domyślnego mogą zostać użyte jako elementy w klasie ResourceDictionary. + + + + MC3093: Cannot set Name attribute value '{0}' on element '{1}'. '{1}' is under the scope of element '{2}', which already had a name registered when it was defined in another scope. + MC3093: Nie można ustawić wartości atrybutu Name „{0}” dla elementu „{1}”. Element „{1}” należy do zakresu elementu „{2}”, który miał już zarejestrowaną nazwę, gdy został zdefiniowany w innym zakresie. + + + + MC3056: No NamespaceURI is defined for the object '{0}'. + MC3056: Brak zdefiniowanego identyfikatora NamespaceURI dla obiektu „{0}”. + + + + MC3084: Cannot nest XML data islands. + MC3084: Nie można zagnieżdżać wysp danych XML. + + + + MC3057: Cannot set properties on property elements. + MC3057: Nie można ustawić właściwości dla elementów właściwości. + + + + MC3058: Cannot find a custom serializer for '{0}' so it cannot be parsed. + MC3058: Nie można znaleźć niestandardowego programu szeregującego dla elementu „{0}”, więc nie można przeprowadzić jego analizy. + + + + MC3059: Style setters do not support child elements. A tag of type '{0}' is not allowed. + MC3059: Elementy ustawień stylu nie obsługują elementów podrzędnych. Tag typu „{0}” jest niedozwolony. + + + + MC3050: Cannot find the type '{0}'. Note that type names are case sensitive. + MC3050: Nie można znaleźć typu „{0}”. Uwaga: w nazwach typów jest uwzględniana wielkość liter. + + + + MC3048: '{0}' value is not a valid MarkupExtension expression. Cannot resolve '{1}' in namespace '{2}'. '{1}' must be a subclass of MarkupExtension. + MC3048: Wartość „{0}” nie jest prawidłowym wyrażeniem MarkupExtension. Nie można rozpoznać elementu „{1}” w przestrzeni nazw „{2}”. Element „{1}” musi być podklasą wyrażenia MarkupExtension. + + + + MC3062: '{0}' XML namespace prefix does not map to a NamespaceURI, so element '{1}' cannot be resolved. + MC3062: Prefiks przestrzeni nazw XML „{0}” nie jest mapowany do identyfikatora NamespaceURI, więc nie można rozpoznać elementu „{1}”. + + + + MC3100: '{0}' XML namespace prefix does not map to a namespace URI, so cannot resolve property '{1}'. + MC3100: Prefiks przestrzeni nazw XML „{0}” nie jest zmapowany na identyfikator URI przestrzeni nazw, dlatego nie można rozpoznać właściwości „{1}”. + + + + MC3063: Property '{0}' does not have a value. + MC3063: Właściwość „{0}” nie ma wartości. + + + + MC3064: Only public or internal classes can be used within markup. '{0}' type is not public or internal. + MC3064: Wewnątrz znakowania można używać tylko klas publicznych lub wewnętrznych. Typ „{0}” nie jest klasą publiczną ani wewnętrzną. + + + + MC3065: '{0}' property is read-only and cannot be set from markup. + MC3065: Właściwość „{0}” jest tylko do odczytu i nie można jej ustawić za pomocą znakowania. + + + + MC3066: The type reference cannot find a public type named '{0}'. + MC3066: Odwołanie do typu nie może odnaleźć typu publicznego nazywanego „{0}”. + + + + MC3019: Cannot reference the static member '{0}' on the type '{1}' as it is not accessible. + MC3019: Nie można odwołać się do statycznego członka „{0}” dla typu „{1}”, ponieważ jest on niedostępny. + + + + MC3067: SynchronousMode attribute must be on the root tag. + MC3067: Atrybut SynchronousMode musi znajdować się w tagu głównym. + + + + MC3069: Cannot have both the text '{0}' and the child element '{1}' within a property element. + MC3069: Wewnątrz elementu właściwości nie mogą znajdować jednocześnie tekst „{0}” i element podrzędny „{1}”. + + + + MC3068: Text is not valid under an IDictionary or Array property. + MC3068: Nieprawidłowy tekst we właściwości IDictionary lub Array. + + + + MC3070: A single XAML file cannot reference more than 4,096 different assemblies. + MC3070: Pojedynczy plik XAML nie może odwoływać się do więcej niż 4 096 różnych zestawów. + + + + MC3095: Close tag must immediately follow TypeConverter initialization string '{0}'. + MC3095: Tag zamykający musi znajdować się za ciągiem inicjującym funkcji TypeConverter „{0}”. + + + + MC3090: TypeConverter syntax error encountered while processing initialization string '{0}'. Element attributes are not allowed on objects created via TypeConverter. + MC3090: Podczas przetwarzania ciągu inicjującego „{0}” wystąpił błąd składni funkcji TypeConverter. Atrybuty elementu nie są dozwolone dla obiektów utworzonych za pośrednictwem funkcji TypeConverter. + + + + MC3071: '{0}' is an undeclared namespace. + MC3071: „{0}” jest niezadeklarowaną przestrzenią nazw. + + + + MC3072: The property '{0}' does not exist in XML namespace '{1}'. + MC3072: Właściwość „{0}” nie istnieje w przestrzeni nazw XML „{1}”. + + + + MC3073: The attribute '{0}' does not exist in XML namespace 'http://schemas.microsoft.com/winfx/2006/xaml'. + MC3073: Atrybut „{0}” nie istnieje w przestrzeni nazw XML „http://schemas.microsoft.com/winfx/2006/xaml”. + + + + MC3074: The tag '{0}' does not exist in XML namespace '{1}'. + MC3074: Tag „{0}” nie istnieje w przestrzeni nazw XML „{1}”. + + + + MC3075: Unrecognized XML node type '{0}' found when determining if the current tag is a property element. + MC3075: Podczas sprawdzania, czy bieżący tag jest elementem właściwości, znaleziono nierozpoznany węzeł XML typu „{0}”. + + + + MC3086: Parent element or property '{0}' requires an XML data island. To distinguish an XML island from surrounding XAML, wrap the XML data island in <x:XData> ... </x:XData>. + MC3086: Element nadrzędny lub właściwość „{0}” wymagają wyspy danych XML. Aby odróżnić wyspę XML od otaczającego kodu XAML, umieść ją pomiędzy tagami <x:XData> ... </x:XData>. + + + + MC3085: '{0}' element or property cannot contain an XML data island. + MC3085: Element „{0}” lub właściwość nie mogą zawierać wyspy danych XML. + + + + MC3092: XmlLangProperty attribute must specify a property name. + MC3092: Atrybut XmlLangProperty musi określać nazwę właściwości. + + + + MC3077: The class '{0}' does not implement IXmlLineInfo. This is required to get position information for the XAML being parsed. + MC3077: Klasa „{0}” nie implementuje interfejsu IXmlLineInfo. Jest to wymagane do pobrania informacji o położeniu dla analizowanego kodu XAML. + + + + MC3098: Unexpected token '{0}' at position '{1}'. + MC3098: Nieoczekiwany token „{0}” na pozycji „{1}”. + + + + MC3096: Token is not valid. + MC3096: Nieprawidłowy token. + + + + Preparing for the markup compilation... + Trwa przygotowywanie do kompilacji znaczników... + + + + MC4301: Type name '{0}' does not have the expected format 'className, assembly'. + MC4301: Nazwa typu „{0}” nie ma oczekiwanego formatu „nazwa_klasy, zestaw”. + + + + Reading Resource file: '{0}'... + Trwa odczytywanie pliku Resource: „{0}”... + + + + Recompiled XAML file : '{0}'. + Ponownie skompilowany plik XAML: „{0}”. + + + + Input: Assembly Reference file: '{0}'. + Wejście: Plik Reference zestawu : „{0}”. + + + + Resource ID is '{0}'. + Identyfikator ID zasobu to: „{0}”. + + + + RG1001: Input resource file '{0}' exceeds maximum size of {1} bytes. + RG1001: Wejściowy plik zasobów „{0}” przekracza maksymalny rozmiar {1} bajtów. + + + + Generated .resources file: '{0}'. + Wygenerowano plik .resources: „{0}”. + + + + Generating .resources file: '{0}'... + Trwa generowanie pliku .resources: „{0}”... + + + + ResourcesGenerator + ResourcesGenerator + + + + MC6006: {0}.{1}="{2}" is not valid. '{1}' must be a RoutedEvent registered with a name that ends with the keyword "Event". + MC6006: {0}.Wyrażenie {1}="{2}" jest nieprawidłowe. „{1}” musi być zdarzeniem RoutedEvent zarejestrowanym z nazwą kończącą się słowem kluczowym „Event”. + + + + UM1005: You must pass markup files to the task. + UM1005: Musisz przekazać pliki znaczników do zadania. + + + + MC4110: SourceName property cannot be set within Style.Triggers section. + MC4110: Właściwość SourceName nie może być ustawiona w sekcji Style.Triggers. + + + + MC4001: Style does not support both {0} tags and Style.{1} property tags for a single Style. Use one or the other. + MC4001: Style nie obsługuje jednocześnie tagów {0} i tagów właściwości Style.{1} dla pojedyńczego elementu Style. Użyj tagów jednego rodzaju. + + + + MC4002: The Style property tag '{0}' can only be specified directly under a Style tag. + MC4002: Tag „{0}” właściwości elementu Style „{0}” można określić jedynie bezpośrednio pod tagiem Style. + + + + MC4005: Cannot find the Style {0} '{1}' on the type '{2}'. + MC4005: Nie można odnaleźć elementu Style {0} „{1}” w typie „{2}”. + + + + MC4003: Cannot resolve the Style {0} '{1}'. Verify that the owning type is the Style's TargetType, or use Class.Property syntax to specify the {0}. + MC4003: Nie można rozpoznać elementu Style {0} „{1}”. Sprawdź, czy typ będący właścicielem to typ TargetType elementu Style albo użyj składni Class.Property do określenia elementu {0}. + + + + MC4004: Style cannot contain child '{0}'. Style child must be a Setter because it is added to the Setters collection. + MC4004: Element Style nie może zawierać elementu podrzędnego „{0}”. Element podrzędny elementu Style musi być typu Setter, ponieważ jest dodawany do kolekcji Setters. + + + + MC4006: Tags of type '{0}' are not supported in Style sections. + MC4006: Tagi typu „{0}” nie są obsługiwane w sekcjach elementu Style. + + + + MC4007: The event '{0}' cannot be specified on a Target tag in a Style. Use an EventSetter instead. + MC4007: W tagu Target właściwości Style nie można określić zdarzenia „{0}”. Użyj zamiast tego elementu EventSetter. + + + + MC4008: The text '{0}' is not allowed at this location within a Style section. + MC4008: Tekst „{0}” jest niedozwolony w tej lokalizacji wewnątrz sekcji Style. + + + + MC4009: The property '{0}' cannot be set on Style. + MC4009: W elemencie Style nie można ustawić właściwości „{0}”. + + + + MC6017: '{0}' cannot be the root of a XAML file because it was defined using XAML. + MC6017: Element „{0}” nie może być elementem głównym pliku XAML ponieważ został zdefiniowany przy użyciu kodu XAML. + + + + BG1004: Target Type '{0}' is not supported by this task. + BG1004: Typ docelowy „{0}” nie jest obsługiwany przez to zadanie. + + + + MC4011: TargetName property cannot be set on a Style Setter. + MC4011: Nie można ustawić właściwości TargetName w znaczniku Style Setter. + + + + + Copyright (C) Microsoft Corporation 2005. All rights reserved. + Copyright (C) Microsoft Corporation 2005. Wszelkie prawa zastrzeżone. + + + + MC4101: The Name '{0}' has already been defined. Names must be unique. + MC4101: Element Name „{0}” już został zdefiniowany. Elementy Name muszą być unikatowe. + + + + MC4108: The root of a Template content section cannot contain an element of type '{0}'. Only FrameworkElement and FrameworkContentElement types are valid. + MC4108: Element główny sekcji zawartości szablonu nie może zawierać elementu typu „{0}”. Tylko typy FrameworkElement i FrameworkContentElement są prawidłowe. + + + + MC4103: The template property tag '{0}' can only be specified immediately after a ControlTemplate tag. + MC4103: Tag „{0}” właściwości szablonu można określić jedynie bezpośrednio po tagu ControlTemplate. + + + + MC4107: A template can have only a single root element. '{0}' is not allowed. + MC4107: Szablon może mieć tylko jeden element główny. Element „{0}” jest niedozwolony. + + + + MC4109: Cannot find the Template Property '{0}' on the type '{1}'. + MC4109: Nie można odnaleźć właściwości szablonu „{0}” w typie„{1}”. + + + + MC4106: Cannot resolve the Template Property '{0}'. Verify that the owning type is the Style's TargetType, or use Class.Property syntax to specify the property. + MC4106: Nie można rozpoznać właściwości szablonu „{0}”. Sprawdź, czy typ będący właścicielem to element TargetType elementu Style albo użyj składni Class.Property do określenia właściwości. + + + + MC4111: Cannot find the Trigger target '{0}'. (The target must appear before any Setters, Triggers, or Conditions that use it.) + MC4111: Nie można odnaleźć elementu docelowego „{0}” elementu Trigger. Element docelowy musi pojawić się przed wszystkimi elementami Setter, Trigger, lub Condition, które go używają. + + + + MC4102: Tags of type '{0}' are not supported in template sections. + MC4102: Tagi typu „{0}” nie są obsługiwane w sekcjach Template. + + + + MC4105: The text '{0}' is not allowed at this location within a template section. + MC4105: Tekst „{0}” nie jest dozwolony w tej lokalizacji wewnątrz sekcji szablonu. + + + + MC4104: The property '{0}' cannot be set as a property element on template. Only Triggers and Storyboards are allowed as property elements. + MC4104: Właściwość „{0}” nie może być ustawiona jako element właściwości w szablonie. Jako elementy właściwości dozwolone są tylko elementy Triggers i Storyboards. + + + + MC7004: Empty token encountered while parsing. + MC7004: W trakcie analizy napotkano pusty token. + + + + MC7003: Extra data encountered after token while parsing. + MC7003: W trakcie analizy napotkano dodatkowe dane po tokenie. + + + + MC7002: Missing end quote encountered while parsing token. + MC7002: W trakcie analizy tokenu napotkano brak cudzysłowu zamykającego. + + + + MC7001: Premature string termination encountered. + MC7001: Napotkano przedwczesne zakończenie ciągu. + + + + UidManager + UidManager + + + + UM1003: Uid is missing for element '{0}'. + UM1003: Brakuje identyfikatora Uid dla elementu „{0}”. + + + + Unknown build error, '{0}' + Nieznany błąd kompilacji, „{0}” + + + + MC6013: {0}:ClassModifier="{1}" is not valid for the language {2}. + MC6013: Modyfikator {0}:ClassModifier="{1}" jest niepoprawny dla języka {2}. + + + + MC6002: Unrecognized tag '{0}:{1}' in namespace 'http://schemas.microsoft.com/winfx/2006/xaml'. Note that tag names are case sensitive. + MC6002: Nierozpoznany tag „{0}:{1}” w przestrzeni nazw „http://schemas.microsoft.com/winfx/2006/xaml”. Należy zwrócić uwagę, że w nazwach tagów uwzględniana jest wielkość liter. + + + + MC6007: '{1}' is not valid. '{0}' is not an event on '{2}'. + MC6007: Element „{1}” jest nieprawidłowy. Zdarzenie „{0}” nie jest zdarzeniem w elemencie „{2}”. + + + + MC6014: {0}:FieldModifier="{1}" is not valid for the language {2}. + MC6014: Modyfikator {0}:FieldModifier="{1}" jest nieprawidłowy dla języka {2}. + + + + MC6020: {0}:TypeArguments='{1}' is not valid on the tag '{2}'. Either '{2}' is not a generic type or the number of Type arguments in the attribute is wrong. Remove the {0}:TypeArguments attribute because it is allowed only on generic types, or fix its value to match the arity of the generic type '{2}'. + MC6020: Wartość {0}:TypeArguments=„{1}” jest niepoprawna w tagu „{2}”. Element „{2}” nie jest typem ogólnym lub liczba argumentów Type w atrybucie jest nieprawidłowa. Usuń atrybut {0}:TypeArguments, który jest dozwolony tylko dla ogólnych typów, albo popraw jego wartość tak, aby zgadzała się z liczbą argumentów wymaganą przez ogólny typ „{2}”. + + + + MC6008: '{0}' is not installed properly on this machine. It must be listed in the <compilers> section of machine.config. + MC6008: Element „{0}” nie jest poprawnie zainstalowany na tym komputerze. Musi znajdować się w sekcji <compilers> pliku machine.config. + + + + Unknown path operation attempted. + Podjęto próbę wykonania nieznanej operacji na ścieżce. + + + + LC1003: Localization comment has no value set for target property: '{0}'. + LC1003: Komentarz lokalizacji nie ma ustawionej żadnej wartości dla właściwości docelowej „{0}”. + + + + UpdateManifestForBrowserApplication + UpdateManifestForBrowserApplication + + + + MC4501: Major and minor version number components cannot be negative. + MC4501: Główne i pomocnicze składniki numeru wersji nie mogą być ujemne. + + + + MC6000: Project file must include the .NET Framework assembly '{0}' in the reference list. + MC6000: Plik projektu musi zawierać zestaw „{0}” .NET Framework na liście odwołań. + + + + MC1001: The LocalizationDirectivesToLocFile property value is not valid and must be changed to None, CommentsOnly, or All for the MarkupCompilePass1 task. + MC1001: Wartość właściwości LocalizationDirectivesToLocFile jest nieprawidłowa i należy ją zmienić na None, CommentsOnly lub All dla zadania MarkupCompilePass1. + + + + BG1003: The project file contains a property value that is not valid. + BG1003: Plik projektu zawiera nieprawidłową wartość właściwości. + + + + MC4602: Choice cannot follow a Fallback. + MC4602: Element Choice nie może występować po elemencie Fallback. + + + + MC4606: AlternateContent must contain one or more Choice elements. + MC4606: Obiekt AlternateContent musi zawierać jeden lub więcej elementów Choice. + + + + MC4601: Choice valid only in AlternateContent. + MC4601: Element Choice jest prawidłowy tylko w bloku AlternateContent. + + + + MC4640: Namespace '{0}' is marked as compatible with itself using XmlnsCompatibilityAttribute. A namespace cannot directly or indirectly override itself. + MC4640: Przestrzeń nazw {0} jest oznaczona jako zgodna sama z sobą za pomocą atrybutu XmlnsCompatibilityAttribute. Przestrzeń nazw nie może bezpośrednio ani pośrednio przesłaniać siebie. + + + + MC4631: Duplicate Preserve declaration for element '{1}' in namespace '{0}'. + MC4631: Zduplikowana deklaracja atrybutu Preserve dla elementu „{1}” w przestrzeni nazw „{0}”. + + + + MC4617: Duplicate ProcessContent declaration for element '{1}' in namespace '{0}'. + MC4617: Zduplikowana deklaracja atrybutu ProcessContent dla elementu „{1}” w przestrzeni nazw „{0}”. + + + + MC4633: Duplicate wildcard Preserve declaration for namespace '{0}'. + MC4633: Zduplikowana deklaracja Preserve z symbolem wieloznacznym dla przestrzeni nazw „{0}”. + + + + MC4619: Duplicate wildcard ProcessContent declaration for namespace '{0}'. + MC4619: Zduplikowana deklaracja atrybutu ProcessContent z symbolem wieloznacznym dla przestrzeni nazw „{0}”. + + + + MC4605: Fallback valid only in AlternateContent. + MC4605: Element Fallback jest prawidłowy tylko w bloku AlternateContent. + + + + MC4610: '{0}' element is not a valid child of AlternateContent. Only Choice and Fallback elements are valid children of an AlternateContent element. + MC4610: Element „{0}” jest nieprawidłowym elementem podrzędnym w elemencie AlternateContent. Tylko elementy Choice i Fallback są poprawnymi elementami podrzędnymi elementu AlternateContent. + + + + MC4608: '{0}' attribute is not valid for element '{1}'. + MC4608: Atrybut „{0}” jest nieprawidłowy dla elementu „{1}”. + + + + MC4611: '{0}' format is not valid. + MC4611: Format „{0}” jest nieprawidłowy. + + + + MC4632: Cannot have both a specific and a wildcard Preserve declaration for namespace '{0}'. + MC4632: Dla przestrzeni nazw „{0}” nie można mieć jednocześnie określonej i wieloznacznej deklaracji atrybutu Preserve. + + + + MC4618: Cannot have both a specific and a wildcard ProcessContent declaration for namespace '{0}'. + MC4618: Nie można użyć jednocześnie deklaracji atrybutu ProcessContent konkretnej i z symbolem wieloznacznym dla przestrzeni nazw „{0}”. + + + + MC4604: Requires attribute must contain a valid namespace prefix. + MC4604: Atrybut Requires musi zawierać prawidłowy prefiks przestrzeni nazw. + + + + MC4634: '{0}' attribute value is not a valid XML name. + MC4634: Wartość atrybutu „{0}” nie jest prawidłową nazwą XML. + + + + MC4607: AlternateContent must contain only one Fallback element. + MC4607: Element AlternateContent musi zawierać tylko jeden element Fallback. + + + + MC4626: MustUnderstand condition failed on namespace '{0}'. + MC4626: Niespełniony warunek MustUnderstand w przestrzeni nazw „{0}”. + + + + MC4630: Namespace '{0}' has items declared to be preserved but is not declared ignorable. + MC4630: Przestrzeń nazw „{0}” zawiera elementy, które zostały zadeklarowane do zachowania, ale sama nie jest zadeklarowana jako ignorowalna. + + + + MC4615: '{0}' namespace is declared ProcessContent but is not declared Ignorable. + MC4615: Przestrzeń nazw „{0}” ma zadeklarowany atrybut ProcessContent, ale nie ma atrybutu Ignorable. + + + + MC4603: Choice must contain a Requires attribute. + MC4603: Element Choice musi zawierać atrybut Requires. + + + + MC4612: '{0}' prefix is not defined. + MC4612: Prefiks „{0}” nie jest zdefiniowany. + + + + MC4614: Unrecognized compatibility attribute '{0}'. + MC4614: Nierozpoznany atrybut zgodności „{0}”. + + + + MC4609: Unrecognized compatibility element '{0}'. + MC4609: Nierozpoznany element zgodności „{0}”. + + + + MC4502: The feature ID string cannot have length 0. + MC4502: Ciąg identyfikatora funkcji nie mieć zerowej długości. + + + + + \ No newline at end of file diff --git a/src/Microsoft.DotNet.Wpf/src/PresentationBuildTasks/Resources/xlf/Strings.pt-BR.xlf b/src/Microsoft.DotNet.Wpf/src/PresentationBuildTasks/Resources/xlf/Strings.pt-BR.xlf new file mode 100644 index 00000000000..ad1d87637b6 --- /dev/null +++ b/src/Microsoft.DotNet.Wpf/src/PresentationBuildTasks/Resources/xlf/Strings.pt-BR.xlf @@ -0,0 +1,1242 @@ + + + + + + Analysis Result : '{0}'. + Resultado da análise : '{0}'. + + + + MC1002: Library project file cannot specify ApplicationDefinition element. + MC1002: o arquivo do projeto de biblioteca não pode especificar o elemento ApplicationDefinition. + + + + Input: Markup ApplicationDefinition file: '{0}'. + Entrada: arquivo de marcação ApplicationDefinition: '{0}'. + + + + MC6015: '{0}' cannot be set on the '{1}:{2}' tag. + MC6015: '{0}' não pode ser definido na marca '{1}:{2}'. + + + + UM1001: Unrecognized UidManager task name '{0}'. + UM1001: nome de tarefa UidManager não reconhecido '{0}'. + + + + Checking Uids in file '{0}' ... + Verificando Uids no arquivo '{0}' ... + + + + Generated localization directives file: '{0}' . + Arquivo de diretivas de localização gerado: '{0}'. + + + + Generating localization directives file: '{0}' ... + Gerando arquivo de diretivas de localização: '{0}' ... + + + + Markup compilation is done. + Compilação da marcação concluída. + + + + MarkupCompilePass1 successfully generated BAML or source code files. + MarkupCompilePass1 gerou arquivos BAML ou de código-fonte com êxito. + + + + MarkupCompilePass2 successfully generated BAML or source code files. + MarkupCompilePass2 gerou arquivos BAML ou de código-fonte com êxito. + + + + MC6011: '{0}' event has a generic event handler delegate type '{1}'. The type parameters of '{1}' cannot be bound with an appropriate type argument because the containing tag '{2}' is not a generic type. + MC6011: o evento '{0}' tem um tipo delegado de manipulador de eventos genérico '{1}'. Os parâmetros de tipo de '{1}' não podem ser associados a um argumento de tipo adequado porque a marca pertencente '{2}' não é do tipo genérico. + + + + Current project directory is '{0}'. + O diretório atual do projeto é '{0}'. + + + + MC6022: Only a root tag can specify attribute '{0}:{1}'. + MC6022: somente uma marca de raiz pode especificar o atributo '{0}:{1}'. + + + + MC6010: '{0}:{1}' cannot be specified as the root element. + MC6010: '{0}:{1}' não pode ser especificado como elemento raiz. + + + + MC6004: '{0}:{1}' contains '{2}'. '{0}:{1}' can contain only a CDATA or text section. + MC6004: '{0}:{1}' contém '{2}'. '{0}:{1}' pode conter somente CDATA ou uma seção de texto. + + + + Started the markup compilation. + Iniciada a compilação da marcação. + + + + MC6030: {0}="{1}" is not valid. '{0}' event attribute value cannot be a string that is empty or has only white space. + MC6030: {0}="{1}" não é válido. O valor do atributo de evento '{0}' não pode ser uma cadeia de caracteres vazia ou que tenha somente espaço em branco. + + + + MC6021: {0}:FieldModifier cannot be specified on this tag because it has either no {0}:Name or Name attribute set, or the tag is locally defined and has a Name attribute set, which is not allowed. + MC6021: {0}:FieldModifier não pode ser especificado nesta marca porque não possui {0}:Name ou conjunto de atributos Name, ou a marca foi definida localmente ou tem um conjunto de atributos Name, o que não é permitido. + + + + FileClassifier + FileClassifier + + + + BG1002: File '{0}' cannot be found. + BG1002: o arquivo '{0}' não pode ser encontrado. + + + + Input file '{0}' is resolved to new relative path '{1}' at directory '{2}'. + O arquivo de entrada '{0}' está resolvido para o novo caminho relativo '{1}' no diretório '{2}'. + + + + UM1004: {0} files failed Uid check. + UM1004: {0} arquivos com falha na verificação de Uid. + + + + Uids valid in {0} files. + Uids válidas em {0} arquivos. + + + + Uids removed from {0} files. + Uids removidas de {0} arquivos. + + + + Uids updated in {0} files. + Uids atualizadas em {0} arquivos. + + + + Generated BAML file: '{0}'. + Arquivo BAML gerado: '{0}'. + + + + Generated code file: '{0}'. + Arquivo de código gerado: '{0}'. + + + + GetWinFXPath + GetWinFXPath + + + + MC6003: '{0}:{1}' contains '{2}'. '{0}:{1}' cannot contain nested content. + MC6003: '{0}:{1}' contém '{2}'. '{0}:{1}' não pode apresentar conteúdo aninhado. + + + + UM1006: '{0}' directory does not exist and cannot be created. + UM1006: o diretório '{0}' não existe e não pode ser criado. + + + + InternalTypeHelper class is not required for this project, make file '{0}' empty. + A classe InternalTypeHelper não é necessária para este projeto; esvazie o arquivo '{0}'. + + + + MC6018: '{0}' class name is not valid for the locally defined XAML root element. + MC6018: o nome da classe '{0}' não é válido para o elemento raiz XAML definido localmente. + + + + MC6019: '{0}' namespace is not valid for the locally defined XAML root element '{1}'. + MC6019: o namespace '{0}' não é válido para o elemento raiz XAML '{1}' definido localmente. + + + + MC6027: {0}:{1}="{2}" is not valid. '{2}' is not a valid {3}class name. + MC6027: {0}:{1}="{2}" não é válido. '{2}' não é um nome de classe{3} válido. + + + + FC1001: The UICulture value '{0}' set in the project file is not valid. + FC1001: o valor '{0}' de UICulture definido no arquivo de projeto não é válido. + + + + MC4402: Serializer does not support custom BAML serialization operations. + MC4402: o serializador não oferece suporte às operações personalizadas de serialização de BAML. + + + + MC4401: Serializer does not support Convert operations. + MC4401: o serializador não oferece suporte às operações Convert. + + + + MC6029: '{0}' name is not valid in the default namespace '{1}'. Correct the RootNamespace tag value in the project file. + MC6029: o nome '{0}' não é válido no namespace '{1}' padrão. Corrija o valor da marca RootNamespace no arquivo de projeto. + + + + MC6005: {0}="{1}" is not valid. '{1}' is not a valid event handler method name. Only instance methods on the generated or code-behind class are valid. + MC6005: {0}="{1}" não é válido. '{1}' não é um nome de método do manipulador de eventos válido. Somente métodos de instância na classe gerada ou code-behind são válidos. + + + + LC1001: Localization comment target property is not valid in string '{0}'. + LC1001: a propriedade de destino de comentário de localização não é válida na cadeia de caracteres '{0}'. + + + + LC1002: Localization comment value is not valid for target property '{0}' in string '{1}'. + LC1002: o valor do comentário de localização não é válido para a propriedade de destino '{0}' na cadeia de caracteres '{1}'. + + + + LC1004: Localizability attribute setting '{0}' is not valid. + LC1004: a configuração do atributo de localização '{0}' não é válida. + + + + MC6001: Markup file is not valid. Specify a source markup file with an .xaml extension. + MC6001: o arquivo de marcação não é válido. Especifique um arquivo de origem de marcação com uma extensão .xaml. + + + + MC6028: {0}:TypeArguments="{1}" is not valid. '{2}' is not a valid type name reference for the generic argument at position '{3}'. + MC6028: {0}:TypeArguments="{1}" não é válido. '{2}' não é uma referência de nome de tipo válida para o argumento genérico na posição '{3}'. + + + + MC3000: '{0}' XML is not valid. + MC3000: XML '{0}' não é válido. + + + + MC6023: Because '{0}' is implemented in the same assembly, you must set the {1}:Name attribute rather than the Name attribute. + MC6023: como '{0}' está implementado no mesmo assembly, você deve definir o atributo {1}:Name em vez do atributo Name. + + + + Input: Local reference markup ApplicationDefinition file is '{0}'. + Entrada: o arquivo ApplicationDefinition de marcação de referência local é '{0}'. + + + + Generated BAML file: '{0}'. + Arquivo BAML gerado: '{0}'. + + + + Input: Local reference markup Page file: '{0}'. + Entrada: arquivo Page de marcação de referência local: '{0}'. + + + + MarkupCompilePass1 + MarkupCompilePass1 + + + + MarkupCompilePass2 + MarkupCompilePass2 + + + + MC6012: '{0}' event has a generic event handler delegate type '{1}'. The type parameter '{2}' on '{1}' does not match any type parameters on the containing generic tag '{3}'. + MC6012: o evento '{0}' tem um tipo delegado de manipulador de eventos genérico '{1}'. O parâmetro de tipo '{2}' em '{1}' não corresponde aos parâmetros de tipo na marca genérica pertencente '{3}'. + + + + MergeLocalizationDirectives + MergeLocalizationDirectives + + + + MC6026: '{0}' root element requires a {1}:Class attribute because '{2}' contains a {1}:Code tag. Either remove {1}:Code and its contents, or add a {1}:Class attribute to the root element. + MC6026: o elemento raiz '{0}' requer um atributo {1}:Class porque '{2}' contém uma marca {1}:Code. Remova {1}:Code e seu conteúdo ou adicione um atributo {1}:Class ao elemento raiz. + + + + MC6024: '{0}' root element requires a {1}:Class attribute to support event handlers in the XAML file. Either remove the event handler for the {2} event, or add a {1}:Class attribute to the root element. + MC6024: o elemento '{0}' raiz requer que um atributo {1}:Class ofereça suporte aos manipuladores de eventos no arquivo XAML. Remova o manipulador de eventos do evento {2} ou adicione um atributo {1}:Class ao elemento raiz. + + + + MC6025: '{0}' root element is a generic type and requires a {1}:Class attribute to support the {1}:TypeArguments attribute specified on the root element tag. + MC6025: o elemento raiz '{0}' é um tipo genérico e requer que um atributo {1}:Class ofereça suporte ao atributo {1}:TypeArguments especificado na marca de elemento raiz. + + + + MC6031: {0}:FieldModifier attribute cannot be specified because a {0}:Class attribute is also required to generate a Name field with the specified access modifier. Either add a {0}:Class attribute on the root tag or remove the {0}:FieldModifier attribute. + MC6031: o atributo {0}:FieldModifier não pode ser especificado porque um atributo {0}:Class também é necessário para gerar um campo Name com o modificador de acesso especificado. Adicione um atributo {0}:Class à marca raiz ou remova o atributo {0}:FieldModifier. + + + + MC6009: {0}:ClassModifier attribute cannot be specified on the root tag because a {0}:Class attribute is also required. Either add a {0}:Class attribute or remove the {0}:ClassModifier attribute. + MC6009: o atributo {0}:ClassModifier não pode ser especificado na marca raiz porque um atributo {0}:Class também é necessário. Adicione um atributo {0}:Class ou remova o atributo {0}:ClassModifier. + + + + MC6016: {0}:Class attribute is missing. It is required when a {0}:Subclass attribute is specified. + MC6016: o atributo {0}:Class está faltando. Ele é necessário quando um atributo {0}:Subclass é especificado. + + + + RG1002: ResourcesGenerator can generate only one .resources file at a time. The OutputResourcesFile property in the project file must be set to one file. + RG1002: ResourcesGenerator pode gerar somente um arquivo .resources de cada vez. A propriedade OutputResourcesFile do arquivo de projeto deve ser definida para um arquivo. + + + + MC1004: Project file cannot specify more than one SplashScreen element. + MC1004: o arquivo do projeto não pode especificar mais de um elemento de SplashScreen. + + + + UM1002: Uid "{0}" for element '{1}' is not unique. + UM1002: a Uid "{0}" do elemento '{1}' não é exclusiva. + + + + MC1003: Project file cannot specify more than one ApplicationDefinition element. + MC1003: o arquivo do projeto não pode especificar mais de um elemento ApplicationDefinition. + + + + A '{0}' is named '{1}'. Do not name ResourceDictionary contents because their instantiation is deferred. + Um '{0}' está denominado '{1}'. Não nomeie o conteúdo de ResourceDictionary porque sua instanciação foi adiada. + + + + BG1001: Unknown CLS exception. + BG1001: exceção CLS desconhecida. + + + + OutputType is '{0}'. + OutputType é '{0}'. + + + + MC3001: TypeConverter syntax error encountered while processing initialization string '{0}'. Property elements are not allowed on objects created via TypeConverter. + MC3001: erro de sintaxe TypeConverter encontrado durante o processamento da cadeia de caracteres de inicialização '{0}'. Os elementos da propriedade não são permitidos nos objetos criados com TypeConverter. + + + + MC3099: Cannot load assembly '{0}' because a different version of that same assembly is loaded '{1}'. + MC3099: Não é possível carregar o assembly '{0}' porque uma versão diferente do mesmo assembly já está carregada '{1}'. + + + + MC3002: The AsyncRecords attribute must be set on the root tag. + MC3002: o atributo AsyncRecords deve ser definido na marca raiz. + + + + MC3015: The attached property '{0}' is not defined on '{1}' or one of its base classes. + MC3015: a propriedade anexada '{0}' não está definida em '{1}' ou uma de suas classes base. + + + + MC3003: There are too many attributes specified for '{0}'. + MC3003: muitos atributos foram especificados para '{0}'. + + + + MC3004: There are not enough attributes specified for '{0}'. + MC3004: não há atributos suficientes especificados para '{0}'. + + + + MC3005: The property '{0}' must be in the default namespace or in the element namespace '{1}'. + MC3005: a propriedade '{0}' deve estar no namespace padrão ou no namespace do elemento '{1}'. + + + + MC3006: Mapper.SetAssemblyPath cannot accept an empty assemblyName. + MC3006: Mapper.SetAssemblyPath não pode aceitar um assemblyName vazio. + + + + MC3007: Mapper.SetAssemblyPath cannot accept an empty assemblyPath. + MC3007: Mapper.SetAssemblyPath não pode aceitar um assemblyPath vazio. + + + + MC3008: An element of type '{0}' cannot be set on the complex property '{1}'. They are not compatible types. + MC3008: um elemento do tipo '{0}' não pode ser definido na propriedade complexa '{1}'. Eles não são tipos compatíveis. + + + + MC3009: Cannot find a public constructor for '{0}' that takes {1} arguments. + MC3009: não é possível encontrar um construtor público para '{0}' que aceite {1} argumentos. + + + + MC3012: A key for a dictionary cannot be of type '{0}'. Only String, TypeExtension, and StaticExtension are supported. + MC3012: uma chave para um dicionário não pode ser do tipo '{0}'. Somente há suporte para String, TypeExtension e StaticExtension. + + + + MC3029: '{0}' member is not valid because it does not have a qualifying type name. + MC3029: o membro '{0}' não é válido porque não tem um nome de tipo qualificado. + + + + MC3010: '{0}' Name property value is not valid. Name must start with a letter or an underscore and can contain only letters, digits, and underscores. + MC3010: o valor '{0}' da propriedade Name não é válido. Name deve começar com uma letra ou um sublinhado e pode conter somente letras, dígitos e sublinhados. + + + + MC3094: Cannot convert string value '{0}' to type '{1}'. + MC3094: não é possível converter o valor '{0}' da cadeia de caracteres no tipo '{1}'. + + + + MC3013: SynchronousMode property value is not valid. Valid values are Async and Sync. + MC3013: o valor da propriedade SynchronousMode não é válido. Os valores válidos são Async e Sync. + + + + MC3014: The object being added to an array property is not a valid type. The array is of type '{0}' but the object being added is of type '{1}'. + MC3014: o objeto que está sendo adicionado a uma propriedade de matriz não é um tipo válido. A matriz é do tipo '{0}', mas o objeto que está sendo adicionado é do tipo '{1}'. + + + + MC3079: MarkupExtensions are not allowed for Uid or Name property values, so '{0}' is not valid. + MC3079: MarkupExtensions não são permitidos como valores de propriedade Uid ou Name; portanto, '{0}' não é válido. + + + + MC3089: The object '{0}' already has a child and cannot add '{1}'. '{0}' can accept only one child. + MC3089: o objeto '{0}' já tem um filho e não pode adicionar '{1}'. '{0}' pode aceitar somente um filho. + + + + MC3028: Cannot add content to object of type '{0}'. + MC3028: não é possível adicionar conteúdo ao objeto do tipo '{0}'. + + + + MC3081: '{0}' is a read-only property of type IList or IDictionary and cannot be set because it does not have a public or internal get accessor. + MC3081: '{0}' é uma propriedade somente leitura do tipo IList ou IDictionary e não pode ser definida porque não tem um acessador get público ou interno. + + + + MC3080: The {0} '{1}' cannot be set because it does not have an accessible {2} accessor. + MC3080: {0} '{1}' não pode ser definido porque não tem um acessador {2} acessível. + + + + MC3087: Cannot set content property '{0}' on element '{1}'. '{0}' has incorrect access level or its assembly does not allow access. + MC3087: não é possível definir a propriedade de conteúdo '{0}' no elemento '{1}'. '{0}' tem nível de acesso incorreto ou seu assembly não permite acesso. + + + + MC3082: '{0}' cannot be set as the value of a Trigger's Property attribute because it does not have a public or internal get accessor. + MC3082: '{0}' não pode ser definido como o valor de um atributo Property de Trigger porque não tem um acessador get público ou interno. + + + + MC3016: Two new namespaces cannot be compatible with the same old namespace using an XmlnsCompatibility attribute.�'{0}' namespace is already marked compatible with '{1}'. + MC3016: dois namespaces novos não podem ser compatíveis com o mesmo namespace antigo usando um atributo XmlnsCompatibility. O namespace �'{0}' já está marcado como compatível com '{1}'. + + + + MC3088: Property elements cannot be in the middle of an element's content. They must be before or after the content. + MC3088: os elementos da propriedade não podem estar no meio do conteúdo de um elemento. Eles devem estar antes ou depois do conteúdo. + + + + MC3017: 'Code' tag from xaml namespace found in XAML file. To load this file, you must compile it. + MC3017: marca 'Code' do namespace de xaml encontrada no arquivo XAML. Para carregar esse arquivo, você deve compilá-lo. + + + + MC3061: The Element type '{0}' does not have an associated TypeConverter to parse the string '{1}'. + MC3061: o tipo '{0}' do Elemento não tem um TypeConverter associado para analisar a cadeia de caracteres '{1}'. + + + + MC3018: Cannot modify data in a sealed XmlnsDictionary. + MC3018: não é possível modificar dados em um XmlnsDictionary lacrado. + + + + MC3020: The dictionary key '{0}' is already used. Key attributes are used as keys when inserting objects into a dictionary and must be unique. + MC3020: a chave de dicionário '{0}' já foi usada. Os atributos da chave são usados como chaves na inserção de objetos em um dicionário e devem ser exclusivos. + + + + MC3033: The property '{0}' has already been set on this markup extension and can only be set once. + MC3033: a propriedade '{0}' já foi definida nesta extensão de marcação e somente pode ser definida uma vez. + + + + MC3024: '{0}' property has already been set and can be set only once. + MC3024: a propriedade '{0}' já foi definida e somente pode ser definida uma vez. + + + + MC3025: Property '{0}' and '{1}' refer to the same property. Duplicate property settings are not allowed. + MC3025: '{0}' e '{1}' referem-se à mesma propriedade. Não são permitidas configurações de propriedade repetidas. + + + + MC3026: '{0}' property element cannot be empty. It must contain child elements or text. + MC3026: o elemento da propriedade '{0}' não pode estar vazio. Ele deve conter elementos filho ou de texto. + + + + MC3027: The EntityReference &{0}; is not recognized. + MC3027: EntityReference &{0}; não é reconhecido. + + + + MC3083: Cannot access the delegate type '{0}' for the '{1}' event. '{0}' has incorrect access level or its assembly does not allow access. + MC3083: não é possível acessar o tipo delegado '{0}' para o evento '{1}'. '{0}' tem nível de acesso incorreto ou seu assembly não permite acesso. + + + + MC3030: '{0}' property is a read-only IEnumerable property, which means that '{1}' must implement IAddChild. + MC3030: a propriedade '{0}' é do tipo IEnumerable somente leitura, o que significa que '{1}' deve implementar IAddChild. + + + + MC3078: Invalid ContentPropertyAttribute on type '{0}', property '{1}' not found. + MC3078: propriedade ContentPropertyAttribute inválida no tipo '{0}'; propriedade '{1}' não encontrada. + + + + Known type value {0}='{1}' is not a valid known type. + O valor de tipo conhecido {0}='{1}' não é válido. + + + + MC3011: Cannot find the static member '{0}' on the type '{1}'. + MC3011: não é possível encontrar o membro estático '{0}' no tipo '{1}'. + + + + MC3031: Keys and values in XmlnsDictionary must be strings. + MC3031: as chaves e os valores em XmlnsDictionary devem ser cadeias de caracteres. + + + + Line {0} Position {1} + Linha {0}, posição {1} + + + + MC3037: Missing XmlNamespace, Assembly or ClrNamespace in Mapping instruction. + MC3037: XmlNamespace, Assembly ou ClrNamespace ausentes na instrução Mapping. + + + + '{0}' mapping URI is not valid. + O URI de mapeamento '{0}' não é válido. + + + + MC3040: Format is not valid for MarkupExtension that specifies constructor arguments in '{0}'. + MC3040: o formato não é válido para MarkupExtension, que especifica os argumentos do construtor em '{0}'. + + + + MC3041: Markup extensions require a single '=' between name and value, and a single ',' between constructor parameters and name/value pairs. The arguments '{0}' are not valid. + MC3041: as extensões de marcação requerem um único '=' entre nome e valor, e um único ',' entre os parâmetros do construtor e os pares nome-valor. Os argumentos '{0}' não são válidos. + + + + MC3091: '{0}' is not valid. Markup extensions require only spaces between the markup extension name and the first parameter. Cannot have comma or equals sign before the first parameter. + MC3091: '{0}' não é válido. As extensões de marcação requerem somente espaços entre o nome da extensão da marcação e o primeiro parâmetro. Não é possível ter vírgula ou sinal de igual antes do primeiro parâmetro. + + + + MC8001: Encountered a closing BracketCharacter '{0}' at Line Number '{1}' and Line Position '{2}' without a corresponding opening BracketCharacter. + MC8001: Encontrado um BracketCharacter de fechamento '{0}' no Número de Linha '{1}' e Posição de Linha '{2}' sem um BracketCharacter de abertura correspondente. + + + + MC8002: BracketCharacter '{0}' at Line Number '{1}' and Line Position '{2}' does not have a corresponding opening/closing BracketCharacter. + MC8002: O BracketCharacter '{0}' no Número de Linha '{1}' e Posição de Linha '{2}' não tem um BracketCharacter de abertura/fechamento correspondente. + + + + MC3038: MarkupExtension expressions must end with a '}'. + MC3038: as expressões MarkupExtension devem terminar com um '}'. + + + + MC3042: Name/value pairs in MarkupExtensions must have the format 'Name = Value' and each pair is separated by a comma. '{0}' does not follow this format. + MC3042: os pares nome-valor em MarkupExtensions devem ter o formato 'Nome = Valor' e cada par é separado por uma vírgula. '{0}' não segue esse formato. + + + + MC3043: Names and Values in a MarkupExtension cannot contain quotes. The MarkupExtension arguments '{0}' are not valid. + MC3043: os nomes e valores em um MarkupExtension não podem conter aspas. Os argumentos '{0}' de MarkupExtension não são válidos. + + + + MC3044: The text '{1}' is not allowed after the closing '{0}' of a MarkupExtension expression. + MC3044: o texto '{1}' não é permitido após o fechamento '{0}' de uma expressão MarkupExtension. + + + + MC3045: Unknown property '{0}' for type '{1}' encountered while parsing a Markup Extension. + MC3045: propriedade '{0}' desconhecida para o tipo '{1}' encontrada durante a análise de um Markup Extension. + + + + MC3046: Unknown attribute '{0}' in the '{1}' namespace. Note that only the Key attribute is currently supported in this namespace. + MC3046: atributo '{0}' desconhecido no namespace '{1}'. Observe que só há suporte atualmente para o atributo Key neste namespace. + + + + MC3047: Internal parser error - Cannot use multiple writable BAML records at the same time. + MC3047: erro interno do analisador - Não é possível utilizar vários registros BAML graváveis ao mesmo tempo. + + + + '{0}' property element cannot be nested directly inside another property element. + O elemento '{0}' da propriedade não pode ser aninhado diretamente dentro de outro elemento da propriedade. + + + + MC3049: Cannot place attributes on Array tags. + MC3049: não é possível colocar atributos nas marcas de Array. + + + + MC3021: Asynchronous loading is not supported when compiling a XAML file, so a SynchronousMode of '{0}' is not allowed. + MC3021: não há suporte para o carregamento assíncrono durante a compilação de um arquivo XAML; portanto, SynchronousMode de '{0}' não é permitido. + + + + MC3051: The type '{0}' does not support element content. + MC3051: o tipo '{0}' não oferece suporte ao conteúdo do elemento. + + + + MC3022: All objects added to an IDictionary must have a Key attribute or some other type of key associated with them. + MC3022: todos os objetos adicionados a um IDictionary devem ter um atributo Key ou algum outro tipo de chave associada a eles. + + + + MC3023: The Key attribute can only be used on a tag contained in a Dictionary (such as a ResourceDictionary). + MC3023: o atributo Key somente pode ser usado em uma marca contida em um Dictionary (como ResourceDictionary). + + + + MC3032: '{1}' cannot be used as a value for '{0}'. Numbers are not valid enumeration values. + MC3032: '{1}' não pode ser usado como valor de '{0}'. Os números não são valores válidos de enumeração. + + + + MC3053: Cannot use property element syntax to specify event handler '{0}'. + MC3053: não é possível utilizar a sintaxe de elemento de propriedade para especificar o manipulador de eventos'{0}'. + + + + MC3052: XAML file that contains events must be compiled. + MC3052: o arquivo XAML que contém eventos deve ser compilado. + + + + MC3054: The type '{0}' cannot have a Name attribute. Value types and types without a default constructor can be used as items within a ResourceDictionary. + MC3054: o tipo '{0}' não pode ter um atributo Name. Os tipos de valor e tipos sem um construtor padrão podem ser usados como itens em um ResourceDictionary. + + + + MC3093: Cannot set Name attribute value '{0}' on element '{1}'. '{1}' is under the scope of element '{2}', which already had a name registered when it was defined in another scope. + MC3093: não é possível definir o valor de atributo Name '{0}' no elemento '{1}'. '{1}' está sob o escopo do elemento '{2}', que já tinha um nome registrado quando foi definido em outro escopo. + + + + MC3056: No NamespaceURI is defined for the object '{0}'. + MC3056: nenhum NamespaceURI está definido para o objeto '{0}'. + + + + MC3084: Cannot nest XML data islands. + MC3084: não é possível aninhar ilhas de dados XML. + + + + MC3057: Cannot set properties on property elements. + MC3057: não é possível definir as propriedades nos elementos da propriedade. + + + + MC3058: Cannot find a custom serializer for '{0}' so it cannot be parsed. + MC3058: não é possível encontrar um serializador personalizado para '{0}'; portanto, ele não pode ser analisado. + + + + MC3059: Style setters do not support child elements. A tag of type '{0}' is not allowed. + MC3059: os style setters não oferecem suporte aos elementos filho. Uma marca do tipo '{0}' não é permitida. + + + + MC3050: Cannot find the type '{0}'. Note that type names are case sensitive. + MC3050: não é possível encontrar o tipo '{0}'. Observe que os nomes de tipo diferenciam maiúsculas e minúsculas. + + + + MC3048: '{0}' value is not a valid MarkupExtension expression. Cannot resolve '{1}' in namespace '{2}'. '{1}' must be a subclass of MarkupExtension. + MC3048: o valor '{0}' não é uma expressão MarkupExtension válida. Não é possível resolver '{1}' no namespace '{2}'. '{1}' deve ser uma subclasse de MarkupExtension. + + + + MC3062: '{0}' XML namespace prefix does not map to a NamespaceURI, so element '{1}' cannot be resolved. + MC3062: o prefixo do namespace XML '{0}' não mapeia para um NamespaceURI; portanto, o elemento '{1}' não pode ser resolvido. + + + + MC3100: '{0}' XML namespace prefix does not map to a namespace URI, so cannot resolve property '{1}'. + MC3100: O prefixo do namespace XML '{0}' não mapeia para um URI de namespace; portanto, não é possível resolver a propriedade '{1}'. + + + + MC3063: Property '{0}' does not have a value. + MC3063: a propriedade '{0}' não tem um valor. + + + + MC3064: Only public or internal classes can be used within markup. '{0}' type is not public or internal. + MC3064: somente classes públicas ou internas podem ser usadas na marcação. O tipo '{0}' não é público nem interno. + + + + MC3065: '{0}' property is read-only and cannot be set from markup. + MC3065: a propriedade '{0}' é somente leitura e não pode ser definida da marcação. + + + + MC3066: The type reference cannot find a public type named '{0}'. + MC3066: a referência ao tipo não pode encontrar um tipo público denominado '{0}'. + + + + MC3019: Cannot reference the static member '{0}' on the type '{1}' as it is not accessible. + MC3019: não é possível fazer referência ao membro estático '{0}' no tipo '{1}' uma vez que não está acessível. + + + + MC3067: SynchronousMode attribute must be on the root tag. + MC3067: o atributo SynchronousMode deve estar na marca raiz. + + + + MC3069: Cannot have both the text '{0}' and the child element '{1}' within a property element. + MC3069: não é possível ter o texto '{0}' e o elemento filho '{1}' no elemento da propriedade. + + + + MC3068: Text is not valid under an IDictionary or Array property. + MC3068: o texto de IDictionary ou uma propriedade Array não é válido. + + + + MC3070: A single XAML file cannot reference more than 4,096 different assemblies. + MC3070: um único arquivo XAML não pode fazer referência a mais de 4.096 assemblies diferentes. + + + + MC3095: Close tag must immediately follow TypeConverter initialization string '{0}'. + MC3095: a marca de fechamento deve seguir imediatamente a cadeia de caracteres de inicialização TypeConverter '{0}'. + + + + MC3090: TypeConverter syntax error encountered while processing initialization string '{0}'. Element attributes are not allowed on objects created via TypeConverter. + MC3090: erro de sintaxe TypeConverter encontrado durante o processamento da cadeia de caracteres de inicialização '{0}'. Os atributos de elemento não são permitidos em objetos criados com TypeConverter. + + + + MC3071: '{0}' is an undeclared namespace. + MC3071: '{0}' é um namespace não declarado. + + + + MC3072: The property '{0}' does not exist in XML namespace '{1}'. + MC3072: a propriedade '{0}' não existe no namespace XML '{1}'. + + + + MC3073: The attribute '{0}' does not exist in XML namespace 'http://schemas.microsoft.com/winfx/2006/xaml'. + MC3073: o atributo '{0}' não existe no namespace XML 'http://schemas.microsoft.com/winfx/2006/xaml'. + + + + MC3074: The tag '{0}' does not exist in XML namespace '{1}'. + MC3074: a marca '{0}' não existe no namespace XML '{1}'. + + + + MC3075: Unrecognized XML node type '{0}' found when determining if the current tag is a property element. + MC3075: tipo de nó XML '{0}' não reconhecido encontrado ao determinar se a marca atual é um elemento de propriedade. + + + + MC3086: Parent element or property '{0}' requires an XML data island. To distinguish an XML island from surrounding XAML, wrap the XML data island in <x:XData> ... </x:XData>. + MC3086: o elemento ou a propriedade pai '{0}' requer uma ilha de dados XML. Para diferenciar uma ilha XML do XAML adjacente, coloque a ilha de dados XML entre <x:XData> ... </x:XData>. + + + + MC3085: '{0}' element or property cannot contain an XML data island. + MC3085: o elemento ou a propriedade '{0}' não podem conter uma ilha de dados XML. + + + + MC3092: XmlLangProperty attribute must specify a property name. + MC3092: o atributo XmlLangProperty deve especificar um nome de propriedade. + + + + MC3077: The class '{0}' does not implement IXmlLineInfo. This is required to get position information for the XAML being parsed. + MC3077: a classe '{0}' não implementa IXmlLineInfo. Isso é necessário para se obter as informações de posição do XAML em análise. + + + + MC3098: Unexpected token '{0}' at position '{1}'. + MC3098: Token '{0}' inesperado na posição '{1}'. + + + + MC3096: Token is not valid. + MC3096: o token não é válido. + + + + Preparing for the markup compilation... + Preparando para a compilação da marcação... + + + + MC4301: Type name '{0}' does not have the expected format 'className, assembly'. + MC4301: o nome do tipo '{0}' não tem o formato esperado 'className, assembly'. + + + + Reading Resource file: '{0}'... + Lendo o arquivo Resource: '{0}'... + + + + Recompiled XAML file : '{0}'. + Arquivo XAML recompilado : '{0}'. + + + + Input: Assembly Reference file: '{0}'. + Entrada: arquivo Reference do assembly: '{0}'. + + + + Resource ID is '{0}'. + A ID de recurso é '{0}'. + + + + RG1001: Input resource file '{0}' exceeds maximum size of {1} bytes. + RG1001: o arquivo de recurso de entrada '{0}' excede o tamanho máximo de {1} bytes. + + + + Generated .resources file: '{0}'. + Arquivo .resources gerado: '{0}'. + + + + Generating .resources file: '{0}'... + Gerando arquivo .resources: '{0}'... + + + + ResourcesGenerator + ResourcesGenerator + + + + MC6006: {0}.{1}="{2}" is not valid. '{1}' must be a RoutedEvent registered with a name that ends with the keyword "Event". + MC6006: {0}.{1}="{2}" não é válido. '{1}' deve ser um RoutedEvent registrado com um nome que termina com a palavra-chave "Event". + + + + UM1005: You must pass markup files to the task. + UM1005: você deve transferir os arquivos de marcação para a tarefa. + + + + MC4110: SourceName property cannot be set within Style.Triggers section. + MC4110: a propriedade SourceName não pode ser definida na seção Style.Triggers. + + + + MC4001: Style does not support both {0} tags and Style.{1} property tags for a single Style. Use one or the other. + MC4001: Style não oferece suporte a {0} marcas e marcas de propriedade Style.{1} para um único Style. Use um ou outro. + + + + MC4002: The Style property tag '{0}' can only be specified directly under a Style tag. + MC4002: a marca de propriedade Style '{0}' somente pode ser especificada diretamente em uma marca Style. + + + + MC4005: Cannot find the Style {0} '{1}' on the type '{2}'. + MC4005: não é possível encontrar Style {0} '{1}' no tipo '{2}'. + + + + MC4003: Cannot resolve the Style {0} '{1}'. Verify that the owning type is the Style's TargetType, or use Class.Property syntax to specify the {0}. + MC4003: não é possível resolver Style {0} '{1}'. Verifique se o tipo de propriedade é TargetType de Style ou use a sintaxe Class.Property para especificar {0}. + + + + MC4004: Style cannot contain child '{0}'. Style child must be a Setter because it is added to the Setters collection. + MC4004: Style não pode conter '{0}' filho. O Style filho deve ser um Setter porque está anexado à coleção Setters. + + + + MC4006: Tags of type '{0}' are not supported in Style sections. + MC4006: as seções Style não oferecem suporte às marcas do tipo '{0}'. + + + + MC4007: The event '{0}' cannot be specified on a Target tag in a Style. Use an EventSetter instead. + MC4007: o evento '{0}' não pode ser especificado em uma marca Target em um Style. Use um EventSetter. + + + + MC4008: The text '{0}' is not allowed at this location within a Style section. + MC4008: o texto '{0}' não é permitido nesse local em uma seção Style. + + + + MC4009: The property '{0}' cannot be set on Style. + MC4009: a propriedade '{0}' não pode ser definida em Style. + + + + MC6017: '{0}' cannot be the root of a XAML file because it was defined using XAML. + MC6017: '{0}' não pode ser a raiz de um arquivo XAML porque ele foi definido usando XAML. + + + + BG1004: Target Type '{0}' is not supported by this task. + BG1004: esta tarefa não oferece suporte ao tipo de destino '{0}'. + + + + MC4011: TargetName property cannot be set on a Style Setter. + MC4011: a propriedade TargetName não pode ser definida em um Style Setter. + + + + + Copyright (C) Microsoft Corporation 2005. All rights reserved. + Copyright (C) Microsoft Corporation 2005. Todos os direitos reservados. + + + + MC4101: The Name '{0}' has already been defined. Names must be unique. + MC4101: Name '{0}' já foi definido. Names devem ser exclusivos. + + + + MC4108: The root of a Template content section cannot contain an element of type '{0}'. Only FrameworkElement and FrameworkContentElement types are valid. + MC4108: a raiz de uma seção de conteúdo de Modelo não pode conter um elemento do tipo '{0}'. Somente os tipos FrameworkElement e FrameworkContentElement são válidos. + + + + MC4103: The template property tag '{0}' can only be specified immediately after a ControlTemplate tag. + MC4103: a marca de propriedade de modelo '{0}' somente pode ser especificada imediatamente após uma marca ControlTemplate. + + + + MC4107: A template can have only a single root element. '{0}' is not allowed. + MC4107: um modelo pode ter somente um único elemento raiz. '{0}' não é permitido. + + + + MC4109: Cannot find the Template Property '{0}' on the type '{1}'. + MC4109: não é possível encontrar a Propriedade de Modelo '{0}' no tipo '{1}'. + + + + MC4106: Cannot resolve the Template Property '{0}'. Verify that the owning type is the Style's TargetType, or use Class.Property syntax to specify the property. + MC4106: não é possível resolver a Propriedade de Modelo '{0}'. Verifique se o tipo de propriedade é TargetType de Style, ou use a sintaxe Class.Property para especificar a propriedade. + + + + MC4111: Cannot find the Trigger target '{0}'. (The target must appear before any Setters, Triggers, or Conditions that use it.) + MC4111: não é possível encontrar o destino Trigger '{0}'. (O destino deve aparecer antes de Setters, Triggers ou Conditions que o utilizem.) + + + + MC4102: Tags of type '{0}' are not supported in template sections. + MC4102: as seções de modelo não oferecem suporte às marcas de tipo '{0}'. + + + + MC4105: The text '{0}' is not allowed at this location within a template section. + MC4105: o texto '{0}' não é permitido neste local em uma seção de modelo. + + + + MC4104: The property '{0}' cannot be set as a property element on template. Only Triggers and Storyboards are allowed as property elements. + MC4104: a propriedade '{0}' não pode ser definida como um elemento de propriedade no modelo. Somente Triggers e Storyboards são permitidos como elementos de propriedade. + + + + MC7004: Empty token encountered while parsing. + MC7004: encontrado um token vazio durante a análise. + + + + MC7003: Extra data encountered after token while parsing. + MC7003: dados adicionais encontrados após o token durante a análise. + + + + MC7002: Missing end quote encountered while parsing token. + MC7002: encontrada uma aspa de fechamento faltando durante a análise do token. + + + + MC7001: Premature string termination encountered. + MC7001: encontrado um término prematuro da cadeia de caracteres. + + + + UidManager + UidManager + + + + UM1003: Uid is missing for element '{0}'. + UM1003: Uid ausente para elemento '{0}'. + + + + Unknown build error, '{0}' + Erro de compilação desconhecido, '{0}' + + + + MC6013: {0}:ClassModifier="{1}" is not valid for the language {2}. + MC6013: {0}:ClassModifier="{1}" não é válido para o idioma {2}. + + + + MC6002: Unrecognized tag '{0}:{1}' in namespace 'http://schemas.microsoft.com/winfx/2006/xaml'. Note that tag names are case sensitive. + MC6002: marca não reconhecida '{0}:{1}' no namespace 'http://schemas.microsoft.com/winfx/2006/xaml'. Observe que os nomes de marca diferenciam maiúsculas e minúsculas. + + + + MC6007: '{1}' is not valid. '{0}' is not an event on '{2}'. + MC6007: '{1}' não é válido. '{0}' não é um evento em '{2}'. + + + + MC6014: {0}:FieldModifier="{1}" is not valid for the language {2}. + MC6014: {0}:FieldModifier="{1}" não é válido para o idioma {2}. + + + + MC6020: {0}:TypeArguments='{1}' is not valid on the tag '{2}'. Either '{2}' is not a generic type or the number of Type arguments in the attribute is wrong. Remove the {0}:TypeArguments attribute because it is allowed only on generic types, or fix its value to match the arity of the generic type '{2}'. + MC6020: {0}:TypeArguments='{1}' não é válido na marca '{2}'. '{2}' não é um tipo genérico ou o número de argumentos Type no atributo está errado. Remova o atributo {0}:TypeArguments porque ele só é permitido em tipos genéricos, ou corrija o valor para corresponder à paridade do tipo genérico '{2}'. + + + + MC6008: '{0}' is not installed properly on this machine. It must be listed in the <compilers> section of machine.config. + MC6008: '{0}' não está instalado adequadamente nesta máquina. Ele deve ser listado na seção <compilers> de machine.config. + + + + Unknown path operation attempted. + Tentativa de operação de caminho desconhecido. + + + + LC1003: Localization comment has no value set for target property: '{0}'. + LC1003: o comentário da localização não tem valor definido para a propriedade de destino: '{0}'. + + + + UpdateManifestForBrowserApplication + UpdateManifestForBrowserApplication + + + + MC4501: Major and minor version number components cannot be negative. + MC4501: os componentes de número da versão maior e menor não podem ser negativos. + + + + MC6000: Project file must include the .NET Framework assembly '{0}' in the reference list. + MC6000: o arquivo de propriedade deve incluir o assembly .NET Framework '{0}' na lista de referência. + + + + MC1001: The LocalizationDirectivesToLocFile property value is not valid and must be changed to None, CommentsOnly, or All for the MarkupCompilePass1 task. + MC1001: o valor de propriedade LocalizationDirectivesToLocFile não é válido e deve ser alterado para None, CommentsOnly ou All para a tarefa MarkupCompilePass1. + + + + BG1003: The project file contains a property value that is not valid. + BG1003: o arquivo de projeto contém um valor de propriedade não válido. + + + + MC4602: Choice cannot follow a Fallback. + MC4602: Choice não pode seguir Fallback. + + + + MC4606: AlternateContent must contain one or more Choice elements. + MC4606: AlternateContent deve conter um ou mais elementos Choice. + + + + MC4601: Choice valid only in AlternateContent. + MC4601: Choice válido somente em AlternateContent. + + + + MC4640: Namespace '{0}' is marked as compatible with itself using XmlnsCompatibilityAttribute. A namespace cannot directly or indirectly override itself. + MC4640: O namespace '{0}' está marcado como compatível com ele mesmo usando XmlnsCompatibilityAttribute. Um namespace não pode substituir a ele mesmo direta ou indiretamente. + + + + MC4631: Duplicate Preserve declaration for element '{1}' in namespace '{0}'. + MC4631: declaração Preserve duplicada para elemento '{1}' no namespace '{0}'. + + + + MC4617: Duplicate ProcessContent declaration for element '{1}' in namespace '{0}'. + MC4617: declaração ProcessContent duplicada para elemento '{1}' no namespace '{0}'. + + + + MC4633: Duplicate wildcard Preserve declaration for namespace '{0}'. + MC4633: declaração Preserve curinga duplicada para namespace '{0}'. + + + + MC4619: Duplicate wildcard ProcessContent declaration for namespace '{0}'. + MC4619: declaração ProcessContent curinga duplicada para namespace '{0}'. + + + + MC4605: Fallback valid only in AlternateContent. + MC4605: Fallback válido somente em AlternateContent. + + + + MC4610: '{0}' element is not a valid child of AlternateContent. Only Choice and Fallback elements are valid children of an AlternateContent element. + MC4610: o elemento '{0}' não é um filho válido de AlternateContent. Somente os elementos Choice e Fallback são filhos válidos de um elemento AlternateContent. + + + + MC4608: '{0}' attribute is not valid for element '{1}'. + MC4608: o atributo {0}' não é válido para o elemento '{1}'. + + + + MC4611: '{0}' format is not valid. + MC4611: o formato '{0}' não é válido. + + + + MC4632: Cannot have both a specific and a wildcard Preserve declaration for namespace '{0}'. + MC4632: não é possível ter uma declaração Preserve específica e curinga para namespace '{0}'. + + + + MC4618: Cannot have both a specific and a wildcard ProcessContent declaration for namespace '{0}'. + MC4618: não é possível ter uma declaração ProcessContent específica e curinga para namespace '{0}'. + + + + MC4604: Requires attribute must contain a valid namespace prefix. + MC4604: o atributo Requires deve conter um prefixo de namespace válido. + + + + MC4634: '{0}' attribute value is not a valid XML name. + MC4634: o valor de atributo '{0}' não é um nome XML válido. + + + + MC4607: AlternateContent must contain only one Fallback element. + MC4607: AlternateContent deve conter somente um elemento Fallback. + + + + MC4626: MustUnderstand condition failed on namespace '{0}'. + MC4626: falha na condição MustUnderstand no namespace '{0}'. + + + + MC4630: Namespace '{0}' has items declared to be preserved but is not declared ignorable. + MC4630: o namespace '{0}' tem itens declarados a serem preservados, mas não é declarado ignorável. + + + + MC4615: '{0}' namespace is declared ProcessContent but is not declared Ignorable. + MC4615: o namespace '{0}' é declarado ProcessContent, mas não é declarado Ignorable. + + + + MC4603: Choice must contain a Requires attribute. + MC4603: Choice deve conter um atributo Requires. + + + + MC4612: '{0}' prefix is not defined. + MC4612: o prefixo '{0}' não está definido. + + + + MC4614: Unrecognized compatibility attribute '{0}'. + MC4614: atributo de compatibilidade '{0}' não reconhecido. + + + + MC4609: Unrecognized compatibility element '{0}'. + MC4609: elemento de compatibilidade '{0}' não reconhecido. + + + + MC4502: The feature ID string cannot have length 0. + MC4502: a cadeia de caracteres da ID do recurso não pode ter comprimento 0. + + + + + \ No newline at end of file diff --git a/src/Microsoft.DotNet.Wpf/src/PresentationBuildTasks/Resources/xlf/Strings.ru.xlf b/src/Microsoft.DotNet.Wpf/src/PresentationBuildTasks/Resources/xlf/Strings.ru.xlf new file mode 100644 index 00000000000..2c4d759e96d --- /dev/null +++ b/src/Microsoft.DotNet.Wpf/src/PresentationBuildTasks/Resources/xlf/Strings.ru.xlf @@ -0,0 +1,1242 @@ + + + + + + Analysis Result : '{0}'. + Результат анализа: "{0}". + + + + MC1002: Library project file cannot specify ApplicationDefinition element. + MC1002: в файле проекта библиотеки нельзя указывать элемент ApplicationDefinition. + + + + Input: Markup ApplicationDefinition file: '{0}'. + Входные данные: файл ApplicationDefinition разметки: "{0}". + + + + MC6015: '{0}' cannot be set on the '{1}:{2}' tag. + MC6015: нельзя задать "{0}" в теге "{1}:{2}". + + + + UM1001: Unrecognized UidManager task name '{0}'. + UM1001: нераспознанное имя задачи UidManager "{0}". + + + + Checking Uids in file '{0}' ... + Проверка кодов Uid в файле "{0}" ... + + + + Generated localization directives file: '{0}' . + Генерация файла директив локализации: "{0}". + + + + Generating localization directives file: '{0}' ... + Генерация файла директив локализации: "{0}" ... + + + + Markup compilation is done. + Компиляция разметки завершена. + + + + MarkupCompilePass1 successfully generated BAML or source code files. + Успешная генерация файлов BAML или исходного кода в MarkupCompilePass1. + + + + MarkupCompilePass2 successfully generated BAML or source code files. + Успешная генерация файлов BAML или исходного кода в MarkupCompilePass2. + + + + MC6011: '{0}' event has a generic event handler delegate type '{1}'. The type parameters of '{1}' cannot be bound with an appropriate type argument because the containing tag '{2}' is not a generic type. + MC6011: для события "{0}" имеется общий тип делегата обработчика событий "{1}". Параметры типа "{1}" не могут быть привязаны к аргументу подходящего типа, поскольку содержащий тег "{2}" не является общим типом. + + + + Current project directory is '{0}'. + Текущий каталог проекта: "{0}". + + + + MC6022: Only a root tag can specify attribute '{0}:{1}'. + MC6022: атрибут "{0}:{1}" может быть указан только в корневом теге. + + + + MC6010: '{0}:{1}' cannot be specified as the root element. + MC6010: "{0}:{1}" не может быть указан как корневой элемент. + + + + MC6004: '{0}:{1}' contains '{2}'. '{0}:{1}' can contain only a CDATA or text section. + MC6004: "{0}:{1}" содержит "{2}". "{0}:{1}" может содержать только разделы CDATA или текстовый. + + + + Started the markup compilation. + Компиляция разметки начата. + + + + MC6030: {0}="{1}" is not valid. '{0}' event attribute value cannot be a string that is empty or has only white space. + MC6030: недопустимое значение {0}="{1}". Значение атрибута события "{0}" не может быть строкой, которая пуста или содержит только пробелы. + + + + MC6021: {0}:FieldModifier cannot be specified on this tag because it has either no {0}:Name or Name attribute set, or the tag is locally defined and has a Name attribute set, which is not allowed. + MC6021: невозможно задать {0}:FieldModifier в данном теге, так как у него либо не заданы {0}:Name или атрибут Name, либо тег определен локально и для него задан атрибут Name, что не допускается. + + + + FileClassifier + FileClassifier + + + + BG1002: File '{0}' cannot be found. + BG1002: не удается найти файл "{0}". + + + + Input file '{0}' is resolved to new relative path '{1}' at directory '{2}'. + Входной файл "{0}" сопоставлен с новым относительным путем "{1}" в каталоге "{2}". + + + + UM1004: {0} files failed Uid check. + UM1004: проверка Uid не прошла для следующего числа файлов: {0}. + + + + Uids valid in {0} files. + Допустимые коды Uid в {0} файлах. + + + + Uids removed from {0} files. + Коды Uid удалены из {0} файлов. + + + + Uids updated in {0} files. + Коды Uid обновлены в {0} файлах. + + + + Generated BAML file: '{0}'. + Сгенерирован файл BAML: "{0}". + + + + Generated code file: '{0}'. + Сгенерирован файл кода: "{0}". + + + + GetWinFXPath + GetWinFXPath + + + + MC6003: '{0}:{1}' contains '{2}'. '{0}:{1}' cannot contain nested content. + MC6003: "{0}:{1}" содержит "{2}". В "{0}:{1}" не может быть вложенного содержимого. + + + + UM1006: '{0}' directory does not exist and cannot be created. + UM1006: каталог "{0}" не существует и не может быть создан. + + + + InternalTypeHelper class is not required for this project, make file '{0}' empty. + Для данного проекта класс InternalTypeHelper не требуется, сделайте пустой файл "{0}". + + + + MC6018: '{0}' class name is not valid for the locally defined XAML root element. + MC6018: недопустимое имя класса "{0}" для локально определенного корневого элемента XAML. + + + + MC6019: '{0}' namespace is not valid for the locally defined XAML root element '{1}'. + MC6019: недопустимое пространство имен "{0}" для локально определенного корневого элемента XAML "{1}". + + + + MC6027: {0}:{1}="{2}" is not valid. '{2}' is not a valid {3}class name. + MC6027: недопустимая строка {0}:{1}="{2}". "{2}" является недопустимым именем класса {3}. + + + + FC1001: The UICulture value '{0}' set in the project file is not valid. + FC1001: в файле проекта задано недопустимое значение UICulture "{0}". + + + + MC4402: Serializer does not support custom BAML serialization operations. + MC4402: сериализатор не поддерживает нестандартные операции сериализации BAML. + + + + MC4401: Serializer does not support Convert operations. + MC4401: сериализатор не поддерживает операции Convert. + + + + MC6029: '{0}' name is not valid in the default namespace '{1}'. Correct the RootNamespace tag value in the project file. + MC6029: недопустимое имя "{0}" в пространстве имен по умолчанию "{1}". Исправьте значение тега RootNamespace в файле проекта. + + + + MC6005: {0}="{1}" is not valid. '{1}' is not a valid event handler method name. Only instance methods on the generated or code-behind class are valid. + MC6005: недопустимая строка {0}="{1}". Недопустимое имя метода обработчика событий "{1}". Разрешены только методы экземпляра для сгенерированного класса или класса кода программной части. + + + + LC1001: Localization comment target property is not valid in string '{0}'. + LC1001: недопустимое конечное свойство примечания локализации в строке "{0}". + + + + LC1002: Localization comment value is not valid for target property '{0}' in string '{1}'. + LC1002: недопустимое значение примечания локализации для конечного свойства "{0}" в строке "{1}". + + + + LC1004: Localizability attribute setting '{0}' is not valid. + LC1004: недопустимое значение атрибута возможности локализации "{0}". + + + + MC6001: Markup file is not valid. Specify a source markup file with an .xaml extension. + MC6001: недопустимый файл разметки. Укажите исходный файл разметки с расширением .xaml. + + + + MC6028: {0}:TypeArguments="{1}" is not valid. '{2}' is not a valid type name reference for the generic argument at position '{3}'. + MC6028: недопустимая строка {0}:TypeArguments="{1}". Недопустимая ссылка на имя типа "{2}" для общего аргумента в позиции "{3}". + + + + MC3000: '{0}' XML is not valid. + MC3000: недопустимый код XML "{0}". + + + + MC6023: Because '{0}' is implemented in the same assembly, you must set the {1}:Name attribute rather than the Name attribute. + MC6023: реализация "{0}" сделана в той же сборке, поэтому необходимо задать атрибут {1}:Name, а не атрибут Name. + + + + Input: Local reference markup ApplicationDefinition file is '{0}'. + Входные данные: файл ApplicationDefinition для разметки локальных ссылок - "{0}". + + + + Generated BAML file: '{0}'. + Сгенерирован файл BAML: "{0}". + + + + Input: Local reference markup Page file: '{0}'. + Входные данные: файл Page для разметки локальных ссылок - "{0}". + + + + MarkupCompilePass1 + MarkupCompilePass1 + + + + MarkupCompilePass2 + MarkupCompilePass2 + + + + MC6012: '{0}' event has a generic event handler delegate type '{1}'. The type parameter '{2}' on '{1}' does not match any type parameters on the containing generic tag '{3}'. + MC6012: в событии "{0}" используется тип делегата "{1}" для общего обработчика событий. Параметр типа "{2}" для "{1}" не соответствует ни одному из параметров типа в содержащем общем теге "{3}". + + + + MergeLocalizationDirectives + MergeLocalizationDirectives + + + + MC6026: '{0}' root element requires a {1}:Class attribute because '{2}' contains a {1}:Code tag. Either remove {1}:Code and its contents, or add a {1}:Class attribute to the root element. + MC6026: корневой элемент "{0}" требует атрибута {1}:Class, так как "{2}" содержит тег {1}:Code. Либо удалите тег {1}:Code и его содержимое, либо добавьте в корневой элемент атрибут {1}:Class. + + + + MC6024: '{0}' root element requires a {1}:Class attribute to support event handlers in the XAML file. Either remove the event handler for the {2} event, or add a {1}:Class attribute to the root element. + MC6024: корневой элемент "{0}" требует атрибута {1}:Class для поддержки обработчиков событий в файле XAML. Либо удалите обработчик событий для события {2}, либо добавьте в корневой элемент атрибут {1}:Class. + + + + MC6025: '{0}' root element is a generic type and requires a {1}:Class attribute to support the {1}:TypeArguments attribute specified on the root element tag. + MC6025: корневой элемент "{0}" имеет базовый тип и требует атрибута {1}:Class для поддержки атрибута {1}:TypeArguments, указанного в теге корневого элемента. + + + + MC6031: {0}:FieldModifier attribute cannot be specified because a {0}:Class attribute is also required to generate a Name field with the specified access modifier. Either add a {0}:Class attribute on the root tag or remove the {0}:FieldModifier attribute. + MC6031: невозможно указать атрибут {0}:FieldModifier, так как для генерации поля Name с указанным модификатором доступа требуется еще и атрибут {0}:Class. Либо добавьте атрибут {0}:Class для корневого тега, либо удалите атрибут {0}:FieldModifier. + + + + MC6009: {0}:ClassModifier attribute cannot be specified on the root tag because a {0}:Class attribute is also required. Either add a {0}:Class attribute or remove the {0}:ClassModifier attribute. + MC6009: невозможно указать атрибут {0}:ClassModifier для корневого тега, так как требуется еще и атрибут {0}:Class. Либо добавьте атрибут {0}:Class, либо удалите атрибут {0}:ClassModifier. + + + + MC6016: {0}:Class attribute is missing. It is required when a {0}:Subclass attribute is specified. + MC6016: отсутствует атрибут {0}:Class. Этот атрибут обязателен, когда указан атрибут {0}:Subclass. + + + + RG1002: ResourcesGenerator can generate only one .resources file at a time. The OutputResourcesFile property in the project file must be set to one file. + RG1002: ResourcesGenerator позволяет генерировать только по одному файлу .resources за раз. Для свойства OutputResourcesFile в файле проекта необходимо задать значение в один файл. + + + + MC1004: Project file cannot specify more than one SplashScreen element. + MC1004. Невозможно указать более одного элемента SplashScreen в файле проекта. + + + + UM1002: Uid "{0}" for element '{1}' is not unique. + UM1002: код Uid "{0}" для элемента "{1}" не является уникальным. + + + + MC1003: Project file cannot specify more than one ApplicationDefinition element. + MC1003: в файле проекта нельзя указывать более одного элемента ApplicationDefinition. + + + + A '{0}' is named '{1}'. Do not name ResourceDictionary contents because their instantiation is deferred. + "{0}" имеет имя "{1}". Не именовать контент ResourceDictionary, поскольку его создание отложено. + + + + BG1001: Unknown CLS exception. + BG1001: неизвестное исключение CLS. + + + + OutputType is '{0}'. + Тип OutputType равен "{0}". + + + + MC3001: TypeConverter syntax error encountered while processing initialization string '{0}'. Property elements are not allowed on objects created via TypeConverter. + MC3001: при обработке строки инициализации "{0}" обнаружена синтаксическая ошибка TypeConverter. Использование элементов свойств не допускается в объектах, созданных посредством TypeConverter. + + + + MC3099: Cannot load assembly '{0}' because a different version of that same assembly is loaded '{1}'. + MC3099: невозможно загрузить сборку "{0}", поскольку другая версия этой же сборки уже загружена "{1}". + + + + MC3002: The AsyncRecords attribute must be set on the root tag. + MC3002: необходимо задать атрибут AsyncRecords в корневом теге. + + + + MC3015: The attached property '{0}' is not defined on '{1}' or one of its base classes. + MC3015: присоединенное свойство "{0}" не определено в "{1}" или в одном из базовых классов. + + + + MC3003: There are too many attributes specified for '{0}'. + MC3003: для "{0}" указано слишком много атрибутов. + + + + MC3004: There are not enough attributes specified for '{0}'. + MC3004: для "{0}" указано недостаточно атрибутов. + + + + MC3005: The property '{0}' must be in the default namespace or in the element namespace '{1}'. + MC3005: свойство "{0}" должно лежать в пространстве имен по умолчанию или в пространстве имен элемента "{1}". + + + + MC3006: Mapper.SetAssemblyPath cannot accept an empty assemblyName. + MC3006: Mapper.SetAssemblyPath не может принять пустое имя assemblyName. + + + + MC3007: Mapper.SetAssemblyPath cannot accept an empty assemblyPath. + MC3007: Mapper.SetAssemblyPath не может принять пустой путь assemblyPath. + + + + MC3008: An element of type '{0}' cannot be set on the complex property '{1}'. They are not compatible types. + MC3008: элемент типа "{0}" нельзя задать для сложного свойства "{1}". Типы несовместимы. + + + + MC3009: Cannot find a public constructor for '{0}' that takes {1} arguments. + MC3009: для "{0}" не удается найти общий конструктор, принимающий аргументы {1}. + + + + MC3012: A key for a dictionary cannot be of type '{0}'. Only String, TypeExtension, and StaticExtension are supported. + MC3012: ключ словаря не может иметь тип "{0}". Поддерживаются только типы String, TypeExtension и StaticExtension. + + + + MC3029: '{0}' member is not valid because it does not have a qualifying type name. + MC3029: член "{0}" не является допустимым, так как не имеет соответствующего имени типа. + + + + MC3010: '{0}' Name property value is not valid. Name must start with a letter or an underscore and can contain only letters, digits, and underscores. + MC3010: недопустимое значение свойства Name для "{0}". Имя Name может содержать только буквы, цифры и знаки подчеркивания, причем первой должна стоять буква или знак подчеркивания. + + + + MC3094: Cannot convert string value '{0}' to type '{1}'. + MC3094: не удается преобразовать строковое значение "{0}" в тип "{1}". + + + + MC3013: SynchronousMode property value is not valid. Valid values are Async and Sync. + MC3013: недопустимое значение свойства SynchronousMode. Разрешены значения Async и Sync. + + + + MC3014: The object being added to an array property is not a valid type. The array is of type '{0}' but the object being added is of type '{1}'. + MC3014: недопустимый тип объекта, добавляемого в свойства массива. Массив имеет тип "{0}", а добавляемый объект имеет тип "{1}". + + + + MC3079: MarkupExtensions are not allowed for Uid or Name property values, so '{0}' is not valid. + MC3079: MarkupExtensions не разрешены для значений свойства Uid или Name, поэтому значение "{0}" недопустимо. + + + + MC3089: The object '{0}' already has a child and cannot add '{1}'. '{0}' can accept only one child. + MC3089: у объекта "{0}" уже есть дочерний объект, добавление "{1}" невозможно. "{0}" может иметь только один дочерний объект. + + + + MC3028: Cannot add content to object of type '{0}'. + MC3028: не удается добавить содержимое в объект типа "{0}". + + + + MC3081: '{0}' is a read-only property of type IList or IDictionary and cannot be set because it does not have a public or internal get accessor. + MC3081: "{0}" является свойством только для чтения типа IList или IDictionary и не может быть задано, так как у него нет общей или внутренней функции доступа get. + + + + MC3080: The {0} '{1}' cannot be set because it does not have an accessible {2} accessor. + MC3080: невозможно задать {0} "{1}", так как отсутствует доступная функция доступа {2}. + + + + MC3087: Cannot set content property '{0}' on element '{1}'. '{0}' has incorrect access level or its assembly does not allow access. + MC3087: невозможно задать свойство содержимого "{0}" для элемента "{1}", так как "{0}" имеет неверный уровень доступа или его сборке доступ не разрешен. + + + + MC3082: '{0}' cannot be set as the value of a Trigger's Property attribute because it does not have a public or internal get accessor. + MC3082: невозможно задать "{0}", так как у значения атрибута Property для Trigger нет общей или внутренней функции доступа get. + + + + MC3016: Two new namespaces cannot be compatible with the same old namespace using an XmlnsCompatibility attribute.�'{0}' namespace is already marked compatible with '{1}'. + MC3016: два новых пространства имен не могут быть совместимыми с прежним пространством имен при использовании атрибута XmlnsCompatibility.�Пространство имен "{0}" уже помечено как совместимое с "{1}". + + + + MC3088: Property elements cannot be in the middle of an element's content. They must be before or after the content. + MC3088: элементы свойств не могут находиться в середине содержимого элемента. Они должны быть размещены до или после содержимого. + + + + MC3017: 'Code' tag from xaml namespace found in XAML file. To load this file, you must compile it. + MC3017: в файле xaml обнаружен тег "Code" из пространства имен XAML. Для загрузки этого файла его необходимо скомпилировать. + + + + MC3061: The Element type '{0}' does not have an associated TypeConverter to parse the string '{1}'. + MC3061: тип элемента "{0}" не имеет связанного TypeConverter для синтаксического анализа строки "{1}". + + + + MC3018: Cannot modify data in a sealed XmlnsDictionary. + MC3018: изменение данных в запечатанном словаре XmlnsDictionary невозможно. + + + + MC3020: The dictionary key '{0}' is already used. Key attributes are used as keys when inserting objects into a dictionary and must be unique. + MC3020: ключ словаря "{0}" уже используется. Атрибуты Key используются в качестве ключей при вставке объектов в словарь и должны быть уникальными. + + + + MC3033: The property '{0}' has already been set on this markup extension and can only be set once. + MC3033: свойство "{0}" уже задано в данном расширении разметки и может быть задано только один раз. + + + + MC3024: '{0}' property has already been set and can be set only once. + MC3024: свойство "{0}" уже задано и может быть задано только один раз. + + + + MC3025: Property '{0}' and '{1}' refer to the same property. Duplicate property settings are not allowed. + MC3025: свойство "{0}" и "{1}" ссылаются на одно и то же свойство. Дублирование установок свойств не разрешается. + + + + MC3026: '{0}' property element cannot be empty. It must contain child elements or text. + MC3026: элемент свойства "{0}" не может быть пустым. Он должен содержать дочерние элементы или текст. + + + + MC3027: The EntityReference &{0}; is not recognized. + MC3027: нераспознанная ссылка EntityReference &{0};. + + + + MC3083: Cannot access the delegate type '{0}' for the '{1}' event. '{0}' has incorrect access level or its assembly does not allow access. + MC3083: нет доступа к делегированному типу "{0}" для события "{1}". "{0}" имеет неправильный уровень доступа или его сборке доступ не разрешен. + + + + MC3030: '{0}' property is a read-only IEnumerable property, which means that '{1}' must implement IAddChild. + MC3030: свойство "{0}" является свойством IEnumerable, доступным только для чтения, поэтому "{1}" должен реализовывать IAddChild. + + + + MC3078: Invalid ContentPropertyAttribute on type '{0}', property '{1}' not found. + MC3078: недопустимый атрибут ContentPropertyAttribute для типа "{0}", свойство "{1}" не найдено. + + + + Known type value {0}='{1}' is not a valid known type. + Значение известного типа {0}="{1}" не является допустимым известным типом. + + + + MC3011: Cannot find the static member '{0}' on the type '{1}'. + MC3011: не удается найти статический член "{0}" типа "{1}". + + + + MC3031: Keys and values in XmlnsDictionary must be strings. + MC3031: ключи и значения в XmlnsDictionary должны быть строками. + + + + Line {0} Position {1} + Строка {0} позиция {1} + + + + MC3037: Missing XmlNamespace, Assembly or ClrNamespace in Mapping instruction. + MC3037: в инструкции Mapping пропущены XmlNamespace, Assembly или ClrNamespace. + + + + '{0}' mapping URI is not valid. + Недопустимый "{0}", сопоставляющий URI. + + + + MC3040: Format is not valid for MarkupExtension that specifies constructor arguments in '{0}'. + MC3040: недопустимый формат для MarkupExtension, в котором аргументы конструктора заданы в "{0}". + + + + MC3041: Markup extensions require a single '=' between name and value, and a single ',' between constructor parameters and name/value pairs. The arguments '{0}' are not valid. + MC3041: расширения разметки требуют одного знака равенства ("=") между именем и значением и одной запятой (",") между параметрами конструктора и парами имен и значений. Аргументы "{0}" недопустимы. + + + + MC3091: '{0}' is not valid. Markup extensions require only spaces between the markup extension name and the first parameter. Cannot have comma or equals sign before the first parameter. + MC3091: недопустимый аргумент "{0}". Расширения разметки требуют только пробелов между именем расширения разметки и первым параметром. Наличие запятой или знака равенства до первого параметра не допускаются. + + + + MC8001: Encountered a closing BracketCharacter '{0}' at Line Number '{1}' and Line Position '{2}' without a corresponding opening BracketCharacter. + MC8001: обнаружен закрывающий символ BracketCharacter "{0}" в строке "{1}" и позиции "{2}" без соответствующего открывающего символа BracketCharacter. + + + + MC8002: BracketCharacter '{0}' at Line Number '{1}' and Line Position '{2}' does not have a corresponding opening/closing BracketCharacter. + MC8002: символ BracketCharacter "{0}" в строке "{1}" и позиции "{2}" не имеет соответствующего открывающего или закрывающего символа BracketCharacter. + + + + MC3038: MarkupExtension expressions must end with a '}'. + MC3038: выражения MarkupExtension должны оканчиваться фигурной скобкой "}". + + + + MC3042: Name/value pairs in MarkupExtensions must have the format 'Name = Value' and each pair is separated by a comma. '{0}' does not follow this format. + MC3042: пары имен и значений в MarkupExtensions должны иметь формат "Имя = Значение", и каждая пара отделяется запятой. "{0}" не соответствует этому формату. + + + + MC3043: Names and Values in a MarkupExtension cannot contain quotes. The MarkupExtension arguments '{0}' are not valid. + MC3043: имена и значения в MarkupExtension не могут содержать кавычки. Недопустимые аргументы MarkupExtension "{0}". + + + + MC3044: The text '{1}' is not allowed after the closing '{0}' of a MarkupExtension expression. + MC3044: текст "{1}" не разрешен после закрывающей "{0}" в выражении MarkupExtension. + + + + MC3045: Unknown property '{0}' for type '{1}' encountered while parsing a Markup Extension. + MC3045: обнаружено неизвестное свойство "{0}" для типа "{1}" при синтаксическом анализе Markup Extension. + + + + MC3046: Unknown attribute '{0}' in the '{1}' namespace. Note that only the Key attribute is currently supported in this namespace. + MC3046: неизвестный атрибут "{0}" в пространстве имен "{1}". В этом пространстве имен в настоящее время поддерживается только атрибут Key. + + + + MC3047: Internal parser error - Cannot use multiple writable BAML records at the same time. + MC3047: внутренняя ошибка синтаксического анализатора - не удается одновременно использовать несколько записей BAML, доступных для записи. + + + + '{0}' property element cannot be nested directly inside another property element. + Элемент свойства "{0}" не может быть вложен непосредственно в другой элемент свойства. + + + + MC3049: Cannot place attributes on Array tags. + MC3049: невозможно разместить атрибуты в тегах Array. + + + + MC3021: Asynchronous loading is not supported when compiling a XAML file, so a SynchronousMode of '{0}' is not allowed. + MC3021: асинхронная загрузка не поддерживается при компиляции файла XAML, поэтому значение SynchronousMode "{0}" не допускается. + + + + MC3051: The type '{0}' does not support element content. + MC3051: тип "{0}" не поддерживает содержимое элемента. + + + + MC3022: All objects added to an IDictionary must have a Key attribute or some other type of key associated with them. + MC3022: все объекты, добавленные в IDictionary, должны иметь связанный с ними атрибут Key или другой тип ключа. + + + + MC3023: The Key attribute can only be used on a tag contained in a Dictionary (such as a ResourceDictionary). + MC3023: атрибут Key можно использовать только в теге, содержащемся в Dictionary (например, ResourceDictionary). + + + + MC3032: '{1}' cannot be used as a value for '{0}'. Numbers are not valid enumeration values. + MC3032: "{1}" нельзя использовать в качестве значения для "{0}". Числа не являются допустимыми значениями перечисления. + + + + MC3053: Cannot use property element syntax to specify event handler '{0}'. + MC3053: синтаксис элемента свойства нельзя использовать для задания обработчика событий "{0}". + + + + MC3052: XAML file that contains events must be compiled. + MC3052: файл XAML, содержащий события, необходимо скомпилировать. + + + + MC3054: The type '{0}' cannot have a Name attribute. Value types and types without a default constructor can be used as items within a ResourceDictionary. + MC3054: тип "{0}" не может иметь атрибут Name. Типы значений и типы без заданного по умолчанию конструктора можно использовать как элементы внутри ResourceDictionary. + + + + MC3093: Cannot set Name attribute value '{0}' on element '{1}'. '{1}' is under the scope of element '{2}', which already had a name registered when it was defined in another scope. + MC3093: значение атрибута Name "{0}" невозможно задать для элемента "{1}", так как он находится в области элемента "{2}", в котором уже были зарегистрированы имена в то время, когда он был определен в другой области. + + + + MC3056: No NamespaceURI is defined for the object '{0}'. + MC3056: для объекта "{0}" не определен ни один NamespaceURI. + + + + MC3084: Cannot nest XML data islands. + MC3084: вложение островов данных XML не допускается. + + + + MC3057: Cannot set properties on property elements. + MC3057: задание свойств для элементов свойств не допускается. + + + + MC3058: Cannot find a custom serializer for '{0}' so it cannot be parsed. + MC3058: не удается найти нестандартный сериализатор для "{0}", синтаксический анализ невозможен. + + + + MC3059: Style setters do not support child elements. A tag of type '{0}' is not allowed. + MC3059: присвоители стилей не поддерживают дочерние элементы. Тег типа "{0}" является недопустимым. + + + + MC3050: Cannot find the type '{0}'. Note that type names are case sensitive. + MC3050: не удается найти тип "{0}". Имена типов вводятся с учетом регистра букв. + + + + MC3048: '{0}' value is not a valid MarkupExtension expression. Cannot resolve '{1}' in namespace '{2}'. '{1}' must be a subclass of MarkupExtension. + MC3048: значение "{0}" не является допустимым расширением MarkupExtension. Не удается определить "{1}" в пространстве имен "{2}". "{1}" должно быть подклассом MarkupExtension. + + + + MC3062: '{0}' XML namespace prefix does not map to a NamespaceURI, so element '{1}' cannot be resolved. + MC3062: префикс пространства имен XML "{0}" не сопоставлен с NamespaceURI, поэтому не удается определить элемент "{1}". + + + + MC3100: '{0}' XML namespace prefix does not map to a namespace URI, so cannot resolve property '{1}'. + MC3100: префикс пространства имен XML "{0}" не соотносится с URI пространства имен, поэтому не удается разрешить свойство "{1}". + + + + MC3063: Property '{0}' does not have a value. + MC3063: у свойства "{0}" нет значения. + + + + MC3064: Only public or internal classes can be used within markup. '{0}' type is not public or internal. + MC3064: в разметке допускается использовать только общие или внутренние классы. Тип "{0}" не является общим или внутренним. + + + + MC3065: '{0}' property is read-only and cannot be set from markup. + MC3065: свойство "{0}" доступно только для чтения, его невозможно задать из разметки. + + + + MC3066: The type reference cannot find a public type named '{0}'. + MC3066: ссылке на тип не удается найти общий тип с именем "{0}". + + + + MC3019: Cannot reference the static member '{0}' on the type '{1}' as it is not accessible. + MC3019: не удается сослаться на статический член "{0}" типа "{1}", так как он недоступен. + + + + MC3067: SynchronousMode attribute must be on the root tag. + MC3067: атрибут SynchronousMode необходимо указывать для корневого тега. + + + + MC3069: Cannot have both the text '{0}' and the child element '{1}' within a property element. + MC3069: невозможно одновременно включить текст "{0}" и дочерний элемент "{1}" в элемент свойства. + + + + MC3068: Text is not valid under an IDictionary or Array property. + MC3068: недопустимый текст в свойстве IDictionary или Array. + + + + MC3070: A single XAML file cannot reference more than 4,096 different assemblies. + MC3070: один файл XAML не может ссылаться на более чем 4096 различных сборок. + + + + MC3095: Close tag must immediately follow TypeConverter initialization string '{0}'. + MC3095: закрывающий тег должен следовать сразу же за строкой инициализации "{0}" класса TypeConverter. + + + + MC3090: TypeConverter syntax error encountered while processing initialization string '{0}'. Element attributes are not allowed on objects created via TypeConverter. + MC3090: при обработке строки инициализации "{0}" обнаружена синтаксическая ошибка TypeConverter. Использование атрибутов свойств не допускается в объектах, созданных посредством TypeConverter. + + + + MC3071: '{0}' is an undeclared namespace. + MC3071: "{0}" является необъявленным пространством имен. + + + + MC3072: The property '{0}' does not exist in XML namespace '{1}'. + MC3072: свойство "{0}" не существует в пространстве имен XML "{1}". + + + + MC3073: The attribute '{0}' does not exist in XML namespace 'http://schemas.microsoft.com/winfx/2006/xaml'. + MC3073: атрибут "{0}" не существует в пространстве имен XML "http://schemas.microsoft.com/winfx/2006/xaml". + + + + MC3074: The tag '{0}' does not exist in XML namespace '{1}'. + MC3074: тег "{0}" не существует в пространстве имен XML "{1}". + + + + MC3075: Unrecognized XML node type '{0}' found when determining if the current tag is a property element. + MC3075: обнаружен нераспознанный тип узла XML "{0}" при попытке определить, является ли текущий тег элементом свойства. + + + + MC3086: Parent element or property '{0}' requires an XML data island. To distinguish an XML island from surrounding XAML, wrap the XML data island in <x:XData> ... </x:XData>. + MC3086: для родительского элемента или свойства "{0}" требуется область данных XML. Чтобы выделить область XML из окружающего текста XAML, заключите область данных XML в теги <x:XData> ... </x:XData>. + + + + MC3085: '{0}' element or property cannot contain an XML data island. + MC3085: элемент или свойство "{0}" не может содержаться в области данных XML. + + + + MC3092: XmlLangProperty attribute must specify a property name. + MC3092: атрибут XmlLangProperty должен указывать имя свойства. + + + + MC3077: The class '{0}' does not implement IXmlLineInfo. This is required to get position information for the XAML being parsed. + MC3077: в классе "{0}" нет реализации IXmlLineInfo. Она требуется для получения сведений о позиции в анализируемом документе XAML. + + + + MC3098: Unexpected token '{0}' at position '{1}'. + MC3098: неожиданный маркер "{0}" в позиции "{1}". + + + + MC3096: Token is not valid. + MC3096: недопустимый маркер. + + + + Preparing for the markup compilation... + Подготовка компиляции разметки... + + + + MC4301: Type name '{0}' does not have the expected format 'className, assembly'. + MC4301: имя типа "{0}" не имеет ожидаемый формат "имя_класса, сборка". + + + + Reading Resource file: '{0}'... + Чтение файла Resource: "{0}"... + + + + Recompiled XAML file : '{0}'. + Перекомпилированный файл XAML: "{0}". + + + + Input: Assembly Reference file: '{0}'. + Входное значение: файл Reference для сборки: "{0}". + + + + Resource ID is '{0}'. + Код ресурса - "{0}". + + + + RG1001: Input resource file '{0}' exceeds maximum size of {1} bytes. + RG1001: входной файл ресурсов "{0}" превышает максимальную длину в {1} байт. + + + + Generated .resources file: '{0}'. + Сгенерирован файл .resources: "{0}". + + + + Generating .resources file: '{0}'... + Генерация файла .resources: "{0}"... + + + + ResourcesGenerator + ResourcesGenerator + + + + MC6006: {0}.{1}="{2}" is not valid. '{1}' must be a RoutedEvent registered with a name that ends with the keyword "Event". + MC6006: недопустимая строка {0}.{1}="{2}". Для применения этого синтаксиса {1} должно быть событием RoutedEvent, зарегистрированным с именем, оканчивающимся на ключевое слово "Event". + + + + UM1005: You must pass markup files to the task. + UM1005: необходимо передать файлы разметки задаче. + + + + MC4110: SourceName property cannot be set within Style.Triggers section. + MC4110: свойство SourceName невозможно задать в разделе Style.Triggers. + + + + MC4001: Style does not support both {0} tags and Style.{1} property tags for a single Style. Use one or the other. + MC4001: одновременное использование в Style тегов {0} и тегов свойств Style.{1} для одного Style не поддерживается. Используйте одно из двух. + + + + MC4002: The Style property tag '{0}' can only be specified directly under a Style tag. + MC4002: тег свойства Style "{0}" можно указывать только непосредственно внутри тега Style. + + + + MC4005: Cannot find the Style {0} '{1}' on the type '{2}'. + MC4005: не удается найти Style {0} "{1}" типа "{2}". + + + + MC4003: Cannot resolve the Style {0} '{1}'. Verify that the owning type is the Style's TargetType, or use Class.Property syntax to specify the {0}. + MC4003: не удается разрешить Style {0} "{1}". Проверьте, что тип-владелец - TargetType объекта Style, или с помощью синтаксиса Class.Property задайте {0}. + + + + MC4004: Style cannot contain child '{0}'. Style child must be a Setter because it is added to the Setters collection. + MC4004: Style не может содержать дочерние объекты "{0}". Дочерний объект для Style должен быть типа Setter, так как он добавляется в семейство Setters. + + + + MC4006: Tags of type '{0}' are not supported in Style sections. + MC4006: теги типа "{0}" не поддерживаются в разделах Style. + + + + MC4007: The event '{0}' cannot be specified on a Target tag in a Style. Use an EventSetter instead. + MC4007: невозможно указать событие "{0}" в теге Target внутри Style. Вместо этого используйте EventSetter. + + + + MC4008: The text '{0}' is not allowed at this location within a Style section. + MC4008: текст "{0}" не разрешен в этом месте в разделе Style. + + + + MC4009: The property '{0}' cannot be set on Style. + MC4009: невозможно задать свойство "{0}" для Style. + + + + MC6017: '{0}' cannot be the root of a XAML file because it was defined using XAML. + MC6017: "{0}" не может быть корнем файла XAML, так как при его определении использовался язык XAML. + + + + BG1004: Target Type '{0}' is not supported by this task. + BG1004: конечный тип "{0}" не поддерживается данной задачей. + + + + MC4011: TargetName property cannot be set on a Style Setter. + MC4011: свойство TargetName не может быть задано для типа Style Setter. + + + + + Copyright (C) Microsoft Corporation 2005. All rights reserved. + © Корпорация Майкрософт (Microsoft Corporation), 2005. Все права защищены. + + + + MC4101: The Name '{0}' has already been defined. Names must be unique. + MC4101: имя Name "{0}" уже было определено. Имена Name должны быть уникальными. + + + + MC4108: The root of a Template content section cannot contain an element of type '{0}'. Only FrameworkElement and FrameworkContentElement types are valid. + MC4108: тег элемента типа "{0}" не может содержаться в корне раздела содержимого шаблона. Допустимы только типы FrameworkElement и FrameworkContentElement. + + + + MC4103: The template property tag '{0}' can only be specified immediately after a ControlTemplate tag. + MC4103: тег свойства шаблона "{0}" может быть указан только сразу после тега ControlTemplate. + + + + MC4107: A template can have only a single root element. '{0}' is not allowed. + MC4107: шаблон может иметь только один корневой элемент. "{0}" не является допустимым. + + + + MC4109: Cannot find the Template Property '{0}' on the type '{1}'. + MC4109: не удается найти свойство шаблона "{0}" типа "{1}". + + + + MC4106: Cannot resolve the Template Property '{0}'. Verify that the owning type is the Style's TargetType, or use Class.Property syntax to specify the property. + MC4106: не удается разрешить свойство шаблона "{0}". Проверьте, что тип-владелец - TargetType объекта Style, или с помощью синтаксиса Class.Property задайте данное свойство. + + + + MC4111: Cannot find the Trigger target '{0}'. (The target must appear before any Setters, Triggers, or Conditions that use it.) + MC4111: не удается найти цель "{0}" для Trigger. (Цель должна быть указана раньше, чем любые Setters, Triggers или Conditions, которые ее используют.) + + + + MC4102: Tags of type '{0}' are not supported in template sections. + MC4102: теги типа "{0}" не поддерживаются в разделах шаблона. + + + + MC4105: The text '{0}' is not allowed at this location within a template section. + MC4105: текст "{0}" не разрешен в данном месте в разделе шаблона. + + + + MC4104: The property '{0}' cannot be set as a property element on template. Only Triggers and Storyboards are allowed as property elements. + MC4104: невозможно задать свойство "{0}" как элемент свойства в шаблоне. Элементами свойств могут быть только Triggers и Storyboards. + + + + MC7004: Empty token encountered while parsing. + MC7004: при синтаксическом анализе обнаружена пустая лексема. + + + + MC7003: Extra data encountered after token while parsing. + MC7003: при синтаксическом анализе обнаружены лишние данные после лексемы. + + + + MC7002: Missing end quote encountered while parsing token. + MC7002: при синтаксическом анализе лексемы обнаружена пропущенная закрывающая кавычка. + + + + MC7001: Premature string termination encountered. + MC7001: обнаружено преждевременное завершение строки. + + + + UidManager + UidManager + + + + UM1003: Uid is missing for element '{0}'. + UM1003: для элемента "{0}" отсутствует Uid. + + + + Unknown build error, '{0}' + Неизвестная ошибка сборки, "{0}" + + + + MC6013: {0}:ClassModifier="{1}" is not valid for the language {2}. + MC6013: недопустимая строка {0}:ClassModifier="{1}" для языка {2}. + + + + MC6002: Unrecognized tag '{0}:{1}' in namespace 'http://schemas.microsoft.com/winfx/2006/xaml'. Note that tag names are case sensitive. + MC6002: нераспознанный тег "{0}:{1}" в пространстве имен "http://schemas.microsoft.com/winfx/2006/xaml". Имена тегов вводятся с учетом регистра. + + + + MC6007: '{1}' is not valid. '{0}' is not an event on '{2}'. + MC6007: недопустимое значение "{1}". "{0}" не является событием на "{2}". + + + + MC6014: {0}:FieldModifier="{1}" is not valid for the language {2}. + MC6014: недопустимая строка {0}:FieldModifier="{1}" для языка {2}. + + + + MC6020: {0}:TypeArguments='{1}' is not valid on the tag '{2}'. Either '{2}' is not a generic type or the number of Type arguments in the attribute is wrong. Remove the {0}:TypeArguments attribute because it is allowed only on generic types, or fix its value to match the arity of the generic type '{2}'. + MC6020: строка {0}:TypeArguments="{1}" является недопустимой для тега "{2}". Либо "{2}" не является универсальным типом, либо указано неправильное число аргументов Type в атрибуте. Удалите атрибут {0}:TypeArguments, так как он допустим только для универсальных типов, или исправьте их число, чтобы оно соответствовало арности универсального типа {2}. + + + + MC6008: '{0}' is not installed properly on this machine. It must be listed in the <compilers> section of machine.config. + MC6008: установка "{0}" на данном компьютере выполнена некорректно. В разделе <compilers> файла machine.config должна быть соответствующая строка. + + + + Unknown path operation attempted. + Попытка выполнения операции с неизвестным путем. + + + + LC1003: Localization comment has no value set for target property: '{0}'. + LC1003: в примечании локализации не задано значение конечного свойства: "{0}". + + + + UpdateManifestForBrowserApplication + UpdateManifestForBrowserApplication + + + + MC4501: Major and minor version number components cannot be negative. + MC4501: компоненты номера основной и вспомогательной версии не могут быть отрицательными. + + + + MC6000: Project file must include the .NET Framework assembly '{0}' in the reference list. + MC6000: в списке ссылок файла проекта должна быть включена сборка .NET Framework "{0}". + + + + MC1001: The LocalizationDirectivesToLocFile property value is not valid and must be changed to None, CommentsOnly, or All for the MarkupCompilePass1 task. + MC1001: значение свойства LocalizationDirectivesToLocFile для задачи MarkupCompilePass1 недопустимо и должно быть заменено на None, CommentsOnly или All. + + + + BG1003: The project file contains a property value that is not valid. + BG1003: файл проекта содержит недопустимое значение свойства. + + + + MC4602: Choice cannot follow a Fallback. + MC4602: элемент Choice не может стоять после элемента Fallback. + + + + MC4606: AlternateContent must contain one or more Choice elements. + MC4606: элемент AlternateContent должен содержать не менее одного элемента Choice. + + + + MC4601: Choice valid only in AlternateContent. + MC4601: элемент Choice допустим только в элементе AlternateContent. + + + + MC4640: Namespace '{0}' is marked as compatible with itself using XmlnsCompatibilityAttribute. A namespace cannot directly or indirectly override itself. + MC4640: Пространство имен'{0}' помечено как совместимое с самим собой с использованием XmlnsCompatibilityAttribute. Пространство имен не может явным или неявным образом переопределять себя. + + + + MC4631: Duplicate Preserve declaration for element '{1}' in namespace '{0}'. + MC4631: повторяющееся объявление Preserve для элемента "{1}" в пространстве имен "{0}". + + + + MC4617: Duplicate ProcessContent declaration for element '{1}' in namespace '{0}'. + MC4617: повторяющееся объявление ProcessContent для элемента "{1}" в пространстве имен "{0}". + + + + MC4633: Duplicate wildcard Preserve declaration for namespace '{0}'. + MC4633: повторяющееся объявление Preserve с подстановочными знаками для пространства имен "{0}". + + + + MC4619: Duplicate wildcard ProcessContent declaration for namespace '{0}'. + MC4619: повторяющееся объявление ProcessContent с подстановочными знаками для пространства имен "{0}". + + + + MC4605: Fallback valid only in AlternateContent. + MC4605: элемент Fallback допустим только в элементе AlternateContent. + + + + MC4610: '{0}' element is not a valid child of AlternateContent. Only Choice and Fallback elements are valid children of an AlternateContent element. + MC4610: элемент "{0}" не является допустимым дочерним элементом AlternateContent. Дочерними элементами для элемента AlternateContent могут быть только элементы Choice и Fallback. + + + + MC4608: '{0}' attribute is not valid for element '{1}'. + MC4608: недопустимый атрибут "{0}" элемента "{1}". + + + + MC4611: '{0}' format is not valid. + MC4611: недопустимый формат "{0}". + + + + MC4632: Cannot have both a specific and a wildcard Preserve declaration for namespace '{0}'. + MC4632: нельзя одновременно иметь объявления Preserve с подстановочными знаками и явное для пространства имен "{0}". + + + + MC4618: Cannot have both a specific and a wildcard ProcessContent declaration for namespace '{0}'. + MC4618: нельзя одновременно иметь объявления ProcessContent с подстановочными знаками и явное для пространства имен "{0}". + + + + MC4604: Requires attribute must contain a valid namespace prefix. + MC4604: атрибут Requires должен содержать допустимый префикс пространства имен. + + + + MC4634: '{0}' attribute value is not a valid XML name. + MC4634: значение атрибута "{0}" не является допустимым XML-именем. + + + + MC4607: AlternateContent must contain only one Fallback element. + MC4607: в AlternateContent должен содержаться только один элемент Fallback. + + + + MC4626: MustUnderstand condition failed on namespace '{0}'. + MC4626: сбой условия MustUnderstand на пространстве имен "{0}". + + + + MC4630: Namespace '{0}' has items declared to be preserved but is not declared ignorable. + MC4630: в пространстве имен "{0}" есть объекты, объявленные как сохраняемые, но оно не объявлено как Ignorable. + + + + MC4615: '{0}' namespace is declared ProcessContent but is not declared Ignorable. + MC4615: пространство имен "{0}" объявлено как ProcessContent, но не объявлено как Ignorable. + + + + MC4603: Choice must contain a Requires attribute. + MC4603: Choice должен содержать атрибут Requires. + + + + MC4612: '{0}' prefix is not defined. + MC4612: префикс "{0}" не определен. + + + + MC4614: Unrecognized compatibility attribute '{0}'. + MC4614: нераспознанный атрибут совместимости "{0}". + + + + MC4609: Unrecognized compatibility element '{0}'. + MC4609: нераспознанный элемент совместимости "{0}". + + + + MC4502: The feature ID string cannot have length 0. + MC4502: строка кода свойства не должна иметь нулевую длину. + + + + + \ No newline at end of file diff --git a/src/Microsoft.DotNet.Wpf/src/PresentationBuildTasks/Resources/xlf/Strings.tr.xlf b/src/Microsoft.DotNet.Wpf/src/PresentationBuildTasks/Resources/xlf/Strings.tr.xlf new file mode 100644 index 00000000000..713218ccd1a --- /dev/null +++ b/src/Microsoft.DotNet.Wpf/src/PresentationBuildTasks/Resources/xlf/Strings.tr.xlf @@ -0,0 +1,1242 @@ + + + + + + Analysis Result : '{0}'. + Çözümleme Sonucu : '{0}'. + + + + MC1002: Library project file cannot specify ApplicationDefinition element. + MC1002: Kitaplık proje dosyası ApplicationDefinition öğesi belirtemez. + + + + Input: Markup ApplicationDefinition file: '{0}'. + Giriş: İşaretleme ApplicationDefinition dosyası: '{0}'. + + + + MC6015: '{0}' cannot be set on the '{1}:{2}' tag. + MC6015: '{0}' '{1}:{2}' etiketinde ayarlanamaz. + + + + UM1001: Unrecognized UidManager task name '{0}'. + UM1001: Tanınmayan UidManager görev adı '{0}'. + + + + Checking Uids in file '{0}' ... + '{0}' dosyasındaki Uid'ler denetleniyor ... + + + + Generated localization directives file: '{0}' . + Oluşturulan yerelleştirme yönergeleri dosyası: '{0}' . + + + + Generating localization directives file: '{0}' ... + Yerelleştirme yönergeleri dosyası oluşturuluyor: '{0}' ... + + + + Markup compilation is done. + İşaretleme derlemesi tamamlandı. + + + + MarkupCompilePass1 successfully generated BAML or source code files. + MarkupCompilePass1, BAML veya kaynak kodu dosyalarını başarıyla oluşturdu. + + + + MarkupCompilePass2 successfully generated BAML or source code files. + MarkupCompilePass2 BAML veya kaynak kodu dosyalarını başarıyla oluşturdu. + + + + MC6011: '{0}' event has a generic event handler delegate type '{1}'. The type parameters of '{1}' cannot be bound with an appropriate type argument because the containing tag '{2}' is not a generic type. + MC6011: '{0}' olayı genel bir olay işleyicisi temsilci türü '{1}' içeriyor. İçeren etiket '{2}' genel türde olduğundan, '{1}' tür parametreleri uygun bir tür bağımsız değişkenine bağlanamaz. + + + + Current project directory is '{0}'. + Geçerli proje dizini '{0}'. + + + + MC6022: Only a root tag can specify attribute '{0}:{1}'. + MC6022: Yalnızca bir kök etiket öznitelik belirtebilir '{0}:{1}'. + + + + MC6010: '{0}:{1}' cannot be specified as the root element. + MC6010: '{0}:{1}' kök öğe olarak belirtilemez. + + + + MC6004: '{0}:{1}' contains '{2}'. '{0}:{1}' can contain only a CDATA or text section. + MC6004: '{0}:{1}' öğesi '{2}' içeriyor. '{0}:{1}' yalnızca CDATA veya metin bölümü içerebilir. + + + + Started the markup compilation. + İşaretleme derlemesi başlatıldı. + + + + MC6030: {0}="{1}" is not valid. '{0}' event attribute value cannot be a string that is empty or has only white space. + MC6030: {0}="{1}" geçerli değil. '{0}' olay öznitelik değeri boş olan veya yalnızca boşluk içeren bir dize olamaz. + + + + MC6021: {0}:FieldModifier cannot be specified on this tag because it has either no {0}:Name or Name attribute set, or the tag is locally defined and has a Name attribute set, which is not allowed. + MC6021: {0}:Name veya Name özniteliği kümesi olmadığı ya da etiket yerel olarak tanımlanmadığı ve izin verilmeyen bir Name özniteliği kümesine sahip olduğu için {0}:FieldModifier bu etikette belirtilemiyor. + + + + FileClassifier + FileClassifier + + + + BG1002: File '{0}' cannot be found. + BG1002: '{0}' dosyası bulunamıyor. + + + + Input file '{0}' is resolved to new relative path '{1}' at directory '{2}'. + '{0}' giriş dosyası '{2}' dizininde yeni '{1}' göreli yoluna çözümlendi. + + + + UM1004: {0} files failed Uid check. + UM1004: {0} dosya Uid denetiminde başarısız oldu. + + + + Uids valid in {0} files. + {0} dosyadaki Uid'ler geçerli. + + + + Uids removed from {0} files. + {0} dosyadan Uid'ler kaldırıldı. + + + + Uids updated in {0} files. + {0} dosyada Uid'ler güncelleştirildi. + + + + Generated BAML file: '{0}'. + Oluşturulan BAML dosyası: '{0}'. + + + + Generated code file: '{0}'. + Oluşturulan kod dosyası: '{0}'. + + + + GetWinFXPath + GetWinFXPath + + + + MC6003: '{0}:{1}' contains '{2}'. '{0}:{1}' cannot contain nested content. + MC6003: '{0}:{1}' öğesi '{2}' içeriyor. '{0}:{1}' iç içe geçmiş içerik içeremez. + + + + UM1006: '{0}' directory does not exist and cannot be created. + UM1006: '{0}' dizini yok ve oluşturulamıyor. + + + + InternalTypeHelper class is not required for this project, make file '{0}' empty. + InternalTypeHelper sınıfı bu proje için gerekli değil, '{0}' dosyasını boşaltın. + + + + MC6018: '{0}' class name is not valid for the locally defined XAML root element. + MC6018: '{0}' sınıf adı yerel olarak tanımlanmış XAML kök öğesi için geçerli değil. + + + + MC6019: '{0}' namespace is not valid for the locally defined XAML root element '{1}'. + MC6019: '{0}' ad alanı yerel olarak tanımlanmış XAML kök öğesi '{1}' için geçerli değil. + + + + MC6027: {0}:{1}="{2}" is not valid. '{2}' is not a valid {3}class name. + MC6027: {0}:{1}="{2}" geçerli değil. '{2}' geçerli bir {3}sınıf adı değil. + + + + FC1001: The UICulture value '{0}' set in the project file is not valid. + FC1001: Proje dosyasında belirlenen UICulture değeri '{0}' geçerli değil. + + + + MC4402: Serializer does not support custom BAML serialization operations. + MC4402: Serileştirici özel BAML serileştirme işlemlerini desteklemiyor. + + + + MC4401: Serializer does not support Convert operations. + MC4401: Seri hale getirici Convert işlemlerini desteklemiyor. + + + + MC6029: '{0}' name is not valid in the default namespace '{1}'. Correct the RootNamespace tag value in the project file. + MC6029: '{0}' adı '{1}' varsayılan ad alanında geçerli değil. Proje dosyasında RootNamespace etiket değerini düzeltin. + + + + MC6005: {0}="{1}" is not valid. '{1}' is not a valid event handler method name. Only instance methods on the generated or code-behind class are valid. + MC6005: {0}="{1}" geçerli değil. '{1}' geçerli bir olay işleyicisi metot adı değil. Yalnızca, oluşturulan veya kod ardında bulunan sınıftaki örnek metotları geçerlidir. + + + + LC1001: Localization comment target property is not valid in string '{0}'. + LC1001: Yerelleştirme açıklama hedefi özelliği '{0}' dizesinde geçerli değil. + + + + LC1002: Localization comment value is not valid for target property '{0}' in string '{1}'. + LC1002: Yerelleştirme açıklaması değeri '{1}' dizesindeki '{0}' hedef özelliği için geçerli değil. + + + + LC1004: Localizability attribute setting '{0}' is not valid. + LC1004: Yerelleştirilebilirlik öznitelik ayarı '{0}' geçerli değil. + + + + MC6001: Markup file is not valid. Specify a source markup file with an .xaml extension. + MC6001: İşaretleme dosyası geçerli değil. Uzantısı .xaml olan bir kaynak işaretleme dosyası belirtin. + + + + MC6028: {0}:TypeArguments="{1}" is not valid. '{2}' is not a valid type name reference for the generic argument at position '{3}'. + MC6028: {0}:TypeArguments="{1}" geçerli değil. '{2}', '{3}' konumundaki genel bağımsız değişken için geçerli bir tür adı başvurusu değil. + + + + MC3000: '{0}' XML is not valid. + MC3000: '{0}' XML geçerli değil. + + + + MC6023: Because '{0}' is implemented in the same assembly, you must set the {1}:Name attribute rather than the Name attribute. + MC6023: '{0}' aynı bütünleştirilmiş kodda yürütüldüğü için, Name özniteliği yerine {1}:Name özniteliğini ayarlamanız gerekir. + + + + Input: Local reference markup ApplicationDefinition file is '{0}'. + Giriş: Yerel başvuru işaretleme ApplicationDefinition dosyası '{0}'. + + + + Generated BAML file: '{0}'. + Oluşturulan BAML dosyası: '{0}'. + + + + Input: Local reference markup Page file: '{0}'. + Giriş: Yerel başvuru işaretleme Page dosyası: '{0}'. + + + + MarkupCompilePass1 + MarkupCompilePass1 + + + + MarkupCompilePass2 + MarkupCompilePass2 + + + + MC6012: '{0}' event has a generic event handler delegate type '{1}'. The type parameter '{2}' on '{1}' does not match any type parameters on the containing generic tag '{3}'. + MC6012: '{0}' olayı genel bir olay işleyicisi temsilci türü '{1}' içeriyor. '{1}' öğesindeki tür parametresi '{2}' içeren '{3}' genel etiketindeki herhangi bir tür parametresiyle eşleşmiyor. + + + + MergeLocalizationDirectives + MergeLocalizationDirectives + + + + MC6026: '{0}' root element requires a {1}:Class attribute because '{2}' contains a {1}:Code tag. Either remove {1}:Code and its contents, or add a {1}:Class attribute to the root element. + MC6026: '{2}' bir {1}:Code etiketi içerdiğinden '{0}' kök öğesi için bir {1}:Class özniteliği gerekiyor. {1}:Code öğesini ve içeriğini kaldırın veya kök öğeye {1}:Class özniteliği ekleyin. + + + + MC6024: '{0}' root element requires a {1}:Class attribute to support event handlers in the XAML file. Either remove the event handler for the {2} event, or add a {1}:Class attribute to the root element. + MC6024: '{0}' kök öğesinin XAML dosyasındaki olay işleyicilerini desteklemesi için {1}:Class özniteliği gerekiyor. {2} olayının olay işleyicisini kaldırın veya kök öğeye {1}:Class özniteliği ekleyin. + + + + MC6025: '{0}' root element is a generic type and requires a {1}:Class attribute to support the {1}:TypeArguments attribute specified on the root element tag. + MC6025: '{0}' kök öğesi genel türde ve kök öğe etiketinde belirtilen {1}:TypeArguments özniteliğini desteklemesi için {1}:Class özniteliği gerekiyor. + + + + MC6031: {0}:FieldModifier attribute cannot be specified because a {0}:Class attribute is also required to generate a Name field with the specified access modifier. Either add a {0}:Class attribute on the root tag or remove the {0}:FieldModifier attribute. + MC6031: Belirtilen erişim değiştiricisiyle bir Name alanı oluşturmak için bir {0}:Class özniteliği de gerektiğinden {0}:FieldModifier özniteliği belirtilemez. Kök etikete bir {0}:Class özniteliği ekleyin veya {0}:FieldModifier özniteliğini kaldırın. + + + + MC6009: {0}:ClassModifier attribute cannot be specified on the root tag because a {0}:Class attribute is also required. Either add a {0}:Class attribute or remove the {0}:ClassModifier attribute. + MC6009: Bir {0}:Class özniteliği de gerektiğinden {0}:ClassModifier özniteliği kök etikette belirtilemez. Bir {0}:Class özniteliği ekleyin veya {0}:ClassModifier özniteliğini kaldırın. + + + + MC6016: {0}:Class attribute is missing. It is required when a {0}:Subclass attribute is specified. + MC6016: {0}:Class özniteliği eksik. Bu öznitelik bir {0}:Subclass özniteliği belirtildiğinde gereklidir. + + + + RG1002: ResourcesGenerator can generate only one .resources file at a time. The OutputResourcesFile property in the project file must be set to one file. + RG1002: ResourcesGenerator bir kerede yalnızca bir .resources dosyası oluşturabilir. Proje dosyasındaki OutputResourcesFile özelliği bir dosyaya ayarlanmalıdır. + + + + MC1004: Project file cannot specify more than one SplashScreen element. + MC1004: Proje dosyası birden fazla SplashScreen öğesi belirtemez. + + + + UM1002: Uid "{0}" for element '{1}' is not unique. + UM1002: '{1}' öğesi için "{0}" Uid'si benzersiz değil. + + + + MC1003: Project file cannot specify more than one ApplicationDefinition element. + MC1003: Proje dosyası birden fazla ApplicationDefinition öğesi belirtemez. + + + + A '{0}' is named '{1}'. Do not name ResourceDictionary contents because their instantiation is deferred. + Bir '{0}' '{1}' olarak adlandırılmış. Örneklerinin oluşturulması gecikmeli olduğundan ResourceDictionary içeriğini adlandırmayın. + + + + BG1001: Unknown CLS exception. + BG1001: Bilinmeyen CLS özel durumu. + + + + OutputType is '{0}'. + OutputType '{0}'. + + + + MC3001: TypeConverter syntax error encountered while processing initialization string '{0}'. Property elements are not allowed on objects created via TypeConverter. + MC3001: '{0}' dizesi başlatılırken TypeConverter sözdizimi hatasıyla karşılaşıldı. TypeConverter ile oluşturulan nesnelerde özellik öğelerine izin verilmez. + + + + MC3099: Cannot load assembly '{0}' because a different version of that same assembly is loaded '{1}'. + MC3099: Aynı bütünleştirilmiş kodun farklı bir sürümü yüklendiğinden '{0}' bütünleştirilmiş kodu yüklenemiyor '{1}'. + + + + MC3002: The AsyncRecords attribute must be set on the root tag. + MC3002: AsyncRecords özniteliği kök etikette ayarlanmalıdır. + + + + MC3015: The attached property '{0}' is not defined on '{1}' or one of its base classes. + MC3015: Eklenen '{0}' özelliği '{1}' üzerinde veya temel sınıflarından birinde tanımlı değil. + + + + MC3003: There are too many attributes specified for '{0}'. + MC3003: '{0}' için belirtilmiş çok fazla öznitelik var. + + + + MC3004: There are not enough attributes specified for '{0}'. + MC3004: '{0}' için belirtilmiş yeterli öznitelik yok. + + + + MC3005: The property '{0}' must be in the default namespace or in the element namespace '{1}'. + MC3005: '{0}' özelliği varsayılan ad alanında veya '{1}' öğe ad alanında olmalıdır. + + + + MC3006: Mapper.SetAssemblyPath cannot accept an empty assemblyName. + MC3006: Mapper.SetAssemblyPath boş bir assemblyName kabul edemez. + + + + MC3007: Mapper.SetAssemblyPath cannot accept an empty assemblyPath. + MC3007: Mapper.SetAssemblyPath boş bir assemblyPath kabul edemez. + + + + MC3008: An element of type '{0}' cannot be set on the complex property '{1}'. They are not compatible types. + MC3008: '{0}' türünde bir öğe '{1}' karmaşık özelliğinde ayarlanamaz. Bunlar uyumlu türler değildir. + + + + MC3009: Cannot find a public constructor for '{0}' that takes {1} arguments. + MC3009: '{0}' için {1} bağımsız değişken alan genel bir oluşturucu bulunamıyor. + + + + MC3012: A key for a dictionary cannot be of type '{0}'. Only String, TypeExtension, and StaticExtension are supported. + MC3012: Bir sözlük anahtarı '{0}' türünde olamaz. Yalnızca String, TypeExtension ve StaticExtension desteklenir. + + + + MC3029: '{0}' member is not valid because it does not have a qualifying type name. + MC3029: Niteleyici bir tür adı olmadığından '{0}' üyesi geçerli değil. + + + + MC3010: '{0}' Name property value is not valid. Name must start with a letter or an underscore and can contain only letters, digits, and underscores. + MC3010: '{0}' Name özellik değeri geçerli değil. Name bir harf veya alt çizgiyle başlamalıdır ve yalnızca harf, sayı ve alt çizgiler içerebilir. + + + + MC3094: Cannot convert string value '{0}' to type '{1}'. + MC3094: '{0}' dize değeri '{1}' türüne dönüştürülemiyor. + + + + MC3013: SynchronousMode property value is not valid. Valid values are Async and Sync. + MC3013: SynchronousMode özellik değeri geçerli değil. Geçerli değerler Async ve Sync değerleridir. + + + + MC3014: The object being added to an array property is not a valid type. The array is of type '{0}' but the object being added is of type '{1}'. + MC3014: Bir dizi özelliğine eklenen nesne geçerli türde değil. Dizi '{0}' türünde, ancak eklenen nesne '{1}' türünde. + + + + MC3079: MarkupExtensions are not allowed for Uid or Name property values, so '{0}' is not valid. + MC3079: Uid veya Name özellik değerleri için MarkupExtensions kullanılamaz, bu yüzden '{0}' geçerli değil. + + + + MC3089: The object '{0}' already has a child and cannot add '{1}'. '{0}' can accept only one child. + MC3089: '{0}' nesnesinin zaten alt öğesi var ve '{1}' eklemez. '{0}' yalnızca bir alt öğe kabul edebilir. + + + + MC3028: Cannot add content to object of type '{0}'. + MC3028: '{0}' türünde nesneye içerik eklenemez. + + + + MC3081: '{0}' is a read-only property of type IList or IDictionary and cannot be set because it does not have a public or internal get accessor. + MC3081: '{0}' IList veya IDictionary türünde salt okunur bir özelliktir ve genel veya iç alma erişenine sahip olmadığı için ayarlanamaz. + + + + MC3080: The {0} '{1}' cannot be set because it does not have an accessible {2} accessor. + MC3080: {0} '{1}' erişilebilir bir {2} erişenine sahip olmadığı için ayarlanamaz. + + + + MC3087: Cannot set content property '{0}' on element '{1}'. '{0}' has incorrect access level or its assembly does not allow access. + MC3087: '{1}' öğesinde '{0}' içerik özelliği ayarlanamaz. '{0}' yanlış erişim düzeyinde veya bütünleştirilmiş kodu erişime izin vermiyor. + + + + MC3082: '{0}' cannot be set as the value of a Trigger's Property attribute because it does not have a public or internal get accessor. + MC3082: '{0}' genel veya iç alma erişenine sahip olmadığı için bir Trigger Property özniteliği olarak ayarlanamaz. + + + + MC3016: Two new namespaces cannot be compatible with the same old namespace using an XmlnsCompatibility attribute.�'{0}' namespace is already marked compatible with '{1}'. + MC3016: İki yeni ad alanı, XmlnsCompatibility özniteliğini kullanan aynı eski ad alanıyla uyumlu olamaz.�'{0}' ad alanı zaten '{1}' ile uyumlu olarak işaretlenmiş. + + + + MC3088: Property elements cannot be in the middle of an element's content. They must be before or after the content. + MC3088: Özellik öğeleri bir öğenin içeriğinin ortasında olamaz. İçerikten önce veya sonra gelmelidirler. + + + + MC3017: 'Code' tag from xaml namespace found in XAML file. To load this file, you must compile it. + MC3017: XAML dosyasında xaml ad alanından 'Code' etiketi bulundu. Bu dosyayı yüklemek için, derlemeniz gerekir. + + + + MC3061: The Element type '{0}' does not have an associated TypeConverter to parse the string '{1}'. + MC3061: '{0}' öğe türü '{1}' dizesini ayrıştırmak için ilişkilendirilmiş bir TypeConverter'a sahip değil. + + + + MC3018: Cannot modify data in a sealed XmlnsDictionary. + MC3018: Korumalı bir XmlnsDictionary içindeki veriler değiştirilemez. + + + + MC3020: The dictionary key '{0}' is already used. Key attributes are used as keys when inserting objects into a dictionary and must be unique. + MC3020: '{0}' sözlük anahtarı zaten kullanılıyor. Anahtar öznitelikleri, bir sözlüğe nesne eklerken anahtar olarak kullanılırlar ve benzersiz olmaları gerekir. + + + + MC3033: The property '{0}' has already been set on this markup extension and can only be set once. + MC3033: '{0}' özelliği bu işaretleme uzantısında zaten ayarlanmış durumda ve yalnızca bir kez ayarlanabilir. + + + + MC3024: '{0}' property has already been set and can be set only once. + MC3024: '{0}' özelliği zaten ayarlanmış ve yalnızca bir kez ayarlanabilir. + + + + MC3025: Property '{0}' and '{1}' refer to the same property. Duplicate property settings are not allowed. + MC3025: '{0}' ve '{1}' özelliği aynı özelliğe başvuruda bulunuyor. Yinelenen özellik ayarlarına izin verilmez. + + + + MC3026: '{0}' property element cannot be empty. It must contain child elements or text. + MC3026: '{0}' özellik öğesi boş olamaz. Alt öğeler veya metin içermesi gerekir. + + + + MC3027: The EntityReference &{0}; is not recognized. + MC3027: EntityReference &{0}; tanınmıyor. + + + + MC3083: Cannot access the delegate type '{0}' for the '{1}' event. '{0}' has incorrect access level or its assembly does not allow access. + MC3083: '{1}' olayı için '{0}' temsilci türüne erişilemiyor. '{0}' yanlış erişim düzeyinde veya bütünleştirilmiş kodu erişime izin vermiyor. + + + + MC3030: '{0}' property is a read-only IEnumerable property, which means that '{1}' must implement IAddChild. + MC3030: '{0}' özelliği salt okunur bir IEnumerable özelliğidir ve buna göre '{1}' IAddChild uygulamalıdır. + + + + MC3078: Invalid ContentPropertyAttribute on type '{0}', property '{1}' not found. + MC3078: '{0}' türünde geçersiz ContentPropertyAttribute, özellik '{1}' bulunamadı. + + + + Known type value {0}='{1}' is not a valid known type. + Bilinen tür değeri{0}='{1}' geçerli bir bilinen tür değil. + + + + MC3011: Cannot find the static member '{0}' on the type '{1}'. + MC3011: '{1}' türünde statik üye '{0}' bulunamıyor. + + + + MC3031: Keys and values in XmlnsDictionary must be strings. + MC3031: XmlnsDictionary içindeki anahtarlar ve değerler dize olmalıdır. + + + + Line {0} Position {1} + Satır {0} Konum {1} + + + + MC3037: Missing XmlNamespace, Assembly or ClrNamespace in Mapping instruction. + MC3037: Mapping yönergesinde XmlNamespace, Assembly veya ClrNamespace. + + + + '{0}' mapping URI is not valid. + '{0}' eşleme URI'si geçerli değil. + + + + MC3040: Format is not valid for MarkupExtension that specifies constructor arguments in '{0}'. + MC3040: '{0}' içinde oluşturucu bağımsız değişkenleri belirten MarkupExtension için biçim geçerli değil. + + + + MC3041: Markup extensions require a single '=' between name and value, and a single ',' between constructor parameters and name/value pairs. The arguments '{0}' are not valid. + MC3041: İşaretleme uzantıları ad ve değer arasında tek bir '=' ve oluşturucu parametreleriyle ad/değer çiftleri arasında tek bir ',' gerektirir. '{0}' bağımsız değişkenleri geçerli değil. + + + + MC3091: '{0}' is not valid. Markup extensions require only spaces between the markup extension name and the first parameter. Cannot have comma or equals sign before the first parameter. + MC3091: '{0}' geçerli değil. İşaretleme uzantıları biçimlendirme uzantısı adıyla ilk parametre arasında yalnızca boşluklar olmasını gerektirir. İlk parametreden önce virgül veya eşittir işareti olamaz. + + + + MC8001: Encountered a closing BracketCharacter '{0}' at Line Number '{1}' and Line Position '{2}' without a corresponding opening BracketCharacter. + MC8001: '{1}' numaralı satırın '{2}' konumunda, karşılık gelen bir açılış ayracı olmayan '{0}' kapanış ayracı ile karşılaşıldı. + + + + MC8002: BracketCharacter '{0}' at Line Number '{1}' and Line Position '{2}' does not have a corresponding opening/closing BracketCharacter. + MC8002: '{1}' numaralı satırın '{2}' konumundaki '{0}' ayracı için karşılık gelen bir açılış/kapanış ayracı yok. + + + + MC3038: MarkupExtension expressions must end with a '}'. + MC3038: MarkupExtension ifadelerinin sonunda a '}' olmalıdır. + + + + MC3042: Name/value pairs in MarkupExtensions must have the format 'Name = Value' and each pair is separated by a comma. '{0}' does not follow this format. + MC3042: MarkupExtensions içindeki ad/değer çiftleri 'Ad = Değer' biçiminde olmalı ve her çift bir virgülle ayrılır. '{0}' bu biçime uymuyor. + + + + MC3043: Names and Values in a MarkupExtension cannot contain quotes. The MarkupExtension arguments '{0}' are not valid. + MC3043: MarkupExtension içindeki Adlar ve Değerler tırnak işareti içeremez. MarkupExtension bağımsız değişkenleri '{0}' geçerli değil. + + + + MC3044: The text '{1}' is not allowed after the closing '{0}' of a MarkupExtension expression. + MC3044: MarkupExtension ifadesinin '{0}' kapanışından sonra '{1}' metnine izin verilmez. + + + + MC3045: Unknown property '{0}' for type '{1}' encountered while parsing a Markup Extension. + MC3045: Markup Extension ayrıştırılırken '{1}' türü için bilinmeyen '{0}' özelliği bulundu. + + + + MC3046: Unknown attribute '{0}' in the '{1}' namespace. Note that only the Key attribute is currently supported in this namespace. + MC3046: '{1}' ad alanında bilinmeyen '{0}' özelliği. Bu ad alanında şu anda yalnızca Key özniteliğinin desteklendiğini unutmayın. + + + + MC3047: Internal parser error - Cannot use multiple writable BAML records at the same time. + MC3047: İç ayrıştırıcı hatası - Aynı anda birden fazla yazılabilir BAML kaydı kullanılamaz. + + + + '{0}' property element cannot be nested directly inside another property element. + '{0}' özellik öğesi doğrudan başka bir özellik öğesinin içinde basamak durumunda olamaz. + + + + MC3049: Cannot place attributes on Array tags. + MC3049: Array etiketlerine öznitelik yerleştirilemez. + + + + MC3021: Asynchronous loading is not supported when compiling a XAML file, so a SynchronousMode of '{0}' is not allowed. + MC3021: XAML dosyası derlenirken zaman uyumsuz yükleme desteklenmediği için, '{0}' türünde SynchronousMode'a izin verilmez. + + + + MC3051: The type '{0}' does not support element content. + MC3051: '{0}' türü öğe içeriğini desteklemez. + + + + MC3022: All objects added to an IDictionary must have a Key attribute or some other type of key associated with them. + MC3022: Bir IDictionary öğesine eklenen tüm nesnelerin bir Key özniteliği veya kendilerine atanmış başka tür anahtarı olması gerekir. + + + + MC3023: The Key attribute can only be used on a tag contained in a Dictionary (such as a ResourceDictionary). + MC3023: Key özniteliği yalnızca bir Dictionary içinde (örneğin ResourceDictionary) yer alan bir etikette kullanılabilir. + + + + MC3032: '{1}' cannot be used as a value for '{0}'. Numbers are not valid enumeration values. + MC3032: '{0}' için '{1}' değer olarak kullanılamaz. Sayılar geçerli sabit listesi değeri değildir. + + + + MC3053: Cannot use property element syntax to specify event handler '{0}'. + MC3053: '{0}' olay işleyicisini belirtmek için özellik öğesi sözdizimi kullanılamaz. + + + + MC3052: XAML file that contains events must be compiled. + MC3052: Olay içeren XAML dosyasının derlenmesi gerekir. + + + + MC3054: The type '{0}' cannot have a Name attribute. Value types and types without a default constructor can be used as items within a ResourceDictionary. + MC3054: '{0}' türü Name özniteliğine sahip olamaz. Değer türleri ve varsayılan oluşturucusu olmayan türler bir ResourceDictionary içinde öğe olarak kullanılabilir. + + + + MC3093: Cannot set Name attribute value '{0}' on element '{1}'. '{1}' is under the scope of element '{2}', which already had a name registered when it was defined in another scope. + MC3093: '{1}' öğesinde Name öznitelik değeri '{0}' ayarlanamaz. '{1}' öğesi, başka bir kapsamda tanımlandığı sırada zaten bir adı olan '{2}' öğesinin kapsamındadır. + + + + MC3056: No NamespaceURI is defined for the object '{0}'. + MC3056: '{0}' nesnesi için NamespaceURI tanımlanmadı. + + + + MC3084: Cannot nest XML data islands. + MC3084: XML veri adaları iç içe yerleştirilemez. + + + + MC3057: Cannot set properties on property elements. + MC3057: Özellik öğelerinde özellikler ayarlanamaz. + + + + MC3058: Cannot find a custom serializer for '{0}' so it cannot be parsed. + MC3058: '{0}' için özel bir seri hale getirici bulunamadığından ayrıştırılamıyor. + + + + MC3059: Style setters do not support child elements. A tag of type '{0}' is not allowed. + MC3059: Stil ayarlayıcılar alt öğeleri desteklemez. '{0}' türünde etikete izin verilmiyor. + + + + MC3050: Cannot find the type '{0}'. Note that type names are case sensitive. + MC3050: '{0}' türü bulunamıyor. Tür adlarında büyük/küçük harf ayrımı olduğunu unutmayın. + + + + MC3048: '{0}' value is not a valid MarkupExtension expression. Cannot resolve '{1}' in namespace '{2}'. '{1}' must be a subclass of MarkupExtension. + MC3048: '{0}' değeri geçerli bir MarkupExtension ifadesi değil. '{2}' ad alanında '{1}' çözümlenemiyor. '{1}' MarkupExtension'ın alt sınıfı olmalıdır. + + + + MC3062: '{0}' XML namespace prefix does not map to a NamespaceURI, so element '{1}' cannot be resolved. + MC3062: '{0}' XML ad alanı öneki bir NamespaceURI ile eşleşmediğinden '{1}' öğesi çözümlenemiyor. + + + + MC3100: '{0}' XML namespace prefix does not map to a namespace URI, so cannot resolve property '{1}'. + MC3100: '{0}' XML ad alanı öneki bir ad alanı URI'siyle eşlemediğinden '{1}' özelliği çözümlenemiyor. + + + + MC3063: Property '{0}' does not have a value. + MC3063: '{0}' özelliğinde değer yok. + + + + MC3064: Only public or internal classes can be used within markup. '{0}' type is not public or internal. + MC3064: İşaretleme içinde yalnızca genel veya iç sınıflar kullanılabilir. '{0}' türü genel veya iç tür değil. + + + + MC3065: '{0}' property is read-only and cannot be set from markup. + MC3065: '{0}' özelliği salt okunur ve işaretlemeden ayarlanamaz. + + + + MC3066: The type reference cannot find a public type named '{0}'. + MC3066: Tür başvurusu '{0}' adında genel bir tür bulamıyor. + + + + MC3019: Cannot reference the static member '{0}' on the type '{1}' as it is not accessible. + MC3019: '{1}' türündeki '{0}' statik üyesi erişilebilir durumda olmadığı için başvuruda bulunulamıyor. + + + + MC3067: SynchronousMode attribute must be on the root tag. + MC3067: SynchronousMode özniteliği kök etikette olmalıdır. + + + + MC3069: Cannot have both the text '{0}' and the child element '{1}' within a property element. + MC3069: Bir özellik öğesi içinde '{0}' metni ile '{1}' alt öğesi birlikte bulunamaz. + + + + MC3068: Text is not valid under an IDictionary or Array property. + MC3068: Metin bir IDictionary veya Array özelliği altında geçerli değil. + + + + MC3070: A single XAML file cannot reference more than 4,096 different assemblies. + MC3070: Tek bir XAML dosyası 4,096'dan fazla farklı derlemeye başvuruda bulunamaz. + + + + MC3095: Close tag must immediately follow TypeConverter initialization string '{0}'. + MC3095: Kapanış etiketi hemen TypeConverter başlatma dizesi '{0}' sonrasında olmalıdır. + + + + MC3090: TypeConverter syntax error encountered while processing initialization string '{0}'. Element attributes are not allowed on objects created via TypeConverter. + MC3090: '{0}' dizesi başlatılırken TypeConverter sözdizimi hatasıyla karşılaşıldı. TypeConverter ile oluşturulan nesnelerde öğe özniteliklerine izin verilmez. + + + + MC3071: '{0}' is an undeclared namespace. + MC3071: '{0}' bildirilmemiş bir ad alanıdır. + + + + MC3072: The property '{0}' does not exist in XML namespace '{1}'. + MC3072: '{0}' özelliği '{1}' XML ad alanında yok. + + + + MC3073: The attribute '{0}' does not exist in XML namespace 'http://schemas.microsoft.com/winfx/2006/xaml'. + MC3073: '{0}' özniteliği 'http://schemas.microsoft.com/winfx/2006/xaml' adresindeki XML ad alanında yok. + + + + MC3074: The tag '{0}' does not exist in XML namespace '{1}'. + MC3074: '{0}' etiketi '{1}' XML ad alanında yok. + + + + MC3075: Unrecognized XML node type '{0}' found when determining if the current tag is a property element. + MC3075: Geçerli etiketin bir özellik öğesi olup olmadığı belirlenirken tanınmayan XML düğüm türü '{0}' bulundu. + + + + MC3086: Parent element or property '{0}' requires an XML data island. To distinguish an XML island from surrounding XAML, wrap the XML data island in <x:XData> ... </x:XData>. + MC3086: Üst öğe veya '{0}' özelliği için bir XML veri adası gerekiyor. Bir XML veri adasını, çevreleyen XAML'den ayırmak için, XML veri adasını <x:XData> ... </x:XData> içine alın. + + + + MC3085: '{0}' element or property cannot contain an XML data island. + MC3085: '{0}' öğesi veya özelliği XML veri adası içeremez. + + + + MC3092: XmlLangProperty attribute must specify a property name. + MC3092: XmlLangProperty özniteliğinin bir özellik adı belirtmesi gerekir. + + + + MC3077: The class '{0}' does not implement IXmlLineInfo. This is required to get position information for the XAML being parsed. + MC3077: '{0}' sınıfı IXmlLineInfo uygulamaz. Bu, ayrıştırılan XAML için konum bilgisi almak için gereklidir. + + + + MC3098: Unexpected token '{0}' at position '{1}'. + MC3098: '{1}' konumunda beklenmeyen '{0}' belirteci. + + + + MC3096: Token is not valid. + MC3096: Belirteç geçerli değil. + + + + Preparing for the markup compilation... + İşaretleme derlemesi için hazırlanıyor... + + + + MC4301: Type name '{0}' does not have the expected format 'className, assembly'. + MC4301: '{0}' tür adı beklenen 'className, assembly' biçiminde değil. + + + + Reading Resource file: '{0}'... + Resource dosyası okunuyor: '{0}'... + + + + Recompiled XAML file : '{0}'. + XAML dosyası yeniden derlendi : '{0}'. + + + + Input: Assembly Reference file: '{0}'. + Giriş: Bütünleştirilmiş Kod Reference dosyası: '{0}'. + + + + Resource ID is '{0}'. + Kaynak Kimliği '{0}'. + + + + RG1001: Input resource file '{0}' exceeds maximum size of {1} bytes. + RG1001: '{0}' giriş kaynak dosyası {1} baytlık en fazla boyut sınırını aşıyor. + + + + Generated .resources file: '{0}'. + .resources dosyası oluşturuldu: '{0}'. + + + + Generating .resources file: '{0}'... + .resources dosyası oluşturuluyor: '{0}'... + + + + ResourcesGenerator + ResourcesGenerator + + + + MC6006: {0}.{1}="{2}" is not valid. '{1}' must be a RoutedEvent registered with a name that ends with the keyword "Event". + MC6006: {0}.{1}="{2}" geçerli değil. '{1}' "Event" anahtar sözcüğüyle biten bir adla kaydedilmiş bir RoutedEvent olmalıdır. + + + + UM1005: You must pass markup files to the task. + UM1005: Göreve işaretleme dosyaları geçirmeniz gerekir. + + + + MC4110: SourceName property cannot be set within Style.Triggers section. + MC4110: SourceName özelliği Style.Triggers bölümü içinde ayarlanamaz. + + + + MC4001: Style does not support both {0} tags and Style.{1} property tags for a single Style. Use one or the other. + MC4001: Style, tek bir Style için {0} etiketlerinin ve Style.{1} özellik etiketlerinin ikisini birden destelemiyor. Birini veya diğerini kullanın. + + + + MC4002: The Style property tag '{0}' can only be specified directly under a Style tag. + MC4002: Style özellik etiketi '{0}' yalnızca doğrudan bir Style etiketi altında belirtilebilir. + + + + MC4005: Cannot find the Style {0} '{1}' on the type '{2}'. + MC4005: '{2}' türünde Style {0} '{1}' bulunamıyor. + + + + MC4003: Cannot resolve the Style {0} '{1}'. Verify that the owning type is the Style's TargetType, or use Class.Property syntax to specify the {0}. + MC4003: Style {0} '{1}' çözümlenemiyor. Sahip olan türün Style'ın TargetType öğesi olduğunu doğrulayın veya {0} belirtmek için Class.Property sözdizimini kullanın. + + + + MC4004: Style cannot contain child '{0}'. Style child must be a Setter because it is added to the Setters collection. + MC4004: Style, '{0}' alt öğesini içeremez. Style alt öğesi Setters koleksiyonuna eklendiği için bir Setter olmalıdır. + + + + MC4006: Tags of type '{0}' are not supported in Style sections. + MC4006: '{0}' türünde etiketler Style bölümlerinde desteklenmez. + + + + MC4007: The event '{0}' cannot be specified on a Target tag in a Style. Use an EventSetter instead. + MC4007: '{0}' olayı bir Style içinde Target etiketinde belirtilemez. Bunun yerine EventSetter kullanın. + + + + MC4008: The text '{0}' is not allowed at this location within a Style section. + MC4008: Bir Style bölümü içinde bu konumda '{0}' metnine izin verilmez. + + + + MC4009: The property '{0}' cannot be set on Style. + MC4009: Style içinde '{0}' özelliği ayarlanamıyor. + + + + MC6017: '{0}' cannot be the root of a XAML file because it was defined using XAML. + MC6017: XAML kullanılarak tanımlandığı için, '{0}' bir XAML dosyasının kökü olamaz. + + + + BG1004: Target Type '{0}' is not supported by this task. + BG1004: '{0}' Hedef Türü bu görev tarafından desteklenmiyor. + + + + MC4011: TargetName property cannot be set on a Style Setter. + MC4011: TargetName özelliği bir Style Setter içinde ayarlanamaz. + + + + + Copyright (C) Microsoft Corporation 2005. All rights reserved. + Telif hakkı (C) Microsoft Corporation 2005. Tüm hakları saklıdır. + + + + MC4101: The Name '{0}' has already been defined. Names must be unique. + MC4101: Name '{0}' zaten tanımlanmış. Name değerleri benzersiz olmalıdır. + + + + MC4108: The root of a Template content section cannot contain an element of type '{0}'. Only FrameworkElement and FrameworkContentElement types are valid. + MC4108: Bir Template içerik bölümünün kökü '{0}' türünde öğe içeremez. Yalnızca FrameworkElement ve FrameworkContentElement türleri geçerlidir. + + + + MC4103: The template property tag '{0}' can only be specified immediately after a ControlTemplate tag. + MC4103: '{0}' şablon özellik etiketi yalnızca bir ControlTemplate etiketinden hemen sonra belirtilebilir. + + + + MC4107: A template can have only a single root element. '{0}' is not allowed. + MC4107: Bir şablonun yalnızca tek bir kök öğesi olabilir. '{0}' öğesine izin verilmiyor. + + + + MC4109: Cannot find the Template Property '{0}' on the type '{1}'. + MC4109: '{1}' türünde '{0}' Şablon Özelliği bulunamıyor. + + + + MC4106: Cannot resolve the Template Property '{0}'. Verify that the owning type is the Style's TargetType, or use Class.Property syntax to specify the property. + MC4106: '{0}' Şablon Özelliği çözümlenemiyor. Sahip olan türün Style'ın TargetType'ı olduğunu doğrulayın veya özelliği belirtmek için Class.Property sözdizimini kullanın. + + + + MC4111: Cannot find the Trigger target '{0}'. (The target must appear before any Setters, Triggers, or Conditions that use it.) + MC4111: Trigger hedefi '{0}' bulunamıyor. (Hedef kendisini kullanan tüm Setter, Trigger veya Condition'lardan önce olmalıdır.) + + + + MC4102: Tags of type '{0}' are not supported in template sections. + MC4102: '{0}' türünde etiketler şablon bölümlerinde desteklenmez. + + + + MC4105: The text '{0}' is not allowed at this location within a template section. + MC4105: Bir şablon bölümünde bu konumda '{0}' metnine izin verilmez. + + + + MC4104: The property '{0}' cannot be set as a property element on template. Only Triggers and Storyboards are allowed as property elements. + MC4104: '{0}' özelliği şablonda özellik öğesi olarak ayarlanamaz. Özellik öğesi olarak yalnızca Triggers ve Storyboards'a izin verilir. + + + + MC7004: Empty token encountered while parsing. + MC7004: Ayrıştırma sırasında boş belirteç bulundu. + + + + MC7003: Extra data encountered after token while parsing. + MC7003: Ayrıştırma sırasında, belirteçten sonra fazladan veri bulundu. + + + + MC7002: Missing end quote encountered while parsing token. + MC7002: Belirteç ayrıştırılırken eksik bitiş tırnak işareti bulundu. + + + + MC7001: Premature string termination encountered. + MC7001: Erken dize sonu bulundu. + + + + UidManager + UidManager + + + + UM1003: Uid is missing for element '{0}'. + UM1003: '{0}' öğesi için Uid eksik. + + + + Unknown build error, '{0}' + Bilinmeyen oluşturma hatası, '{0}' + + + + MC6013: {0}:ClassModifier="{1}" is not valid for the language {2}. + MC6013: {0}:ClassModifier="{1}" {2} dili için geçerli değil. + + + + MC6002: Unrecognized tag '{0}:{1}' in namespace 'http://schemas.microsoft.com/winfx/2006/xaml'. Note that tag names are case sensitive. + MC6002: 'http://schemas.microsoft.com/winfx/2006/xaml' ad alanında tanınmayan '{0}:{1}' etiketi. Etiket adlarında büyük/küçük harf ayrımı olduğunu unutmayın. + + + + MC6007: '{1}' is not valid. '{0}' is not an event on '{2}'. + MC6007: '{1}' geçerli değil. '{0}' '{2}' üzerinde bir olay değil. + + + + MC6014: {0}:FieldModifier="{1}" is not valid for the language {2}. + MC6014: {0}:FieldModifier="{1}" {2} dili için geçerli değil. + + + + MC6020: {0}:TypeArguments='{1}' is not valid on the tag '{2}'. Either '{2}' is not a generic type or the number of Type arguments in the attribute is wrong. Remove the {0}:TypeArguments attribute because it is allowed only on generic types, or fix its value to match the arity of the generic type '{2}'. + MC6020: {0}:TypeArguments='{1}' '{2}' etiketinde geçerli değil. '{2}' genel türde değil veya öznitelikteki Type bağımsız değişkenlerinin sayısı yanlış. Yalnızca genel türlerde izin verildiğinden {0}:TypeArguments özniteliğini kaldırın ya da değerini '{2}' genel türünün eşliğine uygun şekilde düzeltin. + + + + MC6008: '{0}' is not installed properly on this machine. It must be listed in the <compilers> section of machine.config. + MC6008: '{0}' bu makineye düzgün yüklenmedi. machine.config içinde <compilers> bölümünde listelenmesi gerekir. + + + + Unknown path operation attempted. + Bilinmeyen yol işlemi denendi. + + + + LC1003: Localization comment has no value set for target property: '{0}'. + LC1003: Yerelleştirme açıklamasında hedef özellik için ayarlanmış değer yok: '{0}'. + + + + UpdateManifestForBrowserApplication + UpdateManifestForBrowserApplication + + + + MC4501: Major and minor version number components cannot be negative. + MC4501: Birincil ve ikincil sürüm numarası bileşenleri negatif olamaz. + + + + MC6000: Project file must include the .NET Framework assembly '{0}' in the reference list. + MC6000: Proje dosyasının başvuru listesinde .NET Framework bütünleştirilmiş kodunu '{0}' içermesi gerekir. + + + + MC1001: The LocalizationDirectivesToLocFile property value is not valid and must be changed to None, CommentsOnly, or All for the MarkupCompilePass1 task. + MC1001: LocalizationDirectivesToLocFile özellik değeri geçerli değil ve MarkupCompilePass1 görevi için None, CommentsOnly veya All olarak değiştirilmesi gerekiyor. + + + + BG1003: The project file contains a property value that is not valid. + BG1003: Proje dosyası geçerli olmayan bir özellik değeri içeriyor. + + + + MC4602: Choice cannot follow a Fallback. + MC4602: Choice, bir Fallback'ten sonra olamaz. + + + + MC4606: AlternateContent must contain one or more Choice elements. + MC4606: AlternateContent bir veya daha fazla Choice öğesi içermelidir. + + + + MC4601: Choice valid only in AlternateContent. + MC4601: Choice yalnızca AlternateContent içinde geçerlidir. + + + + MC4640: Namespace '{0}' is marked as compatible with itself using XmlnsCompatibilityAttribute. A namespace cannot directly or indirectly override itself. + MC4640: '{0}' ad alanı XmlnsCompatibilityAttribute kullanılarak kendiyle uyumlu olarak işaretlendi. Bir ad alanı doğrudan veya dolaylı olarak kendini geçersiz kılamaz. + + + + MC4631: Duplicate Preserve declaration for element '{1}' in namespace '{0}'. + MC4631: '{0}' ad alanındaki '{1}' öğesi için yinelenen Preserve bildirimi. + + + + MC4617: Duplicate ProcessContent declaration for element '{1}' in namespace '{0}'. + MC4617: '{0}' ad alanındaki '{1}' öğesi için yinelenen ProcessContent bildirimi. + + + + MC4633: Duplicate wildcard Preserve declaration for namespace '{0}'. + MC4633: '{0}' ad alanı için yinelenen joker karakterli Preserve bildirimi. + + + + MC4619: Duplicate wildcard ProcessContent declaration for namespace '{0}'. + MC4619: '{0}' ad alanı için yinelenen joker karakterli ProcessContent bildirimi. + + + + MC4605: Fallback valid only in AlternateContent. + MC4605: Fallback yalnızca AlternateContent içinde geçerli. + + + + MC4610: '{0}' element is not a valid child of AlternateContent. Only Choice and Fallback elements are valid children of an AlternateContent element. + MC4610: '{0}' öğesi AlternateContent'in geçerli bir alt öğesi değil. Yalnızca Choice ve Fallback bir AlternateContent öğesinin geçerli alt öğeleridir. + + + + MC4608: '{0}' attribute is not valid for element '{1}'. + MC4608: '{0}' özniteliği '{1}' öğesi için geçerli değildir. + + + + MC4611: '{0}' format is not valid. + MC4611: '{0}' biçimi geçerli değil. + + + + MC4632: Cannot have both a specific and a wildcard Preserve declaration for namespace '{0}'. + MC4632: '{0}' ad alanı için hem belirli, hem de joker Preserve bildirimi olamaz. + + + + MC4618: Cannot have both a specific and a wildcard ProcessContent declaration for namespace '{0}'. + MC4618: '{0}' ad alanı için hem belirli, hem joker ProcessContent bildirimi olamaz. + + + + MC4604: Requires attribute must contain a valid namespace prefix. + MC4604: Requires özniteliği, geçerli bir ad alanı öneki içermelidir. + + + + MC4634: '{0}' attribute value is not a valid XML name. + MC4634: '{0}' özellik değeri geçerli bir XML adı değildir. + + + + MC4607: AlternateContent must contain only one Fallback element. + MC4607: AlternateContent yalnızca bir Fallback öğesi içermelidir. + + + + MC4626: MustUnderstand condition failed on namespace '{0}'. + MC4626: MustUnderstand koşulu '{0}' ad alanında başarısız oldu. + + + + MC4630: Namespace '{0}' has items declared to be preserved but is not declared ignorable. + MC4630: '{0}' ad alanında korunması bildirilmiş öğeler var, ancak bunların yok sayılması bildirilmemiş. + + + + MC4615: '{0}' namespace is declared ProcessContent but is not declared Ignorable. + MC4615: '{0}' ad alanı ProcessContent olarak bildirildi, ancak Ignorable olarak bildirilmedi. + + + + MC4603: Choice must contain a Requires attribute. + MC4603: Choice bir Requires özniteliği içermelidir. + + + + MC4612: '{0}' prefix is not defined. + MC4612: '{0}' öneki tanımlı değil. + + + + MC4614: Unrecognized compatibility attribute '{0}'. + MC4614: Tanınmayan uyumluluk özniteliği '{0}'. + + + + MC4609: Unrecognized compatibility element '{0}'. + MC4609: Tanınmayan uyumluluk öğesi '{0}'. + + + + MC4502: The feature ID string cannot have length 0. + MC4502: Özellik kimliği dizesinin uzunluğu 0 olamaz. + + + + + \ No newline at end of file diff --git a/src/Microsoft.DotNet.Wpf/src/PresentationBuildTasks/Resources/xlf/Strings.zh-Hans.xlf b/src/Microsoft.DotNet.Wpf/src/PresentationBuildTasks/Resources/xlf/Strings.zh-Hans.xlf new file mode 100644 index 00000000000..8fb9bd92695 --- /dev/null +++ b/src/Microsoft.DotNet.Wpf/src/PresentationBuildTasks/Resources/xlf/Strings.zh-Hans.xlf @@ -0,0 +1,1242 @@ + + + + + + Analysis Result : '{0}'. + 分析结果:“{0}”。 + + + + MC1002: Library project file cannot specify ApplicationDefinition element. + MC1002: 库项目文件无法指定 ApplicationDefinition 元素。 + + + + Input: Markup ApplicationDefinition file: '{0}'. + 输入: 标记 ApplicationDefinition 文件:“{0}”。 + + + + MC6015: '{0}' cannot be set on the '{1}:{2}' tag. + MC6015: 无法在“{1}:{2}”标记上设置“{0}”。 + + + + UM1001: Unrecognized UidManager task name '{0}'. + UM1001: 无法识别的 UidManager 任务名“{0}”。 + + + + Checking Uids in file '{0}' ... + 正在检查文件“{0}”中的 Uid ... + + + + Generated localization directives file: '{0}' . + 生成的本地化指令文件:“{0}”。 + + + + Generating localization directives file: '{0}' ... + 正在生成本地化指令文件:“{0}”... + + + + Markup compilation is done. + 已完成标记编译。 + + + + MarkupCompilePass1 successfully generated BAML or source code files. + MarkupCompilePass1 成功生成 BAML 或源代码文件。 + + + + MarkupCompilePass2 successfully generated BAML or source code files. + MarkupCompilePass2 成功生成 BAML 或源代码文件。 + + + + MC6011: '{0}' event has a generic event handler delegate type '{1}'. The type parameters of '{1}' cannot be bound with an appropriate type argument because the containing tag '{2}' is not a generic type. + MC6011:“{0}”事件有一个通用的事件处理程序委托类型“{1}”。无法将“{1}”的类型参数与适当的类型参数绑定,因为所包含的标记“{2}”不是泛型类型。 + + + + Current project directory is '{0}'. + 当前的项目目录是“{0}”。 + + + + MC6022: Only a root tag can specify attribute '{0}:{1}'. + MC6022: 只有根标记可以指定特性“{0}:{1}”。 + + + + MC6010: '{0}:{1}' cannot be specified as the root element. + MC6010: 不能将“{0}:{1}”指定为根元素。 + + + + MC6004: '{0}:{1}' contains '{2}'. '{0}:{1}' can contain only a CDATA or text section. + MC6004:“{0}:{1}”包含“{2}”。“{0}:{1}”只能包含 CDATA 或文本部分。 + + + + Started the markup compilation. + 启动标记编译。 + + + + MC6030: {0}="{1}" is not valid. '{0}' event attribute value cannot be a string that is empty or has only white space. + MC6030: {0}=“{1}”无效。“{0}”事件特性值不能为空字符串或只有空白。 + + + + MC6021: {0}:FieldModifier cannot be specified on this tag because it has either no {0}:Name or Name attribute set, or the tag is locally defined and has a Name attribute set, which is not allowed. + MC6021: 不能在该标记上指定 {0}:FieldModifier,因为它不具有 {0}:Name 或 Name 特性集,或者该标记是本地定义的且具有 Name 特性集,而这种情况是不允许的。 + + + + FileClassifier + FileClassifier + + + + BG1002: File '{0}' cannot be found. + BG1002: 无法找到文件“{0}”。 + + + + Input file '{0}' is resolved to new relative path '{1}' at directory '{2}'. + 输入文件“{0}”在目录“{2}”处被解析为新的相对路径“{1}”。 + + + + UM1004: {0} files failed Uid check. + UM1004: {0} 文件无法进行 Uid 检查。 + + + + Uids valid in {0} files. + 在 {0} 文件中有效的 Uid。 + + + + Uids removed from {0} files. + 从 {0} 文件中移除的 Uid。 + + + + Uids updated in {0} files. + 在 {0} 文件中更新的 Uid。 + + + + Generated BAML file: '{0}'. + 生成的 BAML 文件:“{0}”。 + + + + Generated code file: '{0}'. + 生成的代码文件:“{0}”。 + + + + GetWinFXPath + GetWinFXPath + + + + MC6003: '{0}:{1}' contains '{2}'. '{0}:{1}' cannot contain nested content. + MC6003:“{0}:{1}”包含“{2}”。“{0}:{1}”不能包含嵌套内容。 + + + + UM1006: '{0}' directory does not exist and cannot be created. + UM1006:“{0}”目录不存在且无法创建。 + + + + InternalTypeHelper class is not required for this project, make file '{0}' empty. + 该项目不需要 InternalTypeHelper 类,使文件“{0}”为空。 + + + + MC6018: '{0}' class name is not valid for the locally defined XAML root element. + MC6018:“{0}”类名对本地定义的 XAML 根元素无效。 + + + + MC6019: '{0}' namespace is not valid for the locally defined XAML root element '{1}'. + MC6019:“{0}”命名空间对本地定义的 XAML 根元素“{1}”无效。 + + + + MC6027: {0}:{1}="{2}" is not valid. '{2}' is not a valid {3}class name. + MC6027: {0}:{1}=“{2}”无效。“{2}”是无效的 {3} 类名称。 + + + + FC1001: The UICulture value '{0}' set in the project file is not valid. + FC1001: 项目文件中的 UICulture 值“{0}”集无效。 + + + + MC4402: Serializer does not support custom BAML serialization operations. + MC4402: 序列化程序不支持自定义 BAML 序列化操作。 + + + + MC4401: Serializer does not support Convert operations. + MC4401: 序列化程序不支持 Convert 操作。 + + + + MC6029: '{0}' name is not valid in the default namespace '{1}'. Correct the RootNamespace tag value in the project file. + MC6029:“{0}”名称在默认命名空间“{1}”中无效。请更正项目文件中的 RootNamespace 标记值。 + + + + MC6005: {0}="{1}" is not valid. '{1}' is not a valid event handler method name. Only instance methods on the generated or code-behind class are valid. + MC6005: {0}=“{1}”无效。“{1}”不是有效的事件处理程序方法名。只有生成的类或代码隐藏类上的实例方法是有效的。 + + + + LC1001: Localization comment target property is not valid in string '{0}'. + LC1001: 本地化注释目标属性在字符串“{0}”中无效。 + + + + LC1002: Localization comment value is not valid for target property '{0}' in string '{1}'. + LC1002: 本地化注释值对字符串“{1}”中的目标属性“{0}”无效。 + + + + LC1004: Localizability attribute setting '{0}' is not valid. + LC1004: 可本地化特性设置“{0}”无效。 + + + + MC6001: Markup file is not valid. Specify a source markup file with an .xaml extension. + MC6001: 标记文件无效。请指定扩展名为 .xaml 的源标记文件。 + + + + MC6028: {0}:TypeArguments="{1}" is not valid. '{2}' is not a valid type name reference for the generic argument at position '{3}'. + MC6028: {0}:TypeArguments=“{1}”无效。对于位置“{3}”处的泛型实参,“{2}”不是有效的类型名引用。 + + + + MC3000: '{0}' XML is not valid. + MC3000:“{0}”XML 无效。 + + + + MC6023: Because '{0}' is implemented in the same assembly, you must set the {1}:Name attribute rather than the Name attribute. + MC6023: 由于“{0}”是在同一程序集中实现的,您必须设置 {1}:Name 特性而不是 Name 特性。 + + + + Input: Local reference markup ApplicationDefinition file is '{0}'. + 输入: 本地引用标记 ApplicationDefinition 文件是“{0}”。 + + + + Generated BAML file: '{0}'. + 生成的 BAML 文件:“{0}”。 + + + + Input: Local reference markup Page file: '{0}'. + 输入: 本地引用标记 Page 文件:“{0}”。 + + + + MarkupCompilePass1 + MarkupCompilePass1 + + + + MarkupCompilePass2 + MarkupCompilePass2 + + + + MC6012: '{0}' event has a generic event handler delegate type '{1}'. The type parameter '{2}' on '{1}' does not match any type parameters on the containing generic tag '{3}'. + MC6012:“{0}”事件具有通用事件处理程序委托类型“{1}”。“{1}”上的类型参数“{2}”与所包含的通用标记“{3}”上的任何类型参数不匹配。 + + + + MergeLocalizationDirectives + MergeLocalizationDirectives + + + + MC6026: '{0}' root element requires a {1}:Class attribute because '{2}' contains a {1}:Code tag. Either remove {1}:Code and its contents, or add a {1}:Class attribute to the root element. + MC6026:“{0}”根元素需要 {1}:Class 特性,因为“{2}”包含 {1}:Code 标记。请移除 {1}:Code 及其内容,或将 {1}:Class 特性添加到根元素。 + + + + MC6024: '{0}' root element requires a {1}:Class attribute to support event handlers in the XAML file. Either remove the event handler for the {2} event, or add a {1}:Class attribute to the root element. + MC6024:“{0}”根元素需要 {1}:Class 特性来支持 XAML 文件中的事件处理程序。请移除 {2} 事件的事件处理程序,或将 {1}:Class 特性添加到根元素。 + + + + MC6025: '{0}' root element is a generic type and requires a {1}:Class attribute to support the {1}:TypeArguments attribute specified on the root element tag. + MC6025:“{0}”根元素是泛型类型,且需要 {1}:Class 特性来支持根元素标记上指定的 {1}:TypeArguments 特性。 + + + + MC6031: {0}:FieldModifier attribute cannot be specified because a {0}:Class attribute is also required to generate a Name field with the specified access modifier. Either add a {0}:Class attribute on the root tag or remove the {0}:FieldModifier attribute. + MC6031: 无法指定 {0}:FieldModifier 特性,因为还需要 {0}:Class 特性来生成具有指定的访问修饰符的 Name 字段。请在根标记上添加 {0}:Class 特性或移除 {0}:FieldModifier 特性。 + + + + MC6009: {0}:ClassModifier attribute cannot be specified on the root tag because a {0}:Class attribute is also required. Either add a {0}:Class attribute or remove the {0}:ClassModifier attribute. + MC6009: 无法在根标记上指定 {0}:ClassModifier 特性,因为还需要 {0}:Class 特性。请添加 {0}:Class 特性或移除 {0}:ClassModifier 特性。 + + + + MC6016: {0}:Class attribute is missing. It is required when a {0}:Subclass attribute is specified. + MC6016: 缺少 {0}:Class 特性。当已指定 {0}:Subclass 特性时该特性是必需的。 + + + + RG1002: ResourcesGenerator can generate only one .resources file at a time. The OutputResourcesFile property in the project file must be set to one file. + RG1002: ResourcesGenerator 一次只能生成一个 .resources 文件。必须将项目文件中的 OutputResourcesFile 属性设置到一个文件。 + + + + MC1004: Project file cannot specify more than one SplashScreen element. + MC1004: 项目文件不能指定多个 SplashScreen 元素。 + + + + UM1002: Uid "{0}" for element '{1}' is not unique. + UM1002: 元素“{1}”的 Uid“{0}”不是唯一的。 + + + + MC1003: Project file cannot specify more than one ApplicationDefinition element. + MC1003: 项目文件不能指定多个 ApplicationDefinition 元素。 + + + + A '{0}' is named '{1}'. Do not name ResourceDictionary contents because their instantiation is deferred. + 某“{0}”已命名为“{1}”。请勿命名 ResourceDictionary 内容,因为已推迟此类内容的实例化。 + + + + BG1001: Unknown CLS exception. + BG1001: 未知的 CLS 异常。 + + + + OutputType is '{0}'. + OutputType 是“{0}”。 + + + + MC3001: TypeConverter syntax error encountered while processing initialization string '{0}'. Property elements are not allowed on objects created via TypeConverter. + MC3001: 在处理初始化字符串“{0}”时遇到 TypeConverter 语法错误。通过 TypeConverter 创建的对象上不允许属性元素。 + + + + MC3099: Cannot load assembly '{0}' because a different version of that same assembly is loaded '{1}'. + MC3099: 无法加载程序集“{0}”,因为加载了同一程序集的其他版本“{1}”。 + + + + MC3002: The AsyncRecords attribute must be set on the root tag. + MC3002: 根标记上必须设置 AsyncRecords 特性。 + + + + MC3015: The attached property '{0}' is not defined on '{1}' or one of its base classes. + MC3015:“{1}”或其一个基类上未定义附加属性“{0}”。 + + + + MC3003: There are too many attributes specified for '{0}'. + MC3003: 为“{0}”指定了过多的特性。 + + + + MC3004: There are not enough attributes specified for '{0}'. + MC3004: 为“{0}”指定的特性不足。 + + + + MC3005: The property '{0}' must be in the default namespace or in the element namespace '{1}'. + MC3005: 属性“{0}”必须位于默认的命名空间或元素命名空间“{1}”中。 + + + + MC3006: Mapper.SetAssemblyPath cannot accept an empty assemblyName. + MC3006: Mapper.SetAssemblyPath 无法接受空 assemblyName。 + + + + MC3007: Mapper.SetAssemblyPath cannot accept an empty assemblyPath. + MC3007: Mapper.SetAssemblyPath 无法接受空 assemblyPath。 + + + + MC3008: An element of type '{0}' cannot be set on the complex property '{1}'. They are not compatible types. + MC3008: 无法在复杂属性“{1}”上设置类型“{0}”的元素。它们不是兼容的类型。 + + + + MC3009: Cannot find a public constructor for '{0}' that takes {1} arguments. + MC3009: 无法找到接受 {1} 参数的“{0}”的公共构造函数。 + + + + MC3012: A key for a dictionary cannot be of type '{0}'. Only String, TypeExtension, and StaticExtension are supported. + MC3012: 字典的密钥不能是“{0}”类型。仅支持 String、TypeExtension 和 StaticExtension。 + + + + MC3029: '{0}' member is not valid because it does not have a qualifying type name. + MC3029:“{0}”成员无效,因为它不具有限定的类型名。 + + + + MC3010: '{0}' Name property value is not valid. Name must start with a letter or an underscore and can contain only letters, digits, and underscores. + MC3010:“{0}”Name 属性值无效。Name 必须以字母或下划线开头,且只能包含字母、数字和下划线。 + + + + MC3094: Cannot convert string value '{0}' to type '{1}'. + MC3094: 无法将字符串值“{0}”转换为类型“{1}”。 + + + + MC3013: SynchronousMode property value is not valid. Valid values are Async and Sync. + MC3013: SynchronousMode 属性值无效。有效的值是 Async 和 Sync。 + + + + MC3014: The object being added to an array property is not a valid type. The array is of type '{0}' but the object being added is of type '{1}'. + MC3014: 被添加到数组属性的对象为无效类型。该数组是“{0}”类型,但被添加的对象是“{1}”类型。 + + + + MC3079: MarkupExtensions are not allowed for Uid or Name property values, so '{0}' is not valid. + MC3079: Uid 或 Name 属性值不允许 MarkupExtensions,因此“{0}”无效。 + + + + MC3089: The object '{0}' already has a child and cannot add '{1}'. '{0}' can accept only one child. + MC3089: 对象“{0}”已经具有子级且无法添加“{1}”。“{0}”只能接受一个子级。 + + + + MC3028: Cannot add content to object of type '{0}'. + MC3028: 无法向“{0}”类型的对象添加内容。 + + + + MC3081: '{0}' is a read-only property of type IList or IDictionary and cannot be set because it does not have a public or internal get accessor. + MC3081:“{0}”是类型 IList 或 IDictionary 的一个只读属性,无法设置,因为它不具有公共或内部的 get 访问器。 + + + + MC3080: The {0} '{1}' cannot be set because it does not have an accessible {2} accessor. + MC3080: 无法设置 {0}“{1}”,因为它不具有可访问的 {2} 访问器。 + + + + MC3087: Cannot set content property '{0}' on element '{1}'. '{0}' has incorrect access level or its assembly does not allow access. + MC3087: 无法设置元素“{1}”上的内容属性“{0}”。“{0}”具有不正确的访问级别,或者其程序集不允许访问。 + + + + MC3082: '{0}' cannot be set as the value of a Trigger's Property attribute because it does not have a public or internal get accessor. + MC3082: 无法将“{0}”设置为 Trigger 的 Property 特性的值,因为它不具有公共或内部的 get 访问器。 + + + + MC3016: Two new namespaces cannot be compatible with the same old namespace using an XmlnsCompatibility attribute.�'{0}' namespace is already marked compatible with '{1}'. + MC3016: 两个新命名空间无法使用 XmlnsCompatibility 特性与相同的旧命名空间兼容。�“{0}”命名空间已标记为与“{1}”兼容。 + + + + MC3088: Property elements cannot be in the middle of an element's content. They must be before or after the content. + MC3088: 属性元素不能位于元素内容的中间。它们必须位于内容之前或之后。 + + + + MC3017: 'Code' tag from xaml namespace found in XAML file. To load this file, you must compile it. + MC3017: xaml 命名空间的“Code”标记在 XAML 文件中找到。若要加载此文件,您必须编译它。 + + + + MC3061: The Element type '{0}' does not have an associated TypeConverter to parse the string '{1}'. + MC3061: 元素类型“{0}”不具有关联的 TypeConverter,无法分析字符串“{1}”。 + + + + MC3018: Cannot modify data in a sealed XmlnsDictionary. + MC3018: 无法修改密封的 XmlnsDictionary 中的数据。 + + + + MC3020: The dictionary key '{0}' is already used. Key attributes are used as keys when inserting objects into a dictionary and must be unique. + MC3020: 字典密钥“{0}”已使用。将对象插入字典时会将密钥特性用作密钥,并且必须是唯一的。 + + + + MC3033: The property '{0}' has already been set on this markup extension and can only be set once. + MC3033: 该标记扩展名上已设置属性“{0}”,并且只能设置一次。 + + + + MC3024: '{0}' property has already been set and can be set only once. + MC3024: 已设置“{0}”属性,并且只能设置一次。 + + + + MC3025: Property '{0}' and '{1}' refer to the same property. Duplicate property settings are not allowed. + MC3025: 属性“{0}”和“{1}”指的是同一属性。不允许重复的属性设置。 + + + + MC3026: '{0}' property element cannot be empty. It must contain child elements or text. + MC3026:“{0}”属性元素不能为空。它必须包含子元素或文本。 + + + + MC3027: The EntityReference &{0}; is not recognized. + MC3027: 无法识别 EntityReference &{0};。 + + + + MC3083: Cannot access the delegate type '{0}' for the '{1}' event. '{0}' has incorrect access level or its assembly does not allow access. + MC3083: 无法访问“{1}”事件的委托类型“{0}”。“{0}”具有错误的访问级别,或其程序集不允许访问。 + + + + MC3030: '{0}' property is a read-only IEnumerable property, which means that '{1}' must implement IAddChild. + MC3030:“{0}”属性是只读的 IEnumerable 属性,这意味着“{1}”必须实现 IAddChild。 + + + + MC3078: Invalid ContentPropertyAttribute on type '{0}', property '{1}' not found. + MC3078: 类型“{0}”上的 ContentPropertyAttribute 无效,未找到属性“{1}”。 + + + + Known type value {0}='{1}' is not a valid known type. + 已知类型值 {0}='{1}' 不是有效的已知类型。 + + + + MC3011: Cannot find the static member '{0}' on the type '{1}'. + MC3011: 无法找到类型“{1}”上的静态成员“{0}”。 + + + + MC3031: Keys and values in XmlnsDictionary must be strings. + MC3031: XmlnsDictionary 中的密钥和值都必须是字符串。 + + + + Line {0} Position {1} + 行 {0} 位置 {1} + + + + MC3037: Missing XmlNamespace, Assembly or ClrNamespace in Mapping instruction. + MC3037: 缺少 Mapping 说明中的 XmlNamespace、Assembly 或 ClrNamespace。 + + + + '{0}' mapping URI is not valid. + “{0}”mapping URI 无效。 + + + + MC3040: Format is not valid for MarkupExtension that specifies constructor arguments in '{0}'. + MC3040: 在“{0}”中指定构造函数参数的 MarkupExtension 的格式无效。 + + + + MC3041: Markup extensions require a single '=' between name and value, and a single ',' between constructor parameters and name/value pairs. The arguments '{0}' are not valid. + MC3041: 标记扩展名在名称和值之间需要一个“=”,在构造函数参数和名称/值对之间需要一个“,”。参数“{0}”无效。 + + + + MC3091: '{0}' is not valid. Markup extensions require only spaces between the markup extension name and the first parameter. Cannot have comma or equals sign before the first parameter. + MC3091:“{0}”无效。标记扩展在标记扩展名和第一个参数之间只需要空格。在第一个参数之前不能有逗号或等号。 + + + + MC8001: Encountered a closing BracketCharacter '{0}' at Line Number '{1}' and Line Position '{2}' without a corresponding opening BracketCharacter. + MC8001: 行号 "{1}" 和行位置 "{2}" 处的右 BracketCharacter "{0}" 缺少对应的左 BracketCharacter。 + + + + MC8002: BracketCharacter '{0}' at Line Number '{1}' and Line Position '{2}' does not have a corresponding opening/closing BracketCharacter. + MC8002: 行号 "{1}" 和行位置 "{2}" 处的 BracketCharacter "{0}" 缺少对应的左/右 BracketCharacter。 + + + + MC3038: MarkupExtension expressions must end with a '}'. + MC3038: MarkupExtension 表达式必须以一个“}”结束。 + + + + MC3042: Name/value pairs in MarkupExtensions must have the format 'Name = Value' and each pair is separated by a comma. '{0}' does not follow this format. + MC3042: MarkupExtensions 中的名称/值对必须具有“Name = Value”格式,并且每个对以逗号分隔。“{0}”不遵循此格式。 + + + + MC3043: Names and Values in a MarkupExtension cannot contain quotes. The MarkupExtension arguments '{0}' are not valid. + MC3043: MarkupExtension 中的名称和值不能含引号。MarkupExtension 参数“{0}”无效。 + + + + MC3044: The text '{1}' is not allowed after the closing '{0}' of a MarkupExtension expression. + MC3044: 关闭 MarkupExtension 表达式的“{0}”之后,文本“{1}”是不允许的。 + + + + MC3045: Unknown property '{0}' for type '{1}' encountered while parsing a Markup Extension. + MC3045: 分析 Markup Extension 时遇到类型“{1}”的未知属性“{0}”。 + + + + MC3046: Unknown attribute '{0}' in the '{1}' namespace. Note that only the Key attribute is currently supported in this namespace. + MC3046:“{1}”命名空间中的特性“{0}”未知。请注意,当前该命名空间中仅支持 Key 特性。 + + + + MC3047: Internal parser error - Cannot use multiple writable BAML records at the same time. + MC3047: 内部分析器错误 - 不能同时使用多个可写的 BAML 记录。 + + + + '{0}' property element cannot be nested directly inside another property element. + “{0}”属性元素不能直接嵌套在另一属性元素内。 + + + + MC3049: Cannot place attributes on Array tags. + MC3049: 无法在 Array 标记上放置特性。 + + + + MC3021: Asynchronous loading is not supported when compiling a XAML file, so a SynchronousMode of '{0}' is not allowed. + MC3021: 编译 XAML 文件时不支持异步加载,因此不允许“{0}”的 SynchronousMode。 + + + + MC3051: The type '{0}' does not support element content. + MC3051: 类型“{0}”不支持元素内容。 + + + + MC3022: All objects added to an IDictionary must have a Key attribute or some other type of key associated with them. + MC3022: 所有添加到 IDictionary 的对象必须具有 Key 特性,或有与这些对象相关的某些其他类型的密钥。 + + + + MC3023: The Key attribute can only be used on a tag contained in a Dictionary (such as a ResourceDictionary). + MC3023: Key 特性只能用于包含在 Dictionary (如 ResourceDictionary)中的标记。 + + + + MC3032: '{1}' cannot be used as a value for '{0}'. Numbers are not valid enumeration values. + MC3032:“{1}”无法用作“{0}”的值。数字不是有效的枚举值。 + + + + MC3053: Cannot use property element syntax to specify event handler '{0}'. + MC3053: 无法使用属性元素语法来指定事件处理程序“{0}”。 + + + + MC3052: XAML file that contains events must be compiled. + MC3052: 必须编译包含事件的 XAML 文件。 + + + + MC3054: The type '{0}' cannot have a Name attribute. Value types and types without a default constructor can be used as items within a ResourceDictionary. + MC3054: 类型“{0}”不能具有 Name 特性。值类型和没有默认构造函数的类型可以用作 ResourceDictionary 中的项。 + + + + MC3093: Cannot set Name attribute value '{0}' on element '{1}'. '{1}' is under the scope of element '{2}', which already had a name registered when it was defined in another scope. + MC3093: 无法对元素“{1}”设置 Name 特性值“{0}”。“{1}”在元素“{2}”的范围内,在另一范围内定义它时,已注册了名称。 + + + + MC3056: No NamespaceURI is defined for the object '{0}'. + MC3056: 未为对象“{0}”定义 NamespaceURI。 + + + + MC3084: Cannot nest XML data islands. + MC3084: 无法嵌套 XML 数据岛。 + + + + MC3057: Cannot set properties on property elements. + MC3057: 无法在属性元素上设置属性。 + + + + MC3058: Cannot find a custom serializer for '{0}' so it cannot be parsed. + MC3058: 无法找到“{0}”的自定义序列化程序,因此无法分析它。 + + + + MC3059: Style setters do not support child elements. A tag of type '{0}' is not allowed. + MC3059: Style Setter 不支持子元素。不允许类型“{0}”的标记。 + + + + MC3050: Cannot find the type '{0}'. Note that type names are case sensitive. + MC3050: 无法找到类型“{0}”。请注意,类型名区分大小写。 + + + + MC3048: '{0}' value is not a valid MarkupExtension expression. Cannot resolve '{1}' in namespace '{2}'. '{1}' must be a subclass of MarkupExtension. + MC3048:“{0}”值不是有效的 MarkupExtension 表达式。无法解析命名空间“{2}”中的“{1}”。“{1}”必须是 MarkupExtension 的子类。 + + + + MC3062: '{0}' XML namespace prefix does not map to a NamespaceURI, so element '{1}' cannot be resolved. + MC3062:“{0}”XML 命名空间前缀未映射到 NamespaceURI,因此无法解析元素“{1}”。 + + + + MC3100: '{0}' XML namespace prefix does not map to a namespace URI, so cannot resolve property '{1}'. + MC3100:“{0}”XML 命名空间前缀未映射到命名空间 URI,因此无法解析属性“{1}”。 + + + + MC3063: Property '{0}' does not have a value. + MC3063: 属性“{0}”不具有值。 + + + + MC3064: Only public or internal classes can be used within markup. '{0}' type is not public or internal. + MC3064: 只有公共或内部的类可在标记内使用。“{0}”类型不是公共或内部的类型。 + + + + MC3065: '{0}' property is read-only and cannot be set from markup. + MC3065:“{0}”属性是只读的,且无法从标记设置。 + + + + MC3066: The type reference cannot find a public type named '{0}'. + MC3066: 类型引用无法找到名为“{0}”的公共类型。 + + + + MC3019: Cannot reference the static member '{0}' on the type '{1}' as it is not accessible. + MC3019: 无法引用类型“{1}”上的静态成员“{0}”,因为它不是可访问的。 + + + + MC3067: SynchronousMode attribute must be on the root tag. + MC3067: SynchronousMode 特性必须位于根标记上。 + + + + MC3069: Cannot have both the text '{0}' and the child element '{1}' within a property element. + MC3069: 无法在属性元素内同时包含文本“{0}”和子元素“{1}”。 + + + + MC3068: Text is not valid under an IDictionary or Array property. + MC3068: IDictionary 或 Array 属性下的文本无效。 + + + + MC3070: A single XAML file cannot reference more than 4,096 different assemblies. + MC3070: 单个 XAML 文件无法引用 4,096 个以上的不同程序集。 + + + + MC3095: Close tag must immediately follow TypeConverter initialization string '{0}'. + MC3095: 关闭标记必须紧跟 TypeConverter 初始化字符串“{0}”。 + + + + MC3090: TypeConverter syntax error encountered while processing initialization string '{0}'. Element attributes are not allowed on objects created via TypeConverter. + MC3090: 处理初始化字符串“{0}”时遇到 TypeConverter 语法错误。通过 TypeConverter 创建的对象上不允许元素特性。 + + + + MC3071: '{0}' is an undeclared namespace. + MC3071:“{0}”是未声明的命名空间。 + + + + MC3072: The property '{0}' does not exist in XML namespace '{1}'. + MC3072: XML 命名空间“{1}”中不存在属性“{0}”。 + + + + MC3073: The attribute '{0}' does not exist in XML namespace 'http://schemas.microsoft.com/winfx/2006/xaml'. + MC3073: XML 命名空间“http://schemas.microsoft.com/winfx/2006/xaml”中不存在特性“{0}”。 + + + + MC3074: The tag '{0}' does not exist in XML namespace '{1}'. + MC3074: XML 命名空间“{1}”中不存在标记“{0}”。 + + + + MC3075: Unrecognized XML node type '{0}' found when determining if the current tag is a property element. + MC3075: 确定当前标记是否为属性元素时发现无法识别的 XML 节点类型“{0}”。 + + + + MC3086: Parent element or property '{0}' requires an XML data island. To distinguish an XML island from surrounding XAML, wrap the XML data island in <x:XData> ... </x:XData>. + MC3086: 父元素或属性“{0}”需要一个 XML 数据岛。若要区分 XML 岛和周围的 XAML,请将 XML 数据岛包装在 <x:XData> ... </x:XData> 中。 + + + + MC3085: '{0}' element or property cannot contain an XML data island. + MC3085:“{0}”元素或属性不能包含 XML 数据岛。 + + + + MC3092: XmlLangProperty attribute must specify a property name. + MC3092: XmlLangProperty 特性必须指定属性名。 + + + + MC3077: The class '{0}' does not implement IXmlLineInfo. This is required to get position information for the XAML being parsed. + MC3077: 类“{0}”未实现 IXmlLineInfo。这是获取正在分析的 XAML 的位置信息所必需的。 + + + + MC3098: Unexpected token '{0}' at position '{1}'. + MC3098: 位置“{1}”处的意外标记“{0}”。 + + + + MC3096: Token is not valid. + MC3096: 标记无效。 + + + + Preparing for the markup compilation... + 正在准备标记编译... + + + + MC4301: Type name '{0}' does not have the expected format 'className, assembly'. + MC4301: 类型名“{0}”不具有预期的格式“className, assembly”。 + + + + Reading Resource file: '{0}'... + 正在读取 Resource 文件:“{0}”... + + + + Recompiled XAML file : '{0}'. + 重新编译的 XAML 文件:“{0}”。 + + + + Input: Assembly Reference file: '{0}'. + 输入: 程序集 Reference 文件:“{0}”。 + + + + Resource ID is '{0}'. + 资源 ID 是“{0}”。 + + + + RG1001: Input resource file '{0}' exceeds maximum size of {1} bytes. + RG1001: 输入的资源文件“{0}”超过 {1} 字节的最大大小。 + + + + Generated .resources file: '{0}'. + 生成的 .resources 文件:“{0}”。 + + + + Generating .resources file: '{0}'... + 正在生成 .resources 文件:“{0}”... + + + + ResourcesGenerator + ResourcesGenerator + + + + MC6006: {0}.{1}="{2}" is not valid. '{1}' must be a RoutedEvent registered with a name that ends with the keyword "Event". + MC6006: {0}.{1}=“{2}”无效。“{1}”必须是使用以关键字“Event”结束的名称注册的 RoutedEvent。 + + + + UM1005: You must pass markup files to the task. + UM1005: 您必须将标记文件传入到任务。 + + + + MC4110: SourceName property cannot be set within Style.Triggers section. + MC4110: Style.Triggers 部分内无法设置 SourceName 属性。 + + + + MC4001: Style does not support both {0} tags and Style.{1} property tags for a single Style. Use one or the other. + MC4001: Style 不同时支持单个 Style 的 {0} 标记和 Style.{1} 属性标记。请使用其中的一个或另一个。 + + + + MC4002: The Style property tag '{0}' can only be specified directly under a Style tag. + MC4002: 只能直接在 Style 标记下指定 Style 属性标记“{0}”。 + + + + MC4005: Cannot find the Style {0} '{1}' on the type '{2}'. + MC4005: 无法在类型“{2}”上找到 Style {0}“{1}”。 + + + + MC4003: Cannot resolve the Style {0} '{1}'. Verify that the owning type is the Style's TargetType, or use Class.Property syntax to specify the {0}. + MC4003: 无法解析 Style {0}“{1}”。请确认拥有的类型是 Style 的 TargetType,或使用 Class.Property 语法指定 {0}。 + + + + MC4004: Style cannot contain child '{0}'. Style child must be a Setter because it is added to the Setters collection. + MC4004: Style 不能包含子级“{0}”。Style 子级必须是 Setter,因为它被添加到 Setter 集合。 + + + + MC4006: Tags of type '{0}' are not supported in Style sections. + MC4006: Style 部分中不支持类型“{0}”的标记。 + + + + MC4007: The event '{0}' cannot be specified on a Target tag in a Style. Use an EventSetter instead. + MC4007: 无法在 Style 中的 Target 标记上指定事件“{0}”。请使用 EventSetter。 + + + + MC4008: The text '{0}' is not allowed at this location within a Style section. + MC4008: Style 部分中的该位置不允许文本“{0}”。 + + + + MC4009: The property '{0}' cannot be set on Style. + MC4009: Style 上无法设置属性“{0}”。 + + + + MC6017: '{0}' cannot be the root of a XAML file because it was defined using XAML. + MC6017:“{0}”不能是 XAML 文件的根,因为它是使用 XAML 定义的。 + + + + BG1004: Target Type '{0}' is not supported by this task. + BG1004: 该任务不支持目标类型“{0}”。 + + + + MC4011: TargetName property cannot be set on a Style Setter. + MC4011: 无法在 Style Setter 上设置 TargetName 属性。 + + + + + Copyright (C) Microsoft Corporation 2005. All rights reserved. + 版权所有(C) Microsoft Corporation 2005。保留所有权利。 + + + + MC4101: The Name '{0}' has already been defined. Names must be unique. + MC4101: 已定义 Name“{0}”。Name 必须是唯一的。 + + + + MC4108: The root of a Template content section cannot contain an element of type '{0}'. Only FrameworkElement and FrameworkContentElement types are valid. + MC4108: 模板内容部分的根不能包含“{0}”类型的元素。只有 FrameworkElement 和 FrameworkContentElement 类型是有效的。 + + + + MC4103: The template property tag '{0}' can only be specified immediately after a ControlTemplate tag. + MC4103: 只能在 ControlTemplate 标记之后紧跟着指定模板属性标记“{0}”。 + + + + MC4107: A template can have only a single root element. '{0}' is not allowed. + MC4107: 模板只能具有一个根元素。“{0}”是不允许的。 + + + + MC4109: Cannot find the Template Property '{0}' on the type '{1}'. + MC4109: 无法在类型“{1}”上找到模板属性“{0}”。 + + + + MC4106: Cannot resolve the Template Property '{0}'. Verify that the owning type is the Style's TargetType, or use Class.Property syntax to specify the property. + MC4106: 无法解析模板属性“{0}”。请确认拥有的类型是 Style 的 TargetType,或使用 Class.Property 语法指定该属性。 + + + + MC4111: Cannot find the Trigger target '{0}'. (The target must appear before any Setters, Triggers, or Conditions that use it.) + MC4111: 无法找到 Trigger 目标“{0}”。(该目标必须出现在任何使用它的 Setter、Trigger 或 Condition 之前。) + + + + MC4102: Tags of type '{0}' are not supported in template sections. + MC4102: 模板部分中不支持类型“{0}”的标记。 + + + + MC4105: The text '{0}' is not allowed at this location within a template section. + MC4105: 模板部分中的该位置不允许文本“{0}”。 + + + + MC4104: The property '{0}' cannot be set as a property element on template. Only Triggers and Storyboards are allowed as property elements. + MC4104: 无法在模板上将属性“{0}”设置为属性元素。只允许将 Triggers 和 Storyboards 设置为属性元素。 + + + + MC7004: Empty token encountered while parsing. + MC7004: 分析时遇到空标记。 + + + + MC7003: Extra data encountered after token while parsing. + MC7003: 分析时在令牌后遇到额外数据。 + + + + MC7002: Missing end quote encountered while parsing token. + MC7002: 分析标记时遇到缺少右引号。 + + + + MC7001: Premature string termination encountered. + MC7001: 遇到字符串过早终止的情况。 + + + + UidManager + UidManager + + + + UM1003: Uid is missing for element '{0}'. + UM1003: 缺少元素“{0}”的 Uid。 + + + + Unknown build error, '{0}' + 未知的生成错误“{0}” + + + + MC6013: {0}:ClassModifier="{1}" is not valid for the language {2}. + MC6013: {0}:ClassModifier=“{1}”对语言 {2} 无效。 + + + + MC6002: Unrecognized tag '{0}:{1}' in namespace 'http://schemas.microsoft.com/winfx/2006/xaml'. Note that tag names are case sensitive. + MC6002: 命名空间“http://schemas.microsoft.com/winfx/2006/xaml”中无法识别的标记“{0}:{1}”。请注意,标记名称区分大小写。 + + + + MC6007: '{1}' is not valid. '{0}' is not an event on '{2}'. + MC6007:“{1}”无效。“{0}”不是“{2}”上的事件。 + + + + MC6014: {0}:FieldModifier="{1}" is not valid for the language {2}. + MC6014: {0}:FieldModifier=“{1}”对语言 {2} 无效。 + + + + MC6020: {0}:TypeArguments='{1}' is not valid on the tag '{2}'. Either '{2}' is not a generic type or the number of Type arguments in the attribute is wrong. Remove the {0}:TypeArguments attribute because it is allowed only on generic types, or fix its value to match the arity of the generic type '{2}'. + MC6020: 标记“{2}”上的 {0}:TypeArguments='{1}' 无效。要么“{2}”不是泛型类型,要么特性中 Type 参数的数目错误。请移除 {0}:TypeArguments 特性,因为只在通用类型上允许该特性,或将其值修复为匹配泛型类型“{2}”的 arity。 + + + + MC6008: '{0}' is not installed properly on this machine. It must be listed in the <compilers> section of machine.config. + MC6008: 未在该计算机上正确安装“{0}”。它必须在 machine.config 的 <compilers> 部分中列出。 + + + + Unknown path operation attempted. + 尝试未知的路径操作。 + + + + LC1003: Localization comment has no value set for target property: '{0}'. + LC1003: 本地化注释没有目标属性:“{0}”的值集。 + + + + UpdateManifestForBrowserApplication + UpdateManifestForBrowserApplication + + + + MC4501: Major and minor version number components cannot be negative. + MC4501: 主要版本号组件和次要版本号组件不能为负数。 + + + + MC6000: Project file must include the .NET Framework assembly '{0}' in the reference list. + MC6000: 项目文件必须在引用列表中包含 .NET Framework 程序集“{0}”。 + + + + MC1001: The LocalizationDirectivesToLocFile property value is not valid and must be changed to None, CommentsOnly, or All for the MarkupCompilePass1 task. + MC1001: LocalizationDirectivesToLocFile 属性值无效,必须针对 MarkupCompilePass1 任务将其更改为 None、CommentsOnly 或 All。 + + + + BG1003: The project file contains a property value that is not valid. + BG1003: 项目文件包含无效的属性值。 + + + + MC4602: Choice cannot follow a Fallback. + MC4602: Choice 不能跟在 Fallback 之后。 + + + + MC4606: AlternateContent must contain one or more Choice elements. + MC4606: AlternateContent 必须包含一个或多个 Choice 元素。 + + + + MC4601: Choice valid only in AlternateContent. + MC4601: Choice 仅在 AlternateContent 中有效。 + + + + MC4640: Namespace '{0}' is marked as compatible with itself using XmlnsCompatibilityAttribute. A namespace cannot directly or indirectly override itself. + MC4640: 已使用 XmlnsCompatibilityAttribute 将命名空间“{0}”标记为与自身兼容。命名空间不能直接或间接地重写自身。 + + + + MC4631: Duplicate Preserve declaration for element '{1}' in namespace '{0}'. + MC4631: 命名空间“{0}”中元素“{1}”的重复 Preserve 声明。 + + + + MC4617: Duplicate ProcessContent declaration for element '{1}' in namespace '{0}'. + MC4617: 命名空间“{0}”中元素“{1}”的重复 ProcessContent 声明。 + + + + MC4633: Duplicate wildcard Preserve declaration for namespace '{0}'. + MC4633: 命名空间“{0}”的重复通配符 Preserve 声明。 + + + + MC4619: Duplicate wildcard ProcessContent declaration for namespace '{0}'. + MC4619: 命名空间“{0}”的重复通配符 ProcessContent 声明。 + + + + MC4605: Fallback valid only in AlternateContent. + MC4605: Fallback 仅在 AlternateContent 中有效。 + + + + MC4610: '{0}' element is not a valid child of AlternateContent. Only Choice and Fallback elements are valid children of an AlternateContent element. + MC4610:“{0}”元素不是 AlternateContent 的有效子级。只有 Choice 和 Fallback 元素是 AlternateContent 元素的子级。 + + + + MC4608: '{0}' attribute is not valid for element '{1}'. + MC4608:“{0}”特性对元素“{1}”无效。 + + + + MC4611: '{0}' format is not valid. + MC4611:“{0}”格式无效。 + + + + MC4632: Cannot have both a specific and a wildcard Preserve declaration for namespace '{0}'. + MC4632: 命名空间“{0}”不能同时具有特定的和通配符性质的 Preserve 声明。 + + + + MC4618: Cannot have both a specific and a wildcard ProcessContent declaration for namespace '{0}'. + MC4618: 命名空间“{0}”不能同时具有特定的和通配符性质的 ProcessContent 声明。 + + + + MC4604: Requires attribute must contain a valid namespace prefix. + MC4604: Requires 特性必须包含有效的命名空间前缀。 + + + + MC4634: '{0}' attribute value is not a valid XML name. + MC4634:“{0}”特性值不是有效的 XML 名称。 + + + + MC4607: AlternateContent must contain only one Fallback element. + MC4607: AlternateContent 必须仅包含一个 Fallback 元素。 + + + + MC4626: MustUnderstand condition failed on namespace '{0}'. + MC4626: MustUnderstand 条件在命名空间“{0}”上失败。 + + + + MC4630: Namespace '{0}' has items declared to be preserved but is not declared ignorable. + MC4630: 命名空间“{0}”具有声明为保留但未声明为可忽略的项。 + + + + MC4615: '{0}' namespace is declared ProcessContent but is not declared Ignorable. + MC4615:“{0}”命名空间声明 ProcessContent 但未声明 Ignorable。 + + + + MC4603: Choice must contain a Requires attribute. + MC4603: Choice 必须包含 Requires 特性。 + + + + MC4612: '{0}' prefix is not defined. + MC4612: 未定义“{0}”前缀。 + + + + MC4614: Unrecognized compatibility attribute '{0}'. + MC4614: 无法识别的兼容性特性“{0}”。 + + + + MC4609: Unrecognized compatibility element '{0}'. + MC4609: 无法识别的兼容性元素“{0}”。 + + + + MC4502: The feature ID string cannot have length 0. + MC4502: 功能 ID 字符串不能具有长度 0。 + + + + + \ No newline at end of file diff --git a/src/Microsoft.DotNet.Wpf/src/PresentationBuildTasks/Resources/xlf/Strings.zh-Hant.xlf b/src/Microsoft.DotNet.Wpf/src/PresentationBuildTasks/Resources/xlf/Strings.zh-Hant.xlf new file mode 100644 index 00000000000..97883028d01 --- /dev/null +++ b/src/Microsoft.DotNet.Wpf/src/PresentationBuildTasks/Resources/xlf/Strings.zh-Hant.xlf @@ -0,0 +1,1242 @@ + + + + + + Analysis Result : '{0}'. + 分析結果: '{0}'。 + + + + MC1002: Library project file cannot specify ApplicationDefinition element. + MC1002: 程式庫專案檔無法指定 ApplicationDefinition 項目。 + + + + Input: Markup ApplicationDefinition file: '{0}'. + 輸入: 標記 ApplicationDefinition 檔案: '{0}'。 + + + + MC6015: '{0}' cannot be set on the '{1}:{2}' tag. + MC6015: 無法在 '{1}:{2}' 標記上設定 '{0}'。 + + + + UM1001: Unrecognized UidManager task name '{0}'. + UM1001: 無法識別的 UidManager 工作名稱 '{0}'。 + + + + Checking Uids in file '{0}' ... + 正在檢查檔案 '{0}' 中的 Uid... + + + + Generated localization directives file: '{0}' . + 已產生的當地語系化指示詞檔案: '{0}'。 + + + + Generating localization directives file: '{0}' ... + 正在產生當地語系化指示詞檔案: '{0}'... + + + + Markup compilation is done. + 標記編譯完成。 + + + + MarkupCompilePass1 successfully generated BAML or source code files. + MarkupCompilePass1 已順利產生 BAML 或原始程式碼檔案。 + + + + MarkupCompilePass2 successfully generated BAML or source code files. + MarkupCompilePass2 已順利產生 BAML 或原始程式碼檔案。 + + + + MC6011: '{0}' event has a generic event handler delegate type '{1}'. The type parameters of '{1}' cannot be bound with an appropriate type argument because the containing tag '{2}' is not a generic type. + MC6011: '{0}' 事件具有泛用事件處理常式委派型別 '{1}'。'{1}' 的型別參數無法與適當的型別引數繫結,因為包含標記 '{2}' 不是泛型型別。 + + + + Current project directory is '{0}'. + 目前的專案目錄是 '{0}'。 + + + + MC6022: Only a root tag can specify attribute '{0}:{1}'. + MC6022: 只有根標記可以指定屬性 '{0}:{1}'。 + + + + MC6010: '{0}:{1}' cannot be specified as the root element. + MC6010: 無法指定 '{0}:{1}' 做為根項目。 + + + + MC6004: '{0}:{1}' contains '{2}'. '{0}:{1}' can contain only a CDATA or text section. + MC6004: '{0}:{1}' 包含 '{2}'。'{0}:{1}' 只能包含 CDATA 或文字區段。 + + + + Started the markup compilation. + 已開始進行標記編譯。 + + + + MC6030: {0}="{1}" is not valid. '{0}' event attribute value cannot be a string that is empty or has only white space. + MC6030: {0}="{1}" 無效。'{0}' 事件屬性值不可以是空字串或只包含空白字元的字串。 + + + + MC6021: {0}:FieldModifier cannot be specified on this tag because it has either no {0}:Name or Name attribute set, or the tag is locally defined and has a Name attribute set, which is not allowed. + MC6021: 無法在此標記上指定 {0}:FieldModifier,因為它並未設定 {0}:Name 或 Name 屬性,或是標記已在本機定義且已設定 Name 屬性,上述兩種情況都是不允許的。 + + + + FileClassifier + FileClassifier + + + + BG1002: File '{0}' cannot be found. + BG1002: 找不到檔案 '{0}'。 + + + + Input file '{0}' is resolved to new relative path '{1}' at directory '{2}'. + 輸入檔案 '{0}' 已解析為新的相對路徑 '{1}' (於目錄 '{2}')。 + + + + UM1004: {0} files failed Uid check. + UM1004: 無法針對 {0} 檔案執行 Uid 檢查。 + + + + Uids valid in {0} files. + {0} 檔案中的 Uid 正確。 + + + + Uids removed from {0} files. + 已從 {0} 檔案移除 Uid。 + + + + Uids updated in {0} files. + 已更新 {0} 檔案中的 Uid。 + + + + Generated BAML file: '{0}'. + 已產生 BAML 檔案: '{0}'。 + + + + Generated code file: '{0}'. + 已產生程式碼檔案: '{0}'。 + + + + GetWinFXPath + GetWinFXPath + + + + MC6003: '{0}:{1}' contains '{2}'. '{0}:{1}' cannot contain nested content. + MC6003: '{0}:{1}' 包含 '{2}'。'{0}:{1}' 不能包含巢狀內容。 + + + + UM1006: '{0}' directory does not exist and cannot be created. + UM1006: '{0}' 目錄不存在,且無法建立該目錄。 + + + + InternalTypeHelper class is not required for this project, make file '{0}' empty. + 對於此專案,InternalTypeHelper 類別不是必要項目,將檔案 '{0}' 清空。 + + + + MC6018: '{0}' class name is not valid for the locally defined XAML root element. + MC6018: 對於 XAML 根項目而言,在本機定義的 '{0}' 類別名稱是無效的。 + + + + MC6019: '{0}' namespace is not valid for the locally defined XAML root element '{1}'. + MC6019: 對於在本機定義的 XAML 根項目 '{1}' 而言,'{0}' 命名空間是無效的。 + + + + MC6027: {0}:{1}="{2}" is not valid. '{2}' is not a valid {3}class name. + MC6027: {0}:{1}="{2}" 無效。'{2}' 不是有效的 {3} 類別名稱。 + + + + FC1001: The UICulture value '{0}' set in the project file is not valid. + FC1001: 在專案檔中設定的 UICulture 值 '{0}' 無效。 + + + + MC4402: Serializer does not support custom BAML serialization operations. + MC4402: 序列化程式不支援自訂 BAML 序列化操作。 + + + + MC4401: Serializer does not support Convert operations. + MC4401: 序列化程式不支援 Convert 操作。 + + + + MC6029: '{0}' name is not valid in the default namespace '{1}'. Correct the RootNamespace tag value in the project file. + MC6029: 預設命名空間 '{1}' 中的 '{0}' 名稱無效。請更正專案檔中的 RootNamespace 標記值。 + + + + MC6005: {0}="{1}" is not valid. '{1}' is not a valid event handler method name. Only instance methods on the generated or code-behind class are valid. + MC6005: {0}="{1}" 無效。'{1}' 不是有效的事件處理常式方法名稱。只有已產生之類別或程式碼後置類別中的執行個體方法是有效的。 + + + + LC1001: Localization comment target property is not valid in string '{0}'. + LC1001: '{0}' 字串中的當地語系化註解目標屬性無效。 + + + + LC1002: Localization comment value is not valid for target property '{0}' in string '{1}'. + LC1002: '{1}' 字串中目標屬性 '{0}' 的當地語系化註解值無效。 + + + + LC1004: Localizability attribute setting '{0}' is not valid. + LC1004: 可當地語系化屬性設定 '{0}' 無效。 + + + + MC6001: Markup file is not valid. Specify a source markup file with an .xaml extension. + MC6001: 標記檔案無效。請指定具有 .xaml 副檔名的來源標記檔案。 + + + + MC6028: {0}:TypeArguments="{1}" is not valid. '{2}' is not a valid type name reference for the generic argument at position '{3}'. + MC6028: {0}:TypeArguments="{1}" 無效。'{2}' 不是泛型引數 (位置 '{3}') 的有效型別名稱參考。 + + + + MC3000: '{0}' XML is not valid. + MC3000: '{0}' XML 無效。 + + + + MC6023: Because '{0}' is implemented in the same assembly, you must set the {1}:Name attribute rather than the Name attribute. + MC6023: 因為 '{0}' 是實作於相同的組件中,您必須設定 {1}:Name 屬性,而非 Name 屬性。 + + + + Input: Local reference markup ApplicationDefinition file is '{0}'. + 輸入: 本機參考標記 ApplicationDefinition 檔案是 '{0}'。 + + + + Generated BAML file: '{0}'. + 已產生的 BAML 檔案: '{0}'。 + + + + Input: Local reference markup Page file: '{0}'. + 輸入: 本機參考標記 Page 檔案: '{0}'。 + + + + MarkupCompilePass1 + MarkupCompilePass1 + + + + MarkupCompilePass2 + MarkupCompilePass2 + + + + MC6012: '{0}' event has a generic event handler delegate type '{1}'. The type parameter '{2}' on '{1}' does not match any type parameters on the containing generic tag '{3}'. + MC6012: '{0}' 事件具有泛用事件處理常式委派型別 '{1}'。'{1}' 上的型別參數 '{2}' 不符合容器泛用標記 '{3}' 上的任何型別參數。 + + + + MergeLocalizationDirectives + MergeLocalizationDirectives + + + + MC6026: '{0}' root element requires a {1}:Class attribute because '{2}' contains a {1}:Code tag. Either remove {1}:Code and its contents, or add a {1}:Class attribute to the root element. + MC6026: '{0}' 根項目需要 {1}:Class 屬性,因為 '{2}' 包含 {1}:Code 標記。請移除 {1}:Code 與其內容,或新增 {1}:Class 屬性至根項目。 + + + + MC6024: '{0}' root element requires a {1}:Class attribute to support event handlers in the XAML file. Either remove the event handler for the {2} event, or add a {1}:Class attribute to the root element. + MC6024: '{0}' 根項目需要 {1}:Class 屬性,才能支援 XAML 檔案中的事件處理常式。請移除 {2} 事件的事件處理常式,或新增 {1}:Class 屬性至根項目。 + + + + MC6025: '{0}' root element is a generic type and requires a {1}:Class attribute to support the {1}:TypeArguments attribute specified on the root element tag. + MC6025: '{0}' 根項目是泛型型別,且需要 {1}:Class 屬性,才能支援根項目標記中指定的 {1}:TypeArguments 屬性。 + + + + MC6031: {0}:FieldModifier attribute cannot be specified because a {0}:Class attribute is also required to generate a Name field with the specified access modifier. Either add a {0}:Class attribute on the root tag or remove the {0}:FieldModifier attribute. + MC6031: 無法指定 {0}:FieldModifier 屬性,因為必須也要有 {0}:Class 屬性,才能使用指定的存取修飾詞產生 Name 欄位。請在根標記新增 {0}:Class 屬性,或移除 {0}:FieldModifier 屬性。 + + + + MC6009: {0}:ClassModifier attribute cannot be specified on the root tag because a {0}:Class attribute is also required. Either add a {0}:Class attribute or remove the {0}:ClassModifier attribute. + MC6009: 無法在根標記上指定 {0}:ClassModifier 屬性,因為也必須指定 {0}:Class 屬性。請新增 {0}:Class 屬性,或移除 {0}:ClassModifier 屬性。 + + + + MC6016: {0}:Class attribute is missing. It is required when a {0}:Subclass attribute is specified. + MC6016: {0}:Class 屬性遺失。指定 {0}:Subclass 屬性時,也必須指定此屬性。 + + + + RG1002: ResourcesGenerator can generate only one .resources file at a time. The OutputResourcesFile property in the project file must be set to one file. + RG1002: ResourcesGenerator 一次只能產生一個 .resources 檔案。專案檔中的 OutputResourcesFile 屬性必須設定至一個檔案。 + + + + MC1004: Project file cannot specify more than one SplashScreen element. + MC1004: 專案檔無法指定多個 SplashScreen 項目。 + + + + UM1002: Uid "{0}" for element '{1}' is not unique. + UM1002: 項目 '{1}' 的 Uid "{0}" 不是唯一的。 + + + + MC1003: Project file cannot specify more than one ApplicationDefinition element. + MC1003: 專案檔無法指定多個 ApplicationDefinition 項目。 + + + + A '{0}' is named '{1}'. Do not name ResourceDictionary contents because their instantiation is deferred. + '{0}' 已命名為 '{1}'。請勿將 ResourceDictionary 內容命名,因為執行個體化已延後。 + + + + BG1001: Unknown CLS exception. + BG1001: 不明的 CLS 例外狀況。 + + + + OutputType is '{0}'. + OutputType 是 '{0}'。 + + + + MC3001: TypeConverter syntax error encountered while processing initialization string '{0}'. Property elements are not allowed on objects created via TypeConverter. + MC3001: 處理初始化字串 '{0}' 時發生 TypeConverter 語法錯誤。透過 TypeConverter 建立的物件上不允許屬性項目。 + + + + MC3099: Cannot load assembly '{0}' because a different version of that same assembly is loaded '{1}'. + MC3099: 無法載入組件 '{0}',因為已載入相同組件的不同版本 '{1}'。 + + + + MC3002: The AsyncRecords attribute must be set on the root tag. + MC3002: 必須在根標記上設定 AsyncRecords 屬性。 + + + + MC3015: The attached property '{0}' is not defined on '{1}' or one of its base classes. + MC3015: 附加的屬性 '{0}' 不是在 '{1}' 或它的其中一個基底類別上所定義。 + + + + MC3003: There are too many attributes specified for '{0}'. + MC3003: 為 '{0}' 指定的屬性太多。 + + + + MC3004: There are not enough attributes specified for '{0}'. + MC3004: 為 '{0}' 指定的屬性數目不足。 + + + + MC3005: The property '{0}' must be in the default namespace or in the element namespace '{1}'. + MC3005: 屬性 '{0}' 必須位於預設的命名空間,或是位於項目命名空間 '{1}'。 + + + + MC3006: Mapper.SetAssemblyPath cannot accept an empty assemblyName. + MC3006: Mapper.SetAssemblyPath 無法接受空的 assemblyName。 + + + + MC3007: Mapper.SetAssemblyPath cannot accept an empty assemblyPath. + MC3007: Mapper.SetAssemblyPath 無法接受空的 assemblyPath。 + + + + MC3008: An element of type '{0}' cannot be set on the complex property '{1}'. They are not compatible types. + MC3008: 無法在複雜屬性 '{1}' 上設定型別為 '{0}' 的項目。它們不是相容的型別。 + + + + MC3009: Cannot find a public constructor for '{0}' that takes {1} arguments. + MC3009: 找不到取得 {1} 個引數之 '{0}' 的公用建構函式。 + + + + MC3012: A key for a dictionary cannot be of type '{0}'. Only String, TypeExtension, and StaticExtension are supported. + MC3012: 字典的索引鍵型別不能是 '{0}'。只支援 String、TypeExtension 與 StaticExtension。 + + + + MC3029: '{0}' member is not valid because it does not have a qualifying type name. + MC3029: '{0}' 成員無效,因為它沒有合格的型別名稱。 + + + + MC3010: '{0}' Name property value is not valid. Name must start with a letter or an underscore and can contain only letters, digits, and underscores. + MC3010: '{0}' Name 屬性值無效。Name 的開頭必須是字母或底線,而且只能包含字母、數字或底線。 + + + + MC3094: Cannot convert string value '{0}' to type '{1}'. + MC3094: 無法將字串值 '{0}' 轉換為型別 '{1}'。 + + + + MC3013: SynchronousMode property value is not valid. Valid values are Async and Sync. + MC3013: SynchronousMode 屬性值無效。有效值是 Async 和 Sync。 + + + + MC3014: The object being added to an array property is not a valid type. The array is of type '{0}' but the object being added is of type '{1}'. + MC3014: 要新增到陣列屬性之物件的型別無效。陣列型別為 '{0}',但要新增之物件的型別為 '{1}'。 + + + + MC3079: MarkupExtensions are not allowed for Uid or Name property values, so '{0}' is not valid. + MC3079: Uid 或 Name 屬性值不允許 MarkupExtensions,因此 '{0}' 無效。 + + + + MC3089: The object '{0}' already has a child and cannot add '{1}'. '{0}' can accept only one child. + MC3089: 物件 '{0}' 已有子系,且無法新增 '{1}'。'{0}' 只能接受一個子系。 + + + + MC3028: Cannot add content to object of type '{0}'. + MC3028: 無法將內容新增至型別為 '{0}' 的物件。 + + + + MC3081: '{0}' is a read-only property of type IList or IDictionary and cannot be set because it does not have a public or internal get accessor. + MC3081: '{0}' 是型別為 IList 或 IDictionary 的唯讀屬性且無法設定,因為它沒有公用或內部 get 存取子。 + + + + MC3080: The {0} '{1}' cannot be set because it does not have an accessible {2} accessor. + MC3080: 無法新增 {0} '{1}',因為它沒有可存取的 {2} 存取子。 + + + + MC3087: Cannot set content property '{0}' on element '{1}'. '{0}' has incorrect access level or its assembly does not allow access. + MC3087: 無法在 '{1}' 上設定內容屬性 '{0}'。'{0}' 具有不正確的存取層級,或其組件不允許存取。 + + + + MC3082: '{0}' cannot be set as the value of a Trigger's Property attribute because it does not have a public or internal get accessor. + MC3082: '{0}' 無法設定為 Trigger 之 Property 屬性的值,因為它沒有公用或內部 get 存取子。 + + + + MC3016: Two new namespaces cannot be compatible with the same old namespace using an XmlnsCompatibility attribute.�'{0}' namespace is already marked compatible with '{1}'. + MC3016: 兩個新的命名空間無法與使用 XmlnsCompatibility 屬性的相同舊版命名空間相容。�'{0}' 命名空間已標示為與 '{1}' 相容。 + + + + MC3088: Property elements cannot be in the middle of an element's content. They must be before or after the content. + MC3088: 屬性項目不能位於項目內容的中間。它們必須位於內容的前面或後面。 + + + + MC3017: 'Code' tag from xaml namespace found in XAML file. To load this file, you must compile it. + MC3017: 在 XAML 檔案中找到來自 xaml 命名空間的 'Code' 標記。若要載入此檔案,您必須將它編譯。 + + + + MC3061: The Element type '{0}' does not have an associated TypeConverter to parse the string '{1}'. + MC3061: 項目型別 '{0}' 沒有關聯的 TypeConverter 可剖析字串 '{1}'。 + + + + MC3018: Cannot modify data in a sealed XmlnsDictionary. + MC3018: 無法修改已密封之 XmlnsDictionary 中的資料。 + + + + MC3020: The dictionary key '{0}' is already used. Key attributes are used as keys when inserting objects into a dictionary and must be unique. + MC3020: 字典索引鍵 '{0}' 已使用。插入物件至字典時,會使用索引鍵屬性做為索引鍵,它們必須是唯一的。 + + + + MC3033: The property '{0}' has already been set on this markup extension and can only be set once. + MC3033: 已在此標記延伸上設定屬性 '{0}',且只能設定一次。 + + + + MC3024: '{0}' property has already been set and can be set only once. + MC3024: 已設定 '{0}' 屬性,且只能設定一次。 + + + + MC3025: Property '{0}' and '{1}' refer to the same property. Duplicate property settings are not allowed. + MC3025: 屬性 '{0}' 與 '{1}' 代表相同屬性。不允許重複的屬性設定。 + + + + MC3026: '{0}' property element cannot be empty. It must contain child elements or text. + MC3026: '{0}' 屬性項目不能是空的。它必須包含子項目或文字。 + + + + MC3027: The EntityReference &{0}; is not recognized. + MC3027: 無法識別 EntityReference &{0};。 + + + + MC3083: Cannot access the delegate type '{0}' for the '{1}' event. '{0}' has incorrect access level or its assembly does not allow access. + MC3083: 無法存取 '{1}' 事件的委派型別 '{0}'。'{0}' 具有不正確的存取層級,或其組件不允許存取。 + + + + MC3030: '{0}' property is a read-only IEnumerable property, which means that '{1}' must implement IAddChild. + MC3030: '{0}' 屬性是唯讀的 IEnumerable 屬性,這表示 '{1}' 必須實作 IAddChild。 + + + + MC3078: Invalid ContentPropertyAttribute on type '{0}', property '{1}' not found. + MC3078: 在型別 '{0}',屬性 '{1}' 上找不到無效的 ContentPropertyAttribute。 + + + + Known type value {0}='{1}' is not a valid known type. + 已知型別值 {0}='{1}' 不是有效的已知型別。 + + + + MC3011: Cannot find the static member '{0}' on the type '{1}'. + MC3011: 在型別 '{1}' 上找不到靜態成員 '{0}'。 + + + + MC3031: Keys and values in XmlnsDictionary must be strings. + MC3031: XmlnsDictionary 中的索引鍵與值必須是字串。 + + + + Line {0} Position {1} + 行 {0} 位置 {1} + + + + MC3037: Missing XmlNamespace, Assembly or ClrNamespace in Mapping instruction. + MC3037: Mapping 指示中遺失 XmlNamespace、Assembly 或 ClrNamespace。 + + + + '{0}' mapping URI is not valid. + '{0}' mapping URI 無效。 + + + + MC3040: Format is not valid for MarkupExtension that specifies constructor arguments in '{0}'. + MC3040: 在 '{0}' 中指定建構函式引數之 MarkupExtension 的格式不正確。 + + + + MC3041: Markup extensions require a single '=' between name and value, and a single ',' between constructor parameters and name/value pairs. The arguments '{0}' are not valid. + MC3041: 標記延伸要求名稱與值之間必須使用一個 '=' 來分隔; 而建構函式參數與名稱/值組之間則必須使用一個 ',' 來分隔。引數 '{0}' 無效。 + + + + MC3091: '{0}' is not valid. Markup extensions require only spaces between the markup extension name and the first parameter. Cannot have comma or equals sign before the first parameter. + MC3091: '{0}' 無效。標記延伸要求標記延伸名稱與第一個參數之間只能有一個空格。第一個參數之前不能有逗號或等號。 + + + + MC8001: Encountered a closing BracketCharacter '{0}' at Line Number '{1}' and Line Position '{2}' without a corresponding opening BracketCharacter. + MC8001: 在行號 '{1}' 與行位置 '{2}' 發生結尾 BracketCharacter '{0}' 而沒有相對應的開頭 BracketCharacter。 + + + + MC8002: BracketCharacter '{0}' at Line Number '{1}' and Line Position '{2}' does not have a corresponding opening/closing BracketCharacter. + MC8002: 行號 '{1}' 與行位置 '{2}' 的 BracketCharacter '{0}' 沒有相對應的開頭/結尾 BracketCharacter。 + + + + MC3038: MarkupExtension expressions must end with a '}'. + MC3038: MarkupExtension 運算式的結尾必須是 '}'。 + + + + MC3042: Name/value pairs in MarkupExtensions must have the format 'Name = Value' and each pair is separated by a comma. '{0}' does not follow this format. + MC3042: MarkupExtensions 中的名稱/值組格式必須是 'Name = Value',而每一組之間必須以逗號分則。'{0}' 未依照此格式。 + + + + MC3043: Names and Values in a MarkupExtension cannot contain quotes. The MarkupExtension arguments '{0}' are not valid. + MC3043: MarkupExtension 中的名稱與值不能包含引號。MarkupExtension 引數 '{0}' 無效。 + + + + MC3044: The text '{1}' is not allowed after the closing '{0}' of a MarkupExtension expression. + MC3044: MarkupExtension 運算式的右 '{0}' 之後不允許文字 '{1}'。 + + + + MC3045: Unknown property '{0}' for type '{1}' encountered while parsing a Markup Extension. + MC3045: 剖析 Markup Extension 時,發現型別 '{1}' 的未知屬性 '{0}'。 + + + + MC3046: Unknown attribute '{0}' in the '{1}' namespace. Note that only the Key attribute is currently supported in this namespace. + MC3046: 在 '{1}' 命名空間中發現未知屬性 '{0}'。請注意,目前此命名空間中只支援 Key 屬性。 + + + + MC3047: Internal parser error - Cannot use multiple writable BAML records at the same time. + MC3047: 內部剖析器錯誤 - 無法同時使用多筆可寫入的 BAML 記錄。 + + + + '{0}' property element cannot be nested directly inside another property element. + '{0}' 無法以巢狀結構方式直接放入另一個屬性項目中。 + + + + MC3049: Cannot place attributes on Array tags. + MC3049: 無法將屬性放置在 Array 標記上。 + + + + MC3021: Asynchronous loading is not supported when compiling a XAML file, so a SynchronousMode of '{0}' is not allowed. + MC3021: 編譯 XAML 檔案時,不支援非同步載入,因此不允許 '{0}' 的 SynchronousMode。 + + + + MC3051: The type '{0}' does not support element content. + MC3051: 型別 '{0}' 不支援項目內容。 + + + + MC3022: All objects added to an IDictionary must have a Key attribute or some other type of key associated with them. + MC3022: 新增至 IDictionary 的所有物件必須具有 Key 屬性 (或是與其關聯的某些型別的索引鍵)。 + + + + MC3023: The Key attribute can only be used on a tag contained in a Dictionary (such as a ResourceDictionary). + MC3023: Key 屬性只能用於包含在 Dictionary (例如 ResourceDictionary) 中的標記上。 + + + + MC3032: '{1}' cannot be used as a value for '{0}'. Numbers are not valid enumeration values. + MC3032: '{1}' 無法用做為 '{0}' 的值。數字不是有效的列舉值。 + + + + MC3053: Cannot use property element syntax to specify event handler '{0}'. + MC3053: 無法使用屬性項目語法來指定事件處理常式 '{0}'。 + + + + MC3052: XAML file that contains events must be compiled. + MC3052: 必須編譯包含事件的 XAML 檔案。 + + + + MC3054: The type '{0}' cannot have a Name attribute. Value types and types without a default constructor can be used as items within a ResourceDictionary. + MC3054: 型別 '{0}' 不能具有 Name 屬性。沒有預設建構函式的實值型別與類型,可做為 ResourceDictionary 中的項目使用。 + + + + MC3093: Cannot set Name attribute value '{0}' on element '{1}'. '{1}' is under the scope of element '{2}', which already had a name registered when it was defined in another scope. + MC3093: 無法在項目 '{1}' 上設定 Name 屬性值 '{0}'。'{1}' 屬於項目 '{2}' 的範圍,當它在另一個範圍定義時,已經有已登錄的名稱。 + + + + MC3056: No NamespaceURI is defined for the object '{0}'. + MC3056: 尚未針對物件 '{0}' 定義 NamespaceURI。 + + + + MC3084: Cannot nest XML data islands. + MC3084: 無法將 XML 資料島變更為巢狀結構。 + + + + MC3057: Cannot set properties on property elements. + MC3057: 無法設定屬性項目的內容。 + + + + MC3058: Cannot find a custom serializer for '{0}' so it cannot be parsed. + MC3058: 找不到 '{0}' 的自訂序列化程式,因此無法剖析。 + + + + MC3059: Style setters do not support child elements. A tag of type '{0}' is not allowed. + MC3059: 樣式設定者不支援子項目。不允許型別為 '{0}' 的標記。 + + + + MC3050: Cannot find the type '{0}'. Note that type names are case sensitive. + MC3050: 找不到型別 '{0}'。請注意,型別名稱會區分大小寫。 + + + + MC3048: '{0}' value is not a valid MarkupExtension expression. Cannot resolve '{1}' in namespace '{2}'. '{1}' must be a subclass of MarkupExtension. + MC3048: '{0}' 值不是有效的 MarkupExtension 運算式。無法解析命名空間 '{2}' 中的 '{1}'。'{1}' 必須是 MarkupExtension 的子類別。 + + + + MC3062: '{0}' XML namespace prefix does not map to a NamespaceURI, so element '{1}' cannot be resolved. + MC3062: '{0}' XML 命名空間前置詞未對應到 NamespaceURI,因此無法解析項目 '{1}'。 + + + + MC3100: '{0}' XML namespace prefix does not map to a namespace URI, so cannot resolve property '{1}'. + MC3100: '{0}' XML 命名空間未對應至命名空間 URI,因此無法解析屬性 '{1}'。 + + + + MC3063: Property '{0}' does not have a value. + MC3063: 屬性 '{0}' 沒有值。 + + + + MC3064: Only public or internal classes can be used within markup. '{0}' type is not public or internal. + MC3064: 只能在標記中使用公用或內部類別。'{0}' 型別並非公用或內部。 + + + + MC3065: '{0}' property is read-only and cannot be set from markup. + MC3065: '{0}' 屬性是唯讀的,而且無法從標記設定。 + + + + MC3066: The type reference cannot find a public type named '{0}'. + MC3066: 型別參考找不到名為 '{0}' 的公用型別。 + + + + MC3019: Cannot reference the static member '{0}' on the type '{1}' as it is not accessible. + MC3019: 無法參考型別 '{1}' 上的靜態成員 '{0}',因為它無法存取。 + + + + MC3067: SynchronousMode attribute must be on the root tag. + MC3067: 必須在根標記上設定 SynchronousMode 屬性。 + + + + MC3069: Cannot have both the text '{0}' and the child element '{1}' within a property element. + MC3069: 屬性項目中不能同時存在文字 '{0}' 與子項目 '{1}'。 + + + + MC3068: Text is not valid under an IDictionary or Array property. + MC3068: 在 IDictionary 或 Array 屬性下,文字是無效的。 + + + + MC3070: A single XAML file cannot reference more than 4,096 different assemblies. + MC3070: 單一 XAML 檔案無法參考超過 4,096 個不同的組件。 + + + + MC3095: Close tag must immediately follow TypeConverter initialization string '{0}'. + MC3095: 結束標記必須緊接在 TypeConverter 初始化字串 '{0}' 後方。 + + + + MC3090: TypeConverter syntax error encountered while processing initialization string '{0}'. Element attributes are not allowed on objects created via TypeConverter. + MC3090: 處理初始化字串時發生 TypeConverter 語法錯誤 '{0}'。透過 TypeConverter 建立的物件上不允許使用項目屬性。 + + + + MC3071: '{0}' is an undeclared namespace. + MC3071: '{0}' 是未宣告的命名空間。 + + + + MC3072: The property '{0}' does not exist in XML namespace '{1}'. + MC3072: 屬性 '{0}' 不存在於 XML 命名空間 '{1}' 中。 + + + + MC3073: The attribute '{0}' does not exist in XML namespace 'http://schemas.microsoft.com/winfx/2006/xaml'. + MC3073: 屬性 '{0}' 不存在於 XML 命名空間 'http://schemas.microsoft.com/winfx/2006/xaml' 中。 + + + + MC3074: The tag '{0}' does not exist in XML namespace '{1}'. + MC3074: 標記 '{0}' 不存在於 XML 命名空間 '{1}' 中。 + + + + MC3075: Unrecognized XML node type '{0}' found when determining if the current tag is a property element. + MC3075: 判斷目前的標記是否為屬性項目時,發現無法識別的 XML 節點類型 '{0}'。 + + + + MC3086: Parent element or property '{0}' requires an XML data island. To distinguish an XML island from surrounding XAML, wrap the XML data island in <x:XData> ... </x:XData>. + MC3086: 父項目或屬性 '{0}' 需要 XML 資料島。為區分 XML 資料島與週邊 XAML,請將 XML 資料島包裝在 <x:XData> ... </x:XData> 中。 + + + + MC3085: '{0}' element or property cannot contain an XML data island. + MC3085: '{0}' 項目或屬性不能包含 XML 資料島。 + + + + MC3092: XmlLangProperty attribute must specify a property name. + MC3092: XmlLangProperty 屬性必須指定屬性名稱。 + + + + MC3077: The class '{0}' does not implement IXmlLineInfo. This is required to get position information for the XAML being parsed. + MC3077: 類別 '{0}' 並未實作 IXmlLineInfo。必須實作,才能取得即將剖析之 XAML 的位置資訊。 + + + + MC3098: Unexpected token '{0}' at position '{1}'. + MC3098: 非預期的語彙基元 '{0}',位置 '{1}'。 + + + + MC3096: Token is not valid. + MC3096: 語彙基元無效。 + + + + Preparing for the markup compilation... + 正在準備標記編譯... + + + + MC4301: Type name '{0}' does not have the expected format 'className, assembly'. + MC4301: 型別名稱 '{0}' 不是預期的格式 'className, assembly'。 + + + + Reading Resource file: '{0}'... + 正在讀取 Resource 檔案: '{0}'... + + + + Recompiled XAML file : '{0}'. + 已重新編譯 XAML 檔案: '{0}'。 + + + + Input: Assembly Reference file: '{0}'. + 輸入: 組件 Reference 檔案: '{0}'。 + + + + Resource ID is '{0}'. + 資源識別碼是 '{0}'。 + + + + RG1001: Input resource file '{0}' exceeds maximum size of {1} bytes. + RG1001: 輸入資源檔案 '{0}' 超過 {1} 位元組的大小上限。 + + + + Generated .resources file: '{0}'. + 已產生 .resources 檔案: '{0}'。 + + + + Generating .resources file: '{0}'... + 正在產生 .resources 檔案: '{0}'... + + + + ResourcesGenerator + ResourcesGenerator + + + + MC6006: {0}.{1}="{2}" is not valid. '{1}' must be a RoutedEvent registered with a name that ends with the keyword "Event". + MC6006: {0}.{1}="{2}" 無效。'{1}' 必須是以結尾是關鍵字 "Event" 之名稱登錄的 RoutedEvent。 + + + + UM1005: You must pass markup files to the task. + UM1005: 您必須將標記檔案傳遞給工作。 + + + + MC4110: SourceName property cannot be set within Style.Triggers section. + MC4110: 無法在 Style.Triggers 區段中設定 SourceName 屬性。 + + + + MC4001: Style does not support both {0} tags and Style.{1} property tags for a single Style. Use one or the other. + MC4001: Style 無法同時支援 {0} 標記與 Style.{1} 屬性標記做為單一 Style。請使用其中一個。 + + + + MC4002: The Style property tag '{0}' can only be specified directly under a Style tag. + MC4002: 只能在 Style 標記下直接指定 Style 屬性標記 '{0}'。 + + + + MC4005: Cannot find the Style {0} '{1}' on the type '{2}'. + MC4005: 在型別 '{2}' 中找不到 Style {0} '{1}'。 + + + + MC4003: Cannot resolve the Style {0} '{1}'. Verify that the owning type is the Style's TargetType, or use Class.Property syntax to specify the {0}. + MC4003: 無法解析 Style {0} '{1}'。請確定擁有者型別是 Style 的 TargetType,或使用 Class.Property 語法來指定 {0}。 + + + + MC4004: Style cannot contain child '{0}'. Style child must be a Setter because it is added to the Setters collection. + MC4004: Style 不能包含子 '{0}'。Style 子項目必須是 Setter,因為它會新增到 Setters 集合。 + + + + MC4006: Tags of type '{0}' are not supported in Style sections. + MC4006: Style 區段中不支援型別為 '{0}' 的標記。 + + + + MC4007: The event '{0}' cannot be specified on a Target tag in a Style. Use an EventSetter instead. + MC4007: 無法在 Style 中的 Target 標記上指定事件 '{0}'。請使用 EventSetter 來替代。 + + + + MC4008: The text '{0}' is not allowed at this location within a Style section. + MC4008: 不允許在 Style 區段中的此位置使用文字 '{0}'。 + + + + MC4009: The property '{0}' cannot be set on Style. + MC4009: 無法在 Style 上設定屬性 '{0}'。 + + + + MC6017: '{0}' cannot be the root of a XAML file because it was defined using XAML. + MC6017: '{0}' 無法做為 XAML 檔案的根,因為它是使用 XAML 定義。 + + + + BG1004: Target Type '{0}' is not supported by this task. + BG1004: 此工作不支援目標型別 '{0}'。 + + + + MC4011: TargetName property cannot be set on a Style Setter. + MC4011: 無法在 Style Setter 上設定 TargetName 屬性。 + + + + + Copyright (C) Microsoft Corporation 2005. All rights reserved. + Copyright (C) Microsoft Corporation 2005. 著作權所有,並保留一切權利。 + + + + MC4101: The Name '{0}' has already been defined. Names must be unique. + MC4101: 已定義 Name '{0}'。名稱必須是唯一的。 + + + + MC4108: The root of a Template content section cannot contain an element of type '{0}'. Only FrameworkElement and FrameworkContentElement types are valid. + MC4108: Template 內容區段的根不能包含型別為 '{0}' 的項目。只有 FrameworkElement 與 FrameworkContentElement 型別是有效的。 + + + + MC4103: The template property tag '{0}' can only be specified immediately after a ControlTemplate tag. + MC4103: 樣板屬性標記 '{0}' 只能緊接在 ControlTemplate 標記之後指定。 + + + + MC4107: A template can have only a single root element. '{0}' is not allowed. + MC4107: 樣板只能有一個根項目。不允許 '{0}'。 + + + + MC4109: Cannot find the Template Property '{0}' on the type '{1}'. + MC4109: 在型別 '{1}' 上找不到樣板屬性 '{0}'。 + + + + MC4106: Cannot resolve the Template Property '{0}'. Verify that the owning type is the Style's TargetType, or use Class.Property syntax to specify the property. + MC4106: 無法解析樣板屬性 '{0}'。請確定擁有者型別是 Style 的 TargetType,或使用 Class.Property 語法來指定屬性。 + + + + MC4111: Cannot find the Trigger target '{0}'. (The target must appear before any Setters, Triggers, or Conditions that use it.) + MC4111: 找不到 Trigger 目標 '{0}' (目標必須出現在任何使用它的 Setters、Triggers 或 Conditions 前面)。 + + + + MC4102: Tags of type '{0}' are not supported in template sections. + MC4102: 樣板區段不支援型別為 '{0}' 的標記。 + + + + MC4105: The text '{0}' is not allowed at this location within a template section. + MC4105: 不允許在樣板區段的此位置使用 '{0}'。 + + + + MC4104: The property '{0}' cannot be set as a property element on template. Only Triggers and Storyboards are allowed as property elements. + MC4104: 無法在樣板上將屬性 '{0}' 設定為屬性項目。只允許將 Triggers 與 Storyboards 設定為屬性項目。 + + + + MC7004: Empty token encountered while parsing. + MC7004: 剖析時發現空白的語彙基元。 + + + + MC7003: Extra data encountered after token while parsing. + MC7003: 剖析時在語彙基元後發現額外資料。 + + + + MC7002: Missing end quote encountered while parsing token. + MC7002: 剖析語彙基元時發現遺失結尾引號。 + + + + MC7001: Premature string termination encountered. + MC7001: 字串過早結束。 + + + + UidManager + UidManager + + + + UM1003: Uid is missing for element '{0}'. + UM1003: 項目 '{0}' 遺失 Uid。 + + + + Unknown build error, '{0}' + 不明的建置錯誤 '{0}' + + + + MC6013: {0}:ClassModifier="{1}" is not valid for the language {2}. + MC6013: {0}:ClassModifier="{1}" 對於語言 {2} 而言是無效的。 + + + + MC6002: Unrecognized tag '{0}:{1}' in namespace 'http://schemas.microsoft.com/winfx/2006/xaml'. Note that tag names are case sensitive. + MC6002: 在命名空間 'http://schemas.microsoft.com/winfx/2006/xaml' 中發現無法識別的標記 '{0}:{1}'。請注意,標記名稱會區分大小寫。 + + + + MC6007: '{1}' is not valid. '{0}' is not an event on '{2}'. + MC6007: '{1}' 無效。'{0}' 不是 '{2}' 上的事件。 + + + + MC6014: {0}:FieldModifier="{1}" is not valid for the language {2}. + MC6014: {0}:FieldModifier="{1}" 對於語言 {2} 而言是無效的。 + + + + MC6020: {0}:TypeArguments='{1}' is not valid on the tag '{2}'. Either '{2}' is not a generic type or the number of Type arguments in the attribute is wrong. Remove the {0}:TypeArguments attribute because it is allowed only on generic types, or fix its value to match the arity of the generic type '{2}'. + MC6020: {0}:TypeArguments='{1}' 在標記 '{2}' 上是無效的。'{2}' 不是泛型型別,或屬性中的 Type 引數數目錯誤。請移除 {0}:TypeArguments 屬性,因為它只能用於泛型型別; 或是修正此值以符合泛型型別 '{2}' 的引數數目要求。 + + + + MC6008: '{0}' is not installed properly on this machine. It must be listed in the <compilers> section of machine.config. + MC6008: '{0}' 並未正確安裝在此電腦上。它必須列示於 machine.config 的 <compilers> 區段。 + + + + Unknown path operation attempted. + 已嘗試不明的路徑操作。 + + + + LC1003: Localization comment has no value set for target property: '{0}'. + LC1003: 未設定目標屬性的當地語系化註解: '{0}'。 + + + + UpdateManifestForBrowserApplication + UpdateManifestForBrowserApplication + + + + MC4501: Major and minor version number components cannot be negative. + MC4501: 主要與次要版本號碼元件不能為負數。 + + + + MC6000: Project file must include the .NET Framework assembly '{0}' in the reference list. + MC6000: 專案檔必須在參考清單中包含 .NET Framework 組件 '{0}'。 + + + + MC1001: The LocalizationDirectivesToLocFile property value is not valid and must be changed to None, CommentsOnly, or All for the MarkupCompilePass1 task. + MC1001: LocalizationDirectivesToLocFile 屬性值無效,而且必須針對 MarkupCompilePass1 工作變更為 None、CommentsOnly 或 All。 + + + + BG1003: The project file contains a property value that is not valid. + BG1003: 專案檔包含無效的屬性值。 + + + + MC4602: Choice cannot follow a Fallback. + MC4602: Choice 不能緊接在 Fallback 後面。 + + + + MC4606: AlternateContent must contain one or more Choice elements. + MC4606: AlternateContent 必須包含一或多個 Choice 項目。 + + + + MC4601: Choice valid only in AlternateContent. + MC4601: Choice 只在 AlternateContent 中是有效的。 + + + + MC4640: Namespace '{0}' is marked as compatible with itself using XmlnsCompatibilityAttribute. A namespace cannot directly or indirectly override itself. + MC4640: 命名空間 '{0}' 已用 XmlnsCompatibilityAttribute 標記為與其本身相容。命名空間不能直接或間接覆寫本身。 + + + + MC4631: Duplicate Preserve declaration for element '{1}' in namespace '{0}'. + MC4631: 在命名空間 '{0}' 中發現項目 '{1}' 的重複 Preserve 宣告。 + + + + MC4617: Duplicate ProcessContent declaration for element '{1}' in namespace '{0}'. + MC4617: 在命名空間 '{0}' 中發現項目 '{1}' 的 ProcessContent 重複宣告。 + + + + MC4633: Duplicate wildcard Preserve declaration for namespace '{0}'. + MC4633: 發現命名空間 '{0}' 的重複萬用字元 Preserve 宣告。 + + + + MC4619: Duplicate wildcard ProcessContent declaration for namespace '{0}'. + MC4619: 發現命名空間 '{0}' 的重複萬用字元 ProcessContent 宣告。 + + + + MC4605: Fallback valid only in AlternateContent. + MC4605: Fallback 只在 AlternateContent 中是有效的。 + + + + MC4610: '{0}' element is not a valid child of AlternateContent. Only Choice and Fallback elements are valid children of an AlternateContent element. + MC4610: '{0}' 項目不是 AlternateContent 的有效子項目。只有 Choice 與 Fallback 項目是 AlternateContent 項目的有效子項目。 + + + + MC4608: '{0}' attribute is not valid for element '{1}'. + MC4608: '{0}' 屬性對於項目 '{1}' 而言是無效的。 + + + + MC4611: '{0}' format is not valid. + MC4611: '{0}' 格式無效。 + + + + MC4632: Cannot have both a specific and a wildcard Preserve declaration for namespace '{0}'. + MC4632: 無法為命名空間 '{0}' 同時指定特定與萬用字元 Preserve 宣告。 + + + + MC4618: Cannot have both a specific and a wildcard ProcessContent declaration for namespace '{0}'. + MC4618: 無法為命名空間 '{0}' 同時指定特定與萬用字元 ProcessContent 宣告。 + + + + MC4604: Requires attribute must contain a valid namespace prefix. + MC4604: Requires 屬性必須包含有效的命名空間前置詞。 + + + + MC4634: '{0}' attribute value is not a valid XML name. + MC4634: '{0}' 屬性值不是有效的 XML 名稱。 + + + + MC4607: AlternateContent must contain only one Fallback element. + MC4607: AlternateContent 必須只包含一個 Fallback 項目。 + + + + MC4626: MustUnderstand condition failed on namespace '{0}'. + MC4626: 在命名空間 '{0}' 上發生 MustUnderstand 條件失敗。 + + + + MC4630: Namespace '{0}' has items declared to be preserved but is not declared ignorable. + MC4630: 命名空間 '{0}' 包含已宣告為要保留的項目,但並非宣告為可略過。 + + + + MC4615: '{0}' namespace is declared ProcessContent but is not declared Ignorable. + MC4615: '{0}' 命名空間已宣告 ProcessContent,但並非宣告為 Ignorable。 + + + + MC4603: Choice must contain a Requires attribute. + MC4603: Choice 必須包含 Requires 屬性。 + + + + MC4612: '{0}' prefix is not defined. + MC4612: 未定義 '{0}' 前置詞。 + + + + MC4614: Unrecognized compatibility attribute '{0}'. + MC4614: 無法識別的相容性屬性 '{0}'。 + + + + MC4609: Unrecognized compatibility element '{0}'. + MC4609: 無法識別的相容性項目 '{0}'。 + + + + MC4502: The feature ID string cannot have length 0. + MC4502: 功能識別碼的字串長度不能為 0。 + + + + + \ No newline at end of file diff --git a/src/Microsoft.DotNet.Wpf/src/PresentationCore/MS/internal/Media/ParserStreamGeometryContext.cs b/src/Microsoft.DotNet.Wpf/src/PresentationCore/MS/internal/Media/ParserStreamGeometryContext.cs index aec3192d730..1b826fdd04e 100644 --- a/src/Microsoft.DotNet.Wpf/src/PresentationCore/MS/internal/Media/ParserStreamGeometryContext.cs +++ b/src/Microsoft.DotNet.Wpf/src/PresentationCore/MS/internal/Media/ParserStreamGeometryContext.cs @@ -1,7 +1,7 @@ -// Licensed to the .NET Foundation under one or more agreements. -// The .NET Foundation licenses this file to you under the MIT license. -// See the LICENSE file in the project root for more information. - +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. + //--------------------------------------------------------------------------- // // This class is used to compress a Path to BAML. diff --git a/src/Microsoft.DotNet.Wpf/src/PresentationCore/MS/internal/Media/XamlSerializationHelper.cs b/src/Microsoft.DotNet.Wpf/src/PresentationCore/MS/internal/Media/XamlSerializationHelper.cs index fdb3fd6fe9e..1e632c767bc 100644 --- a/src/Microsoft.DotNet.Wpf/src/PresentationCore/MS/internal/Media/XamlSerializationHelper.cs +++ b/src/Microsoft.DotNet.Wpf/src/PresentationCore/MS/internal/Media/XamlSerializationHelper.cs @@ -1,7 +1,7 @@ -// Licensed to the .NET Foundation under one or more agreements. -// The .NET Foundation licenses this file to you under the MIT license. -// See the LICENSE file in the project root for more information. - +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. + //--------------------------------------------------------------------------- // // Description: Utilities for converting types to custom Binary format diff --git a/src/Microsoft.DotNet.Wpf/src/PresentationCore/System/Windows/LocalizationCategory.cs b/src/Microsoft.DotNet.Wpf/src/PresentationCore/System/Windows/LocalizationCategory.cs index 1ba47ef6860..204253d119b 100644 --- a/src/Microsoft.DotNet.Wpf/src/PresentationCore/System/Windows/LocalizationCategory.cs +++ b/src/Microsoft.DotNet.Wpf/src/PresentationCore/System/Windows/LocalizationCategory.cs @@ -1,7 +1,7 @@ -// Licensed to the .NET Foundation under one or more agreements. -// The .NET Foundation licenses this file to you under the MIT license. -// See the LICENSE file in the project root for more information. - +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. + //--------------------------------------------------------------------------- // // Description: LocalizationCategory enum used by LocalizabilityAttribute diff --git a/src/Microsoft.DotNet.Wpf/src/PresentationCore/System/Windows/Media/Knowncolors.cs b/src/Microsoft.DotNet.Wpf/src/PresentationCore/System/Windows/Media/Knowncolors.cs index 216b8df10f1..43d55e50961 100644 --- a/src/Microsoft.DotNet.Wpf/src/PresentationCore/System/Windows/Media/Knowncolors.cs +++ b/src/Microsoft.DotNet.Wpf/src/PresentationCore/System/Windows/Media/Knowncolors.cs @@ -1,7 +1,7 @@ -// Licensed to the .NET Foundation under one or more agreements. -// The .NET Foundation licenses this file to you under the MIT license. -// See the LICENSE file in the project root for more information. - +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. + #if PBTCOMPILER namespace MS.Internal.Markup #else diff --git a/src/Microsoft.DotNet.Wpf/src/PresentationCore/System/Windows/Media/ParsersCommon.cs b/src/Microsoft.DotNet.Wpf/src/PresentationCore/System/Windows/Media/ParsersCommon.cs index 2e9261c9bb6..f9888585977 100644 --- a/src/Microsoft.DotNet.Wpf/src/PresentationCore/System/Windows/Media/ParsersCommon.cs +++ b/src/Microsoft.DotNet.Wpf/src/PresentationCore/System/Windows/Media/ParsersCommon.cs @@ -1,7 +1,7 @@ -// Licensed to the .NET Foundation under one or more agreements. -// The .NET Foundation licenses this file to you under the MIT license. -// See the LICENSE file in the project root for more information. - +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. + //------------------------------------------------------------------------------ // // Synopsis: Implements class Parsers for internal use of type converters diff --git a/src/Microsoft.DotNet.Wpf/src/PresentationCore/System/Windows/Media/StreamGeometryContext.cs b/src/Microsoft.DotNet.Wpf/src/PresentationCore/System/Windows/Media/StreamGeometryContext.cs index fd316a0fd97..aaffd85ea75 100644 --- a/src/Microsoft.DotNet.Wpf/src/PresentationCore/System/Windows/Media/StreamGeometryContext.cs +++ b/src/Microsoft.DotNet.Wpf/src/PresentationCore/System/Windows/Media/StreamGeometryContext.cs @@ -1,7 +1,7 @@ -// Licensed to the .NET Foundation under one or more agreements. -// The .NET Foundation licenses this file to you under the MIT license. -// See the LICENSE file in the project root for more information. - +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. + //--------------------------------------------------------------------------- // // This class is used by the StreamGeometry class to generate an inlined, diff --git a/src/Microsoft.DotNet.Wpf/src/PresentationCore/System/Windows/Modifiability.cs b/src/Microsoft.DotNet.Wpf/src/PresentationCore/System/Windows/Modifiability.cs index 275f23c3570..5ca751af9a2 100644 --- a/src/Microsoft.DotNet.Wpf/src/PresentationCore/System/Windows/Modifiability.cs +++ b/src/Microsoft.DotNet.Wpf/src/PresentationCore/System/Windows/Modifiability.cs @@ -1,7 +1,7 @@ -// Licensed to the .NET Foundation under one or more agreements. -// The .NET Foundation licenses this file to you under the MIT license. -// See the LICENSE file in the project root for more information. - +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. + //--------------------------------------------------------------------------- // // Description: Modifiability enum used by LocalizabilityAttribute diff --git a/src/Microsoft.DotNet.Wpf/src/PresentationCore/System/Windows/Readability.cs b/src/Microsoft.DotNet.Wpf/src/PresentationCore/System/Windows/Readability.cs index d8771dfcbd8..53126ad905d 100644 --- a/src/Microsoft.DotNet.Wpf/src/PresentationCore/System/Windows/Readability.cs +++ b/src/Microsoft.DotNet.Wpf/src/PresentationCore/System/Windows/Readability.cs @@ -1,7 +1,7 @@ -// Licensed to the .NET Foundation under one or more agreements. -// The .NET Foundation licenses this file to you under the MIT license. -// See the LICENSE file in the project root for more information. - +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. + //--------------------------------------------------------------------------- // // Description: Readability enum used by LocalizabilityAttribute diff --git a/src/Microsoft.DotNet.Wpf/src/PresentationFramework/MS/Internal/Globalization/LocalizationComments.cs b/src/Microsoft.DotNet.Wpf/src/PresentationFramework/MS/Internal/Globalization/LocalizationComments.cs index 1f8859306bb..d8d698227b4 100644 --- a/src/Microsoft.DotNet.Wpf/src/PresentationFramework/MS/Internal/Globalization/LocalizationComments.cs +++ b/src/Microsoft.DotNet.Wpf/src/PresentationFramework/MS/Internal/Globalization/LocalizationComments.cs @@ -1,7 +1,7 @@ -// Licensed to the .NET Foundation under one or more agreements. -// The .NET Foundation licenses this file to you under the MIT license. -// See the LICENSE file in the project root for more information. - +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. + //--------------------------------------------------------------------------- // // Description: Localization comments related class diff --git a/src/Microsoft.DotNet.Wpf/src/PresentationFramework/System/Windows/Markup/AttributeData.cs b/src/Microsoft.DotNet.Wpf/src/PresentationFramework/System/Windows/Markup/AttributeData.cs index 17dc648b305..023d0b93824 100644 --- a/src/Microsoft.DotNet.Wpf/src/PresentationFramework/System/Windows/Markup/AttributeData.cs +++ b/src/Microsoft.DotNet.Wpf/src/PresentationFramework/System/Windows/Markup/AttributeData.cs @@ -1,12 +1,12 @@ -// Licensed to the .NET Foundation under one or more agreements. -// The .NET Foundation licenses this file to you under the MIT license. -// See the LICENSE file in the project root for more information. - -/***************************************************************************\ -* -* Purpose: AttributeContext and *AttributeData -* -\***************************************************************************/ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. + +/***************************************************************************\ +* +* Purpose: AttributeContext and *AttributeData +* +\***************************************************************************/ using System; using System.Xml; diff --git a/src/Microsoft.DotNet.Wpf/src/PresentationFramework/System/Windows/Markup/BamlBinaryWriter.cs b/src/Microsoft.DotNet.Wpf/src/PresentationFramework/System/Windows/Markup/BamlBinaryWriter.cs index b2cf9a3e1c5..a5c39abe862 100644 --- a/src/Microsoft.DotNet.Wpf/src/PresentationFramework/System/Windows/Markup/BamlBinaryWriter.cs +++ b/src/Microsoft.DotNet.Wpf/src/PresentationFramework/System/Windows/Markup/BamlBinaryWriter.cs @@ -1,12 +1,12 @@ -// Licensed to the .NET Foundation under one or more agreements. -// The .NET Foundation licenses this file to you under the MIT license. -// See the LICENSE file in the project root for more information. - -/***************************************************************************\ -* -* Purpose: Subclass BinaryWriter. -* -\***************************************************************************/ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. + +/***************************************************************************\ +* +* Purpose: Subclass BinaryWriter. +* +\***************************************************************************/ using System; using System.IO; diff --git a/src/Microsoft.DotNet.Wpf/src/PresentationFramework/System/Windows/Markup/BamlMapTable.cs b/src/Microsoft.DotNet.Wpf/src/PresentationFramework/System/Windows/Markup/BamlMapTable.cs index 31274bbea59..1fd3aee067e 100644 --- a/src/Microsoft.DotNet.Wpf/src/PresentationFramework/System/Windows/Markup/BamlMapTable.cs +++ b/src/Microsoft.DotNet.Wpf/src/PresentationFramework/System/Windows/Markup/BamlMapTable.cs @@ -1,12 +1,12 @@ -// Licensed to the .NET Foundation under one or more agreements. -// The .NET Foundation licenses this file to you under the MIT license. -// See the LICENSE file in the project root for more information. - -/***************************************************************************\ -* -* Purpose: Used to Keep track of Id to Object mappings in a BAML file. -* -\***************************************************************************/ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. + +/***************************************************************************\ +* +* Purpose: Used to Keep track of Id to Object mappings in a BAML file. +* +\***************************************************************************/ using System; using System.Xml; @@ -72,20 +72,17 @@ internal class BamlMapTable #region Constructor - static BamlMapTable() - { - // Setup the assembly record for the known types of controls - KnownAssemblyInfoRecord = new BamlAssemblyInfoRecord(); - KnownAssemblyInfoRecord.AssemblyId = -1; - KnownAssemblyInfoRecord.Assembly = ReflectionHelper.LoadAssembly(_frameworkAssembly, string.Empty); - KnownAssemblyInfoRecord.AssemblyFullName = KnownAssemblyInfoRecord.Assembly.FullName; - } - internal BamlMapTable(XamlTypeMapper xamlTypeMapper) { Debug.Assert(null != xamlTypeMapper); _xamlTypeMapper = xamlTypeMapper; + + // Setup the assembly record for the known types of controls + _knownAssemblyInfoRecord = new BamlAssemblyInfoRecord(); + _knownAssemblyInfoRecord.AssemblyId = -1; + _knownAssemblyInfoRecord.Assembly = ReflectionHelper.LoadAssembly(_frameworkAssembly, string.Empty); + _knownAssemblyInfoRecord.AssemblyFullName = _knownAssemblyInfoRecord.Assembly.FullName; } #endregion Constructor @@ -998,7 +995,7 @@ internal BamlAssemblyInfoRecord GetAssemblyInfoFromId(short id) // case return the known assembly info record. if (id == -1) { - return KnownAssemblyInfoRecord; + return _knownAssemblyInfoRecord; } else { @@ -1806,7 +1803,6 @@ private Hashtable ConverterCache private const string _coreAssembly = "PresentationCore"; private const string _frameworkAssembly = "PresentationFramework"; - private static BamlAssemblyInfoRecord KnownAssemblyInfoRecord; private static string[] _knownStrings = { @@ -1833,6 +1829,9 @@ private Hashtable ConverterCache // XamlTypeMapper associated with this map table. There is always a one-to-one correspondence. XamlTypeMapper _xamlTypeMapper; + // The assembly record for the known types of controls + BamlAssemblyInfoRecord _knownAssemblyInfoRecord; + #if !PBTCOMPILER // Temporary cache of Known Type Converters for each baml reading session. Hashtable _converterCache = null; diff --git a/src/Microsoft.DotNet.Wpf/src/PresentationFramework/System/Windows/Markup/BamlRecordHelper.cs b/src/Microsoft.DotNet.Wpf/src/PresentationFramework/System/Windows/Markup/BamlRecordHelper.cs index 5d0b08bf80b..7fbd86c3b6a 100644 --- a/src/Microsoft.DotNet.Wpf/src/PresentationFramework/System/Windows/Markup/BamlRecordHelper.cs +++ b/src/Microsoft.DotNet.Wpf/src/PresentationFramework/System/Windows/Markup/BamlRecordHelper.cs @@ -1,7 +1,7 @@ -// Licensed to the .NET Foundation under one or more agreements. -// The .NET Foundation licenses this file to you under the MIT license. -// See the LICENSE file in the project root for more information. - +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. + using System; using System.Diagnostics; diff --git a/src/Microsoft.DotNet.Wpf/src/PresentationFramework/System/Windows/Markup/BamlRecordWriter.cs b/src/Microsoft.DotNet.Wpf/src/PresentationFramework/System/Windows/Markup/BamlRecordWriter.cs index 10c4b9b5e3e..c9f8417cfe2 100644 --- a/src/Microsoft.DotNet.Wpf/src/PresentationFramework/System/Windows/Markup/BamlRecordWriter.cs +++ b/src/Microsoft.DotNet.Wpf/src/PresentationFramework/System/Windows/Markup/BamlRecordWriter.cs @@ -1,12 +1,12 @@ -// Licensed to the .NET Foundation under one or more agreements. -// The .NET Foundation licenses this file to you under the MIT license. -// See the LICENSE file in the project root for more information. - -/***************************************************************************\ -* -* Purpose: Helper class for writing BAML records -* -\***************************************************************************/ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. + +/***************************************************************************\ +* +* Purpose: Helper class for writing BAML records +* +\***************************************************************************/ using System; using System.Xml; diff --git a/src/Microsoft.DotNet.Wpf/src/PresentationFramework/System/Windows/Markup/BamlVersionHeader.cs b/src/Microsoft.DotNet.Wpf/src/PresentationFramework/System/Windows/Markup/BamlVersionHeader.cs index 2dc5453cb06..89dc2f82f68 100644 --- a/src/Microsoft.DotNet.Wpf/src/PresentationFramework/System/Windows/Markup/BamlVersionHeader.cs +++ b/src/Microsoft.DotNet.Wpf/src/PresentationFramework/System/Windows/Markup/BamlVersionHeader.cs @@ -1,6 +1,6 @@ -// Licensed to the .NET Foundation under one or more agreements. -// The .NET Foundation licenses this file to you under the MIT license. -// See the LICENSE file in the project root for more information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. using System; using System.IO; diff --git a/src/Microsoft.DotNet.Wpf/src/PresentationFramework/System/Windows/Markup/KnownTypes.cs b/src/Microsoft.DotNet.Wpf/src/PresentationFramework/System/Windows/Markup/KnownTypes.cs index 08c8d1bf9ce..499f9ce4a4a 100644 --- a/src/Microsoft.DotNet.Wpf/src/PresentationFramework/System/Windows/Markup/KnownTypes.cs +++ b/src/Microsoft.DotNet.Wpf/src/PresentationFramework/System/Windows/Markup/KnownTypes.cs @@ -1,7 +1,7 @@ -// Licensed to the .NET Foundation under one or more agreements. -// The .NET Foundation licenses this file to you under the MIT license. -// See the LICENSE file in the project root for more information. - +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. + //--------------------------------------------------------------------------- // // Description: diff --git a/src/Microsoft.DotNet.Wpf/src/PresentationFramework/System/Windows/Markup/KnownTypesHelper.cs b/src/Microsoft.DotNet.Wpf/src/PresentationFramework/System/Windows/Markup/KnownTypesHelper.cs index bd33cfa93b7..767f8225ef3 100644 --- a/src/Microsoft.DotNet.Wpf/src/PresentationFramework/System/Windows/Markup/KnownTypesHelper.cs +++ b/src/Microsoft.DotNet.Wpf/src/PresentationFramework/System/Windows/Markup/KnownTypesHelper.cs @@ -1,6 +1,6 @@ -// Licensed to the .NET Foundation under one or more agreements. -// The .NET Foundation licenses this file to you under the MIT license. -// See the LICENSE file in the project root for more information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. using System; using System.IO; diff --git a/src/Microsoft.DotNet.Wpf/src/PresentationFramework/System/Windows/Markup/MarkupExtensionParser.cs b/src/Microsoft.DotNet.Wpf/src/PresentationFramework/System/Windows/Markup/MarkupExtensionParser.cs index 0f8fe2b4041..e625672c273 100644 --- a/src/Microsoft.DotNet.Wpf/src/PresentationFramework/System/Windows/Markup/MarkupExtensionParser.cs +++ b/src/Microsoft.DotNet.Wpf/src/PresentationFramework/System/Windows/Markup/MarkupExtensionParser.cs @@ -1,5 +1,5 @@ -// Licensed to the .NET Foundation under one or more agreements. -// The .NET Foundation licenses this file to you under the MIT license. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. using System; diff --git a/src/Microsoft.DotNet.Wpf/src/PresentationFramework/System/Windows/Markup/ParserContext.cs b/src/Microsoft.DotNet.Wpf/src/PresentationFramework/System/Windows/Markup/ParserContext.cs index 6d9e392c456..461a150f2d3 100644 --- a/src/Microsoft.DotNet.Wpf/src/PresentationFramework/System/Windows/Markup/ParserContext.cs +++ b/src/Microsoft.DotNet.Wpf/src/PresentationFramework/System/Windows/Markup/ParserContext.cs @@ -1,7 +1,7 @@ -// Licensed to the .NET Foundation under one or more agreements. -// The .NET Foundation licenses this file to you under the MIT license. -// See the LICENSE file in the project root for more information. - +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. + //--------------------------------------------------------------------------- // // Description: diff --git a/src/Microsoft.DotNet.Wpf/src/PresentationFramework/System/Windows/Markup/ParserHooks.cs b/src/Microsoft.DotNet.Wpf/src/PresentationFramework/System/Windows/Markup/ParserHooks.cs index e7fa5e53d18..8c9e87ebbec 100644 --- a/src/Microsoft.DotNet.Wpf/src/PresentationFramework/System/Windows/Markup/ParserHooks.cs +++ b/src/Microsoft.DotNet.Wpf/src/PresentationFramework/System/Windows/Markup/ParserHooks.cs @@ -1,12 +1,12 @@ -// Licensed to the .NET Foundation under one or more agreements. -// The .NET Foundation licenses this file to you under the MIT license. -// See the LICENSE file in the project root for more information. - -/***************************************************************************\ -* -* Purpose: Callback at parse time for node processing -* -\***************************************************************************/ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. + +/***************************************************************************\ +* +* Purpose: Callback at parse time for node processing +* +\***************************************************************************/ using System.ComponentModel; diff --git a/src/Microsoft.DotNet.Wpf/src/PresentationFramework/System/Windows/Markup/ParserStack.cs b/src/Microsoft.DotNet.Wpf/src/PresentationFramework/System/Windows/Markup/ParserStack.cs index 1519df59d5e..a19765661bd 100644 --- a/src/Microsoft.DotNet.Wpf/src/PresentationFramework/System/Windows/Markup/ParserStack.cs +++ b/src/Microsoft.DotNet.Wpf/src/PresentationFramework/System/Windows/Markup/ParserStack.cs @@ -1,12 +1,12 @@ -// Licensed to the .NET Foundation under one or more agreements. -// The .NET Foundation licenses this file to you under the MIT license. -// See the LICENSE file in the project root for more information. - -/***************************************************************************\ -* -* Purpose: ParserStack...once was in XamlReaderHelper.cs -* -\***************************************************************************/ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. + +/***************************************************************************\ +* +* Purpose: ParserStack...once was in XamlReaderHelper.cs +* +\***************************************************************************/ using System; using System.Xml; diff --git a/src/Microsoft.DotNet.Wpf/src/PresentationFramework/System/Windows/Markup/StyleModeStack.cs b/src/Microsoft.DotNet.Wpf/src/PresentationFramework/System/Windows/Markup/StyleModeStack.cs index 5df48216bc9..b3ed2cf3a87 100644 --- a/src/Microsoft.DotNet.Wpf/src/PresentationFramework/System/Windows/Markup/StyleModeStack.cs +++ b/src/Microsoft.DotNet.Wpf/src/PresentationFramework/System/Windows/Markup/StyleModeStack.cs @@ -1,7 +1,7 @@ -// Licensed to the .NET Foundation under one or more agreements. -// The .NET Foundation licenses this file to you under the MIT license. -// See the LICENSE file in the project root for more information. - +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. + using System; using System.Xml; using System.IO; diff --git a/src/Microsoft.DotNet.Wpf/src/PresentationFramework/System/Windows/Markup/StyleXamlParser.cs b/src/Microsoft.DotNet.Wpf/src/PresentationFramework/System/Windows/Markup/StyleXamlParser.cs index b397f17b5c6..82dce4fe864 100644 --- a/src/Microsoft.DotNet.Wpf/src/PresentationFramework/System/Windows/Markup/StyleXamlParser.cs +++ b/src/Microsoft.DotNet.Wpf/src/PresentationFramework/System/Windows/Markup/StyleXamlParser.cs @@ -1,13 +1,13 @@ -// Licensed to the .NET Foundation under one or more agreements. -// The .NET Foundation licenses this file to you under the MIT license. -// See the LICENSE file in the project root for more information. - -/***************************************************************************\ -* -* Purpose: Class that interfaces with TokenReader and BamlWriter for -* parsing Style -* -\***************************************************************************/ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. + +/***************************************************************************\ +* +* Purpose: Class that interfaces with TokenReader and BamlWriter for +* parsing Style +* +\***************************************************************************/ using System; using System.Xml; diff --git a/src/Microsoft.DotNet.Wpf/src/PresentationFramework/System/Windows/Markup/TemplateXamlParser.cs b/src/Microsoft.DotNet.Wpf/src/PresentationFramework/System/Windows/Markup/TemplateXamlParser.cs index decc3e47132..366744301f5 100644 --- a/src/Microsoft.DotNet.Wpf/src/PresentationFramework/System/Windows/Markup/TemplateXamlParser.cs +++ b/src/Microsoft.DotNet.Wpf/src/PresentationFramework/System/Windows/Markup/TemplateXamlParser.cs @@ -1,13 +1,13 @@ -// Licensed to the .NET Foundation under one or more agreements. -// The .NET Foundation licenses this file to you under the MIT license. -// See the LICENSE file in the project root for more information. - -/***************************************************************************\ -* -* Purpose: Class that interfaces with TokenReader and BamlWriter for -* parsing Template -* -\***************************************************************************/ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. + +/***************************************************************************\ +* +* Purpose: Class that interfaces with TokenReader and BamlWriter for +* parsing Template +* +\***************************************************************************/ using System; using System.Xml; diff --git a/src/Microsoft.DotNet.Wpf/src/PresentationFramework/System/Windows/Markup/TreeBuilder.cs b/src/Microsoft.DotNet.Wpf/src/PresentationFramework/System/Windows/Markup/TreeBuilder.cs index 49bcaf111de..f5ac79cda96 100644 --- a/src/Microsoft.DotNet.Wpf/src/PresentationFramework/System/Windows/Markup/TreeBuilder.cs +++ b/src/Microsoft.DotNet.Wpf/src/PresentationFramework/System/Windows/Markup/TreeBuilder.cs @@ -1,12 +1,12 @@ -// Licensed to the .NET Foundation under one or more agreements. -// The .NET Foundation licenses this file to you under the MIT license. -// See the LICENSE file in the project root for more information. - -/***************************************************************************\ -* -* Purpose: Class that builds a stream from XAML or BAML and handles -* -\***************************************************************************/ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. + +/***************************************************************************\ +* +* Purpose: Class that builds a stream from XAML or BAML and handles +* +\***************************************************************************/ using System; using System.Xml; diff --git a/src/Microsoft.DotNet.Wpf/src/PresentationFramework/System/Windows/Markup/TypeContext.cs b/src/Microsoft.DotNet.Wpf/src/PresentationFramework/System/Windows/Markup/TypeContext.cs index 0c19ac7e0f2..fe560278b39 100644 --- a/src/Microsoft.DotNet.Wpf/src/PresentationFramework/System/Windows/Markup/TypeContext.cs +++ b/src/Microsoft.DotNet.Wpf/src/PresentationFramework/System/Windows/Markup/TypeContext.cs @@ -1,7 +1,7 @@ -// Licensed to the .NET Foundation under one or more agreements. -// The .NET Foundation licenses this file to you under the MIT license. -// See the LICENSE file in the project root for more information. - +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. + //--------------------------------------------------------------------------- // // Description: diff --git a/src/Microsoft.DotNet.Wpf/src/PresentationFramework/System/Windows/Markup/XAMLParseException.cs b/src/Microsoft.DotNet.Wpf/src/PresentationFramework/System/Windows/Markup/XAMLParseException.cs index 93c0358ed6c..77c00c28bc4 100644 --- a/src/Microsoft.DotNet.Wpf/src/PresentationFramework/System/Windows/Markup/XAMLParseException.cs +++ b/src/Microsoft.DotNet.Wpf/src/PresentationFramework/System/Windows/Markup/XAMLParseException.cs @@ -1,7 +1,7 @@ -// Licensed to the .NET Foundation under one or more agreements. -// The .NET Foundation licenses this file to you under the MIT license. -// See the LICENSE file in the project root for more information. - +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. + //--------------------------------------------------------------------------- // // Description: diff --git a/src/Microsoft.DotNet.Wpf/src/PresentationFramework/System/Windows/Markup/XamlBrushSerializer.cs b/src/Microsoft.DotNet.Wpf/src/PresentationFramework/System/Windows/Markup/XamlBrushSerializer.cs index 73f2fac3195..2737219a8bd 100644 --- a/src/Microsoft.DotNet.Wpf/src/PresentationFramework/System/Windows/Markup/XamlBrushSerializer.cs +++ b/src/Microsoft.DotNet.Wpf/src/PresentationFramework/System/Windows/Markup/XamlBrushSerializer.cs @@ -1,7 +1,7 @@ -// Licensed to the .NET Foundation under one or more agreements. -// The .NET Foundation licenses this file to you under the MIT license. -// See the LICENSE file in the project root for more information. - +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. + //--------------------------------------------------------------------------- // // Description: diff --git a/src/Microsoft.DotNet.Wpf/src/PresentationFramework/System/Windows/Markup/XamlInt32CollectionSerializer.cs b/src/Microsoft.DotNet.Wpf/src/PresentationFramework/System/Windows/Markup/XamlInt32CollectionSerializer.cs index 63c08774cc1..20da9ca746f 100644 --- a/src/Microsoft.DotNet.Wpf/src/PresentationFramework/System/Windows/Markup/XamlInt32CollectionSerializer.cs +++ b/src/Microsoft.DotNet.Wpf/src/PresentationFramework/System/Windows/Markup/XamlInt32CollectionSerializer.cs @@ -1,7 +1,7 @@ -// Licensed to the .NET Foundation under one or more agreements. -// The .NET Foundation licenses this file to you under the MIT license. -// See the LICENSE file in the project root for more information. - +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. + //--------------------------------------------------------------------------- // // Description: diff --git a/src/Microsoft.DotNet.Wpf/src/PresentationFramework/System/Windows/Markup/XamlNodes.cs b/src/Microsoft.DotNet.Wpf/src/PresentationFramework/System/Windows/Markup/XamlNodes.cs index 4d5ee0b818a..41b13b0b40e 100644 --- a/src/Microsoft.DotNet.Wpf/src/PresentationFramework/System/Windows/Markup/XamlNodes.cs +++ b/src/Microsoft.DotNet.Wpf/src/PresentationFramework/System/Windows/Markup/XamlNodes.cs @@ -1,13 +1,13 @@ -// Licensed to the .NET Foundation under one or more agreements. -// The .NET Foundation licenses this file to you under the MIT license. -// See the LICENSE file in the project root for more information. - -/***************************************************************************\ -* -* Purpose: Xaml Node definition class. Contains the different nodes -* That can be returned by the XamlReader -* -\***************************************************************************/ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. + +/***************************************************************************\ +* +* Purpose: Xaml Node definition class. Contains the different nodes +* That can be returned by the XamlReader +* +\***************************************************************************/ using System; diff --git a/src/Microsoft.DotNet.Wpf/src/PresentationFramework/System/Windows/Markup/XamlParser.cs b/src/Microsoft.DotNet.Wpf/src/PresentationFramework/System/Windows/Markup/XamlParser.cs index a4cb36d2d60..a05f38f9022 100644 --- a/src/Microsoft.DotNet.Wpf/src/PresentationFramework/System/Windows/Markup/XamlParser.cs +++ b/src/Microsoft.DotNet.Wpf/src/PresentationFramework/System/Windows/Markup/XamlParser.cs @@ -1,12 +1,12 @@ -// Licensed to the .NET Foundation under one or more agreements. -// The .NET Foundation licenses this file to you under the MIT license. -// See the LICENSE file in the project root for more information. - -/***************************************************************************\ -* -* Purpose: Class for compiling Xaml. -* -\***************************************************************************/ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. + +/***************************************************************************\ +* +* Purpose: Class for compiling Xaml. +* +\***************************************************************************/ using System; diff --git a/src/Microsoft.DotNet.Wpf/src/PresentationFramework/System/Windows/Markup/XamlPathDataSerializer.cs b/src/Microsoft.DotNet.Wpf/src/PresentationFramework/System/Windows/Markup/XamlPathDataSerializer.cs index 0e8efd66b58..053e88dd814 100644 --- a/src/Microsoft.DotNet.Wpf/src/PresentationFramework/System/Windows/Markup/XamlPathDataSerializer.cs +++ b/src/Microsoft.DotNet.Wpf/src/PresentationFramework/System/Windows/Markup/XamlPathDataSerializer.cs @@ -1,7 +1,7 @@ -// Licensed to the .NET Foundation under one or more agreements. -// The .NET Foundation licenses this file to you under the MIT license. -// See the LICENSE file in the project root for more information. - +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. + // Description: // XamlSerializer used to persist path data into Baml. // diff --git a/src/Microsoft.DotNet.Wpf/src/PresentationFramework/System/Windows/Markup/XamlPoint3DCollectionSerializer.cs b/src/Microsoft.DotNet.Wpf/src/PresentationFramework/System/Windows/Markup/XamlPoint3DCollectionSerializer.cs index daec30ea8eb..f1bc3eca187 100644 --- a/src/Microsoft.DotNet.Wpf/src/PresentationFramework/System/Windows/Markup/XamlPoint3DCollectionSerializer.cs +++ b/src/Microsoft.DotNet.Wpf/src/PresentationFramework/System/Windows/Markup/XamlPoint3DCollectionSerializer.cs @@ -1,7 +1,7 @@ -// Licensed to the .NET Foundation under one or more agreements. -// The .NET Foundation licenses this file to you under the MIT license. -// See the LICENSE file in the project root for more information. - +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. + //--------------------------------------------------------------------------- // // Description: diff --git a/src/Microsoft.DotNet.Wpf/src/PresentationFramework/System/Windows/Markup/XamlPointCollectionSerializer.cs b/src/Microsoft.DotNet.Wpf/src/PresentationFramework/System/Windows/Markup/XamlPointCollectionSerializer.cs index 88fc5900b03..6e397cded93 100644 --- a/src/Microsoft.DotNet.Wpf/src/PresentationFramework/System/Windows/Markup/XamlPointCollectionSerializer.cs +++ b/src/Microsoft.DotNet.Wpf/src/PresentationFramework/System/Windows/Markup/XamlPointCollectionSerializer.cs @@ -1,7 +1,7 @@ -// Licensed to the .NET Foundation under one or more agreements. -// The .NET Foundation licenses this file to you under the MIT license. -// See the LICENSE file in the project root for more information. - +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. + //--------------------------------------------------------------------------- // // Description: diff --git a/src/Microsoft.DotNet.Wpf/src/PresentationFramework/System/Windows/Markup/XamlReaderHelper.cs b/src/Microsoft.DotNet.Wpf/src/PresentationFramework/System/Windows/Markup/XamlReaderHelper.cs index 3afde3fb0da..4545f6e20df 100644 --- a/src/Microsoft.DotNet.Wpf/src/PresentationFramework/System/Windows/Markup/XamlReaderHelper.cs +++ b/src/Microsoft.DotNet.Wpf/src/PresentationFramework/System/Windows/Markup/XamlReaderHelper.cs @@ -1,13 +1,13 @@ -// Licensed to the .NET Foundation under one or more agreements. -// The .NET Foundation licenses this file to you under the MIT license. -// See the LICENSE file in the project root for more information. - -/***************************************************************************\ -* -* Purpose: Tokenizer for taking an xml file for generate XAML nodes. -* and enforcing XAML grammar rules. -* -\***************************************************************************/ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. + +/***************************************************************************\ +* +* Purpose: Tokenizer for taking an xml file for generate XAML nodes. +* and enforcing XAML grammar rules. +* +\***************************************************************************/ // set this flag to turn on whitespace collapse rules. // #define UseValidatingReader diff --git a/src/Microsoft.DotNet.Wpf/src/PresentationFramework/System/Windows/Markup/XamlSerializer.cs b/src/Microsoft.DotNet.Wpf/src/PresentationFramework/System/Windows/Markup/XamlSerializer.cs index a6cee694ebd..97539b27880 100644 --- a/src/Microsoft.DotNet.Wpf/src/PresentationFramework/System/Windows/Markup/XamlSerializer.cs +++ b/src/Microsoft.DotNet.Wpf/src/PresentationFramework/System/Windows/Markup/XamlSerializer.cs @@ -1,7 +1,7 @@ -// Licensed to the .NET Foundation under one or more agreements. -// The .NET Foundation licenses this file to you under the MIT license. -// See the LICENSE file in the project root for more information. - +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. + //--------------------------------------------------------------------------- // // Description: diff --git a/src/Microsoft.DotNet.Wpf/src/PresentationFramework/System/Windows/Markup/XamlStyleSerializer.cs b/src/Microsoft.DotNet.Wpf/src/PresentationFramework/System/Windows/Markup/XamlStyleSerializer.cs index 30b7aa88780..9dc8e5370b1 100644 --- a/src/Microsoft.DotNet.Wpf/src/PresentationFramework/System/Windows/Markup/XamlStyleSerializer.cs +++ b/src/Microsoft.DotNet.Wpf/src/PresentationFramework/System/Windows/Markup/XamlStyleSerializer.cs @@ -1,7 +1,7 @@ -// Licensed to the .NET Foundation under one or more agreements. -// The .NET Foundation licenses this file to you under the MIT license. -// See the LICENSE file in the project root for more information. - +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. + //--------------------------------------------------------------------------- // // diff --git a/src/Microsoft.DotNet.Wpf/src/PresentationFramework/System/Windows/Markup/XamlTemplateSerializer.cs b/src/Microsoft.DotNet.Wpf/src/PresentationFramework/System/Windows/Markup/XamlTemplateSerializer.cs index 7b875a6473d..774e95923d8 100644 --- a/src/Microsoft.DotNet.Wpf/src/PresentationFramework/System/Windows/Markup/XamlTemplateSerializer.cs +++ b/src/Microsoft.DotNet.Wpf/src/PresentationFramework/System/Windows/Markup/XamlTemplateSerializer.cs @@ -1,7 +1,7 @@ -// Licensed to the .NET Foundation under one or more agreements. -// The .NET Foundation licenses this file to you under the MIT license. -// See the LICENSE file in the project root for more information. - +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. + //--------------------------------------------------------------------------- // // Description: diff --git a/src/Microsoft.DotNet.Wpf/src/PresentationFramework/System/Windows/Markup/XamlTypeMapper.cs b/src/Microsoft.DotNet.Wpf/src/PresentationFramework/System/Windows/Markup/XamlTypeMapper.cs index 20f2443f9c4..5eeab952d22 100644 --- a/src/Microsoft.DotNet.Wpf/src/PresentationFramework/System/Windows/Markup/XamlTypeMapper.cs +++ b/src/Microsoft.DotNet.Wpf/src/PresentationFramework/System/Windows/Markup/XamlTypeMapper.cs @@ -1,7 +1,7 @@ -// Licensed to the .NET Foundation under one or more agreements. -// The .NET Foundation licenses this file to you under the MIT license. -// See the LICENSE file in the project root for more information. - +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. + //--------------------------------------------------------------------------- // // Description: diff --git a/src/Microsoft.DotNet.Wpf/src/PresentationFramework/System/Windows/Markup/XamlVector3DCollectionSerializer.cs b/src/Microsoft.DotNet.Wpf/src/PresentationFramework/System/Windows/Markup/XamlVector3DCollectionSerializer.cs index 589b1a03f62..c5830a357fc 100644 --- a/src/Microsoft.DotNet.Wpf/src/PresentationFramework/System/Windows/Markup/XamlVector3DCollectionSerializer.cs +++ b/src/Microsoft.DotNet.Wpf/src/PresentationFramework/System/Windows/Markup/XamlVector3DCollectionSerializer.cs @@ -1,7 +1,7 @@ -// Licensed to the .NET Foundation under one or more agreements. -// The .NET Foundation licenses this file to you under the MIT license. -// See the LICENSE file in the project root for more information. - +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. + //--------------------------------------------------------------------------- // // Description: diff --git a/src/Microsoft.DotNet.Wpf/src/PresentationFramework/System/Windows/Markup/XmlAttributeProperties.cs b/src/Microsoft.DotNet.Wpf/src/PresentationFramework/System/Windows/Markup/XmlAttributeProperties.cs index 654ed01260b..3181288d84e 100644 --- a/src/Microsoft.DotNet.Wpf/src/PresentationFramework/System/Windows/Markup/XmlAttributeProperties.cs +++ b/src/Microsoft.DotNet.Wpf/src/PresentationFramework/System/Windows/Markup/XmlAttributeProperties.cs @@ -1,7 +1,7 @@ -// Licensed to the .NET Foundation under one or more agreements. -// The .NET Foundation licenses this file to you under the MIT license. -// See the LICENSE file in the project root for more information. - +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. + //--------------------------------------------------------------------------- // // Description: diff --git a/src/Microsoft.DotNet.Wpf/src/PresentationFramework/System/Windows/Markup/XmlnsCache.cs b/src/Microsoft.DotNet.Wpf/src/PresentationFramework/System/Windows/Markup/XmlnsCache.cs index 942b28e8ac8..f9619c87d01 100644 --- a/src/Microsoft.DotNet.Wpf/src/PresentationFramework/System/Windows/Markup/XmlnsCache.cs +++ b/src/Microsoft.DotNet.Wpf/src/PresentationFramework/System/Windows/Markup/XmlnsCache.cs @@ -1,7 +1,7 @@ -// Licensed to the .NET Foundation under one or more agreements. -// The .NET Foundation licenses this file to you under the MIT license. -// See the LICENSE file in the project root for more information. - +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. + //--------------------------------------------------------------------------- // // Description: diff --git a/src/Microsoft.DotNet.Wpf/src/PresentationFramework/System/Windows/Markup/XmlnsDictionary.cs b/src/Microsoft.DotNet.Wpf/src/PresentationFramework/System/Windows/Markup/XmlnsDictionary.cs index d837a2a4b68..dda8869d887 100644 --- a/src/Microsoft.DotNet.Wpf/src/PresentationFramework/System/Windows/Markup/XmlnsDictionary.cs +++ b/src/Microsoft.DotNet.Wpf/src/PresentationFramework/System/Windows/Markup/XmlnsDictionary.cs @@ -1,7 +1,7 @@ -// Licensed to the .NET Foundation under one or more agreements. -// The .NET Foundation licenses this file to you under the MIT license. -// See the LICENSE file in the project root for more information. - +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. + //--------------------------------------------------------------------------- // // Description: diff --git a/src/Microsoft.DotNet.Wpf/src/PresentationFramework/System/Windows/SystemResourceKey.cs b/src/Microsoft.DotNet.Wpf/src/PresentationFramework/System/Windows/SystemResourceKey.cs index 7d637c3cc64..f4231a30517 100644 --- a/src/Microsoft.DotNet.Wpf/src/PresentationFramework/System/Windows/SystemResourceKey.cs +++ b/src/Microsoft.DotNet.Wpf/src/PresentationFramework/System/Windows/SystemResourceKey.cs @@ -1,7 +1,7 @@ -// Licensed to the .NET Foundation under one or more agreements. -// The .NET Foundation licenses this file to you under the MIT license. -// See the LICENSE file in the project root for more information. - +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. + using System; #if PBTCOMPILER diff --git a/src/Microsoft.DotNet.Wpf/src/Shared/MS/Internal/ResourceIDHelper.cs b/src/Microsoft.DotNet.Wpf/src/Shared/MS/Internal/ResourceIDHelper.cs index 62ab10f7d10..a29832727e1 100644 --- a/src/Microsoft.DotNet.Wpf/src/Shared/MS/Internal/ResourceIDHelper.cs +++ b/src/Microsoft.DotNet.Wpf/src/Shared/MS/Internal/ResourceIDHelper.cs @@ -1,7 +1,7 @@ -// Licensed to the .NET Foundation under one or more agreements. -// The .NET Foundation licenses this file to you under the MIT license. -// See the LICENSE file in the project root for more information. - +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. + using System; using System.Text; using System.Globalization; diff --git a/src/Microsoft.DotNet.Wpf/src/Shared/MS/Internal/SafeSecurityHelper.cs b/src/Microsoft.DotNet.Wpf/src/Shared/MS/Internal/SafeSecurityHelper.cs index 3bb78f24c0e..925b74063bf 100644 --- a/src/Microsoft.DotNet.Wpf/src/Shared/MS/Internal/SafeSecurityHelper.cs +++ b/src/Microsoft.DotNet.Wpf/src/Shared/MS/Internal/SafeSecurityHelper.cs @@ -521,6 +521,7 @@ class GCNotificationToken ThreadPool.QueueUserWorkItem(callback, state); } + [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA1806:DoNotIgnoreMethodResults", Justification = "See comment above")] internal static void RegisterCallback(WaitCallback callback, object state) { new GCNotificationToken(callback, state); diff --git a/src/Microsoft.DotNet.Wpf/src/Shared/MS/Internal/SecurityHelper.cs b/src/Microsoft.DotNet.Wpf/src/Shared/MS/Internal/SecurityHelper.cs index 6d0ab45c6b6..d930ad7a0a3 100644 --- a/src/Microsoft.DotNet.Wpf/src/Shared/MS/Internal/SecurityHelper.cs +++ b/src/Microsoft.DotNet.Wpf/src/Shared/MS/Internal/SecurityHelper.cs @@ -1,12 +1,12 @@ -// Licensed to the .NET Foundation under one or more agreements. -// The .NET Foundation licenses this file to you under the MIT license. -// See the LICENSE file in the project root for more information. - -/***************************************************************************\ -* -* Purpose: Helper functions that require elevation but are safe to use. -* -\***************************************************************************/ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. + +/***************************************************************************\ +* +* Purpose: Helper functions that require elevation but are safe to use. +* +\***************************************************************************/ // The SecurityHelper class differs between assemblies and could not actually be // shared, so it is duplicated across namespaces to prevent name collision. diff --git a/src/Microsoft.DotNet.Wpf/src/Shared/MS/Internal/TokenizerHelper.cs b/src/Microsoft.DotNet.Wpf/src/Shared/MS/Internal/TokenizerHelper.cs index 2b8ccc06f62..d944ad83e58 100644 --- a/src/Microsoft.DotNet.Wpf/src/Shared/MS/Internal/TokenizerHelper.cs +++ b/src/Microsoft.DotNet.Wpf/src/Shared/MS/Internal/TokenizerHelper.cs @@ -1,7 +1,7 @@ -// Licensed to the .NET Foundation under one or more agreements. -// The .NET Foundation licenses this file to you under the MIT license. -// See the LICENSE file in the project root for more information. - +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. + //--------------------------------------------------------------------------- // // Description: This file contains the implementation of TokenizerHelper. diff --git a/src/Microsoft.DotNet.Wpf/src/System.Xaml/FxCop/Xaml/CodeQuality.cs b/src/Microsoft.DotNet.Wpf/src/System.Xaml/FxCop/Xaml/CodeQuality.cs deleted file mode 100644 index e46f579164d..00000000000 --- a/src/Microsoft.DotNet.Wpf/src/System.Xaml/FxCop/Xaml/CodeQuality.cs +++ /dev/null @@ -1,9 +0,0 @@ -// -// FxCop Violation Message Suppressions -// Approved List -// - -using System.Diagnostics.CodeAnalysis; - -[module: SuppressMessage("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode", Scope="member", Target="System.Xaml.Schema.SafeReflectionInvoker.#DemandMemberAccessPermission()", Justification="Retained per servicing policy.")] - diff --git a/src/Microsoft.DotNet.Wpf/src/System.Xaml/FxCop/Xaml/Globalization.cs b/src/Microsoft.DotNet.Wpf/src/System.Xaml/FxCop/Xaml/Globalization.cs deleted file mode 100644 index 0b188bfcf14..00000000000 --- a/src/Microsoft.DotNet.Wpf/src/System.Xaml/FxCop/Xaml/Globalization.cs +++ /dev/null @@ -1,9 +0,0 @@ -// -// FxCop Violation Message Suppressions -// Approved List -// - - - - - diff --git a/src/Microsoft.DotNet.Wpf/src/System.Xaml/FxCop/Xaml/Microsoft.Design.cs b/src/Microsoft.DotNet.Wpf/src/System.Xaml/FxCop/Xaml/Microsoft.Design.cs deleted file mode 100644 index 1b7dbb45ec2..00000000000 --- a/src/Microsoft.DotNet.Wpf/src/System.Xaml/FxCop/Xaml/Microsoft.Design.cs +++ /dev/null @@ -1,5 +0,0 @@ -using System.Diagnostics.CodeAnalysis; - -[module: SuppressMessage("Microsoft.Design","CA1028:EnumStorageShouldBeInt32", Scope="type", Target="System.Xaml.Schema.XamlCollectionKind", Justification="Our measurements showed this type provided improved spacial complexity.")] - -[module: SuppressMessage("Microsoft.Design","CA1028:EnumStorageShouldBeInt32", Scope="type", Target="System.Xaml.XamlNodeType", Justification="Our measurements showed this type provided improved spacial complexity.")] diff --git a/src/Microsoft.DotNet.Wpf/src/System.Xaml/FxCop/Xaml/Microsoft.Naming.cs b/src/Microsoft.DotNet.Wpf/src/System.Xaml/FxCop/Xaml/Microsoft.Naming.cs deleted file mode 100644 index 3cfa179152f..00000000000 --- a/src/Microsoft.DotNet.Wpf/src/System.Xaml/FxCop/Xaml/Microsoft.Naming.cs +++ /dev/null @@ -1,65 +0,0 @@ -// -// FxCop Violation Message Suppressions -// Approved List -// - -using System.Diagnostics.CodeAnalysis; - -// Whitespace is consistent with WhitespaceSignificantCollectionAttribute from 3.0 -[module: SuppressMessage("Microsoft.Naming", "CA1702:CompoundWordsShouldBeCasedCorrectly", Scope="member", Target="System.Xaml.XamlType.#IsWhitespaceSignificantCollectionCore", MessageId="Whitespace", Justification="Add Whitespace to the dictionary if we already shipped, and it seems good.")] -[module: SuppressMessage("Microsoft.Naming", "CA1702:CompoundWordsShouldBeCasedCorrectly", Scope="member", Target="System.Xaml.XamlType.#IsWhitespaceSignificantCollection", MessageId="Whitespace", Justification="Add Whitespace to the dictionary if we already shipped, and it seems good.")] -[module: SuppressMessage("Microsoft.Naming", "CA1702:CompoundWordsShouldBeCasedCorrectly", Scope="member", Target="System.Xaml.XamlType.#TrimSurroundingWhitespace", MessageId="Whitespace", Justification="Add Whitespace to the dictionary if we already shipped, and it seems good.")] -[module: SuppressMessage("Microsoft.Naming", "CA1702:CompoundWordsShouldBeCasedCorrectly", Scope="member", Target="System.Xaml.XamlType.#TrimSurroundingWhitespaceCore", MessageId="Whitespace", Justification="Add Whitespace to the dictionary if we already shipped, and it seems good.")] -[module: SuppressMessage("Microsoft.Naming", "CA1702:CompoundWordsShouldBeCasedCorrectly", Scope="member", Target="System.Xaml.Schema.XaslType.#IsWhitespaceSignificantCollection", MessageId="Whitespace", Justification="Add Whitespace to the dictionary if we already shipped, and it seems good.")] -[module: SuppressMessage("Microsoft.Naming", "CA1702:CompoundWordsShouldBeCasedCorrectly", Scope="member", Target="System.Xaml.Schema.XaslType.#TrimSurroundingWhitespace", MessageId="Whitespace", Justification="Add Whitespace to the dictionary if we already shipped, and it seems good.")] - -// use of Eof is an API choice. -[module: SuppressMessage("Microsoft.Naming", "CA1704:IdentifiersShouldBeSpelledCorrectly", Scope = "member", Target = "System.Xaml.XamlReader.#IsEof", MessageId = "Eof", Justification = "Review Eof")] - -[module: SuppressMessage("Microsoft.Naming", "CA1711:IdentifiersShouldNotHaveIncorrectSuffix", Scope="type", Target="System.Xaml.XamlNodeQueue", Justification="This is unnecessarily limiting.")] - -[module: SuppressMessage("Microsoft.Naming","CA1721:PropertyNamesShouldNotMatchGetMethods", Scope="member", Target="System.Windows.Markup.PropertyDefinition.#Type", Justification="Makes sense for our problem domain.")] - -[module: SuppressMessage("Microsoft.Naming","CA1721:PropertyNamesShouldNotMatchGetMethods", Scope="member", Target="System.Xaml.XamlMember.#Type", Justification="Makes sense for our problem domain.")] - -[module: SuppressMessage("Microsoft.Naming","CA1721:PropertyNamesShouldNotMatchGetMethods", Scope="member", Target="System.Xaml.XamlReader.#Type", Justification="Makes sense for our problem domain.")] - -[module: SuppressMessage("Microsoft.Naming","CA1716:IdentifiersShouldNotMatchKeywords", Scope="member", Target="System.Xaml.XamlReader.#Namespace", MessageId="Namespace", Justification="Works for our problem domain.")] - -[module: SuppressMessage("Microsoft.Naming","CA1702:CompoundWordsShouldBeCasedCorrectly", Scope="member", Target="System.Xaml.XamlType.#LookupIsWhitespaceSignificantCollection()", MessageId="Whitespace", Justification="Back compat.")] - -[module: SuppressMessage("Microsoft.Naming","CA1702:CompoundWordsShouldBeCasedCorrectly", Scope="member", Target="System.Xaml.XamlType.#LookupTrimSurroundingWhitespace()", MessageId="Whitespace", Justification="Back compat.")] - -[module: SuppressMessage("Microsoft.Naming","CA1702:CompoundWordsShouldBeCasedCorrectly", MessageId="SubClass", Scope="member", Target="System.Xaml.XamlLanguage.#SubClass", Justification="Needs to match the capitalization used in XAML syntax.")] - -[module: SuppressMessage("Microsoft.Naming","CA1702:CompoundWordsShouldBeCasedCorrectly", MessageId="Whitespace", Scope="type", Target="System.Windows.Markup.TrimSurroundingWhitespaceAttribute", Justification="Kept for compatibility.")] - -[module: SuppressMessage("Microsoft.Naming","CA1702:CompoundWordsShouldBeCasedCorrectly", MessageId="Whitespace", Scope="type", Target="System.Windows.Markup.WhitespaceSignificantCollectionAttribute", Justification="Kept for compatibility.")] - -[module: SuppressMessage("Microsoft.Naming","CA1721:PropertyNamesShouldNotMatchGetMethods", Scope="member", Target="System.Windows.Markup.ArrayExtension.#Type", Justification="Kept for compatibility.")] - -[module: SuppressMessage("Microsoft.Naming","CA1721:PropertyNamesShouldNotMatchGetMethods", Scope="member", Target="System.Windows.Markup.TypeExtension.#Type", Justification="Kept for compatibility.")] - -[module: SuppressMessage("Microsoft.Naming","CA1702:CompoundWordsShouldBeCasedCorrectly", MessageId="nameSpace", Scope="member", Target="System.Windows.Markup.RootNamespaceAttribute.#.ctor(System.String)", Justification="Inherited from Base.")] - -[module: SuppressMessage("Microsoft.Naming","CA1721:PropertyNamesShouldNotMatchGetMethods", Scope="member", Target="System.Windows.Markup.NameScopePropertyAttribute.#Type", Justification="Kept for compatibility.")] - -// FrugalList suppressions copied over from WindowsBase -[module: SuppressMessage("Microsoft.Usage", "CA2208:InstantiateArgumentExceptionsCorrectly", Scope="member", Target="System.Xaml.MS.Impl.ThreeItemList`1.Promote(System.Xaml.MS.Impl.ThreeItemList`1):System.Void")] -[module: SuppressMessage("Microsoft.Usage", "CA2208:InstantiateArgumentExceptionsCorrectly", Scope="member", Target="System.Xaml.MS.Impl.ThreeItemList`1.SetCount(System.Int32):System.Void")] -[module: SuppressMessage("Microsoft.Usage", "CA2208:InstantiateArgumentExceptionsCorrectly", Scope="member", Target="System.Xaml.MS.Impl.ThreeItemList`1.Promote(System.Xaml.MS.Impl.FrugalListBase`1):System.Void")] -[module: SuppressMessage("Microsoft.Usage", "CA2208:InstantiateArgumentExceptionsCorrectly", Scope="member", Target="System.Xaml.MS.Impl.ArrayItemList`1.Promote(System.Xaml.MS.Impl.SixItemList`1):System.Void")] -[module: SuppressMessage("Microsoft.Usage", "CA2208:InstantiateArgumentExceptionsCorrectly", Scope="member", Target="System.Xaml.MS.Impl.ArrayItemList`1.SetCount(System.Int32):System.Void")] -[module: SuppressMessage("Microsoft.Usage", "CA2208:InstantiateArgumentExceptionsCorrectly", Scope="member", Target="System.Xaml.MS.Impl.SingleItemList`1.SetCount(System.Int32):System.Void")] -[module: SuppressMessage("Microsoft.Usage", "CA2208:InstantiateArgumentExceptionsCorrectly", Scope="member", Target="System.Xaml.MS.Impl.SixItemList`1.Promote(System.Xaml.MS.Impl.SixItemList`1):System.Void")] -[module: SuppressMessage("Microsoft.Usage", "CA2208:InstantiateArgumentExceptionsCorrectly", Scope="member", Target="System.Xaml.MS.Impl.SixItemList`1.Promote(System.Xaml.MS.Impl.ThreeItemList`1):System.Void")] -[module: SuppressMessage("Microsoft.Usage", "CA2208:InstantiateArgumentExceptionsCorrectly", Scope="member", Target="System.Xaml.MS.Impl.SixItemList`1.SetCount(System.Int32):System.Void")] -[module: SuppressMessage("Microsoft.Usage", "CA2208:InstantiateArgumentExceptionsCorrectly", Scope="member", Target="System.Xaml.MS.Impl.SixItemList`1.Promote(System.Xaml.MS.Impl.FrugalListBase`1):System.Void")] - -[module: SuppressMessage("Microsoft.Naming", "CA1704:IdentifiersShouldBeSpelledCorrectly", MessageId = "Uid", Scope = "type", Target = "System.Windows.Markup.UidPropertyAttribute")] -[module: SuppressMessage("Microsoft.Naming", "CA1704:IdentifiersShouldBeSpelledCorrectly", MessageId = "Uid", Scope = "member", Target = "System.Xaml.XamlLanguage.#Uid")] -[module: SuppressMessage("Microsoft.Naming", "CA1704:IdentifiersShouldBeSpelledCorrectly", MessageId = "Namescope", Scope = "member", Target = "System.Xaml.XamlObjectWriterSettings.#RegisterNamesOnExternalNamescope")] -[module: SuppressMessage("Microsoft.Naming", "CA1704:IdentifiersShouldBeSpelledCorrectly", MessageId = "Uids", Scope = "member", Target = "System.Xaml.XamlReaderSettings.#IgnoreUidsOnPropertyElements")] -[module: SuppressMessage("Microsoft.Naming", "CA1704:IdentifiersShouldBeSpelledCorrectly", MessageId = "Arity", Scope = "member", Target = "System.Xaml.XamlSchemaContext.#SupportMarkupExtensionsWithDuplicateArity")] -[module: SuppressMessage("Microsoft.Naming", "CA1704:IdentifiersShouldBeSpelledCorrectly", MessageId = "Arity", Scope = "member", Target = "System.Xaml.XamlSchemaContextSettings.#SupportMarkupExtensionsWithDuplicateArity")] -[module: SuppressMessage("Microsoft.Naming", "CA1703:ResourceStringsShouldBeSpelledCorrectly", MessageId = "Arity", Scope = "resource", Target = "ExceptionStringTable.resources")] diff --git a/src/Microsoft.DotNet.Wpf/src/System.Xaml/FxCop/Xaml/Microsoft.Usage.cs b/src/Microsoft.DotNet.Wpf/src/System.Xaml/FxCop/Xaml/Microsoft.Usage.cs deleted file mode 100644 index 5874bcf2812..00000000000 --- a/src/Microsoft.DotNet.Wpf/src/System.Xaml/FxCop/Xaml/Microsoft.Usage.cs +++ /dev/null @@ -1,25 +0,0 @@ -using System.Diagnostics.CodeAnalysis; - -//*************************************************************************************************************************** -// Ignoring the return is intentional in all of the cases below. Successful ETW registration isn’t critical for the app to continue running since it’s just for diagnostic purposes. -//*************************************************************************************************************************** -[module: SuppressMessage("Microsoft.Usage","CA1806:DoNotIgnoreMethodResults", MessageId="MS.Win32.ClassicEtw.UnregisterTraceGuids(System.UInt64)", Scope="member", Target="MS.Internal.Xaml.ClassicTraceProvider.#Finalize()")] -[module: SuppressMessage("Microsoft.Usage","CA1806:DoNotIgnoreMethodResults", MessageId="MS.Win32.ClassicEtw.RegisterTraceGuidsW(MS.Win32.ClassicEtw+ControlCallback,System.IntPtr,System.Guid@,System.Int32,MS.Win32.ClassicEtw+TRACE_GUID_REGISTRATION@,System.String,System.String,System.UInt64@)", Scope="member", Target="MS.Internal.Xaml.ClassicTraceProvider.#Register(System.Guid)")] -[module: SuppressMessage("Microsoft.Usage","CA1806:DoNotIgnoreMethodResults", MessageId="MS.Win32.ManifestEtw.EventUnregister(System.UInt64)", Scope="member", Target="MS.Internal.Xaml.ManifestTraceProvider.#Finalize()")] -[module: SuppressMessage("Microsoft.Usage","CA1806:DoNotIgnoreMethodResults", MessageId="MS.Win32.ManifestEtw.EventRegister(System.Guid@,MS.Win32.ManifestEtw+EtwEnableCallback,System.Void*,System.UInt64@)", Scope="member", Target="MS.Internal.Xaml.ManifestTraceProvider.#Register(System.Guid)")] - -[module: SuppressMessage("Microsoft.Usage", "CA1806:DoNotIgnoreMethodResults", MessageId = "System.Xaml.GCNotificationToken", Scope = "member", Target = "System.Xaml.GCNotificationToken.#RegisterCallback(System.Threading.WaitCallback,System.Object)", Justification = "The GCNotificationToken object is created only for the executing code to be notified of a GC and is intended to be released immediately")] - -//*************************************************************************************************************************** -// Warnings related to the No Primary Interop Assembly (NoPIA) are suppressed. This is not relevant to WPF at the moment. -//*************************************************************************************************************************** -[module: SuppressMessage("Microsoft.Usage","CA2302:FlagServiceProviders", Scope="type", Target="MS.Internal.Xaml.ServiceProviderContext")] -[module: SuppressMessage("Microsoft.Usage","CA2301:EmbeddableTypesInContainersRule", MessageId="DelegateCreators", Scope="member", Target="MS.Internal.Xaml.Runtime.DynamicMethodRuntime.#CreateDelegate(System.Type,System.Object,System.String)")] -[module: SuppressMessage("Microsoft.Usage","CA2301:EmbeddableTypesInContainersRule", MessageId="ConverterInstances", Scope="member", Target="MS.Internal.Xaml.Runtime.DynamicMethodRuntime.#GetConverterInstance`1(System.Xaml.Schema.XamlValueConverter`1)")] -[module: SuppressMessage("Microsoft.Usage","CA2303:FlagTypeGetHashCode", Scope="member", Target="System.Windows.Markup.ContentWrapperAttribute.#GetHashCode()")] -[module: SuppressMessage("Microsoft.Usage","CA2302:FlagServiceProviders", Scope="type", Target="System.Windows.Markup.IValueSerializerContext")] -[module: SuppressMessage("Microsoft.Usage","CA2303:FlagTypeGetHashCode", Scope="member", Target="System.Xaml.AttachableMemberIdentifier.#GetHashCode()")] -[module: SuppressMessage("Microsoft.Usage","CA2302:FlagServiceProviders", Scope="type", Target="System.Xaml.XamlObjectReader+TypeDescriptorAndValueSerializerContext")] -[module: SuppressMessage("Microsoft.Usage","CA2303:FlagTypeGetHashCode", MessageId="get_UnderlyingType", Scope="member", Target="System.Xaml.XamlType.#GetHashCode()")] -[module: SuppressMessage("Microsoft.Usage","CA2302:FlagServiceProviders", Scope="type", Target="System.Xaml.Replacements.DateTimeValueSerializerContext")] -[module: SuppressMessage("Microsoft.Usage","CA2303:FlagTypeGetHashCode", MessageId="get_ConverterType", Scope="member", Target="System.Xaml.Schema.XamlValueConverter`1.#GetHashCode()")] diff --git a/src/Microsoft.DotNet.Wpf/src/System.Xaml/FxCop/Xaml/Performance.cs b/src/Microsoft.DotNet.Wpf/src/System.Xaml/FxCop/Xaml/Performance.cs deleted file mode 100644 index a55fd1671b5..00000000000 --- a/src/Microsoft.DotNet.Wpf/src/System.Xaml/FxCop/Xaml/Performance.cs +++ /dev/null @@ -1,48 +0,0 @@ -// -// FxCop Violation Message Suppressions -// Approved List -// - -using System.Diagnostics.CodeAnalysis; - -// This is used in a Stack and all the calls to "new" are "new T" -[module: SuppressMessage("Microsoft.Performance", "CA1812:AvoidUninstantiatedInternalClasses", Scope = "type", Target = "MS.Internal.Xaml.Context.ObjectWriterFrame")] - -// Need this public Ctor Override that takes an InnerExcepetion. -[module: SuppressMessage("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode", Scope = "member", Target = "System.Xaml.XamlParseException.#.ctor(MS.Internal.Xaml.Context.XamlParserContext,System.String,System.Exception)")] - -[module: SuppressMessage("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode", Scope = "member", Target = "MS.Internal.Xaml.EventTrace.#EasyTraceEvent(MS.Internal.Xaml.EventTrace+Keyword,MS.Internal.Xaml.EventTrace+Event)", Justification = "Shared source file")] -[module: SuppressMessage("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode", Scope = "member", Target = "MS.Internal.Xaml.EventTrace.#EasyTraceEvent(MS.Internal.Xaml.EventTrace+Keyword,MS.Internal.Xaml.EventTrace+Event,System.Object)", Justification = "Shared source file")] -[module: SuppressMessage("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode", Scope = "member", Target = "MS.Internal.Xaml.EventTrace.#EasyTraceEvent(MS.Internal.Xaml.EventTrace+Keyword,MS.Internal.Xaml.EventTrace+Event,System.Object,System.Object)", Justification = "Shared source file")] -[module: SuppressMessage("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode", Scope = "member", Target = "MS.Internal.Xaml.EventTrace.#EasyTraceEvent(MS.Internal.Xaml.EventTrace+Keyword,MS.Internal.Xaml.EventTrace+Event,System.Object,System.Object,System.Object)", Justification = "Shared source file")] -[module: SuppressMessage("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode", Scope = "member", Target = "MS.Internal.Xaml.EventTrace.#EasyTraceEvent(MS.Internal.Xaml.EventTrace+Keyword,MS.Internal.Xaml.EventTrace+Level,MS.Internal.Xaml.EventTrace+Event)", Justification = "Shared source file")] -[module: SuppressMessage("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode", Scope = "member", Target = "MS.Internal.Xaml.EventTrace.#EasyTraceEvent(MS.Internal.Xaml.EventTrace+Keyword,MS.Internal.Xaml.EventTrace+Level,MS.Internal.Xaml.EventTrace+Event,System.Object)", Justification = "Shared source file")] -[module: SuppressMessage("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode", Scope = "member", Target = "MS.Internal.Xaml.EventTrace.#EasyTraceEvent(MS.Internal.Xaml.EventTrace+Keyword,MS.Internal.Xaml.EventTrace+Level,MS.Internal.Xaml.EventTrace+Event,System.Object,System.Object)", Justification = "Shared source file")] -[module: SuppressMessage("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode", Scope = "member", Target = "MS.Internal.Xaml.TraceProvider.#get_Keywords()", Justification = "Shared source file")] -[module: SuppressMessage("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode", Scope = "member", Target = "MS.Internal.Xaml.TraceProvider.#get_Level()", Justification = "Shared source file")] -[module: SuppressMessage("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode", Scope = "member", Target = "MS.Internal.Xaml.TraceProvider.#get_MatchAllKeywords()", Justification = "Shared source file")] -[module: SuppressMessage("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode", Scope = "member", Target = "MS.Internal.Xaml.TraceProvider.#TraceEvent(MS.Internal.Xaml.EventTrace+Event,MS.Internal.Xaml.EventTrace+Keyword,MS.Internal.Xaml.EventTrace+Level)", Justification = "Shared source file")] -[module: SuppressMessage("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode", Scope = "member", Target = "MS.Internal.Xaml.TraceProvider.#TraceEvent(MS.Internal.Xaml.EventTrace+Event,MS.Internal.Xaml.EventTrace+Keyword,MS.Internal.Xaml.EventTrace+Level,System.Object)", Justification = "Shared source file")] -[module: SuppressMessage("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode", Scope = "member", Target = "MS.Internal.Xaml.Context.ObjectWriterContext.#get_ParentInstanceRegisteredName()", Justification = "We need the setter, and write-only properties are bad practice")] -[module: SuppressMessage("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode", Scope = "member", Target = "MS.Internal.Xaml.Context.ObjectWriterContext.#get_ParentKey()", Justification = "We need the setter, and write-only properties are bad practice")] -[module: SuppressMessage("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode", Scope = "member", Target = "MS.Win32.ClassicEtw.#GetTraceLoggerHandle(MS.Win32.ClassicEtw+WNODE_HEADER*)", Justification = "Shared source file")] -[module: SuppressMessage("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode", Scope = "member", Target = "System.Xaml.ReflectionHelper.#GetAlreadyLoadedAssembly(System.String)", Justification = "Shared source file")] -[module: SuppressMessage("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode", Scope = "member", Target = "System.Xaml.ReflectionHelper.#GetCustomAttributeData(System.Collections.Generic.IList`1,System.Type,System.Type&,System.Boolean,System.Boolean)", Justification = "Shared source file")] -[module: SuppressMessage("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode", Scope = "member", Target = "System.Xaml.ReflectionHelper.#GetCustomAttributeData(System.Reflection.MemberInfo,System.Type,System.Type&)", Justification = "Shared source file")] -[module: SuppressMessage("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode", Scope = "member", Target = "System.Xaml.ReflectionHelper.#GetTypeConverterAttributeData(System.Reflection.MemberInfo,System.Type&)", Justification = "Shared source file")] -[module: SuppressMessage("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode", Scope = "member", Target = "System.Xaml.ReflectionHelper.#IsInternalType(System.Type)", Justification = "Shared source file")] -[module: SuppressMessage("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode", Scope = "member", Target = "System.Xaml.ReflectionHelper.#ResetCacheForAssembly(System.String)", Justification = "Shared source file")] -[module: SuppressMessage("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode", Scope = "member", Target = "System.Xaml.SR.#get_ResourceManager()", Justification = "Auto-generated")] -[module: SuppressMessage("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode", Scope = "member", Target = "System.Xaml.XmlCompatibilityReader.#.ctor(System.Xml.XmlReader,System.Collections.Generic.IEnumerable`1)", Justification = "Shared source file")] -[module: SuppressMessage("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode", Scope = "member", Target = "System.Xaml.XmlCompatibilityReader.#.ctor(System.Xml.XmlReader,System.Xaml.IsXmlNamespaceSupportedCallback,System.Collections.Generic.IEnumerable`1)", Justification = "Shared source file")] -[module: SuppressMessage("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode", Scope = "member", Target = "System.Xaml.XmlCompatibilityReader.#get_Encoding()", Justification = "Shared source file")] - -// This is a debug-only method, we should mark it as Conditional("DEBUG") -[module: SuppressMessage("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode", Scope = "member", Target = "System.Xaml.XamlNode.#IsEof_Helper(System.Xaml.XamlNodeType,System.Object)", Justification = "Fix doesn't meet Ask Mode bar")] - -[module: SuppressMessage("Microsoft.Performance","CA1811:AvoidUncalledPrivateCode", Scope="member", Target="System.Xaml.XamlObjectWriter.#get_ObjectWriterContext()", Justification="Fix doesn't meet Ask Mode bar - Bug 773900")] - -// New since v4 RTM: - -//this is used by subclasses, bad FxCop detection -[module: SuppressMessage("Microsoft.Performance","CA1812:AvoidUninstantiatedInternalClasses", Scope="type", Target="System.Xaml.MS.Impl.FrugalObjectList`1+Compacter")] diff --git a/src/Microsoft.DotNet.Wpf/src/System.Xaml/FxCop/Xaml/Reliability.cs b/src/Microsoft.DotNet.Wpf/src/System.Xaml/FxCop/Xaml/Reliability.cs deleted file mode 100644 index 837de646fc6..00000000000 --- a/src/Microsoft.DotNet.Wpf/src/System.Xaml/FxCop/Xaml/Reliability.cs +++ /dev/null @@ -1,12 +0,0 @@ -// -// FxCop Violation Message Suppressions -// Approved List -// - -using System.Diagnostics.CodeAnalysis; - -[module: SuppressMessage("Microsoft.Reliability","CA2001:AvoidCallingProblematicMethods", Scope="member", Target="System.Xaml.Schema.ClrNamespace.#ParseClrNamespaceUri(System.String)", MessageId="System.Reflection.Assembly.LoadWithPartialName", Justification="Back compat.")] - -[module: SuppressMessage("Microsoft.Reliability","CA2001:AvoidCallingProblematicMethods", MessageId="System.Reflection.Assembly.LoadFile", Scope="member", Target="System.Xaml.ReflectionHelper.#LoadAssemblyHelper(System.String,System.String)")] - -[module: SuppressMessage("Microsoft.Reliability","CA2001:AvoidCallingProblematicMethods", MessageId="System.Reflection.Assembly.LoadWithPartialName", Scope="member", Target="System.Xaml.XamlSchemaContext.#ResolveAssembly(System.String)", Justification="Need to support load of assemblies from GAC by short name.")] diff --git a/src/Microsoft.DotNet.Wpf/src/System.Xaml/FxCop/Xaml/Security.cs b/src/Microsoft.DotNet.Wpf/src/System.Xaml/FxCop/Xaml/Security.cs deleted file mode 100644 index c2373499438..00000000000 --- a/src/Microsoft.DotNet.Wpf/src/System.Xaml/FxCop/Xaml/Security.cs +++ /dev/null @@ -1,19 +0,0 @@ -// -// FxCop Violation Message Suppressions -// Approved List -// - -using System.Diagnostics.CodeAnalysis; - -// Begin - -[module: SuppressMessage("Microsoft.Security","CA2103:ReviewImperativeSecurity", Scope="member", Target="System.Xaml.Permissions.XamlLoadPermission.#Copy()", Justification="Reviewed by senior CLR security developer.")] - -[module: SuppressMessage("Microsoft.Security","CA2103:ReviewImperativeSecurity", Scope="member", Target="MS.Internal.Xaml.Runtime.DynamicMethodRuntime.#.ctor(MS.Internal.Xaml.Runtime.XamlRuntimeSettings,System.Xaml.XamlSchemaContext,System.Xaml.Permissions.XamlAccessLevel)", Justification="Reviewed by Microsoft.")] - -[module: SuppressMessage("Microsoft.Security","CA2122:DoNotIndirectlyExposeMethodsWithLinkDemands", Scope="member", Target="System.Xaml.XamlObjectReader+ObjectMarkupInfo.#GetInstanceDescriptorInfo(System.ComponentModel.Design.Serialization.InstanceDescriptor,System.Reflection.MemberInfo&,System.Collections.ICollection&,System.Boolean&)", Justification="Non-issue since C# 2.0. LinkDemand is FullDemand by default without a SecurityCritical attribute.")] - -[module: SuppressMessage("Microsoft.Security","CA2106:SecureAsserts", Scope="member", Target="MS.Internal.Utility.PerfServiceProxy.#InitializeGetId()", Justification="Doesn't make sense with security transparency system. Reviewed by Microsoft")] - -// End - diff --git a/src/Microsoft.DotNet.Wpf/src/System.Xaml/FxCop/Xaml/Stability.cs b/src/Microsoft.DotNet.Wpf/src/System.Xaml/FxCop/Xaml/Stability.cs deleted file mode 100644 index b06030a5e5c..00000000000 --- a/src/Microsoft.DotNet.Wpf/src/System.Xaml/FxCop/Xaml/Stability.cs +++ /dev/null @@ -1,7 +0,0 @@ -// -// FxCop Violation Message Suppressions -// Approved List -// - - - diff --git a/src/Microsoft.DotNet.Wpf/src/System.Xaml/GlobalSuppressions.cs b/src/Microsoft.DotNet.Wpf/src/System.Xaml/GlobalSuppressions.cs new file mode 100644 index 00000000000..9b5d9b67879 --- /dev/null +++ b/src/Microsoft.DotNet.Wpf/src/System.Xaml/GlobalSuppressions.cs @@ -0,0 +1,127 @@ +// This file is used by Code Analysis to maintain SuppressMessage +// attributes that are applied to this project. +// Project-level suppressions either have no target or are given +// a specific target and scoped to a namespace, type, member, etc. + +using System.Diagnostics.CodeAnalysis; + +#region Microsoft.Design Suppressions +[assembly: SuppressMessage("Microsoft.Design", "CA1064:Exceptions should be public", Justification = "Exception is internal only", Scope = "type", Target = "~T:MS.Internal.Xaml.Parser.GenericTypeNameParser.TypeNameParserException")] +[assembly: SuppressMessage("Microsoft.Design", "CA1032:Implement standard exception constructors", Justification = "Exception is internal only", Scope = "type", Target = "~T:MS.Internal.Xaml.Parser.GenericTypeNameParser.TypeNameParserException")] +[assembly: SuppressMessage("Microsoft.Design", "CA1028:EnumStorageShouldBeInt32", Scope = "type", Target = "System.Xaml.Schema.XamlCollectionKind", Justification = "Our measurements showed this type provided improved spacial complexity.")] +[assembly: SuppressMessage("Microsoft.Design", "CA1028:EnumStorageShouldBeInt32", Scope = "type", Target = "System.Xaml.XamlNodeType", Justification = "Our measurements showed this type provided improved spacial complexity.")] +[assembly: SuppressMessage("Microsoft.Design", "CA1036:OverrideMethodsOnComparableTypes", Scope = "type", Target = "System.Xaml.Schema.ReferenceEqualityTuple`2", Justification = "Internal Only")] +[assembly: SuppressMessage("Microsoft.Design", "CA1036:OverrideMethodsOnComparableTypes", Scope = "type", Target = "System.Xaml.Schema.ReferenceEqualityTuple`3", Justification = "Internal Only")] +[assembly: SuppressMessage("Microsoft.Design", "CA1063:ImplementIDisposableCorrectly", Justification = "Not changing public API surface for .NET Core 3 release", Scope = "member", Target = "~M:System.Xaml.XamlWriter.System#IDisposable#Dispose")] +[assembly: SuppressMessage("Microsoft.Design", "CA1031:Do not catch general exception types", Justification = "Don't want render thread to crash", Scope = "member", Target = "~M:System.Xaml.XamlBackgroundReader.XamlReaderThreadStart(System.Object)")] +[assembly: SuppressMessage("Microsoft.Design", "CA1031:Do not catch general exception types", Justification = "Finalizers shouldn't throw", Scope = "member", Target = "~M:System.Xaml.XamlSchemaContext.Finalize")] +#endregion + +#region Microsoft.Performance suppressions +[assembly: SuppressMessage("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode", Scope = "member", Target = "System.Xaml.Schema.SafeReflectionInvoker.#DemandMemberAccessPermission()", Justification = "Retained per servicing policy.")] +[assembly: SuppressMessage("Microsoft.Performance", "CA1812:AvoidUninstantiatedInternalClasses", Scope = "type", Target = "MS.Internal.Xaml.Context.ObjectWriterFrame")] + +// Need this public Ctor Override that takes an InnerExcepetion. +[assembly: SuppressMessage("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode", Scope = "member", Target = "System.Xaml.XamlParseException.#.ctor(MS.Internal.Xaml.Context.XamlParserContext,System.String,System.Exception)")] + +[assembly: SuppressMessage("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode", Scope = "member", Target = "MS.Internal.Xaml.EventTrace.#EasyTraceEvent(MS.Internal.Xaml.EventTrace+Keyword,MS.Internal.Xaml.EventTrace+Event)", Justification = "Shared source file")] +[assembly: SuppressMessage("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode", Scope = "member", Target = "MS.Internal.Xaml.EventTrace.#EasyTraceEvent(MS.Internal.Xaml.EventTrace+Keyword,MS.Internal.Xaml.EventTrace+Event,System.Object)", Justification = "Shared source file")] +[assembly: SuppressMessage("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode", Scope = "member", Target = "MS.Internal.Xaml.EventTrace.#EasyTraceEvent(MS.Internal.Xaml.EventTrace+Keyword,MS.Internal.Xaml.EventTrace+Event,System.Object,System.Object)", Justification = "Shared source file")] +[assembly: SuppressMessage("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode", Scope = "member", Target = "MS.Internal.Xaml.EventTrace.#EasyTraceEvent(MS.Internal.Xaml.EventTrace+Keyword,MS.Internal.Xaml.EventTrace+Event,System.Object,System.Object,System.Object)", Justification = "Shared source file")] +[assembly: SuppressMessage("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode", Scope = "member", Target = "MS.Internal.Xaml.EventTrace.#EasyTraceEvent(MS.Internal.Xaml.EventTrace+Keyword,MS.Internal.Xaml.EventTrace+Level,MS.Internal.Xaml.EventTrace+Event)", Justification = "Shared source file")] +[assembly: SuppressMessage("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode", Scope = "member", Target = "MS.Internal.Xaml.EventTrace.#EasyTraceEvent(MS.Internal.Xaml.EventTrace+Keyword,MS.Internal.Xaml.EventTrace+Level,MS.Internal.Xaml.EventTrace+Event,System.Object)", Justification = "Shared source file")] +[assembly: SuppressMessage("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode", Scope = "member", Target = "MS.Internal.Xaml.EventTrace.#EasyTraceEvent(MS.Internal.Xaml.EventTrace+Keyword,MS.Internal.Xaml.EventTrace+Level,MS.Internal.Xaml.EventTrace+Event,System.Object,System.Object)", Justification = "Shared source file")] +[assembly: SuppressMessage("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode", Scope = "member", Target = "MS.Internal.Xaml.TraceProvider.#get_Keywords()", Justification = "Shared source file")] +[assembly: SuppressMessage("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode", Scope = "member", Target = "MS.Internal.Xaml.TraceProvider.#get_Level()", Justification = "Shared source file")] +[assembly: SuppressMessage("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode", Scope = "member", Target = "MS.Internal.Xaml.TraceProvider.#get_MatchAllKeywords()", Justification = "Shared source file")] +[assembly: SuppressMessage("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode", Scope = "member", Target = "MS.Internal.Xaml.TraceProvider.#TraceEvent(MS.Internal.Xaml.EventTrace+Event,MS.Internal.Xaml.EventTrace+Keyword,MS.Internal.Xaml.EventTrace+Level)", Justification = "Shared source file")] +[assembly: SuppressMessage("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode", Scope = "member", Target = "MS.Internal.Xaml.TraceProvider.#TraceEvent(MS.Internal.Xaml.EventTrace+Event,MS.Internal.Xaml.EventTrace+Keyword,MS.Internal.Xaml.EventTrace+Level,System.Object)", Justification = "Shared source file")] +[assembly: SuppressMessage("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode", Scope = "member", Target = "MS.Internal.Xaml.Context.ObjectWriterContext.#get_ParentInstanceRegisteredName()", Justification = "We need the setter, and write-only properties are bad practice")] +[assembly: SuppressMessage("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode", Scope = "member", Target = "MS.Internal.Xaml.Context.ObjectWriterContext.#get_ParentKey()", Justification = "We need the setter, and write-only properties are bad practice")] +[assembly: SuppressMessage("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode", Scope = "member", Target = "MS.Win32.ClassicEtw.#GetTraceLoggerHandle(MS.Win32.ClassicEtw+WNODE_HEADER*)", Justification = "Shared source file")] +[assembly: SuppressMessage("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode", Scope = "member", Target = "System.Xaml.ReflectionHelper.#GetAlreadyLoadedAssembly(System.String)", Justification = "Shared source file")] +[assembly: SuppressMessage("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode", Scope = "member", Target = "System.Xaml.ReflectionHelper.#GetCustomAttributeData(System.Collections.Generic.IList`1,System.Type,System.Type&,System.Boolean,System.Boolean)", Justification = "Shared source file")] +[assembly: SuppressMessage("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode", Scope = "member", Target = "System.Xaml.ReflectionHelper.#GetCustomAttributeData(System.Reflection.MemberInfo,System.Type,System.Type&)", Justification = "Shared source file")] +[assembly: SuppressMessage("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode", Scope = "member", Target = "System.Xaml.ReflectionHelper.#GetTypeConverterAttributeData(System.Reflection.MemberInfo,System.Type&)", Justification = "Shared source file")] +[assembly: SuppressMessage("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode", Scope = "member", Target = "System.Xaml.ReflectionHelper.#IsInternalType(System.Type)", Justification = "Shared source file")] +[assembly: SuppressMessage("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode", Scope = "member", Target = "System.Xaml.ReflectionHelper.#ResetCacheForAssembly(System.String)", Justification = "Shared source file")] +[assembly: SuppressMessage("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode", Scope = "member", Target = "System.Xaml.SR.#get_ResourceManager()", Justification = "Auto-generated")] +[assembly: SuppressMessage("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode", Scope = "member", Target = "System.Xaml.XmlCompatibilityReader.#.ctor(System.Xml.XmlReader,System.Collections.Generic.IEnumerable`1)", Justification = "Shared source file")] +[assembly: SuppressMessage("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode", Scope = "member", Target = "System.Xaml.XmlCompatibilityReader.#.ctor(System.Xml.XmlReader,System.Xaml.IsXmlNamespaceSupportedCallback,System.Collections.Generic.IEnumerable`1)", Justification = "Shared source file")] +[assembly: SuppressMessage("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode", Scope = "member", Target = "System.Xaml.XmlCompatibilityReader.#get_Encoding()", Justification = "Shared source file")] + +// This is a debug-only method, we should mark it as Conditional("DEBUG") +[assembly: SuppressMessage("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode", Scope = "member", Target = "System.Xaml.XamlNode.#IsEof_Helper(System.Xaml.XamlNodeType,System.Object)", Justification = "Fix doesn't meet Ask Mode bar")] +[assembly: SuppressMessage("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode", Scope = "member", Target = "System.Xaml.XamlObjectWriter.#get_ObjectWriterContext()", Justification = "Fix doesn't meet Ask Mode bar - Bug 773900")] + +// New since v4 RTM: + +//this is used by subclasses, bad FxCop detection +[assembly: SuppressMessage("Microsoft.Performance", "CA1812:AvoidUninstantiatedInternalClasses", Scope = "type", Target = "System.Xaml.MS.Impl.FrugalObjectList`1+Compacter")] +#endregion + +#region Microsoft.Naming Suppressions +[assembly: SuppressMessage("Microsoft.Naming", "CA1702:CompoundWordsShouldBeCasedCorrectly", Scope = "member", Target = "System.Xaml.XamlType.#IsWhitespaceSignificantCollectionCore", MessageId = "Whitespace", Justification = "Add Whitespace to the dictionary if we already shipped, and it seems good.")] +[assembly: SuppressMessage("Microsoft.Naming", "CA1702:CompoundWordsShouldBeCasedCorrectly", Scope = "member", Target = "System.Xaml.XamlType.#IsWhitespaceSignificantCollection", MessageId = "Whitespace", Justification = "Add Whitespace to the dictionary if we already shipped, and it seems good.")] +[assembly: SuppressMessage("Microsoft.Naming", "CA1702:CompoundWordsShouldBeCasedCorrectly", Scope = "member", Target = "System.Xaml.XamlType.#TrimSurroundingWhitespace", MessageId = "Whitespace", Justification = "Add Whitespace to the dictionary if we already shipped, and it seems good.")] +[assembly: SuppressMessage("Microsoft.Naming", "CA1702:CompoundWordsShouldBeCasedCorrectly", Scope = "member", Target = "System.Xaml.XamlType.#TrimSurroundingWhitespaceCore", MessageId = "Whitespace", Justification = "Add Whitespace to the dictionary if we already shipped, and it seems good.")] +[assembly: SuppressMessage("Microsoft.Naming", "CA1702:CompoundWordsShouldBeCasedCorrectly", Scope = "member", Target = "System.Xaml.Schema.XaslType.#IsWhitespaceSignificantCollection", MessageId = "Whitespace", Justification = "Add Whitespace to the dictionary if we already shipped, and it seems good.")] +[assembly: SuppressMessage("Microsoft.Naming", "CA1702:CompoundWordsShouldBeCasedCorrectly", Scope = "member", Target = "System.Xaml.Schema.XaslType.#TrimSurroundingWhitespace", MessageId = "Whitespace", Justification = "Add Whitespace to the dictionary if we already shipped, and it seems good.")] +[assembly: SuppressMessage("Microsoft.Naming", "CA1704:IdentifiersShouldBeSpelledCorrectly", Scope = "member", Target = "System.Xaml.XamlReader.#IsEof", MessageId = "Eof", Justification = "Review Eof")] +[assembly: SuppressMessage("Microsoft.Naming", "CA1711:IdentifiersShouldNotHaveIncorrectSuffix", Scope = "type", Target = "System.Xaml.XamlNodeQueue", Justification = "This is unnecessarily limiting.")] +[assembly: SuppressMessage("Microsoft.Naming", "CA1721:PropertyNamesShouldNotMatchGetMethods", Scope = "member", Target = "System.Windows.Markup.PropertyDefinition.#Type", Justification = "Makes sense for our problem domain.")] +[assembly: SuppressMessage("Microsoft.Naming", "CA1721:PropertyNamesShouldNotMatchGetMethods", Scope = "member", Target = "System.Xaml.XamlMember.#Type", Justification = "Makes sense for our problem domain.")] +[assembly: SuppressMessage("Microsoft.Naming", "CA1721:PropertyNamesShouldNotMatchGetMethods", Scope = "member", Target = "System.Xaml.XamlReader.#Type", Justification = "Makes sense for our problem domain.")] +[assembly: SuppressMessage("Microsoft.Naming", "CA1716:IdentifiersShouldNotMatchKeywords", Scope = "member", Target = "System.Xaml.XamlReader.#Namespace", MessageId = "Namespace", Justification = "Works for our problem domain.")] +[assembly: SuppressMessage("Microsoft.Naming", "CA1702:CompoundWordsShouldBeCasedCorrectly", Scope = "member", Target = "System.Xaml.XamlType.#LookupIsWhitespaceSignificantCollection()", MessageId = "Whitespace", Justification = "Back compat.")] +[assembly: SuppressMessage("Microsoft.Naming", "CA1702:CompoundWordsShouldBeCasedCorrectly", Scope = "member", Target = "System.Xaml.XamlType.#LookupTrimSurroundingWhitespace()", MessageId = "Whitespace", Justification = "Back compat.")] +[assembly: SuppressMessage("Microsoft.Naming", "CA1702:CompoundWordsShouldBeCasedCorrectly", MessageId = "SubClass", Scope = "member", Target = "System.Xaml.XamlLanguage.#SubClass", Justification = "Needs to match the capitalization used in XAML syntax.")] +[assembly: SuppressMessage("Microsoft.Naming", "CA1702:CompoundWordsShouldBeCasedCorrectly", MessageId = "Whitespace", Scope = "type", Target = "System.Windows.Markup.TrimSurroundingWhitespaceAttribute", Justification = "Kept for compatibility.")] +[assembly: SuppressMessage("Microsoft.Naming", "CA1702:CompoundWordsShouldBeCasedCorrectly", MessageId = "Whitespace", Scope = "type", Target = "System.Windows.Markup.WhitespaceSignificantCollectionAttribute", Justification = "Kept for compatibility.")] +[assembly: SuppressMessage("Microsoft.Naming", "CA1721:PropertyNamesShouldNotMatchGetMethods", Scope = "member", Target = "System.Windows.Markup.ArrayExtension.#Type", Justification = "Kept for compatibility.")] +[assembly: SuppressMessage("Microsoft.Naming", "CA1721:PropertyNamesShouldNotMatchGetMethods", Scope = "member", Target = "System.Windows.Markup.TypeExtension.#Type", Justification = "Kept for compatibility.")] +[assembly: SuppressMessage("Microsoft.Naming", "CA1702:CompoundWordsShouldBeCasedCorrectly", MessageId = "nameSpace", Scope = "member", Target = "System.Windows.Markup.RootNamespaceAttribute.#.ctor(System.String)", Justification = "Inherited from Base.")] +[assembly: SuppressMessage("Microsoft.Naming", "CA1721:PropertyNamesShouldNotMatchGetMethods", Scope = "member", Target = "System.Windows.Markup.NameScopePropertyAttribute.#Type", Justification = "Kept for compatibility.")] +[assembly: SuppressMessage("Microsoft.Naming", "CA1704:IdentifiersShouldBeSpelledCorrectly", MessageId = "Uid", Scope = "type", Target = "System.Windows.Markup.UidPropertyAttribute")] +[assembly: SuppressMessage("Microsoft.Naming", "CA1704:IdentifiersShouldBeSpelledCorrectly", MessageId = "Uid", Scope = "member", Target = "System.Xaml.XamlLanguage.#Uid")] +[assembly: SuppressMessage("Microsoft.Naming", "CA1704:IdentifiersShouldBeSpelledCorrectly", MessageId = "Namescope", Scope = "member", Target = "System.Xaml.XamlObjectWriterSettings.#RegisterNamesOnExternalNamescope")] +[assembly: SuppressMessage("Microsoft.Naming", "CA1704:IdentifiersShouldBeSpelledCorrectly", MessageId = "Uids", Scope = "member", Target = "System.Xaml.XamlReaderSettings.#IgnoreUidsOnPropertyElements")] +[assembly: SuppressMessage("Microsoft.Naming", "CA1704:IdentifiersShouldBeSpelledCorrectly", MessageId = "Arity", Scope = "member", Target = "System.Xaml.XamlSchemaContext.#SupportMarkupExtensionsWithDuplicateArity")] +[assembly: SuppressMessage("Microsoft.Naming", "CA1704:IdentifiersShouldBeSpelledCorrectly", MessageId = "Arity", Scope = "member", Target = "System.Xaml.XamlSchemaContextSettings.#SupportMarkupExtensionsWithDuplicateArity")] +[assembly: SuppressMessage("Microsoft.Naming", "CA1703:ResourceStringsShouldBeSpelledCorrectly", MessageId = "Arity", Scope = "resource", Target = "ExceptionStringTable.resources")] +[assembly: SuppressMessage("Microsoft.Naming", "CA1720:IdentifiersShouldNotContainTypeNames", Scope = "member", Target = "System.Xaml.XamlLanguage.#String")] +[assembly: SuppressMessage("Microsoft.Naming", "CA1720:IdentifiersShouldNotContainTypeNames", Scope = "member", Target = "System.Xaml.XamlLanguage.#Double")] +[assembly: SuppressMessage("Microsoft.Naming", "CA1720:IdentifiersShouldNotContainTypeNames", Scope = "member", Target = "System.Xaml.XamlLanguage.#Int32")] +[assembly: SuppressMessage("Microsoft.Naming", "CA1720:IdentifiersShouldNotContainTypeNames", Scope = "member", Target = "System.Xaml.XamlLanguage.#Object")] +[assembly: SuppressMessage("Microsoft.Naming", "CA1720:IdentifiersShouldNotContainTypeNames", Scope = "member", Target = "System.Xaml.XamlLanguage.#Char")] +[assembly: SuppressMessage("Microsoft.Naming", "CA1720:IdentifiersShouldNotContainTypeNames", Scope = "member", Target = "System.Xaml.XamlLanguage.#Single")] +[assembly: SuppressMessage("Microsoft.Naming", "CA1720:IdentifiersShouldNotContainTypeNames", Scope = "member", Target = "System.Xaml.XamlLanguage.#Int16")] +[assembly: SuppressMessage("Microsoft.Naming", "CA1720:IdentifiersShouldNotContainTypeNames", Scope = "member", Target = "System.Xaml.XamlLanguage.#Int64")] +[assembly: SuppressMessage("Microsoft.Naming", "CA1720:IdentifiersShouldNotContainTypeNames", Scope = "member", Target = "System.Xaml.XamlLanguage.#Decimal")] +#endregion + +#region Microsoft.Usage Suppressions +[assembly: SuppressMessage("Microsoft.Usage", "CA2208:InstantiateArgumentExceptionsCorrectly", Scope = "member", Target = "System.Xaml.MS.Impl.ThreeItemList`1.Promote(System.Xaml.MS.Impl.ThreeItemList`1):System.Void")] +[assembly: SuppressMessage("Microsoft.Usage", "CA2208:InstantiateArgumentExceptionsCorrectly", Scope = "member", Target = "System.Xaml.MS.Impl.ThreeItemList`1.SetCount(System.Int32):System.Void")] +[assembly: SuppressMessage("Microsoft.Usage", "CA2208:InstantiateArgumentExceptionsCorrectly", Scope = "member", Target = "System.Xaml.MS.Impl.ThreeItemList`1.Promote(System.Xaml.MS.Impl.FrugalListBase`1):System.Void")] +[assembly: SuppressMessage("Microsoft.Usage", "CA2208:InstantiateArgumentExceptionsCorrectly", Scope = "member", Target = "System.Xaml.MS.Impl.ArrayItemList`1.Promote(System.Xaml.MS.Impl.SixItemList`1):System.Void")] +[assembly: SuppressMessage("Microsoft.Usage", "CA2208:InstantiateArgumentExceptionsCorrectly", Scope = "member", Target = "System.Xaml.MS.Impl.ArrayItemList`1.SetCount(System.Int32):System.Void")] +[assembly: SuppressMessage("Microsoft.Usage", "CA2208:InstantiateArgumentExceptionsCorrectly", Scope = "member", Target = "System.Xaml.MS.Impl.SingleItemList`1.SetCount(System.Int32):System.Void")] +[assembly: SuppressMessage("Microsoft.Usage", "CA2208:InstantiateArgumentExceptionsCorrectly", Scope = "member", Target = "System.Xaml.MS.Impl.SixItemList`1.Promote(System.Xaml.MS.Impl.SixItemList`1):System.Void")] +[assembly: SuppressMessage("Microsoft.Usage", "CA2208:InstantiateArgumentExceptionsCorrectly", Scope = "member", Target = "System.Xaml.MS.Impl.SixItemList`1.Promote(System.Xaml.MS.Impl.ThreeItemList`1):System.Void")] +[assembly: SuppressMessage("Microsoft.Usage", "CA2208:InstantiateArgumentExceptionsCorrectly", Scope = "member", Target = "System.Xaml.MS.Impl.SixItemList`1.SetCount(System.Int32):System.Void")] +[assembly: SuppressMessage("Microsoft.Usage", "CA2208:InstantiateArgumentExceptionsCorrectly", Scope = "member", Target = "System.Xaml.MS.Impl.SixItemList`1.Promote(System.Xaml.MS.Impl.FrugalListBase`1):System.Void")] +#endregion + +#region Microsoft.Reliablity Suppressions +[module: SuppressMessage("Microsoft.Reliability", "CA2001:AvoidCallingProblematicMethods", Scope = "member", Target = "System.Xaml.Schema.ClrNamespace.#ParseClrNamespaceUri(System.String)", MessageId = "System.Reflection.Assembly.LoadWithPartialName", Justification = "Back compat.")] +[module: SuppressMessage("Microsoft.Reliability", "CA2001:AvoidCallingProblematicMethods", MessageId = "System.Reflection.Assembly.LoadFile", Scope = "member", Target = "System.Xaml.ReflectionHelper.#LoadAssemblyHelper(System.String,System.String)")] +[module: SuppressMessage("Microsoft.Reliability", "CA2001:AvoidCallingProblematicMethods", MessageId = "System.Reflection.Assembly.LoadWithPartialName", Scope = "member", Target = "System.Xaml.XamlSchemaContext.#ResolveAssembly(System.String)", Justification = "Need to support load of assemblies from GAC by short name.")] +#endregion + +#region Microsoft.Security Suppressions +[module: SuppressMessage("Microsoft.Security", "CA2103:ReviewImperativeSecurity", Scope = "member", Target = "System.Xaml.Permissions.XamlLoadPermission.#Copy()", Justification = "Reviewed by senior CLR security developer.")] +[module: SuppressMessage("Microsoft.Security", "CA2103:ReviewImperativeSecurity", Scope = "member", Target = "MS.Internal.Xaml.Runtime.DynamicMethodRuntime.#.ctor(MS.Internal.Xaml.Runtime.XamlRuntimeSettings,System.Xaml.XamlSchemaContext,System.Xaml.Permissions.XamlAccessLevel)", Justification = "Reviewed by Microsoft.")] +[module: SuppressMessage("Microsoft.Security", "CA2122:DoNotIndirectlyExposeMethodsWithLinkDemands", Scope = "member", Target = "System.Xaml.XamlObjectReader+ObjectMarkupInfo.#GetInstanceDescriptorInfo(System.ComponentModel.Design.Serialization.InstanceDescriptor,System.Reflection.MemberInfo&,System.Collections.ICollection&,System.Boolean&)", Justification = "Non-issue since C# 2.0. LinkDemand is FullDemand by default without a SecurityCritical attribute.")] +[module: SuppressMessage("Microsoft.Security", "CA2106:SecureAsserts", Scope = "member", Target = "MS.Internal.Utility.PerfServiceProxy.#InitializeGetId()", Justification = "Doesn't make sense with security transparency system. Reviewed by Microsoft")] +#endregion diff --git a/src/Microsoft.DotNet.Wpf/src/System.Xaml/Resources/xlf/Strings.cs.xlf b/src/Microsoft.DotNet.Wpf/src/System.Xaml/Resources/xlf/Strings.cs.xlf index 832726539a3..a7e968a4f57 100644 --- a/src/Microsoft.DotNet.Wpf/src/System.Xaml/Resources/xlf/Strings.cs.xlf +++ b/src/Microsoft.DotNet.Wpf/src/System.Xaml/Resources/xlf/Strings.cs.xlf @@ -29,37 +29,37 @@ A child of KeyFrameAnimation in XAML must be a KeyFrame of a compatible type. - A child of KeyFrameAnimation in XAML must be a KeyFrame of a compatible type. + Podřízený prvek třídy KeyFrameAnimation v jazyce XAML musí být KeyFrame kompatibilního typu. '{0}' must have either a TimeSpan for its Duration or a TimeSpan for the KeyTime of its last KeyFrame. This '{0}' has a Duration of '{1}' and a KeyTime of '{2}' for its last KeyFrame, so the KeyTimes cannot be resolved. - '{0}' must have either a TimeSpan for its Duration or a TimeSpan for the KeyTime of its last KeyFrame. This '{0}' has a Duration of '{1}' and a KeyTime of '{2}' for its last KeyFrame, so the KeyTimes cannot be resolved. + Animace {0} musí mít buď hodnotu TimeSpan pro vlastnost Duration, nebo hodnotu TimeSpan pro čas KeyTime posledního rámce KeyFrame. V této animaci {0} má Duration hodnotu {1} a KeyTime hodnotu {2} pro poslední rámec KeyFrame, takže nelze přeložit časy KeyTimes. '{0}' is not a valid '{1}' value for class '{2}'. This value might have been supplied by the base value of the property being animated or the output value of another animation applied to the same property. - '{0}' is not a valid '{1}' value for class '{2}'. This value might have been supplied by the base value of the property being animated or the output value of another animation applied to the same property. + {0} není platná hodnota {1} pro třídu {2}. Tato hodnota by mohla být poskytnuta základní hodnotou animované vlastnosti nebo výstupní hodnotou jiné animace použité na stejnou vlastnost. Resolved KeyTime for key frame at index {1} cannot be greater than resolved KeyTime for key frame at index {4}. KeyFrames[{1}]5D; has specified KeyTime '{2}', which resolves to time {3}; KeyFrames[{4}]5D; has specified KeyTime '{5}', which resolves to time {6}. Some KeyTimes are resolved relative to Begin time of '{0}' and others relative to its Duration, so some sets of KeyTimes are not valid for all Durations. - Resolved KeyTime for key frame at index {1} cannot be greater than resolved KeyTime for key frame at index {4}. KeyFrames[{1}]5D; has specified KeyTime '{2}', which resolves to time {3}; KeyFrames[{4}]5D; has specified KeyTime '{5}', which resolves to time {6}. Some KeyTimes are resolved relative to Begin time of '{0}' and others relative to its Duration, so some sets of KeyTimes are not valid for all Durations. + Přeložený čas KeyTime pro klíčový snímek s indexem {1} nesmí být větší než přeložený čas KeyTime pro klíčový snímek s indexem {4}. KeyFrames[{1}]5D; určuje KeyTime {2}, který je přeložen na čas {3}; KeyFrames[{4}]5D; určuje KeyTime {5}, který je přeložen na čas {6}. Některé hodnoty KeyTimes jsou přeloženy relativně k času Begin {0} a jiné relativně k hodnotě Duration, takže některé sady hodnot KeyTimes nejsou platné pro všechny hodnoty Duration. '{2}' KeyTime value is not valid for key frame at index {1} of this '{0}' because it is greater than animation's Duration value '{3}'. - '{2}' KeyTime value is not valid for key frame at index {1} of this '{0}' because it is greater than animation's Duration value '{3}'. + Hodnota KeyTime {2} není platná pro klíčový rámec indexu {1} tohoto prvku {0}, protože je vyšší než hodnota Duration {3} animace. '{0}' cannot use default {1} value of '{2}'. - '{0}' cannot use default {1} value of '{2}'. + Prvek {0} nemůže použít výchozí hodnotu {1} prvku {2}. KeyFrameAnimation objects cannot have text objects as children. - KeyFrameAnimation objects cannot have text objects as children. + Objekty KeyFrameAnimation nemohou mít textové objekty jako podřízené objekty. @@ -74,7 +74,7 @@ Part between semicolon ';' and equals sign '=' is not '{0}' URI '{1}'. - Part between semicolon ';' and equals sign '=' is not '{0}' URI '{1}'. + Část mezi středníkem (;) a rovnítkem (=) není {0} URI {1}. @@ -164,12 +164,12 @@ Cannot convert string value '{0}' to type '{1}'. - Cannot convert string value '{0}' to type '{1}'. + Hodnotu řetězce {0} nelze převést na typ {1}. Cannot convert type '{0}' to '{1}'. - Cannot convert type '{0}' to '{1}'. + Typ {0} nelze převést na typ {1}. @@ -189,7 +189,7 @@ Cannot modify a read-only container. - Cannot modify a read-only container. + Zásobník určený jen pro čtení nelze upravit. @@ -204,7 +204,7 @@ Cannot get part or part information from a write-only container. - Cannot get part or part information from a write-only container. + Součást nebo informace o součásti ze zásobníku, který je určen pouze pro zápis, nelze získat. @@ -274,27 +274,27 @@ The number of elements in this collection must be less than or equal to '{0}'. - The number of elements in this collection must be less than or equal to '{0}'. + Počet elementů v této kolekci musí být menší nebo roven {0}. Cannot add instance of type '{1}' to a collection of type '{0}'. Only items of type '{2}' are allowed. - Cannot add instance of type '{1}' to a collection of type '{0}'. Only items of type '{2}' are allowed. + Instanci typu {1} nelze přidat ke kolekci typu {0}. Jsou povoleny pouze položky typu {2}. Cannot pass multidimensional array to the CopyTo method on a collection. - Cannot pass multidimensional array to the CopyTo method on a collection. + Vícerozměrné pole nelze předat metodě CopyTo do kolekce. '{0}' parameter value is equal to or greater than the length of the '{1}' parameter value. - '{0}' parameter value is equal to or greater than the length of the '{1}' parameter value. + Hodnota parametru {0} je větší nebo rovna délce hodnoty parametru {1}. The number of elements in this collection is greater than the available space from '{0}' to the end of destination '{1}'. - The number of elements in this collection is greater than the available space from '{0}' to the end of destination '{1}'. + Počet elementů v této kolekci je větší než dostupný prostor od {0} do konce cílového umístění {1}. @@ -399,12 +399,12 @@ '{0}' enumeration value is not valid. - '{0}' enumeration value is not valid. + Hodnota výčtu {0} není platná. No current object to return. - No current object to return. + Neexistuje objekt, který by mohl být vrácen. @@ -454,12 +454,12 @@ Input file or data stream does not conform to the expected file format specification. - Input file or data stream does not conform to the expected file format specification. + Vstupní soubor nebo datový proud neodpovídají očekávané specifikaci formátu souboru. '{0}' file does not conform to the expected file format specification. - '{0}' file does not conform to the expected file format specification. + Soubor {0} neodpovídá očekávané specifikaci formátu souboru. @@ -474,7 +474,7 @@ Specified value of type '{0}' must have IsFrozen set to false to modify. - Specified value of type '{0}' must have IsFrozen set to false to modify. + Zadaná hodnota typu {0} musí mít vlastnost IsFrozen nastavenu na hodnotu false, aby ji bylo možné upravit. @@ -564,12 +564,12 @@ PermissionState value '{0}' is not valid for this Permission. - PermissionState value '{0}' is not valid for this Permission. + Hodnota PermissionState {0} není pro toto oprávnění platná. Permission type is not valid. Expected '{0}'. - Permission type is not valid. Expected '{0}'. + Typ oprávnění je neplatný. Očekávaný typ je {0}. @@ -739,7 +739,7 @@ Missing '{0}' in URI '{1}'. - Missing '{0}' in URI '{1}'. + Chybí {0} v identifikátoru URI {1}. @@ -924,7 +924,7 @@ ['{0}'('{1}')]5D; on '{2}' is not a property declared on this type. - [{0}({1})] v {2} není vlastnost deklarovaná na tomto typu. + ['{0}'('{1}')]5D; v {2} není vlastnost deklarovaná na tomto typu. @@ -989,7 +989,7 @@ Unable to read objects of the type �{0}� because there are no accessible constructors. To allow this type to be used in XAML, add a default constructor, use ConstructorArgumentAttribute, or provide an InstanceDescriptor. - Nelze číst objekty typu {0}, protože neexistují žádné přístupné konstruktory. Pokud chcete povolit použití tohoto typu v jazyce XAML, přidejte výchozí konstruktor, použijte atribut ConstructorArgumentAttribute nebo zadejte objekt InstanceDescriptor. + Nelze číst objekty typu �{0}�, protože neexistují žádné přístupné konstruktory. Chcete-li povolit použití tohoto typu v jazyce XAML, přidejte výchozí konstruktor, použijte atribut ConstructorArgumentAttribute nebo zadejte objekt InstanceDescriptor. @@ -1054,7 +1054,7 @@ Parameter must be greater than or equal to zero. - Parameter must be greater than or equal to zero. + Hodnota tohoto parametru musí být větší nebo rovna nule. @@ -1149,7 +1149,7 @@ Cannot set SandboxExternalContent to true in partial trust. - Cannot set SandboxExternalContent to true in partial trust. + Vlastnost SandboxExternalContent nelze nastavit na hodnotu true v částečném vztahu důvěryhodnosti. @@ -1224,7 +1224,7 @@ Parameter cannot be a zero-length string. - Parameter cannot be a zero-length string. + Parametr nemůže být řetězec o nulové délce. @@ -1249,22 +1249,22 @@ Empty token encountered at position {0} while parsing '{1}'. - Empty token encountered at position {0} while parsing '{1}'. + Při analýze {1} byl zjištěn prázdný token na pozici {0}. Extra data encountered at position {0} while parsing '{1}'. - Extra data encountered at position {0} while parsing '{1}'. + Při analýze {1} byla zjištěna nadbytečná data na pozici {0}. Missing end quote encountered while parsing '{0}'. - Missing end quote encountered while parsing '{0}'. + Při analýze {0} bylo zjištěno, že chybí ukončovací uvozovka. Premature string termination encountered while parsing '{0}'. - Premature string termination encountered while parsing '{0}'. + Při analýze {0} bylo zjištěno předčasné ukončení řetězce. @@ -1309,7 +1309,7 @@ Cannot change property metadata after it has been associated with a property. - Cannot change property metadata after it has been associated with a property. + Metadata vlastnosti nelze změnit, pokud byla spojena s nějakou vlastností. @@ -1349,7 +1349,7 @@ Parameter is unexpected type '{0}'. Expected type is '{1}'. - Parameter is unexpected type '{0}'. Expected type is '{1}'. + Parametr je neočekávaného typu {0}. Byl očekáván typ {1}. @@ -1369,7 +1369,7 @@ ['{0}'('{1}')]5D; on '{2}' is not a known property. - [{0}({1})] v {2} není známá vlastnost. + ['{0}'('{1}')]5D; v {2} není známá vlastnost. @@ -1424,7 +1424,7 @@ Specified index is out of range or child at index is null. Do not call this method if VisualChildrenCount returns zero, indicating that the Visual has no children. - Specified index is out of range or child at index is null. Do not call this method if VisualChildrenCount returns zero, indicating that the Visual has no children. + Zadaný index je mimo rozsah nebo podřízený objekt na indexu má hodnotu null. Nevolejte tuto metodu, vrací-li funkce VisualChildrenCount hodnotu nula, která znamená, že objekt Visual nemá podřízené objekty. diff --git a/src/Microsoft.DotNet.Wpf/src/System.Xaml/Resources/xlf/Strings.de.xlf b/src/Microsoft.DotNet.Wpf/src/System.Xaml/Resources/xlf/Strings.de.xlf index 8c751d58756..160b668838d 100644 --- a/src/Microsoft.DotNet.Wpf/src/System.Xaml/Resources/xlf/Strings.de.xlf +++ b/src/Microsoft.DotNet.Wpf/src/System.Xaml/Resources/xlf/Strings.de.xlf @@ -1,5 +1,5 @@  - + @@ -44,7 +44,7 @@ Resolved KeyTime for key frame at index {1} cannot be greater than resolved KeyTime for key frame at index {4}. KeyFrames[{1}]5D; has specified KeyTime '{2}', which resolves to time {3}; KeyFrames[{4}]5D; has specified KeyTime '{5}', which resolves to time {6}. Some KeyTimes are resolved relative to Begin time of '{0}' and others relative to its Duration, so some sets of KeyTimes are not valid for all Durations. - Der aufgelöste KeyTime-Wert für den Keyframe an Index "{1}" kann nicht größer als der aufgelöste KeyTime-Wert für den Keyframe an Index "{4}" sein. Von "KeyFrames[{1}]" wurde der KeyTime-Wert "{2}" angegeben, der für die Zeit "{3}" aufgelöst wird. Von "KeyFrames[{4}]" wurde der KeyTime-Wert "{5}" angegeben, der für die Zeit "{6}" aufgelöst wird. Einige KeyTimes-Werte werden relativ zur Begin-Zeit von "{0}" und andere relativ zu den Duration-Werten aufgelöst, sodass einige Einstellungen von KeyTimes-Werten nicht für alle Duration-Werte gültig sind. + Der aufgelöste KeyTime-Wert für den Keyframe an Index "{1}" kann nicht größer als der aufgelöste KeyTime-Wert für den Keyframe an Index "{4}" sein. Von "KeyFrames[{1}]5D;" wurde der KeyTime-Wert "{2}" angegeben, der für die Zeit "{3}" aufgelöst wird. Von "KeyFrames[{4}]5D;" wurde der KeyTime-Wert "{5}" angegeben, der für die Zeit "{6}" aufgelöst wird. Einige KeyTimes-Werte werden relativ zur Begin-Zeit von "{0}" und andere relativ zu den Duration-Werten aufgelöst, sodass einige Einstellungen von KeyTimes-Werten nicht für alle Duration-Werte gültig sind. @@ -784,7 +784,7 @@ Name cannot be an empty string. - Der Name darf keine leere Zeichenfolge sein. + Name darf keine leere Zeichenfolge sein. @@ -924,7 +924,7 @@ ['{0}'('{1}')]5D; on '{2}' is not a property declared on this type. - ["{0}"("{1}")] für "{2}" ist keine für den Typ deklarierte Eigenschaft. + ["{0}"("{1}")]5D; für "{2}" ist keine für den Typ deklarierte Eigenschaft. @@ -1369,7 +1369,7 @@ ['{0}'('{1}')]5D; on '{2}' is not a known property. - ["{0}"("{1}")] für "{2}" ist keine bekannte Eigenschaft. + ["{0}"("{1}")]5D; für "{2}" ist keine bekannte Eigenschaft. diff --git a/src/Microsoft.DotNet.Wpf/src/System.Xaml/Resources/xlf/Strings.es.xlf b/src/Microsoft.DotNet.Wpf/src/System.Xaml/Resources/xlf/Strings.es.xlf index 2da69da83f6..c41b538d63a 100644 --- a/src/Microsoft.DotNet.Wpf/src/System.Xaml/Resources/xlf/Strings.es.xlf +++ b/src/Microsoft.DotNet.Wpf/src/System.Xaml/Resources/xlf/Strings.es.xlf @@ -1,5 +1,5 @@  - + @@ -44,7 +44,7 @@ Resolved KeyTime for key frame at index {1} cannot be greater than resolved KeyTime for key frame at index {4}. KeyFrames[{1}]5D; has specified KeyTime '{2}', which resolves to time {3}; KeyFrames[{4}]5D; has specified KeyTime '{5}', which resolves to time {6}. Some KeyTimes are resolved relative to Begin time of '{0}' and others relative to its Duration, so some sets of KeyTimes are not valid for all Durations. - El KeyTime resuelto para el cuadro clave en el índice {1} no puede ser mayor que el KeyTime del cuadro clave del índice {4}. KeyFrames[{1}] ha especificado KeyTime '{2}', que se resuelve en la hora {3}; KeyFrames[{4}] ha especificado KeyTime '{5}', que se resuelve en la hora {6}. Algunos KeyTimes se resuelven con relación a la hora Begin de '{0}' y otros con relación a Duration, por lo que algunos conjuntos de KeyTimes no son válidos para todas las Durations. + El KeyTime resuelto para el fotograma clave en el índice {1} no puede ser mayor que el KeyTime resuelto para el fotograma clave en el índice {4}. KeyFrames[{1}] ha especificado KeyTime "{2}", que se resuelve en la hora {3}; KeyFrames[{4}] ha especificado KeyTime "{5}", que se resuelve en la hora {6}. Algunos KeyTimes se resuelven con relación a la hora de comienzo de "{0}" y otros con relación a su duración, por lo que algunos conjuntos de KeyTimes no son válidos para todas las duraciones. @@ -924,7 +924,7 @@ ['{0}'('{1}')]5D; on '{2}' is not a property declared on this type. - ['{0}'('{1}')] en '{2}' no es una propiedad declarada en este tipo. + ["{0}"("{1}")]5D; en "{2}" no es una propiedad declarada en este tipo. @@ -1369,7 +1369,7 @@ ['{0}'('{1}')]5D; on '{2}' is not a known property. - ['{0}'('{1}')] en '{2}' no es una propiedad conocida. + ["{0}"("{1}")]5D; en "{2}" no es una propiedad conocida. diff --git a/src/Microsoft.DotNet.Wpf/src/System.Xaml/Resources/xlf/Strings.fr.xlf b/src/Microsoft.DotNet.Wpf/src/System.Xaml/Resources/xlf/Strings.fr.xlf index ffd448057b0..59eebb9ceb5 100644 --- a/src/Microsoft.DotNet.Wpf/src/System.Xaml/Resources/xlf/Strings.fr.xlf +++ b/src/Microsoft.DotNet.Wpf/src/System.Xaml/Resources/xlf/Strings.fr.xlf @@ -1,5 +1,5 @@  - + @@ -44,7 +44,7 @@ Resolved KeyTime for key frame at index {1} cannot be greater than resolved KeyTime for key frame at index {4}. KeyFrames[{1}]5D; has specified KeyTime '{2}', which resolves to time {3}; KeyFrames[{4}]5D; has specified KeyTime '{5}', which resolves to time {6}. Some KeyTimes are resolved relative to Begin time of '{0}' and others relative to its Duration, so some sets of KeyTimes are not valid for all Durations. - Le KeyTime résolu pour l'image clé à l'index {1} ne peut pas être supérieur au KeyTime résolu pour l'image clé à l'index {4}. KeyFrames[{1}] possède un KeyTime spécifié '{2}', qui se résout en heure {3} ; KeyFrames[{4}] a spécifié un KeyTime '{5}', qui se résout en heure {6}. Comme certains KeyTimes sont résolus par rapport à l'heure Begin de '{0}' et d'autres par rapport à sa valeur Duration, certains ensembles de KeyTimes ne sont pas valides pour tous les Durations. + Le temps clé résolu pour l'image clé à l'index {1} ne peut pas être supérieur au temps clé résolu pour l'image clé à l'index {4}. KeyFrames[{1}]5D; a un temps clé spécifié '{2}', qui se résout en heure {3} ; KeyFrames[{4}]5D; a spécifié un temps clé '{5}', qui se résout en heure {6}. Comme certains temps clés sont résolus par rapport à l'heure de début de '{0}' et d'autres par rapport à sa durée, certains ensembles de temps clés ne sont pas valides pour toutes les durées. @@ -784,7 +784,7 @@ Name cannot be an empty string. - Name ne peut pas être une chaîne vide. + Le nom ne peut pas être une chaîne vide. @@ -924,7 +924,7 @@ ['{0}'('{1}')]5D; on '{2}' is not a property declared on this type. - ['{0}'('{1}')] sur '{2}' n'est pas une propriété déclarée sur ce type. + ['{0}'('{1}')]5D; sur '{2}' n'est pas une propriété déclarée sur ce type. @@ -1369,7 +1369,7 @@ ['{0}'('{1}')]5D; on '{2}' is not a known property. - ['{0}'('{1}')] sur '{2}' n'est pas une propriété connue. + ['{0}'('{1}')]5D; sur '{2}' n'est pas une propriété connue. diff --git a/src/Microsoft.DotNet.Wpf/src/System.Xaml/Resources/xlf/Strings.it.xlf b/src/Microsoft.DotNet.Wpf/src/System.Xaml/Resources/xlf/Strings.it.xlf index b5f2641e089..d113d5329b2 100644 --- a/src/Microsoft.DotNet.Wpf/src/System.Xaml/Resources/xlf/Strings.it.xlf +++ b/src/Microsoft.DotNet.Wpf/src/System.Xaml/Resources/xlf/Strings.it.xlf @@ -1,5 +1,5 @@  - + @@ -44,7 +44,7 @@ Resolved KeyTime for key frame at index {1} cannot be greater than resolved KeyTime for key frame at index {4}. KeyFrames[{1}]5D; has specified KeyTime '{2}', which resolves to time {3}; KeyFrames[{4}]5D; has specified KeyTime '{5}', which resolves to time {6}. Some KeyTimes are resolved relative to Begin time of '{0}' and others relative to its Duration, so some sets of KeyTimes are not valid for all Durations. - Il valore KeyTime risultante per il fotogramma chiave all'indice {1} non può essere maggiore del KeyTime risultante per il fotogramma chiave all'indice {4}. Per KeyFrames[{1}] è stato specificato un valore KeyTime '{2}', corrispondente all'unità di tempo del fotogramma chiave {3}. Per KeyFrames[{4}] è stato specificato un valore KeyTime '{5}', corrispondente all'unità di tempo del fotogramma chiave {6}. Alcuni valori KeyTime vengono calcolati in base all'ora Begin di '{0}' e altri in base al valore Duration, pertanto alcuni set di KeyTime non sono validi per tutti i valori Duration. + Il valore KeyTime risultante per il fotogramma chiave alla posizione di indice {1} non può essere maggiore del valore di KeyTime risultante per il fotogramma chiave alla posizione di indice {4}. Per KeyFrames[{1}]5D; è stato specificato un valore KeyTime '{2}', corrispondente all'unità di tempo del fotogramma chiave {3}. Per KeyFrames[{4}]5D; è stato specificato un valore KeyTime '{5}', corrispondente all'unità di tempo del fotogramma chiave {6}. Alcuni valori KeyTime vengono calcolati in base all'ora Begin di '{0}' e altri in base al valore Duration, quindi alcuni set di KeyTime non sono validi per tutti i valori Duration. @@ -784,7 +784,7 @@ Name cannot be an empty string. - Name non può essere una stringa vuota. + Il nome non può essere una stringa vuota. @@ -924,7 +924,7 @@ ['{0}'('{1}')]5D; on '{2}' is not a property declared on this type. - ['{0}'('{1}')] su '{2}' non è una proprietà dichiarata sul tipo corrente. + ['{0}'('{1}')]5D; su '{2}' non è una proprietà dichiarata su questo tipo. @@ -1369,7 +1369,7 @@ ['{0}'('{1}')]5D; on '{2}' is not a known property. - ['{0}'('{1}')] su '{2}' non è una proprietà nota. + ['{0}'('{1}')]5D; su '{2}' non è una proprietà nota. diff --git a/src/Microsoft.DotNet.Wpf/src/System.Xaml/Resources/xlf/Strings.ja.xlf b/src/Microsoft.DotNet.Wpf/src/System.Xaml/Resources/xlf/Strings.ja.xlf index d3a5caf5fb0..0d4d60071df 100644 --- a/src/Microsoft.DotNet.Wpf/src/System.Xaml/Resources/xlf/Strings.ja.xlf +++ b/src/Microsoft.DotNet.Wpf/src/System.Xaml/Resources/xlf/Strings.ja.xlf @@ -1,5 +1,5 @@  - + @@ -44,7 +44,7 @@ Resolved KeyTime for key frame at index {1} cannot be greater than resolved KeyTime for key frame at index {4}. KeyFrames[{1}]5D; has specified KeyTime '{2}', which resolves to time {3}; KeyFrames[{4}]5D; has specified KeyTime '{5}', which resolves to time {6}. Some KeyTimes are resolved relative to Begin time of '{0}' and others relative to its Duration, so some sets of KeyTimes are not valid for all Durations. - インデックス {1} のキー フレームの解決された KeyTime 値は、インデックス {4} のキー フレームの解決された KeyTime 値を超えることはできません。KeyFrames[{1}] には KeyTime '{2}' が指定されており、時刻 {3} に解決されます。KeyFrames[{4}] には KeyTime '{5}' が指定されており、時刻 {6} に解決されます。'{0}' の Begin 時刻から相対的に解決されたり、Duration から相対的に解決されたりする KeyTime もあるため、一部の KeyTime がすべての Duration に対して有効でない場合もあります。 + インデックス {1} のキー フレームの解決された KeyTime 値は、インデックス {4} のキー フレームの解決された KeyTime 値を超えることはできません。KeyFrames[{1}]5D; には KeyTime '{2}' が指定されており、時刻 {3} に解決されます。KeyFrames[{4}]5D; には KeyTime '{5}' が指定されており、時刻 {6} に解決されます。'{0}' の Begin 時刻から相対的に解決されたり、Duration から相対的に解決されたりする KeyTime もあるため、一部の KeyTime がすべての Duration に対して有効でない場合もあります。 @@ -204,7 +204,7 @@ Cannot get part or part information from a write-only container. - 書き込み専用コンテナーからパーツまたはパーツの詳細情報を取得することはできません。 + 書き込み専用コンテナーから部品または部品の詳細情報を取得できません。 @@ -284,7 +284,7 @@ Cannot pass multidimensional array to the CopyTo method on a collection. - コレクションの CopyTo メソッドに多次元配列を渡すことはできません。 + コレクション上の CopyTo メソッドに多次元配列を渡すことはできません。 @@ -779,12 +779,12 @@ '{0}' name is not valid for identifier. - '{0}' の名前は識別子として有効ではありません。 + '{0}' 名は、識別子に対して無効です。 Name cannot be an empty string. - 名前を空の文字列にすることはできません。 + 名前は空の文字列にはできません。 @@ -924,7 +924,7 @@ ['{0}'('{1}')]5D; on '{2}' is not a property declared on this type. - '{2}' の ['{0}'('{1}')] は、この型で宣言されたプロパティではありません。 + '{2}' の ['{0}'('{1}')]5D; は、この型で宣言されたプロパティではありません。 @@ -1244,7 +1244,7 @@ (null) - (null) + (なし) @@ -1369,7 +1369,7 @@ ['{0}'('{1}')]5D; on '{2}' is not a known property. - '{2}' の ['{0}'('{1}')] は不明なプロパティです。 + '{2}' の ['{0}'('{1}')]5D; は不明なプロパティです。 @@ -1444,7 +1444,7 @@ Choice cannot follow a Fallback. - Choice を Fallback に続けることはできません。 + Choice を、Fallback に続けることはできません。 @@ -1504,12 +1504,12 @@ Cannot have both a specific and a wildcard Preserve declaration for namespace '{0}'. - 名前空間 '{0}' に、固有およびワイルドカードの Preserve 宣言の両方を指定することはできません。 + 名前空間 '{0}' の固有およびワイルドカードの Preserve 宣言の両方を指定することはできません。 Cannot have both a specific and a wildcard ProcessContent declaration for namespace '{0}'. - 名前空間 '{0}' に、固有およびワイルドカードの ProcessContent 宣言の両方を指定することはできません。 + 名前空間 '{0}' の固有およびワイルドカードの ProcessContent 宣言の両方を指定することはできません。 @@ -1519,7 +1519,7 @@ '{0}' attribute value is not a valid XML name. - '{0}' 属性値は、有効な XML 名ではありません。 + '{0}' 属性値は、無効な XML 名です。 diff --git a/src/Microsoft.DotNet.Wpf/src/System.Xaml/Resources/xlf/Strings.ko.xlf b/src/Microsoft.DotNet.Wpf/src/System.Xaml/Resources/xlf/Strings.ko.xlf index 702df3f4ad0..67716f619f8 100644 --- a/src/Microsoft.DotNet.Wpf/src/System.Xaml/Resources/xlf/Strings.ko.xlf +++ b/src/Microsoft.DotNet.Wpf/src/System.Xaml/Resources/xlf/Strings.ko.xlf @@ -29,37 +29,37 @@ A child of KeyFrameAnimation in XAML must be a KeyFrame of a compatible type. - A child of KeyFrameAnimation in XAML must be a KeyFrame of a compatible type. + XAML에서 KeyFrameAnimation의 자식은 호환되는 형식의 KeyFrame이어야 합니다. '{0}' must have either a TimeSpan for its Duration or a TimeSpan for the KeyTime of its last KeyFrame. This '{0}' has a Duration of '{1}' and a KeyTime of '{2}' for its last KeyFrame, so the KeyTimes cannot be resolved. - '{0}' must have either a TimeSpan for its Duration or a TimeSpan for the KeyTime of its last KeyFrame. This '{0}' has a Duration of '{1}' and a KeyTime of '{2}' for its last KeyFrame, so the KeyTimes cannot be resolved. + '{0}에는 해당 Duration에 대한 TimeSpan 또는 마지막 KeyFrame의 KeyTime에 대한 TimeSpan 중 하나가 있어야 합니다. 이 '{0}'에는 '{1}'의 Duration과 마지막 KeyFrame에 대한 '{2}'의 KeyTime이 있으므로 KeyTime을 확인할 수 없습니다. '{0}' is not a valid '{1}' value for class '{2}'. This value might have been supplied by the base value of the property being animated or the output value of another animation applied to the same property. - '{0}' is not a valid '{1}' value for class '{2}'. This value might have been supplied by the base value of the property being animated or the output value of another animation applied to the same property. + '{0}'은(는) 클래스 '{2}'에 사용할 수 없는 '{1}' 값입니다. 이 값은 애니메이션 효과를 주는 속성의 기준 값 또는 같은 속성에 적용된 다른 애니메이션의 출력 값에 의해 제공되었을 수 있습니다. Resolved KeyTime for key frame at index {1} cannot be greater than resolved KeyTime for key frame at index {4}. KeyFrames[{1}]5D; has specified KeyTime '{2}', which resolves to time {3}; KeyFrames[{4}]5D; has specified KeyTime '{5}', which resolves to time {6}. Some KeyTimes are resolved relative to Begin time of '{0}' and others relative to its Duration, so some sets of KeyTimes are not valid for all Durations. - Resolved KeyTime for key frame at index {1} cannot be greater than resolved KeyTime for key frame at index {4}. KeyFrames[{1}]5D; has specified KeyTime '{2}', which resolves to time {3}; KeyFrames[{4}]5D; has specified KeyTime '{5}', which resolves to time {6}. Some KeyTimes are resolved relative to Begin time of '{0}' and others relative to its Duration, so some sets of KeyTimes are not valid for all Durations. + 인덱스 {1}의 키 프레임에 대해 확인된 KeyTime은 인덱스 {4}의 키 프레임에 대해 확인된 KeyTime보다 클 수 없습니다. KeyFrames[{1}]5D; 에는 지정된 KeyTime '{2}'이(가) 있고, 이것은 시간 {3}을(를) 확인합니다. KeyFrames[{4}]5D;에는 지정된 KeyTime '{5}'이(가) 있으며, 이것은 시간 {6}을(를) 확인합니다. 일부 KeyTimes는 '{0}'의 Begin 시간을 기준으로 확인되고 그 외에는 Duration을 기준으로 확인되므로 일부 KeyTimes의 집합은 모든 Duration에 유효하지 않습니다. '{2}' KeyTime value is not valid for key frame at index {1} of this '{0}' because it is greater than animation's Duration value '{3}'. - '{2}' KeyTime value is not valid for key frame at index {1} of this '{0}' because it is greater than animation's Duration value '{3}'. + '{2}' KeyTime 값은 애니메이션의 Duration 값 '{3}'보다 크기 때문에 이 '{0}'의 인덱스 {1}에서 키 프레임에 사용할 수 없습니다. '{0}' cannot use default {1} value of '{2}'. - '{0}' cannot use default {1} value of '{2}'. + '{0}'에서 '{2}'의 기본 {1} 값을 사용할 수 없습니다. KeyFrameAnimation objects cannot have text objects as children. - KeyFrameAnimation objects cannot have text objects as children. + KeyFrameAnimation 개체는 텍스트 개체를 자식으로 가질 수 없습니다. @@ -74,7 +74,7 @@ Part between semicolon ';' and equals sign '=' is not '{0}' URI '{1}'. - Part between semicolon ';' and equals sign '=' is not '{0}' URI '{1}'. + 세미콜론(';')과 등호('=') 사이의 부분이 '{0}' URI '{1}'이(가) 아닙니다. @@ -164,12 +164,12 @@ Cannot convert string value '{0}' to type '{1}'. - Cannot convert string value '{0}' to type '{1}'. + 문자열 값 '{0}'을(를) '{1}' 형식으로 변환할 수 없습니다. Cannot convert type '{0}' to '{1}'. - Cannot convert type '{0}' to '{1}'. + '{0}' 형식을 '{1}'(으)로 변환할 수 없습니다. @@ -189,7 +189,7 @@ Cannot modify a read-only container. - Cannot modify a read-only container. + 읽기 전용 컨테이너를 수정할 수 없습니다. @@ -204,7 +204,7 @@ Cannot get part or part information from a write-only container. - Cannot get part or part information from a write-only container. + 쓰기 전용 컨테이너에서 파트 또는 파트 정보를 가져올 수 없습니다. @@ -274,27 +274,27 @@ The number of elements in this collection must be less than or equal to '{0}'. - The number of elements in this collection must be less than or equal to '{0}'. + 이 컬렉션의 요소 수는 '{0}'보다 작거나 같아야 합니다. Cannot add instance of type '{1}' to a collection of type '{0}'. Only items of type '{2}' are allowed. - Cannot add instance of type '{1}' to a collection of type '{0}'. Only items of type '{2}' are allowed. + '{0}' 형식의 컬렉션에 '{1}' 형식의 인스턴스를 추가할 수 없습니다. '{2}' 형식의 항목만 추가할 수 있습니다. Cannot pass multidimensional array to the CopyTo method on a collection. - Cannot pass multidimensional array to the CopyTo method on a collection. + 다차원 배열을 컬렉션의 CopyTo 메서드에 전달할 수 없습니다. '{0}' parameter value is equal to or greater than the length of the '{1}' parameter value. - '{0}' parameter value is equal to or greater than the length of the '{1}' parameter value. + '{0}' 매개 변수 값은 '{1}' 매개 변수 값보다 길이가 크거나 같습니다. The number of elements in this collection is greater than the available space from '{0}' to the end of destination '{1}'. - The number of elements in this collection is greater than the available space from '{0}' to the end of destination '{1}'. + 이 컬렉션의 요소 수는 '{0}'부터 대상 '{1}' 끝까지의 사용 가능한 공간보다 큽니다. @@ -399,12 +399,12 @@ '{0}' enumeration value is not valid. - '{0}' enumeration value is not valid. + '{0}' 열거형 값이 잘못되었습니다. No current object to return. - No current object to return. + 반환할 현재 개체가 없습니다. @@ -454,12 +454,12 @@ Input file or data stream does not conform to the expected file format specification. - Input file or data stream does not conform to the expected file format specification. + 입력 파일 또는 데이터 스트림이 필요한 파일 형식 사양에 맞지 않습니다. '{0}' file does not conform to the expected file format specification. - '{0}' file does not conform to the expected file format specification. + '{0}' 파일이 필요한 파일 형식 사양에 맞지 않습니다. @@ -474,7 +474,7 @@ Specified value of type '{0}' must have IsFrozen set to false to modify. - Specified value of type '{0}' must have IsFrozen set to false to modify. + '{0}' 형식의 지정된 값을 수정하려면 IsFrozen을 false로 설정해야 합니다. @@ -564,12 +564,12 @@ PermissionState value '{0}' is not valid for this Permission. - PermissionState value '{0}' is not valid for this Permission. + PermissionState 값 '{0}'은(는) 이 권한에 대해 올바르지 않습니다. Permission type is not valid. Expected '{0}'. - Permission type is not valid. Expected '{0}'. + 사용 권한 형식이 잘못되었습니다. '{0}'이(가) 필요합니다. @@ -739,7 +739,7 @@ Missing '{0}' in URI '{1}'. - Missing '{0}' in URI '{1}'. + URI {1}에 '{0}'이(가) 없습니다. @@ -924,7 +924,7 @@ ['{0}'('{1}')]5D; on '{2}' is not a property declared on this type. - '{2}'의 ['{0}'('{1}')]은(는) 이 형식에서 선언된 속성이 아닙니다. + '{2}'의 ['{0}'('{1}')]5D;은(는) 이 형식에서 선언된 속성이 아닙니다. @@ -989,7 +989,7 @@ Unable to read objects of the type �{0}� because there are no accessible constructors. To allow this type to be used in XAML, add a default constructor, use ConstructorArgumentAttribute, or provide an InstanceDescriptor. - 액세스 가능한 생성자가 없으므로 '{0}' 형식의 개체를 읽을 수 없습니다. 이 형식을 XAML에서 사용하려면 기본 생성자를 추가하거나, ConstructorArgumentAttribute를 사용하거나, InstanceDescriptor를 제공합니다. + 액세스 가능한 생성자가 없기 때문에 {0} 형식의 개체를 읽을 수 없습니다. 이 형식을 XAML에서 사용하려면 기본 생성자를 추가하거나 ConstructorArgumentAttribute를 사용하거나 InstanceDescriptor를 제공하십시오. @@ -1054,7 +1054,7 @@ Parameter must be greater than or equal to zero. - Parameter must be greater than or equal to zero. + 매개 변수는 0보다 크거나 같아야 합니다. @@ -1149,7 +1149,7 @@ Cannot set SandboxExternalContent to true in partial trust. - Cannot set SandboxExternalContent to true in partial trust. + 부분 신뢰에서 SandboxExternalContent를 true로 설정할 수 없습니다. @@ -1224,7 +1224,7 @@ Parameter cannot be a zero-length string. - Parameter cannot be a zero-length string. + 매개 변수 문자열의 길이는 0일 수 없습니다. @@ -1249,22 +1249,22 @@ Empty token encountered at position {0} while parsing '{1}'. - Empty token encountered at position {0} while parsing '{1}'. + '{1}'을(를) 구문 분석하는 동안 {0} 위치에서 비어 있는 토큰이 발견되었습니다. Extra data encountered at position {0} while parsing '{1}'. - Extra data encountered at position {0} while parsing '{1}'. + '{1}'을(를) 구문 분석하는 동안 {0} 위치에서 추가 데이터가 발견되었습니다. Missing end quote encountered while parsing '{0}'. - Missing end quote encountered while parsing '{0}'. + '{0}'을(를) 구문 분석하는 동안 닫는 따옴표가 없음을 발견했습니다. Premature string termination encountered while parsing '{0}'. - Premature string termination encountered while parsing '{0}'. + '{0}'을(를) 구문 분석하는 동안 중간에 중단된 문자열이 발견되었습니다. @@ -1309,7 +1309,7 @@ Cannot change property metadata after it has been associated with a property. - Cannot change property metadata after it has been associated with a property. + 속성과 연결된 후에는 속성 메타데이터를 변경할 수 없습니다. @@ -1349,7 +1349,7 @@ Parameter is unexpected type '{0}'. Expected type is '{1}'. - Parameter is unexpected type '{0}'. Expected type is '{1}'. + 매개 변수가 예기치 못한 '{0}' 형식입니다. 필요한 형식은 '{1}'입니다. @@ -1369,7 +1369,7 @@ ['{0}'('{1}')]5D; on '{2}' is not a known property. - '{2}'의 ['{0}'('{1}')]이(가) 알려진 속성이 아닙니다. + '{2}'의 ['{0}'('{1}')]5D;은(는) 알려진 속성이 아닙니다. @@ -1424,7 +1424,7 @@ Specified index is out of range or child at index is null. Do not call this method if VisualChildrenCount returns zero, indicating that the Visual has no children. - Specified index is out of range or child at index is null. Do not call this method if VisualChildrenCount returns zero, indicating that the Visual has no children. + 지정된 인덱스가 범위를 벗어나거나 인덱스의 자식이 null입니다. VisualChildrenCount가 Visual에 자식이 없음을 나타내는 0을 반환하면 이 메서드를 호출하지 마십시오. diff --git a/src/Microsoft.DotNet.Wpf/src/System.Xaml/Resources/xlf/Strings.pl.xlf b/src/Microsoft.DotNet.Wpf/src/System.Xaml/Resources/xlf/Strings.pl.xlf index 07aed466969..e4d9b7991dd 100644 --- a/src/Microsoft.DotNet.Wpf/src/System.Xaml/Resources/xlf/Strings.pl.xlf +++ b/src/Microsoft.DotNet.Wpf/src/System.Xaml/Resources/xlf/Strings.pl.xlf @@ -1,5 +1,5 @@  - + @@ -44,7 +44,7 @@ Resolved KeyTime for key frame at index {1} cannot be greater than resolved KeyTime for key frame at index {4}. KeyFrames[{1}]5D; has specified KeyTime '{2}', which resolves to time {3}; KeyFrames[{4}]5D; has specified KeyTime '{5}', which resolves to time {6}. Some KeyTimes are resolved relative to Begin time of '{0}' and others relative to its Duration, so some sets of KeyTimes are not valid for all Durations. - Rozpoznana wartość KeyTime dla klatki kluczowej o indeksie {1} nie może być większa niż wartość KeyTime dla klatki o indeksie {4}. Element KeyFrames [{1}] ma określoną wartość KeyTime „{2}”, która jest rozpoznawana jako czas czasu {3}; element KeyFrames[{4}] ma określony parametr KeyTime „{5}”, który jest rozpoznawany jako czas {6}. Niektóre wartości KeyTimes są rozpoznawane w zależności od czasu Begin dla „{0}”, a inne — w zależności od wartości elementu Duration, więc niektóre zbiory wartości KeyTimes nie są prawidłowe dla wszystkich wartości Duration. + Rozpoznana wartość KeyTime dla klatki kluczowej o indeksie {1} nie może być większa niż wartość KeyTime dla klatki o indeksie {4}. Element KeyFrames[{1}]5D; ma określoną wartość KeyTime „{2}”, która jest rozpoznawana jako czas {3}; element KeyFrames[{4}]5D; ma określony parametr KeyTime „{5}”, który jest rozpoznawany jako czas {6}. Niektóre wartości KeyTimes są rozpoznawane w zależności od czasu Begin dla „{0}”, a inne — w zależności od wartości elementu Duration, więc niektóre zbiory wartości KeyTimes nie są prawidłowe dla wszystkich wartości Duration. @@ -924,7 +924,7 @@ ['{0}'('{1}')]5D; on '{2}' is not a property declared on this type. - Element [{0}({1})] w {2} nie jest właściwością zadeklarowaną w tym typie. + Element ['{0}'('{1}')]5D; w „{2}” nie jest właściwością zadeklarowaną w tym typie. @@ -1244,7 +1244,7 @@ (null) - (zerowy) + (null) @@ -1369,7 +1369,7 @@ ['{0}'('{1}')]5D; on '{2}' is not a known property. - Element [{0}({1})] w {2} nie jest żadną znaną właściwością. + Element ['{0}'('{1}')]5D; w „{2}” nie jest znaną właściwością. diff --git a/src/Microsoft.DotNet.Wpf/src/System.Xaml/Resources/xlf/Strings.pt-BR.xlf b/src/Microsoft.DotNet.Wpf/src/System.Xaml/Resources/xlf/Strings.pt-BR.xlf index 8e7e3b988cd..8e778138a7e 100644 --- a/src/Microsoft.DotNet.Wpf/src/System.Xaml/Resources/xlf/Strings.pt-BR.xlf +++ b/src/Microsoft.DotNet.Wpf/src/System.Xaml/Resources/xlf/Strings.pt-BR.xlf @@ -1,5 +1,5 @@  - + @@ -44,12 +44,12 @@ Resolved KeyTime for key frame at index {1} cannot be greater than resolved KeyTime for key frame at index {4}. KeyFrames[{1}]5D; has specified KeyTime '{2}', which resolves to time {3}; KeyFrames[{4}]5D; has specified KeyTime '{5}', which resolves to time {6}. Some KeyTimes are resolved relative to Begin time of '{0}' and others relative to its Duration, so some sets of KeyTimes are not valid for all Durations. - KeyTime resolvido para o quadro principal no índice {1} não pode ser maior que KeyTime resolvido para o quadro principal no índice {4}. KeyFrames[{1}] tem KeyTime '{2}' especificado, que resolve para o tempo {3}; KeyFrames[{4}] tem KeyTime '{5}' especificado, que resolve para o tempo {6}. Alguns KeyTimes são resolvidos em relação ao tempo Begin de '{0}' e outros, em relação a Duration; portanto, alguns conjuntos de KeyTimes não são válidos para todas as Durations. + O KeyTime resolvido para o quadro chave no índice {1} não pode ser maior que o KeyTime resolvido para o quadro chave no índice {4}. O KeyFrames[{1}]5D; tem o KeyTime '{2}' especificado, que é resolvido para o tempo {3}. O KeyFrames[{4}]5D; tem o KeyTime '{5}' especificado, que é resolvido para o tempo {6}. Alguns KeyTimes são resolvidos em relação à Hora de início '{0}' e outros em relação à Duração, portanto, alguns conjuntos de KeyTimes não são válidos para todas as Durações. '{2}' KeyTime value is not valid for key frame at index {1} of this '{0}' because it is greater than animation's Duration value '{3}'. - O valor '{2}' de KeyTime não é válido para o quadro principal no índice {1} de '{0}', pois é maior que o valor '{3}' de Duration da animação. + O valor '{2}' de KeyTime não é válido para o quadro principal no índice {1} de '{0}' porque é maior que o valor '{3}' de Duration da animação. @@ -169,7 +169,7 @@ Cannot convert type '{0}' to '{1}'. - Não é possível converter tipo '{0}' em '{1}'. + Não é possível converter o tipo '{0}' em '{1}'. @@ -589,7 +589,7 @@ '{0}' is not a valid XAML member name. - '{0}' não é um nome de associado XAML válido. + '{0}' não é um nome válido de membro XAML. @@ -924,7 +924,7 @@ ['{0}'('{1}')]5D; on '{2}' is not a property declared on this type. - ['{0}'('{1}')] em '{2}' não é uma propriedade declarada nesse tipo. + ['{0}'('{1}')]5D; em '{2}' não é uma propriedade declarada nesse tipo. @@ -1229,7 +1229,7 @@ The string is null or empty. - A cadeia de caracteres é nula ou está vazia. + A cadeia de caracteres é nula ou vazia. @@ -1369,7 +1369,7 @@ ['{0}'('{1}')]5D; on '{2}' is not a known property. - ['{0}'('{1}')] em '{2}' não é uma propriedade conhecida. + ['{0}'('{1}')]5D; em '{2}' não é uma propriedade conhecida. @@ -1499,7 +1499,7 @@ '{0}' format is not valid. - O parâmetro '{0}' não é válido. + O formato '{0}' não é válido. diff --git a/src/Microsoft.DotNet.Wpf/src/System.Xaml/Resources/xlf/Strings.ru.xlf b/src/Microsoft.DotNet.Wpf/src/System.Xaml/Resources/xlf/Strings.ru.xlf index addc9bde619..684358dc09e 100644 --- a/src/Microsoft.DotNet.Wpf/src/System.Xaml/Resources/xlf/Strings.ru.xlf +++ b/src/Microsoft.DotNet.Wpf/src/System.Xaml/Resources/xlf/Strings.ru.xlf @@ -1,5 +1,5 @@  - + @@ -44,12 +44,12 @@ Resolved KeyTime for key frame at index {1} cannot be greater than resolved KeyTime for key frame at index {4}. KeyFrames[{1}]5D; has specified KeyTime '{2}', which resolves to time {3}; KeyFrames[{4}]5D; has specified KeyTime '{5}', which resolves to time {6}. Some KeyTimes are resolved relative to Begin time of '{0}' and others relative to its Duration, so some sets of KeyTimes are not valid for all Durations. - Разрешенное значение KeyTime для опорного кадра, соответствующего индексу {1}, не может быть больше разрешенного значения KeyTime для опорного кадра, соответствующего индексу {4}. KeyFrames [{1}] имеет указанное значение KeyTime "{2}", которое разрешается во время {3}; KeyFrames [{4}] имеет указанное значение KeyTime "{5}", которое разрешается во время {6}. Некоторые значения KeyTime разрешаются относительно времени Begin "{0}", в то время как другие разрешаются относительно своих значений Duration, поэтому некоторые наборы KeyTimes не являются допустимыми для всех значений Duration. + Разрешенное значение KeyTime для опорного кадра, соответствующего индексу {1}, не может быть больше разрешенного значения KeyTime для опорного кадра, соответствующего индексу {4}. KeyFrames[{1}]5D; имеет указанное значение KeyTime "{2}", которое разрешается во время {3}; KeyFrames[{4}]5D; имеет указанное значение KeyTime "{5}", которое разрешается во время {6}. Некоторые значения KeyTime разрешаются относительно времени Begin "{0}", в то время как другие разрешаются относительно значений Duration, поэтому некоторые наборы KeyTime не являются допустимыми для всех значений Duration. '{2}' KeyTime value is not valid for key frame at index {1} of this '{0}' because it is greater than animation's Duration value '{3}'. - Значение KeyTime "{2}" не является допустимым для опорного кадра, соответствующего индексу {1} для этого "{0}", так как оно больше, чем значение Duration {3} для анимации. + Значение KeyTime "{2}" не является допустимым для опорного кадра, соответствующего индексу {1} для этого "{0}", так как оно больше, чем значение Duration "{3}" для анимации. @@ -589,7 +589,7 @@ '{0}' is not a valid XAML member name. - "{0}" не является допустимым именем члена XAML. + Недопустимое имя элемента XAML "{0}". @@ -634,7 +634,7 @@ '{0}' StaticExtension value cannot be resolved to an enumeration, static field, or static property. - 'Значение StaticExtension "{0}" нельзя определить как перечисление, статическое поле или статическое свойство. + Значение StaticExtension "{0}" нельзя определить как перечисление, статическое поле или статическое свойство. @@ -784,7 +784,7 @@ Name cannot be an empty string. - Значение Name не может быть пустой строкой. + Имя не может быть пустой строкой. @@ -924,7 +924,7 @@ ['{0}'('{1}')]5D; on '{2}' is not a property declared on this type. - ["{0}"("{1}")] в "{2}" не является свойством, объявленным в этом типе. + ["{0}"("{1}")]5D; в "{2}" не является свойством, объявленным в этом типе. @@ -1244,7 +1244,7 @@ (null) - (не определено) + (null) @@ -1369,7 +1369,7 @@ ['{0}'('{1}')]5D; on '{2}' is not a known property. - ["{0}"("{1}")] в "{2}" не является известным свойством. + ["{0}"("{1}")]5D; в "{2}" не является известным свойством. diff --git a/src/Microsoft.DotNet.Wpf/src/System.Xaml/Resources/xlf/Strings.tr.xlf b/src/Microsoft.DotNet.Wpf/src/System.Xaml/Resources/xlf/Strings.tr.xlf index b4811d7da2b..dfb4a4788da 100644 --- a/src/Microsoft.DotNet.Wpf/src/System.Xaml/Resources/xlf/Strings.tr.xlf +++ b/src/Microsoft.DotNet.Wpf/src/System.Xaml/Resources/xlf/Strings.tr.xlf @@ -1,5 +1,5 @@  - + @@ -44,7 +44,7 @@ Resolved KeyTime for key frame at index {1} cannot be greater than resolved KeyTime for key frame at index {4}. KeyFrames[{1}]5D; has specified KeyTime '{2}', which resolves to time {3}; KeyFrames[{4}]5D; has specified KeyTime '{5}', which resolves to time {6}. Some KeyTimes are resolved relative to Begin time of '{0}' and others relative to its Duration, so some sets of KeyTimes are not valid for all Durations. - {1} dizinindeki anahtar çerçevenin çözülen KeyTime'ı {4} dizinindeki anahtar çerçevenin çözülen KeyTime'ından büyük olamaz. KeyFrames'ler[{1}] {3} süresine çözülen KeyTime '{2}' belirtti; KeyFrames'ler[{4}] {6} süresine çözülen KeyTime '{5}' belirtti. Bazı KeyTime'lar '{0}' Begin saatine göre çözüldü ve diğerleri Duration'a göre çözüldü, bu nedenle bazı KeyTime kümeleri tüm Duration'lar için geçerli değil. + {1} dizinindeki anahtar çerçevenin çözülen KeyTime'ı {4} dizinindeki anahtar çerçevenin çözülen KeyTime'ından büyük olamaz. KeyFrames'ler[{1}]5D; {3} süresine çözülen KeyTime '{2}' belirtti; KeyFrames'ler[{4}]5D; {6} süresine çözülen KeyTime '{5}' belirtti. Bazı KeyTime'lar '{0}' Begin saatine göre çözüldü ve diğerleri Duration'a göre çözüldü, bu nedenle bazı KeyTime kümeleri tüm Duration'lar için geçerli değil. @@ -784,7 +784,7 @@ Name cannot be an empty string. - Name boş bir dize olamaz. + Ad boş bir dize olamaz. @@ -924,7 +924,7 @@ ['{0}'('{1}')]5D; on '{2}' is not a property declared on this type. - '{2}' öğesindeki ['{0}'('{1}')], bu türde bildirilen bir özellik değil. + '{2}' üzerinde ['{0}'('{1}')]5D;, bu türde bildirilen bir özellik değil. @@ -1369,7 +1369,7 @@ ['{0}'('{1}')]5D; on '{2}' is not a known property. - '{2}' öğesinde ['{0}'('{1}')] bilinen bir özellik değil. + '{2}' üzerinde ['{0}'('{1}')]5D; bilinen bir özellik değil. diff --git a/src/Microsoft.DotNet.Wpf/src/System.Xaml/Resources/xlf/Strings.zh-Hans.xlf b/src/Microsoft.DotNet.Wpf/src/System.Xaml/Resources/xlf/Strings.zh-Hans.xlf index 4a8e1b1d417..a178b7ce55a 100644 --- a/src/Microsoft.DotNet.Wpf/src/System.Xaml/Resources/xlf/Strings.zh-Hans.xlf +++ b/src/Microsoft.DotNet.Wpf/src/System.Xaml/Resources/xlf/Strings.zh-Hans.xlf @@ -1,6 +1,6 @@  - - + + Enumerating attached properties on object '{0}' threw an exception. @@ -44,7 +44,7 @@ Resolved KeyTime for key frame at index {1} cannot be greater than resolved KeyTime for key frame at index {4}. KeyFrames[{1}]5D; has specified KeyTime '{2}', which resolves to time {3}; KeyFrames[{4}]5D; has specified KeyTime '{5}', which resolves to time {6}. Some KeyTimes are resolved relative to Begin time of '{0}' and others relative to its Duration, so some sets of KeyTimes are not valid for all Durations. - 索引 {1} 处的关键帧的已解析 KeyTime 不能大于索引 {4} 处的关键帧的已解析 KeyTime。KeyFrames[{1}] 具有指定的 KeyTime“{2}”,它解析为时间 {3};KeyFrames[{4}] 具有指定的 KeyTime“{5}”,它解析为时间 {6}。某些 KeyTime 是相对于“{0}”的 Begin 时间进行解析的,而其他的则是相对于其 Duration 进行解析的,因此某些 KeyTime 集并不是对所有 Duration 都有效。 + 索引 {1} 处的关键帧的已解析 KeyTime 不能大于索引 {4} 处的关键帧的已解析 KeyTime。KeyFrames[{1}]5D; 具有指定的 KeyTime“{2}”,它解析为时间 {3};KeyFrames[{4}]5D; 具有指定的 KeyTime“{5}”,它解析为时间 {6}。某些 KeyTime 是相对于“{0}”的 Begin 时间进行解析的,而其他的则是相对于其 Duration 进行解析的,因此某些 KeyTime 集并不是对所有 Duration 都有效。 @@ -589,7 +589,7 @@ '{0}' is not a valid XAML member name. - “{0}”不是有效的 XAML 成员名。 + “{0}”不是有效的 XAML 成员名称。 @@ -784,7 +784,7 @@ Name cannot be an empty string. - Name 不能为空字符串。 + 名称不能为空字符串。 @@ -924,7 +924,7 @@ ['{0}'('{1}')]5D; on '{2}' is not a property declared on this type. - “{2}”上的 ['{0}'('{1}')] 不是在此类型上声明的属性。 + “{2}”上的 ['{0}'('{1}')]5D; 不是在此类型上声明的属性。 @@ -1369,7 +1369,7 @@ ['{0}'('{1}')]5D; on '{2}' is not a known property. - “{2}”上的 ['{0}'('{1}')] 是未知属性。 + “{2}”上的 ['{0}'('{1}')]5D; 是未知属性。 diff --git a/src/Microsoft.DotNet.Wpf/src/System.Xaml/Resources/xlf/Strings.zh-Hant.xlf b/src/Microsoft.DotNet.Wpf/src/System.Xaml/Resources/xlf/Strings.zh-Hant.xlf index 118aa738bf7..718cc7d0703 100644 --- a/src/Microsoft.DotNet.Wpf/src/System.Xaml/Resources/xlf/Strings.zh-Hant.xlf +++ b/src/Microsoft.DotNet.Wpf/src/System.Xaml/Resources/xlf/Strings.zh-Hant.xlf @@ -1,6 +1,6 @@  - - + + Enumerating attached properties on object '{0}' threw an exception. @@ -44,7 +44,7 @@ Resolved KeyTime for key frame at index {1} cannot be greater than resolved KeyTime for key frame at index {4}. KeyFrames[{1}]5D; has specified KeyTime '{2}', which resolves to time {3}; KeyFrames[{4}]5D; has specified KeyTime '{5}', which resolves to time {6}. Some KeyTimes are resolved relative to Begin time of '{0}' and others relative to its Duration, so some sets of KeyTimes are not valid for all Durations. - 在索引 {1} 解析之主要畫面格的 KeyTime 不能大於在索引 {4} 解析之主要畫面格的 KeyTime。KeyFrames[{1}] 具有指定的 KeyTime '{2}',它會解析為時間 {3}; KeyFrames[{4}] 具有指定的 KeyTime '{5}',它會解析為時間 {6}。某些 KeyTimes 會相對解析為 '{0}' 的 Begin 時間,而其他則會相對解析為其 Duration,因此某些 KeyTimes 集合並非對於所有 Duration 都有效。 + 解析出的索引 {1} 主要畫面 KeyTime,不可大於解析出的索引 {4} 主要畫面 KeyTime。KeyFrames[{1}]5D; 指定了 KeyTime '{2}',其會解析為時間 {3}; 而 KeyFrames[{4}]5D; 則指定了 KeyTime '{5}',會解析為時間 {6}。某些 KeyTimes 會解析為相對於 '{0}' 的 Begin 時間,其他則會解析為相對於其 Duration,所以某些 KeyTimes 集合並非對所有 Duration 都有效。 @@ -924,7 +924,7 @@ ['{0}'('{1}')]5D; on '{2}' is not a property declared on this type. - '{2}' 上的 ['{0}'('{1}')] 不是在此型別上宣告的屬性。 + '{2}' 上的 ['{0}'('{1}')]5D; 不是在此類型上宣告的屬性。 @@ -1369,7 +1369,7 @@ ['{0}'('{1}')]5D; on '{2}' is not a known property. - '{2}' 上的 ['{0}'('{1}')] 不是已知的屬性。 + '{2}' 上的 ['{0}'('{1}')]5D; 不是已知的屬性。 diff --git a/src/Microsoft.DotNet.Wpf/src/System.Xaml/System.Xaml.csproj b/src/Microsoft.DotNet.Wpf/src/System.Xaml/System.Xaml.csproj index 891127af0c1..5e58bd4ebb1 100644 --- a/src/Microsoft.DotNet.Wpf/src/System.Xaml/System.Xaml.csproj +++ b/src/Microsoft.DotNet.Wpf/src/System.Xaml/System.Xaml.csproj @@ -4,9 +4,9 @@ System.Xaml netcoreapp3.0 AnyCPU;x64 - $(NoWarn);0618;NU5125;0618 $(DefineConstants);OLDRESOURCES;SYSTEM_XAML + true @@ -51,13 +51,13 @@ Common\WPF\MS\Utility\FrugalList.cs - + - Common\System\SR.cs + Common\System\SR.cs - + @@ -83,32 +83,37 @@ - - - + + + - + + + - + - + + + + diff --git a/src/Microsoft.DotNet.Wpf/src/System.Xaml/System/Windows/Markup/ArrayExtension.cs b/src/Microsoft.DotNet.Wpf/src/System.Xaml/System/Windows/Markup/ArrayExtension.cs index 2a88613bc9e..4d3b554d8d6 100644 --- a/src/Microsoft.DotNet.Wpf/src/System.Xaml/System/Windows/Markup/ArrayExtension.cs +++ b/src/Microsoft.DotNet.Wpf/src/System.Xaml/System/Windows/Markup/ArrayExtension.cs @@ -37,11 +37,7 @@ public ArrayExtension() public ArrayExtension( Type arrayType) { - if (arrayType == null) - { - throw new ArgumentNullException(nameof(arrayType)); - } - _arrayType = arrayType; + _arrayType = arrayType ?? throw new ArgumentNullException(nameof(arrayType)); } /// diff --git a/src/Microsoft.DotNet.Wpf/src/System.Xaml/System/Windows/Markup/StaticExtension.cs b/src/Microsoft.DotNet.Wpf/src/System.Xaml/System/Windows/Markup/StaticExtension.cs index a3740e1ee01..e17d8331dad 100644 --- a/src/Microsoft.DotNet.Wpf/src/System.Xaml/System/Windows/Markup/StaticExtension.cs +++ b/src/Microsoft.DotNet.Wpf/src/System.Xaml/System/Windows/Markup/StaticExtension.cs @@ -32,11 +32,7 @@ public StaticExtension() public StaticExtension( string member) { - if (member == null) - { - throw new ArgumentNullException(nameof(member)); - } - _member = member; + _member = member ?? throw new ArgumentNullException(nameof(member)); } /// @@ -79,7 +75,7 @@ public override object ProvideValue(IServiceProvider serviceProvider) // Pull out the type substring (this will include any XML prefix, e.g. "av:Button") string typeString = _member.Substring(0, dotIndex); - if (typeString == string.Empty) + if (string.IsNullOrEmpty(typeString)) { throw new ArgumentException(SR.Get(SRID.MarkupExtensionBadStatic, _member)); } @@ -104,7 +100,7 @@ public override object ProvideValue(IServiceProvider serviceProvider) // Get the member name substring fieldString = _member.Substring(dotIndex + 1, _member.Length - dotIndex - 1); - if (fieldString == string.Empty) + if (string.IsNullOrEmpty(typeString)) { throw new ArgumentException(SR.Get(SRID.MarkupExtensionBadStatic, _member)); } @@ -177,11 +173,7 @@ public string Member get { return _member; } set { - if (value == null) - { - throw new ArgumentNullException(nameof(value)); - } - _member = value; + _member = value ?? throw new ArgumentNullException(nameof(value)); } } @@ -191,11 +183,7 @@ public Type MemberType get { return _memberType; } set { - if (value == null) - { - throw new ArgumentNullException(nameof(value)); - } - _memberType = value; + _memberType = value ?? throw new ArgumentNullException(nameof(value)); } } diff --git a/src/Microsoft.DotNet.Wpf/src/System.Xaml/System/Windows/Markup/TypeExtension.cs b/src/Microsoft.DotNet.Wpf/src/System.Xaml/System/Windows/Markup/TypeExtension.cs index e379605ac9e..62557526ec8 100644 --- a/src/Microsoft.DotNet.Wpf/src/System.Xaml/System/Windows/Markup/TypeExtension.cs +++ b/src/Microsoft.DotNet.Wpf/src/System.Xaml/System/Windows/Markup/TypeExtension.cs @@ -35,12 +35,7 @@ public TypeExtension() /// public TypeExtension(string typeName) { - if (typeName == null) - { - throw new ArgumentNullException(nameof(typeName)); - } - - _typeName = typeName; + _typeName = typeName ?? throw new ArgumentNullException(nameof(typeName)); } /// @@ -48,12 +43,7 @@ public TypeExtension(string typeName) /// public TypeExtension(Type type) { - if (type == null) - { - throw new ArgumentNullException(nameof(type)); - } - - _type = type; + _type = type ?? throw new ArgumentNullException(nameof(type)); // we would like to set TypeName here, but we can't because we can't resolve its namespace } @@ -118,12 +108,7 @@ public string TypeName get { return _typeName; } set { - if (value == null) - { - throw new ArgumentNullException(nameof(value)); - } - - _typeName = value; + _typeName = value ?? throw new ArgumentNullException(nameof(value)); _type = null; // so that ProvideValue does not use the existing type } } @@ -137,13 +122,8 @@ public Type Type { get { return _type; } set - { - if (value == null) - { - throw new ArgumentNullException(nameof(value)); - } - - _type = value; + { + _type = value ?? throw new ArgumentNullException(nameof(value)); _typeName = null; // so that ProvideValue does not use the existing typeName } } diff --git a/src/Microsoft.DotNet.Wpf/src/System.Xaml/System/Windows/Markup/XamlSetMarkupExtensionEventArgs.cs b/src/Microsoft.DotNet.Wpf/src/System.Xaml/System/Windows/Markup/XamlSetMarkupExtensionEventArgs.cs index 8d79258e396..63b03da5d1c 100644 --- a/src/Microsoft.DotNet.Wpf/src/System.Xaml/System/Windows/Markup/XamlSetMarkupExtensionEventArgs.cs +++ b/src/Microsoft.DotNet.Wpf/src/System.Xaml/System/Windows/Markup/XamlSetMarkupExtensionEventArgs.cs @@ -36,7 +36,7 @@ public override void CallBase() if (baseType != null) { - this.CurrentType = baseType; + CurrentType = baseType; if (baseType.SetMarkupExtensionHandler != null) { baseType.SetMarkupExtensionHandler(TargetObject, this); diff --git a/src/Microsoft.DotNet.Wpf/src/System.Xaml/System/Windows/Markup/XamlSetTypeConverterEventArgs.cs b/src/Microsoft.DotNet.Wpf/src/System.Xaml/System/Windows/Markup/XamlSetTypeConverterEventArgs.cs index 29271308eef..1ba69ae5f68 100644 --- a/src/Microsoft.DotNet.Wpf/src/System.Xaml/System/Windows/Markup/XamlSetTypeConverterEventArgs.cs +++ b/src/Microsoft.DotNet.Wpf/src/System.Xaml/System/Windows/Markup/XamlSetTypeConverterEventArgs.cs @@ -41,7 +41,7 @@ public override void CallBase() if (baseType != null) { - this.CurrentType = baseType; + CurrentType = baseType; if (baseType.SetTypeConverterHandler != null) { baseType.SetTypeConverterHandler(TargetObject, this); diff --git a/src/Microsoft.DotNet.Wpf/src/System.Xaml/System/Windows/NameScope.cs b/src/Microsoft.DotNet.Wpf/src/System.Xaml/System/Windows/NameScope.cs index b4a4db6ec3f..873d65ce5dd 100644 --- a/src/Microsoft.DotNet.Wpf/src/System.Xaml/System/Windows/NameScope.cs +++ b/src/Microsoft.DotNet.Wpf/src/System.Xaml/System/Windows/NameScope.cs @@ -33,7 +33,7 @@ public void RegisterName(string name, object scopedElement) if (scopedElement == null) throw new ArgumentNullException(nameof(scopedElement)); - if (name == string.Empty) + if (name.Length == 0) throw new ArgumentException(SR.Get(SRID.NameScopeNameNotEmptyString)); if (!NameValidationHelper.IsValidIdentifierName(name)) @@ -78,7 +78,7 @@ public void UnregisterName(string name) if (name == null) throw new ArgumentNullException(nameof(name)); - if (name == string.Empty) + if (name.Length == 0) throw new ArgumentException(SR.Get(SRID.NameScopeNameNotEmptyString)); if (_nameMap != null && _nameMap[name] != null) @@ -104,7 +104,7 @@ public void UnregisterName(string name) /// corresponding Context if found, else null public object FindName(string name) { - if (_nameMap == null || name == null || name == string.Empty) + if (_nameMap == null || string.IsNullOrEmpty(name)) return null; return _nameMap[name]; @@ -121,20 +121,20 @@ public object FindName(string name) IEnumerator> GetEnumerator() { - return new Enumerator(this._nameMap); + return new Enumerator(_nameMap); } #region IEnumerable methods IEnumerator IEnumerable.GetEnumerator() { - return this.GetEnumerator(); + return GetEnumerator(); } #endregion #region IEnumerable methods IEnumerator> IEnumerable>.GetEnumerator() { - return this.GetEnumerator(); + return GetEnumerator(); } #endregion @@ -367,7 +367,7 @@ object IEnumerator.Current { get { - return this.Current; + return Current; } } diff --git a/src/Microsoft.DotNet.Wpf/src/System.Xaml/System/Xaml/AttachableMemberIdentifier.cs b/src/Microsoft.DotNet.Wpf/src/System.Xaml/System/Xaml/AttachableMemberIdentifier.cs index 37c085c13ef..369b538b083 100644 --- a/src/Microsoft.DotNet.Wpf/src/System.Xaml/System/Xaml/AttachableMemberIdentifier.cs +++ b/src/Microsoft.DotNet.Wpf/src/System.Xaml/System/Xaml/AttachableMemberIdentifier.cs @@ -27,7 +27,7 @@ public Type DeclaringType { get { - return this.declaringType; + return declaringType; } } @@ -38,9 +38,9 @@ public Type DeclaringType public static bool operator ==(AttachableMemberIdentifier left, AttachableMemberIdentifier right) { - if (ReferenceEquals(left, null)) + if (left is null) { - return ReferenceEquals(right, null); + return right is null; } return left.Equals(right); } @@ -57,24 +57,24 @@ public bool Equals(AttachableMemberIdentifier other) return false; } - return this.declaringType == other.declaringType && this.memberName == other.memberName; + return declaringType == other.declaringType && memberName == other.memberName; } public override int GetHashCode() { - int a = this.declaringType == null ? 0 : this.declaringType.GetHashCode(); - int b = this.memberName == null ? 0 : this.memberName.GetHashCode(); + int a = declaringType == null ? 0 : declaringType.GetHashCode(); + int b = memberName == null ? 0 : memberName.GetHashCode(); return ((a << 5) + a) ^ b; } public override string ToString() { - if (this.declaringType == null) + if (declaringType == null) { - return this.memberName; + return memberName; } - return this.declaringType.ToString() + "." + memberName; + return declaringType.ToString() + "." + memberName; } } } diff --git a/src/Microsoft.DotNet.Wpf/src/System.Xaml/System/Xaml/Context/ObjectWriterContext.cs b/src/Microsoft.DotNet.Wpf/src/System.Xaml/System/Xaml/Context/ObjectWriterContext.cs index 7afebfae2d8..241d0471774 100644 --- a/src/Microsoft.DotNet.Wpf/src/System.Xaml/System/Xaml/Context/ObjectWriterContext.cs +++ b/src/Microsoft.DotNet.Wpf/src/System.Xaml/System/Xaml/Context/ObjectWriterContext.cs @@ -163,8 +163,8 @@ internal Type ServiceProvider_Resolve(string qName) XamlType xamlType = ServiceProvider_ResolveXamlType(qName); if (xamlType == null || xamlType.UnderlyingType == null) { - XamlTypeName name = XamlTypeName.Parse(qName, this._serviceProviderContext); - xamlType = this.GetXamlType(name, true, true); + XamlTypeName name = XamlTypeName.Parse(qName, _serviceProviderContext); + xamlType = GetXamlType(name, true, true); throw new XamlParseException(SR.Get(SRID.TypeNotFound, xamlType.GetQualifiedName())); } return xamlType.UnderlyingType; diff --git a/src/Microsoft.DotNet.Wpf/src/System.Xaml/System/Xaml/Context/ObjectWriterFrame.cs b/src/Microsoft.DotNet.Wpf/src/System.Xaml/System/Xaml/Context/ObjectWriterFrame.cs index 3abbc2918ab..1e29d8841e5 100644 --- a/src/Microsoft.DotNet.Wpf/src/System.Xaml/System/Xaml/Context/ObjectWriterFrame.cs +++ b/src/Microsoft.DotNet.Wpf/src/System.Xaml/System/Xaml/Context/ObjectWriterFrame.cs @@ -70,8 +70,8 @@ public override XamlFrame Clone() public override string ToString() { - string type = (this.XamlType == null) ? string.Empty : this.XamlType.Name; - string prop = (this.Member == null) ? "-" : this.Member.Name; + string type = (XamlType == null) ? string.Empty : XamlType.Name; + string prop = (Member == null) ? "-" : Member.Name; string inst = (Instance == null) ? "-" : ((Instance is string) ? Instance.ToString() : "*"); string coll = (Collection == null) ? "-" : "*"; string res = KS.Fmt("{0}.{1} inst={2} coll={3}", diff --git a/src/Microsoft.DotNet.Wpf/src/System.Xaml/System/Xaml/Context/SavedContext.cs b/src/Microsoft.DotNet.Wpf/src/System.Xaml/System/Xaml/Context/SavedContext.cs index 7e28d3b2fdf..0ddd3730f94 100644 --- a/src/Microsoft.DotNet.Wpf/src/System.Xaml/System/Xaml/Context/SavedContext.cs +++ b/src/Microsoft.DotNet.Wpf/src/System.Xaml/System/Xaml/Context/SavedContext.cs @@ -26,7 +26,7 @@ public XamlSavedContext(SavedContextType savedContextType, ObjectWriterContext o { stack.CurrentFrame.Instance = null; } - this.BaseUri = owContext.BaseUri; + BaseUri = owContext.BaseUri; } public SavedContextType SaveContextType { get { return _savedContextType; } } diff --git a/src/Microsoft.DotNet.Wpf/src/System.Xaml/System/Xaml/Context/ServiceProviderContext.cs b/src/Microsoft.DotNet.Wpf/src/System.Xaml/System/Xaml/Context/ServiceProviderContext.cs index 620812ef20c..40c0ed7cf85 100644 --- a/src/Microsoft.DotNet.Wpf/src/System.Xaml/System/Xaml/Context/ServiceProviderContext.cs +++ b/src/Microsoft.DotNet.Wpf/src/System.Xaml/System/Xaml/Context/ServiceProviderContext.cs @@ -246,7 +246,7 @@ object IProvideValueTarget.TargetObject object IProvideValueTarget.TargetProperty { - get { return ContextServices.GetTargetProperty(this._xamlContext); } + get { return ContextServices.GetTargetProperty(_xamlContext); } } #endregion diff --git a/src/Microsoft.DotNet.Wpf/src/System.Xaml/System/Xaml/Context/XamlContext.cs b/src/Microsoft.DotNet.Wpf/src/System.Xaml/System/Xaml/Context/XamlContext.cs index 55009b1a01c..38fabbf3717 100644 --- a/src/Microsoft.DotNet.Wpf/src/System.Xaml/System/Xaml/Context/XamlContext.cs +++ b/src/Microsoft.DotNet.Wpf/src/System.Xaml/System/Xaml/Context/XamlContext.cs @@ -109,7 +109,7 @@ public XamlMember GetDottedProperty(XamlType tagType, string tagNamespace, XamlP // Non-generic case, just resolve using the namespace and name XamlTypeName ownerTypeName = new XamlTypeName(ns, propName.Owner.Name); - ownerType = this.GetXamlType(ownerTypeName, true); + ownerType = GetXamlType(ownerTypeName, true); bool canAssignTagTypeToOwnerType = tagType.CanAssignTo(ownerType); if (canAssignTagTypeToOwnerType) @@ -118,7 +118,7 @@ public XamlMember GetDottedProperty(XamlType tagType, string tagNamespace, XamlP } else { - property = this.GetXamlAttachableProperty(ownerType, propName.Name); + property = GetXamlAttachableProperty(ownerType, propName.Name); } if (property == null) { @@ -169,14 +169,14 @@ public XamlMember GetNoDotAttributeProperty(XamlType tagType, XamlPropertyName p || (tagNamespace == null && propUsageNamespace != null && tagType.GetXamlNamespaces().Contains(propUsageNamespace))) { XamlType rootTagType = tagIsRoot ? tagType : null; - property = this.GetXamlProperty(tagType, propName.Name, rootTagType); + property = GetXamlProperty(tagType, propName.Name, rootTagType); // Sometimes Attached properties look like normal properties. // [Attribute case] The above lookup fails and fall into here. // if (property == null) { - property = this.GetXamlAttachableProperty(tagType, propName.Name); + property = GetXamlAttachableProperty(tagType, propName.Name); } } // Not Simple, not Attachable, look for Directives. @@ -274,7 +274,7 @@ internal XamlType GetXamlType(XamlTypeName typeName, bool returnUnknownTypesOnFa typeArgs = ArrayHelper.ConvertArrayType( typeName.TypeArguments, GetXamlTypeOrUnknown); } - xamlType = new XamlType(typeName.Namespace, typeName.Name, typeArgs, this.SchemaContext); + xamlType = new XamlType(typeName.Namespace, typeName.Name, typeArgs, SchemaContext); } return xamlType; } @@ -351,14 +351,14 @@ private bool PropertyTypeMatchesGenericTagType(XamlType tagType, string tagNs, s private XamlMember GetInstanceOrAttachableProperty(XamlType tagType, string propName, XamlType rootTagType) { - XamlMember property = this.GetXamlProperty(tagType, propName, rootTagType); + XamlMember property = GetXamlProperty(tagType, propName, rootTagType); if (property == null) { // Sometimes Attached properties look like normal properties. // The above lookup fails and fall into here. // ie: 0 // or: - property = this.GetXamlAttachableProperty(tagType, propName); + property = GetXamlAttachableProperty(tagType, propName); } return property; } diff --git a/src/Microsoft.DotNet.Wpf/src/System.Xaml/System/Xaml/Events/XamlObjectEventArgs.cs b/src/Microsoft.DotNet.Wpf/src/System.Xaml/System/Xaml/Events/XamlObjectEventArgs.cs index 5dab013f9a9..735860f68f0 100644 --- a/src/Microsoft.DotNet.Wpf/src/System.Xaml/System/Xaml/Events/XamlObjectEventArgs.cs +++ b/src/Microsoft.DotNet.Wpf/src/System.Xaml/System/Xaml/Events/XamlObjectEventArgs.cs @@ -8,12 +8,7 @@ public class XamlObjectEventArgs : EventArgs { public XamlObjectEventArgs(object instance) { - if (instance == null) - { - throw new ArgumentNullException(nameof(instance)); - } - - Instance = instance; + Instance = instance ?? throw new ArgumentNullException(nameof(instance)); } internal XamlObjectEventArgs(object instance, Uri sourceBamlUri, int elementLineNumber, int elementLinePosition) : diff --git a/src/Microsoft.DotNet.Wpf/src/System.Xaml/System/Xaml/InfosetObjects/XamlNodes.cs b/src/Microsoft.DotNet.Wpf/src/System.Xaml/System/Xaml/InfosetObjects/XamlNodes.cs index 0040b0e28da..af37ce8043d 100644 --- a/src/Microsoft.DotNet.Wpf/src/System.Xaml/System/Xaml/InfosetObjects/XamlNodes.cs +++ b/src/Microsoft.DotNet.Wpf/src/System.Xaml/System/Xaml/InfosetObjects/XamlNodes.cs @@ -113,7 +113,7 @@ public XamlNode(LineInfo lineInfo) public override string ToString() { - string str = String.Format(TypeConverterHelper.InvariantEnglishUS, "{0}: ", this.NodeType); + string str = String.Format(TypeConverterHelper.InvariantEnglishUS, "{0}: ", NodeType); switch(NodeType) { case XamlNodeType.StartObject: diff --git a/src/Microsoft.DotNet.Wpf/src/System.Xaml/System/Xaml/InfosetObjects/XamlObjectWriter.cs b/src/Microsoft.DotNet.Wpf/src/System.Xaml/System/Xaml/InfosetObjects/XamlObjectWriter.cs index 578597be3c9..fbc37096a45 100644 --- a/src/Microsoft.DotNet.Wpf/src/System.Xaml/System/Xaml/InfosetObjects/XamlObjectWriter.cs +++ b/src/Microsoft.DotNet.Wpf/src/System.Xaml/System/Xaml/InfosetObjects/XamlObjectWriter.cs @@ -312,11 +312,7 @@ public override void WriteGetObject() _context.CurrentType = parentProperty.Type; object inst = Runtime.GetValue(parentInstance, parentProperty); - if (inst == null) - { - throw _context.WithLineInfo(new XamlObjectWriterException(SR.Get(SRID.GetObjectNull, parentInstance.GetType(), parentProperty.Name))); - } - _context.CurrentInstance = inst; + _context.CurrentInstance = inst ?? throw _context.WithLineInfo(new XamlObjectWriterException(SR.Get(SRID.GetObjectNull, parentInstance.GetType(), parentProperty.Name))); if (parentProperty.Type.IsCollection || parentProperty.Type.IsDictionary) { _context.CurrentCollection = inst; diff --git a/src/Microsoft.DotNet.Wpf/src/System.Xaml/System/Xaml/MS/Impl/KnownStrings.cs b/src/Microsoft.DotNet.Wpf/src/System.Xaml/System/Xaml/MS/Impl/KnownStrings.cs index 218b773367c..d4057582c21 100644 --- a/src/Microsoft.DotNet.Wpf/src/System.Xaml/System/Xaml/MS/Impl/KnownStrings.cs +++ b/src/Microsoft.DotNet.Wpf/src/System.Xaml/System/Xaml/MS/Impl/KnownStrings.cs @@ -34,10 +34,10 @@ internal static class KnownStrings public const string ReferenceName = "__ReferenceID"; public static readonly char[] WhitespaceChars = new char[] { ' ', '\t', '\n', '\r', '\f' }; - public static readonly char SpaceChar = ' '; - public static readonly char TabChar = '\t'; - public static readonly char NewlineChar = '\n'; - public static readonly char ReturnChar = '\r'; + public const char SpaceChar = ' '; + public const char TabChar = '\t'; + public const char NewlineChar = '\n'; + public const char ReturnChar = '\r'; public const string CreateDelegateHelper = "_CreateDelegate"; public const string CreateDelegate = "CreateDelegate"; diff --git a/src/Microsoft.DotNet.Wpf/src/System.Xaml/System/Xaml/NameScopeDictionary.cs b/src/Microsoft.DotNet.Wpf/src/System.Xaml/System/Xaml/NameScopeDictionary.cs index 4a088e2f7ac..66303ccb49a 100644 --- a/src/Microsoft.DotNet.Wpf/src/System.Xaml/System/Xaml/NameScopeDictionary.cs +++ b/src/Microsoft.DotNet.Wpf/src/System.Xaml/System/Xaml/NameScopeDictionary.cs @@ -29,13 +29,8 @@ public NameScopeDictionary() public NameScopeDictionary(INameScope underlyingNameScope) { - if (underlyingNameScope == null) - { - throw new ArgumentNullException(nameof(underlyingNameScope)); - } - _names = new FrugalObjectList(); - _underlyingNameScope = underlyingNameScope; + _underlyingNameScope = underlyingNameScope ?? throw new ArgumentNullException(nameof(underlyingNameScope)); } public void RegisterName(string name, object scopedElement) @@ -46,7 +41,7 @@ public void RegisterName(string name, object scopedElement) if (scopedElement == null) throw new ArgumentNullException(nameof(scopedElement)); - if (name == string.Empty) + if (name.Length == 0) throw new ArgumentException(SR.Get(SRID.NameScopeNameNotEmptyString)); if (!NameValidationHelper.IsValidIdentifierName(name)) @@ -87,7 +82,7 @@ public void UnregisterName(string name) if (name == null) throw new ArgumentNullException(nameof(name)); - if (name == string.Empty) + if (name.Length == 0) throw new ArgumentException(SR.Get(SRID.NameScopeNameNotEmptyString)); if (_underlyingNameScope != null) @@ -113,7 +108,7 @@ public object FindName(string name) if (name == null) throw new ArgumentNullException(nameof(name)); - if (name == string.Empty) + if (name.Length == 0) throw new ArgumentException(SR.Get(SRID.NameScopeNameNotEmptyString)); if (_underlyingNameScope != null) @@ -212,7 +207,7 @@ object IEnumerator.Current { get { - return this.Current; + return Current; } } @@ -237,7 +232,7 @@ IEnumerator> GetEnumerator() #region IEnumerable methods IEnumerator IEnumerable.GetEnumerator() { - return this.GetEnumerator(); + return GetEnumerator(); } #endregion diff --git a/src/Microsoft.DotNet.Wpf/src/System.Xaml/System/Xaml/Parser/GenericTypeNameParser.cs b/src/Microsoft.DotNet.Wpf/src/System.Xaml/System/Xaml/Parser/GenericTypeNameParser.cs index bc3f860e4d8..53faf6526ea 100644 --- a/src/Microsoft.DotNet.Wpf/src/System.Xaml/System/Xaml/Parser/GenericTypeNameParser.cs +++ b/src/Microsoft.DotNet.Wpf/src/System.Xaml/System/Xaml/Parser/GenericTypeNameParser.cs @@ -263,11 +263,7 @@ void Callout_FoundName(string prefix, string name) TypeNameFrame frame = new TypeNameFrame(); frame.Name = name; string ns = _prefixResolver(prefix); - if (ns == null) - { - throw new TypeNameParserException(SR.Get(SRID.PrefixNotFound, prefix)); - } - frame.Namespace = ns; + frame.Namespace = ns ?? throw new TypeNameParserException(SR.Get(SRID.PrefixNotFound, prefix)); _stack.Push(frame); } diff --git a/src/Microsoft.DotNet.Wpf/src/System.Xaml/System/Xaml/Parser/MeScanner.cs b/src/Microsoft.DotNet.Wpf/src/System.Xaml/System/Xaml/Parser/MeScanner.cs index 8b042000adc..69fad866494 100644 --- a/src/Microsoft.DotNet.Wpf/src/System.Xaml/System/Xaml/Parser/MeScanner.cs +++ b/src/Microsoft.DotNet.Wpf/src/System.Xaml/System/Xaml/Parser/MeScanner.cs @@ -111,13 +111,6 @@ public XamlMember TokenProperty get { return _tokenProperty; } } - // FxCop says this is never called - // (but _tokenNamespace is used internally in the Scanner) - //public XamlNamespace TokenNamespace - //{ - // get { return _tokenNamespace; } - //} - public string TokenText { get { return _tokenText; } @@ -334,12 +327,9 @@ private void ResolvePropertyName(string longName) // Regular property p else { - // _tokenNamespace is always null here - string ns = _context.GetAttributeNamespace(propName, _tokenNamespace); + string ns = _context.GetAttributeNamespace(propName, Namespace); declaringType = _context.CurrentType; - - // _tokenNamespace is always null here - prop = _context.GetNoDotAttributeProperty(declaringType, propName, _tokenNamespace, ns, false /*tagIsRoot*/); + prop = _context.GetNoDotAttributeProperty(declaringType, propName, Namespace, ns, false /*tagIsRoot*/); } _tokenProperty = prop; } diff --git a/src/Microsoft.DotNet.Wpf/src/System.Xaml/System/Xaml/Parser/NodeStreamSorter.cs b/src/Microsoft.DotNet.Wpf/src/System.Xaml/System/Xaml/Parser/NodeStreamSorter.cs index b4374027c6e..92971ec55d2 100644 --- a/src/Microsoft.DotNet.Wpf/src/System.Xaml/System/Xaml/Parser/NodeStreamSorter.cs +++ b/src/Microsoft.DotNet.Wpf/src/System.Xaml/System/Xaml/Parser/NodeStreamSorter.cs @@ -84,7 +84,7 @@ struct ReorderInfo #if DEBUG public override string ToString() { - return String.Format(TypeConverterHelper.InvariantEnglishUS, "Depth[{0}] {1}", this.Depth, this.XamlNodeType); + return String.Format(TypeConverterHelper.InvariantEnglishUS, "Depth[{0}] {1}", Depth, XamlNodeType); } #endif } diff --git a/src/Microsoft.DotNet.Wpf/src/System.Xaml/System/Xaml/Parser/XamlPropertyName.cs b/src/Microsoft.DotNet.Wpf/src/System.Xaml/System/Xaml/Parser/XamlPropertyName.cs index 96b234248c0..0d13da13780 100644 --- a/src/Microsoft.DotNet.Wpf/src/System.Xaml/System/Xaml/Parser/XamlPropertyName.cs +++ b/src/Microsoft.DotNet.Wpf/src/System.Xaml/System/Xaml/Parser/XamlPropertyName.cs @@ -13,11 +13,11 @@ private XamlPropertyName(XamlName owner, string prefix, string name) { if (owner != null) { - this.Owner = owner; - this._prefix = owner.Prefix ?? string.Empty; + Owner = owner; + _prefix = owner.Prefix ?? string.Empty; } else - this._prefix = prefix ?? string.Empty; + _prefix = prefix ?? string.Empty; } public readonly XamlName Owner; diff --git a/src/Microsoft.DotNet.Wpf/src/System.Xaml/System/Xaml/Parser/XamlPullParser.cs b/src/Microsoft.DotNet.Wpf/src/System.Xaml/System/Xaml/Parser/XamlPullParser.cs index ed34b115b5b..187c7de0ce3 100644 --- a/src/Microsoft.DotNet.Wpf/src/System.Xaml/System/Xaml/Parser/XamlPullParser.cs +++ b/src/Microsoft.DotNet.Wpf/src/System.Xaml/System/Xaml/Parser/XamlPullParser.cs @@ -562,7 +562,7 @@ public IEnumerable P_ElementContent() yield return Logic_LineInfo(); } - if (trimmed == string.Empty) + if (string.IsNullOrEmpty(trimmed)) { break; } @@ -642,7 +642,7 @@ public IEnumerable P_PropertyContent() { yield return Logic_LineInfo(); } - if (trimmed == string.Empty) + if (string.IsNullOrEmpty(trimmed)) { break; } @@ -1186,13 +1186,11 @@ class XamlUnexpectedParseException : XamlParseException { public XamlUnexpectedParseException() { } - // FxCop says this is never called - //public XamlUnexpectedParseException(string message) - // : base(message) { } + public XamlUnexpectedParseException(string message) + : base(message) { } - // FxCop says this is never called - //public XamlUnexpectedParseException(string message, Exception innerException) - // : base(message, innerException) { } + public XamlUnexpectedParseException(string message, Exception innerException) + : base(message, innerException) { } public XamlUnexpectedParseException(XamlScanner xamlScanner, ScannerNodeType nodetype, string parseRule) : base(xamlScanner, SR.Get(SRID.UnexpectedNodeType, nodetype.ToString(), parseRule)) { } diff --git a/src/Microsoft.DotNet.Wpf/src/System.Xaml/System/Xaml/Permissions/XamlAccessLevel.cs b/src/Microsoft.DotNet.Wpf/src/System.Xaml/System/Xaml/Permissions/XamlAccessLevel.cs index ffb86808705..32f5f5d5943 100644 --- a/src/Microsoft.DotNet.Wpf/src/System.Xaml/System/Xaml/Permissions/XamlAccessLevel.cs +++ b/src/Microsoft.DotNet.Wpf/src/System.Xaml/System/Xaml/Permissions/XamlAccessLevel.cs @@ -116,8 +116,8 @@ internal static XamlAccessLevel FromXml(SecurityElement elem) internal bool Includes(XamlAccessLevel other) { - return other.AssemblyNameString == this.AssemblyNameString && - (other.PrivateAccessToTypeName == null || other.PrivateAccessToTypeName == this.PrivateAccessToTypeName); + return other.AssemblyNameString == AssemblyNameString && + (other.PrivateAccessToTypeName == null || other.PrivateAccessToTypeName == PrivateAccessToTypeName); } internal SecurityElement ToXml() diff --git a/src/Microsoft.DotNet.Wpf/src/System.Xaml/System/Xaml/Permissions/XamlLoadPermission.cs b/src/Microsoft.DotNet.Wpf/src/System.Xaml/System/Xaml/Permissions/XamlLoadPermission.cs index acf1ea7bf6e..6c239c6c12a 100644 --- a/src/Microsoft.DotNet.Wpf/src/System.Xaml/System/Xaml/Permissions/XamlLoadPermission.cs +++ b/src/Microsoft.DotNet.Wpf/src/System.Xaml/System/Xaml/Permissions/XamlLoadPermission.cs @@ -98,7 +98,7 @@ public override int GetHashCode() private XamlLoadPermission(XamlLoadPermission other) { _isUnrestricted = other._isUnrestricted; - this.AllowedAccess = other.AllowedAccess; + AllowedAccess = other.AllowedAccess; } private void Init(bool isUnrestricted, IList allowedAccess) @@ -108,7 +108,7 @@ private void Init(bool isUnrestricted, IList allowedAccess) { if (s_emptyAccessLevel == null) { - s_emptyAccessLevel = new ReadOnlyCollection(new XamlAccessLevel[0]); + s_emptyAccessLevel = new ReadOnlyCollection(Array.Empty()); } AllowedAccess = s_emptyAccessLevel; } @@ -198,9 +198,9 @@ public override IPermission Intersect(IPermission target) XamlLoadPermission other = CastPermission(target, "target"); if (other.IsUnrestricted()) { - return this.Copy(); + return Copy(); } - if (this.IsUnrestricted()) + if (IsUnrestricted()) { return other.Copy(); } @@ -208,7 +208,7 @@ public override IPermission Intersect(IPermission target) List result = new List(); // We could optimize this with a hash, but we don't expect people to be creating // large unions of access levels. - foreach (XamlAccessLevel accessLevel in this.AllowedAccess) + foreach (XamlAccessLevel accessLevel in AllowedAccess) { // First try the full access level if (other.Includes(accessLevel)) @@ -240,12 +240,12 @@ public override bool IsSubsetOf(IPermission target) { return true; } - if (this.IsUnrestricted()) + if (IsUnrestricted()) { return false; } - foreach (XamlAccessLevel accessLevel in this.AllowedAccess) + foreach (XamlAccessLevel accessLevel in AllowedAccess) { if (!other.Includes(accessLevel)) { @@ -258,7 +258,7 @@ public override bool IsSubsetOf(IPermission target) public override SecurityElement ToXml() { SecurityElement securityElement = new SecurityElement(XmlConstants.IPermission); - securityElement.AddAttribute(XmlConstants.Class, this.GetType().AssemblyQualifiedName); + securityElement.AddAttribute(XmlConstants.Class, GetType().AssemblyQualifiedName); securityElement.AddAttribute(XmlConstants.Version, XmlConstants.VersionNumber); if (IsUnrestricted()) @@ -280,7 +280,7 @@ public override IPermission Union(IPermission other) { if (other == null) { - return this.Copy(); + return Copy(); } XamlLoadPermission xamlOther = CastPermission(other, "other"); if (IsUnrestricted() || xamlOther.IsUnrestricted()) @@ -288,10 +288,10 @@ public override IPermission Union(IPermission other) return new XamlLoadPermission(PermissionState.Unrestricted); } - List mergedAccess = new List(this.AllowedAccess); + List mergedAccess = new List(AllowedAccess); foreach (XamlAccessLevel accessLevel in xamlOther.AllowedAccess) { - if (!this.Includes(accessLevel)) + if (!Includes(accessLevel)) { mergedAccess.Add(accessLevel); if (accessLevel.PrivateAccessToTypeName != null) diff --git a/src/Microsoft.DotNet.Wpf/src/System.Xaml/System/Xaml/Primitives/ReaderBaseDelegate.cs b/src/Microsoft.DotNet.Wpf/src/System.Xaml/System/Xaml/Primitives/ReaderBaseDelegate.cs index dec50ab3615..3f2f964e1b9 100644 --- a/src/Microsoft.DotNet.Wpf/src/System.Xaml/System/Xaml/Primitives/ReaderBaseDelegate.cs +++ b/src/Microsoft.DotNet.Wpf/src/System.Xaml/System/Xaml/Primitives/ReaderBaseDelegate.cs @@ -19,11 +19,7 @@ abstract internal class ReaderBaseDelegate: XamlReader, IXamlLineInfo protected ReaderBaseDelegate(XamlSchemaContext schemaContext) { - if (schemaContext == null) - { - throw new ArgumentNullException(nameof(schemaContext)); - } - _schemaContext = schemaContext; + _schemaContext = schemaContext ?? throw new ArgumentNullException(nameof(schemaContext)); } public override XamlNodeType NodeType diff --git a/src/Microsoft.DotNet.Wpf/src/System.Xaml/System/Xaml/RefOnly/LooseTypeExtensions.cs b/src/Microsoft.DotNet.Wpf/src/System.Xaml/System/Xaml/RefOnly/LooseTypeExtensions.cs index 53b2f5c4960..aa8384ba400 100644 --- a/src/Microsoft.DotNet.Wpf/src/System.Xaml/System/Xaml/RefOnly/LooseTypeExtensions.cs +++ b/src/Microsoft.DotNet.Wpf/src/System.Xaml/System/Xaml/RefOnly/LooseTypeExtensions.cs @@ -16,12 +16,12 @@ static class LooseTypeExtensions // names, namespaces, assembly short names, culture infos, and public keys match. internal static bool AssemblyQualifiedNameEquals(Type t1, Type t2) { - if (ReferenceEquals(t1, null)) + if (t1 is null) { - return ReferenceEquals(t2, null); + return t2 is null; } - if (ReferenceEquals(t2, null)) + if (t2 is null) { return false; } diff --git a/src/Microsoft.DotNet.Wpf/src/System.Xaml/System/Xaml/Replacements/Reference.cs b/src/Microsoft.DotNet.Wpf/src/System.Xaml/System/Xaml/Replacements/Reference.cs index 8cef076234b..f1e5fd39fdd 100644 --- a/src/Microsoft.DotNet.Wpf/src/System.Xaml/System/Xaml/Replacements/Reference.cs +++ b/src/Microsoft.DotNet.Wpf/src/System.Xaml/System/Xaml/Replacements/Reference.cs @@ -25,7 +25,7 @@ public override object ProvideValue(IServiceProvider serviceProvider) { if (serviceProvider == null) { - throw new ArgumentNullException("serviceProvider"); + throw new ArgumentNullException(nameof(serviceProvider)); } IXamlNameResolver nameResolver = serviceProvider.GetService(typeof(IXamlNameResolver)) as IXamlNameResolver; if (nameResolver == null) diff --git a/src/Microsoft.DotNet.Wpf/src/System.Xaml/System/Xaml/Runtime/ClrObjectRuntime.cs b/src/Microsoft.DotNet.Wpf/src/System.Xaml/System/Xaml/Runtime/ClrObjectRuntime.cs index db2e64aad45..13faba3a848 100644 --- a/src/Microsoft.DotNet.Wpf/src/System.Xaml/System/Xaml/Runtime/ClrObjectRuntime.cs +++ b/src/Microsoft.DotNet.Wpf/src/System.Xaml/System/Xaml/Runtime/ClrObjectRuntime.cs @@ -234,7 +234,7 @@ public override object GetValue(object obj, XamlMember property, bool failIfWrit { if(property.IsDirective) { - value = this.CreateInstance(property.Type, null); + value = CreateInstance(property.Type, null); } else if(!failIfWriteOnly) { diff --git a/src/Microsoft.DotNet.Wpf/src/System.Xaml/System/Xaml/Schema/BuiltInValueConverter.cs b/src/Microsoft.DotNet.Wpf/src/System.Xaml/System/Xaml/Schema/BuiltInValueConverter.cs index 27484804eee..57c205a9804 100644 --- a/src/Microsoft.DotNet.Wpf/src/System.Xaml/System/Xaml/Schema/BuiltInValueConverter.cs +++ b/src/Microsoft.DotNet.Wpf/src/System.Xaml/System/Xaml/Schema/BuiltInValueConverter.cs @@ -65,7 +65,7 @@ internal static XamlValueConverter Int32 { get { - if (ReferenceEquals(s_Int32, null)) + if (s_Int32 is null) { s_Int32 = new BuiltInValueConverter(typeof(Int32Converter), () => new Int32Converter()); } @@ -77,7 +77,7 @@ internal static XamlValueConverter String { get { - if (ReferenceEquals(s_String, null)) + if (s_String is null) { s_String = new BuiltInValueConverter(typeof(StringConverter), () => new StringConverter()); } @@ -89,7 +89,7 @@ internal static XamlValueConverter Object { get { - if (ReferenceEquals(s_Object, null)) + if (s_Object is null) { s_Object = new XamlValueConverter(null, XamlLanguage.Object); } @@ -101,7 +101,7 @@ internal static XamlValueConverter Event { get { - if (ReferenceEquals(s_Delegate, null)) + if (s_Delegate is null) { s_Delegate = new BuiltInValueConverter(typeof(EventConverter), () => new EventConverter()); } @@ -125,7 +125,7 @@ internal static XamlValueConverter GetTypeConverter(Type targetTy } if (typeof(Int16) == targetType) { - if (ReferenceEquals(s_Int16, null)) + if (s_Int16 is null) { s_Int16 = new BuiltInValueConverter(typeof(Int16Converter), () => new Int16Converter()); } @@ -133,7 +133,7 @@ internal static XamlValueConverter GetTypeConverter(Type targetTy } if (typeof(Int64) == targetType) { - if (ReferenceEquals(s_Int64, null)) + if (s_Int64 is null) { s_Int64 = new BuiltInValueConverter(typeof(Int64Converter), () => new Int64Converter()); } @@ -141,7 +141,7 @@ internal static XamlValueConverter GetTypeConverter(Type targetTy } if (typeof(UInt32) == targetType) { - if (ReferenceEquals(s_UInt32, null)) + if (s_UInt32 is null) { s_UInt32 = new BuiltInValueConverter(typeof(UInt32Converter), () => new UInt32Converter()); } @@ -149,7 +149,7 @@ internal static XamlValueConverter GetTypeConverter(Type targetTy } if (typeof(UInt16) == targetType) { - if (ReferenceEquals(s_UInt16, null)) + if (s_UInt16 is null) { s_UInt16 = new BuiltInValueConverter(typeof(UInt16Converter), () => new UInt16Converter()); } @@ -157,7 +157,7 @@ internal static XamlValueConverter GetTypeConverter(Type targetTy } if (typeof(UInt64) == targetType) { - if (ReferenceEquals(s_UInt64, null)) + if (s_UInt64 is null) { s_UInt64 = new BuiltInValueConverter(typeof(UInt64Converter), () => new UInt64Converter()); } @@ -165,7 +165,7 @@ internal static XamlValueConverter GetTypeConverter(Type targetTy } if (typeof(Boolean) == targetType) { - if (ReferenceEquals(s_Boolean, null)) + if (s_Boolean is null) { s_Boolean = new BuiltInValueConverter(typeof(BooleanConverter), () => new BooleanConverter()); } @@ -173,7 +173,7 @@ internal static XamlValueConverter GetTypeConverter(Type targetTy } if (typeof(Double) == targetType) { - if (ReferenceEquals(s_Double, null)) + if (s_Double is null) { s_Double = new BuiltInValueConverter(typeof(DoubleConverter), () => new DoubleConverter()); } @@ -181,7 +181,7 @@ internal static XamlValueConverter GetTypeConverter(Type targetTy } if (typeof(Single) == targetType) { - if (ReferenceEquals(s_Single, null)) + if (s_Single is null) { s_Single = new BuiltInValueConverter(typeof(SingleConverter), () => new SingleConverter()); } @@ -189,7 +189,7 @@ internal static XamlValueConverter GetTypeConverter(Type targetTy } if (typeof(Byte) == targetType) { - if (ReferenceEquals(s_Byte, null)) + if (s_Byte is null) { s_Byte = new BuiltInValueConverter(typeof(ByteConverter), () => new ByteConverter()); } @@ -197,7 +197,7 @@ internal static XamlValueConverter GetTypeConverter(Type targetTy } if (typeof(SByte) == targetType) { - if (ReferenceEquals(s_SByte, null)) + if (s_SByte is null) { s_SByte = new BuiltInValueConverter(typeof(SByteConverter), () => new SByteConverter()); } @@ -205,7 +205,7 @@ internal static XamlValueConverter GetTypeConverter(Type targetTy } if (typeof(Char) == targetType) { - if (ReferenceEquals(s_Char, null)) + if (s_Char is null) { s_Char = new BuiltInValueConverter(typeof(CharConverter), () => new CharConverter()); } @@ -213,7 +213,7 @@ internal static XamlValueConverter GetTypeConverter(Type targetTy } if (typeof(Decimal) == targetType) { - if (ReferenceEquals(s_Decimal, null)) + if (s_Decimal is null) { s_Decimal = new BuiltInValueConverter(typeof(DecimalConverter), () => new DecimalConverter()); } @@ -221,7 +221,7 @@ internal static XamlValueConverter GetTypeConverter(Type targetTy } if (typeof(TimeSpan) == targetType) { - if (ReferenceEquals(s_TimeSpan, null)) + if (s_TimeSpan is null) { s_TimeSpan = new BuiltInValueConverter(typeof(TimeSpanConverter), () => new TimeSpanConverter()); } @@ -229,7 +229,7 @@ internal static XamlValueConverter GetTypeConverter(Type targetTy } if (typeof(Guid) == targetType) { - if (ReferenceEquals(s_Guid, null)) + if (s_Guid is null) { s_Guid = new BuiltInValueConverter(typeof(GuidConverter), () => new GuidConverter()); } @@ -237,7 +237,7 @@ internal static XamlValueConverter GetTypeConverter(Type targetTy } if (typeof(Type).IsAssignableFrom(targetType)) { - if (ReferenceEquals(s_Type, null)) + if (s_Type is null) { s_Type = new BuiltInValueConverter(typeof(TypeTypeConverter), () => new TypeTypeConverter()); } @@ -245,7 +245,7 @@ internal static XamlValueConverter GetTypeConverter(Type targetTy } if (typeof(Type[]).IsAssignableFrom(targetType)) { - if (ReferenceEquals(s_TypeList, null)) + if (s_TypeList is null) { s_TypeList = new BuiltInValueConverter(typeof(TypeListConverter), () => new TypeListConverter()); } @@ -253,7 +253,7 @@ internal static XamlValueConverter GetTypeConverter(Type targetTy } if (typeof(DateTime) == targetType) { - if (ReferenceEquals(s_DateTime, null)) + if (s_DateTime is null) { s_DateTime = new BuiltInValueConverter(typeof(DateTimeConverter2), () => new DateTimeConverter2()); } @@ -261,7 +261,7 @@ internal static XamlValueConverter GetTypeConverter(Type targetTy } if (typeof(DateTimeOffset) == targetType) { - if (ReferenceEquals(s_DateTimeOffset, null)) + if (s_DateTimeOffset is null) { s_DateTimeOffset = new BuiltInValueConverter(typeof(DateTimeOffsetConverter2), () => new DateTimeOffsetConverter2()); } @@ -269,7 +269,7 @@ internal static XamlValueConverter GetTypeConverter(Type targetTy } if (typeof(CultureInfo).IsAssignableFrom(targetType)) { - if (ReferenceEquals(s_CultureInfo, null)) + if (s_CultureInfo is null) { s_CultureInfo = new BuiltInValueConverter(typeof(CultureInfoConverter), () => new CultureInfoConverter()); } @@ -277,7 +277,7 @@ internal static XamlValueConverter GetTypeConverter(Type targetTy } if (typeof(Delegate).IsAssignableFrom(targetType)) { - if (ReferenceEquals(s_Delegate, null)) + if (s_Delegate is null) { s_Delegate = new BuiltInValueConverter(typeof(EventConverter), () => new EventConverter()); } @@ -285,7 +285,7 @@ internal static XamlValueConverter GetTypeConverter(Type targetTy } if (typeof(Uri).IsAssignableFrom(targetType)) { - if(ReferenceEquals(s_Uri, null)) + if(s_Uri is null) { TypeConverter stdConverter = null; try @@ -326,7 +326,7 @@ internal static XamlValueConverter GetValueSerializer(Type targ { if (typeof(string) == targetType) { - if (ReferenceEquals(s_StringSerializer, null)) + if (s_StringSerializer is null) { // Once StringSerializer is TypeForwarded to S.X, this can be made more efficient ValueSerializer stringSerializer = ValueSerializer.GetSerializerFor(typeof(string)); diff --git a/src/Microsoft.DotNet.Wpf/src/System.Xaml/System/Xaml/Schema/MemberReflector.cs b/src/Microsoft.DotNet.Wpf/src/System.Xaml/System/Xaml/Schema/MemberReflector.cs index 797b3ec2111..699eb684286 100644 --- a/src/Microsoft.DotNet.Wpf/src/System.Xaml/System/Xaml/Schema/MemberReflector.cs +++ b/src/Microsoft.DotNet.Wpf/src/System.Xaml/System/Xaml/Schema/MemberReflector.cs @@ -79,7 +79,7 @@ internal MemberReflector(MethodInfo getter, MethodInfo setter, bool isEvent) [SecuritySafeCritical] internal MemberReflector(XamlType type, XamlValueConverter typeConverter) { - this.Type = type; + Type = type; _typeConverter.Value = typeConverter; _designerSerializationVisibility = DesignerSerializationVisibility.Visible; _memberBits = (int)BoolMemberBits.Directive | (int)BoolMemberBits.AllValid; diff --git a/src/Microsoft.DotNet.Wpf/src/System.Xaml/System/Xaml/Schema/TypeBits.cs b/src/Microsoft.DotNet.Wpf/src/System.Xaml/System/Xaml/Schema/TypeBits.cs index fe178673cfa..8d9af3579d4 100644 --- a/src/Microsoft.DotNet.Wpf/src/System.Xaml/System/Xaml/Schema/TypeBits.cs +++ b/src/Microsoft.DotNet.Wpf/src/System.Xaml/System/Xaml/Schema/TypeBits.cs @@ -67,7 +67,7 @@ public bool IsNotPresent public bool IsSet { - get { return !ReferenceEquals(_value, null); } + get { return !(_value is null); } } public bool IsSetVolatile @@ -75,7 +75,7 @@ public bool IsSetVolatile get { object value = Thread.VolatileRead(ref _value); - return !ReferenceEquals(value, null); + return !(value is null); } } @@ -86,18 +86,18 @@ public T Value object value = _value; return ReferenceEquals(value, s_NullSentinel) ? null : (T)value; } - set { _value = ReferenceEquals(value, null) ? s_NullSentinel : value; } + set { _value = value is null ? s_NullSentinel : value; } } public void SetIfNull(T value) { - object newValue = ReferenceEquals(value, null) ? s_NullSentinel : value; + object newValue = value is null ? s_NullSentinel : value; Interlocked.CompareExchange(ref _value, newValue, null); } public void SetVolatile(T value) { - object newValue = ReferenceEquals(value, null) ? s_NullSentinel : value; + object newValue = value is null ? s_NullSentinel : value; Thread.VolatileWrite(ref _value, newValue); } } diff --git a/src/Microsoft.DotNet.Wpf/src/System.Xaml/System/Xaml/Schema/XamlMemberInvoker.cs b/src/Microsoft.DotNet.Wpf/src/System.Xaml/System/Xaml/Schema/XamlMemberInvoker.cs index 6063ca4276c..7a295c5a83f 100644 --- a/src/Microsoft.DotNet.Wpf/src/System.Xaml/System/Xaml/Schema/XamlMemberInvoker.cs +++ b/src/Microsoft.DotNet.Wpf/src/System.Xaml/System/Xaml/Schema/XamlMemberInvoker.cs @@ -18,7 +18,7 @@ public class XamlMemberInvoker { private static XamlMemberInvoker s_Directive; private static XamlMemberInvoker s_Unknown; - private static object[] s_emptyObjectArray = new object[0]; + private static object[] s_emptyObjectArray = Array.Empty(); private XamlMember _member; private NullableReference _shouldSerializeMethod; @@ -29,11 +29,7 @@ protected XamlMemberInvoker() public XamlMemberInvoker(XamlMember member) { - if (member == null) - { - throw new ArgumentNullException(nameof(member)); - } - _member = member; + _member = member ?? throw new ArgumentNullException(nameof(member)); } public static XamlMemberInvoker UnknownInvoker diff --git a/src/Microsoft.DotNet.Wpf/src/System.Xaml/System/Xaml/Schema/XamlTypeInvoker.cs b/src/Microsoft.DotNet.Wpf/src/System.Xaml/System/Xaml/Schema/XamlTypeInvoker.cs index d75b1dffc6c..75fad94d2f4 100644 --- a/src/Microsoft.DotNet.Wpf/src/System.Xaml/System/Xaml/Schema/XamlTypeInvoker.cs +++ b/src/Microsoft.DotNet.Wpf/src/System.Xaml/System/Xaml/Schema/XamlTypeInvoker.cs @@ -21,7 +21,7 @@ namespace System.Xaml.Schema public class XamlTypeInvoker { private static XamlTypeInvoker s_Unknown; - private static object[] s_emptyObjectArray = new object[0]; + private static object[] s_emptyObjectArray = Array.Empty(); private Dictionary _addMethods; internal MethodInfo EnumeratorMethod { get; set; } @@ -56,11 +56,7 @@ protected XamlTypeInvoker() public XamlTypeInvoker(XamlType type) { - if (type == null) - { - throw new ArgumentNullException(nameof(type)); - } - _xamlType = type; + _xamlType = type ?? throw new ArgumentNullException(nameof(type)); } public static XamlTypeInvoker UnknownInvoker diff --git a/src/Microsoft.DotNet.Wpf/src/System.Xaml/System/Xaml/Schema/XamlValueConverter.cs b/src/Microsoft.DotNet.Wpf/src/System.Xaml/System/Xaml/Schema/XamlValueConverter.cs index 843284e27cb..c53c0f767e3 100644 --- a/src/Microsoft.DotNet.Wpf/src/System.Xaml/System/Xaml/Schema/XamlValueConverter.cs +++ b/src/Microsoft.DotNet.Wpf/src/System.Xaml/System/Xaml/Schema/XamlValueConverter.cs @@ -103,7 +103,7 @@ private string GetDefaultName() public override bool Equals(object obj) { XamlValueConverter other = obj as XamlValueConverter; - if (ReferenceEquals(other, null)) + if (other is null) { return false; } @@ -131,11 +131,11 @@ public bool Equals(XamlValueConverter other) public static bool operator ==(XamlValueConverter converter1, XamlValueConverter converter2) { - if (ReferenceEquals(converter1, null)) + if (converter1 is null) { - return ReferenceEquals(converter2, null); + return converter2 is null; } - if (ReferenceEquals(converter2, null)) + if (converter2 is null) { return false; } diff --git a/src/Microsoft.DotNet.Wpf/src/System.Xaml/System/Xaml/XamlDeferLoadAttribute.cs b/src/Microsoft.DotNet.Wpf/src/System.Xaml/System/Xaml/XamlDeferLoadAttribute.cs index d6b47990034..52fbd3775d0 100644 --- a/src/Microsoft.DotNet.Wpf/src/System.Xaml/System/Xaml/XamlDeferLoadAttribute.cs +++ b/src/Microsoft.DotNet.Wpf/src/System.Xaml/System/Xaml/XamlDeferLoadAttribute.cs @@ -28,16 +28,8 @@ public XamlDeferLoadAttribute(Type loaderType, Type contentType) public XamlDeferLoadAttribute(string loaderType, string contentType) { - if (loaderType == null) - { - throw new ArgumentNullException(nameof(loaderType)); - } - if (contentType == null) - { - throw new ArgumentNullException(nameof(contentType)); - } - _loaderTypeName = loaderType; - _contentTypeName = contentType; + _loaderTypeName = loaderType ?? throw new ArgumentNullException(nameof(loaderType)); + _contentTypeName = contentType ?? throw new ArgumentNullException(nameof(contentType)); } public string LoaderTypeName diff --git a/src/Microsoft.DotNet.Wpf/src/System.Xaml/System/Xaml/XamlMarkupExtensionWriter.cs b/src/Microsoft.DotNet.Wpf/src/System.Xaml/System/Xaml/XamlMarkupExtensionWriter.cs index 4d80f0b8bb7..4ac6f499acb 100644 --- a/src/Microsoft.DotNet.Wpf/src/System.Xaml/System/Xaml/XamlMarkupExtensionWriter.cs +++ b/src/Microsoft.DotNet.Wpf/src/System.Xaml/System/Xaml/XamlMarkupExtensionWriter.cs @@ -31,8 +31,8 @@ public XamlMarkupExtensionWriter(XamlXmlWriter xamlXmlWriter, XamlMarkupExtensio void Initialize(XamlXmlWriter xamlXmlWriter) { this.xamlXmlWriter = xamlXmlWriter; - this.settings = xamlXmlWriter.Settings; // This will clone, only want to do this once - this.meSettings = this.meSettings ?? new XamlMarkupExtensionWriterSettings(); + settings = xamlXmlWriter.Settings; // This will clone, only want to do this once + meSettings = meSettings ?? new XamlMarkupExtensionWriterSettings(); currentState = Start.State; sb = new StringBuilder(); nodes = new Stack(); @@ -48,7 +48,7 @@ public override XamlSchemaContext SchemaContext { get { - return this.xamlXmlWriter.SchemaContext; + return xamlXmlWriter.SchemaContext; } } @@ -68,7 +68,7 @@ public string MarkupExtensionString { get { - if (this.nodes.Count == 0) + if (nodes.Count == 0) { return sb.ToString(); } @@ -91,11 +91,11 @@ public bool Failed string LookupPrefix(XamlType type) { - string prefix = this.xamlXmlWriter.LookupPrefix(type.GetXamlNamespaces(), out _); + string prefix = xamlXmlWriter.LookupPrefix(type.GetXamlNamespaces(), out _); if (prefix == null) { - if (!this.meSettings.ContinueWritingWhenPrefixIsNotFound) + if (!meSettings.ContinueWritingWhenPrefixIsNotFound) { // the prefix is not found and curly syntax has no way of defining a prefix failed = true; @@ -108,11 +108,11 @@ string LookupPrefix(XamlType type) string LookupPrefix(XamlMember property) { - string prefix = this.xamlXmlWriter.LookupPrefix(property.GetXamlNamespaces(), out _); + string prefix = xamlXmlWriter.LookupPrefix(property.GetXamlNamespaces(), out _); if (prefix == null) { - if (!this.meSettings.ContinueWritingWhenPrefixIsNotFound) + if (!meSettings.ContinueWritingWhenPrefixIsNotFound) { failed = true; // the prefix is not found and curly syntax has no way of defining a prefix @@ -125,7 +125,7 @@ string LookupPrefix(XamlMember property) void CheckMemberForUniqueness(Node objectNode, XamlMember property) { - if (!this.settings.AssumeValidInput) + if (!settings.AssumeValidInput) { if (objectNode.Members == null) { @@ -141,32 +141,32 @@ void CheckMemberForUniqueness(Node objectNode, XamlMember property) public override void WriteStartObject(XamlType type) { - this.currentState.WriteStartObject(this, type); + currentState.WriteStartObject(this, type); } public override void WriteGetObject() { - this.currentState.WriteGetObject(this); + currentState.WriteGetObject(this); } public override void WriteEndObject() { - this.currentState.WriteEndObject(this); + currentState.WriteEndObject(this); } public override void WriteStartMember(XamlMember property) { - this.currentState.WriteStartMember(this, property); + currentState.WriteStartMember(this, property); } public override void WriteEndMember() { - this.currentState.WriteEndMember(this); + currentState.WriteEndMember(this); } public override void WriteNamespace(NamespaceDeclaration namespaceDeclaration) { - this.currentState.WriteNamespace(this, namespaceDeclaration); + currentState.WriteNamespace(this, namespaceDeclaration); } public override void WriteValue(object value) @@ -178,7 +178,7 @@ public override void WriteValue(object value) throw new ArgumentException(SR.Get(SRID.XamlMarkupExtensionWriterCannotWriteNonstringValue)); } - this.currentState.WriteValue(this, s); + currentState.WriteValue(this, s); } class Node @@ -271,7 +271,7 @@ protected static string FormatStringInCorrectSyntax(string s) protected void WritePrefix(XamlMarkupExtensionWriter writer, string prefix) { - if (prefix != "") + if (!string.IsNullOrEmpty(prefix)) { writer.sb.Append(prefix); writer.sb.Append(":"); @@ -280,7 +280,7 @@ protected void WritePrefix(XamlMarkupExtensionWriter writer, string prefix) public void WriteString(XamlMarkupExtensionWriter writer, string value) { - if (ContainCharacterToEscape(value) || value == string.Empty) + if (ContainCharacterToEscape(value) || value.Length == 0) { value = FormatStringInCorrectSyntax(value); } diff --git a/src/Microsoft.DotNet.Wpf/src/System.Xaml/System/Xaml/XamlMember.cs b/src/Microsoft.DotNet.Wpf/src/System.Xaml/System/Xaml/XamlMember.cs index 1a0dbe52b78..661c32eb166 100644 --- a/src/Microsoft.DotNet.Wpf/src/System.Xaml/System/Xaml/XamlMember.cs +++ b/src/Microsoft.DotNet.Wpf/src/System.Xaml/System/Xaml/XamlMember.cs @@ -44,17 +44,8 @@ public class XamlMember : IEquatable public XamlMember(string name, XamlType declaringType, bool isAttachable) { - if (name == null) - { - throw new ArgumentNullException(nameof(name)); - } - if (declaringType == null) - { - throw new ArgumentNullException(nameof(declaringType)); - } - - _name = name; - _declaringType = declaringType; + _name = name ?? throw new ArgumentNullException(nameof(name)); + _declaringType = declaringType ?? throw new ArgumentNullException(nameof(declaringType)); _memberType = isAttachable ? MemberType.Attachable : MemberType.Instance; } @@ -147,10 +138,6 @@ public XamlMember(string attachablePropertyName, MethodInfo getter, MethodInfo s internal XamlMember(string attachablePropertyName, MethodInfo getter, MethodInfo setter, XamlSchemaContext schemaContext, XamlMemberInvoker invoker, MemberReflector reflector) { - if (attachablePropertyName == null) - { - throw new ArgumentNullException(nameof(attachablePropertyName)); - } if (schemaContext == null) { throw new ArgumentNullException(nameof(schemaContext)); @@ -160,10 +147,11 @@ internal XamlMember(string attachablePropertyName, MethodInfo getter, MethodInfo { throw new ArgumentNullException(SR.Get(SRID.GetterOrSetterRequired), (Exception)null); } - ValidateGetter(getter, "getter"); - ValidateSetter(setter, "setter"); + _name = attachablePropertyName ?? throw new ArgumentNullException(nameof(attachablePropertyName)); + + ValidateGetter(getter, nameof(getter)); + ValidateSetter(setter, nameof(setter)); - _name = attachablePropertyName; _declaringType = schemaContext.GetXamlType(accessor.DeclaringType); _reflector = reflector; _memberType = MemberType.Attachable; @@ -191,10 +179,6 @@ public XamlMember(string attachableEventName, MethodInfo adder, XamlSchemaContex internal XamlMember(string attachableEventName, MethodInfo adder, XamlSchemaContext schemaContext, XamlMemberInvoker invoker, MemberReflector reflector) { - if (attachableEventName == null) - { - throw new ArgumentNullException(nameof(attachableEventName)); - } if (adder == null) { throw new ArgumentNullException(nameof(adder)); @@ -205,7 +189,7 @@ internal XamlMember(string attachableEventName, MethodInfo adder, XamlSchemaCont } ValidateSetter(adder, "adder"); - _name = attachableEventName; + _name = attachableEventName ?? throw new ArgumentNullException(nameof(attachableEventName)); _declaringType = schemaContext.GetXamlType(adder.DeclaringType); _reflector = reflector; _memberType = MemberType.Attachable; @@ -608,9 +592,9 @@ protected virtual XamlValueConverter LookupDeferringLoader( return SchemaContext.GetValueConverter(loaderTypes[0], null); } } - if (this.Type != null) + if (Type != null) { - return this.Type.DeferringLoader; + return Type.DeferringLoader; } return null; } @@ -748,9 +732,9 @@ protected virtual XamlValueConverter LookupTypeConverter() result = SchemaContext.GetValueConverter(converterType, null); } } - if (result == null && this.Type != null) + if (result == null && Type != null) { - result = this.Type.TypeConverter; + result = Type.TypeConverter; } return result; @@ -767,9 +751,9 @@ protected virtual XamlValueConverter LookupValueSerializer() result = SchemaContext.GetValueConverter(converterType, null); } } - if (result == null && this.Type != null) + if (result == null && Type != null) { - result = this.Type.ValueSerializer; + result = Type.ValueSerializer; } return result; } @@ -1080,7 +1064,7 @@ public bool Equals(XamlMember other) { return true; } - if (ReferenceEquals(xamlMember1, null) || ReferenceEquals(xamlMember2, null)) + if (xamlMember1 is null || xamlMember2 is null) { return false; } diff --git a/src/Microsoft.DotNet.Wpf/src/System.Xaml/System/Xaml/XamlObjectReader.cs b/src/Microsoft.DotNet.Wpf/src/System.Xaml/System/Xaml/XamlObjectReader.cs index 6aedbd917c0..4d41e9e60db 100644 --- a/src/Microsoft.DotNet.Wpf/src/System.Xaml/System/Xaml/XamlObjectReader.cs +++ b/src/Microsoft.DotNet.Wpf/src/System.Xaml/System/Xaml/XamlObjectReader.cs @@ -7,6 +7,7 @@ using System.ComponentModel; using System.ComponentModel.Design.Serialization; using System.Diagnostics; +using System.Diagnostics.CodeAnalysis; using System.Reflection; using System.Security; using System.Security.Permissions; @@ -49,8 +50,8 @@ public XamlObjectReader(object instance, XamlSchemaContext schemaContext, XamlOb { this.schemaContext = schemaContext ?? throw new ArgumentNullException(nameof(schemaContext)); this.settings = settings ?? new XamlObjectReaderSettings(); - this.nodes = new Stack(); - this.currentXamlNode = new XamlNode(XamlNode.InternalNodeType.StartOfStream); + nodes = new Stack(); + currentXamlNode = new XamlNode(XamlNode.InternalNodeType.StartOfStream); var context = new SerializerContext(schemaContext, this.settings) { RootType = instance?.GetType() }; @@ -93,18 +94,18 @@ public override bool Read() { if (nodes.Count == 0) { - if (this.currentXamlNode.NodeType != XamlNodeType.None) + if (currentXamlNode.NodeType != XamlNodeType.None) { - this.currentXamlNode = new XamlNode(XamlNode.InternalNodeType.EndOfStream); + currentXamlNode = new XamlNode(XamlNode.InternalNodeType.EndOfStream); } return false; } MarkupInfo node = nodes.Pop(); - this.currentXamlNode = node.XamlNode; + currentXamlNode = node.XamlNode; ObjectMarkupInfo objectNode = node as ObjectMarkupInfo; - this.currentInstance = objectNode != null ? objectNode.Object : null; + currentInstance = objectNode != null ? objectNode.Object : null; var subNodes = node.Decompose(); @@ -125,7 +126,7 @@ public override XamlNodeType NodeType { get { - return this.currentXamlNode.NodeType; + return currentXamlNode.NodeType; } } @@ -133,7 +134,7 @@ public override NamespaceDeclaration Namespace { get { - return this.currentXamlNode.NamespaceDeclaration; + return currentXamlNode.NamespaceDeclaration; } } @@ -141,7 +142,7 @@ public override XamlType Type { get { - return this.currentXamlNode.XamlType; + return currentXamlNode.XamlType; } } @@ -149,7 +150,7 @@ public override XamlMember Member { get { - return this.currentXamlNode.Member; + return currentXamlNode.Member; } } @@ -157,7 +158,7 @@ public override object Value { get { - return this.currentXamlNode.Value; + return currentXamlNode.Value; } } @@ -165,7 +166,7 @@ public override XamlSchemaContext SchemaContext { get { - return this.schemaContext; + return schemaContext; } } @@ -173,7 +174,7 @@ public override bool IsEof { get { - return this.currentXamlNode.IsEof; + return currentXamlNode.IsEof; } } @@ -181,7 +182,7 @@ public virtual object Instance { get { - return this.currentXamlNode.NodeType == XamlNodeType.StartObject ? this.currentInstance : null; + return currentXamlNode.NodeType == XamlNodeType.StartObject ? currentInstance : null; } } @@ -255,7 +256,7 @@ class MemberMarkupInfo : MarkupInfo public bool IsContent { get; set; } public bool IsFactoryMethod { get; set; } - public List Children { get { return this.children; } } + public List Children { get { return children; } } public override List Decompose() { @@ -267,7 +268,7 @@ public bool IsAtomic { get { - return (this.children.Count == 1) && (this.children[0] is ValueMarkupInfo); + return (children.Count == 1) && (children[0] is ValueMarkupInfo); } } @@ -275,12 +276,12 @@ public bool IsAttributableMarkupExtension { get { - if (this.children.Count != 1) + if (children.Count != 1) { return false; } - ObjectMarkupInfo r = this.children[0] as ObjectMarkupInfo; + ObjectMarkupInfo r = children[0] as ObjectMarkupInfo; return (r != null && r.IsAttributableMarkupExtension); } } @@ -290,9 +291,9 @@ public bool IsAttributable get { //Constructor arguments property - if (this.XamlNode.Member == XamlLanguage.PositionalParameters) + if (XamlNode.Member == XamlLanguage.PositionalParameters) { - foreach (var child in this.children) + foreach (var child in children) { if (child is ObjectMarkupInfo objectInfo && !objectInfo.IsAttributableMarkupExtension) { @@ -304,12 +305,12 @@ public bool IsAttributable } //Non-empty Collections are not attributable - if (this.Children.Count > 1) { return false; } + if (Children.Count > 1) { return false; } //Empty collections and atoms are attributable - if (this.Children.Count == 0 || this.Children[0] is ValueMarkupInfo) { return true; } + if (Children.Count == 0 || Children[0] is ValueMarkupInfo) { return true; } - ObjectMarkupInfo r = this.Children[0] as ObjectMarkupInfo; + ObjectMarkupInfo r = Children[0] as ObjectMarkupInfo; if (r == null) { throw new InvalidOperationException(SR.Get(SRID.ExpectedObjectMarkupInfo)); @@ -996,7 +997,7 @@ class ObjectMarkupInfo : ObjectOrValueMarkupInfo List properties = new List(); bool? isAttributableMarkupExtension = null; - public List Properties { get { return this.properties; } } + public List Properties { get { return properties; } } public string Name { get; set; } //public object Scope { get; set; } //public bool? ShouldWriteAsReference { get; set; } @@ -1046,7 +1047,7 @@ void InsertPropertiesWithDO(List propertiesWithDO) { if (memberInfo.IsAtomic || memberInfo.IsAttributableMarkupExtension) { - this.properties.Insert(posOfFirstNonAttributableProperty, property); + properties.Insert(posOfFirstNonAttributableProperty, property); namesOfAttributableProperties.Add(memberInfo.XamlNode.Member.Name); posOfFirstNonAttributableProperty++; continue; @@ -1091,9 +1092,9 @@ void SelectAndRemovePropertiesWithDO(out List removedProperties) removedProperties = null; PartiallyOrderedList propertiesWithDO = null; - for (int i = 0; i < this.properties.Count; ) + for (int i = 0; i < properties.Count; ) { - var property = this.properties[i]; + var property = properties[i]; if (property.XamlNode.Member.DependsOn.Count > 0) { if (propertiesWithDO == null) @@ -1108,7 +1109,7 @@ void SelectAndRemovePropertiesWithDO(out List removedProperties) propertiesWithDO.SetOrder(dependingProperty.Name, dependentPropertyName); } - this.properties.RemoveAt(i); + properties.RemoveAt(i); } else { @@ -1160,7 +1161,7 @@ public override void FindNamespace(SerializerContext context) { if (XamlNode.NodeType == XamlNodeType.StartObject) { - context.FindPrefix(this.XamlNode.XamlType.PreferredXamlNamespace); + context.FindPrefix(XamlNode.XamlType.PreferredXamlNamespace); var type = XamlNode.XamlType; if (type.IsGeneric) @@ -1170,7 +1171,7 @@ public override void FindNamespace(SerializerContext context) } } - foreach (var property in this.Properties) + foreach (var property in Properties) { property.FindNamespace(context); } @@ -1205,7 +1206,7 @@ void AddItemsProperty(object value, SerializerContext context, XamlType xamlType if (propertyInfo != null && propertyInfo.Children.Count != 0) { - this.properties.Add(propertyInfo); + properties.Add(propertyInfo); } } @@ -1228,7 +1229,7 @@ void AddFactoryMethodAndValidateArguments(Type valueType, MemberInfo memberInfo, if (memberInfo == null) { // default ctor - methodParams = new ParameterInfo[0]; + methodParams = Array.Empty(); } else if (memberInfo is ConstructorInfo) { @@ -1248,7 +1249,7 @@ void AddFactoryMethodAndValidateArguments(Type valueType, MemberInfo memberInfo, } // add factory method if there is one - this.Properties.Add(new MemberMarkupInfo + Properties.Add(new MemberMarkupInfo { XamlNode = new XamlNode(XamlNodeType.StartMember, XamlLanguage.FactoryMethod), IsFactoryMethod = true, @@ -1317,7 +1318,7 @@ void AddArgumentsMembers(ICollection arguments, SerializerContext context) argumentsProperty.Children.Add(ForObject(argument, context)); } - this.Properties.Add(argumentsProperty); + Properties.Add(argumentsProperty); } } @@ -1379,7 +1380,7 @@ bool TryAddPositionalParameters(XamlType xamlType, MemberInfo member, ICollectio } } - this.Properties.Add(positionalParametersProperty); + Properties.Add(positionalParametersProperty); return true; } return false; @@ -1515,7 +1516,7 @@ void AddRecordMembers(object value, } propertyInfo.IsContent = IsPropertyContent(propertyInfo, xamlType); - this.Properties.Add(propertyInfo); + Properties.Add(propertyInfo); } AddItemsProperty(value, context, xamlType); @@ -1763,7 +1764,7 @@ public void AssignName(string name, SerializerContext context) public void AddNameProperty(SerializerContext context) { - this.Properties.Add(new MemberMarkupInfo() + Properties.Add(new MemberMarkupInfo() { XamlNode = new XamlNode(XamlNodeType.StartMember, XamlLanguage.Name), Children = { new ValueMarkupInfo() { XamlNode = new XamlNode(XamlNodeType.Value, Name) } } @@ -1772,11 +1773,11 @@ public void AddNameProperty(SerializerContext context) // some collection or dictionary's object node might have been removed // i.e. XamlNode is now changed to GetObject. since we are now naming // the object, we need to add the object node back - if (this.XamlNode.NodeType == XamlNodeType.GetObject) + if (XamlNode.NodeType == XamlNodeType.GetObject) { - Debug.Assert(this.Object != null); - var xamlType = context.LocalAssemblyAwareGetXamlType(this.Object.GetType()); - this.XamlNode = new XamlNode(XamlNodeType.StartObject, xamlType); + Debug.Assert(Object != null); + var xamlType = context.LocalAssemblyAwareGetXamlType(Object.GetType()); + XamlNode = new XamlNode(XamlNodeType.StartObject, xamlType); } } @@ -1789,7 +1790,7 @@ public override void EnsureNoDuplicateNames(Stack> namesInCurren } // Recurse through all of the values I have. - foreach (var property in this.Properties) + foreach (var property in Properties) { var propertyInfo = (MemberMarkupInfo)property; foreach (var ov in propertyInfo.Children) @@ -2187,7 +2188,6 @@ static string ValidateNamePropertyAndFindName(MemberMarkupInfo propertyInfo) class PropertySorterForXmlSyntax : IComparer { - const int Equal = 0; const int XFirst = -1; const int YFirst = 1; @@ -2264,6 +2264,7 @@ public int Compare(MarkupInfo x, MarkupInfo y) class PropertySorterForCurlySyntax : IComparer { + [SuppressMessage("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields", Justification = "Could possibly break clients that use reflection")] const int Equal = 0; const int XFirst = -1; const int YFirst = 1; @@ -2436,12 +2437,12 @@ class ReferenceTable public ReferenceTable(ReferenceTable parent) { this.parent = parent; - this.objectGraphTable = new Dictionary(new ObjectReferenceEqualityComparer()); + objectGraphTable = new Dictionary(new ObjectReferenceEqualityComparer()); } public void Add(object value, ObjectMarkupInfo info) { - this.objectGraphTable.Add(value, info); + objectGraphTable.Add(value, info); } public void AddToServiceProviderTable(object value, string name) @@ -2450,16 +2451,16 @@ public void AddToServiceProviderTable(object value, string name) { serviceProviderTable = new Dictionary(new ObjectReferenceEqualityComparer()); } - this.serviceProviderTable.Add(value, name); + serviceProviderTable.Add(value, name); } public ObjectMarkupInfo Find(object value) { ObjectMarkupInfo result; - if (!this.objectGraphTable.TryGetValue(value, out result)) + if (!objectGraphTable.TryGetValue(value, out result)) { // this is a recursive search, because objects in the parent namescopes are still visible - if (this.parent != null) { return this.parent.Find(value); } + if (parent != null) { return parent.Find(value); } } return result; } @@ -2468,9 +2469,9 @@ public string FindInServiceProviderTable(object value) { string result = null; - if (this.serviceProviderTable != null) + if (serviceProviderTable != null) { - this.serviceProviderTable.TryGetValue(value, out result); + serviceProviderTable.TryGetValue(value, out result); } // this search is not recursive, because only names requested in the current @@ -2493,15 +2494,15 @@ class SerializerContext public SerializerContext(XamlSchemaContext schemaContext, XamlObjectReaderSettings settings) { - this.pendingNameScopes = new Queue(); + pendingNameScopes = new Queue(); var typeDescriptorContext = new TypeDescriptorAndValueSerializerContext(this); this.typeDescriptorContext = typeDescriptorContext; - this.valueSerializerContext = typeDescriptorContext; - this.namespaceToPrefixMap = new Dictionary(); - this.prefixToNamespaceMap = new Dictionary(); - this.ReferenceTable = new ReferenceTable(null); + valueSerializerContext = typeDescriptorContext; + namespaceToPrefixMap = new Dictionary(); + prefixToNamespaceMap = new Dictionary(); + ReferenceTable = new ReferenceTable(null); this.schemaContext = schemaContext; - this.runtime = new ClrObjectRuntime(null, false /*isWriter*/); + runtime = new ClrObjectRuntime(null, false /*isWriter*/); this.settings = settings; } @@ -2509,7 +2510,7 @@ public XamlObjectReaderSettings Settings { get { - return this.settings; + return settings; } } @@ -2520,28 +2521,28 @@ public void ReserveDefaultPrefixForRootObject(object obj) string ns = GetXamlType(obj.GetType()).PreferredXamlNamespace; if (ns != XamlLanguage.Xaml2006Namespace) { - this.namespaceToPrefixMap.Add(ns, string.Empty); - this.prefixToNamespaceMap.Add(string.Empty, ns); + namespaceToPrefixMap.Add(ns, string.Empty); + prefixToNamespaceMap.Add(string.Empty, ns); } } public ClrObjectRuntime Runtime { - get { return this.runtime; } + get { return runtime; } } public Queue PendingNameScopes { - get { return this.pendingNameScopes; } + get { return pendingNameScopes; } } public ReferenceTable ReferenceTable { get; set; } - public IValueSerializerContext ValueSerializerContext { get { return this.valueSerializerContext; } } + public IValueSerializerContext ValueSerializerContext { get { return valueSerializerContext; } } - public ITypeDescriptorContext TypeDescriptorContext { get { return this.typeDescriptorContext; } } + public ITypeDescriptorContext TypeDescriptorContext { get { return typeDescriptorContext; } } - public XamlSchemaContext SchemaContext { get { return this.schemaContext; } } + public XamlSchemaContext SchemaContext { get { return schemaContext; } } public List GetSortedNamespaceNodes() { @@ -2576,7 +2577,7 @@ static int CompareByValue(KeyValuePair x, KeyValuePair Decompose() { - foreach (var property in this.Properties) + foreach (var property in Properties) { - nodes.Insert(this.objectPosition, property); + nodes.Insert(objectPosition, property); } return nodes; } public override void FindNamespace(SerializerContext context) { - foreach (var property in this.Properties) + foreach (var property in Properties) { property.FindNamespace(context); } diff --git a/src/Microsoft.DotNet.Wpf/src/System.Xaml/System/Xaml/XamlReader.cs b/src/Microsoft.DotNet.Wpf/src/System.Xaml/System/Xaml/XamlReader.cs index 6359f6596a8..bc8638668a8 100644 --- a/src/Microsoft.DotNet.Wpf/src/System.Xaml/System/Xaml/XamlReader.cs +++ b/src/Microsoft.DotNet.Wpf/src/System.Xaml/System/Xaml/XamlReader.cs @@ -1,9 +1,14 @@ // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. - +using System.Diagnostics.CodeAnalysis; namespace System.Xaml { + [SuppressMessage( + "Microsoft.Design", + "CA1063:ImplementIDisposableCorrectly", + Justification = @"This API has already shipped and in order to ensure compat for the + initial .NET Core 3 release, this won't be fixed. It could be addressed at a later time.")] public abstract class XamlReader: IDisposable { public abstract bool Read(); diff --git a/src/Microsoft.DotNet.Wpf/src/System.Xaml/System/Xaml/XamlSchemaContext.cs b/src/Microsoft.DotNet.Wpf/src/System.Xaml/System/Xaml/XamlSchemaContext.cs index eef8ac68ca4..b030dbc9643 100644 --- a/src/Microsoft.DotNet.Wpf/src/System.Xaml/System/Xaml/XamlSchemaContext.cs +++ b/src/Microsoft.DotNet.Wpf/src/System.Xaml/System/Xaml/XamlSchemaContext.cs @@ -137,7 +137,7 @@ public virtual IEnumerable GetAllXamlNamespaces() } } result = new ReadOnlyCollection(result); - this._nonClrNamespaces = result; + _nonClrNamespaces = result; } } return result; @@ -163,7 +163,7 @@ public virtual string GetPreferredPrefix(string xmlns) InitializePreferredPrefixes(); } string result; - if (!this._preferredPrefixes.TryGetValue(xmlns, out result)) + if (!_preferredPrefixes.TryGetValue(xmlns, out result)) { if (XamlLanguage.XamlNamespaces.Contains(xmlns)) { diff --git a/src/Microsoft.DotNet.Wpf/src/System.Xaml/System/Xaml/XamlType.cs b/src/Microsoft.DotNet.Wpf/src/System.Xaml/System/Xaml/XamlType.cs index eb654b43533..5360d23499c 100644 --- a/src/Microsoft.DotNet.Wpf/src/System.Xaml/System/Xaml/XamlType.cs +++ b/src/Microsoft.DotNet.Wpf/src/System.Xaml/System/Xaml/XamlType.cs @@ -48,16 +48,8 @@ public class XamlType : IEquatable protected XamlType(string typeName, IList typeArguments, XamlSchemaContext schemaContext) { - if (typeName == null) - { - throw new ArgumentNullException(nameof(typeName)); - } - if (schemaContext == null) - { - throw new ArgumentNullException(nameof(schemaContext)); - } - _name = typeName; - _schemaContext = schemaContext; + _name = typeName ?? throw new ArgumentNullException(nameof(typeName)); + _schemaContext = schemaContext ?? throw new ArgumentNullException(nameof(schemaContext)); _typeArguments = GetTypeArguments(typeArguments); } @@ -67,17 +59,10 @@ public XamlType(string unknownTypeNamespace, string unknownTypeName, IList(new string[] { unknownTypeNamespace }); - _schemaContext = schemaContext; + _schemaContext = schemaContext ?? throw new ArgumentNullException(nameof(schemaContext)); _typeArguments = GetTypeArguments(typeArguments); _reflector = TypeReflector.UnknownReflector; } @@ -103,13 +88,10 @@ internal XamlType(string alias, Type underlyingType, XamlSchemaContext schemaCon { throw new ArgumentNullException(nameof(underlyingType)); } - if (schemaContext == null) - { - throw new ArgumentNullException(nameof(schemaContext)); - } + _reflector = reflector ?? new TypeReflector(underlyingType); _name = alias ?? GetTypeName(underlyingType); - _schemaContext = schemaContext; + _schemaContext = schemaContext ?? throw new ArgumentNullException(nameof(schemaContext)); _typeArguments = GetTypeArguments(underlyingType, schemaContext); _underlyingType.Value = underlyingType; _reflector.Invoker = invoker; @@ -456,7 +438,7 @@ public ICollection GetAllAttachableMembers() public virtual bool CanAssignTo(XamlType xamlType) { - if (ReferenceEquals(xamlType, null)) + if (xamlType is null) { return false; } @@ -1603,7 +1585,7 @@ private ICollection LookupAllExcludedReadOnlyMembers() } else { - Debug.Assert(this.GetType() != typeof(XamlType), "Default GetAllMembers logic should have already captured all writeable properties"); + Debug.Assert(GetType() != typeof(XamlType), "Default GetAllMembers logic should have already captured all writeable properties"); } } return new ReadOnlyCollection(result); @@ -1802,7 +1784,7 @@ public bool Equals(XamlType other) { return true; } - if (ReferenceEquals(xamlType1, null) || ReferenceEquals(xamlType2, null)) + if (xamlType1 is null || xamlType2 is null) { return false; } @@ -1863,7 +1845,7 @@ private static bool typeArgumentsAreEqual(XamlType xamlType1, XamlType xamlType2 internal static class EmptyList { public static readonly ReadOnlyCollection Value = - new ReadOnlyCollection(new T[0]); + new ReadOnlyCollection(Array.Empty()); } } } diff --git a/src/Microsoft.DotNet.Wpf/src/System.Xaml/System/Xaml/XamlTypeName.cs b/src/Microsoft.DotNet.Wpf/src/System.Xaml/System/Xaml/XamlTypeName.cs index 2ae3b1a6efa..067609bae6b 100644 --- a/src/Microsoft.DotNet.Wpf/src/System.Xaml/System/Xaml/XamlTypeName.cs +++ b/src/Microsoft.DotNet.Wpf/src/System.Xaml/System/Xaml/XamlTypeName.cs @@ -43,8 +43,8 @@ public XamlTypeName(XamlType xamlType) { throw new ArgumentNullException(nameof(xamlType)); } - this.Name = xamlType.Name; - this.Namespace = xamlType.GetXamlNamespaces()[0]; + Name = xamlType.Name; + Namespace = xamlType.GetXamlNamespaces()[0]; if (xamlType.TypeArguments != null) { foreach (XamlType argumentType in xamlType.TypeArguments) @@ -253,7 +253,7 @@ internal void ConvertToStringInternal(StringBuilder result, Func { throw new InvalidOperationException(SR.Get(SRID.XamlTypeNameCannotGetPrefix, Namespace)); } - if (prefix != string.Empty) + if (prefix.Length != 0) { result.Append(prefix); result.Append(":"); diff --git a/src/Microsoft.DotNet.Wpf/src/System.Xaml/System/Xaml/XamlXmlWriter.cs b/src/Microsoft.DotNet.Wpf/src/System.Xaml/System/Xaml/XamlXmlWriter.cs index 7d06d56a39d..ca76a14b415 100644 --- a/src/Microsoft.DotNet.Wpf/src/System.Xaml/System/Xaml/XamlXmlWriter.cs +++ b/src/Microsoft.DotNet.Wpf/src/System.Xaml/System/Xaml/XamlXmlWriter.cs @@ -104,25 +104,21 @@ public XamlXmlWriter(XmlWriter xmlWriter, XamlSchemaContext schemaContext, XamlX void InitializeXamlXmlWriter(XmlWriter xmlWriter, XamlSchemaContext schemaContext, XamlXmlWriterSettings settings) { - if (schemaContext == null) - { - throw new ArgumentNullException(nameof(schemaContext)); - } - this.schemaContext = schemaContext; + this.schemaContext = schemaContext ?? throw new ArgumentNullException(nameof(schemaContext)); - this.output = xmlWriter; + output = xmlWriter; this.settings = settings == null ? new XamlXmlWriterSettings() : settings.Copy() as XamlXmlWriterSettings; - this.currentState = Start.State; + currentState = Start.State; - this.namespaceScopes = new Stack(); - this.namespaceScopes.Push(new Frame { AllocatingNodeType = XamlNodeType.StartObject }); + namespaceScopes = new Stack(); + namespaceScopes.Push(new Frame { AllocatingNodeType = XamlNodeType.StartObject }); - this.prefixAssignmentHistory = new Dictionary() { {"xml", XamlLanguage.Xml1998Namespace} }; - this.meNodesStack = new Stack>(); - this.meWriter = new XamlMarkupExtensionWriter(this); + prefixAssignmentHistory = new Dictionary() { {"xml", XamlLanguage.Xml1998Namespace} }; + meNodesStack = new Stack>(); + meWriter = new XamlMarkupExtensionWriter(this); - this.ppStateInfo = new PositionalParameterStateInfo(this); + ppStateInfo = new PositionalParameterStateInfo(this); } protected override void Dispose(bool disposing) @@ -131,9 +127,9 @@ protected override void Dispose(bool disposing) { if (disposing && !IsDisposed) { - if (this.settings.CloseOutput) + if (settings.CloseOutput) { - this.output.Close(); + output.Close(); } else { @@ -144,14 +140,14 @@ protected override void Dispose(bool disposing) } finally { - ((IDisposable)this.output).Dispose(); + ((IDisposable)output).Dispose(); base.Dispose(disposing); } } public void Flush() { - this.output.Flush(); + output.Flush(); } public override void WriteGetObject() @@ -166,7 +162,7 @@ public override void WriteGetObject() type = frame.Member.Type; } - this.currentState.WriteObject(this, type, true); + currentState.WriteObject(this, type, true); } public override void WriteStartObject(XamlType type) @@ -183,7 +179,7 @@ public override void WriteStartObject(XamlType type) throw new ArgumentException(SR.Get(SRID.TypeHasInvalidXamlName, type.Name), nameof(type)); } - this.currentState.WriteObject(this, type, false); + currentState.WriteObject(this, type, false); if (type.TypeArguments != null) { @@ -194,7 +190,7 @@ public override void WriteStartObject(XamlType type) public override void WriteEndObject() { CheckIsDisposed(); - this.currentState.WriteEndObject(this); + currentState.WriteEndObject(this); } public override void WriteStartMember(XamlMember property) @@ -211,13 +207,13 @@ public override void WriteStartMember(XamlMember property) throw new ArgumentException(SR.Get(SRID.MemberHasInvalidXamlName, property.Name), nameof(property)); } - this.currentState.WriteStartMember(this, property); + currentState.WriteStartMember(this, property); } public override void WriteEndMember() { CheckIsDisposed(); - this.currentState.WriteEndMember(this); + currentState.WriteEndMember(this); } public override void WriteValue(object value) @@ -235,7 +231,7 @@ public override void WriteValue(object value) { throw new ArgumentException(SR.Get(SRID.XamlXmlWriterCannotWriteNonstringValue), nameof(value)); } - this.currentState.WriteValue(this, s); + currentState.WriteValue(this, s); } } @@ -263,12 +259,12 @@ public override void WriteNamespace(NamespaceDeclaration namespaceDeclaration) throw new ArgumentException(SR.Get(SRID.NamespaceDeclarationCannotBeXml), nameof(namespaceDeclaration)); } - this.currentState.WriteNamespace(this, namespaceDeclaration); + currentState.WriteNamespace(this, namespaceDeclaration); } public XamlXmlWriterSettings Settings { - get { return this.settings.Copy() as XamlXmlWriterSettings; } + get { return settings.Copy() as XamlXmlWriterSettings; } } public override XamlSchemaContext SchemaContext @@ -312,7 +308,7 @@ internal static bool IsImplicit(XamlMember xamlMember) internal static bool HasSignificantWhitespace(string s) { - if (s == string.Empty) + if (string.IsNullOrEmpty(s)) { return false; } @@ -499,7 +495,7 @@ string DefinePrefix(string ns) prefix = basePrefix + index.ToString(TypeConverterHelper.InvariantEnglishUS); } - if (prefix != string.Empty) + if (!string.IsNullOrEmpty(prefix)) { XmlConvert.VerifyNCName(prefix); } @@ -510,7 +506,7 @@ string DefinePrefix(string ns) void CheckMemberForUniqueness(XamlMember property) { // If we're not assuming the input is valid, then we need to do the checking... - if (!this.settings.AssumeValidInput) + if (!settings.AssumeValidInput) { // Find the top most object frame. Frame objectFrame = namespaceScopes.Peek(); @@ -578,12 +574,12 @@ void WriteUndefinedNamespaces(XamlType type) { chosenNamespace = namespaces[0]; prefix = DefinePrefix(chosenNamespace); - this.currentState.WriteNamespace(this, new NamespaceDeclaration(chosenNamespace, prefix)); + currentState.WriteNamespace(this, new NamespaceDeclaration(chosenNamespace, prefix)); } else if (IsShadowed(chosenNamespace, prefix)) { prefix = DefinePrefix(chosenNamespace); - this.currentState.WriteNamespace(this, new NamespaceDeclaration(chosenNamespace, prefix)); + currentState.WriteNamespace(this, new NamespaceDeclaration(chosenNamespace, prefix)); } if (type.TypeArguments != null) @@ -649,7 +645,7 @@ void ConvertXamlTypeToStringHelper(XamlType type, StringBuilder builder) { string prefix = LookupPrefix(type.GetXamlNamespaces(), out _); string typeName = GetTypeName(type); - string typeNamePrefixed = (prefix == string.Empty) ? typeName : prefix + ":" + typeName; + string typeNamePrefixed = string.IsNullOrEmpty(prefix) ? typeName : prefix + ":" + typeName; // save the subscript string subscript; @@ -891,7 +887,7 @@ protected static void WriteStartElementForObject(XamlXmlWriter writer, XamlType static void WriteStartAttribute(XamlXmlWriter writer, string prefix, string local, string ns) { - if (prefix == string.Empty) + if (string.IsNullOrEmpty(prefix)) { writer.output.WriteStartAttribute(local); } @@ -1751,7 +1747,7 @@ public override void WriteNamespace(XamlXmlWriter writer, NamespaceDeclaration n public override void WriteValue(XamlXmlWriter writer, string value) { var property = writer.namespaceScopes.Peek().Member; - if (XamlLanguage.String.CanAssignTo(property.Type) && value != string.Empty) + if (XamlLanguage.String.CanAssignTo(property.Type) && !string.IsNullOrEmpty(value)) { writer.namespaceScopes.Peek().IsContent = true; writer.WriteDeferredNamespaces(XamlNodeType.StartObject); @@ -1760,6 +1756,7 @@ public override void WriteValue(XamlXmlWriter writer, string value) } else { + Debug.Assert(value != null); writer.namespaceScopes.Peek().IsContent = false; writer.currentState = InMemberTryAttributes.State; writer.currentState.WriteValue(writer, value); diff --git a/src/Microsoft.DotNet.Wpf/src/System.Xaml/System/Xaml/XamlXmlWriterSettings.cs b/src/Microsoft.DotNet.Wpf/src/System.Xaml/System/Xaml/XamlXmlWriterSettings.cs index e1939acf01c..af1d16fcd29 100644 --- a/src/Microsoft.DotNet.Wpf/src/System.Xaml/System/Xaml/XamlXmlWriterSettings.cs +++ b/src/Microsoft.DotNet.Wpf/src/System.Xaml/System/Xaml/XamlXmlWriterSettings.cs @@ -15,8 +15,8 @@ public XamlXmlWriterSettings Copy() { return new XamlXmlWriterSettings() { - AssumeValidInput = this.AssumeValidInput, - CloseOutput = this.CloseOutput + AssumeValidInput = AssumeValidInput, + CloseOutput = CloseOutput }; } } diff --git a/src/Microsoft.DotNet.Wpf/src/WindowsBase/MS/Internal/IO/Packaging/Compoundfile/ContainerUtilities.cs b/src/Microsoft.DotNet.Wpf/src/WindowsBase/MS/Internal/IO/Packaging/Compoundfile/ContainerUtilities.cs index 28470b0506f..74f0fc4ff42 100644 --- a/src/Microsoft.DotNet.Wpf/src/WindowsBase/MS/Internal/IO/Packaging/Compoundfile/ContainerUtilities.cs +++ b/src/Microsoft.DotNet.Wpf/src/WindowsBase/MS/Internal/IO/Packaging/Compoundfile/ContainerUtilities.cs @@ -1,7 +1,7 @@ -// Licensed to the .NET Foundation under one or more agreements. -// The .NET Foundation licenses this file to you under the MIT license. -// See the LICENSE file in the project root for more information. - +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. + //----------------------------------------------------------------------------- // // Description: diff --git a/src/Microsoft.DotNet.Wpf/src/WindowsBase/System/IO/Packaging/Compoundfile/FormatVersion.cs b/src/Microsoft.DotNet.Wpf/src/WindowsBase/System/IO/Packaging/Compoundfile/FormatVersion.cs index f741e234c64..c7f00a18092 100644 --- a/src/Microsoft.DotNet.Wpf/src/WindowsBase/System/IO/Packaging/Compoundfile/FormatVersion.cs +++ b/src/Microsoft.DotNet.Wpf/src/WindowsBase/System/IO/Packaging/Compoundfile/FormatVersion.cs @@ -1,7 +1,7 @@ -// Licensed to the .NET Foundation under one or more agreements. -// The .NET Foundation licenses this file to you under the MIT license. -// See the LICENSE file in the project root for more information. - +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. + //----------------------------------------------------------------------------- // // Description: diff --git a/src/Microsoft.DotNet.Wpf/src/WindowsBase/System/IO/Packaging/Compoundfile/versionPair.cs b/src/Microsoft.DotNet.Wpf/src/WindowsBase/System/IO/Packaging/Compoundfile/versionPair.cs index 30eb9cbd5ef..8a791d3407e 100644 --- a/src/Microsoft.DotNet.Wpf/src/WindowsBase/System/IO/Packaging/Compoundfile/versionPair.cs +++ b/src/Microsoft.DotNet.Wpf/src/WindowsBase/System/IO/Packaging/Compoundfile/versionPair.cs @@ -1,7 +1,7 @@ -// Licensed to the .NET Foundation under one or more agreements. -// The .NET Foundation licenses this file to you under the MIT license. -// See the LICENSE file in the project root for more information. - +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. + //----------------------------------------------------------------------------- // // Description: diff --git a/src/Microsoft.DotNet.Wpf/src/WindowsBase/System/Windows/Markup/DateTimeConverter2.cs b/src/Microsoft.DotNet.Wpf/src/WindowsBase/System/Windows/Markup/DateTimeConverter2.cs index b71b98178d2..2298ff7fecd 100644 --- a/src/Microsoft.DotNet.Wpf/src/WindowsBase/System/Windows/Markup/DateTimeConverter2.cs +++ b/src/Microsoft.DotNet.Wpf/src/WindowsBase/System/Windows/Markup/DateTimeConverter2.cs @@ -1,7 +1,7 @@ -// Licensed to the .NET Foundation under one or more agreements. -// The .NET Foundation licenses this file to you under the MIT license. -// See the LICENSE file in the project root for more information. - +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. + using System.ComponentModel; #if PBTCOMPILER diff --git a/src/Microsoft.DotNet.Wpf/src/WindowsBase/System/Windows/Markup/TypeTypeConverter.cs b/src/Microsoft.DotNet.Wpf/src/WindowsBase/System/Windows/Markup/TypeTypeConverter.cs index 4b3c50f984d..d0c9ff560bb 100644 --- a/src/Microsoft.DotNet.Wpf/src/WindowsBase/System/Windows/Markup/TypeTypeConverter.cs +++ b/src/Microsoft.DotNet.Wpf/src/WindowsBase/System/Windows/Markup/TypeTypeConverter.cs @@ -1,7 +1,7 @@ -// Licensed to the .NET Foundation under one or more agreements. -// The .NET Foundation licenses this file to you under the MIT license. -// See the LICENSE file in the project root for more information. - +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. + using System; using System.ComponentModel;