diff --git a/docs/repo/features.md b/docs/repo/features.md index 2c3e8a39f56..c4c47580dbe 100644 --- a/docs/repo/features.md +++ b/docs/repo/features.md @@ -13,11 +13,6 @@ This repository contains the following broad features: ## Property Pages [Source](/src/Microsoft.VisualStudio.Editors/PropPages) -## Resources Editor -[Source](/src/Microsoft.VisualStudio.Editors/ResourceEditor) - -![Resources Editor](/docs/repo/images/resourceseditor.png?raw=true) - ## Settings Designer [Source](/src/Microsoft.VisualStudio.Editors/SettingsDesigner) diff --git a/docs/repo/getting-started.md b/docs/repo/getting-started.md index a5503f0b3ec..4e957932bc8 100644 --- a/docs/repo/getting-started.md +++ b/docs/repo/getting-started.md @@ -117,7 +117,7 @@ While the long term goal is to have all C#, F# and Visual Basic projects use thi 4. In __File Explorer__, rename project from _[project].csproj_ -> _[project].msbuildproj_ 5. __File__ -> __Open__ -> __Project/Solution__ and browse to the project you just renamed and choose __Open__ -### AppDesigner, Settings, Resource Editors and Property Pages +### AppDesigner, Settings and Property Pages Both the new project system and the existing project system use the features built from this repository. ## Code Coverage diff --git a/docs/repo/images/resourceseditor.png b/docs/repo/images/resourceseditor.png deleted file mode 100644 index b0b3b02447b..00000000000 Binary files a/docs/repo/images/resourceseditor.png and /dev/null differ diff --git a/src/Microsoft.VisualStudio.AppDesigner/ApplicationDesigner/ApplicationDesignerPanel.vb b/src/Microsoft.VisualStudio.AppDesigner/ApplicationDesigner/ApplicationDesignerPanel.vb index 8e1a6170659..186409fb2d5 100644 --- a/src/Microsoft.VisualStudio.AppDesigner/ApplicationDesigner/ApplicationDesignerPanel.vb +++ b/src/Microsoft.VisualStudio.AppDesigner/ApplicationDesigner/ApplicationDesignerPanel.vb @@ -53,7 +53,7 @@ Namespace Microsoft.VisualStudio.Editors.ApplicationDesigner Private _docCookie As UInteger Private _docData As Object 'The DocView for the designer, if we were able to retrieve it (if we understood the designer type). This would - ' be a PropPageDesignerView for our hosted property pages, ResourceEditorView for the resource editor, etc. + ' be a PropPageDesignerView for our hosted property pages, etc. Private _docView As Control 'This is Nothing if we're not displaying a property page diff --git a/src/Microsoft.VisualStudio.AppDesigner/ApplicationDesigner/ApplicationDesignerRootComponent.vb b/src/Microsoft.VisualStudio.AppDesigner/ApplicationDesigner/ApplicationDesignerRootComponent.vb index 0b5166f896e..200a914ab6e 100644 --- a/src/Microsoft.VisualStudio.AppDesigner/ApplicationDesigner/ApplicationDesignerRootComponent.vb +++ b/src/Microsoft.VisualStudio.AppDesigner/ApplicationDesigner/ApplicationDesignerRootComponent.vb @@ -24,7 +24,7 @@ Namespace Microsoft.VisualStudio.Editors.ApplicationDesigner ''' designer which is showing the UI to the user which allows this component's ''' resx file to be edited by the user. ''' - ''' The associated ResourceEditorRootDesigner. + ''' The associated ApplicationDesignerRootDesigner. Public ReadOnly Property RootDesigner As ApplicationDesignerRootDesigner Get If _rootDesigner Is Nothing Then diff --git a/src/Microsoft.VisualStudio.AppDesigner/ApplicationDesigner/ApplicationDesignerRootDesigner.vb b/src/Microsoft.VisualStudio.AppDesigner/ApplicationDesigner/ApplicationDesignerRootDesigner.vb index 4038d93d338..bc79d147ab5 100644 --- a/src/Microsoft.VisualStudio.AppDesigner/ApplicationDesigner/ApplicationDesignerRootDesigner.vb +++ b/src/Microsoft.VisualStudio.AppDesigner/ApplicationDesigner/ApplicationDesignerRootDesigner.vb @@ -5,12 +5,8 @@ Imports System.ComponentModel.Design Namespace Microsoft.VisualStudio.Editors.ApplicationDesigner - ' {E18B7249-8322-44c3-9A57-FE5FF3889F89} - 'static const GUID <> = - '{ 0xe18b7249, 0x8322, 0x44c3, { 0x9a, 0x57, 0xfe, 0x5f, 0xf3, 0x88, 0x9f, 0x89 } }; - ''' - ''' This is the designer for the top-level resource editor component (ApplicationDesigner). I.e., this + ''' This is the designer for the top-level editor component (ApplicationDesigner). I.e., this ''' is the top-level designer. ''' Public NotInheritable Class ApplicationDesignerRootDesigner @@ -69,7 +65,7 @@ Namespace Microsoft.VisualStudio.Editors.ApplicationDesigner ''' ''' Called by the managed designer mechanism to determine what kinds of view technologies we support. - ''' We currently support only Windows Forms technology (i.e., our designer view, ResourceEditorView, + ''' We currently support only Windows Forms technology (i.e., our designer view which ''' inherits from System.Windows.Forms.Control) ''' ''' @@ -83,11 +79,11 @@ Namespace Microsoft.VisualStudio.Editors.ApplicationDesigner ''' ''' Called by the managed designer technology to get our view, or the actual control that implements - ''' our resource editor's designer surface. In this case, we return an instance of ResourceEditorView. + ''' our application designer surface. In this case, we return an instance of ApplicationDesignerView. ''' ''' ''' - ''' The newly-instantiated ResourceEditorView object. + ''' The newly-instantiated ApplicationDesignerView object. ''' Private Function RootDesigner_GetView(Technology As ViewTechnology) As Object Implements IRootDesigner.GetView If Technology <> ViewTechnology.Default Then diff --git a/src/Microsoft.VisualStudio.AppDesigner/Common/Utils.vb b/src/Microsoft.VisualStudio.AppDesigner/Common/Utils.vb index 66e09d27a39..41c4bd3d575 100644 --- a/src/Microsoft.VisualStudio.AppDesigner/Common/Utils.vb +++ b/src/Microsoft.VisualStudio.AppDesigner/Common/Utils.vb @@ -18,11 +18,6 @@ Namespace Microsoft.VisualStudio.Editors.AppDesCommon Friend Module Utils - 'The transparent color used for all bitmaps in the resource editor is lime (R=0, G=255, B=0). - ' Any pixels of this color will be converted to transparent if StandardTransparentColor - ' is passed to GetManifestBitmap - Public ReadOnly StandardTransparentColor As Color = Color.Lime - Public VBPackageInstance As IVBPackage ' The maximal amount of files that can be added at one shot. (copied from other VS features) @@ -109,17 +104,6 @@ Namespace Microsoft.VisualStudio.Editors.AppDesCommon End If End Function - ''' - ''' Retrieves a transparent copy of a given bitmap from the manifest resources. - ''' - ''' Name of the bitmap resource (not including the assembly name, e.g. "Link.bmp") - ''' Name of assembly containing the manifest resource - ''' The retrieved transparent bitmap - ''' Throws an internal exception if the bitmap cannot be found or loaded. - Public Function GetManifestBitmapTransparent(BitmapID As String, Optional ByRef assembly As Assembly = Nothing) As Bitmap - Return GetManifestBitmapTransparent(BitmapID, StandardTransparentColor, assembly) - End Function - ''' ''' Retrieves a given image from the manifest resources. ''' @@ -299,22 +283,6 @@ Namespace Microsoft.VisualStudio.Editors.AppDesCommon End If End Sub - ''' - ''' Set the drop-down width of a datagridviewcomboboxcolumn wide enough to show the text of all entries in it - ''' - ''' The column to change the width for - ''' - ''' This does not take the current cell style into account - it uses the font from the parent datagridview (if any) - ''' It also makes room for the scrollbar even though it may not be visible... - ''' - Public Sub SetComboBoxColumnDropdownWidth(column As DataGridViewComboBoxColumn) - If column IsNot Nothing AndAlso column.DataGridView IsNot Nothing Then - column.DropDownWidth = Math.Max(MeasureMaxTextWidth(column.DataGridView, column.Items) + SystemInformation.VerticalScrollBarWidth, column.Width) - Else - Debug.Fail("SetComboBoxColumnDropdownWidth: No combobox column specified, or the column didn't have a parent datagridview!") - End If - End Sub - ''' ''' Check whether the screen reader is running ''' @@ -331,29 +299,6 @@ Namespace Microsoft.VisualStudio.Editors.AppDesCommon Return False End Function - ''' - ''' Sets error code and error message through IVsUIShell interface - ''' - ''' error code - ''' error message - Public Sub SetErrorInfo(sp As ServiceProvider, hr As Integer, errorMessage As String) - Dim vsUIShell As IVsUIShell = Nothing - - If sp IsNot Nothing Then - vsUIShell = CType(sp.GetService(GetType(IVsUIShell)), IVsUIShell) - End If - - If vsUIShell Is Nothing AndAlso Not VBPackageInstance IsNot Nothing Then - vsUIShell = CType(VBPackageInstance.GetService(GetType(IVsUIShell)), IVsUIShell) - End If - - If vsUIShell IsNot Nothing Then - vsUIShell.SetErrorInfo(hr, errorMessage, 0, Nothing, Nothing) - Else - Debug.Fail("Could not get IVsUIShell from service provider. Can't set specific error message.") - End If - End Sub - ''' ''' Sets focus to the first (or last) control inside of a parent HWND. ''' diff --git a/src/Microsoft.VisualStudio.AppDesigner/Common/switches.vb b/src/Microsoft.VisualStudio.AppDesigner/Common/switches.vb index 153918e19b5..9a0a2e179c3 100644 --- a/src/Microsoft.VisualStudio.AppDesigner/Common/switches.vb +++ b/src/Microsoft.VisualStudio.AppDesigner/Common/switches.vb @@ -21,7 +21,7 @@ Namespace Microsoft.VisualStudio.Editors.AppDesCommon . . . - Public Shared FileWatcher As New TraceSwitch("FileWatcher", "Trace the resource editor FileWatcher class.") + Public Shared FileWatcher As New TraceSwitch("FileWatcher", "Trace the property page editor FileWatcher class.") . . . @@ -145,48 +145,6 @@ Namespace Microsoft.VisualStudio.Editors.AppDesCommon ''' Friend NotInheritable Class Switches - '------------- Resource Editor ------------- - - ''' - ''' Trace for the ResourceEditor.FileWatcher class - ''' - Public Shared RSEFileWatcher As New TraceSwitch("RSEFileWatcher", "Trace the resource editor FileWatcher class.") - - ''' - ''' Tracing for the ResourceEditor.ResourceSerializationService class - ''' - Public Shared RSEResourceSerializationService As New TraceSwitch("RSEResourceSerializationService", "Trace the resource editor ResourceSerializationService class.") - - ''' - ''' Track adding and removing resources in the resource editor - ''' - Public Shared RSEAddRemoveResources As New TraceSwitch("RSEAddRemoveResources", "Trace adding/removing resources in the resource editor") - - ''' - ''' Trace virtual mode methods in the resource editor's string table - ''' - Public Shared RSEVirtualStringTable As New TraceSwitch("RSEVirtualStringTable", "Trace virtual mode methods in the resource editor's string table") - - ''' - ''' Trace virtual mode methods in the resource editor's listview - ''' - Public Shared RSEVirtualListView As New TraceSwitch("RSEVirtualListView", "Trace virtual mode methods in the resource editor's listview") - - ''' - ''' Trace the delayed checking of errors in resources - ''' - Public Shared RSEDelayCheckErrors As New TraceSwitch("RSEDelayCheckErrors", "Trace the delayed checking of errors in resources") - - ''' - ''' Disable high-quality options on the Graphics object when creating thumbnails in the resource editor - ''' - Public Shared RSEDisableHighQualityThumbnails As New BooleanSwitch("RSEDisableHighQualityThumbnails", "Disable high-quality options on the Graphics object when creating thumbnails in the resource editor") - - ''' - ''' Trace find/replace in the resource editor - ''' - Public Shared RSEFindReplace As New TraceSwitch("RSEFindReplace", "Trace find/replace in the resource editor") - '------------- Designer Framework ------------- ''' @@ -614,71 +572,6 @@ Namespace Microsoft.VisualStudio.Editors.AppDesCommon #End If End Sub - ''' - ''' Traces the access modifier combobox functionality - ''' - - Public Shared Sub TracePDAccessModifierCombobox(traceLevel As TraceLevel, message As String) -#If DEBUG Then - Trace.WriteLineIf(PDAccessModifierCombobox.Level >= traceLevel, "PDAccessModifierCombobox: " & message) -#End If - End Sub - - ''' - ''' Trace serialization of settings - ''' - ''' - ''' - - Public Overloads Shared Sub TraceSDSerializeSettings(tracelevel As TraceLevel, message As String) -#If DEBUG Then - Trace.WriteLineIf(SDSerializeSettings.Level >= tracelevel, message) -#End If - End Sub - - ''' - ''' Trace serialization of settings - ''' - ''' - ''' - ''' - - Public Overloads Shared Sub TraceSDSerializeSettings(tracelevel As TraceLevel, formatString As String, ParamArray parameters() As Object) -#If DEBUG Then - Trace.WriteLineIf(SDSerializeSettings.Level >= tracelevel, String.Format(formatString, parameters)) -#End If - End Sub - - - Public Overloads Shared Sub TracePDLinqImports(tracelevel As TraceLevel, formatString As String, ParamArray parameters() As Object) -#If DEBUG Then - Trace.WriteLineIf(PDLinqImports.Level >= tracelevel, Format(formatString, parameters)) -#End If - End Sub - - ''' - ''' Trace changes to one of the monitored configuration files - ''' - ''' - - Public Overloads Shared Sub TraceWCFConfigFileChangeWatch(tracelevel As TraceLevel, formatString As String, ParamArray parameters() As Object) -#If DEBUG Then - Trace.WriteLineIf(WCF_Config_FileChangeWatch.Level >= tracelevel, String.Format(formatString, parameters)) -#End If - End Sub - - ''' - ''' Trace changes to one of the monitored configuration files - ''' - ''' - ''' - - Public Overloads Shared Sub TraceWCFConfigFileChangeWatch(tracelevel As TraceLevel, message As String) -#If DEBUG Then - Trace.WriteLineIf(WCF_Config_FileChangeWatch.Level >= tracelevel, message) -#End If - End Sub - Public Shared Sub TracePDPerfBegin(e As System.Windows.Forms.LayoutEventArgs, Message As String, ParamArray FormatArguments() As Object) #If DEBUG Then @@ -687,14 +580,6 @@ Namespace Microsoft.VisualStudio.Editors.AppDesCommon #End If End Sub - - Public Shared Sub TraceMyExtensibility(traceLevel As TraceLevel, message As String) -#If DEBUG Then - Trace.WriteLineIf(MyExtensibilityTraceSwitch.Level >= traceLevel, String.Format("MyExtensibility {0} {1}: ", Date.Now.ToLongDateString(), Date.Now.ToLongTimeString())) - Trace.WriteLineIf(MyExtensibilityTraceSwitch.Level >= traceLevel, message) -#End If - End Sub - End Class End Namespace diff --git a/src/Microsoft.VisualStudio.AppDesigner/DesignerFramework/BaseRootDesigner.vb b/src/Microsoft.VisualStudio.AppDesigner/DesignerFramework/BaseRootDesigner.vb index f826406ccce..118d72c7acf 100644 --- a/src/Microsoft.VisualStudio.AppDesigner/DesignerFramework/BaseRootDesigner.vb +++ b/src/Microsoft.VisualStudio.AppDesigner/DesignerFramework/BaseRootDesigner.vb @@ -82,8 +82,7 @@ Namespace Microsoft.VisualStudio.Editors.AppDesDesignerFramework ''' TRUE to keep previously registered menu commands for this designer. ''' FALSE otherwise, the root designer will clear its menu commands list and add the new one. ''' - ''' Child root designers call this method to register their own menu commands. - ''' See ResourceEditorRootDesigner. + ''' Child root designers call this method to register their own menu commands. Public Sub RegisterMenuCommands(MenuCommands As ArrayList, Optional KeepRegisteredMenuCommands As Boolean = True) ' Clear the list of menu commands if specified. diff --git a/src/Microsoft.VisualStudio.AppDesigner/PropPageDesigner/PropPageDesignerEditorFactory.vb b/src/Microsoft.VisualStudio.AppDesigner/PropPageDesigner/PropPageDesignerEditorFactory.vb index f39f16526fa..3733ea598dc 100644 --- a/src/Microsoft.VisualStudio.AppDesigner/PropPageDesigner/PropPageDesignerEditorFactory.vb +++ b/src/Microsoft.VisualStudio.AppDesigner/PropPageDesigner/PropPageDesignerEditorFactory.vb @@ -15,8 +15,8 @@ Namespace Microsoft.VisualStudio.Editors.PropPageDesigner ';PropPageDesignerEditorFactory ' 'Remarks: - ' The editor factory for the resource editor. The job of this class is - ' simply to create a new resource editor designer when requested by the + ' The editor factory for the property page editor. The job of this class is + ' simply to create a new property page editor designer when requested by the ' shell. '************************************************************************** - ''' The associated ResourceEditorRootDesigner. + ''' The associated PropPageDesignerRootDesigner. Public ReadOnly Property RootDesigner As PropPageDesignerRootDesigner Get If _rootDesigner Is Nothing Then diff --git a/src/Microsoft.VisualStudio.AppDesigner/PropPageDesigner/PropPageDesignerRootDesigner.vb b/src/Microsoft.VisualStudio.AppDesigner/PropPageDesigner/PropPageDesignerRootDesigner.vb index 04d4884c22f..19f95d6adea 100644 --- a/src/Microsoft.VisualStudio.AppDesigner/PropPageDesigner/PropPageDesignerRootDesigner.vb +++ b/src/Microsoft.VisualStudio.AppDesigner/PropPageDesigner/PropPageDesignerRootDesigner.vb @@ -4,12 +4,8 @@ Imports System.ComponentModel.Design Namespace Microsoft.VisualStudio.Editors.PropPageDesigner - ' {E18B7249-8322-44c3-9A57-FE5FF3889F89} - 'static const GUID <> = - '{ 0xe18b7249, 0x8322, 0x44c3, { 0x9a, 0x57, 0xfe, 0x5f, 0xf3, 0x88, 0x9f, 0x89 } }; - ''' - ''' This is the designer for the top-level resource editor component (PropPageDesigner). I.e., this + ''' This is the designer for the top-level property page editor component (PropPageDesigner). I.e., this ''' is the top-level designer. ''' Public NotInheritable Class PropPageDesignerRootDesigner @@ -45,7 +41,7 @@ Namespace Microsoft.VisualStudio.Editors.PropPageDesigner ''' ''' Called by the managed designer mechanism to determine what kinds of view technologies we support. - ''' We currently support only Windows Forms technology (i.e., our designer view, ResourceEditorView, + ''' We currently support only Windows Forms technology (i.e., our designer view which ''' inherits from System.Windows.Forms.Control) ''' ''' @@ -59,11 +55,11 @@ Namespace Microsoft.VisualStudio.Editors.PropPageDesigner ''' ''' Called by the managed designer technology to get our view, or the actual control that implements - ''' our resource editor's designer surface. In this case, we return an instance of ResourceEditorView. + ''' our property page editor's designer surface. In this case, we return an instance of PropPageDesignerView. ''' ''' ''' - ''' The newly-instantiated ResourceEditorView object. + ''' The newly-instantiated PropPageDesignerView object. ''' Private Function RootDesigner_GetView(Technology As ViewTechnology) As Object Implements IRootDesigner.GetView If Technology <> ViewTechnology.Default Then diff --git a/src/Microsoft.VisualStudio.AppDesigner/PropPageDesigner/PropertyPageSerializationService.vb b/src/Microsoft.VisualStudio.AppDesigner/PropPageDesigner/PropertyPageSerializationService.vb index 8e5a911c55c..fe26073024d 100644 --- a/src/Microsoft.VisualStudio.AppDesigner/PropPageDesigner/PropertyPageSerializationService.vb +++ b/src/Microsoft.VisualStudio.AppDesigner/PropPageDesigner/PropertyPageSerializationService.vb @@ -131,7 +131,7 @@ Namespace Microsoft.VisualStudio.Editors.PropPageDesigner Public Overrides Sub SerializeMemberAbsolute(Store As SerializationStore, OwningObject As Object, Member As MemberDescriptor) 'This method is intended for properties such as collections which might have had only some of their ' members changed. - 'The resource editor doesn't have any such properties, so we just treat this the same + 'The property page editor doesn't have any such properties, so we just treat this the same ' as simple SerializeMember (ignoring OldValue) SerializeMember(Store, OwningObject, Member) diff --git a/src/Microsoft.VisualStudio.AppDesigner/Resources/Designer.Designer.vb b/src/Microsoft.VisualStudio.AppDesigner/Resources/Designer.Designer.vb index cbba1fe15fd..e5dad4f4780 100644 --- a/src/Microsoft.VisualStudio.AppDesigner/Resources/Designer.Designer.vb +++ b/src/Microsoft.VisualStudio.AppDesigner/Resources/Designer.Designer.vb @@ -22,7 +22,7 @@ Namespace My.Resources ''' ''' A strongly-typed resource class, for looking up localized strings, etc. ''' - _ Friend Class Designer diff --git a/src/Microsoft.VisualStudio.Editors/Common/DTEUtils.vb b/src/Microsoft.VisualStudio.Editors/Common/DTEUtils.vb index dfe6f5c8451..4e4f2dc94a8 100644 --- a/src/Microsoft.VisualStudio.Editors/Common/DTEUtils.vb +++ b/src/Microsoft.VisualStudio.Editors/Common/DTEUtils.vb @@ -3,6 +3,7 @@ Imports System.IO Imports EnvDTE +Imports EnvDTE.Constants Imports Microsoft.VisualStudio.Shell.Interop @@ -13,6 +14,14 @@ Namespace Microsoft.VisualStudio.Editors.Common ''' Friend NotInheritable Class DTEUtils +#Region "Constants from DTE.idl" + + 'A Guid version of vsProjectItemKindPhysicalFolder, which as a projectitem kind indicates that the + ' projectitem is a physical folder on disk (as opposed to a virtual folder, etc.) + Private Shared ReadOnly s_guid_vsProjectItemKindPhysicalFolder As New Guid(vsProjectItemKindPhysicalFolder) + +#End Region + Public Const PROJECTPROPERTY_CUSTOMTOOL As String = "CustomTool" Public Const PROJECTPROPERTY_CUSTOMTOOLNAMESPACE As String = "CustomToolNamespace" @@ -33,7 +42,15 @@ Namespace Microsoft.VisualStudio.Editors.Common ''' The key to check for. ''' The ProjectItem for the given key, if found, else Nothing. Throws exceptions only in unexpected cases. Public Shared Function QueryProjectItems(ProjectItems As ProjectItems, Name As String) As ProjectItem - Return ResourceEditor.ResourcesFolderService.QueryProjectItems(ProjectItems, Name) + Try + Return ProjectItems.Item(Name) + Catch ex As ArgumentException + 'This is the expected exception if the key could not be found. + Catch ex As Exception When ReportWithoutCrash(ex, "Unexpected exception searching for an item in ProjectItems", NameOf(DTEUtils)) + 'Any other error - shouldn't be the case, but it might depend on the project implementation + End Try + + Return Nothing End Function ''' @@ -42,7 +59,80 @@ Namespace Microsoft.VisualStudio.Editors.Common ''' The ProjectItems collection to check. Must refer to a physical folder on disk. ''' The directory name of the collection on disk. Public Shared Function GetFolderNameFromProjectItems(ProjectItems As ProjectItems) As String - Return ResourceEditor.ResourcesFolderService.GetFolderNameFromProjectItems(ProjectItems) + If s_guid_vsProjectItemKindPhysicalFolder.Equals(New Guid(ProjectItems.Kind)) Then + If TypeOf ProjectItems.Parent Is Project Then + Return GetProjectDirectory(DirectCast(ProjectItems.Parent, Project)) + ElseIf TypeOf ProjectItems.Parent Is ProjectItem Then + Return GetFileNameFromFolderProjectItem(DirectCast(ProjectItems.Parent, ProjectItem)) + Else + Debug.Fail("Unexpected Parent type for ProjectItems") + Return Nothing + End If + Else + Debug.Fail("Shouldn't call GetFileNameFromProjectItems for a ProjectItems collection that is not a physical disk folder.") + Return "" + End If + End Function + + ''' + ''' Retrieves the file name on disk for a ProjectItem. + ''' + ''' The project item to check. + ''' The filename and path of the project item. + Private Shared Function GetFileNameFromFolderProjectItem(ProjectItem As ProjectItem) As String + If s_guid_vsProjectItemKindPhysicalFolder.Equals(New Guid(ProjectItem.Kind)) Then + 'The FileNames property represents the actual full path of the directory if the folder + ' is an actual physical folder on disk. + Debug.Assert(ProjectItem.FileCount = 1, "Didn't expect multiple filenames for a folder ProjectItem") + Return ProjectItem.FileNames(1) 'this collection is 1-indexed + Else + Debug.Fail("Trying to get filename of a non-physical folder in the project") + Return "" + End If + End Function + + ''' + ''' Given a project, returns the project's directory on disk. + ''' + ''' The project to query. + Private Shared Function GetProjectDirectory(Project As Project) As String + 'Some special cases. In particular, note that the Miscellaneous Files project + ' has a FullName value of the empty string. + If Project Is Nothing OrElse Project.FullName Is Nothing OrElse Project.FullName = "" OrElse IsMiscellaneousProject(Project) Then + Debug.Fail("Shouldn't be calling this with a null Project or with the Miscellaneous Files Project") + Return "" + End If + + Dim ProjectDirectory As String + Try + ProjectDirectory = Path.GetFullPath(Path.GetDirectoryName(Project.FullName)) + Catch ex As ArgumentException + 'In some scenarios Project.FullName does not give us an actual location on the local file + ' system (e.g. when working with ASP.NET projects created on a URL instead of the local file + ' system). ASP.NET projects have a FullPath property which gives us what we want. Let's try + ' that before giving up. + ProjectDirectory = Path.GetFullPath(Path.GetDirectoryName(CStr(Project.Properties.Item("FullPath").Value))) + End Try + + Debug.Assert(Directory.Exists(ProjectDirectory), "Project's FullName property is not its path on disk?") + Return ProjectDirectory + End Function + + ''' + ''' Given a project, determine if it is the Miscellaneous Files project + ''' + ''' + Private Shared Function IsMiscellaneousProject(Project As Project) As Boolean + If vsMiscFilesProjectUniqueName.Equals(Project.UniqueName, StringComparison.OrdinalIgnoreCase) Then + Return True + End If + + If Project.FullName = "" Then + Debug.Fail("This project is not the miscellaneous files project, but its FullName is empty!") + Return True 'defensive + End If + + Return False End Function ''' @@ -67,27 +157,6 @@ Namespace Microsoft.VisualStudio.Editors.Common Return DirectCast(ExtensibilityObject, ProjectItem) End Function - ''' - ''' Finds all files within a given ProjectItem that contain the given extension - ''' - ''' The ProjectItems node to search through - ''' The extension to search for, including the period. E.g. ".resx" - ''' If True, the search will continue to children. - Public Shared Function FindAllFilesWithExtension(ProjectItems As ProjectItems, Extension As String, SearchChildren As Boolean) As List(Of ProjectItem) - Dim ResXFiles As New List(Of ProjectItem) - For Each Item As ProjectItem In ProjectItems - If Path.GetExtension(Item.FileNames(1)).Equals(Extension, StringComparison.OrdinalIgnoreCase) Then - ResXFiles.Add(Item) - End If - - If SearchChildren AndAlso Item.ProjectItems.Count > 0 Then - ResXFiles.AddRange(FindAllFilesWithExtension(Item.ProjectItems, Extension, SearchChildren)) - End If - Next - - Return ResXFiles - End Function - ''' ''' Get the file name from a project item. ''' @@ -209,7 +278,7 @@ Namespace Microsoft.VisualStudio.Editors.Common Public Shared Function FindProjectItem(projectItems As ProjectItems, fileName As String) As ProjectItem For Each projectItem As ProjectItem In projectItems If projectItem.Kind.Equals( - EnvDTE.Constants.vsProjectItemKindPhysicalFile, StringComparison.OrdinalIgnoreCase) AndAlso + vsProjectItemKindPhysicalFile, StringComparison.OrdinalIgnoreCase) AndAlso projectItem.FileCount > 0 Then Dim itemFileName As String = Path.GetFileName(projectItem.FileNames(1)) diff --git a/src/Microsoft.VisualStudio.Editors/Common/ShellUtil.vb b/src/Microsoft.VisualStudio.Editors/Common/ShellUtil.vb index 909233f41f2..22740c4e4ab 100644 --- a/src/Microsoft.VisualStudio.Editors/Common/ShellUtil.vb +++ b/src/Microsoft.VisualStudio.Editors/Common/ShellUtil.vb @@ -55,20 +55,6 @@ Namespace Microsoft.VisualStudio.Editors.Common Return Color.FromArgb(CInt(abgrValue And &HFFUI), CInt((abgrValue And &HFF00UI) >> 8), CInt((abgrValue And &HFF0000UI) >> 16)) End Function - ''' - ''' Retrieves the window that should be used as the owner of all dialogs and messageboxes. - ''' - Friend Shared Function GetDialogOwnerWindow(serviceProvider As IServiceProvider) As IWin32Window - Dim dialogOwner As IWin32Window = Nothing - Dim UIService As IUIService = DirectCast(serviceProvider.GetService(GetType(IUIService)), IUIService) - If UIService IsNot Nothing Then - dialogOwner = UIService.GetDialogOwnerWindow() - End If - - Debug.Assert(dialogOwner IsNot Nothing, "Couldn't get DialogOwnerWindow") - Return dialogOwner - End Function - ''' ''' Given an IVsCfg, get its configuration and platform names. ''' @@ -234,24 +220,6 @@ Namespace Microsoft.VisualStudio.Editors.Common Return TryCast(ConfigProvider, IVsCfgProvider2) End Function - ''' - ''' Given a hierarchy, determine if this is a devices project... - ''' - ''' - Public Shared Function IsDeviceProject(hierarchy As IVsHierarchy) As Boolean - If hierarchy Is Nothing Then - Debug.Fail("I can't determine if this is a devices project from a NULL hierarchy!?") - Return False - End If - - Dim vsdProperty As Object = Nothing - Dim hr As Integer = hierarchy.GetProperty(VSITEMID.ROOT, 8000, vsdProperty) - If Interop.NativeMethods.Succeeded(hr) AndAlso vsdProperty IsNot Nothing AndAlso TryCast(vsdProperty, IVSDProjectProperties) IsNot Nothing Then - Return True - End If - Return False - End Function - ''' ''' Is this a Venus project? ''' @@ -444,13 +412,6 @@ Namespace Microsoft.VisualStudio.Editors.Common End Function - ''' - ''' a fake IVSDProjectProperties definition. We only use this to check whether the project supports this interface, but don't pay attention to the detail. - ''' - - Private Interface IVSDProjectProperties - End Interface - ''' ''' Wrapper class for IVsShell.OnBroadcastMessage ''' @@ -655,45 +616,6 @@ Namespace Microsoft.VisualStudio.Editors.Common Public Shared Function GetServiceProvider(dte As DTE) As IServiceProvider Return New Shell.ServiceProvider(DirectCast(dte, OLE.Interop.IServiceProvider)) End Function - ''' - ''' VSHPROPID_IsDefaultNamespaceRefactorNotify only exists in C#. Other langs will not have this property - ''' - ''' C# does not support default namespace rename. this flag will tell the caller if - ''' this is a default renamespace rename or not. - ''' - ''' - ''' - Public Shared Function IsDefaultNamespaceRename(pHier As IVsHierarchy, itemId As UInteger) As Boolean - ' result <<== out - Dim result As Object = Nothing - Dim success As Boolean = VSErrorHandler.Succeeded(pHier.GetProperty(itemId, CType(__VSHPROPID3.VSHPROPID_IsDefaultNamespaceRefactorNotify, Integer), result)) - - If Not success OrElse result Is Nothing Then - Return False - End If - - Return CType(result, Boolean) - End Function - - ''' - ''' Create a Type Resolution Service. - ''' - ''' - ''' - Friend Shared Function CreateTypeResolutionService(serviceProvider As IServiceProvider, hierarchy As IVsHierarchy) As System.ComponentModel.Design.ITypeResolutionService - Dim dynamicTypeService As Shell.Design.DynamicTypeService = - TryCast(serviceProvider.GetService( - GetType(Shell.Design.DynamicTypeService)), - Shell.Design.DynamicTypeService) - - Dim trs As System.ComponentModel.Design.ITypeResolutionService = Nothing - - If dynamicTypeService IsNot Nothing Then - trs = dynamicTypeService.GetTypeResolutionService(hierarchy, VSITEMID.ROOT) - End If - - Return trs - End Function ''' ''' Gets VS color from the shell's color service. If for some reason this fails or is False, returns the supplied diff --git a/src/Microsoft.VisualStudio.Editors/Common/Utils.vb b/src/Microsoft.VisualStudio.Editors/Common/Utils.vb index c470fc71d7d..7a6c87b7eb6 100644 --- a/src/Microsoft.VisualStudio.Editors/Common/Utils.vb +++ b/src/Microsoft.VisualStudio.Editors/Common/Utils.vb @@ -24,47 +24,11 @@ Namespace Microsoft.VisualStudio.Editors.Common Friend Module Utils - 'The transparent color used for all bitmaps in the resource editor is lime (R=0, G=255, B=0). - ' Any pixels of this color will be converted to transparent if StandardTransparentColor - ' is passed to GetManifestBitmap - Public ReadOnly StandardTransparentColor As Color = Color.Lime - ' The maximal amount of files that can be added at one shot. (copied from other VS features) Private Const VSDPLMAXFILES As Integer = 200 Private s_imageService As IVsImageService2 - 'Property page GUIDs. These are used only for sorting the tabs in the project designer, and for providing a - ' unique ID for SQM. Both cases are optional (we handle getting property pages with GUIDs we don't recognize). - 'PERF: NOTE: Initializing GUIDs from numeric values as below is a lot faster than initializing from strings. - Friend Class KnownPropertyPageGuids - Friend Shared ReadOnly GuidApplicationPage_VB As Guid = New Guid(&H8998E48EUI, &HB89AUS, &H4034US, &HB6, &H6E, &H35, &H3D, &H8C, &H1F, &HDC, &H2E) - Friend Shared ReadOnly GuidApplicationPage_VB_WPF As Guid = New Guid(&HAA1F44UI, &H2BA3US, &H4EAAUS, &HB5, &H4A, &HCE, &H18, &H0, &HE, &H6C, &H5D) - Friend Shared ReadOnly GuidApplicationPage_CS As Guid = New Guid(&H5E9A8AC2UI, &H4F34US, &H4521US, CByte(&H85), CByte(&H8F), CByte(&H4C), CByte(&H24), CByte(&H8B), CByte(&HA3), CByte(&H15), CByte(&H32)) - Friend Shared ReadOnly GuidApplicationPage_JS As Guid = GuidApplicationPage_CS - Friend Shared ReadOnly GuidSigningPage As Guid = New Guid(&HF8D6553FUI, &HF752US, &H4DBFUS, CByte(&HAC), CByte(&HB6), CByte(&HF2), CByte(&H91), CByte(&HB7), CByte(&H44), CByte(&HA7), CByte(&H92)) - Friend Shared ReadOnly GuidReferencesPage_VB As Guid = New Guid(&H4E43F4ABUI, &H9F03US, &H4129US, CByte(&H95), CByte(&HBF), CByte(&HB8), CByte(&HFF), CByte(&H87), CByte(&HA), CByte(&HF6), CByte(&HAB)) - Friend Shared ReadOnly GuidServicesPropPage As Guid = New Guid(&H43E38D2EUI, &H4EB8US, &H4204US, CByte(&H82), CByte(&H25), CByte(&H93), CByte(&H57), CByte(&H31), CByte(&H61), CByte(&H37), CByte(&HA4)) - Friend Shared ReadOnly GuidSecurityPage As Guid = New Guid(&HDF8F7042UI, &HBB1US, &H47D1US, CByte(&H8E), CByte(&H6D), CByte(&HDE), CByte(&HB3), CByte(&HD0), CByte(&H76), CByte(&H98), CByte(&HBD)) - Friend Shared ReadOnly GuidSecurityPage_WPF As Guid = New Guid(&HA2C8FEUI, &H3844US, &H41BEUS, CByte(&H96), CByte(&H37), CByte(&H16), CByte(&H74), CByte(&H54), CByte(&HA7), CByte(&HF1), CByte(&HA7)) - Friend Shared ReadOnly GuidPublishPage As Guid = New Guid(&HCC4014F5UI, &HB18DUS, &H439CUS, CByte(&H93), CByte(&H52), CByte(&HF9), CByte(&H9D), CByte(&H98), CByte(&H4C), CByte(&HCA), CByte(&H85)) - Friend Shared ReadOnly GuidDebugPage As Guid = New Guid(&H6185191FUI, &H1008US, &H4FB2US, CByte(&HA7), CByte(&H15), CByte(&H3A), CByte(&H4E), CByte(&H4F), CByte(&H27), CByte(&HE6), CByte(&H10)) - Friend Shared ReadOnly GuidCompilePage_VB As Guid = New Guid(&HEDA661EAUI, &HDC61US, &H4750US, CByte(&HB3), CByte(&HA5), CByte(&HF6), CByte(&HE9), CByte(&HC7), CByte(&H40), CByte(&H60), CByte(&HF5)) - Friend Shared ReadOnly GuidBuildPage_CS As Guid = New Guid(&HA54AD834UI, &H9219US, &H4AA6US, CByte(&HB5), CByte(&H89), CByte(&H60), CByte(&H7A), CByte(&HF2), CByte(&H1C), CByte(&H3E), CByte(&H26)) - Friend Shared ReadOnly GuidBuildPage_JS As Guid = New Guid(&H8ADF8DB1UI, &HA8B8US, &H4E04US, CByte(&HA6), CByte(&H16), CByte(&H2E), CByte(&HFC), CByte(&H59), CByte(&H5F), CByte(&H27), CByte(&HF4)) - Friend Shared ReadOnly GuidReferencePathsPage As Guid = New Guid(&H31911C8UI, &H6148US, &H4E25US, CByte(&HB1), CByte(&HB1), CByte(&H44), CByte(&HBC), CByte(&HA9), CByte(&HA0), CByte(&HC4), CByte(&H5C)) - Friend Shared ReadOnly GuidBuildEventsPage As Guid = New Guid(&H1E78F8DBUI, &H6C07US, &H4D61US, CByte(&HA1), CByte(&H8F), CByte(&H75), CByte(&H14), CByte(&H1), CByte(&HA), CByte(&HBD), CByte(&H56)) - Friend Shared ReadOnly GuidDatabasePage_SQL As Guid = New Guid(&H87F6ADCEUI, &H9161US, &H489FUS, CByte(&H90), CByte(&H7E), CByte(&H39), CByte(&H30), CByte(&HA6), CByte(&H42), CByte(&H96), CByte(&H9)) - Friend Shared ReadOnly GuidFxCopPage As Guid = New Guid(&H984AE51AUI, &H4B21US, &H44E7US, CByte(&H82), CByte(&H2C), CByte(&HDD), CByte(&H5E), CByte(&H4), CByte(&H68), CByte(&H93), CByte(&HEF)) - Friend Shared ReadOnly GuidDeployPage As Guid = New Guid(&H29AB1D1BUI, &H10E8US, &H4511US, CByte(&HA3), CByte(&H62), CByte(&HEF), CByte(&H15), CByte(&H71), CByte(&HB8), CByte(&H44), CByte(&H3C)) - Friend Shared ReadOnly GuidDevicesPage_VSD As Guid = New Guid(&H7B74AADFUI, &HACA4US, &H410EUS, CByte(&H8D), CByte(&H4B), CByte(&HAF), CByte(&HE1), CByte(&H19), CByte(&H83), CByte(&H5B), CByte(&H99)) - Friend Shared ReadOnly GuidDebugPage_VSD As Guid = New Guid(&HAC5FAEC7UI, &HD452US, &H4AC1US, CByte(&HBC), CByte(&H44), CByte(&H2D), CByte(&H7E), CByte(&HCE), CByte(&H6D), CByte(&HF0), CByte(&H6C)) - Friend Shared ReadOnly GuidMyExtensionsPage As Guid = New Guid(&HF24459FCUI, &HE883US, &H4A8EUS, CByte(&H9D), CByte(&HA2), CByte(&HAE), CByte(&HF6), CByte(&H84), CByte(&HF0), CByte(&HE1), CByte(&HF4)) - Friend Shared ReadOnly GuidOfficePublishPage As Guid = New Guid(&HCC7369A8UI, &HB9B0US, &H439CUS, CByte(&HB1), CByte(&H36), CByte(&HBA), CByte(&H95), CByte(&H58), CByte(&H19), CByte(&HF7), CByte(&HF8)) - Friend Shared ReadOnly GuidServicesPage As Guid = New Guid(&H43E38D2EUI, &H43B8US, &H4204US, CByte(&H82), CByte(&H25), CByte(&H93), CByte(&H57), CByte(&H31), CByte(&H61), CByte(&H37), CByte(&HA4)) - Friend Shared ReadOnly GuidWAPWebPage As Guid = New Guid(&H909D16B3UI, &HC8E8US, &H43D1US, CByte(&HA2), CByte(&HB8), CByte(&H26), CByte(&HEA), CByte(&HD), CByte(&H4B), CByte(&H6B), CByte(&H57)) - End Class - ''' ''' test if vs in build process BUGFIX: Dev11#45255 ''' @@ -89,115 +53,6 @@ Namespace Microsoft.VisualStudio.Editors.Common Return False End Function - ''' - ''' Convert a variant to integer value - ''' - ''' - ''' - ''' return true if the variant is an integer type value - Public Function TryConvertVariantToInt(obj As Object, ByRef value As Integer) As Boolean - If obj Is Nothing Then - Return False - End If - - Dim objType As Type = obj.GetType() - If objType Is GetType(UShort) OrElse - objType Is GetType(Short) OrElse - objType Is GetType(UInteger) OrElse - objType Is GetType(Integer) OrElse - objType Is GetType(ULong) OrElse - objType Is GetType(Long) OrElse - objType Is GetType(Byte) OrElse - objType Is GetType(SByte) OrElse - objType Is GetType(Single) OrElse - objType Is GetType(Double) Then - - value = CInt(obj) - Return True - End If - Return False - End Function - - ''' - ''' Helper to convert ItemIds or other 32 bit ID values - ''' where it is sometimes treated as an Int32 and sometimes UInt32 - ''' ItemId is sometimes marshaled as a VT_INT_PTR, and often declared - ''' UInt in the interop assemblies. Otherwise we get overflow exceptions converting - ''' negative numbers to UInt32. We just want raw bit translation. - ''' - ''' - Public Function NoOverflowCUInt(obj As Object) As UInteger - Return NoOverflowCUInt(CLng(obj)) - End Function - - ''' - ''' Masks the top 32 bits to get just the lower 32bit number - ''' - ''' - Public Function NoOverflowCUInt(LongValue As Long) As UInteger - Return CUInt(LongValue And UInteger.MaxValue) - End Function - - ''' - ''' Retrieves a given bitmap from the manifest resources (unmodified) - ''' - ''' Name of the bitmap resource (not including the assembly name, e.g. "Link.bmp") - ''' The retrieved bitmap - ''' Throws an internal exception if the bitmap cannot be found or loaded. - Public Function GetManifestBitmap(BitmapID As String) As Bitmap - Return DirectCast(GetManifestImage(BitmapID), Bitmap) - End Function - - ''' - ''' Retrieves a transparent copy of a given bitmap from the manifest resources. - ''' - ''' Name of the bitmap resource (not including the assembly name, e.g. "Link.bmp") - ''' The color that represents transparent in the bitmap - ''' The retrieved transparent bitmap - ''' Throws an internal exception if the bitmap cannot be found or loaded. - Public Function GetManifestBitmapTransparent(BitmapID As String, TransparentColor As Color) As Bitmap - Dim Bitmap As Bitmap = GetManifestBitmap(BitmapID) - If Bitmap IsNot Nothing Then - Bitmap.MakeTransparent(TransparentColor) - Return Bitmap - Else - Debug.Fail("Couldn't find internal resource") - Throw New Package.InternalException(String.Format(My.Resources.Microsoft_VisualStudio_Editors_Designer.RSE_Err_Unexpected_NoResource_1Arg, BitmapID)) - End If - End Function - - ''' - ''' Retrieves a transparent copy of a given bitmap from the manifest resources. - ''' - ''' Name of the bitmap resource (not including the assembly name, e.g. "Link.bmp") - ''' The retrieved transparent bitmap - ''' Throws an internal exception if the bitmap cannot be found or loaded. - Public Function GetManifestBitmapTransparent(BitmapID As String) As Bitmap - Return GetManifestBitmapTransparent(BitmapID, StandardTransparentColor) - End Function - - ''' - ''' Retrieves a given image from the manifest resources. - ''' - ''' Name of the bitmap resource (not including the assembly name, e.g. "Link.bmp") - ''' The retrieved bitmap - ''' Throws an internal exception if the bitmap cannot be found or loaded. - Public Function GetManifestImage(ImageID As String) As Image - Dim BitmapStream As Stream = GetType(Utils).Assembly.GetManifestResourceStream(ImageID) - If BitmapStream IsNot Nothing Then - Dim Image As Image = Image.FromStream(BitmapStream) - If Image IsNot Nothing Then - Return Image - Else - Debug.Fail("Unable to find image resource from manifest: " & ImageID) - End If - Else - Debug.Fail("Unable to find image resource from manifest: " & ImageID) - End If - - Throw New Package.InternalException(String.Format(My.Resources.Microsoft_VisualStudio_Editors_Designer.RSE_Err_Unexpected_NoResource_1Arg, ImageID)) - End Function - Public Function GetImageFromImageService(imageMoniker As ImageMoniker, width As Integer, height As Integer, background As Color) As Image If ImageService IsNot Nothing Then Dim attributes As New Imaging.Interop.ImageAttributes With { @@ -328,10 +183,6 @@ Namespace Microsoft.VisualStudio.Editors.Common Return True End Function - Public Function IsIOException(ex As Exception) As Boolean - Return TypeOf ex Is IOException OrElse TypeOf ex Is UnauthorizedAccessException - End Function - ''' ''' Given an exception, returns True if it is a CheckOut exception. ''' @@ -375,22 +226,6 @@ Namespace Microsoft.VisualStudio.Editors.Common End If End Function - ''' - ''' Does the same as System.IO.Path.GetFullPath(), except that if the filename - ''' is malformed, it returns the original file path. - ''' - ''' The path to get the full path from. - Public Function GetFullPathTolerant(Path As String) As String - Try - Return IO.Path.GetFullPath(Path) - Catch ex As ArgumentException - Catch ex As NotSupportedException - End Try - - 'If we hit an exception we want to be tolerant of, just return the original path - Return Path - End Function - ''' ''' Given two namespace (either or both of which might be empty), combine them together into a single ''' namespace. @@ -774,75 +609,6 @@ Namespace Microsoft.VisualStudio.Editors.Common Return Filter End Function - ''' - ''' Browses to save a File. - ''' - ''' Service Provider - ''' Window Handle of the parent window - ''' The initial directory for the dialog. Can be Nothing or empty. - ''' The dialog title. - ''' The filter string to use. - ''' The filter index to start out with. - ''' The default file name. - ''' If true, Windows will ask the user to overwrite the file if it already exists. - ''' The selected file/path, or Nothing if the user canceled. - Friend Function GetNewFileNameViaBrowse(ServiceProvider As IServiceProvider, ParentWindow As IntPtr, - InitialDirectory As String, DialogTitle As String, - Filter As String, FilterIndex As UInteger, - Optional DefaultFileName As String = Nothing, - Optional OverwritePrompt As Boolean = False) As String - - Dim uishell As IVsUIShell = - CType(ServiceProvider.GetService(GetType(IVsUIShell)), IVsUIShell) - - InitialDirectory = NormalizeInitialDirectory(InitialDirectory) - Filter = GetNativeFilter(Filter) - - Const MAX_PATH_NAME As Integer = 4096 - - Dim defaultName(MAX_PATH_NAME) As Char - If DefaultFileName IsNot Nothing Then - DefaultFileName.CopyTo(0, defaultName, 0, DefaultFileName.Length) - End If - - Dim vsSaveFileName As VSSAVEFILENAMEW() - Dim stringMemPtr As IntPtr = Marshal.AllocHGlobal(MAX_PATH_NAME * 2 + 2) - Marshal.Copy(defaultName, 0, stringMemPtr, defaultName.Length) - - Try - vsSaveFileName = New VSSAVEFILENAMEW(0) {} - vsSaveFileName(0).lStructSize = CUInt(Marshal.SizeOf(vsSaveFileName(0))) - vsSaveFileName(0).hwndOwner = ParentWindow - vsSaveFileName(0).pwzDlgTitle = DialogTitle - vsSaveFileName(0).nMaxFileName = MAX_PATH_NAME - vsSaveFileName(0).pwzFileName = stringMemPtr - vsSaveFileName(0).pwzInitialDir = InitialDirectory - vsSaveFileName(0).pwzFilter = Filter - vsSaveFileName(0).nFilterIndex = FilterIndex - vsSaveFileName(0).nFileOffset = 0 - vsSaveFileName(0).nFileExtension = FilterIndex - vsSaveFileName(0).dwHelpTopic = 0 - vsSaveFileName(0).pSaveOpts = Nothing - - If OverwritePrompt Then - vsSaveFileName(0).dwFlags = &H2 'OFN_OVERWRITEPROMPT - Else - vsSaveFileName(0).dwFlags = 0 - End If - - Dim hr As Integer = uishell.GetSaveFileNameViaDlg(vsSaveFileName) - If VSErrorHandler.Succeeded(hr) Then - Dim sFileName As String = Marshal.PtrToStringUni(stringMemPtr) - Return sFileName - End If - - Finally - Marshal.FreeHGlobal(stringMemPtr) - End Try - - Return Nothing - End Function - ''' ''' Returns a relative path from a given directory to another file or directory. ''' @@ -958,22 +724,6 @@ Namespace Microsoft.VisualStudio.Editors.Common End If End Function - ''' - ''' Check whether the screen reader is running - ''' - Friend Function IsScreenReaderRunning() As Boolean - Dim pvParam As IntPtr = Marshal.AllocCoTaskMem(4) - Try - If NativeMethods.SystemParametersInfo(Win32Constant.SPI_GETSCREENREADER, 0, pvParam, 0) <> 0 Then - Dim result As Integer = Marshal.ReadInt32(pvParam) - Return result <> 0 - End If - Finally - Marshal.FreeCoTaskMem(pvParam) - End Try - Return False - End Function - ''' ''' We use this function to map one color in the image to another color ''' @@ -1059,75 +809,6 @@ Namespace Microsoft.VisualStudio.Editors.Common End If End Sub - ''' - ''' Sets focus to the first (or last) control inside of a parent HWND. - ''' - ''' The container HWND. - ''' If True, sets focus to the first control, otherwise the last. - Public Function FocusFirstOrLastTabItem(HwndParent As IntPtr, First As Boolean) As Boolean - If HwndParent.Equals(IntPtr.Zero) Then - Return False - End If - - Dim c As Control = Control.FromChildHandle(HwndParent) - If c IsNot Nothing Then - 'WinForms controls don't set WS_TABSTOP so GetNextDlgTabItem doesn't work well for them. - - Dim TabStopOnly As Boolean = True - Dim Nested As Boolean = True - Dim Wrap As Boolean = True - If c.SelectNextControl(Nothing, First, TabStopOnly, Nested, Wrap) Then - Dim cc As ContainerControl = TryCast(c, ContainerControl) - If cc IsNot Nothing AndAlso cc.ActiveControl IsNot Nothing Then - cc.ActiveControl.Focus() - End If - - Return True - End If - - 'Perhaps all the controls are disabled - Return False - End If - - 'Use standard Win32 function for native dialog pages - Dim FirstTabStop As IntPtr = NativeMethods.GetNextDlgTabItem(HwndParent, IntPtr.Zero, False) - If FirstTabStop.Equals(IntPtr.Zero) Then - Return False - End If - - Dim NextTabStop As IntPtr - If First Then - NextTabStop = FirstTabStop - Else - NextTabStop = NativeMethods.GetNextDlgTabItem(HwndParent, FirstTabStop, True) - End If - - If NextTabStop.Equals(IntPtr.Zero) Then - Return False - End If - - NativeMethods.SetFocus(NextTabStop) - Return True - End Function - - ''' - ''' Validates whether it is a high-surrogate character - ''' - ''' a character to check - ''' True if it is a high-surrogate character - Public Function IsHighSurrogate(ch As Char) As Boolean - Return AscW(ch) >= &HD800 AndAlso AscW(ch) <= &HDBFF - End Function - - ''' - ''' Validates whether it is a low-surrogate character - ''' - ''' a character to check - ''' True if it is a low-surrogate character - Public Function IsLowSurrogate(ch As Char) As Boolean - Return AscW(ch) >= &HDC00 AndAlso AscW(ch) <= &HDFFF - End Function - ''' ''' Get the namespace for the generated file... ''' @@ -1378,52 +1059,6 @@ Namespace Microsoft.VisualStudio.Editors.Common #End Region - ''' - ''' Normalizes line endings. For instance, it will expand \r and \n to - ''' \r\n and reverse \n\r to \r\n - ''' - ''' - Public Function NormalizeLineEndings(text As String) As String - If text = "" Then - Return text - End If - - Dim sb As New StringBuilder(text.Length) - - For i As Integer = 0 To text.Length - 1 - Select Case AscW(text.Chars(i)) - Case 13 '\r - If i < text.Length - 1 AndAlso text.Chars(i + 1) = vbLf Then - 'This one is okay, skip it - sb.Append(vbCrLf) - i += 1 'Skip next character - Continue For - Else - 'This is an unmatched '\r', need to expand it - sb.Append(vbCrLf) - Continue For - End If - - Case 10 '\n - If i < text.Length - 1 AndAlso text.Chars(i + 1) = vbCr Then - 'This is backwards (\n\r), need to reverse it - sb.Append(vbCrLf) - i += 1 'Skip next character - Continue For - Else - 'This is an unmatched '\n', need to expand it - sb.Append(vbCrLf) - Continue For - End If - - Case Else - sb.Append(text.Chars(i)) - End Select - Next - - Return sb.ToString() - End Function - ''' ''' Determines whether the project associated with the given hierarchy is targeting .NET 4.5 or above ''' diff --git a/src/Microsoft.VisualStudio.Editors/Common/switches.vb b/src/Microsoft.VisualStudio.Editors/Common/switches.vb index 24a0af763e0..b38ef4aea71 100644 --- a/src/Microsoft.VisualStudio.Editors/Common/switches.vb +++ b/src/Microsoft.VisualStudio.Editors/Common/switches.vb @@ -1,9 +1,5 @@ ' 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.md file in the project root for more information. -#If DEBUG Then -Imports Microsoft.VisualStudio.Editors.Interop -#End If - Imports Microsoft.VisualStudio.Editors.PropertyPages Namespace Microsoft.VisualStudio.Editors.Common @@ -19,7 +15,7 @@ Namespace Microsoft.VisualStudio.Editors.Common . . . - Public Shared FileWatcher As New TraceSwitch("FileWatcher", "Trace the resource editor FileWatcher class.") + Public Shared FileWatcher As New TraceSwitch("FileWatcher", "Trace the property page editor FileWatcher class.") . . . @@ -143,48 +139,6 @@ Namespace Microsoft.VisualStudio.Editors.Common ''' Friend Class Switches - '------------- Resource Editor ------------- - - ''' - ''' Trace for the ResourceEditor.FileWatcher class - ''' - Public Shared RSEFileWatcher As New TraceSwitch("RSEFileWatcher", "Trace the resource editor FileWatcher class.") - - ''' - ''' Tracing for the ResourceEditor.ResourceSerializationService class - ''' - Public Shared RSEResourceSerializationService As New TraceSwitch("RSEResourceSerializationService", "Trace the resource editor ResourceSerializationService class.") - - ''' - ''' Track adding and removing resources in the resource editor - ''' - Public Shared RSEAddRemoveResources As New TraceSwitch("RSEAddRemoveResources", "Trace adding/removing resources in the resource editor") - - ''' - ''' Trace virtual mode methods in the resource editor's string table - ''' - Public Shared RSEVirtualStringTable As New TraceSwitch("RSEVirtualStringTable", "Trace virtual mode methods in the resource editor's string table") - - ''' - ''' Trace virtual mode methods in the resource editor's listview - ''' - Public Shared RSEVirtualListView As New TraceSwitch("RSEVirtualListView", "Trace virtual mode methods in the resource editor's listview") - - ''' - ''' Trace the delayed checking of errors in resources - ''' - Public Shared RSEDelayCheckErrors As New TraceSwitch("RSEDelayCheckErrors", "Trace the delayed checking of errors in resources") - - ''' - ''' Disable high-quality options on the Graphics object when creating thumbnails in the resource editor - ''' - Public Shared RSEDisableHighQualityThumbnails As New BooleanSwitch("RSEDisableHighQualityThumbnails", "Disable high-quality options on the Graphics object when creating thumbnails in the resource editor") - - ''' - ''' Trace find/replace in the resource editor - ''' - Public Shared RSEFindReplace As New TraceSwitch("RSEFindReplace", "Trace find/replace in the resource editor") - '------------- Designer Framework ------------- ''' @@ -319,48 +273,6 @@ Namespace Microsoft.VisualStudio.Editors.Common End Function #End If -#If DEBUG Then - ''' - ''' Formats a Win32 message into a friendly form for debugging/tracing purposes - ''' - ''' - Private Shared Function FormatWin32Message(msg As System.Windows.Forms.Message) As String - Dim str As New System.Text.StringBuilder() - Dim MsgType As String = Nothing - Select Case msg.Msg - Case Win32Constant.WM_KEYDOWN - MsgType = "WM_KEYDOWN" - Case AppDesInterop.Win32Constant.WM_KEYUP - MsgType = "WM_KEYUP" - Case Win32Constant.WM_SETFOCUS - MsgType = "WM_SETFOCUS" - Case Win32Constant.WM_CHAR - MsgType = "WM_CHAR" - Case Win32Constant.WM_SYSCHAR - MsgType = "WM_SYSCHAR" - - Case Else - If PDMessageRouting.Level >= TraceLevel.Verbose Then - MsgType = "0x" & Hex(msg.Msg) - Else - Return Nothing - End If - End Select - str.Append("MSG{" & MsgType & ", HWND=0x" & Hex(msg.HWnd.ToInt32)) - - 'Get the HWND's text - Dim WindowText As New String(" "c, 30) - Dim CharsCopied As Integer = NativeMethods.GetWindowText(msg.HWnd, WindowText, WindowText.Length) - If CharsCopied > 0 Then - WindowText = WindowText.Substring(0, CharsCopied) - str.Append(" """ & WindowText & """") - End If - - str.Append("}"c) - Return str.ToString() - End Function -#End If - #If DEBUG Then Private Shared s_timeCodeStart As Date Private Shared s_firstTimeCodeTaken As Boolean @@ -460,18 +372,6 @@ Namespace Microsoft.VisualStudio.Editors.Common #End If End Sub - ''' - ''' Trace project designer focus-related events - ''' - ''' - ''' - - Public Shared Sub TracePDUndo(Message As String, ParamArray FormatArguments() As Object) -#If DEBUG Then - Trace.WriteLineIf(PDUndo.TraceVerbose, "PDUndo: " & Format(Message, FormatArguments)) -#End If - End Sub - ''' ''' Trace project designer focus-related events ''' @@ -484,37 +384,6 @@ Namespace Microsoft.VisualStudio.Editors.Common #End If End Sub - ''' - ''' Trace the functionality of extender properties - ''' - ''' - ''' - - Public Shared Sub TracePDExtenders(Level As TraceLevel, Message As String, ParamArray FormatArguments() As Object) -#If DEBUG Then - Trace.WriteLineIf(PDExtenders.Level >= Level, "PDExtenders: " & Format(Message, FormatArguments)) -#End If - End Sub - - ''' - ''' Trace configuration setup and changes tracking in the project designer - ''' - ''' - ''' - - Public Shared Sub TracePDConfigs(TraceLevel As TraceLevel, Message As String, ParamArray FormatArguments() As Object) -#If DEBUG Then - Trace.WriteLineIf(PDConfigs.Level >= TraceLevel, "PDConfigs: " & Format(Message, FormatArguments)) -#End If - End Sub - - - Public Shared Sub TracePDConfigs(Message As String, ParamArray FormatArguments() As Object) -#If DEBUG Then - TracePDConfigs(TraceLevel.Verbose, Message, FormatArguments) -#End If - End Sub - ''' ''' Trace configuration setup and changes tracking in the project designer ''' @@ -527,91 +396,6 @@ Namespace Microsoft.VisualStudio.Editors.Common #End If End Sub - - Public Shared Sub TracePDPerfBegin(Message As String, ParamArray FormatArguments() As Object) -#If DEBUG Then - If PDPerf.TraceInfo Then - TracePDPerf("BEGIN: " & Message) - Else - TracePDPerf(Message) - End If -#End If - End Sub - - - Public Shared Sub TracePDPerfEnd(Message As String, ParamArray FormatArguments() As Object) -#If DEBUG Then - If PDPerf.TraceInfo Then - TracePDPerf(" END: " & Message) - Else - 'Don't bother with this message unless it's verbose - End If -#End If - End Sub - - - Public Shared Sub TracePDPerf(e As System.Windows.Forms.LayoutEventArgs, Message As String, ParamArray FormatArguments() As Object) -#If DEBUG Then - TracePDPerf(Message, FormatArguments) - TraceOnLayout(e) -#End If - End Sub - -#If DEBUG Then - Private Shared Sub TraceOnLayout(e As System.Windows.Forms.LayoutEventArgs) - If PDPerf.TraceInfo Then - Trace.WriteLine(" AffectedControl=" & DebugToString(e.AffectedControl)) - Trace.WriteLine(" AffectedComponent=" & DebugToString(e.AffectedComponent)) - Trace.WriteLine(" AffectedProperty=" & DebugToString(e.AffectedProperty)) - If PDPerf.TraceVerbose Then - Trace.WriteLine(New StackTrace().ToString) - End If - End If - End Sub -#End If - - ''' - ''' Trace configuration setup and changes tracking in the project designer - ''' - ''' - ''' - - Public Shared Sub TracePDCmdTarget(TraceLevel As TraceLevel, Message As String, ParamArray FormatArguments() As Object) -#If DEBUG Then - Trace.WriteLineIf(PDCmdTarget.Level >= TraceLevel, "PDCmdTarget: " & Format(Message, FormatArguments)) -#End If - End Sub - - ''' - ''' Trace Win32 message routing - ''' - ''' - ''' - ''' - - Public Shared Sub TracePDMessageRouting(TraceLevel As TraceLevel, Message As String, msg As System.Windows.Forms.Message) -#If DEBUG Then - If PDMessageRouting.Level >= TraceLevel Then - Dim FormattedMessage As String = FormatWin32Message(msg) - If FormattedMessage IsNot Nothing Then - Trace.WriteLine("PDMessageRouting: " & Message & ": " & FormattedMessage) - End If - End If -#End If - End Sub - - ''' - ''' Trace Win32 message routing - ''' - ''' - ''' - - Public Shared Sub TracePDMessageRouting(TraceLevel As TraceLevel, Message As String) -#If DEBUG Then - Trace.WriteLineIf(PDMessageRouting.Level >= TraceLevel, "PDMessageRouting: " & Message) -#End If - End Sub - ''' ''' Traces the access modifier combobox functionality ''' @@ -647,44 +431,6 @@ Namespace Microsoft.VisualStudio.Editors.Common #End If End Sub - - Public Overloads Shared Sub TracePDLinqImports(tracelevel As TraceLevel, formatString As String, ParamArray parameters() As Object) -#If DEBUG Then - Trace.WriteLineIf(PDLinqImports.Level >= tracelevel, Format(formatString, parameters)) -#End If - End Sub - - ''' - ''' Trace changes to one of the monitored configuration files - ''' - ''' - - Public Overloads Shared Sub TraceWCFConfigFileChangeWatch(tracelevel As TraceLevel, formatString As String, ParamArray parameters() As Object) -#If DEBUG Then - Trace.WriteLineIf(WCF_Config_FileChangeWatch.Level >= tracelevel, String.Format(formatString, parameters)) -#End If - End Sub - - ''' - ''' Trace changes to one of the monitored configuration files - ''' - ''' - ''' - - Public Overloads Shared Sub TraceWCFConfigFileChangeWatch(tracelevel As TraceLevel, message As String) -#If DEBUG Then - Trace.WriteLineIf(WCF_Config_FileChangeWatch.Level >= tracelevel, message) -#End If - End Sub - - - Public Shared Sub TracePDPerfBegin(e As System.Windows.Forms.LayoutEventArgs, Message As String, ParamArray FormatArguments() As Object) -#If DEBUG Then - TracePDPerfBegin(Message, FormatArguments) - TraceOnLayout(e) -#End If - End Sub - Public Shared Sub TraceMyExtensibility(traceLevel As TraceLevel, message As String) #If DEBUG Then diff --git a/src/Microsoft.VisualStudio.Editors/DesignerFramework/AccessModifierComboBox.vb b/src/Microsoft.VisualStudio.Editors/DesignerFramework/AccessModifierComboBox.vb index b9a3ecad940..1eefd8b2cc1 100644 --- a/src/Microsoft.VisualStudio.Editors/DesignerFramework/AccessModifierComboBox.vb +++ b/src/Microsoft.VisualStudio.Editors/DesignerFramework/AccessModifierComboBox.vb @@ -4,11 +4,9 @@ Imports System.CodeDom Imports System.CodeDom.Compiler Imports System.ComponentModel Imports System.ComponentModel.Design -Imports System.Windows.Forms Imports Microsoft.VisualStudio.Designer.Interfaces Imports Microsoft.VisualStudio.Editors.Common -Imports Microsoft.VisualStudio.Editors.ResourceEditor Imports Microsoft.VisualStudio.Shell.Interop Namespace Microsoft.VisualStudio.Editors.DesignerFramework @@ -67,7 +65,7 @@ Namespace Microsoft.VisualStudio.Editors.DesignerFramework Private _isDisposed As Boolean Private ReadOnly _rootDesigner As BaseRootDesigner - Private ReadOnly _resxFileProjectItem As EnvDTE.ProjectItem + Private ReadOnly _projectItem As EnvDTE.ProjectItem Private ReadOnly _serviceProvider As IServiceProvider Private ReadOnly _namespaceToOverrideIfCustomToolIsEmpty As String Private ReadOnly _codeGeneratorEntries As New List(Of CodeGenerator) @@ -83,7 +81,7 @@ Namespace Microsoft.VisualStudio.Editors.DesignerFramework ' checked the project system yet) ' This field should only be accessed through the CustomToolsRegistered property. Private _customToolsRegistered As Boolean? - Private _allowEdit As Boolean + 'Private _allowEdit As Boolean #Region "Nested class CodeGenerator" @@ -302,7 +300,7 @@ Namespace Microsoft.VisualStudio.Editors.DesignerFramework Requires.NotNull(serviceProvider) _rootDesigner = rootDesigner - _resxFileProjectItem = projectItem + _projectItem = projectItem _serviceProvider = serviceProvider _namespaceToOverrideIfCustomToolIsEmpty = namespaceToOverrideIfCustomToolIsEmpty End Sub @@ -411,7 +409,7 @@ Namespace Microsoft.VisualStudio.Editors.DesignerFramework Dim customToolProperty As EnvDTE.Property = Nothing Try - customToolProperty = DTEUtils.GetProjectItemProperty(_resxFileProjectItem, DTEUtils.PROJECTPROPERTY_CUSTOMTOOL) + customToolProperty = DTEUtils.GetProjectItemProperty(_projectItem, DTEUtils.PROJECTPROPERTY_CUSTOMTOOL) Catch ex As KeyNotFoundException ' Possible limitation of Cps. In some cases Cps is not able to maintain the same item id for items, ' causing them to Not be found. In some scenarios (i.e., when the item Is moved), it ends up having @@ -441,25 +439,7 @@ Namespace Microsoft.VisualStudio.Editors.DesignerFramework For Each codeGenerator As CodeGenerator In _codeGeneratorEntries If codeGenerator.DisplayName.Equals(value, StringComparison.CurrentCultureIgnoreCase) Then - If TypeOf RootDesigner Is ResourceEditorRootDesigner Then - Dim Designer = CType(RootDesigner, ResourceEditorRootDesigner) - Dim ResourceView As ResourceEditorView = Designer.GetView() - ' We let the base class handle the read only mode - ' As mentioned in ResourceEditorDesignerLoader, "We actually don't want users to edit Form RESX file" - ' so we just need to add the same warning as there for now until the new resource explorer is released - If ResourceView IsNot Nothing AndAlso Not ResourceView.ReadOnlyMode Then - If ResourceView.DsMsgBox(My.Resources.Microsoft_VisualStudio_Editors_Designer.RSE_Err_UpdateADependentFile, MessageBoxButtons.YesNo, MessageBoxIcon.Warning, MessageBoxDefaultButton.Button2, HelpIDs.Err_EditFormResx) = DialogResult.Yes Then - _allowEdit = True - End If - End If - If _allowEdit Then - TrySetCustomToolValue(codeGenerator.CustomToolValue) - End If - - _allowEdit = False - Else - TrySetCustomToolValue(codeGenerator.CustomToolValue) - End If + TrySetCustomToolValue(codeGenerator.CustomToolValue) Return End If Next @@ -474,8 +454,8 @@ Namespace Microsoft.VisualStudio.Editors.DesignerFramework ''' Private Sub TrySetCustomToolValue(value As String) Try - Dim customToolProperty As EnvDTE.Property = DTEUtils.GetProjectItemProperty(_resxFileProjectItem, DTEUtils.PROJECTPROPERTY_CUSTOMTOOL) - Dim customToolNamespaceProperty As EnvDTE.Property = DTEUtils.GetProjectItemProperty(_resxFileProjectItem, DTEUtils.PROJECTPROPERTY_CUSTOMTOOLNAMESPACE) + Dim customToolProperty As EnvDTE.Property = DTEUtils.GetProjectItemProperty(_projectItem, DTEUtils.PROJECTPROPERTY_CUSTOMTOOL) + Dim customToolNamespaceProperty As EnvDTE.Property = DTEUtils.GetProjectItemProperty(_projectItem, DTEUtils.PROJECTPROPERTY_CUSTOMTOOLNAMESPACE) If customToolProperty IsNot Nothing Then Dim previousCustomToolValue As String = TryCast(customToolProperty.Value, String) @@ -588,7 +568,7 @@ Namespace Microsoft.VisualStudio.Editors.DesignerFramework ''' Protected Overridable ReadOnly Property Hierarchy As IVsHierarchy Get - Return ShellUtil.VsHierarchyFromDTEProject(_serviceProvider, _resxFileProjectItem.ContainingProject) + Return ShellUtil.VsHierarchyFromDTEProject(_serviceProvider, _projectItem.ContainingProject) End Get End Property diff --git a/src/Microsoft.VisualStudio.Editors/DesignerFramework/BaseRootDesigner.vb b/src/Microsoft.VisualStudio.Editors/DesignerFramework/BaseRootDesigner.vb index c63f58b6bee..2fab54f891c 100644 --- a/src/Microsoft.VisualStudio.Editors/DesignerFramework/BaseRootDesigner.vb +++ b/src/Microsoft.VisualStudio.Editors/DesignerFramework/BaseRootDesigner.vb @@ -82,8 +82,7 @@ Namespace Microsoft.VisualStudio.Editors.DesignerFramework ''' TRUE to keep previously registered menu commands for this designer. ''' FALSE otherwise, the root designer will clear its menu commands list and add the new one. ''' - ''' Child root designers call this method to register their own menu commands. - ''' See ResourceEditorRootDesigner. + ''' Child root designers call this method to register their own menu commands. Friend Sub RegisterMenuCommands(MenuCommands As ArrayList, Optional KeepRegisteredMenuCommands As Boolean = True) ' Clear the list of menu commands if specified. diff --git a/src/Microsoft.VisualStudio.Editors/DesignerFramework/UserCanceledException.vb b/src/Microsoft.VisualStudio.Editors/DesignerFramework/UserCanceledException.vb deleted file mode 100644 index 76148c9fa25..00000000000 --- a/src/Microsoft.VisualStudio.Editors/DesignerFramework/UserCanceledException.vb +++ /dev/null @@ -1,22 +0,0 @@ -' 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.md file in the project root for more information. - -Option Strict On -Option Explicit On - -Namespace Microsoft.VisualStudio.Editors.DesignerFramework - - ''' - ''' an exception is thrown when the customer cancel an operation. - ''' We need specialize it, because we don't need pop an error message when this happens - ''' - Friend NotInheritable Class UserCanceledException - Inherits ApplicationException - - Public Sub New() - MyBase.New(My.Resources.Microsoft_VisualStudio_Editors_Designer.RSE_Err_UserCancel) - End Sub - - End Class - -End Namespace - diff --git a/src/Microsoft.VisualStudio.Editors/DesignerUI/VisualStudioEditorsID.vb b/src/Microsoft.VisualStudio.Editors/DesignerUI/VisualStudioEditorsID.vb index b83ffabbdb2..b4c06d84153 100644 --- a/src/Microsoft.VisualStudio.Editors/DesignerUI/VisualStudioEditorsID.vb +++ b/src/Microsoft.VisualStudio.Editors/DesignerUI/VisualStudioEditorsID.vb @@ -22,52 +22,8 @@ Namespace Microsoft.VisualStudio.Editors ' Menu IDs (0x01??) ' ********************************************************************* - Private Const IDM_CTX_RESX_ContextMenu As Integer = &H100 Private Const IDM_CTX_SETTINGSDESIGNER_ContextMenu As Integer = &H110 Public Const IDM_VS_TOOLBAR_Settings As Integer = &H210 - Public Const IDM_VS_TOOLBAR_Resources As Integer = &H211 - Public Const IDM_VS_TOOLBAR_Resources_ResW As Integer = &H212 - - ' ********************************************************************* - ' Command Group IDs (0x1???) - ' ********************************************************************* - - ' ********************************************************************* - ' Command IDs (0x2???) - ' ********************************************************************* - - Private Const CmdIdRESXImport As Integer = &H2003 - Private Const CmdIdRESXExport As Integer = &H2004 - Private Const CmdIdRESXPlay As Integer = &H2005 - - Private Const CmdIdRESXAddFixedMenuCommand As Integer = &H2019 - Private Const CmdIdRESXAddExistingFile As Integer = &H2020 - Private Const CmdIdRESXAddNewString As Integer = &H2021 - Private Const CmdIdRESXAddNewImagePNG As Integer = &H2022 - Private Const CmdIdRESXAddNewImageBMP As Integer = &H2023 - Private Const CmdIdRESXAddNewImageGIF As Integer = &H2024 - Private Const CmdIdRESXAddNewImageJPEG As Integer = &H2025 - Private Const CmdIdRESXAddNewImageTIFF As Integer = &H2026 - Private Const CmdIdRESXAddNewIcon As Integer = &H2027 - Private Const CmdIdRESXAddNewTextFile As Integer = &H2028 - Private Const CmdIdRESXAddDefaultResource As Integer = &H2030 - - Private Const CmdIdRESXResTypeStrings As Integer = &H2040 - Private Const CmdIdRESXResTypeImages As Integer = &H2041 - Private Const CmdIdRESXResTypeIcons As Integer = &H2042 - Private Const CmdIdRESXResTypeAudio As Integer = &H2043 - Private Const CmdIdRESXResTypeFiles As Integer = &H2044 - Private Const CmdIdRESXResTypeOther As Integer = &H2045 - - Private Const CmdIdIDRESXViewsFixedMenuCommand As Integer = &H2018 - Private Const CmdIdRESXViewsList As Integer = &H2050 - Private Const CmdIdRESXViewsDetails As Integer = &H2051 - Private Const CmdIdRESXViewsThumbnails As Integer = &H2052 - - Private Const CmdIdRESXGenericRemove As Integer = &H2060 - - Private Const CmdIdRESXAccessModifierCombobox As Integer = &H2061 - Private Const CmdIdRESXGetAccessModifierOptions As Integer = &H2062 Private Const CmdIdSETTINGSDESIGNERViewCode As Integer = &H2104 Private Const CmdIdSETTINGSDESIGNERSynchronize As Integer = &H2105 @@ -119,14 +75,6 @@ Namespace Microsoft.VisualStudio.Editors Public Shared ReadOnly CommandIDVSStd97cmdidViewCode As New CommandID(GuidVSStd97, CmdIdViewCode) Public Shared ReadOnly CommandIDVSStd2kECMD_CANCEL As New CommandID(GuidVSStd2K, ECMD_CANCEL) - ' GUID constants. - Private Shared ReadOnly s_GUID_RESX_CommandID As New Guid("66BD4C1D-3401-4bcc-A942-E4990827E6F7") - 'The Command GUID for the resource editor. It is required for us to correctly hook up key bindings, - ' and must be returned from the editor factory. - Public Shared ReadOnly GUID_RESXEditorCommandUI As New Guid("fea4dcc9-3645-44cd-92e7-84b55a16465c") - Public Const GUID_RESXEditorCommandUIString As String = "fea4dcc9-3645-44cd-92e7-84b55a16465c" - - Public Shared ReadOnly GUID_RESX_MenuGroup As New Guid("54869924-25F5-4878-A9C9-1C7198D99A8A") Public Shared ReadOnly GUID_SETTINGSDESIGNER_MenuGroup As New Guid("42b7a61f-81fd-4283-9678-6c448a827e56") Private Shared ReadOnly s_GUID_SETTINGSDESIGNER_CommandID As New Guid("c2013470-51ac-4278-9ac5-389c72a1f926") 'The Command GUID for the settings designer. It is required for us to correctly hook up key bindings, @@ -139,38 +87,7 @@ Namespace Microsoft.VisualStudio.Editors ' Command ID = GUID + cmdid. Public Shared ReadOnly CommandIDVSStd97Open As New CommandID(GuidVSStd97, CmdIdOpen) Public Shared ReadOnly CommandIDVSStd97OpenWith As New CommandID(GuidVSStd97, CmdIdOpenWith) - Public Shared ReadOnly CommandIDResXImport As New CommandID(s_GUID_RESX_CommandID, CmdIdRESXImport) - Public Shared ReadOnly CommandIDResXExport As New CommandID(s_GUID_RESX_CommandID, CmdIdRESXExport) - Public Shared ReadOnly CommandIDResXPlay As New CommandID(s_GUID_RESX_CommandID, CmdIdRESXPlay) - - Public Shared ReadOnly CommandIDRESXAddFixedMenuCommand As New CommandID(s_GUID_RESX_CommandID, CmdIdRESXAddFixedMenuCommand) - Public Shared ReadOnly CommandIDRESXAddExistingFile As New CommandID(s_GUID_RESX_CommandID, CmdIdRESXAddExistingFile) - Public Shared ReadOnly CommandIDRESXAddNewString As New CommandID(s_GUID_RESX_CommandID, CmdIdRESXAddNewString) - Public Shared ReadOnly CommandIDRESXAddNewImagePNG As New CommandID(s_GUID_RESX_CommandID, CmdIdRESXAddNewImagePNG) - Public Shared ReadOnly CommandIDRESXAddNewImageBMP As New CommandID(s_GUID_RESX_CommandID, CmdIdRESXAddNewImageBMP) - Public Shared ReadOnly CommandIDRESXAddNewImageGIF As New CommandID(s_GUID_RESX_CommandID, CmdIdRESXAddNewImageGIF) - Public Shared ReadOnly CommandIDRESXAddNewImageJPEG As New CommandID(s_GUID_RESX_CommandID, CmdIdRESXAddNewImageJPEG) - Public Shared ReadOnly CommandIDRESXAddNewImageTIFF As New CommandID(s_GUID_RESX_CommandID, CmdIdRESXAddNewImageTIFF) - Public Shared ReadOnly CommandIDRESXAddNewIcon As New CommandID(s_GUID_RESX_CommandID, CmdIdRESXAddNewIcon) - Public Shared ReadOnly CommandIDRESXAddNewTextFile As New CommandID(s_GUID_RESX_CommandID, CmdIdRESXAddNewTextFile) - Public Shared ReadOnly CommandIDRESXAddDefaultResource As New CommandID(s_GUID_RESX_CommandID, CmdIdRESXAddDefaultResource) - - Public Shared ReadOnly CommandIDRESXResTypeStrings As New CommandID(s_GUID_RESX_CommandID, CmdIdRESXResTypeStrings) - Public Shared ReadOnly CommandIDRESXResTypeImages As New CommandID(s_GUID_RESX_CommandID, CmdIdRESXResTypeImages) - Public Shared ReadOnly CommandIDRESXResTypeIcons As New CommandID(s_GUID_RESX_CommandID, CmdIdRESXResTypeIcons) - Public Shared ReadOnly CommandIDRESXResTypeAudio As New CommandID(s_GUID_RESX_CommandID, CmdIdRESXResTypeAudio) - Public Shared ReadOnly CommandIDRESXResTypeFiles As New CommandID(s_GUID_RESX_CommandID, CmdIdRESXResTypeFiles) - Public Shared ReadOnly CommandIDRESXResTypeOther As New CommandID(s_GUID_RESX_CommandID, CmdIdRESXResTypeOther) - Public Shared ReadOnly CommandIDRESXViewsFixedMenuCommand As New CommandID(s_GUID_RESX_CommandID, CmdIdIDRESXViewsFixedMenuCommand) - Public Shared ReadOnly CommandIDRESXViewsList As New CommandID(s_GUID_RESX_CommandID, CmdIdRESXViewsList) - Public Shared ReadOnly CommandIDRESXViewsDetails As New CommandID(s_GUID_RESX_CommandID, CmdIdRESXViewsDetails) - Public Shared ReadOnly CommandIDRESXViewsThumbnails As New CommandID(s_GUID_RESX_CommandID, CmdIdRESXViewsThumbnails) - - Public Shared ReadOnly CommandIDRESXGenericRemove As New CommandID(s_GUID_RESX_CommandID, CmdIdRESXGenericRemove) - Public Shared ReadOnly CommandIDRESXAccessModifierCombobox As New CommandID(s_GUID_RESX_CommandID, CmdIdRESXAccessModifierCombobox) - Public Shared ReadOnly CommandIDRESXGetAccessModifierOptions As New CommandID(s_GUID_RESX_CommandID, CmdIdRESXGetAccessModifierOptions) - - Public Shared ReadOnly ResXContextMenuID As New CommandID(GUID_RESX_MenuGroup, IDM_CTX_RESX_ContextMenu) + Public Shared ReadOnly SettingsDesignerContextMenuID As New CommandID(GUID_SETTINGSDESIGNER_MenuGroup, IDM_CTX_SETTINGSDESIGNER_ContextMenu) Public Shared ReadOnly SettingsDesignerToolbar As New CommandID(GUID_SETTINGSDESIGNER_MenuGroup, IDM_VS_TOOLBAR_Settings) diff --git a/src/Microsoft.VisualStudio.Editors/GlobalSuppressions.vb b/src/Microsoft.VisualStudio.Editors/GlobalSuppressions.vb index b94689760a9..2524a3b3e36 100644 --- a/src/Microsoft.VisualStudio.Editors/GlobalSuppressions.vb +++ b/src/Microsoft.VisualStudio.Editors/GlobalSuppressions.vb @@ -9,7 +9,6 @@ Imports System.Diagnostics.CodeAnalysis ' Baselined, we should revisit these, see: https://github.com/dotnet/project-system/issues/121. - @@ -19,15 +18,9 @@ Imports System.Diagnostics.CodeAnalysis - - - - - - @@ -37,17 +30,9 @@ Imports System.Diagnostics.CodeAnalysis - - - - - ", Scope:="type", Target:="~T:Microsoft.VisualStudio.Editors.PropertyPages.ImportIdentity")> - - - @@ -61,14 +46,6 @@ Imports System.Diagnostics.CodeAnalysis - - - - - - - - @@ -81,7 +58,6 @@ Imports System.Diagnostics.CodeAnalysis - @@ -90,21 +66,11 @@ Imports System.Diagnostics.CodeAnalysis - - - - - - - - - - @@ -114,7 +80,6 @@ Imports System.Diagnostics.CodeAnalysis - @@ -136,13 +101,7 @@ Imports System.Diagnostics.CodeAnalysis - - - - - - @@ -151,16 +110,9 @@ Imports System.Diagnostics.CodeAnalysis - - - - - - - @@ -171,7 +123,6 @@ Imports System.Diagnostics.CodeAnalysis - @@ -377,7 +328,6 @@ Imports System.Diagnostics.CodeAnalysis - @@ -390,393 +340,6 @@ Imports System.Diagnostics.CodeAnalysis - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - @@ -873,10 +436,8 @@ Imports System.Diagnostics.CodeAnalysis - - @@ -939,42 +500,6 @@ Imports System.Diagnostics.CodeAnalysis - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - @@ -1002,22 +527,12 @@ Imports System.Diagnostics.CodeAnalysis - - - - - - - - - - @@ -1075,21 +590,7 @@ Imports System.Diagnostics.CodeAnalysis - - - - - - - - - - - - - - ' https://github.com/dotnet/roslyn/issues/32228 @@ -1117,7 +618,6 @@ Imports System.Diagnostics.CodeAnalysis - @@ -1182,60 +682,6 @@ Imports System.Diagnostics.CodeAnalysis - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - @@ -1265,7 +711,6 @@ Imports System.Diagnostics.CodeAnalysis - @@ -1275,14 +720,6 @@ Imports System.Diagnostics.CodeAnalysis - - - - - - - - @@ -1295,6 +732,3 @@ Imports System.Diagnostics.CodeAnalysis ' Bugs - - - diff --git a/src/Microsoft.VisualStudio.Editors/HelpKeywords.vb b/src/Microsoft.VisualStudio.Editors/HelpKeywords.vb index 1d331a5b0d7..33861864bb1 100644 --- a/src/Microsoft.VisualStudio.Editors/HelpKeywords.vb +++ b/src/Microsoft.VisualStudio.Editors/HelpKeywords.vb @@ -63,44 +63,6 @@ Namespace Microsoft.VisualStudio.Editors.PropertyPages End Namespace -'**************************************************** -'***** Resource Editor Help IDs -'**************************************************** - -Namespace Microsoft.VisualStudio.Editors.ResourceEditor - - Friend NotInheritable Class HelpIDs - - 'General errors - Public Const Err_CantFindResourceFile As String = "msvse_resedit.Err.CantFindResourceFile" - Public Const Err_LoadingResource As String = "msvse_resedit.Err.LoadingResource" - Public Const Err_NameBlank As String = "msvse_resedit.Err.NameBlank" - Public Const Err_InvalidName As String = "msvse_resedit.Err.InvalidName" - Public Const Err_DuplicateName As String = "msvse_resedit.Err.DuplicateName" - Public Const Err_UnexpectedResourceType As String = "msvse_resedit.Err.UnexpectedResourceType" - Public Const Err_CantCreateNewResource As String = "msvse_resedit.Err.CantCreateNewResource" - Public Const Err_CantPlay As String = "msvse_resedit.Err.CantPlay" - Public Const Err_CantConvertFromString As String = "msvse_resedit.Err.CantConvertFromString" - Public Const Err_EditFormResx As String = "msvse_resedit.Err.EditFormResx" - Public Const Err_CantAddFileToDeviceProject As String = "msvse_resedit.Err.CantAddFileToDeviceProject" - Public Const Err_TypeIsNotSupported As String = "msvse_resedit.Err.TypeIsNotSupported" - Public Const Err_CantSaveBadResouceItem As String = "msvse_resedit.Err.CantSaveBadResouceItem " - Public Const Err_MaxFilesLimitation As String = "msvse_resedit.Err.MaxFilesLimitation" - - 'Task list errors - Public Const Task_BadLink As String = "msvse_resedit.tasklist.BadLink" - Public Const Task_CantInstantiate As String = "msvse_resedit.tasklist.CantInstantiate" - Public Const Task_NonrecommendedName As String = "msvse_resedit.tasklist.NonrecommendedName" - Public Const Task_CantChangeCustomToolOrNamespace As String = "msvse_resedit.tasklist.CantChangeCustomToolOrNamespace" - - 'Dialogs - Public Const Dlg_OpenEmbedded As String = "msvse_resedit.dlg.OpenEmbedded" - Public Const Dlg_QueryName As String = "msvse_resedit.dlg.QueryName" - Public Const Dlg_OpenFileWarning As String = "msvse_resedit.dlg.OpenFileWarning" - End Class - -End Namespace - '**************************************************** '***** Settings Designer Help IDs '**************************************************** diff --git a/src/Microsoft.VisualStudio.Editors/Menus.vsct b/src/Microsoft.VisualStudio.Editors/Menus.vsct index e7d2aaab9cb..dc65099eaa5 100644 --- a/src/Microsoft.VisualStudio.Editors/Menus.vsct +++ b/src/Microsoft.VisualStudio.Editors/Menus.vsct @@ -16,45 +16,9 @@ - - - - Top level menu for resources - - - - - &Resources - &Resources - - - - - - - Context menu for the resource editor - - - - - Managed Resources Editor Context Menu - - - - - - This is the "Add.New Image" menu item that shows up directly on the "Add" menu (and cascades into PNG Image, BMP Image, etc.) - - - - - New &Image - New &Image - - @@ -68,70 +32,6 @@ - - - - The toolbar for the resource editor - - - - Resources - Resources - - - - - - - The toolbar for the resource editor - - - - Resources - Resources - - - - - - - Drop down menu for categories tab on the resource designers toolbar - - - - IconAndText - TextChanges - TextIsAnchorCommand - - &Category - - - - - - - Drop down menu for add tab on the resource editor toolbar - - - - IconAndText - - Add &Resource - - - - - - - Drop down menu for view tab on the resource editor toolbar - - - - - Views - - - @@ -162,61 +62,6 @@ - - - - - - - - - - - - - - - - - This group is in the cascading menu off of "Add.New Image" and contains the actual new image menu items - - - - - - - - - This group is in the cascading menu off of the "Resource Type" menu item and contains the actual resource type menu items - - - - - - - - - This group is in the cascading menu off of the "Views" menu item and contains the actual views menu items (icon, details, thumbnails) - - - - - - - - - Let's also put these items on the main resource menu so that they get a nice canonical name - - - - - - - - - - - @@ -244,24 +89,6 @@ - - - - Main group containing all menus/commands on the resource editor toolbar - - - - - - - - - - - - - - @@ -301,10 +128,6 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - @@ -578,58 +208,6 @@ - - - - - - - - - - + ''' + ''' This class is invoked from outside of this repository, such as via templates. + ''' Public Class ResxItemWizard Implements IWizard @@ -50,7 +54,7 @@ Namespace Microsoft.VisualStudio.Editors.ResourceEditor Dim fileName As String = projectItem.FileNames(1) Debug.Assert(fileName IsNot Nothing AndAlso fileName.Length > 0, "bogus ProjectItem.FileNames(1) value?") - Dim isLocalizedResxFile As Boolean = ResourceEditorView.IsLocalizedResXFile(fileName) + Dim isLocalizedResxFile As Boolean = ResxItemWizard.IsLocalizedResXFile(fileName) Dim itemProperties As Properties = projectItem.Properties Debug.Assert(itemProperties IsNot Nothing, "null projectItem.Properties?") @@ -95,6 +99,46 @@ Namespace Microsoft.VisualStudio.Editors.ResourceEditor End Sub + ''' + ''' Tells whether the given file-name is a localized .resx file by comparing the text + ''' between the next-to-last and last period characters to see if that is a valid culture. + ''' If it is, this returns True, else it returns False. + ''' An example is Form1.en-US.resx [en-US is a valid CultureInfo] + ''' + ''' + Private Shared Function IsLocalizedResXFile(fileName As String) As Boolean + + Dim isLocalizedFileName As Boolean = False + + If fileName IsNot Nothing AndAlso HasResourceFileExtension(fileName) Then + + Dim idx As Integer = fileName.Substring(0, fileName.Length - 5).LastIndexOf("."c) + If idx > 0 Then + Dim cultureString As String = fileName.Substring(idx + 1, fileName.Length - 6 - idx) + Try + Dim cultureInfo As New CultureInfo(cultureString) + If cultureInfo IsNot Nothing Then + isLocalizedFileName = True + End If + Catch ex As Exception + End Try + End If + End If + + Return isLocalizedFileName + + End Function + + ''' + ''' Determines if the provided file name has any resource file extension (.resx or .resw) + ''' + ''' + Private Shared Function HasResourceFileExtension(fileName As String) As Boolean + Dim extension As String = System.IO.Path.GetExtension(fileName) + Return extension.Equals(".resx", StringComparison.OrdinalIgnoreCase) OrElse + extension.Equals(".resw", StringComparison.OrdinalIgnoreCase) + End Function + ''' ''' Do nothing ''' diff --git a/src/Microsoft.VisualStudio.Editors/ResourceEditor/SerializableEncoding.vb b/src/Microsoft.VisualStudio.Editors/ResourceEditor/SerializableEncoding.vb deleted file mode 100644 index 7901c185cbc..00000000000 --- a/src/Microsoft.VisualStudio.Editors/ResourceEditor/SerializableEncoding.vb +++ /dev/null @@ -1,84 +0,0 @@ -' 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.md file in the project root for more information. - -Option Explicit On -Option Strict On -Option Compare Binary -Imports System.Runtime.Serialization -Imports System.Text - -Namespace Microsoft.VisualStudio.Editors.ResourceEditor - - ''' - ''' This is a serializable wrapper around the System.Text.Encoding class. We need this because we expose an "Encoding" - ''' property on Resource for text files. The Undo engine requires all the properties to be serializable, and - ''' System.Text.Encoding is not. - ''' - - Friend NotInheritable Class SerializableEncoding - Implements ISerializable - - 'The Encoding instance that we're wrapping - Private _encoding As Encoding - - 'Key for serialization - Private Const KEY_NAME As String = "Name" - - ''' - ''' Constructor. - ''' - ''' The encoding to wrap. Nothing is acceptable (indicates a default value - won't be written out to the resx if Nothing). - Public Sub New(Encoding As Encoding) - _encoding = Encoding - End Sub - - ''' - ''' Serialization constructor. - ''' - ''' - ''' - Private Sub New(info As SerializationInfo, context As StreamingContext) - Dim EncodingName As String = info.GetString(KEY_NAME) - If EncodingName <> "" Then - _encoding = Encoding.GetEncoding(EncodingName) - End If - End Sub - - ''' - ''' Returns/sets the encoding wrapped by this class. Nothing is an okay value (indicates a default encoding). - ''' - Public Property Encoding As Encoding - Get - Return _encoding - End Get - Set - _encoding = Encoding - End Set - End Property - - ''' - ''' Gets the display name (localized) of the encoding. - ''' - Public Function DisplayName() As String - If _encoding IsNot Nothing Then - Return My.Resources.Microsoft_VisualStudio_Editors_Designer.GetString(My.Resources.Microsoft_VisualStudio_Editors_Designer.RSE_EncodingDisplayName, _encoding.EncodingName, CStr(_encoding.CodePage)) - Else - 'Default - Return My.Resources.Microsoft_VisualStudio_Editors_Designer.RSE_DefaultEncoding - End If - End Function - - ''' - ''' Used during serialization. - ''' - ''' - ''' - Private Sub GetObjectData(info As SerializationInfo, context As StreamingContext) Implements ISerializable.GetObjectData - If _encoding IsNot Nothing Then - info.AddValue(KEY_NAME, _encoding.WebName) - Else - info.AddValue(KEY_NAME, "") - End If - End Sub - End Class - -End Namespace diff --git a/src/Microsoft.VisualStudio.Editors/ResourceEditor/SerializableEncodingConverter.vb b/src/Microsoft.VisualStudio.Editors/ResourceEditor/SerializableEncodingConverter.vb deleted file mode 100644 index f5c47924f79..00000000000 --- a/src/Microsoft.VisualStudio.Editors/ResourceEditor/SerializableEncodingConverter.vb +++ /dev/null @@ -1,190 +0,0 @@ -' 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.md file in the project root for more information. - -Option Explicit On -Option Strict On -Option Compare Binary -Imports System.ComponentModel -Imports System.Globalization -Imports System.Text - -Namespace Microsoft.VisualStudio.Editors.ResourceEditor - - ''' - ''' A type converter for SerializableEncoding. Associating this class with the Encoding property - ''' on Resource allows the Encoding property to have a dropdown list that we control and fill with - ''' suggested encoding values. - ''' - Friend NotInheritable Class SerializableEncodingConverter - Inherits TypeConverter - - 'Our cached set of standard SerializableEncoding values - Private _standardValuesCache As StandardValuesCollection - - ''' - ''' Gets a value indicating whether this converter can convert an object in the given source - ''' type to a SerializableEncoding object using the specified context. - ''' - Public Overrides Function CanConvertFrom(Context As ITypeDescriptorContext, SourceType As Type) As Boolean - If SourceType.Equals(GetType(String)) Then - Return True - End If - - Return MyBase.CanConvertFrom(Context, SourceType) - End Function - - ''' - ''' Converts the specified value object to a SerializableEncoding object. - ''' - Public Overrides Function ConvertFrom(Context As ITypeDescriptorContext, Culture As CultureInfo, Value As Object) As Object - Dim EncodingName = TryCast(Value, String) - If EncodingName IsNot Nothing Then - 'Try empty (indicates an Encoding of Nothing [default] - won't be written to the resx) - If EncodingName = "" Then - Return New SerializableEncoding(Nothing) - End If - - 'Try as a codepage (in case they try typing in a codepage manually) - If IsNumeric(Value) Then - Return New SerializableEncoding(Encoding.GetEncoding(CInt(Value))) - End If - - 'Otherwise, try as a web name - Return New SerializableEncoding(Encoding.GetEncoding(EncodingName)) - End If - - Return MyBase.ConvertFrom(Context, Culture, Value) - End Function - - ''' - ''' Converts the given value object to the specified destination type. - ''' - Public Overrides Function ConvertTo(Context As ITypeDescriptorContext, Culture As CultureInfo, Value As Object, DestinationType As Type) As Object - Requires.NotNull(DestinationType) - - If DestinationType.Equals(GetType(String)) AndAlso TypeOf Value Is SerializableEncoding Then - Dim SerializableEncoding As SerializableEncoding = DirectCast(Value, SerializableEncoding) - - 'Here we return the localized encoding name. That's what actually shows up - ' in the properties window. - Return SerializableEncoding.DisplayName() - End If - - Return MyBase.ConvertTo(Context, Culture, Value, DestinationType) - End Function - - ''' - ''' Gets a value indicating whether this object supports a standard set of values that - ''' can be picked from a list using the specified context. - ''' - Public Overrides Function GetStandardValuesSupported(Context As ITypeDescriptorContext) As Boolean - Return True - End Function - - ''' - ''' Indicates whether the standard values that we return are the only allowable values. - ''' - ''' - ''' - ''' We return false so that the user is allows to type in a value manually (in particular, - ''' a codepage value). - ''' - Public Overrides Function GetStandardValuesExclusive(Context As ITypeDescriptorContext) As Boolean - Return False - End Function - - ''' - ''' Gets a collection of standard values collection for a System.Globalization.CultureInfo - ''' object using the specified context. - ''' - Public Overrides Function GetStandardValues(Context As ITypeDescriptorContext) As StandardValuesCollection - If _standardValuesCache Is Nothing Then - 'We want to sort like the the Save As... dialog does. In particular, we want this sorting: - ' - ' Default - ' Current code page - ' Unicode encodings (alphabetized) - ' All others (alphabetized) - ' - 'This corresponds to approximate likeliness of use - - Dim SortedUnicodeEncodings As New SortedList(Of String, String)() 'Key=display name (localized), value = web name - Dim SortedEncodings As New SortedList(Of String, String)() 'Key=display name (localized), value = web name - Dim CurrentCodePageEncoding As Encoding = Encoding.Default - - 'Find all Unicode and other encodings, and alphabetize them - For Each Info As EncodingInfo In Encoding.GetEncodings() - 'Add the short name (web name) of the encoding to our list. This - ' name is not localized, which is what we need, because ConvertFrom - ' will be used with this name to get the actual FriendlyEncoding - ' class. The text displayed in the properties windows' dropdown - ' will come from calling ConvertToString - - Dim Key As String = Info.DisplayName - - Dim Encoding As Encoding = Info.GetEncoding() - If IsValidEncoding(Encoding) Then - If IsUnicodeEncoding(Encoding) Then - If Not SortedUnicodeEncodings.ContainsKey(Key) Then - SortedUnicodeEncodings.Add(Info.DisplayName, Info.Name) - End If - ElseIf Encoding.Equals(CurrentCodePageEncoding) Then - 'We'll this separately, so skip it for now - Else - If Not SortedEncodings.ContainsKey(Key) Then - SortedEncodings.Add(Info.DisplayName, Info.Name) - End If - End If - Else - 'If it's not valid (i.e., installed on this system), we don't want it in the list. - End If - Next - - 'Build up the full list - Dim AllEncodings As New List(Of String) From { - "", 'default - CurrentCodePageEncoding.WebName - } - AllEncodings.AddRange(SortedUnicodeEncodings.Values) - AllEncodings.AddRange(SortedEncodings.Values) - - _standardValuesCache = New StandardValuesCollection(AllEncodings) - End If - - Return _standardValuesCache - End Function - - ''' - ''' Returns true if the encoding is a Unicode encoding variant - ''' - ''' - Private Shared Function IsUnicodeEncoding(Encoding As Encoding) As Boolean - Return Encoding.Equals(Encoding.BigEndianUnicode) _ - OrElse Encoding.Equals(Encoding.Unicode) _ - OrElse Encoding.Equals(Encoding.UTF7) _ - OrElse Encoding.Equals(Encoding.UTF8) - End Function - - ''' - ''' Returns True iff the given Encoding is valid (which means essentially that - ''' it's currently installed in Windows). The goal is to get the same list - ''' of encodings that show up in the code page code editors or save as... list - ''' in Visual Studio. - ''' - ''' The encoding to check for validity. - ''' True if the encoding is valid. - Private Shared Function IsValidEncoding(Encoding As Encoding) As Boolean - If Interop.NativeMethods.IsValidCodePage(CUInt(Encoding.CodePage)) Then - Return True - End If - - 'A few exceptions that we consider valid - If IsUnicodeEncoding(Encoding) OrElse Encoding.Equals(Encoding.ASCII) Then - Return True - End If - - Return False - End Function - - End Class - -End Namespace diff --git a/src/Microsoft.VisualStudio.Editors/ResourceEditor/ThumbnailCache.vb b/src/Microsoft.VisualStudio.Editors/ResourceEditor/ThumbnailCache.vb deleted file mode 100644 index 4fe7397a2df..00000000000 --- a/src/Microsoft.VisualStudio.Editors/ResourceEditor/ThumbnailCache.vb +++ /dev/null @@ -1,465 +0,0 @@ -' 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.md file in the project root for more information. - -Option Explicit On -Option Strict On -Option Compare Binary -Imports System.Drawing -Imports System.Windows.Forms - -Namespace Microsoft.VisualStudio.Editors.ResourceEditor - - ''' - ''' This class is a cache of thumbnail images that are kept in an ImageList and intended to be used with - ''' a listview working in virtual mode. The maximum size and expected - ''' working set of the imagelist can be specified, and thumbnails will be recycled as needed. - ''' This class works by associated each thumbnail with an object key (a Resource object). When you - ''' have a thumbnail that you want cached, you add it with an associated key. - ''' Whenever you need an index into the imagelist - ''' you *must* call GetImageListIndex() to look for it first, because it's possible that the - ''' thumbnail has been recycled in order to make room for another thumbnail. - ''' - ''' Note that we can't simply use bitmaps for the thumbnail images in the ListView, because it only - ''' supports retrieving images from an ImageList (well, in Whidbey there's new support for bitmaps, - ''' but it's not very efficient and still uses an ImageList). If we created an ImageList large enough - ''' to hold a thumbnail for every single resource, that would not scale very well with large resx files - ''' (esp. since we're using a virtualized listview and doing other work to delay load images from disk), - ''' therefore we need to take the caching approach. - ''' - Friend NotInheritable Class ThumbnailCache - - 'The ImageList which contains the thumbnail images - Private ReadOnly _imageList As ImageList - - 'The number of reserved images at the bottom of the list of images, set by the user. - ' These could be used for overlays, common images, etc. They will never - ' be recycled, and will not be changed. - Private _reservedImagesCount As Integer - - 'Backs MinimumSizeBeforeRecycling property - ' - 'The Windows ListView sometimes retrieves items before suggesting a cache - ' size. We want to have a reasonable minimum in place as default. - Private _minimumSizeBeforeRecycling As Integer = 10 - - 'Backs MaximumSuggestedCacheSize property - Private _maximumSuggestedCacheSize As Integer = 30 - - 'Note that we can't simply use the key mechanism built into ImageList, because the only way to - ' replace an old image in the ImageList (without shifting other indices) does not allow you - ' to simultaneously change the key. When we replace an image in the imagelist, we're also - ' using a different key. - Private ReadOnly _keys As New Dictionary(Of Object, Integer) - - 'An Mru List we maintained to release the most less used item in the ImageList when we need load a new image. - ' For performance reason, we implement the list table inside an array of structures. Each item contains a point (index) - ' to the pervious and next item. We use the m_MruList(0) as a special item to save the head and tail of the queue, so - ' the queue will be a loop. m_MruList(i+1) item record the state of the ImageList(i). When a item was used, we add it to - ' the end of the queue, and release the item from the head of the queue when we need space. - ' NOTE: reserved item and unused space in the imageList will not in the queue. - ' (Their Previous/NextIndex will be 0). - ' The array will grow when it is necessary, but will never shrink. - Private _mruList() As MruListItem - - '===================================================================== - - ''' - ''' Constructor. - ''' - ''' The ImageList to store the thumbnail images into. - ''' - ''' IMPORTANT: Any images which are currently in the imagelist will be considered to be - ''' reserved. These could be used for overlays, common images, etc. They will never - ''' be recycled, and will not be changed. - ''' - Public Sub New(ImageList As ImageList) - _reservedImagesCount = ImageList.Images.Count - _imageList = ImageList - _mruList = New MruListItem(_maximumSuggestedCacheSize + _reservedImagesCount) {} - End Sub - - '===================================================================== - - ''' - ''' This is the absolute minimum number of thumbnails before which the cache may recycle thumbnails. - ''' It may never recycle thumbnails until the cache has grown to at least this size. - ''' You can think of this as the expected working set. I.e., if you're using a ListView, then you - ''' should set this value to at least the number of listview items which can fit on the current page, - ''' to ensure that there is no thrashing from displaying a single page. If the cache cannot grow - ''' but is less than this value, out of memory exceptions will be thrown. - ''' - ''' Does not change the number of images in the cache, only affects future behavior. - Public Property MinimumSizeBeforeRecycling As Integer - Get - Return _minimumSizeBeforeRecycling - End Get - Set - If Value > 0 Then - _minimumSizeBeforeRecycling = Value - Else - Debug.Fail("Bad MinimumSizeBeforeRecycling") - End If - End Set - End Property - - ''' - ''' The maximum size to which the thumbnail cache can grow. MinimumSizeBeforeRecycling takes precedence - if - ''' MinimumSizeBeforeRecycling is greater than MaximumSuggestedCacheSize, then MinimumSizeBeforeRecycling is used - ''' as the maximum cache size instead. - ''' - ''' Method does not try to remove any images if you set this to a lower value than the current - ''' number of images in the cache (because the caching hints from the ListView are not very accurate, no - ''' need to get rid of items from the cache that we already had the memory to create). - ''' - Public Property MaximumSuggestedCacheSize As Integer - Get - Return _maximumSuggestedCacheSize - End Get - Set - Debug.Assert(Value > 0) - _maximumSuggestedCacheSize = Value - End Set - End Property - - ''' - ''' Gets the number of thumbnails currently in the cache (not including the number of reserved images) - ''' - Public ReadOnly Property ThumbnailCount As Integer - Get - Debug.Assert(_imageList.Images.Count - _reservedImagesCount >= 0) - Return _imageList.Images.Count - _reservedImagesCount - End Get - End Property - - ''' - ''' Retrieves the actual, effective maximum size to which the cache can grow. This is equal to - ''' the largest of the MaximumSuggestedCacheSize and MinimumSizeBeforeRecycling properties. - ''' - Private ReadOnly Property EffectiveMaximumSuggestedCacheSize As Integer - Get - Return Math.Max(_minimumSizeBeforeRecycling, _maximumSuggestedCacheSize) - End Get - End Property - - '===================================================================== - - ''' - ''' Adds a new thumbnail image into the ListImage cache. - ''' - ''' An object key used to retrieve the thumbnail index later. - ''' The thumbnail image to place into the cache. After this call, the original - ''' image is no longer needed, as it is copied into the ImageList's memory. - ''' the image was shared by many objects, we will reserve those images and won't release them. - ''' - ''' The index of the new image in the cache. - ''' The key should not already exist in the cache. - Public Function Add(Key As Object, Thumbnail As Image, IsSharedImage As Boolean) As Integer - 'Verify that it's not already in the cache. - Dim CurrentIndex As Integer - Dim ThumbnailStillInCache As Boolean - GetCachedImageListIndex(Key, ThumbnailStillInCache, CurrentIndex) - If ThumbnailStillInCache Then - 'If the key's already there, simply replace the image. - _imageList.Images(CurrentIndex) = Thumbnail - Return CurrentIndex - End If - - 'Find out the index where we should place the new thumbnail. - Dim Index As Integer - Dim InsertAtEnd As Boolean - Dim ThumbnailInserted As Boolean - GetNextImageIndex(Index, InsertAtEnd) - If InsertAtEnd Then - Try - '... at the end of the list (i.e., we're expanding the ImageList's size) - _imageList.Images.Add(Thumbnail) - Debug.Assert(ThumbnailCount - 1 + _reservedImagesCount = Index) - ThumbnailInserted = True - Catch ex As Exception When Common.ReportWithoutCrash(ex, NameOf(Add), NameOf(ThumbnailCache)) - 'Hmmm, can't add a new index? Let's try again, requesting that we recycle an - ' old image if possible. If it still fails, we can't do anything else - ' to thwart the exception. - GetNextImageIndex(Index, InsertAtEnd, TryForceRecycle:=True) - If InsertAtEnd Then - Throw ex 'Couldn't recycle an index - gotta rethrow that exception after all - End If - - 'Okay, we can recycle an image. InsertAtEnd is not False, so we continue - ' through to the next If statement where the new thumbnail we get - ' added. - End Try - End If - - 'Note: This If statement can't be an Else clause - see above logic - If Not InsertAtEnd Then - 'We're recycling an image - go ahead and replace it with the new image - Debug.Assert(Not ThumbnailInserted, "logic error") - _imageList.Images(Index) = Thumbnail - ThumbnailInserted = True - End If - Debug.Assert(ThumbnailInserted, "logic error - should have been inserted by now") - - 'Enqueue the index that we used, so we can recycle it later if need be, in order of being added. - _keys.Add(Key, Index) - If IsSharedImage Then - _reservedImagesCount += 1 - Else - Try - UpdateMruList(Index, Key, True) - Catch ex As Exception - 'If we fail to enqueue, back out the addition of the key, these two lists must remain in sync. - _keys.Remove(Key) - Throw - End Try - End If - -#If DEBUG Then - Dim DebugIndex As Integer - Dim DebugFound As Boolean - DebugFound = GetCachedImageListIndexInternal(Key, DebugIndex) - Debug.Assert(DebugFound AndAlso DebugIndex = Index) - - DebugCheckQueueInvariant() -#End If - Debug.Assert(Index < ThumbnailCount + _reservedImagesCount) - Return Index - End Function - - ''' - ''' Add cache that one object should reuse a shared image. - ''' The reason is a resource item could switch between a normal image, and an image indicating something wrong. - ''' - ''' An object key used to retrieve the thumbnail index later. - ''' The index of the shared image. - ''' - ''' The key should not already exist in the cache, and it must be an index to a shared image. - Public Sub ReuseSharedImage(Key As Object, Index As Integer) - Debug.Assert(Not IsInMruList(Index)) - _keys.Add(Key, Index) - End Sub - - ''' - ''' Invalidates the thumbnail associated with this key. I.e., if the thumbnail is found in the cache (via the - ''' key, it is removed. If if is not found, nothing happens. - ''' - ''' Key to remove if found. - Public Sub InvalidateThumbnail(Key As Object) - Dim Index As Integer - If GetCachedImageListIndexInternal(Key, Index) Then - RemoveKey(Key, Index) - End If - End Sub - - ''' - ''' Check whether the object has already been cached. - ''' - ''' Key to remove if found. - Public Function IsThumbnailInCache(Key As Object) As Boolean - Return _keys.ContainsKey(Key) - End Function - - ''' - ''' Searches for a cached thumbnail by key. May return False even if the key was added, since the - ''' thumbnail may have been recycled. - ''' - ''' The key to search for in the cache. - ''' Returns true iff the key was found in the cache. - ''' The index of the found image. If ThumbnailFail is False, this value is undefined. - Public Sub GetCachedImageListIndex(Key As Object, ByRef ThumbnailFound As Boolean, ByRef Index As Integer) - ThumbnailFound = GetCachedImageListIndexInternal(Key, Index) - If ThumbnailFound AndAlso IsInMruList(Index) Then - ' NOTE: It could be a reserved item (shared icon), in this case, it is not in the MRU list, and we shouldn't update the LIST. - UpdateMruList(Index, Key, True) - End If - End Sub - - ''' - ''' Searches for a cached thumbnail by key. May return False even if the key was added, since the - ''' thumbnail may have been recycled. - ''' The internal function won't update the MRU list. - ''' - ''' The key to search for in the cache. - ''' The index of the found image. If ThumbnailFail is False, this value is undefined. - ''' True if we found one - Private Function GetCachedImageListIndexInternal(Key As Object, ByRef Index As Integer) As Boolean - Dim ThumbnailFound As Boolean - Debug.Assert(Key IsNot Nothing) - - If Not _keys.TryGetValue(Key, Index) Then - 'Sorry, we no longer have a copy of that thumbnail... You have to re-add it. - ThumbnailFound = False - Index = -1 - Else - 'Note that the Index might actually be higher than the current EffectMaximumSuggestedCacheSize. That's okay, - ' it just means that item was placed into the cache earlier when EffectMaximumSuggestedCacheSize was at - ' a higher value. - - ThumbnailFound = True - Debug.Assert(Index < ThumbnailCount + _reservedImagesCount) - End If - Return ThumbnailFound - End Function - - ''' - ''' Gets the index where the next new thumbnail image should be inserted or recycled to. - ''' - ''' [out] Returns the index to place the next image. - ''' [out] Returns True if the next image should be inserted at the end of the ImageList's images. - ''' [in] If True, and we have reached the minimum number of thumbnails before being allowed to recycle - ''' images, then we will attempt to recycle an old image. This can be useful if we haven't reached the maximum cache size, but we have - ''' run out of memory trying to increase the current cache size. - ''' - ''' When you actually use the index returned from this list, you must enqueue it. - ''' - Private Sub GetNextImageIndex(ByRef Index As Integer, ByRef InsertAtEnd As Boolean, Optional TryForceRecycle As Boolean = False) - Dim CurrentThumbnailCount As Integer = ThumbnailCount - Dim OldestIndex As Integer = _mruList(0).NextIndex - - 'If there's room for another, then add it to the end - ' Note that we will allow the imagelist to grow until it has reached both - ' MinimumSizeBeforeRecycling and MaximumSuggestedCacheSize. - If (TryForceRecycle AndAlso ThumbnailCount >= _minimumSizeBeforeRecycling) OrElse ThumbnailCount < EffectiveMaximumSuggestedCacheSize OrElse OldestIndex <= 0 Then - InsertAtEnd = True - Index = CurrentThumbnailCount + _reservedImagesCount - Else - 'Otherwise we've reached our limit and need to recycle an old position - InsertAtEnd = False - Index = OldestIndex - 1 - - ' take out of the queue... - _mruList(_mruList(OldestIndex).NextIndex).PreviousIndex = 0 - _mruList(0).NextIndex = _mruList(OldestIndex).NextIndex - _mruList(OldestIndex).NextIndex = 0 - Debug.Assert(_mruList(OldestIndex).PreviousIndex = 0) - - 'We are removing an old thumbnail entry, so we need to remove its key - If _mruList(OldestIndex).Key IsNot Nothing Then - _keys.Remove(_mruList(OldestIndex).Key) - _mruList(OldestIndex).Key = Nothing - End If - End If - - Debug.Assert(InsertAtEnd = (Index = ThumbnailCount + _reservedImagesCount)) - Debug.Assert(InsertAtEnd OrElse Index < ThumbnailCount + _reservedImagesCount, "Trying to return an image index that's not in the imagelist") - Debug.Assert(Not InsertAtEnd OrElse Index - _reservedImagesCount < EffectiveMaximumSuggestedCacheSize, - "Trying to add an image to the end of the list past the suggested max cache size") - End Sub - - ''' - ''' Removes a specific key from the cache, given its key and index (the key must exist in the cache at - ''' that index). - ''' - ''' Key to be removed. - ''' Index at which that key is currently found. - Private Sub RemoveKey(Key As Object, Index As Integer) - ' NOTE: It could be a reserved item (shared icon), in this case, it is not in the MRU list, and we shouldn't update the LIST. - If IsInMruList(Index) Then - UpdateMruList(Index, Nothing, False) - End If - - 'Now remove the key from the list of keys. - Debug.Assert(_keys.ContainsKey(Key), "Couldn't find key to remove") - _keys.Remove(Key) - - DebugCheckQueueInvariant() - End Sub - - ''' - ''' Update MRU list, and either put the item as the last item in the queue, or the first item in the queue (in case it expired.) - ''' - ''' Index in the ImageList. - ''' Key to be removed. - ''' It should be the last item in the MRU list, otherwise, it will be the first item, and will be recycle soon. - Private Sub UpdateMruList(Index As Integer, Key As Object, BeLastItem As Boolean) - Dim MruIndex As Integer = Index + 1 - - ' Check whether we need grow the size of the MRU table... - If MruIndex >= _mruList.Length Then - Dim newLength As Integer = Math.Max(MruIndex, Math.Min(MruIndex * 2, _maximumSuggestedCacheSize + _reservedImagesCount)) - ReDim Preserve _mruList(newLength) - End If - - _mruList(MruIndex).Key = Key - If IsInMruList(Index) Then - ' It is an item in the list... - If (BeLastItem AndAlso _mruList(0).PreviousIndex = MruIndex) OrElse (Not BeLastItem AndAlso _mruList(0).NextIndex = MruIndex) Then - ' already in the position - Return - End If - - ' take out from the current position - _mruList(_mruList(MruIndex).NextIndex).PreviousIndex = _mruList(MruIndex).PreviousIndex - _mruList(_mruList(MruIndex).PreviousIndex).NextIndex = _mruList(MruIndex).NextIndex - End If - - ' insert it to the right position... - If BeLastItem Then - _mruList(MruIndex).NextIndex = 0 - _mruList(MruIndex).PreviousIndex = _mruList(0).PreviousIndex - _mruList(_mruList(0).PreviousIndex).NextIndex = MruIndex - _mruList(0).PreviousIndex = MruIndex - Else - _mruList(MruIndex).PreviousIndex = 0 - _mruList(MruIndex).NextIndex = _mruList(0).NextIndex - _mruList(_mruList(0).NextIndex).PreviousIndex = MruIndex - _mruList(0).NextIndex = MruIndex - End If - End Sub - - ''' - ''' Check whether an item is in the MRU list - ''' - ''' Index in the ImageList. - Private Function IsInMruList(Index As Integer) As Boolean - Dim MruIndex As Integer = Index + 1 - If MruIndex >= _mruList.Length Then - Return False - ElseIf _mruList(MruIndex).PreviousIndex = 0 AndAlso _mruList(0).NextIndex <> MruIndex Then - Debug.Assert(_mruList(MruIndex).NextIndex = 0) - Return False - End If - Return True - End Function - - ''' - ''' Debug code that checks the integrity of the cache's data structures. - ''' - - Private Sub DebugCheckQueueInvariant() - Dim count As Integer = 0 - Dim prev As Integer = _mruList(0).PreviousIndex - Dim i As Integer = 0 - Do - Debug.Assert(_mruList(i).PreviousIndex = prev) - If _mruList(i).Key IsNot Nothing Then - Debug.Assert(_keys.ContainsKey(_mruList(i).Key)) - End If - - count += 1 - Debug.Assert(count < _mruList.Length) - - prev = i - i = _mruList(i).NextIndex - Loop While i <> 0 - - For j As Integer = 0 To _mruList.Length - 2 - If Not IsInMruList(j) Then - count += 1 - End If - Next - - Debug.Assert(count = _mruList.Length) - End Sub - - ''' - ''' MruListItem: - ''' We use an array of this structure to implement a MRU list... - ''' - Private Structure MruListItem - Public PreviousIndex As Integer ' Index of the previous item in the list - Public NextIndex As Integer ' Index of the next item in the list - Public Key As Object ' Key object we cached - End Structure - - End Class - -End Namespace diff --git a/src/Microsoft.VisualStudio.Editors/ResourceEditor/Utility.vb b/src/Microsoft.VisualStudio.Editors/ResourceEditor/Utility.vb deleted file mode 100644 index a523330d6b1..00000000000 --- a/src/Microsoft.VisualStudio.Editors/ResourceEditor/Utility.vb +++ /dev/null @@ -1,577 +0,0 @@ -' 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.md file in the project root for more information. - -Option Explicit On -Option Strict On -Option Compare Binary - -Imports System.ComponentModel -Imports System.Drawing -Imports System.IO -Imports System.Text -Imports System.Text.RegularExpressions - -Imports Microsoft.VisualStudio.Editors.Common - -Namespace Microsoft.VisualStudio.Editors.ResourceEditor - - ''' - ''' Utility functions. - ''' - Friend Module Utility - - ''' - ''' Given a source Image of any size, draws a thumbnail at a specified size. The thumbnail is intended to be used inside - ''' an ImageList and displayed inside a ListView. If requested, it will include a selection border (which is visible - ''' only when the ListViewItem is selected) and a border. - ''' - ''' - ''' The expected size of the returned thumbnail image - ''' Whether or not to draw a border around the image - ''' The width of the selection border to be drawn (ignored if DrawBorder=False) - ''' The width of the border (ignored if DrawBorder=False) - ''' The TransparentColor property of the ImageList that this will be used for. This is required to get the selection border drawing to work properly. - ''' The drawn thumbnail image - Public Function CreateThumbnail(SourceImage As Image, ThumbnailSize As Size, DrawBorder As Boolean, BorderWidth As Integer, SelectionBorderWidth As Integer, ImageListTransparentColor As Color) As Bitmap - If SourceImage Is Nothing Then - Debug.Fail("SourceImage can't be nothing") - Return Nothing - End If - - Dim Thumbnail As New Bitmap(ThumbnailSize.Width, ThumbnailSize.Height) - Using ThumbnailGraphics As Graphics = Graphics.FromImage(Thumbnail) - If Not Switches.RSEDisableHighQualityThumbnails.Enabled Then - 'This gives us much better quality for thumbnails of larger bitmaps, albeit at somewhat - ' lower performance, so only use it for images larger than the thumbnail size. - If SourceImage.Size.Width > ThumbnailSize.Width OrElse SourceImage.Height > ThumbnailSize.Height Then - ThumbnailGraphics.InterpolationMode = Drawing2D.InterpolationMode.High - End If - End If - - 'The actual area inside the thumbnail image that will hold the image. When drawing a border, this will be - ' smaller than the full size of the thumbnail. - Dim ImageRect As Rectangle = New Rectangle(0, 0, ThumbnailSize.Width, ThumbnailSize.Height) - - If DrawBorder Then - 'We use a trick to get the ListView to draw a selection border around our image (it doesn't - ' do that normally). Everything in the image that is of the transparent color set into the - ' ImageList will be drawn non-dithered when the ListViewItem is drawn. Everything else is - ' dithered. We draw the background of thumbnail with this transparent color, so it is non-dithered. - ' Around that, we draw a single-pixel visible border. Around this (width = SelectionBorderWidth), we - ' draw a color that is just a single unit off from being the same as the ImageList's transparent color. - ' Thus, when the ListViewImage is selected, it is dithered and looks like a selection rectangle. When - ' it is not selected, the eye can't tell it apart from the transparent color. - Dim AlmostTransparent As Color - If ImageListTransparentColor.R > 128 Then - AlmostTransparent = Color.FromArgb(ImageListTransparentColor.R - 1, ImageListTransparentColor.G, ImageListTransparentColor.B) - Else - AlmostTransparent = Color.FromArgb(ImageListTransparentColor.R + 1, ImageListTransparentColor.G, ImageListTransparentColor.B) - End If - - 'First draw the "selection rectangle" area (actually, we draw the whole rect, - ' but we'll erase it with background afterwards) - ThumbnailGraphics.FillRectangle(New SolidBrush(AlmostTransparent), ImageRect) - - '... then the border - ThumbnailGraphics.DrawRectangle(SystemPens.ButtonFace, - New Rectangle(SelectionBorderWidth, SelectionBorderWidth, - ThumbnailSize.Width - 2 * SelectionBorderWidth, ThumbnailSize.Height - 2 * SelectionBorderWidth)) - - '... then remove the area of both of these from the area the image will use. - ImageRect.X += BorderWidth + SelectionBorderWidth - ImageRect.Y += BorderWidth + SelectionBorderWidth - ImageRect.Width -= 2 * (BorderWidth + SelectionBorderWidth) - ImageRect.Height -= 2 * (BorderWidth + SelectionBorderWidth) - End If - - ThumbnailGraphics.FillRectangle(SystemBrushes.Window, ImageRect) - - 'Scale Bitmap size download if necessary so that it fits with the largest possible size that retains - ' the original aspect ratio inside the specified size. Do not resize to a larger size. - Dim ScaledBitmapSize As Size = ScaleSizeProportionally(SourceImage.Size, ImageRect.Size, OnlyScaleDownward:=True) - - 'Center the image inside the given bounds - Dim CenteredBitmapRect As New Rectangle( - ImageRect.X + (ImageRect.Width - ScaledBitmapSize.Width) \ 2, - ImageRect.Y + (ImageRect.Height - ScaledBitmapSize.Height) \ 2, - ScaledBitmapSize.Width, - ScaledBitmapSize.Height) - Debug.Assert(Rectangle.Intersect(CenteredBitmapRect, ImageRect).Equals(CenteredBitmapRect), - "CenteredBitmapRect should be entirely within ImageRect") - - ThumbnailGraphics.DrawImage(SourceImage, CenteredBitmapRect) - - Return Thumbnail - End Using - - End Function - - ''' - ''' Given the original size of an image, plus the maximum desired scaled size, returns the proper - ''' size to draw an image. The returned size will be no large than the maximum size given, and - ''' will be scaled proportionally. - ''' - ''' Original size of the image - ''' Maximum size that is allowed - ''' If true, image sizes which are smaller than maximum size will *not* be - ''' scaled upward. - Private Function ScaleSizeProportionally(OriginalSize As Size, MaxScaledSize As Size, OnlyScaleDownward As Boolean) As Size - 'Get the scale required to match the original width to the maximum scaled width - Dim ScaleBasedOnWidth As Double = MaxScaledSize.Width / OriginalSize.Width - - 'Get the scale required to match the original heightto the maximum scaled height - Dim ScaleBasedOnHeight As Double = MaxScaledSize.Height / OriginalSize.Height - - 'The maximum scale that we can actually use is the minimum of the two. - Dim ActualScale As Double = Math.Min(ScaleBasedOnWidth, ScaleBasedOnHeight) - - If OnlyScaleDownward Then - 'If we're not allowed to scale upward, our maximum scale value is 1.0 - ActualScale = Math.Min(ActualScale, 1.0) - End If - - Dim ScaledSize As Size = New Size(CInt(Math.Floor(OriginalSize.Width * ActualScale)), CInt(Math.Floor(OriginalSize.Height * ActualScale))) - - Debug.Assert(OnlyScaleDownward = True OrElse ScaledSize.Width = MaxScaledSize.Width OrElse ScaledSize.Height = MaxScaledSize.Height, - "One of the measures should have been scaled to exactly the maximum requested size - rounding error?") - Debug.Assert(ScaledSize.Width <= MaxScaledSize.Width AndAlso ScaledSize.Height <= MaxScaledSize.Height) - - Return ScaledSize - End Function - - ''' - ''' Given a suggested filename (with no path), converts that filename into a legal filename by replacing - ''' invalid characters with the underscore ("_"). - ''' - ''' The suggested (desired) filename, with no path - ''' A valid path based on the suggested one. - Public Function CreateLegalFileName(SuggestedFileName As String) As String - Debug.Assert(SuggestedFileName <> "") - If SuggestedFileName = "" Then - Return "" - End If - - 'Start with a standard set of invalidate file path characters - Static InvalidChars As Char() - - 'Initialize InvalidChars (once) - Static InvalidCharsInitialized As Boolean = False - If Not InvalidCharsInitialized Then - 'Merge Path.InvalidPathChars with additional invalid characters that Visual Studio doesn't like - Dim BadVisualStudioChars() As Char = {"/"c, "?"c, ":"c, "&"c, "\"c, "*"c, """"c, "<"c, ">"c, "|"c, "#"c, "%"c} - Dim InvalidPathChars As Char() = Path.GetInvalidFileNameChars() - - ReDim InvalidChars(BadVisualStudioChars.Length + InvalidPathChars.Length - 1) - BadVisualStudioChars.CopyTo(InvalidChars, 0) - InvalidPathChars.CopyTo(InvalidChars, BadVisualStudioChars.Length) - - InvalidCharsInitialized = True - End If - - 'Main loop - replace each invalid character with an underscore - Dim FileNameBuilder As New StringBuilder(SuggestedFileName) - Do - 'Search for invalid characters - Dim CurrentFileName As String = FileNameBuilder.ToString - Dim InvalidCharIndex As Integer = CurrentFileName.IndexOfAny(InvalidChars) - If InvalidCharIndex < 0 Then - 'No more invalid characters found - SuggestedFileName = CurrentFileName - Exit Do - Else - 'We found one. Replace it and try again. - FileNameBuilder.Chars(InvalidCharIndex) = "_"c - End If - Loop - - Dim strInvalidName As String = "^(NUL|CON|AUX|PRN|((COM|LPT)[0-9]))(\..*)?$" - Dim mc As MatchCollection = Regex.Matches(SuggestedFileName.ToUpperInvariant(), strInvalidName) - If mc.Count > 0 Then - SuggestedFileName = "_" & SuggestedFileName - End If - - Return SuggestedFileName - End Function - - ''' - ''' Makes sure that a particular string value is not Nothing. - ''' - ''' The string value to check against Nothing. - ''' Empty string if the string is Nothing, or else the original string value. - Public Function NonNothingString(StringValue As String) As String - If StringValue Is Nothing Then - Return "" - Else - Return StringValue - End If - End Function - - ''' - ''' Given a file path to a text file, tries to determine the encoding used by that file. - ''' - ''' The file path and name - ''' The best-guess Encoding to use for this file. - ''' - ''' Handles the cases most common for use in Visual Studio. In particular, it can detect: - ''' - ''' a) Unicode variants with BOM (byte order mark) - ''' b) UTF-8 with or without BOM - ''' c) UTF-8 without BOM (best guess) - ''' d) If the file is not detected to fall into the above cases, it is assumed to be ANSI based on the machine's current code page - ''' - ''' It does not handle these cases: - ''' - ''' a) Unicode variants without BOM - ''' - ''' This behavior is good enough for all our common scenarios because Visual Studio does not handle Unicode variants without BOM, and - ''' Notepad.exe can read Unicode files without the BOM, it refuses to write them that way. - ''' Visual Studio can write UTF-8 with or without the BOM, so detecting those cases is important. - ''' - ''' Guessing may be less accurate for very small files. - ''' - Public Function GuessFileEncoding(FilePath As String) As Encoding - 'The StreamReader knows how to interpret the byte order marks at the beginning of a file, so we'll let it do just - ' that. We create a StreamReader that starts out in ANSI with detectEncodingFromByteOrderMarks:=True. After reading - ' a few bytes, if it detects a BOM, it will change the encoding to the proper one. - Dim SystemAnsiEncoding As Encoding = Encoding.Default - Dim Reader As New StreamReader(FilePath, SystemAnsiEncoding, detectEncodingFromByteOrderMarks:=True) - Try - 'It has to read at least a few bytes - in practice should need no more than three (UTF-8 BOM) - Const BytesNeededForBOMDetection As Integer = 3 - Dim DummyChars(BytesNeededForBOMDetection + 100) As Char 'Let it read a few more bytes for safety's sake :-) ... it's okay if there aren't that many bytes in the file - Call Reader.Read(DummyChars, 0, DummyChars.Length) - If Not Reader.CurrentEncoding.Equals(SystemAnsiEncoding) Then - 'The reader changed its encoding. It must know something we don't (found a BOM)... Return that encoding. - Return Reader.CurrentEncoding - End If - Finally - Reader.Close() - End Try - - 'Okay, so we know the file does not have a BOM. - - 'Is it UTF-8? - If IsLikelyUtf8FileWithoutBOM(FilePath) Then - Return Encoding.UTF8 - End If - - 'Nothing else matches. Our best guess at this point is plain old Ansi (in particular, with the system's codepage). - Return SystemAnsiEncoding - End Function - - ''' - ''' Given a file name and path, analyzes the file to see if it's likely a UTF-8 file. - ''' - ''' File name and path to analyze. - ''' True iff the file is a valid UTF-8 file and is likely actually in that encoding. - ''' - ''' If the encoding is invalid UTF-8, returns False. - ''' - Private Function IsLikelyUtf8FileWithoutBOM(FilePath As String) As Boolean - Dim Stream As FileStream = File.Open(FilePath, FileMode.Open, FileAccess.Read) - - 'If the file doesn't violate the UTF-8 encoding, *and* it also contains UTF-8 - ' characters (i.e., anything above 7F), then it's most likely UTF-8 rather than - ' ANSI (it's unlikely for an ANSI file with characters above 7F to accidentally - ' conform to the UTF-8 encoding). If everything's less than or equal to 7F, then - ' it's really moot as to whether it's UTF-8 or ANSI - they're the same thing in - ' this case (really, it's ASCII). We'll assume in this case that it's most - ' likely intended to be ANSI and return False (since that's the default for most - ' editor to save in still). - Dim Contains7FOrAbove As Boolean = False - - Try - While True - 'UTF-8 encoding is one-to-one mapping from Unicode (in our case, 2 bytes per char) to/from a multi-byte character set. - ' A Unicode character maps as follows, where "x" represents a bit from the Unicode character: - ' - ' 0x0000 - 0x007F: 0xxxxxxx (i.e., anything in the ASCII range is simply the original ASCII byte value) - ' 0x0080 - 0x07FF: 110xxxxx 10xxxxxx - ' 0x0800 - 0xFFFF: 1110xxxx 10xxxxxx 10xxxxxx - ' - 'Example: a Unicode character of 0x00A9 (= 00000000 10101001) is encoded in UTF-8 as 11000010 10101001 - - Const LeadByteCodeFor2Bytes As Byte = &HC0 'binary 110x xxxx - UTF-8 lead byte when there's a total of 2 bytes in the character - Const LeadByteMaskFor2Bytes As Byte = &HE0 'binary 1110 0000 - masks out the first 3 bits in the byte - Const LeadByteCodeFor3Bytes As Byte = &HE0 'binary 1110 xxxx - UTF-8 lead byte when there's a total of 3 bytes in the character - Const LeadByteMaskFor3Bytes As Byte = &HF0 'binary 1111 0000 - masks out the first 4 bits in the byte - - Const ContinuationByteCode As Byte = &H80 'binary 10xx xxxx - all continuation bytes must start with this - Const ContinuationByteMask As Byte = &HC0 'binary 1100 0000 - masks out the first 2 bits in the byte - - Dim LeadByte As Integer = Stream.ReadByte() 'Must declare as Integer, ReadByte() returns (int)(-1) on EOF - Debug.Assert(LeadByte = -1 OrElse LeadByte = CByte(LeadByte)) - If LeadByte < 0 Then - 'We've reached EOF without finding anything invalid for a UTF-8 file. - 'If we've seen at least one byte above 7F, then we're most likely a UTF-8 file because it's unlikely for an ANSI - ' file with characters above 7F to accidentally be valid UTF-8. - Return Contains7FOrAbove - ElseIf LeadByte < &H80 Then - 'ASCII character. Skip it. Valid single byte for both UTF-8 and ANSI files. - Else - Debug.Assert(LeadByte >= &H80) - - 'We have a possible start of a UTF-8 character. - Contains7FOrAbove = True - - Dim ExpectedTotalBytesInChar As Integer - If (LeadByte And LeadByteMaskFor2Bytes) = LeadByteCodeFor2Bytes Then - ExpectedTotalBytesInChar = 2 - ElseIf (LeadByte And LeadByteMaskFor3Bytes) = LeadByteCodeFor3Bytes Then - ExpectedTotalBytesInChar = 3 - Else - 'Whoops, this isn't a valid UTF-8 lead byte. - Return False - End If - - 'Read the remaining bytes. Each following byte *must* start with 10xxxxxx, or it's not valid UTF-8. - For i As Integer = 1 To ExpectedTotalBytesInChar - 1 - Dim ContinuationByte As Integer = Stream.ReadByte() - Debug.Assert(ContinuationByte = -1 OrElse ContinuationByte = CByte(ContinuationByte)) - If ContinuationByte < 0 Then - 'EOF - not valid, since we're still expecting a continuation byte. - Return False - End If - - If (ContinuationByte And ContinuationByteMask) <> ContinuationByteCode Then - 'Not a valid continuation byte. - Return False - End If - Next - End If - End While - Finally - Stream.Close() - End Try - End Function - - ''' - ''' Given a stream representation of a file, determine whether or not it is a .wav file in - ''' a format supported by the Fx. - ''' - ''' A stream containing the bytes in the file - ''' True iff the file is recognized as a .wav file - ''' - ''' Shamelessly stolen from System.Windows.Forms.SoundPlayer code - ''' - Public Function IsWavSoundFile(Data As Stream) As Boolean - 'Need to seek to the beginning. With our streams we always assume we want the full data in the stream. - Data.Seek(0, SeekOrigin.Begin) - - If Data.Length > Integer.MaxValue Then - 'We can't handle something that big. - Throw New OutOfMemoryException - End If - - Dim Bytes(CInt(Data.Length - 1)) As Byte - Data.Read(Bytes, 0, CInt(Data.Length)) - Return IsWavSoundFile(Bytes) - End Function - - ''' - ''' Given a byte representation of a file, determine whether or not it is a .wav file in - ''' a format supported by the Fx. - ''' - ''' The bytes in the file - ''' True iff the file is recognized as a .wav file - ''' - ''' Shamelessly stolen from System.Windows.Forms.SoundPlayer code - ''' - Public Function IsWavSoundFile(Data As Byte()) As Boolean - Try - Dim Position As Integer = 0 - Dim wFormatTag As Short = -1 - Dim FmtChunkFound As Boolean = False - - ' validate the RIFF header - If Data(0) <> Asc("R"c) OrElse Data(1) <> Asc("I"c) OrElse Data(2) <> Asc("F"c) OrElse Data(3) <> Asc("F"c) Then - 'Invalid wave header - Return False - End If - If Data(8) <> Asc("W"c) OrElse Data(9) <> Asc("A"c) OrElse Data(10) <> Asc("V"c) OrElse Data(11) <> Asc("E"c) Then - 'Invalid wave header - Return False - End If - - ' We only care about the "fmt " chunk (yes, the space is intentional) - Position = 12 - Dim Length As Integer = Data.Length - While Not FmtChunkFound AndAlso Position < Length - 4 - If Data(Position) = Asc("f"c) AndAlso Data(Position + 1) = Asc("m"c) AndAlso Data(Position + 2) = Asc("t"c) AndAlso Data(Position + 3) = Asc(" "c) Then - ' - ' fmt chunk - ' - FmtChunkFound = True - Dim ChunkSize As Integer = BytesToInt(Data(Position + 7), Data(Position + 6), Data(Position + 5), Data(Position + 4)) - - ' - ' get the cbSize from the WAVEFORMATEX - ' - - Dim SizeOfWAVEFORMAT As Integer = 16 - If ChunkSize <> SizeOfWAVEFORMAT Then - ' we are dealing w/ WAVEFORMATEX - ' do extra validation - Dim sizeOfWAVEFORMATEX As Integer = 18 - Dim cbSize As Short = BytesToInt16(Data(Position + 8 + sizeOfWAVEFORMATEX - 1), - Data(Position + 8 + sizeOfWAVEFORMATEX - 2)) - If cbSize + sizeOfWAVEFORMATEX <> ChunkSize Then - 'Invalid wave header - Return False - End If - End If - - wFormatTag = BytesToInt16(Data(Position + 9), Data(Position + 8)) - - Position += ChunkSize + 8 - Else - Position += 8 + BytesToInt(Data(Position + 7), Data(Position + 6), Data(Position + 5), Data(Position + 4)) - End If - End While - - If Not FmtChunkFound Then - 'Invalid wave header - Return False - End If - - If wFormatTag <> Interop.Win32Constant.WAVE_FORMAT_PCM _ - AndAlso wFormatTag <> Interop.Win32Constant.WAVE_FORMAT_ADPCM _ - AndAlso wFormatTag <> Interop.Win32Constant.WAVE_FORMAT_IEEE_FLOAT _ - Then - 'Sound format not supported by Fx - Return False - End If - - Return True - Catch ex As IndexOutOfRangeException - 'Rudely hit the end of the file - Return False - End Try - End Function - - ''' - ''' Given two bytes, creates an Int16 out of them. - ''' - ''' First byte - ''' Second byte - ''' The Int16combined from the bytes - Private Function BytesToInt16(ch0 As Byte, ch1 As Byte) As Short - Return CShort(ch1) Or CShort(CInt(ch0) << 8) - End Function - - ''' - ''' Given a set of four bytes (as used in the mmio functions), returns as Int32 - ''' out of them. - ''' - ''' First byte - ''' Second byte - ''' Third byte - ''' Fourth byte - ''' The Int32 combined from these four bytes in a way used by the mmio functions. - Private Function BytesToInt(ch0 As Byte, ch1 As Byte, ch2 As Byte, ch3 As Byte) As Integer - Dim Result As Integer = ch3 - Result = Result Or (CInt(ch2) << 8) - Result = Result Or (CInt(ch1) << 16) - Result = Result Or (CInt(ch0) << 24) - Return Result - End Function - - ''' - ''' Given a length in bytes, turns it into either an "x Bytes" or "x.x KB" display, depending on the - ''' actual length. - ''' - ''' The length in bytes - ''' A friendly formatted string - Public Function GetKBDisplay(LengthInBytes As Long) As String - Const BytesInKilobyte As Integer = 1024 - - If LengthInBytes > BytesInKilobyte Then - Dim FormattedKB As String = (LengthInBytes / BytesInKilobyte).ToString("0.0") - Return String.Format(My.Resources.Microsoft_VisualStudio_Editors_Designer.GetString(My.Resources.Microsoft_VisualStudio_Editors_Designer.RSE_FileSizeFormatKB, FormattedKB)) - Else - Return String.Format(My.Resources.Microsoft_VisualStudio_Editors_Designer.GetString(My.Resources.Microsoft_VisualStudio_Editors_Designer.RSE_FileSizeFormatBytes_1Arg, LengthInBytes)) - End If - End Function - - ''' - ''' Creates a new exception with the given message and help link. - ''' - ''' The message for the exception. - ''' The help link for the exception - ''' The inner exception. - Public Function NewException(Message As String, Optional HelpLink As String = Nothing, Optional InnerException As Exception = Nothing) As Exception - Dim ex As Exception - If InnerException IsNot Nothing Then - ex = New Exception(Message, InnerException) - Else - ex = New Exception(Message) - End If - - If HelpLink <> "" Then - ex.HelpLink = HelpLink - End If - - Return ex - End Function - - ''' - ''' Given a path and filename, looks up that file on disk and returns its filename (w/o directory) - ''' in the actual case on the hard drive). If the file isn't found, it returns the filename - ''' as specified in the input. - ''' - ''' The full path and filename of the file - ''' The filename only, as actually found in the file system. - Public Function GetFileNameInActualCase(FilePath As String) As String - If File.Exists(FilePath) Then - 'Strange, but there appears to be no way to do this from the CLR/NDP, other than searching for it. - Dim FilesMatchingName() As String = Directory.GetFiles(Path.GetDirectoryName(FilePath), Path.GetFileName(FilePath)) - Debug.Assert(FilesMatchingName.Length = 1) - If FilesMatchingName.Length = 1 Then - Return Path.GetFileName(FilesMatchingName(0)) - End If - End If - - Return Path.GetFileName(FilePath) - End Function - - ''' - ''' Given a resource ID for a font name and size, creates a font based on those specifications and returns it. Returns - ''' Nothing if the font was not set in the resx file (the strings are empty). - ''' - ''' The font described as a string, just as if it were in a form's resx file. Example: "Arial, 12pt" - Public Function GetFontFromResources(FontResourceString As String) As Font - Dim FontAsString As String = FontResourceString - - If FontAsString = "" Then - Return Nothing - End If - - Try - Dim Converter As TypeConverter = TypeDescriptor.GetConverter(GetType(Font)) - Return DirectCast(Converter.ConvertFromInvariantString(FontAsString), Font) - Catch ex As Exception When ReportWithoutCrash(ex, $"Unable to create requested font {FontAsString}", NameOf(Utility)) - End Try - - Return Nothing - End Function - - ''' - ''' Determines if the provided file name has the .resw file extension - ''' - ''' - Public Function HasResWExtension(fileName As String) As Boolean - Return Path.GetExtension(fileName).Equals(".resw", StringComparison.OrdinalIgnoreCase) - End Function - - ''' - ''' Determines if the provided file name has any resource file extension (.resx or .resw) - ''' - ''' - Public Function HasResourceFileExtension(fileName As String) As Boolean - Dim extension As String = Path.GetExtension(fileName) - Return extension.Equals(".resx", StringComparison.OrdinalIgnoreCase) OrElse - extension.Equals(".resw", StringComparison.OrdinalIgnoreCase) - End Function - - End Module - -End Namespace diff --git a/src/Microsoft.VisualStudio.Editors/ResourceEditor/xlf/DialogQueryName.cs.xlf b/src/Microsoft.VisualStudio.Editors/ResourceEditor/xlf/DialogQueryName.cs.xlf deleted file mode 100644 index 61fc5e44300..00000000000 --- a/src/Microsoft.VisualStudio.Editors/ResourceEditor/xlf/DialogQueryName.cs.xlf +++ /dev/null @@ -1,27 +0,0 @@ - - - - - - P&lease enter a name for the new resource. - Zadejte prosím &název nového prostředku. - - - - Cancel - Zrušit - - - - &Add - Přid&at - - - - Add New Resource - Přidat nový prostředek - - - - - \ No newline at end of file diff --git a/src/Microsoft.VisualStudio.Editors/ResourceEditor/xlf/DialogQueryName.de.xlf b/src/Microsoft.VisualStudio.Editors/ResourceEditor/xlf/DialogQueryName.de.xlf deleted file mode 100644 index f749b8b7118..00000000000 --- a/src/Microsoft.VisualStudio.Editors/ResourceEditor/xlf/DialogQueryName.de.xlf +++ /dev/null @@ -1,27 +0,0 @@ - - - - - - P&lease enter a name for the new resource. - Ge&ben Sie einen Namen für die neue Ressource ein. - - - - Cancel - Abbrechen - - - - &Add - &Hinzufügen - - - - Add New Resource - Neue Ressource hinzufügen - - - - - \ No newline at end of file diff --git a/src/Microsoft.VisualStudio.Editors/ResourceEditor/xlf/DialogQueryName.es.xlf b/src/Microsoft.VisualStudio.Editors/ResourceEditor/xlf/DialogQueryName.es.xlf deleted file mode 100644 index 25f0fc7fafc..00000000000 --- a/src/Microsoft.VisualStudio.Editors/ResourceEditor/xlf/DialogQueryName.es.xlf +++ /dev/null @@ -1,27 +0,0 @@ - - - - - - P&lease enter a name for the new resource. - &Escriba un nombre para el nuevo recurso. - - - - Cancel - Cancelar - - - - &Add - &Agregar - - - - Add New Resource - Agregar nuevo recurso - - - - - \ No newline at end of file diff --git a/src/Microsoft.VisualStudio.Editors/ResourceEditor/xlf/DialogQueryName.fr.xlf b/src/Microsoft.VisualStudio.Editors/ResourceEditor/xlf/DialogQueryName.fr.xlf deleted file mode 100644 index 61f8a816a5a..00000000000 --- a/src/Microsoft.VisualStudio.Editors/ResourceEditor/xlf/DialogQueryName.fr.xlf +++ /dev/null @@ -1,27 +0,0 @@ - - - - - - P&lease enter a name for the new resource. - &Entrez un nom pour la nouvelle ressource. - - - - Cancel - Annuler - - - - &Add - &Ajouter - - - - Add New Resource - Ajouter une nouvelle ressource - - - - - \ No newline at end of file diff --git a/src/Microsoft.VisualStudio.Editors/ResourceEditor/xlf/DialogQueryName.it.xlf b/src/Microsoft.VisualStudio.Editors/ResourceEditor/xlf/DialogQueryName.it.xlf deleted file mode 100644 index 8bd22837e3f..00000000000 --- a/src/Microsoft.VisualStudio.Editors/ResourceEditor/xlf/DialogQueryName.it.xlf +++ /dev/null @@ -1,27 +0,0 @@ - - - - - - P&lease enter a name for the new resource. - Immettere un nome per &la nuova risorsa. - - - - Cancel - Annulla - - - - &Add - &Aggiungi - - - - Add New Resource - Aggiungi nuova risorsa - - - - - \ No newline at end of file diff --git a/src/Microsoft.VisualStudio.Editors/ResourceEditor/xlf/DialogQueryName.ja.xlf b/src/Microsoft.VisualStudio.Editors/ResourceEditor/xlf/DialogQueryName.ja.xlf deleted file mode 100644 index 261f635c956..00000000000 --- a/src/Microsoft.VisualStudio.Editors/ResourceEditor/xlf/DialogQueryName.ja.xlf +++ /dev/null @@ -1,27 +0,0 @@ - - - - - - P&lease enter a name for the new resource. - 新しいリソース名を入力してください(&L) - - - - Cancel - キャンセル - - - - &Add - 追加(&A) - - - - Add New Resource - 新しいリソースを追加する - - - - - \ No newline at end of file diff --git a/src/Microsoft.VisualStudio.Editors/ResourceEditor/xlf/DialogQueryName.ko.xlf b/src/Microsoft.VisualStudio.Editors/ResourceEditor/xlf/DialogQueryName.ko.xlf deleted file mode 100644 index e3f92fff8e0..00000000000 --- a/src/Microsoft.VisualStudio.Editors/ResourceEditor/xlf/DialogQueryName.ko.xlf +++ /dev/null @@ -1,27 +0,0 @@ - - - - - - P&lease enter a name for the new resource. - 새 리소스의 이름을 입력하십시오(&L). - - - - Cancel - 취소 - - - - &Add - 추가(&A) - - - - Add New Resource - 새 리소스 추가 - - - - - \ No newline at end of file diff --git a/src/Microsoft.VisualStudio.Editors/ResourceEditor/xlf/DialogQueryName.pl.xlf b/src/Microsoft.VisualStudio.Editors/ResourceEditor/xlf/DialogQueryName.pl.xlf deleted file mode 100644 index f4013d8d57c..00000000000 --- a/src/Microsoft.VisualStudio.Editors/ResourceEditor/xlf/DialogQueryName.pl.xlf +++ /dev/null @@ -1,27 +0,0 @@ - - - - - - P&lease enter a name for the new resource. - Wprowadź nazwę d&la nowego zasobu. - - - - Cancel - Anuluj - - - - &Add - &Dodaj - - - - Add New Resource - Dodaj nowy zasób - - - - - \ No newline at end of file diff --git a/src/Microsoft.VisualStudio.Editors/ResourceEditor/xlf/DialogQueryName.pt-BR.xlf b/src/Microsoft.VisualStudio.Editors/ResourceEditor/xlf/DialogQueryName.pt-BR.xlf deleted file mode 100644 index a4df444f71e..00000000000 --- a/src/Microsoft.VisualStudio.Editors/ResourceEditor/xlf/DialogQueryName.pt-BR.xlf +++ /dev/null @@ -1,27 +0,0 @@ - - - - - - P&lease enter a name for the new resource. - Insira um &nome para o novo recurso. - - - - Cancel - Cancelar - - - - &Add - &Adicionar - - - - Add New Resource - Adicionar Novo Recurso - - - - - \ No newline at end of file diff --git a/src/Microsoft.VisualStudio.Editors/ResourceEditor/xlf/DialogQueryName.ru.xlf b/src/Microsoft.VisualStudio.Editors/ResourceEditor/xlf/DialogQueryName.ru.xlf deleted file mode 100644 index ae3386ab830..00000000000 --- a/src/Microsoft.VisualStudio.Editors/ResourceEditor/xlf/DialogQueryName.ru.xlf +++ /dev/null @@ -1,27 +0,0 @@ - - - - - - P&lease enter a name for the new resource. - &Введите имя для нового ресурса. - - - - Cancel - Отмена - - - - &Add - Д&обавить - - - - Add New Resource - Добавить новый ресурс - - - - - \ No newline at end of file diff --git a/src/Microsoft.VisualStudio.Editors/ResourceEditor/xlf/DialogQueryName.tr.xlf b/src/Microsoft.VisualStudio.Editors/ResourceEditor/xlf/DialogQueryName.tr.xlf deleted file mode 100644 index 202151a7986..00000000000 --- a/src/Microsoft.VisualStudio.Editors/ResourceEditor/xlf/DialogQueryName.tr.xlf +++ /dev/null @@ -1,27 +0,0 @@ - - - - - - P&lease enter a name for the new resource. - Yeni kay&nak için bir ad girin. - - - - Cancel - İptal - - - - &Add - &Ekle - - - - Add New Resource - Yeni Kaynak Ekle - - - - - \ No newline at end of file diff --git a/src/Microsoft.VisualStudio.Editors/ResourceEditor/xlf/DialogQueryName.zh-Hans.xlf b/src/Microsoft.VisualStudio.Editors/ResourceEditor/xlf/DialogQueryName.zh-Hans.xlf deleted file mode 100644 index a0841eea0ae..00000000000 --- a/src/Microsoft.VisualStudio.Editors/ResourceEditor/xlf/DialogQueryName.zh-Hans.xlf +++ /dev/null @@ -1,27 +0,0 @@ - - - - - - P&lease enter a name for the new resource. - 请输入新资源的名称(&L)。 - - - - Cancel - 取消 - - - - &Add - 添加(&A) - - - - Add New Resource - 添加新资源 - - - - - \ No newline at end of file diff --git a/src/Microsoft.VisualStudio.Editors/ResourceEditor/xlf/DialogQueryName.zh-Hant.xlf b/src/Microsoft.VisualStudio.Editors/ResourceEditor/xlf/DialogQueryName.zh-Hant.xlf deleted file mode 100644 index 7e5432e8f4c..00000000000 --- a/src/Microsoft.VisualStudio.Editors/ResourceEditor/xlf/DialogQueryName.zh-Hant.xlf +++ /dev/null @@ -1,27 +0,0 @@ - - - - - - P&lease enter a name for the new resource. - 請輸入新資源的名稱(&L) - - - - Cancel - 取消 - - - - &Add - 新增(&A) - - - - Add New Resource - 新增新資源 - - - - - \ No newline at end of file diff --git a/src/Microsoft.VisualStudio.Editors/ResourceEditor/xlf/OpenFileWarningDialog.cs.xlf b/src/Microsoft.VisualStudio.Editors/ResourceEditor/xlf/OpenFileWarningDialog.cs.xlf deleted file mode 100644 index 1a98e2df3ff..00000000000 --- a/src/Microsoft.VisualStudio.Editors/ResourceEditor/xlf/OpenFileWarningDialog.cs.xlf +++ /dev/null @@ -1,37 +0,0 @@ - - - - - - &Always ask before opening this file type. - &Před otevřením tohoto typu souboru se vždy zeptat. - - - - The Managed Resource Editor does not support the requested file type. Would you like to open the default editor for "{0}"? - Editor spravovaných prostředků nepodporuje požadovaný typ souboru. Chcete otevřít výchozí editor pro {0}? - - - - OK - OK - - - - Cancel - Zrušit - - - - Some files could contain malicious content. You should only answer Yes if you trust the source of this file. - Obsah některých souborů může být nebezpečný. Zvolte Ano, jen když důvěřujete zdroji tohoto souboru. - - - - Open File - Otevřít soubor - - - - - \ No newline at end of file diff --git a/src/Microsoft.VisualStudio.Editors/ResourceEditor/xlf/OpenFileWarningDialog.de.xlf b/src/Microsoft.VisualStudio.Editors/ResourceEditor/xlf/OpenFileWarningDialog.de.xlf deleted file mode 100644 index 9f7cd3edad2..00000000000 --- a/src/Microsoft.VisualStudio.Editors/ResourceEditor/xlf/OpenFileWarningDialog.de.xlf +++ /dev/null @@ -1,37 +0,0 @@ - - - - - - &Always ask before opening this file type. - &Vor dem Öffnen dieses Dateityps immer bestätigen - - - - The Managed Resource Editor does not support the requested file type. Would you like to open the default editor for "{0}"? - Der Editor für verwaltete Ressourcen unterstützt den angeforderten Dateityp nicht. Möchten Sie den Standardeditor für "{0}" öffnen? - - - - OK - OK - - - - Cancel - Abbrechen - - - - Some files could contain malicious content. You should only answer Yes if you trust the source of this file. - Der Inhalt einiger Dateien ist möglicherweise nicht sicher. Antworten Sie nur mit "Ja", wenn Sie der Quelle dieser Datei vertrauen. - - - - Open File - Datei öffnen - - - - - \ No newline at end of file diff --git a/src/Microsoft.VisualStudio.Editors/ResourceEditor/xlf/OpenFileWarningDialog.es.xlf b/src/Microsoft.VisualStudio.Editors/ResourceEditor/xlf/OpenFileWarningDialog.es.xlf deleted file mode 100644 index 1ab0bda3b18..00000000000 --- a/src/Microsoft.VisualStudio.Editors/ResourceEditor/xlf/OpenFileWarningDialog.es.xlf +++ /dev/null @@ -1,37 +0,0 @@ - - - - - - &Always ask before opening this file type. - &Preguntar siempre antes de abrir este tipo de archivo. - - - - The Managed Resource Editor does not support the requested file type. Would you like to open the default editor for "{0}"? - El Editor de recursos administrados no admite el tipo de archivo solicitado. ¿Quiere abrir el editor predeterminado para"{0}"? - - - - OK - Aceptar - - - - Cancel - Cancelar - - - - Some files could contain malicious content. You should only answer Yes if you trust the source of this file. - Algunos archivos pueden contener contenido malintencionado. Solo debe responder Sí si confía en el origen de este archivo. - - - - Open File - Abrir Arquivo - - - - - \ No newline at end of file diff --git a/src/Microsoft.VisualStudio.Editors/ResourceEditor/xlf/OpenFileWarningDialog.fr.xlf b/src/Microsoft.VisualStudio.Editors/ResourceEditor/xlf/OpenFileWarningDialog.fr.xlf deleted file mode 100644 index bbdaf13e16e..00000000000 --- a/src/Microsoft.VisualStudio.Editors/ResourceEditor/xlf/OpenFileWarningDialog.fr.xlf +++ /dev/null @@ -1,37 +0,0 @@ - - - - - - &Always ask before opening this file type. - &Toujours demander avant d'ouvrir ce type de fichier. - - - - The Managed Resource Editor does not support the requested file type. Would you like to open the default editor for "{0}"? - L'Éditeur de ressources managées ne prend pas en charge le type de fichier demandé. Voulez-vous ouvrir l'éditeur par défaut de "{0}" ? - - - - OK - OK - - - - Cancel - Annuler - - - - Some files could contain malicious content. You should only answer Yes if you trust the source of this file. - Certains fichiers peuvent contenir des éléments nuisibles. Cliquez sur Oui uniquement si la source de ce fichier est fiable. - - - - Open File - Ouvrir un fichier - - - - - \ No newline at end of file diff --git a/src/Microsoft.VisualStudio.Editors/ResourceEditor/xlf/OpenFileWarningDialog.it.xlf b/src/Microsoft.VisualStudio.Editors/ResourceEditor/xlf/OpenFileWarningDialog.it.xlf deleted file mode 100644 index 1d477a268ee..00000000000 --- a/src/Microsoft.VisualStudio.Editors/ResourceEditor/xlf/OpenFileWarningDialog.it.xlf +++ /dev/null @@ -1,37 +0,0 @@ - - - - - - &Always ask before opening this file type. - &Avvisa sempre prima di aprire questo tipo di file. - - - - The Managed Resource Editor does not support the requested file type. Would you like to open the default editor for "{0}"? - L'Editor risorse gestite non supporta il tipo di file richiesto. Aprire l'editor predefinito per "{0}"? - - - - OK - OK - - - - Cancel - Annulla - - - - Some files could contain malicious content. You should only answer Yes if you trust the source of this file. - Alcuni file potrebbero includere contenuto dannoso. Rispondere Sì solo se si ritiene attendibile l'origine del file. - - - - Open File - Apri file - - - - - \ No newline at end of file diff --git a/src/Microsoft.VisualStudio.Editors/ResourceEditor/xlf/OpenFileWarningDialog.ja.xlf b/src/Microsoft.VisualStudio.Editors/ResourceEditor/xlf/OpenFileWarningDialog.ja.xlf deleted file mode 100644 index 19ab2908bad..00000000000 --- a/src/Microsoft.VisualStudio.Editors/ResourceEditor/xlf/OpenFileWarningDialog.ja.xlf +++ /dev/null @@ -1,37 +0,0 @@ - - - - - - &Always ask before opening this file type. - この種類のファイルであれば常に警告する(&A) - - - - The Managed Resource Editor does not support the requested file type. Would you like to open the default editor for "{0}"? - 要求されたファイルの種類はマネージ リソース エディターではサポートされていません。"{0}" に対して既定のエディターを開きますか? - - - - OK - OK - - - - Cancel - キャンセル - - - - Some files could contain malicious content. You should only answer Yes if you trust the source of this file. - ファイルに安全でないコンテンツが含まれている可能性があります。このファイルの発行元が信頼できる場合のみ、[はい] を選択してください。 - - - - Open File - ファイルを開く - - - - - \ No newline at end of file diff --git a/src/Microsoft.VisualStudio.Editors/ResourceEditor/xlf/OpenFileWarningDialog.ko.xlf b/src/Microsoft.VisualStudio.Editors/ResourceEditor/xlf/OpenFileWarningDialog.ko.xlf deleted file mode 100644 index b5fc6795ad6..00000000000 --- a/src/Microsoft.VisualStudio.Editors/ResourceEditor/xlf/OpenFileWarningDialog.ko.xlf +++ /dev/null @@ -1,37 +0,0 @@ - - - - - - &Always ask before opening this file type. - 이 파일 형식을 열기 전에 항상 확인(&A) - - - - The Managed Resource Editor does not support the requested file type. Would you like to open the default editor for "{0}"? - 관리되는 리소스 편집기는 요청된 파일 형식을 지원하지 않습니다. "{0}"을(를) 기본 편집기에서 여시겠습니까? - - - - OK - 확인 - - - - Cancel - 취소 - - - - Some files could contain malicious content. You should only answer Yes if you trust the source of this file. - 일부 파일에 악의적인 내용이 들어 있을 수 있습니다. 이 파일의 소스를 신뢰할 수 있는 경우에만 [예]를 선택하세요. - - - - Open File - 파일 열기 - - - - - \ No newline at end of file diff --git a/src/Microsoft.VisualStudio.Editors/ResourceEditor/xlf/OpenFileWarningDialog.pl.xlf b/src/Microsoft.VisualStudio.Editors/ResourceEditor/xlf/OpenFileWarningDialog.pl.xlf deleted file mode 100644 index 21f7b51cd6c..00000000000 --- a/src/Microsoft.VisualStudio.Editors/ResourceEditor/xlf/OpenFileWarningDialog.pl.xlf +++ /dev/null @@ -1,37 +0,0 @@ - - - - - - &Always ask before opening this file type. - &Zawsze pytaj przed otwarciem pliku tego typu. - - - - The Managed Resource Editor does not support the requested file type. Would you like to open the default editor for "{0}"? - Edytor zarządzanych zasobów nie obsługuje żądanego typu pliku. Czy chcesz otworzyć domyślny edytor dla „{0}”? - - - - OK - OK - - - - Cancel - Anuluj - - - - Some files could contain malicious content. You should only answer Yes if you trust the source of this file. - Niektóre pliki mogą zawierać niebezpieczną zawartość. Należy wybrać odpowiedź Tak tylko, jeśli ten plik pochodzi z zaufanego źródła. - - - - Open File - Otwórz plik - - - - - \ No newline at end of file diff --git a/src/Microsoft.VisualStudio.Editors/ResourceEditor/xlf/OpenFileWarningDialog.pt-BR.xlf b/src/Microsoft.VisualStudio.Editors/ResourceEditor/xlf/OpenFileWarningDialog.pt-BR.xlf deleted file mode 100644 index cc7bbdc9d3d..00000000000 --- a/src/Microsoft.VisualStudio.Editors/ResourceEditor/xlf/OpenFileWarningDialog.pt-BR.xlf +++ /dev/null @@ -1,37 +0,0 @@ - - - - - - &Always ask before opening this file type. - &Sempre perguntar antes de abrir este tipo de arquivo. - - - - The Managed Resource Editor does not support the requested file type. Would you like to open the default editor for "{0}"? - O Editor de Recursos Gerenciados não dá suporte ao tipo de arquivo solicitado. Gostaria de abrir o editor padrão para "{0}"? - - - - OK - OK - - - - Cancel - Cancelar - - - - Some files could contain malicious content. You should only answer Yes if you trust the source of this file. - Alguns arquivos poderiam conter conteúdo mal-intencionado. Você deve responder Sim apenas se confiar na fonte desse arquivo. - - - - Open File - Abrir arquivo - - - - - \ No newline at end of file diff --git a/src/Microsoft.VisualStudio.Editors/ResourceEditor/xlf/OpenFileWarningDialog.ru.xlf b/src/Microsoft.VisualStudio.Editors/ResourceEditor/xlf/OpenFileWarningDialog.ru.xlf deleted file mode 100644 index 4641ebac5fe..00000000000 --- a/src/Microsoft.VisualStudio.Editors/ResourceEditor/xlf/OpenFileWarningDialog.ru.xlf +++ /dev/null @@ -1,37 +0,0 @@ - - - - - - &Always ask before opening this file type. - &Всегда выводить запрос перед открытием файлов этого типа. - - - - The Managed Resource Editor does not support the requested file type. Would you like to open the default editor for "{0}"? - Редактор управляемых ресурсов не поддерживает запрошенный тип файлов. Открыть для "{0}" редактор, используемый по умолчанию? - - - - OK - ОК - - - - Cancel - Отмена - - - - Some files could contain malicious content. You should only answer Yes if you trust the source of this file. - Содержимое некоторых файлов может повредить ваш компьютер. Вы должны ответить "Да" только в том случае, если полностью доверяете источнику этого файла. - - - - Open File - Открыть файл - - - - - \ No newline at end of file diff --git a/src/Microsoft.VisualStudio.Editors/ResourceEditor/xlf/OpenFileWarningDialog.tr.xlf b/src/Microsoft.VisualStudio.Editors/ResourceEditor/xlf/OpenFileWarningDialog.tr.xlf deleted file mode 100644 index 2ade1dc2123..00000000000 --- a/src/Microsoft.VisualStudio.Editors/ResourceEditor/xlf/OpenFileWarningDialog.tr.xlf +++ /dev/null @@ -1,37 +0,0 @@ - - - - - - &Always ask before opening this file type. - Bu dosy&a türünü açmadan önce her zaman sor. - - - - The Managed Resource Editor does not support the requested file type. Would you like to open the default editor for "{0}"? - Yönetilen Kaynak Düzenleyicisi, istenen dosya türünü desteklemiyor. "{0}" için varsayılan düzenleyiciyi açmak istiyor musunuz? - - - - OK - Tamam - - - - Cancel - İptal - - - - Some files could contain malicious content. You should only answer Yes if you trust the source of this file. - Bazı dosyalar kötü amaçlı içeriklere sahip olabilir. Yalnızca, bu dosyanın kaynağına güveniyorsanız Evet yanıtını verin. - - - - Open File - Dosyayı Aç - - - - - \ No newline at end of file diff --git a/src/Microsoft.VisualStudio.Editors/ResourceEditor/xlf/OpenFileWarningDialog.zh-Hans.xlf b/src/Microsoft.VisualStudio.Editors/ResourceEditor/xlf/OpenFileWarningDialog.zh-Hans.xlf deleted file mode 100644 index 9bbc375885a..00000000000 --- a/src/Microsoft.VisualStudio.Editors/ResourceEditor/xlf/OpenFileWarningDialog.zh-Hans.xlf +++ /dev/null @@ -1,37 +0,0 @@ - - - - - - &Always ask before opening this file type. - 打开此类文件前始终询问(&A)。 - - - - The Managed Resource Editor does not support the requested file type. Would you like to open the default editor for "{0}"? - 托管资源编辑器不支持所请求的文件类型。是否打开“{0}”的默认编辑器? - - - - OK - 确定 - - - - Cancel - 取消 - - - - Some files could contain malicious content. You should only answer Yes if you trust the source of this file. - 某些文件可能包含恶意内容。只有在你信任此文件的来源时,才能回答“是”。 - - - - Open File - 打开文件 - - - - - \ No newline at end of file diff --git a/src/Microsoft.VisualStudio.Editors/ResourceEditor/xlf/OpenFileWarningDialog.zh-Hant.xlf b/src/Microsoft.VisualStudio.Editors/ResourceEditor/xlf/OpenFileWarningDialog.zh-Hant.xlf deleted file mode 100644 index d050ac3e4aa..00000000000 --- a/src/Microsoft.VisualStudio.Editors/ResourceEditor/xlf/OpenFileWarningDialog.zh-Hant.xlf +++ /dev/null @@ -1,37 +0,0 @@ - - - - - - &Always ask before opening this file type. - 開啟這種檔案類型時永遠要詢問(&A) - - - - The Managed Resource Editor does not support the requested file type. Would you like to open the default editor for "{0}"? - 受控資源編輯器不支援要求的檔案類型。要開啟 "{0}" 的預設編輯器嗎? - - - - OK - 確定 - - - - Cancel - 取消 - - - - Some files could contain malicious content. You should only answer Yes if you trust the source of this file. - 某些檔案可能包含懷有惡意的內容。應該只在您信任此檔案的來源時,才回覆 [是]。 - - - - Open File - 開啟檔案 - - - - - \ No newline at end of file diff --git a/src/Microsoft.VisualStudio.Editors/ResourceEditor/xlf/ResourceEditorView.cs.xlf b/src/Microsoft.VisualStudio.Editors/ResourceEditor/xlf/ResourceEditorView.cs.xlf deleted file mode 100644 index 37a50d992c2..00000000000 --- a/src/Microsoft.VisualStudio.Editors/ResourceEditor/xlf/ResourceEditorView.cs.xlf +++ /dev/null @@ -1,6 +0,0 @@ - - - - - - \ No newline at end of file diff --git a/src/Microsoft.VisualStudio.Editors/ResourceEditor/xlf/ResourceEditorView.de.xlf b/src/Microsoft.VisualStudio.Editors/ResourceEditor/xlf/ResourceEditorView.de.xlf deleted file mode 100644 index 67f4385625d..00000000000 --- a/src/Microsoft.VisualStudio.Editors/ResourceEditor/xlf/ResourceEditorView.de.xlf +++ /dev/null @@ -1,6 +0,0 @@ - - - - - - \ No newline at end of file diff --git a/src/Microsoft.VisualStudio.Editors/ResourceEditor/xlf/ResourceEditorView.es.xlf b/src/Microsoft.VisualStudio.Editors/ResourceEditor/xlf/ResourceEditorView.es.xlf deleted file mode 100644 index 27355c9c5e8..00000000000 --- a/src/Microsoft.VisualStudio.Editors/ResourceEditor/xlf/ResourceEditorView.es.xlf +++ /dev/null @@ -1,6 +0,0 @@ - - - - - - \ No newline at end of file diff --git a/src/Microsoft.VisualStudio.Editors/ResourceEditor/xlf/ResourceEditorView.fr.xlf b/src/Microsoft.VisualStudio.Editors/ResourceEditor/xlf/ResourceEditorView.fr.xlf deleted file mode 100644 index 450bbe58fe4..00000000000 --- a/src/Microsoft.VisualStudio.Editors/ResourceEditor/xlf/ResourceEditorView.fr.xlf +++ /dev/null @@ -1,6 +0,0 @@ - - - - - - \ No newline at end of file diff --git a/src/Microsoft.VisualStudio.Editors/ResourceEditor/xlf/ResourceEditorView.it.xlf b/src/Microsoft.VisualStudio.Editors/ResourceEditor/xlf/ResourceEditorView.it.xlf deleted file mode 100644 index 35f1e06de7d..00000000000 --- a/src/Microsoft.VisualStudio.Editors/ResourceEditor/xlf/ResourceEditorView.it.xlf +++ /dev/null @@ -1,6 +0,0 @@ - - - - - - \ No newline at end of file diff --git a/src/Microsoft.VisualStudio.Editors/ResourceEditor/xlf/ResourceEditorView.ja.xlf b/src/Microsoft.VisualStudio.Editors/ResourceEditor/xlf/ResourceEditorView.ja.xlf deleted file mode 100644 index 45ec954aaca..00000000000 --- a/src/Microsoft.VisualStudio.Editors/ResourceEditor/xlf/ResourceEditorView.ja.xlf +++ /dev/null @@ -1,6 +0,0 @@ - - - - - - \ No newline at end of file diff --git a/src/Microsoft.VisualStudio.Editors/ResourceEditor/xlf/ResourceEditorView.ko.xlf b/src/Microsoft.VisualStudio.Editors/ResourceEditor/xlf/ResourceEditorView.ko.xlf deleted file mode 100644 index ab0380992f2..00000000000 --- a/src/Microsoft.VisualStudio.Editors/ResourceEditor/xlf/ResourceEditorView.ko.xlf +++ /dev/null @@ -1,6 +0,0 @@ - - - - - - \ No newline at end of file diff --git a/src/Microsoft.VisualStudio.Editors/ResourceEditor/xlf/ResourceEditorView.pl.xlf b/src/Microsoft.VisualStudio.Editors/ResourceEditor/xlf/ResourceEditorView.pl.xlf deleted file mode 100644 index 2dd175c69b1..00000000000 --- a/src/Microsoft.VisualStudio.Editors/ResourceEditor/xlf/ResourceEditorView.pl.xlf +++ /dev/null @@ -1,6 +0,0 @@ - - - - - - \ No newline at end of file diff --git a/src/Microsoft.VisualStudio.Editors/ResourceEditor/xlf/ResourceEditorView.pt-BR.xlf b/src/Microsoft.VisualStudio.Editors/ResourceEditor/xlf/ResourceEditorView.pt-BR.xlf deleted file mode 100644 index 584a4891958..00000000000 --- a/src/Microsoft.VisualStudio.Editors/ResourceEditor/xlf/ResourceEditorView.pt-BR.xlf +++ /dev/null @@ -1,6 +0,0 @@ - - - - - - \ No newline at end of file diff --git a/src/Microsoft.VisualStudio.Editors/ResourceEditor/xlf/ResourceEditorView.ru.xlf b/src/Microsoft.VisualStudio.Editors/ResourceEditor/xlf/ResourceEditorView.ru.xlf deleted file mode 100644 index 7647e24f8f5..00000000000 --- a/src/Microsoft.VisualStudio.Editors/ResourceEditor/xlf/ResourceEditorView.ru.xlf +++ /dev/null @@ -1,6 +0,0 @@ - - - - - - \ No newline at end of file diff --git a/src/Microsoft.VisualStudio.Editors/ResourceEditor/xlf/ResourceEditorView.tr.xlf b/src/Microsoft.VisualStudio.Editors/ResourceEditor/xlf/ResourceEditorView.tr.xlf deleted file mode 100644 index dbbb6ff671a..00000000000 --- a/src/Microsoft.VisualStudio.Editors/ResourceEditor/xlf/ResourceEditorView.tr.xlf +++ /dev/null @@ -1,6 +0,0 @@ - - - - - - \ No newline at end of file diff --git a/src/Microsoft.VisualStudio.Editors/ResourceEditor/xlf/ResourceEditorView.zh-Hans.xlf b/src/Microsoft.VisualStudio.Editors/ResourceEditor/xlf/ResourceEditorView.zh-Hans.xlf deleted file mode 100644 index 1a252233bab..00000000000 --- a/src/Microsoft.VisualStudio.Editors/ResourceEditor/xlf/ResourceEditorView.zh-Hans.xlf +++ /dev/null @@ -1,6 +0,0 @@ - - - - - - \ No newline at end of file diff --git a/src/Microsoft.VisualStudio.Editors/ResourceEditor/xlf/ResourceEditorView.zh-Hant.xlf b/src/Microsoft.VisualStudio.Editors/ResourceEditor/xlf/ResourceEditorView.zh-Hant.xlf deleted file mode 100644 index cb924d83d6f..00000000000 --- a/src/Microsoft.VisualStudio.Editors/ResourceEditor/xlf/ResourceEditorView.zh-Hant.xlf +++ /dev/null @@ -1,6 +0,0 @@ - - - - - - \ No newline at end of file diff --git a/src/Microsoft.VisualStudio.Editors/ResourceEditor/xlf/cs/DialogQueryName.xlf.lcl b/src/Microsoft.VisualStudio.Editors/ResourceEditor/xlf/cs/DialogQueryName.xlf.lcl deleted file mode 100644 index e9d8c31e0b3..00000000000 --- a/src/Microsoft.VisualStudio.Editors/ResourceEditor/xlf/cs/DialogQueryName.xlf.lcl +++ /dev/null @@ -1,51 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/src/Microsoft.VisualStudio.Editors/ResourceEditor/xlf/cs/OpenFileWarningDialog.xlf.lcl b/src/Microsoft.VisualStudio.Editors/ResourceEditor/xlf/cs/OpenFileWarningDialog.xlf.lcl deleted file mode 100644 index eecea08ad73..00000000000 --- a/src/Microsoft.VisualStudio.Editors/ResourceEditor/xlf/cs/OpenFileWarningDialog.xlf.lcl +++ /dev/null @@ -1,69 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/src/Microsoft.VisualStudio.Editors/ResourceEditor/xlf/cs/ResourceEditorView.xlf.lcl b/src/Microsoft.VisualStudio.Editors/ResourceEditor/xlf/cs/ResourceEditorView.xlf.lcl deleted file mode 100644 index f19069d59da..00000000000 --- a/src/Microsoft.VisualStudio.Editors/ResourceEditor/xlf/cs/ResourceEditorView.xlf.lcl +++ /dev/null @@ -1,12 +0,0 @@ - - - - - - - - - - - - \ No newline at end of file diff --git a/src/Microsoft.VisualStudio.Editors/ResourceEditor/xlf/de/DialogQueryName.xlf.lcl b/src/Microsoft.VisualStudio.Editors/ResourceEditor/xlf/de/DialogQueryName.xlf.lcl deleted file mode 100644 index 104dc1f1968..00000000000 --- a/src/Microsoft.VisualStudio.Editors/ResourceEditor/xlf/de/DialogQueryName.xlf.lcl +++ /dev/null @@ -1,51 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/src/Microsoft.VisualStudio.Editors/ResourceEditor/xlf/de/OpenFileWarningDialog.xlf.lcl b/src/Microsoft.VisualStudio.Editors/ResourceEditor/xlf/de/OpenFileWarningDialog.xlf.lcl deleted file mode 100644 index 85309a30e41..00000000000 --- a/src/Microsoft.VisualStudio.Editors/ResourceEditor/xlf/de/OpenFileWarningDialog.xlf.lcl +++ /dev/null @@ -1,69 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/src/Microsoft.VisualStudio.Editors/ResourceEditor/xlf/de/ResourceEditorView.xlf.lcl b/src/Microsoft.VisualStudio.Editors/ResourceEditor/xlf/de/ResourceEditorView.xlf.lcl deleted file mode 100644 index 5b0ee3b93db..00000000000 --- a/src/Microsoft.VisualStudio.Editors/ResourceEditor/xlf/de/ResourceEditorView.xlf.lcl +++ /dev/null @@ -1,12 +0,0 @@ - - - - - - - - - - - - \ No newline at end of file diff --git a/src/Microsoft.VisualStudio.Editors/ResourceEditor/xlf/es/DialogQueryName.xlf.lcl b/src/Microsoft.VisualStudio.Editors/ResourceEditor/xlf/es/DialogQueryName.xlf.lcl deleted file mode 100644 index 0e8e7ad1e04..00000000000 --- a/src/Microsoft.VisualStudio.Editors/ResourceEditor/xlf/es/DialogQueryName.xlf.lcl +++ /dev/null @@ -1,51 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/src/Microsoft.VisualStudio.Editors/ResourceEditor/xlf/es/OpenFileWarningDialog.xlf.lcl b/src/Microsoft.VisualStudio.Editors/ResourceEditor/xlf/es/OpenFileWarningDialog.xlf.lcl deleted file mode 100644 index b509e576adc..00000000000 --- a/src/Microsoft.VisualStudio.Editors/ResourceEditor/xlf/es/OpenFileWarningDialog.xlf.lcl +++ /dev/null @@ -1,69 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/src/Microsoft.VisualStudio.Editors/ResourceEditor/xlf/es/ResourceEditorView.xlf.lcl b/src/Microsoft.VisualStudio.Editors/ResourceEditor/xlf/es/ResourceEditorView.xlf.lcl deleted file mode 100644 index 4fc3ab2e234..00000000000 --- a/src/Microsoft.VisualStudio.Editors/ResourceEditor/xlf/es/ResourceEditorView.xlf.lcl +++ /dev/null @@ -1,12 +0,0 @@ - - - - - - - - - - - - \ No newline at end of file diff --git a/src/Microsoft.VisualStudio.Editors/ResourceEditor/xlf/fr/DialogQueryName.xlf.lcl b/src/Microsoft.VisualStudio.Editors/ResourceEditor/xlf/fr/DialogQueryName.xlf.lcl deleted file mode 100644 index 1bce0dff453..00000000000 --- a/src/Microsoft.VisualStudio.Editors/ResourceEditor/xlf/fr/DialogQueryName.xlf.lcl +++ /dev/null @@ -1,51 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/src/Microsoft.VisualStudio.Editors/ResourceEditor/xlf/fr/OpenFileWarningDialog.xlf.lcl b/src/Microsoft.VisualStudio.Editors/ResourceEditor/xlf/fr/OpenFileWarningDialog.xlf.lcl deleted file mode 100644 index b062cf6d4aa..00000000000 --- a/src/Microsoft.VisualStudio.Editors/ResourceEditor/xlf/fr/OpenFileWarningDialog.xlf.lcl +++ /dev/null @@ -1,69 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/src/Microsoft.VisualStudio.Editors/ResourceEditor/xlf/fr/ResourceEditorView.xlf.lcl b/src/Microsoft.VisualStudio.Editors/ResourceEditor/xlf/fr/ResourceEditorView.xlf.lcl deleted file mode 100644 index 40dfba3d3d3..00000000000 --- a/src/Microsoft.VisualStudio.Editors/ResourceEditor/xlf/fr/ResourceEditorView.xlf.lcl +++ /dev/null @@ -1,12 +0,0 @@ - - - - - - - - - - - - \ No newline at end of file diff --git a/src/Microsoft.VisualStudio.Editors/ResourceEditor/xlf/it/DialogQueryName.xlf.lcl b/src/Microsoft.VisualStudio.Editors/ResourceEditor/xlf/it/DialogQueryName.xlf.lcl deleted file mode 100644 index 97286f8fc96..00000000000 --- a/src/Microsoft.VisualStudio.Editors/ResourceEditor/xlf/it/DialogQueryName.xlf.lcl +++ /dev/null @@ -1,51 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/src/Microsoft.VisualStudio.Editors/ResourceEditor/xlf/it/OpenFileWarningDialog.xlf.lcl b/src/Microsoft.VisualStudio.Editors/ResourceEditor/xlf/it/OpenFileWarningDialog.xlf.lcl deleted file mode 100644 index 26a46c93c2b..00000000000 --- a/src/Microsoft.VisualStudio.Editors/ResourceEditor/xlf/it/OpenFileWarningDialog.xlf.lcl +++ /dev/null @@ -1,69 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/src/Microsoft.VisualStudio.Editors/ResourceEditor/xlf/it/ResourceEditorView.xlf.lcl b/src/Microsoft.VisualStudio.Editors/ResourceEditor/xlf/it/ResourceEditorView.xlf.lcl deleted file mode 100644 index 0618581a38d..00000000000 --- a/src/Microsoft.VisualStudio.Editors/ResourceEditor/xlf/it/ResourceEditorView.xlf.lcl +++ /dev/null @@ -1,12 +0,0 @@ - - - - - - - - - - - - \ No newline at end of file diff --git a/src/Microsoft.VisualStudio.Editors/ResourceEditor/xlf/ja/DialogQueryName.xlf.lcl b/src/Microsoft.VisualStudio.Editors/ResourceEditor/xlf/ja/DialogQueryName.xlf.lcl deleted file mode 100644 index b5d9c8c0493..00000000000 --- a/src/Microsoft.VisualStudio.Editors/ResourceEditor/xlf/ja/DialogQueryName.xlf.lcl +++ /dev/null @@ -1,51 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/src/Microsoft.VisualStudio.Editors/ResourceEditor/xlf/ja/OpenFileWarningDialog.xlf.lcl b/src/Microsoft.VisualStudio.Editors/ResourceEditor/xlf/ja/OpenFileWarningDialog.xlf.lcl deleted file mode 100644 index e6ad1b308d1..00000000000 --- a/src/Microsoft.VisualStudio.Editors/ResourceEditor/xlf/ja/OpenFileWarningDialog.xlf.lcl +++ /dev/null @@ -1,69 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/src/Microsoft.VisualStudio.Editors/ResourceEditor/xlf/ja/ResourceEditorView.xlf.lcl b/src/Microsoft.VisualStudio.Editors/ResourceEditor/xlf/ja/ResourceEditorView.xlf.lcl deleted file mode 100644 index b9d956d1423..00000000000 --- a/src/Microsoft.VisualStudio.Editors/ResourceEditor/xlf/ja/ResourceEditorView.xlf.lcl +++ /dev/null @@ -1,12 +0,0 @@ - - - - - - - - - - - - \ No newline at end of file diff --git a/src/Microsoft.VisualStudio.Editors/ResourceEditor/xlf/ko/DialogQueryName.xlf.lcl b/src/Microsoft.VisualStudio.Editors/ResourceEditor/xlf/ko/DialogQueryName.xlf.lcl deleted file mode 100644 index dc32d8cc3e4..00000000000 --- a/src/Microsoft.VisualStudio.Editors/ResourceEditor/xlf/ko/DialogQueryName.xlf.lcl +++ /dev/null @@ -1,51 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/src/Microsoft.VisualStudio.Editors/ResourceEditor/xlf/ko/OpenFileWarningDialog.xlf.lcl b/src/Microsoft.VisualStudio.Editors/ResourceEditor/xlf/ko/OpenFileWarningDialog.xlf.lcl deleted file mode 100644 index 6e700394265..00000000000 --- a/src/Microsoft.VisualStudio.Editors/ResourceEditor/xlf/ko/OpenFileWarningDialog.xlf.lcl +++ /dev/null @@ -1,69 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/src/Microsoft.VisualStudio.Editors/ResourceEditor/xlf/ko/ResourceEditorView.xlf.lcl b/src/Microsoft.VisualStudio.Editors/ResourceEditor/xlf/ko/ResourceEditorView.xlf.lcl deleted file mode 100644 index 86fcb3d6f76..00000000000 --- a/src/Microsoft.VisualStudio.Editors/ResourceEditor/xlf/ko/ResourceEditorView.xlf.lcl +++ /dev/null @@ -1,12 +0,0 @@ - - - - - - - - - - - - \ No newline at end of file diff --git a/src/Microsoft.VisualStudio.Editors/ResourceEditor/xlf/pl/DialogQueryName.xlf.lcl b/src/Microsoft.VisualStudio.Editors/ResourceEditor/xlf/pl/DialogQueryName.xlf.lcl deleted file mode 100644 index 45222651f00..00000000000 --- a/src/Microsoft.VisualStudio.Editors/ResourceEditor/xlf/pl/DialogQueryName.xlf.lcl +++ /dev/null @@ -1,51 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/src/Microsoft.VisualStudio.Editors/ResourceEditor/xlf/pl/OpenFileWarningDialog.xlf.lcl b/src/Microsoft.VisualStudio.Editors/ResourceEditor/xlf/pl/OpenFileWarningDialog.xlf.lcl deleted file mode 100644 index b38d889fc7f..00000000000 --- a/src/Microsoft.VisualStudio.Editors/ResourceEditor/xlf/pl/OpenFileWarningDialog.xlf.lcl +++ /dev/null @@ -1,69 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/src/Microsoft.VisualStudio.Editors/ResourceEditor/xlf/pl/ResourceEditorView.xlf.lcl b/src/Microsoft.VisualStudio.Editors/ResourceEditor/xlf/pl/ResourceEditorView.xlf.lcl deleted file mode 100644 index 2ce80aed38d..00000000000 --- a/src/Microsoft.VisualStudio.Editors/ResourceEditor/xlf/pl/ResourceEditorView.xlf.lcl +++ /dev/null @@ -1,12 +0,0 @@ - - - - - - - - - - - - \ No newline at end of file diff --git a/src/Microsoft.VisualStudio.Editors/ResourceEditor/xlf/pt-BR/DialogQueryName.xlf.lcl b/src/Microsoft.VisualStudio.Editors/ResourceEditor/xlf/pt-BR/DialogQueryName.xlf.lcl deleted file mode 100644 index 8faaec5e992..00000000000 --- a/src/Microsoft.VisualStudio.Editors/ResourceEditor/xlf/pt-BR/DialogQueryName.xlf.lcl +++ /dev/null @@ -1,51 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/src/Microsoft.VisualStudio.Editors/ResourceEditor/xlf/pt-BR/OpenFileWarningDialog.xlf.lcl b/src/Microsoft.VisualStudio.Editors/ResourceEditor/xlf/pt-BR/OpenFileWarningDialog.xlf.lcl deleted file mode 100644 index 56266c158db..00000000000 --- a/src/Microsoft.VisualStudio.Editors/ResourceEditor/xlf/pt-BR/OpenFileWarningDialog.xlf.lcl +++ /dev/null @@ -1,69 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/src/Microsoft.VisualStudio.Editors/ResourceEditor/xlf/pt-BR/ResourceEditorView.xlf.lcl b/src/Microsoft.VisualStudio.Editors/ResourceEditor/xlf/pt-BR/ResourceEditorView.xlf.lcl deleted file mode 100644 index eb2a95b0434..00000000000 --- a/src/Microsoft.VisualStudio.Editors/ResourceEditor/xlf/pt-BR/ResourceEditorView.xlf.lcl +++ /dev/null @@ -1,12 +0,0 @@ - - - - - - - - - - - - \ No newline at end of file diff --git a/src/Microsoft.VisualStudio.Editors/ResourceEditor/xlf/ru/DialogQueryName.xlf.lcl b/src/Microsoft.VisualStudio.Editors/ResourceEditor/xlf/ru/DialogQueryName.xlf.lcl deleted file mode 100644 index 72f3cebd647..00000000000 --- a/src/Microsoft.VisualStudio.Editors/ResourceEditor/xlf/ru/DialogQueryName.xlf.lcl +++ /dev/null @@ -1,51 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/src/Microsoft.VisualStudio.Editors/ResourceEditor/xlf/ru/OpenFileWarningDialog.xlf.lcl b/src/Microsoft.VisualStudio.Editors/ResourceEditor/xlf/ru/OpenFileWarningDialog.xlf.lcl deleted file mode 100644 index 79f1fc1b546..00000000000 --- a/src/Microsoft.VisualStudio.Editors/ResourceEditor/xlf/ru/OpenFileWarningDialog.xlf.lcl +++ /dev/null @@ -1,69 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/src/Microsoft.VisualStudio.Editors/ResourceEditor/xlf/ru/ResourceEditorView.xlf.lcl b/src/Microsoft.VisualStudio.Editors/ResourceEditor/xlf/ru/ResourceEditorView.xlf.lcl deleted file mode 100644 index f00c9b4c828..00000000000 --- a/src/Microsoft.VisualStudio.Editors/ResourceEditor/xlf/ru/ResourceEditorView.xlf.lcl +++ /dev/null @@ -1,12 +0,0 @@ - - - - - - - - - - - - \ No newline at end of file diff --git a/src/Microsoft.VisualStudio.Editors/ResourceEditor/xlf/tr/DialogQueryName.xlf.lcl b/src/Microsoft.VisualStudio.Editors/ResourceEditor/xlf/tr/DialogQueryName.xlf.lcl deleted file mode 100644 index 707d222449b..00000000000 --- a/src/Microsoft.VisualStudio.Editors/ResourceEditor/xlf/tr/DialogQueryName.xlf.lcl +++ /dev/null @@ -1,51 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/src/Microsoft.VisualStudio.Editors/ResourceEditor/xlf/tr/OpenFileWarningDialog.xlf.lcl b/src/Microsoft.VisualStudio.Editors/ResourceEditor/xlf/tr/OpenFileWarningDialog.xlf.lcl deleted file mode 100644 index b72ec0359ad..00000000000 --- a/src/Microsoft.VisualStudio.Editors/ResourceEditor/xlf/tr/OpenFileWarningDialog.xlf.lcl +++ /dev/null @@ -1,69 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/src/Microsoft.VisualStudio.Editors/ResourceEditor/xlf/tr/ResourceEditorView.xlf.lcl b/src/Microsoft.VisualStudio.Editors/ResourceEditor/xlf/tr/ResourceEditorView.xlf.lcl deleted file mode 100644 index c4df7fda9f9..00000000000 --- a/src/Microsoft.VisualStudio.Editors/ResourceEditor/xlf/tr/ResourceEditorView.xlf.lcl +++ /dev/null @@ -1,12 +0,0 @@ - - - - - - - - - - - - \ No newline at end of file diff --git a/src/Microsoft.VisualStudio.Editors/ResourceEditor/xlf/zh-Hans/DialogQueryName.xlf.lcl b/src/Microsoft.VisualStudio.Editors/ResourceEditor/xlf/zh-Hans/DialogQueryName.xlf.lcl deleted file mode 100644 index a4592d758ae..00000000000 --- a/src/Microsoft.VisualStudio.Editors/ResourceEditor/xlf/zh-Hans/DialogQueryName.xlf.lcl +++ /dev/null @@ -1,51 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/src/Microsoft.VisualStudio.Editors/ResourceEditor/xlf/zh-Hans/OpenFileWarningDialog.xlf.lcl b/src/Microsoft.VisualStudio.Editors/ResourceEditor/xlf/zh-Hans/OpenFileWarningDialog.xlf.lcl deleted file mode 100644 index ffc9f444f26..00000000000 --- a/src/Microsoft.VisualStudio.Editors/ResourceEditor/xlf/zh-Hans/OpenFileWarningDialog.xlf.lcl +++ /dev/null @@ -1,69 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/src/Microsoft.VisualStudio.Editors/ResourceEditor/xlf/zh-Hans/ResourceEditorView.xlf.lcl b/src/Microsoft.VisualStudio.Editors/ResourceEditor/xlf/zh-Hans/ResourceEditorView.xlf.lcl deleted file mode 100644 index 0c9ce5de76c..00000000000 --- a/src/Microsoft.VisualStudio.Editors/ResourceEditor/xlf/zh-Hans/ResourceEditorView.xlf.lcl +++ /dev/null @@ -1,12 +0,0 @@ - - - - - - - - - - - - \ No newline at end of file diff --git a/src/Microsoft.VisualStudio.Editors/ResourceEditor/xlf/zh-Hant/DialogQueryName.xlf.lcl b/src/Microsoft.VisualStudio.Editors/ResourceEditor/xlf/zh-Hant/DialogQueryName.xlf.lcl deleted file mode 100644 index 7cba9df2bca..00000000000 --- a/src/Microsoft.VisualStudio.Editors/ResourceEditor/xlf/zh-Hant/DialogQueryName.xlf.lcl +++ /dev/null @@ -1,51 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/src/Microsoft.VisualStudio.Editors/ResourceEditor/xlf/zh-Hant/OpenFileWarningDialog.xlf.lcl b/src/Microsoft.VisualStudio.Editors/ResourceEditor/xlf/zh-Hant/OpenFileWarningDialog.xlf.lcl deleted file mode 100644 index 47af4ddf77f..00000000000 --- a/src/Microsoft.VisualStudio.Editors/ResourceEditor/xlf/zh-Hant/OpenFileWarningDialog.xlf.lcl +++ /dev/null @@ -1,69 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/src/Microsoft.VisualStudio.Editors/ResourceEditor/xlf/zh-Hant/ResourceEditorView.xlf.lcl b/src/Microsoft.VisualStudio.Editors/ResourceEditor/xlf/zh-Hant/ResourceEditorView.xlf.lcl deleted file mode 100644 index c65cf6179bb..00000000000 --- a/src/Microsoft.VisualStudio.Editors/ResourceEditor/xlf/zh-Hant/ResourceEditorView.xlf.lcl +++ /dev/null @@ -1,12 +0,0 @@ - - - - - - - - - - - - \ No newline at end of file diff --git a/src/Microsoft.VisualStudio.Editors/Resources/Microsoft.VisualStudio.Editors.Designer.Designer.vb b/src/Microsoft.VisualStudio.Editors/Resources/Microsoft.VisualStudio.Editors.Designer.Designer.vb index 960146c0b31..e598148bcf7 100644 --- a/src/Microsoft.VisualStudio.Editors/Resources/Microsoft.VisualStudio.Editors.Designer.Designer.vb +++ b/src/Microsoft.VisualStudio.Editors/Resources/Microsoft.VisualStudio.Editors.Designer.Designer.vb @@ -1818,838 +1818,141 @@ Namespace My.Resources End Property ''' - ''' Looks up a localized string similar to Embedded in .resx. - ''' - Friend Shared ReadOnly Property RES_PersistenceMode_Embeded() As String - Get - Return ResourceManager.GetString("RES_PersistenceMode_Embeded", resourceCulture) - End Get - End Property - - ''' - ''' Looks up a localized string similar to Linked at compile time. - ''' - Friend Shared ReadOnly Property RES_PersistenceMode_Linked() As String - Get - Return ResourceManager.GetString("RES_PersistenceMode_Linked", resourceCulture) - End Get - End Property - - ''' - ''' Looks up a localized string similar to Unable to add '{0}' to the project.. - ''' - Friend Shared ReadOnly Property RFS_CantAddFileToProject_File() As String - Get - Return ResourceManager.GetString("RFS_CantAddFileToProject_File", resourceCulture) - End Get - End Property - - ''' - ''' Looks up a localized string similar to Unable to add '{0}' to the project. - ''' - '''{1}. - ''' - Friend Shared ReadOnly Property RFS_CantAddFileToProject_File_ExMsg() As String - Get - Return ResourceManager.GetString("RFS_CantAddFileToProject_File_ExMsg", resourceCulture) - End Get - End Property - - ''' - ''' Looks up a localized string similar to Unable to add a '{0}' folder to this project. - ''' - '''{1}. - ''' - Friend Shared ReadOnly Property RFS_CantCreateResourcesFolder_Folder_ExMsg() As String - Get - Return ResourceManager.GetString("RFS_CantCreateResourcesFolder_Folder_ExMsg", resourceCulture) - End Get - End Property - - ''' - ''' Looks up a localized string similar to Cannot find the file '{0}'. It may have been moved or deleted.. - ''' - Friend Shared ReadOnly Property RFS_FindNotFound_File() As String - Get - Return ResourceManager.GetString("RFS_FindNotFound_File", resourceCulture) - End Get - End Property - - ''' - ''' Looks up a localized string similar to There is already a linked file with the name "{0}" in the project folder "{1}". Do you want to remove it?. - ''' - Friend Shared ReadOnly Property RFS_QueryRemoveLink_Folder_Link() As String - Get - Return ResourceManager.GetString("RFS_QueryRemoveLink_Folder_Link", resourceCulture) - End Get - End Property - - ''' - ''' Looks up a localized string similar to {0} - Destination File Exists. - ''' - Friend Shared ReadOnly Property RFS_QueryRemoveLinkTitle_Editor() As String - Get - Return ResourceManager.GetString("RFS_QueryRemoveLinkTitle_Editor", resourceCulture) - End Get - End Property - - ''' - ''' Looks up a localized string similar to A file with the name '{0}' already exists. Do you want to replace it?. - ''' - Friend Shared ReadOnly Property RFS_QueryReplaceFile_File() As String - Get - Return ResourceManager.GetString("RFS_QueryReplaceFile_File", resourceCulture) - End Get - End Property - - ''' - ''' Looks up a localized string similar to {0} - Destination File Exists. - ''' - Friend Shared ReadOnly Property RFS_QueryReplaceFileTitle_Editor() As String - Get - Return ResourceManager.GetString("RFS_QueryReplaceFileTitle_Editor", resourceCulture) - End Get - End Property - - ''' - ''' Looks up a localized string similar to (Custom). - ''' - Friend Shared ReadOnly Property RSE_AccessModifier_Custom() As String - Get - Return ResourceManager.GetString("RSE_AccessModifier_Custom", resourceCulture) - End Get - End Property - - ''' - ''' Looks up a localized string similar to Audio. - ''' - Friend Shared ReadOnly Property RSE_Cat_Audio() As String - Get - Return ResourceManager.GetString("RSE_Cat_Audio", resourceCulture) - End Get - End Property - - ''' - ''' Looks up a localized string similar to Files. - ''' - Friend Shared ReadOnly Property RSE_Cat_Files() As String - Get - Return ResourceManager.GetString("RSE_Cat_Files", resourceCulture) - End Get - End Property - - ''' - ''' Looks up a localized string similar to Icons. - ''' - Friend Shared ReadOnly Property RSE_Cat_Icons() As String - Get - Return ResourceManager.GetString("RSE_Cat_Icons", resourceCulture) - End Get - End Property - - ''' - ''' Looks up a localized string similar to Images. - ''' - Friend Shared ReadOnly Property RSE_Cat_Images() As String - Get - Return ResourceManager.GetString("RSE_Cat_Images", resourceCulture) - End Get - End Property - - ''' - ''' Looks up a localized string similar to Other. - ''' - Friend Shared ReadOnly Property RSE_Cat_Other() As String - Get - Return ResourceManager.GetString("RSE_Cat_Other", resourceCulture) - End Get - End Property - - ''' - ''' Looks up a localized string similar to Strings. - ''' - Friend Shared ReadOnly Property RSE_Cat_Strings() As String - Get - Return ResourceManager.GetString("RSE_Cat_Strings", resourceCulture) - End Get - End Property - - ''' - ''' Looks up a localized string similar to Comment. - ''' - Friend Shared ReadOnly Property RSE_CommentColumn() As String - Get - Return ResourceManager.GetString("RSE_CommentColumn", resourceCulture) - End Get - End Property - - ''' - ''' Looks up a localized string similar to (Default). - ''' - Friend Shared ReadOnly Property RSE_DefaultEncoding() As String - Get - Return ResourceManager.GetString("RSE_DefaultEncoding", resourceCulture) - End Get - End Property - - ''' - ''' Looks up a localized string similar to Comment. - ''' - Friend Shared ReadOnly Property RSE_DetailsCol_Comment() As String - Get - Return ResourceManager.GetString("RSE_DetailsCol_Comment", resourceCulture) - End Get - End Property - - ''' - ''' Looks up a localized string similar to Filename. - ''' - Friend Shared ReadOnly Property RSE_DetailsCol_Filename() As String - Get - Return ResourceManager.GetString("RSE_DetailsCol_Filename", resourceCulture) - End Get - End Property - - ''' - ''' Looks up a localized string similar to Type. - ''' - Friend Shared ReadOnly Property RSE_DetailsCol_ImageType() As String - Get - Return ResourceManager.GetString("RSE_DetailsCol_ImageType", resourceCulture) - End Get - End Property - - ''' - ''' Looks up a localized string similar to Name. - ''' - Friend Shared ReadOnly Property RSE_DetailsCol_Name() As String - Get - Return ResourceManager.GetString("RSE_DetailsCol_Name", resourceCulture) - End Get - End Property - - ''' - ''' Looks up a localized string similar to Size. - ''' - Friend Shared ReadOnly Property RSE_DetailsCol_Size() As String - Get - Return ResourceManager.GetString("RSE_DetailsCol_Size", resourceCulture) - End Get - End Property - - ''' - ''' Looks up a localized string similar to Do you want to continue anyway?. - ''' - Friend Shared ReadOnly Property RSE_Dlg_ContinueAnyway() As String - Get - Return ResourceManager.GetString("RSE_Dlg_ContinueAnyway", resourceCulture) - End Get - End Property - - ''' - ''' Looks up a localized string similar to Select a folder in which to export the resources.. - ''' - Friend Shared ReadOnly Property RSE_Dlg_ExportMultiple() As String - Get - Return ResourceManager.GetString("RSE_Dlg_ExportMultiple", resourceCulture) - End Get - End Property - - ''' - ''' Looks up a localized string similar to The file '{0}' already exists. Do you want to replace it?. - ''' - Friend Shared ReadOnly Property RSE_Dlg_ReplaceExistingFile() As String - Get - Return ResourceManager.GetString("RSE_Dlg_ReplaceExistingFile", resourceCulture) - End Get - End Property - - ''' - ''' Looks up a localized string similar to The following files already exist. Do you want to replace them?. - ''' - Friend Shared ReadOnly Property RSE_Dlg_ReplaceExistingFiles() As String - Get - Return ResourceManager.GetString("RSE_Dlg_ReplaceExistingFiles", resourceCulture) - End Get - End Property - - ''' - ''' Looks up a localized string similar to Add existing file to resources. - ''' - Friend Shared ReadOnly Property RSE_DlgTitle_AddExisting() As String - Get - Return ResourceManager.GetString("RSE_DlgTitle_AddExisting", resourceCulture) - End Get - End Property - - ''' - ''' Looks up a localized string similar to Please specify where to save the new file. - ''' - Friend Shared ReadOnly Property RSE_DlgTitle_AddNew() As String - Get - Return ResourceManager.GetString("RSE_DlgTitle_AddNew", resourceCulture) - End Get - End Property - - ''' - ''' Looks up a localized string similar to Export resource '{0}' to file. - ''' - Friend Shared ReadOnly Property RSE_DlgTitle_Export_1Arg() As String - Get - Return ResourceManager.GetString("RSE_DlgTitle_Export_1Arg", resourceCulture) - End Get - End Property - - ''' - ''' Looks up a localized string similar to Import file into resource '{0}'. - ''' - Friend Shared ReadOnly Property RSE_DlgTitle_Import_1Arg() As String - Get - Return ResourceManager.GetString("RSE_DlgTitle_Import_1Arg", resourceCulture) - End Get - End Property - - ''' - ''' Looks up a localized string similar to {0} - Codepage {1}. - ''' - Friend Shared ReadOnly Property RSE_EncodingDisplayName() As String - Get - Return ResourceManager.GetString("RSE_EncodingDisplayName", resourceCulture) - End Get - End Property - - ''' - ''' Looks up a localized string similar to The resource value contains invalid data or has an incorrect format.. - ''' - Friend Shared ReadOnly Property RSE_Err_BadData() As String - Get - Return ResourceManager.GetString("RSE_Err_BadData", resourceCulture) - End Get - End Property - - ''' - ''' Looks up a localized string similar to The name of the resource '{0}' cannot be used as a valid identifier, because it contains one or more invalid characters: '{1}'. Please remove or replace those characters and try again.. - ''' - Friend Shared ReadOnly Property RSE_Err_BadIdentifier_2Arg() As String - Get - Return ResourceManager.GetString("RSE_Err_BadIdentifier_2Arg", resourceCulture) - End Get - End Property - - ''' - ''' Looks up a localized string similar to The device does not support '{0}' files.. - ''' - Friend Shared ReadOnly Property RSE_Err_CantAddFileToDeviceProject_1Arg() As String - Get - Return ResourceManager.GetString("RSE_Err_CantAddFileToDeviceProject_1Arg", resourceCulture) - End Get - End Property - - ''' - ''' Looks up a localized string similar to The resource '{0}' cannot be added.. - ''' - Friend Shared ReadOnly Property RSE_Err_CantAddUnsupportedResource_1Arg() As String - Get - Return ResourceManager.GetString("RSE_Err_CantAddUnsupportedResource_1Arg", resourceCulture) - End Get - End Property - - ''' - ''' Looks up a localized string similar to One or more of the selected resource values could not be cleared.. - ''' - Friend Shared ReadOnly Property RSE_Err_CantBeEmpty() As String - Get - Return ResourceManager.GetString("RSE_Err_CantBeEmpty", resourceCulture) - End Get - End Property - - ''' - ''' Looks up a localized string similar to The value could not be converted into a resource of type {0}. - ''' - '''{1}. - ''' - Friend Shared ReadOnly Property RSE_Err_CantConvertFromString_2Args() As String - Get - Return ResourceManager.GetString("RSE_Err_CantConvertFromString_2Args", resourceCulture) - End Get - End Property - - ''' - ''' Looks up a localized string similar to Unable to create new resource file '{0}'. {1}. - ''' - Friend Shared ReadOnly Property RSE_Err_CantCreateNewResource_2Args() As String - Get - Return ResourceManager.GetString("RSE_Err_CantCreateNewResource_2Args", resourceCulture) - End Get - End Property - - ''' - ''' Looks up a localized string similar to Editing embedded resources directly is not supported. Do you wish to convert this item to a linked resource in order to edit it?. - ''' - Friend Shared ReadOnly Property RSE_Err_CantEditEmbeddedResource() As String - Get - Return ResourceManager.GetString("RSE_Err_CantEditEmbeddedResource", resourceCulture) - End Get - End Property - - ''' - ''' Looks up a localized string similar to The resource file cannot be modified at this time.. - ''' - Friend Shared ReadOnly Property RSE_Err_CantEditInDebugMode() As String - Get - Return ResourceManager.GetString("RSE_Err_CantEditInDebugMode", resourceCulture) - End Get - End Property - - ''' - ''' Looks up a localized string similar to Cannot find the file '{0}'. It may have been moved or deleted.. - ''' - Friend Shared ReadOnly Property RSE_Err_CantFindResourceFile_1Arg() As String - Get - Return ResourceManager.GetString("RSE_Err_CantFindResourceFile_1Arg", resourceCulture) - End Get - End Property - - ''' - ''' Looks up a localized string similar to Unable to play the audio resource. {0}. - ''' - Friend Shared ReadOnly Property RSE_Err_CantPlay_1Arg() As String - Get - Return ResourceManager.GetString("RSE_Err_CantPlay_1Arg", resourceCulture) - End Get - End Property - - ''' - ''' Looks up a localized string similar to The resource item(s) {0} cannot be saved correctly. The item(s) will be discarded.. - ''' - Friend Shared ReadOnly Property RSE_Err_CantSaveResouce_1Arg() As String - Get - Return ResourceManager.GetString("RSE_Err_CantSaveResouce_1Arg", resourceCulture) - End Get - End Property - - ''' - ''' Looks up a localized string similar to Resource '{0}' cannot be saved to a file.. - ''' - Friend Shared ReadOnly Property RSE_Err_CantSaveResource_1Arg() As String - Get - Return ResourceManager.GetString("RSE_Err_CantSaveResource_1Arg", resourceCulture) - End Get - End Property - - ''' - ''' Looks up a localized string similar to The value cannot be empty in a resource of type {0}.. - ''' - Friend Shared ReadOnly Property RSE_Err_CantUseEmptyValue() As String - Get - Return ResourceManager.GetString("RSE_Err_CantUseEmptyValue", resourceCulture) - End Get - End Property - - ''' - ''' Looks up a localized string similar to There is already another resource with the name '{0}'.. - ''' - Friend Shared ReadOnly Property RSE_Err_DuplicateName_1Arg() As String - Get - Return ResourceManager.GetString("RSE_Err_DuplicateName_1Arg", resourceCulture) - End Get - End Property - - ''' - ''' Looks up a localized string similar to Unexpected error.. - ''' - Friend Shared ReadOnly Property RSE_Err_InternalException() As String - Get - Return ResourceManager.GetString("RSE_Err_InternalException", resourceCulture) - End Get - End Property - - ''' - ''' Looks up a localized string similar to Unable to load resource from file '{0}'.. - ''' - Friend Shared ReadOnly Property RSE_Err_LoadingResource_1Arg() As String - Get - Return ResourceManager.GetString("RSE_Err_LoadingResource_1Arg", resourceCulture) - End Get - End Property - - ''' - ''' Looks up a localized string similar to Too many files specified. Please select fewer files and try again.. - ''' - Friend Shared ReadOnly Property RSE_Err_MaxFilesLimitation() As String - Get - Return ResourceManager.GetString("RSE_Err_MaxFilesLimitation", resourceCulture) - End Get - End Property - - ''' - ''' Looks up a localized string similar to '{0}'. - ''' - Friend Shared ReadOnly Property RSE_Err_Name() As String - Get - Return ResourceManager.GetString("RSE_Err_Name", resourceCulture) - End Get - End Property - - ''' - ''' Looks up a localized string similar to The resource name cannot be empty.. - ''' - Friend Shared ReadOnly Property RSE_Err_NameBlank() As String - Get - Return ResourceManager.GetString("RSE_Err_NameBlank", resourceCulture) - End Get - End Property - - ''' - ''' Looks up a localized string similar to {0}, '{1}'. - ''' - Friend Shared ReadOnly Property RSE_Err_NameList() As String - Get - Return ResourceManager.GetString("RSE_Err_NameList", resourceCulture) - End Get - End Property - - ''' - ''' Looks up a localized string similar to The current object is auto-generated and only supports renaming through the Managed Resources Editor.. - ''' - Friend Shared ReadOnly Property RSE_Err_RenameNotSupported() As String - Get - Return ResourceManager.GetString("RSE_Err_RenameNotSupported", resourceCulture) - End Get - End Property - - ''' - ''' Looks up a localized string similar to The resource item uses the type '{0}', which is not supported in this project.. - ''' - Friend Shared ReadOnly Property RSE_Err_TypeIsNotSupported_1Arg() As String - Get - Return ResourceManager.GetString("RSE_Err_TypeIsNotSupported_1Arg", resourceCulture) - End Get - End Property - - ''' - ''' Looks up a localized string similar to Unable to load internal localized resource '{0}'.. - ''' - Friend Shared ReadOnly Property RSE_Err_Unexpected_NoResource_1Arg() As String - Get - Return ResourceManager.GetString("RSE_Err_Unexpected_NoResource_1Arg", resourceCulture) - End Get - End Property - - ''' - ''' Looks up a localized string similar to The resource was not of the expected type.. - ''' - Friend Shared ReadOnly Property RSE_Err_UnexpectedResourceType() As String - Get - Return ResourceManager.GetString("RSE_Err_UnexpectedResourceType", resourceCulture) - End Get - End Property - - ''' - ''' Looks up a localized string similar to You are trying to edit a resource file that is a part of another project item (such as a form or a control). Editing this item could corrupt the project item, and you will have to recover it by hand. In addition, changes made to this resource file may be lost if further changes are made to the project item. - ''' - '''Do you really want to edit this file?. - ''' - Friend Shared ReadOnly Property RSE_Err_UpdateADependentFile() As String - Get - Return ResourceManager.GetString("RSE_Err_UpdateADependentFile", resourceCulture) - End Get - End Property - - ''' - ''' Looks up a localized string similar to The operation has been canceled by the user.. - ''' - Friend Shared ReadOnly Property RSE_Err_UserCancel() As String - Get - Return ResourceManager.GetString("RSE_Err_UserCancel", resourceCulture) - End Get - End Property - - ''' - ''' Looks up a localized string similar to {0} byte(s). - ''' - Friend Shared ReadOnly Property RSE_FileSizeFormatBytes_1Arg() As String - Get - Return ResourceManager.GetString("RSE_FileSizeFormatBytes_1Arg", resourceCulture) - End Get - End Property - - ''' - ''' Looks up a localized string similar to {0} KB. - ''' - Friend Shared ReadOnly Property RSE_FileSizeFormatKB() As String - Get - Return ResourceManager.GetString("RSE_FileSizeFormatKB", resourceCulture) - End Get - End Property - - ''' - ''' Looks up a localized string similar to All Files. - ''' - Friend Shared ReadOnly Property RSE_Filter_All() As String - Get - Return ResourceManager.GetString("RSE_Filter_All", resourceCulture) - End Get - End Property - - ''' - ''' Looks up a localized string similar to Audio. - ''' - Friend Shared ReadOnly Property RSE_Filter_Audio() As String - Get - Return ResourceManager.GetString("RSE_Filter_Audio", resourceCulture) - End Get - End Property - - ''' - ''' Looks up a localized string similar to Bitmaps. - ''' - Friend Shared ReadOnly Property RSE_Filter_Bitmap() As String - Get - Return ResourceManager.GetString("RSE_Filter_Bitmap", resourceCulture) - End Get - End Property - - ''' - ''' Looks up a localized string similar to Icons. - ''' - Friend Shared ReadOnly Property RSE_Filter_Icon() As String - Get - Return ResourceManager.GetString("RSE_Filter_Icon", resourceCulture) - End Get - End Property - - ''' - ''' Looks up a localized string similar to License Files. - ''' - Friend Shared ReadOnly Property RSE_Filter_License() As String - Get - Return ResourceManager.GetString("RSE_Filter_License", resourceCulture) - End Get - End Property - - ''' - ''' Looks up a localized string similar to Text Files. - ''' - Friend Shared ReadOnly Property RSE_Filter_Text() As String - Get - Return ResourceManager.GetString("RSE_Filter_Text", resourceCulture) - End Get - End Property - - ''' - ''' Looks up a localized string similar to Windows Bitmap. - ''' - Friend Shared ReadOnly Property RSE_FilterSave_BMP() As String - Get - Return ResourceManager.GetString("RSE_FilterSave_BMP", resourceCulture) - End Get - End Property - - ''' - ''' Looks up a localized string similar to Graphics Interchange Format. - ''' - Friend Shared ReadOnly Property RSE_FilterSave_GIF() As String - Get - Return ResourceManager.GetString("RSE_FilterSave_GIF", resourceCulture) - End Get - End Property - - ''' - ''' Looks up a localized string similar to Icon. - ''' - Friend Shared ReadOnly Property RSE_FilterSave_Icon() As String - Get - Return ResourceManager.GetString("RSE_FilterSave_Icon", resourceCulture) - End Get - End Property - - ''' - ''' Looks up a localized string similar to JPEG File Interchange Format. - ''' - Friend Shared ReadOnly Property RSE_FilterSave_JPEG() As String - Get - Return ResourceManager.GetString("RSE_FilterSave_JPEG", resourceCulture) - End Get - End Property - - ''' - ''' Looks up a localized string similar to Portable Network Graphics. - ''' - Friend Shared ReadOnly Property RSE_FilterSave_PNG() As String - Get - Return ResourceManager.GetString("RSE_FilterSave_PNG", resourceCulture) - End Get - End Property - - ''' - ''' Looks up a localized string similar to Tag Image File Format. - ''' - Friend Shared ReadOnly Property RSE_FilterSave_TIFF() As String - Get - Return ResourceManager.GetString("RSE_FilterSave_TIFF", resourceCulture) - End Get - End Property - - ''' - ''' Looks up a localized string similar to . - ''' - Friend Shared ReadOnly Property RSE_Font_ListView() As String - Get - Return ResourceManager.GetString("RSE_Font_ListView", resourceCulture) - End Get - End Property - - ''' - ''' Looks up a localized string similar to . - ''' - Friend Shared ReadOnly Property RSE_Font_StringTable() As String - Get - Return ResourceManager.GetString("RSE_Font_StringTable", resourceCulture) - End Get - End Property - - ''' - ''' Looks up a localized string similar to {0} x {1}. - ''' - Friend Shared ReadOnly Property RSE_GraphicSizeFormat() As String - Get - Return ResourceManager.GetString("RSE_GraphicSizeFormat", resourceCulture) - End Get - End Property - - ''' - ''' Looks up a localized string similar to No code generation. + ''' Looks up a localized string similar to Unable to add '{0}' to the project.. ''' - Friend Shared ReadOnly Property RSE_NoCodeGeneration() As String + Friend Shared ReadOnly Property RFS_CantAddFileToProject_File() As String Get - Return ResourceManager.GetString("RSE_NoCodeGeneration", resourceCulture) + Return ResourceManager.GetString("RFS_CantAddFileToProject_File", resourceCulture) End Get End Property ''' - ''' Looks up a localized string similar to (Value cannot be displayed). + ''' Looks up a localized string similar to Unable to add '{0}' to the project. + ''' + '''{1}. ''' - Friend Shared ReadOnly Property RSE_NonEditableValue() As String + Friend Shared ReadOnly Property RFS_CantAddFileToProject_File_ExMsg() As String Get - Return ResourceManager.GetString("RSE_NonEditableValue", resourceCulture) + Return ResourceManager.GetString("RFS_CantAddFileToProject_File_ExMsg", resourceCulture) End Get End Property ''' - ''' Looks up a localized string similar to (Nothing/null). + ''' Looks up a localized string similar to Unable to add a '{0}' folder to this project. + ''' + '''{1}. ''' - Friend Shared ReadOnly Property RSE_NothingValue() As String + Friend Shared ReadOnly Property RFS_CantCreateResourcesFolder_Folder_ExMsg() As String Get - Return ResourceManager.GetString("RSE_NothingValue", resourceCulture) + Return ResourceManager.GetString("RFS_CantCreateResourcesFolder_Folder_ExMsg", resourceCulture) End Get End Property ''' - ''' Looks up a localized string similar to Additional information about the resource. This property is only meaningful at design time.. + ''' Looks up a localized string similar to Cannot find the file '{0}'. It may have been moved or deleted.. ''' - Friend Shared ReadOnly Property RSE_PropDesc_Comment() As String + Friend Shared ReadOnly Property RFS_FindNotFound_File() As String Get - Return ResourceManager.GetString("RSE_PropDesc_Comment", resourceCulture) + Return ResourceManager.GetString("RFS_FindNotFound_File", resourceCulture) End Get End Property ''' - ''' Looks up a localized string similar to Character encoding of the file.. + ''' Looks up a localized string similar to There is already a linked file with the name "{0}" in the project folder "{1}". Do you want to remove it?. ''' - Friend Shared ReadOnly Property RSE_PropDesc_Encoding() As String + Friend Shared ReadOnly Property RFS_QueryRemoveLink_Folder_Link() As String Get - Return ResourceManager.GetString("RSE_PropDesc_Encoding", resourceCulture) + Return ResourceManager.GetString("RFS_QueryRemoveLink_Folder_Link", resourceCulture) End Get End Property ''' - ''' Looks up a localized string similar to The path to the linked resource.. + ''' Looks up a localized string similar to {0} - Destination File Exists. ''' - Friend Shared ReadOnly Property RSE_PropDesc_Filename() As String + Friend Shared ReadOnly Property RFS_QueryRemoveLinkTitle_Editor() As String Get - Return ResourceManager.GetString("RSE_PropDesc_Filename", resourceCulture) + Return ResourceManager.GetString("RFS_QueryRemoveLinkTitle_Editor", resourceCulture) End Get End Property ''' - ''' Looks up a localized string similar to Specifies whether the file resource is text or binary.. + ''' Looks up a localized string similar to A file with the name '{0}' already exists. Do you want to replace it?. ''' - Friend Shared ReadOnly Property RSE_PropDesc_FileType() As String + Friend Shared ReadOnly Property RFS_QueryReplaceFile_File() As String Get - Return ResourceManager.GetString("RSE_PropDesc_FileType", resourceCulture) + Return ResourceManager.GetString("RFS_QueryReplaceFile_File", resourceCulture) End Get End Property ''' - ''' Looks up a localized string similar to Name used to identify the resource in code.. + ''' Looks up a localized string similar to {0} - Destination File Exists. ''' - Friend Shared ReadOnly Property RSE_PropDesc_Name() As String + Friend Shared ReadOnly Property RFS_QueryReplaceFileTitle_Editor() As String Get - Return ResourceManager.GetString("RSE_PropDesc_Name", resourceCulture) + Return ResourceManager.GetString("RFS_QueryReplaceFileTitle_Editor", resourceCulture) End Get End Property ''' - ''' Looks up a localized string similar to Specifies whether the resource is embedded or linked. Embedded resources are saved in the resource file. Linked resources reside in an external location on disk.. + ''' Looks up a localized string similar to (Custom). ''' - Friend Shared ReadOnly Property RSE_PropDesc_Persistence() As String + Friend Shared ReadOnly Property RSE_AccessModifier_Custom() As String Get - Return ResourceManager.GetString("RSE_PropDesc_Persistence", resourceCulture) + Return ResourceManager.GetString("RSE_AccessModifier_Custom", resourceCulture) End Get End Property ''' - ''' Looks up a localized string similar to The resource will be generated as this type in the strongly-typed resource class. For example, the resource might be generated as a String or Bitmap object.. + ''' Looks up a localized string similar to Unexpected error.. ''' - Friend Shared ReadOnly Property RSE_PropDesc_Type() As String + Friend Shared ReadOnly Property RSE_Err_InternalException() As String Get - Return ResourceManager.GetString("RSE_PropDesc_Type", resourceCulture) + Return ResourceManager.GetString("RSE_Err_InternalException", resourceCulture) End Get End Property ''' - ''' Looks up a localized string similar to The value of the resource.. + ''' Looks up a localized string similar to Unable to load internal localized resource '{0}'.. ''' - Friend Shared ReadOnly Property RSE_PropDesc_Value() As String + Friend Shared ReadOnly Property RSE_Err_Unexpected_NoResource_1Arg() As String Get - Return ResourceManager.GetString("RSE_PropDesc_Value", resourceCulture) + Return ResourceManager.GetString("RSE_Err_Unexpected_NoResource_1Arg", resourceCulture) End Get End Property ''' - ''' Looks up a localized string similar to Value. + ''' Looks up a localized string similar to The operation has been canceled by the user.. ''' - Friend Shared ReadOnly Property RSE_ResourceColumn() As String + Friend Shared ReadOnly Property RSE_Err_UserCancel() As String Get - Return ResourceManager.GetString("RSE_ResourceColumn", resourceCulture) + Return ResourceManager.GetString("RSE_Err_UserCancel", resourceCulture) End Get End Property ''' - ''' Looks up a localized string similar to Managed Resources Editor. + ''' Looks up a localized string similar to Icons. ''' - Friend Shared ReadOnly Property RSE_ResourceEditor() As String + Friend Shared ReadOnly Property RSE_Filter_Icon() As String Get - Return ResourceManager.GetString("RSE_ResourceEditor", resourceCulture) + Return ResourceManager.GetString("RSE_Filter_Icon", resourceCulture) End Get End Property ''' - ''' Looks up a localized string similar to Name. + ''' Looks up a localized string similar to License Files. ''' - Friend Shared ReadOnly Property RSE_ResourceNameColumn() As String + Friend Shared ReadOnly Property RSE_Filter_License() As String Get - Return ResourceManager.GetString("RSE_ResourceNameColumn", resourceCulture) + Return ResourceManager.GetString("RSE_Filter_License", resourceCulture) End Get End Property ''' - ''' Looks up a localized string similar to Resource '{0}' could not be loaded because the file to which it is linked could not be found: {1}.. + ''' Looks up a localized string similar to No code generation. ''' - Friend Shared ReadOnly Property RSE_Task_BadLink_2Args() As String + Friend Shared ReadOnly Property RSE_NoCodeGeneration() As String Get - Return ResourceManager.GetString("RSE_Task_BadLink_2Args", resourceCulture) + Return ResourceManager.GetString("RSE_NoCodeGeneration", resourceCulture) End Get End Property @@ -2662,51 +1965,6 @@ Namespace My.Resources End Get End Property - ''' - ''' Looks up a localized string similar to Resource '{0}' could not be instantiated. {1}. - ''' - Friend Shared ReadOnly Property RSE_Task_CantInstantiate_2Args() As String - Get - Return ResourceManager.GetString("RSE_Task_CantInstantiate_2Args", resourceCulture) - End Get - End Property - - ''' - ''' Looks up a localized string similar to The resource name '{0}' is not a valid identifier.. - ''' - Friend Shared ReadOnly Property RSE_Task_InvalidName_1Arg() As String - Get - Return ResourceManager.GetString("RSE_Task_InvalidName_1Arg", resourceCulture) - End Get - End Property - - ''' - ''' Looks up a localized string similar to Resource '{0}' has a name that is not recommended and that may cause compilation errors in your code. Please choose another name.. - ''' - Friend Shared ReadOnly Property RSE_Task_NonrecommendedName_1Arg() As String - Get - Return ResourceManager.GetString("RSE_Task_NonrecommendedName_1Arg", resourceCulture) - End Get - End Property - - ''' - ''' Looks up a localized string similar to Binary File. - ''' - Friend Shared ReadOnly Property RSE_Type_BinaryFile() As String - Get - Return ResourceManager.GetString("RSE_Type_BinaryFile", resourceCulture) - End Get - End Property - - ''' - ''' Looks up a localized string similar to Windows Bitmap. - ''' - Friend Shared ReadOnly Property RSE_Type_BMP() As String - Get - Return ResourceManager.GetString("RSE_Type_BMP", resourceCulture) - End Get - End Property - ''' ''' Looks up a localized string similar to Extended Metafile. ''' @@ -2716,87 +1974,6 @@ Namespace My.Resources End Get End Property - ''' - ''' Looks up a localized string similar to EXIF Image. - ''' - Friend Shared ReadOnly Property RSE_Type_EXIF() As String - Get - Return ResourceManager.GetString("RSE_Type_EXIF", resourceCulture) - End Get - End Property - - ''' - ''' Looks up a localized string similar to Graphics Interchange Format. - ''' - Friend Shared ReadOnly Property RSE_Type_GIF() As String - Get - Return ResourceManager.GetString("RSE_Type_GIF", resourceCulture) - End Get - End Property - - ''' - ''' Looks up a localized string similar to Icon. - ''' - Friend Shared ReadOnly Property RSE_Type_Icon() As String - Get - Return ResourceManager.GetString("RSE_Type_Icon", resourceCulture) - End Get - End Property - - ''' - ''' Looks up a localized string similar to JPEG File Interchange Format. - ''' - Friend Shared ReadOnly Property RSE_Type_JPEG() As String - Get - Return ResourceManager.GetString("RSE_Type_JPEG", resourceCulture) - End Get - End Property - - ''' - ''' Looks up a localized string similar to Windows Bitmap. - ''' - Friend Shared ReadOnly Property RSE_Type_MEMBMP() As String - Get - Return ResourceManager.GetString("RSE_Type_MEMBMP", resourceCulture) - End Get - End Property - - ''' - ''' Looks up a localized string similar to Portable Network Graphics. - ''' - Friend Shared ReadOnly Property RSE_Type_PNG() As String - Get - Return ResourceManager.GetString("RSE_Type_PNG", resourceCulture) - End Get - End Property - - ''' - ''' Looks up a localized string similar to Text File. - ''' - Friend Shared ReadOnly Property RSE_Type_TextFile() As String - Get - Return ResourceManager.GetString("RSE_Type_TextFile", resourceCulture) - End Get - End Property - - ''' - ''' Looks up a localized string similar to Tag Image File Format. - ''' - Friend Shared ReadOnly Property RSE_Type_TIFF() As String - Get - Return ResourceManager.GetString("RSE_Type_TIFF", resourceCulture) - End Get - End Property - - ''' - ''' Looks up a localized string similar to Wave Sound. - ''' - Friend Shared ReadOnly Property RSE_Type_Wave() As String - Get - Return ResourceManager.GetString("RSE_Type_Wave", resourceCulture) - End Get - End Property - ''' ''' Looks up a localized string similar to Windows Metafile. ''' @@ -2806,60 +1983,6 @@ Namespace My.Resources End Get End Property - ''' - ''' Looks up a localized string similar to Type. - ''' - Friend Shared ReadOnly Property RSE_TypeColumn() As String - Get - Return ResourceManager.GetString("RSE_TypeColumn", resourceCulture) - End Get - End Property - - ''' - ''' Looks up a localized string similar to Add {0} new resource(s). - ''' - Friend Shared ReadOnly Property RSE_Undo_AddResources_1Arg() As String - Get - Return ResourceManager.GetString("RSE_Undo_AddResources_1Arg", resourceCulture) - End Get - End Property - - ''' - ''' Looks up a localized string similar to Change resource name. - ''' - Friend Shared ReadOnly Property RSE_Undo_ChangeName() As String - Get - Return ResourceManager.GetString("RSE_Undo_ChangeName", resourceCulture) - End Get - End Property - - ''' - ''' Looks up a localized string similar to Delete values in {0} cell(s). - ''' - Friend Shared ReadOnly Property RSE_Undo_DeleteResourceCell() As String - Get - Return ResourceManager.GetString("RSE_Undo_DeleteResourceCell", resourceCulture) - End Get - End Property - - ''' - ''' Looks up a localized string similar to Remove {0} resource(s). - ''' - Friend Shared ReadOnly Property RSE_Undo_RemoveResources_1Arg() As String - Get - Return ResourceManager.GetString("RSE_Undo_RemoveResources_1Arg", resourceCulture) - End Get - End Property - - ''' - ''' Looks up a localized string similar to (Unknown type). - ''' - Friend Shared ReadOnly Property RSE_UnknownType() As String - Get - Return ResourceManager.GetString("RSE_UnknownType", resourceCulture) - End Get - End Property - ''' ''' Looks up a localized string similar to Failed to create or open file.. ''' @@ -3156,7 +2279,7 @@ Namespace My.Resources Return ResourceManager.GetString("SD_ERR_HelpMessage_SuggestFileOpenWith", resourceCulture) End Get End Property - + ''' ''' Looks up a localized string similar to '{0}' is not a valid identifier.. ''' diff --git a/src/Microsoft.VisualStudio.Editors/Resources/Microsoft.VisualStudio.Editors.Designer.resx b/src/Microsoft.VisualStudio.Editors/Resources/Microsoft.VisualStudio.Editors.Designer.resx index d205aa30547..3eaa9936663 100644 --- a/src/Microsoft.VisualStudio.Editors/Resources/Microsoft.VisualStudio.Editors.Designer.resx +++ b/src/Microsoft.VisualStudio.Editors/Resources/Microsoft.VisualStudio.Editors.Designer.resx @@ -530,286 +530,23 @@ Changing this setting will reset the settings in all configurations. Requires: - - Name - Column names for the string table - - - Type - Column names for the string table - - - Value - Column names for the string table - - - Comment - Column names for the string table - - - Failed to generate file: {0} - - - Editing embedded resources directly is not supported. Do you wish to convert this item to a linked resource in order to edit it? - - - The current object is auto-generated and only supports renaming through the Managed Resources Editor. - - - Cannot find the file '{0}'. It may have been moved or deleted. - {0} = file name and path - - - Unable to load resource from file '{0}'. - {0} = file name and path - - - The resource name cannot be empty. - - - There is already another resource with the name '{0}'. - {0} = Resource name - - - The resource was not of the expected type. - This error can happen if, for example, you try to add foo.bmp to the resource editor, but foo.bmp is really a metafile. - - - Unable to create new resource file '{0}'. {1} - {0} = file name and path, {1} = additional error information - - - Unable to play the audio resource. {0} - {0} = Additional error information. - - - Resource '{0}' cannot be saved to a file. - {0} = Resource name - - - The operation has been canceled by the user. - - - The resource value contains invalid data or has an incorrect format. - - - The name of the resource '{0}' cannot be used as a valid identifier, because it contains one or more invalid characters: '{1}'. Please remove or replace those characters and try again. - {0} = Resource name - - - Too many files specified. Please select fewer files and try again. - Unexpected error. Theoretically possible but we really don't expect to happen. Unexpected, internal error. + + The operation has been canceled by the user. + Unable to load internal localized resource '{0}'. Theoretically possible but we really don't expect to happen. Unexpected, internal error. - - The value could not be converted into a resource of type {0}. - -{1} - {0} = the type that was expected by the resource editor (e.g. System.Drawing.Point) -{1} = more specific additional error message from the system - - - The value cannot be empty in a resource of type {0}. - {0} = the type that was expected by the resource editor (e.g. System.Drawing.Point) - - - One or more of the selected resource values could not be cleared. - - - The resource file cannot be modified at this time. - - - You are trying to edit a resource file that is a part of another project item (such as a form or a control). Editing this item could corrupt the project item, and you will have to recover it by hand. In addition, changes made to this resource file may be lost if further changes are made to the project item. - -Do you really want to edit this file? - - - The resource '{0}' cannot be added. - {0} - name of the resource - - - The device does not support '{0}' files. - {0} - the extension of the file name like 'tiff' - - - The resource item uses the type '{0}', which is not supported in this project. - {0} - name of the type - - - The resource item(s) {0} cannot be saved correctly. The item(s) will be discarded. - {0} - name list of the resource - - - '{0}' - {0} - name - - - {0}, '{1}' - # {0} - name list -# {1} - another name - - - (Nothing/null) - Displayed in a string table for values of Nothing/null -CONSIDER: get this from CodeDom - - - (Unknown type) - This actually shouldn't be needed, but if we get an exception trying to get the type name of an entry in the resx file (not supposed to happen), then we'll display this as its type. - - - (Value cannot be displayed) - Displayed in a string table for values which cannot be edited by the user - - - Name - Columns for the "Details" view of the resource editor - - - Filename - Columns for the "Details" view of the resource editor - - - Type - Columns for the "Details" view of the resource editor - - - Size - Columns for the "Details" view of the resource editor - - - Comment - Columns for the "Details" view of the resource editor - - - {0} x {1} - Format string for showing a graphic's size - -# {0} = width (as an integer) -# {1} = height (as an integer) -#Example, for a bitmap of width=123, height = 456, the English version of this string would be "123x456" - - - {0} KB - #Format string for showing a file's size -# {0} = length in kilobytes - - - {0} byte(s) - Format string for showing a file's size. -{0} = length in bytes - - - Strings - Resource category names (these show up in the category buttons in the ToolStrip at the top of the resource editor) - - - Images - Resource category names (these show up in the category buttons in the ToolStrip at the top of the resource editor) - - - Icons - Resource category names (these show up in the category buttons in the ToolStrip at the top of the resource editor) - - - Audio - Resource category names (these show up in the category buttons in the ToolStrip at the top of the resource editor) - - - Files - Resource category names (these show up in the category buttons in the ToolStrip at the top of the resource editor) - - - Other - Resource category names (these show up in the category buttons in the ToolStrip at the top of the resource editor) - - - Windows Bitmap - Friendly Image types - - - EXIF Image - Friendly Image types - - - Graphics Interchange Format - Friendly Image types - - - JPEG File Interchange Format - Friendly Image types - - - Windows Bitmap - Friendly Image types - - - Portable Network Graphics - Friendly Image types - - - Tag Image File Format - Friendly Image types - - - Icon - Friendly Image types - - - Text File - Friendly Image types - - - Binary File - - - Wave Sound - Friendly Image types - - - Linked at compile time - File Persistence Mode - - - Embedded in .resx - File Persistence Mode - - - Bitmaps - # File dialog filters -# -# E.g., for icons, the actual filter created would look like "Icons (*.ico)". These resources -# represent the first part of that filter -# - Icons # File dialog filters # # E.g., for icons, the actual filter created would look like "Icons (*.ico)". These resources # represent the first part of that filter -# - - - Audio - # File dialog filters -# -# E.g., for icons, the actual filter created would look like "Icons (*.ico)". These resources -# represent the first part of that filter -# - - - Text Files - # File dialog filters -# -# E.g., for icons, the actual filter created would look like "Icons (*.ico)". These resources -# represent the first part of that filter # @@ -820,168 +557,12 @@ CONSIDER: get this from CodeDom # represent the first part of that filter # - - All Files - # File dialog filters -# -# E.g., for icons, the actual filter created would look like "Icons (*.ico)". These resources -# represent the first part of that filter -# - - - Windows Bitmap - # File dialog filters -# -# E.g., for icons, the actual filter created would look like "Icons (*.ico)". These resources -# represent the first part of that filter -# - - - Portable Network Graphics - # File dialog filters -# -# E.g., for icons, the actual filter created would look like "Icons (*.ico)". These resources -# represent the first part of that filter -# - - - Graphics Interchange Format - # File dialog filters -# -# E.g., for icons, the actual filter created would look like "Icons (*.ico)". These resources -# represent the first part of that filter -# - - - JPEG File Interchange Format - # File dialog filters -# -# E.g., for icons, the actual filter created would look like "Icons (*.ico)". These resources -# represent the first part of that filter -# - - - Tag Image File Format - # File dialog filters -# -# E.g., for icons, the actual filter created would look like "Icons (*.ico)". These resources -# represent the first part of that filter -# - - - Icon - # File dialog filters -# -# E.g., for icons, the actual filter created would look like "Icons (*.ico)". These resources -# represent the first part of that filter -# - - - Managed Resources Editor - - - Add existing file to resources - - - Import file into resource '{0}' - {0} = Name of resource being imported into - - - Export resource '{0}' to file - {0} = Name of resource being exported from - - - Please specify where to save the new file - - - The file '{0}' already exists. Do you want to replace it? - {0} = full file path and name - - - The following files already exist. Do you want to replace them? - - - Select a folder in which to export the resources. - - - Do you want to continue anyway? - - - Resource '{0}' could not be loaded because the file to which it is linked could not be found: {1}. - {0} = resource name that had the error, {1} = file path/name that could not be found - - - Resource '{0}' could not be instantiated. {1} - {0} = resource name that had the error, {1} = extended error information - - - Resource '{0}' has a name that is not recommended and that may cause compilation errors in your code. Please choose another name. - {0} = resource name that had the error - Unable to set the Custom Tool or Custom Tool Namespace properties of this file in order to change strongly-typed resource generation options. If the project file is checked in, try checking it out. One possible source for this error is that source code control checkout failed or was canceled. - - The resource name '{0}' is not a valid identifier. - - - {0} - Codepage {1} - {0} = encoding name (e.g., "Western European (Windows)"), {1} = code page # (e.g., 85001) - - - (Default) - - - Change resource name - - - Add {0} new resource(s) - {0} = number of resources added - - - Remove {0} resource(s) - {0} = number of resources removed - - - Delete values in {0} cell(s) - {0} = number of cells cleared - - - - # Fonts (should be left blank to pick up font from environment automatically, but could be changed if needed for last-minute font bugs) -# -# Format of these strings is the same as it would be in a form resx. Example: RSE_Font_MenuStrip=Arial, 12pt - - - - # Fonts (should be left blank to pick up font from environment automatically, but could be changed if needed for last-minute font bugs) -# -# Format of these strings is the same as it would be in a form resx. Example: RSE_Font_MenuStrip=Arial, 12pt - - - Name used to identify the resource in code. - - - Additional information about the resource. This property is only meaningful at design time. - - - Character encoding of the file. - - - The path to the linked resource. - - - Specifies whether the file resource is text or binary. - - - Specifies whether the resource is embedded or linked. Embedded resources are saved in the resource file. Linked resources reside in an external location on disk. - - - The resource will be generated as this type in the strongly-typed resource class. For example, the resource might be generated as a String or Bitmap object. - - - The value of the resource. + + Failed to generate file: {0} Unable to add a '{0}' folder to this project. diff --git a/src/Microsoft.VisualStudio.Editors/Resources/ResourceEditor/BlankBmp.bmp b/src/Microsoft.VisualStudio.Editors/Resources/ResourceEditor/BlankBmp.bmp deleted file mode 100644 index 55516c7aaa3..00000000000 Binary files a/src/Microsoft.VisualStudio.Editors/Resources/ResourceEditor/BlankBmp.bmp and /dev/null differ diff --git a/src/Microsoft.VisualStudio.Editors/Resources/ResourceEditor/BlankGif.GIF b/src/Microsoft.VisualStudio.Editors/Resources/ResourceEditor/BlankGif.GIF deleted file mode 100644 index d07c6565086..00000000000 Binary files a/src/Microsoft.VisualStudio.Editors/Resources/ResourceEditor/BlankGif.GIF and /dev/null differ diff --git a/src/Microsoft.VisualStudio.Editors/Resources/ResourceEditor/BlankIcon.ico b/src/Microsoft.VisualStudio.Editors/Resources/ResourceEditor/BlankIcon.ico deleted file mode 100644 index 5d06b9f2857..00000000000 Binary files a/src/Microsoft.VisualStudio.Editors/Resources/ResourceEditor/BlankIcon.ico and /dev/null differ diff --git a/src/Microsoft.VisualStudio.Editors/Resources/ResourceEditor/BlankJpeg.JPG b/src/Microsoft.VisualStudio.Editors/Resources/ResourceEditor/BlankJpeg.JPG deleted file mode 100644 index 21620c14d5b..00000000000 Binary files a/src/Microsoft.VisualStudio.Editors/Resources/ResourceEditor/BlankJpeg.JPG and /dev/null differ diff --git a/src/Microsoft.VisualStudio.Editors/Resources/ResourceEditor/BlankPng.PNG b/src/Microsoft.VisualStudio.Editors/Resources/ResourceEditor/BlankPng.PNG deleted file mode 100644 index 3e9d6ed41b4..00000000000 Binary files a/src/Microsoft.VisualStudio.Editors/Resources/ResourceEditor/BlankPng.PNG and /dev/null differ diff --git a/src/Microsoft.VisualStudio.Editors/Resources/ResourceEditor/BlankTiff.TIF b/src/Microsoft.VisualStudio.Editors/Resources/ResourceEditor/BlankTiff.TIF deleted file mode 100644 index 74509a904e4..00000000000 Binary files a/src/Microsoft.VisualStudio.Editors/Resources/ResourceEditor/BlankTiff.TIF and /dev/null differ diff --git a/src/Microsoft.VisualStudio.Editors/Resources/ResourceEditor/BlankWav.wav b/src/Microsoft.VisualStudio.Editors/Resources/ResourceEditor/BlankWav.wav deleted file mode 100644 index b227e023056..00000000000 Binary files a/src/Microsoft.VisualStudio.Editors/Resources/ResourceEditor/BlankWav.wav and /dev/null differ diff --git a/src/Microsoft.VisualStudio.Editors/Resources/xlf/Microsoft.VisualStudio.Editors.Designer.cs.xlf b/src/Microsoft.VisualStudio.Editors/Resources/xlf/Microsoft.VisualStudio.Editors.Designer.cs.xlf index ac2d5d37828..358b01eb1fa 100644 --- a/src/Microsoft.VisualStudio.Editors/Resources/xlf/Microsoft.VisualStudio.Editors.Designer.cs.xlf +++ b/src/Microsoft.VisualStudio.Editors/Resources/xlf/Microsoft.VisualStudio.Editors.Designer.cs.xlf @@ -666,575 +666,47 @@ Změnou tohoto nastavení dojde k resetování nastavení ve všech konfigurací Vyžaduje: - - Name - Název - Column names for the string table - - - Type - Typ - Column names for the string table - - - Value - Hodnota - Column names for the string table - - - Comment - Komentář - Column names for the string table - - - If this is not a Settings-Designer file then use 'Open With' to open it in a text editor. - Pokud se nejedná o soubor Návrháře nastavení, otevřete ho v textovém editoru pomocí příkazu Otevřít v programu. - - - - Failed to generate file: {0} - Generování souboru selhalo: {0} - - - - Editing embedded resources directly is not supported. Do you wish to convert this item to a linked resource in order to edit it? - Přímá úprava vložených prostředků není podporovaná. Chcete tuto položku převést na propojený prostředek, abyste ho mohli upravit? - - - - The current object is auto-generated and only supports renaming through the Managed Resources Editor. - Aktuální objekt se vygeneroval automaticky a podporuje přejmenovávání jenom pomocí editoru spravovaných prostředků. - - - - Cannot find the file '{0}'. It may have been moved or deleted. - Soubor {0} se nedá najít. Možná byl přesunut nebo odstraněn. - {0} = file name and path - - - Unable to load resource from file '{0}'. - Ze souboru '{0}' se nepodařilo načíst prostředek. - {0} = file name and path - - - The resource name cannot be empty. - Název prostředku nemůže být prázdný. - - - - There is already another resource with the name '{0}'. - Už existuje jiný prostředek s názvem {0}. - {0} = Resource name - - - The resource was not of the expected type. - Prostředek není očekávaného typu. - This error can happen if, for example, you try to add foo.bmp to the resource editor, but foo.bmp is really a metafile. - - - Unable to create new resource file '{0}'. {1} - Nepodařilo se vytvořit nový soubor prostředku {0}. {1} - {0} = file name and path, {1} = additional error information - - - Unable to play the audio resource. {0} - Nelze přehrát zdroj zvuku. {0} - {0} = Additional error information. - - - Resource '{0}' cannot be saved to a file. - Prostředek {0} se do souboru nedá uložit. - {0} = Resource name - - - The operation has been canceled by the user. - Operace se přerušila na žádost uživatele. - - - - The resource value contains invalid data or has an incorrect format. - Hodnota prostředku obsahuje neplatná data, nebo má chybný formát. - - - - The name of the resource '{0}' cannot be used as a valid identifier, because it contains one or more invalid characters: '{1}'. Please remove or replace those characters and try again. - Název prostředku {0} nejde použít jako platný identifikátor, protože obsahuje jeden nebo více neplatných znaků: {1}. Odeberte prosím tyto znaky nebo je nahraďte a zkuste to znovu. - {0} = Resource name - - - Too many files specified. Please select fewer files and try again. - Vybrali jste příliš mnoho souborů. Vyberte prosím méně souborů a zkuste to znovu. - - Unexpected error. - Nečekaná chyba. + Unexpected error. Theoretically possible but we really don't expect to happen. Unexpected, internal error. Unable to load internal localized resource '{0}'. - Nepodařilo se načíst vnitřně umístěný prostředek '{0}'. + Unable to load internal localized resource '{0}'. Theoretically possible but we really don't expect to happen. Unexpected, internal error. - - The value could not be converted into a resource of type {0}. - -{1} - Hodnota nebyla převedena na prostředek typu {0}. - -{1} - {0} = the type that was expected by the resource editor (e.g. System.Drawing.Point) -{1} = more specific additional error message from the system - - - The value cannot be empty in a resource of type {0}. - Hodnota v prostředku typu {0} nemůže být prázdná. - {0} = the type that was expected by the resource editor (e.g. System.Drawing.Point) - - - One or more of the selected resource values could not be cleared. - Jednu nebo více hodnot prostředků nelze smazat. - - - - The resource file cannot be modified at this time. - Soubor prostředků se momentálně nedá změnit. + + The operation has been canceled by the user. + The operation has been canceled by the user. - - You are trying to edit a resource file that is a part of another project item (such as a form or a control). Editing this item could corrupt the project item, and you will have to recover it by hand. In addition, changes made to this resource file may be lost if further changes are made to the project item. - -Do you really want to edit this file? - Pokoušíte se upravovat soubor prostředku, který patří k jiné položce projektu (třeba k formuláři nebo ovládacímu prvku). Úprava této položky může vést k poškození položky projektu, kterou pak budete muset obnovit ručně. Pokud budete tuto položku projektu dál měnit, můžete přijít i o změny tohoto zdrojového souboru. - -Opravdu chcete tento soubor upravit? - - - - The resource '{0}' cannot be added. - Prostředek {0} se nedá přidat. - {0} - name of the resource - - - The device does not support '{0}' files. - Zařízení nepodporuje soubory {0}. - {0} - the extension of the file name like 'tiff' - - - The resource item uses the type '{0}', which is not supported in this project. - Položka prostředku používá typ {0}, který se v tomto projektu nepodporuje. - {0} - name of the type - - - The resource item(s) {0} cannot be saved correctly. The item(s) will be discarded. - Jedna nebo více položek prostředků {0} nejdou správně uložit. Tyto položky budou zahozeny. - {0} - name list of the resource - - - '{0}' - {0} - {0} - name - - - {0}, '{1}' - {0}, {1} - # {0} - name list -# {1} - another name - - - (Nothing/null) - (nic/null) - Displayed in a string table for values of Nothing/null -CONSIDER: get this from CodeDom - - - (Unknown type) - (neznámý typ) - This actually shouldn't be needed, but if we get an exception trying to get the type name of an entry in the resx file (not supposed to happen), then we'll display this as its type. - - - (Value cannot be displayed) - (hodnota se nedá zobrazit) - Displayed in a string table for values which cannot be edited by the user - - - Name - Název - Columns for the "Details" view of the resource editor - - - Filename - Název souboru - Columns for the "Details" view of the resource editor - - - Type - Typ - Columns for the "Details" view of the resource editor - - - Size - Velikost - Columns for the "Details" view of the resource editor - - - Comment - Komentář - Columns for the "Details" view of the resource editor - - - {0} x {1} - {0} x {1} - Format string for showing a graphic's size - -# {0} = width (as an integer) -# {1} = height (as an integer) -#Example, for a bitmap of width=123, height = 456, the English version of this string would be "123x456" - - - {0} KB - {0} kB - #Format string for showing a file's size -# {0} = length in kilobytes - - - {0} byte(s) - {0} bajtů - Format string for showing a file's size. -{0} = length in bytes - - - Strings - Řetězce - Resource category names (these show up in the category buttons in the ToolStrip at the top of the resource editor) - - - Images - Obrázky - Resource category names (these show up in the category buttons in the ToolStrip at the top of the resource editor) - - - Icons - Ikony - Resource category names (these show up in the category buttons in the ToolStrip at the top of the resource editor) - - - Audio - Zvuk - Resource category names (these show up in the category buttons in the ToolStrip at the top of the resource editor) - - - Files - Soubory - Resource category names (these show up in the category buttons in the ToolStrip at the top of the resource editor) - - - Other - Jiné - Resource category names (these show up in the category buttons in the ToolStrip at the top of the resource editor) - - - Windows Bitmap - Bitová mapa Windows - Friendly Image types - - - EXIF Image - Obrázek EXIF - Friendly Image types - - - Graphics Interchange Format - Formát GIF - Friendly Image types - - - JPEG File Interchange Format - Formát JPEG - Friendly Image types - - - Windows Bitmap - Bitová mapa Windows - Friendly Image types - - - Portable Network Graphics - Formát PNG - Friendly Image types - - - Tag Image File Format - Formát TIFF - Friendly Image types - - - Icon - Ikona - Friendly Image types - - - Text File - Textový soubor - Friendly Image types - - - Binary File - Binární soubor - - - - Wave Sound - Zvuk ve formátu Wave - Friendly Image types - - - Linked at compile time - Spojený až při kompilaci - File Persistence Mode - - - Embedded in .resx - Vložený do souboru .resx - File Persistence Mode - - - Bitmaps - Bitové mapy - # File dialog filters -# -# E.g., for icons, the actual filter created would look like "Icons (*.ico)". These resources -# represent the first part of that filter -# - Icons - Ikony - # File dialog filters -# -# E.g., for icons, the actual filter created would look like "Icons (*.ico)". These resources -# represent the first part of that filter -# - - - Audio - Zvuk - # File dialog filters -# -# E.g., for icons, the actual filter created would look like "Icons (*.ico)". These resources -# represent the first part of that filter -# - - - Text Files - Textové soubory - # File dialog filters -# -# E.g., for icons, the actual filter created would look like "Icons (*.ico)". These resources -# represent the first part of that filter -# - - - All Files - Všechny soubory - # File dialog filters -# -# E.g., for icons, the actual filter created would look like "Icons (*.ico)". These resources -# represent the first part of that filter -# - - - Windows Bitmap - Bitová mapa Windows + Icons # File dialog filters # # E.g., for icons, the actual filter created would look like "Icons (*.ico)". These resources # represent the first part of that filter # - - Portable Network Graphics - Formát PNG - # File dialog filters -# -# E.g., for icons, the actual filter created would look like "Icons (*.ico)". These resources -# represent the first part of that filter -# - - - Graphics Interchange Format - Formát GIF - # File dialog filters -# -# E.g., for icons, the actual filter created would look like "Icons (*.ico)". These resources -# represent the first part of that filter -# - - - JPEG File Interchange Format - Formát JPEG - # File dialog filters -# -# E.g., for icons, the actual filter created would look like "Icons (*.ico)". These resources -# represent the first part of that filter -# - - - Tag Image File Format - Formát TIFF - # File dialog filters -# -# E.g., for icons, the actual filter created would look like "Icons (*.ico)". These resources -# represent the first part of that filter -# - - - Icon - Ikona + + License Files + License Files # File dialog filters # # E.g., for icons, the actual filter created would look like "Icons (*.ico)". These resources # represent the first part of that filter # - - Managed Resources Editor - Editor spravovaných prostředků - - - - Add existing file to resources - Přidat existující soubor k prostředkům - - - - Import file into resource '{0}' - Importovat soubor do prostředku {0} - {0} = Name of resource being imported into - - - Export resource '{0}' to file - Exportovat prostředek {0} do souboru - {0} = Name of resource being exported from - - - Please specify where to save the new file - Zadejte prosím, kde má být nový soubor uložen - - - - The file '{0}' already exists. Do you want to replace it? - Soubor {0} už existuje. Chcete ho nahradit? - {0} = full file path and name - - - The following files already exist. Do you want to replace them? - Následující soubory už existují. Chcete je nahradit? - - - - Select a folder in which to export the resources. - Vyberte složku, do které budou exportovány prostředky. - - - - Do you want to continue anyway? - Chcete i přesto pokračovat? - - - - Resource '{0}' could not be loaded because the file to which it is linked could not be found: {1}. - Prostředek {0} se nedá načíst, protože se nenašel soubor, se kterým je svázaný: {1}. - {0} = resource name that had the error, {1} = file path/name that could not be found - - - Resource '{0}' could not be instantiated. {1} - Nelze vytvořit instanci prostředku {0}. {1} - {0} = resource name that had the error, {1} = extended error information - - - Resource '{0}' has a name that is not recommended and that may cause compilation errors in your code. Please choose another name. - Prostředek {0} má název, který se nedoporučuje, protože může v kódu způsobit chyby při kompilaci. Vyberte prosím jiný název. - {0} = resource name that had the error - Unable to set the Custom Tool or Custom Tool Namespace properties of this file in order to change strongly-typed resource generation options. If the project file is checked in, try checking it out. - U tohoto souboru se nepodařilo nastavit vlastnosti Vlastní nástroje a Obor názvů vlastního nástroje, aby bylo možné změnit tučně napsané možnosti generování prostředků. Pokud je soubor projektu zaškrtnutý, zkuste ho odškrtnout. + Unable to set the Custom Tool or Custom Tool Namespace properties of this file in order to change strongly-typed resource generation options. If the project file is checked in, try checking it out. One possible source for this error is that source code control checkout failed or was canceled. - - The resource name '{0}' is not a valid identifier. - Název prostředku {0} není platný identifikátor. - - - - {0} - Codepage {1} - {0} – znaková sada {1} - {0} = encoding name (e.g., "Western European (Windows)"), {1} = code page # (e.g., 85001) - - - (Default) - (výchozí) - - - - Change resource name - Změnit název prostředku - - - - Add {0} new resource(s) - Přidat nové prostředky {0} - {0} = number of resources added - - - Remove {0} resource(s) - Odebrat prostředky {0} - {0} = number of resources removed - - - Delete values in {0} cell(s) - Odstranit hodnoty buněk {0} - {0} = number of cells cleared - - - Name used to identify the resource in code. - Název používaný k identifikaci prostředku v kódu - - - - Additional information about the resource. This property is only meaningful at design time. - Další informace o prostředku. Tato vlastnost je užitečná jen v okamžiku návrhu. - - - - Character encoding of the file. - Kódování znaků souboru - - - - The path to the linked resource. - Cesta k propojenému prostředku - - - - Specifies whether the file resource is text or binary. - Určuje, jestli je soubor prostředku textový nebo binární. - - - - Specifies whether the resource is embedded or linked. Embedded resources are saved in the resource file. Linked resources reside in an external location on disk. - Určuje, jestli je prostředek vložený nebo připojený. Vložené prostředky se ukládají do souboru prostředků. Propojené prostředky jsou externě umístěné na disku. - - - - The resource will be generated as this type in the strongly-typed resource class. For example, the resource might be generated as a String or Bitmap object. - Prostředek se vygeneruje do tučně napsané třídy prostředků jako tento typ. Prostředek může být vygenerovaný třeba jako objekt řetězce nebo bitové mapy. - - - - The value of the resource. - Hodnota prostředku + + If this is not a Settings-Designer file then use 'Open With' to open it in a text editor. + Pokud se nejedná o soubor Návrháře nastavení, otevřete ho v textovém editoru pomocí příkazu Otevřít v programu. @@ -1859,6 +1331,11 @@ Chcete aktualizovat hodnotu v souboru .settings? Při rezervaci se znovu načetl jeden nebo více souborů. Zopakujte prosím operaci. + + Failed to generate file: {0} + Failed to generate file: {0} + + Invalid XML Format: {0} Neplatný formát XML: {0} @@ -1999,15 +1476,6 @@ Chcete aktualizovat hodnotu v souboru .settings? Formát EMF (Extended Metafile) - - License Files - Soubory licencí - # File dialog filters -# -# E.g., for icons, the actual filter created would look like "Icons (*.ico)". These resources -# represent the first part of that filter -# - Code Analysis Analýza kódu diff --git a/src/Microsoft.VisualStudio.Editors/Resources/xlf/Microsoft.VisualStudio.Editors.Designer.de.xlf b/src/Microsoft.VisualStudio.Editors/Resources/xlf/Microsoft.VisualStudio.Editors.Designer.de.xlf index 1de16b5a59a..64fbe0a7d4b 100644 --- a/src/Microsoft.VisualStudio.Editors/Resources/xlf/Microsoft.VisualStudio.Editors.Designer.de.xlf +++ b/src/Microsoft.VisualStudio.Editors/Resources/xlf/Microsoft.VisualStudio.Editors.Designer.de.xlf @@ -666,575 +666,47 @@ Wenn diese Einstellung geändert wird, werden die Einstellungen in allen Konfigu Voraussetzungen: - - Name - Name - Column names for the string table - - - Type - Typ - Column names for the string table - - - Value - Wert - Column names for the string table - - - Comment - Kommentieren - Column names for the string table - - - If this is not a Settings-Designer file then use 'Open With' to open it in a text editor. - Wenn es sich nicht um eine Einstellungs-Designerdatei handelt, verwenden Sie „Öffnen mit“, um sie in einem Text-Editor zu öffnen. - - - - Failed to generate file: {0} - Fehler beim Generieren der Datei: {0} - - - - Editing embedded resources directly is not supported. Do you wish to convert this item to a linked resource in order to edit it? - Die direkte Bearbeitung eingebetteter Ressourcen wird nicht unterstützt. Möchten Sie das Element in eine verknüpfte Ressource konvertieren, um sie zu bearbeiten? - - - - The current object is auto-generated and only supports renaming through the Managed Resources Editor. - Das aktuelle Objekt wurde automatisch generiert und kann nur mithilfe des Editors für verwaltete Ressourcen umbenannt werden. - - - - Cannot find the file '{0}'. It may have been moved or deleted. - Die Datei "{0}" wurde nicht gefunden. Möglicherweise wurde sie verschoben oder gelöscht. - {0} = file name and path - - - Unable to load resource from file '{0}'. - Die Ressource aus Datei "{0}" kann nicht geladen werden. - {0} = file name and path - - - The resource name cannot be empty. - Der Ressourcenname darf nicht leer sein. - - - - There is already another resource with the name '{0}'. - Es ist bereits eine andere Ressource mit dem Namen "{0}" vorhanden. - {0} = Resource name - - - The resource was not of the expected type. - Die Ressource hatte nicht den erwarteten Typ. - This error can happen if, for example, you try to add foo.bmp to the resource editor, but foo.bmp is really a metafile. - - - Unable to create new resource file '{0}'. {1} - Die neue Ressourcendatei "{0}" konnte nicht erstellt werden. {1} - {0} = file name and path, {1} = additional error information - - - Unable to play the audio resource. {0} - Die Audioressource kann nicht wiedergegeben werden. {0} - {0} = Additional error information. - - - Resource '{0}' cannot be saved to a file. - Die Ressource "{0}" kann nicht in einer Datei gespeichert werden. - {0} = Resource name - - - The operation has been canceled by the user. - Der Vorgang wurde benutzerseitig abgebrochen. - - - - The resource value contains invalid data or has an incorrect format. - Der Ressourcenwert enthält ungültige Daten oder hat ein falsches Format. - - - - The name of the resource '{0}' cannot be used as a valid identifier, because it contains one or more invalid characters: '{1}'. Please remove or replace those characters and try again. - Der Name der Ressource "{0}" kann nicht als gültiger Bezeichner verwendet werden, da er mindestens ein ungültiges Zeichen enthält: {1}. Entfernen oder ersetzen Sie die Zeichen, und versuchen Sie es noch einmal. - {0} = Resource name - - - Too many files specified. Please select fewer files and try again. - Es wurden zu viele Dateien angegeben. Wählen Sie weniger Dateien aus, und versuchen Sie es noch einmal. - - Unexpected error. - Unerwarteter Fehler. + Unexpected error. Theoretically possible but we really don't expect to happen. Unexpected, internal error. Unable to load internal localized resource '{0}'. - Die interne lokalisierte Ressource "{0}" kann nicht geladen werden. + Unable to load internal localized resource '{0}'. Theoretically possible but we really don't expect to happen. Unexpected, internal error. - - The value could not be converted into a resource of type {0}. - -{1} - Der Wert konnte nicht in eine Ressource vom Typ "{0}" konvertiert werden. - -{1} - {0} = the type that was expected by the resource editor (e.g. System.Drawing.Point) -{1} = more specific additional error message from the system - - - The value cannot be empty in a resource of type {0}. - Der Wert kann in einer Ressource vom Typ "{0}" nicht leer sein. - {0} = the type that was expected by the resource editor (e.g. System.Drawing.Point) - - - One or more of the selected resource values could not be cleared. - Mindestens einer der ausgewählten Ressourcenwerte konnte nicht gelöscht werden. - - - - The resource file cannot be modified at this time. - Die Ressourcendatei kann derzeit nicht geändert werden. + + The operation has been canceled by the user. + The operation has been canceled by the user. - - You are trying to edit a resource file that is a part of another project item (such as a form or a control). Editing this item could corrupt the project item, and you will have to recover it by hand. In addition, changes made to this resource file may be lost if further changes are made to the project item. - -Do you really want to edit this file? - Sie sind im Begriff, eine Ressourcendatei zu bearbeiten, die Teil eines anderen Projektelements ist (beispielsweise eines Formulars oder Steuerelements). Die Bearbeitung dieses Elements kann zu einer Beschädigung des Projektelements führen und eine manuelle Wiederherstellung erforderlich machen. Darüber hinaus gehen die Änderungen an dieser Ressourcendatei unter Umständen verloren, wenn später weitere Änderungen am Projektelement vorgenommen werden. - -Möchten Sie die Datei wirklich bearbeiten? - - - - The resource '{0}' cannot be added. - Die Ressource "{0}" kann nicht hinzugefügt werden. - {0} - name of the resource - - - The device does not support '{0}' files. - Das Gerät unterstützt keine {0}-Dateien. - {0} - the extension of the file name like 'tiff' - - - The resource item uses the type '{0}', which is not supported in this project. - Das Ressourcenelement verwendet den Typ "{0}", der in diesem Projekt nicht unterstützt wird. - {0} - name of the type - - - The resource item(s) {0} cannot be saved correctly. The item(s) will be discarded. - Die Ressourcenelemente "{0}" konnten nicht ordnungsgemäß gespeichert werden. Die Elemente werden verworfen. - {0} - name list of the resource - - - '{0}' - "{0}" - {0} - name - - - {0}, '{1}' - {0}, "{1}" - # {0} - name list -# {1} - another name - - - (Nothing/null) - (Nichts/NULL) - Displayed in a string table for values of Nothing/null -CONSIDER: get this from CodeDom - - - (Unknown type) - (Unbekannter Typ) - This actually shouldn't be needed, but if we get an exception trying to get the type name of an entry in the resx file (not supposed to happen), then we'll display this as its type. - - - (Value cannot be displayed) - (Der Wert kann nicht angezeigt werden.) - Displayed in a string table for values which cannot be edited by the user - - - Name - Name - Columns for the "Details" view of the resource editor - - - Filename - Dateiname - Columns for the "Details" view of the resource editor - - - Type - Typ - Columns for the "Details" view of the resource editor - - - Size - Größe - Columns for the "Details" view of the resource editor - - - Comment - Kommentieren - Columns for the "Details" view of the resource editor - - - {0} x {1} - {0} x {1} - Format string for showing a graphic's size - -# {0} = width (as an integer) -# {1} = height (as an integer) -#Example, for a bitmap of width=123, height = 456, the English version of this string would be "123x456" - - - {0} KB - {0} KB - #Format string for showing a file's size -# {0} = length in kilobytes - - - {0} byte(s) - {0} Byte(s) - Format string for showing a file's size. -{0} = length in bytes - - - Strings - Zeichenfolgen - Resource category names (these show up in the category buttons in the ToolStrip at the top of the resource editor) - - - Images - Bilder - Resource category names (these show up in the category buttons in the ToolStrip at the top of the resource editor) - - - Icons - Symbole - Resource category names (these show up in the category buttons in the ToolStrip at the top of the resource editor) - - - Audio - Audio - Resource category names (these show up in the category buttons in the ToolStrip at the top of the resource editor) - - - Files - Dateien - Resource category names (these show up in the category buttons in the ToolStrip at the top of the resource editor) - - - Other - Sonstiges - Resource category names (these show up in the category buttons in the ToolStrip at the top of the resource editor) - - - Windows Bitmap - Windows-Bitmap - Friendly Image types - - - EXIF Image - EXIF-Bild - Friendly Image types - - - Graphics Interchange Format - Graphics Interchange Format - Friendly Image types - - - JPEG File Interchange Format - JPEG-Dateiaustauschformat - Friendly Image types - - - Windows Bitmap - Windows-Bitmap - Friendly Image types - - - Portable Network Graphics - Portable Network Graphics - Friendly Image types - - - Tag Image File Format - Bilddateiformat des Tags - Friendly Image types - - - Icon - Symbol - Friendly Image types - - - Text File - Textdatei - Friendly Image types - - - Binary File - Binärdatei - - - - Wave Sound - Wavesound - Friendly Image types - - - Linked at compile time - Zur Kompilierzeit verknüpft - File Persistence Mode - - - Embedded in .resx - In .resx eingebettet - File Persistence Mode - - - Bitmaps - Bitmaps - # File dialog filters -# -# E.g., for icons, the actual filter created would look like "Icons (*.ico)". These resources -# represent the first part of that filter -# - Icons - Symbole - # File dialog filters -# -# E.g., for icons, the actual filter created would look like "Icons (*.ico)". These resources -# represent the first part of that filter -# - - - Audio - Audio - # File dialog filters -# -# E.g., for icons, the actual filter created would look like "Icons (*.ico)". These resources -# represent the first part of that filter -# - - - Text Files - Textdateien - # File dialog filters -# -# E.g., for icons, the actual filter created would look like "Icons (*.ico)". These resources -# represent the first part of that filter -# - - - All Files - Alle Dateien - # File dialog filters -# -# E.g., for icons, the actual filter created would look like "Icons (*.ico)". These resources -# represent the first part of that filter -# - - - Windows Bitmap - Windows-Bitmap + Icons # File dialog filters # # E.g., for icons, the actual filter created would look like "Icons (*.ico)". These resources # represent the first part of that filter # - - Portable Network Graphics - Portable Network Graphics - # File dialog filters -# -# E.g., for icons, the actual filter created would look like "Icons (*.ico)". These resources -# represent the first part of that filter -# - - - Graphics Interchange Format - Graphics Interchange Format - # File dialog filters -# -# E.g., for icons, the actual filter created would look like "Icons (*.ico)". These resources -# represent the first part of that filter -# - - - JPEG File Interchange Format - JPEG-Dateiaustauschformat - # File dialog filters -# -# E.g., for icons, the actual filter created would look like "Icons (*.ico)". These resources -# represent the first part of that filter -# - - - Tag Image File Format - Bilddateiformat für Tags - # File dialog filters -# -# E.g., for icons, the actual filter created would look like "Icons (*.ico)". These resources -# represent the first part of that filter -# - - - Icon - Symbol + + License Files + License Files # File dialog filters # # E.g., for icons, the actual filter created would look like "Icons (*.ico)". These resources # represent the first part of that filter # - - Managed Resources Editor - Editor für verwaltete Ressourcen - - - - Add existing file to resources - Vorhandene Datei zu Ressourcen hinzufügen - - - - Import file into resource '{0}' - Datei in Ressource "{0}" importieren - {0} = Name of resource being imported into - - - Export resource '{0}' to file - Ressource "{0}" in Datei exportieren - {0} = Name of resource being exported from - - - Please specify where to save the new file - Speicherort der neuen Datei angeben - - - - The file '{0}' already exists. Do you want to replace it? - Die Datei "{0}" ist bereits vorhanden. Möchten Sie sie ersetzen? - {0} = full file path and name - - - The following files already exist. Do you want to replace them? - Die folgenden Dateien sind bereits vorhanden. Möchten Sie sie ersetzen? - - - - Select a folder in which to export the resources. - Wählen Sie einen Ordner zum Exportieren der Ressourcen aus. - - - - Do you want to continue anyway? - Möchten Sie den Vorgang dennoch fortsetzen? - - - - Resource '{0}' could not be loaded because the file to which it is linked could not be found: {1}. - Die Ressource "{0}" konnte nicht geladen werden, da die Datei, mit der sie verknüpft ist, nicht gefunden wurde: {1}. - {0} = resource name that had the error, {1} = file path/name that could not be found - - - Resource '{0}' could not be instantiated. {1} - Die Ressource "{0}" konnte nicht instanziiert werden. {1} - {0} = resource name that had the error, {1} = extended error information - - - Resource '{0}' has a name that is not recommended and that may cause compilation errors in your code. Please choose another name. - Der Name der Ressource "{0}" ist nicht empfehlenswert und kann Kompilierungsfehler im Code verursachen. Wählen Sie einen anderen Namen aus. - {0} = resource name that had the error - Unable to set the Custom Tool or Custom Tool Namespace properties of this file in order to change strongly-typed resource generation options. If the project file is checked in, try checking it out. - Die Eigenschaften für das benutzerdefinierte Tool oder für den Namespace des benutzerdefinierten Tools dieser Datei können nicht festgelegt werden, um Optionen für die stark typisierte Ressourcengenerierung zu ändern. Falls die Projektdatei eingecheckt ist, checken Sie sie aus. + Unable to set the Custom Tool or Custom Tool Namespace properties of this file in order to change strongly-typed resource generation options. If the project file is checked in, try checking it out. One possible source for this error is that source code control checkout failed or was canceled. - - The resource name '{0}' is not a valid identifier. - Der Ressourcenname "{0}" ist kein gültiger Bezeichner. - - - - {0} - Codepage {1} - {0} – Codepage {1} - {0} = encoding name (e.g., "Western European (Windows)"), {1} = code page # (e.g., 85001) - - - (Default) - (Standard) - - - - Change resource name - Ressourcenname ändern - - - - Add {0} new resource(s) - {0} neue Ressource(n) hinzufügen - {0} = number of resources added - - - Remove {0} resource(s) - {0} Ressource(n) entfernen - {0} = number of resources removed - - - Delete values in {0} cell(s) - Werte in {0} Zelle(n) löschen - {0} = number of cells cleared - - - Name used to identify the resource in code. - Name zur Identifizierung der Ressource im Code. - - - - Additional information about the resource. This property is only meaningful at design time. - Weitere Informationen zur Ressource. Diese Eigenschaft ist nur zur Entwurfszeit von Bedeutung. - - - - Character encoding of the file. - Zeichencodierung der Datei. - - - - The path to the linked resource. - Pfad zur verknüpften Ressource. - - - - Specifies whether the file resource is text or binary. - Gibt an, ob es sich bei der Dateiressource um eine Text- oder Binärdatei handelt. - - - - Specifies whether the resource is embedded or linked. Embedded resources are saved in the resource file. Linked resources reside in an external location on disk. - Gibt an, ob es sich um eine eingebettete oder um eine verknüpfte Ressource handelt. Eingebettete Ressourcen werden in der Ressourcendatei gespeichert. Verknüpfte Ressourcen befinden sich auf einem Datenträger an einem externen Ort. - - - - The resource will be generated as this type in the strongly-typed resource class. For example, the resource might be generated as a String or Bitmap object. - Die Ressource wird in der stark typisierten Ressourcenklasse als dieser Typ generiert. So kann die Ressource etwa als Zeichenfolgen- oder Bitmapobjekt generiert werden. - - - - The value of the resource. - Der Wert der Ressource. + + If this is not a Settings-Designer file then use 'Open With' to open it in a text editor. + Wenn es sich nicht um eine Einstellungs-Designerdatei handelt, verwenden Sie „Öffnen mit“, um sie in einem Text-Editor zu öffnen. @@ -1859,6 +1331,11 @@ Möchten Sie den Wert in der SETTINGS-Datei aktualisieren? Mindestens eine Datei wurde beim Auschecken neu geladen. Wiederholen Sie den Vorgang. + + Failed to generate file: {0} + Failed to generate file: {0} + + Invalid XML Format: {0} Ungültiges XML-Format: {0} @@ -1999,15 +1476,6 @@ Möchten Sie den Wert in der SETTINGS-Datei aktualisieren? Erweiterte Metadatei - - License Files - Lizenzdateien - # File dialog filters -# -# E.g., for icons, the actual filter created would look like "Icons (*.ico)". These resources -# represent the first part of that filter -# - Code Analysis Code Analysis diff --git a/src/Microsoft.VisualStudio.Editors/Resources/xlf/Microsoft.VisualStudio.Editors.Designer.es.xlf b/src/Microsoft.VisualStudio.Editors/Resources/xlf/Microsoft.VisualStudio.Editors.Designer.es.xlf index 638206473af..380d0364b1d 100644 --- a/src/Microsoft.VisualStudio.Editors/Resources/xlf/Microsoft.VisualStudio.Editors.Designer.es.xlf +++ b/src/Microsoft.VisualStudio.Editors/Resources/xlf/Microsoft.VisualStudio.Editors.Designer.es.xlf @@ -666,575 +666,47 @@ Si cambia este valor, se restablecerán los valores de todas las configuraciones Requiere: - - Name - Nombre - Column names for the string table - - - Type - Tipo - Column names for the string table - - - Value - Valor - Column names for the string table - - - Comment - Comentario - Column names for the string table - - - If this is not a Settings-Designer file then use 'Open With' to open it in a text editor. - Si no es un archivo Settings-Designer, use “Abrir con” para abrirlo en un editor de texto. - - - - Failed to generate file: {0} - No se pudo generar el archivo: {0} - - - - Editing embedded resources directly is not supported. Do you wish to convert this item to a linked resource in order to edit it? - No se admite la edición directa de recursos insertados ¿Quiere convertir este elemento en un recurso vinculado para poder editarlo? - - - - The current object is auto-generated and only supports renaming through the Managed Resources Editor. - El objeto actual se genera automáticamente y sólo admite el cambio de nombre a través del Editor de recursos administrados. - - - - Cannot find the file '{0}'. It may have been moved or deleted. - No se encuentra el archivo '{0}'. Puede que se haya movido o eliminado. - {0} = file name and path - - - Unable to load resource from file '{0}'. - No se puede cargar el recurso del archivo '{0}'. - {0} = file name and path - - - The resource name cannot be empty. - El nombre del recurso no puede estar vacío. - - - - There is already another resource with the name '{0}'. - Ya existe un recurso con el nombre '{0}'. - {0} = Resource name - - - The resource was not of the expected type. - El recurso no era del tipo esperado. - This error can happen if, for example, you try to add foo.bmp to the resource editor, but foo.bmp is really a metafile. - - - Unable to create new resource file '{0}'. {1} - No se puede crear el nuevo archivo de recursos '{0}'. {1} - {0} = file name and path, {1} = additional error information - - - Unable to play the audio resource. {0} - No se puede reproducir el recurso de sonido. {0} - {0} = Additional error information. - - - Resource '{0}' cannot be saved to a file. - No se puede guardar en un archivo el recurso '{0}'. - {0} = Resource name - - - The operation has been canceled by the user. - El usuario canceló la operación. - - - - The resource value contains invalid data or has an incorrect format. - El valor del recurso contiene datos no válidos o no tiene el formato correcto. - - - - The name of the resource '{0}' cannot be used as a valid identifier, because it contains one or more invalid characters: '{1}'. Please remove or replace those characters and try again. - El nombre del recurso '{0}' no se puede usar como un identificador válido, porque contiene uno o varios caracteres no válidos: '{1}'. Quite o reemplace esos caracteres y vuelva a intentarlo. - {0} = Resource name - - - Too many files specified. Please select fewer files and try again. - Se han especificado demasiados archivos. Seleccione menos archivos y vuelva a intentarlo. - - Unexpected error. - Error inesperado. + Unexpected error. Theoretically possible but we really don't expect to happen. Unexpected, internal error. Unable to load internal localized resource '{0}'. - No se pudo cargar el recurso adaptado interno '{0}'. + Unable to load internal localized resource '{0}'. Theoretically possible but we really don't expect to happen. Unexpected, internal error. - - The value could not be converted into a resource of type {0}. - -{1} - El valor no se puede convertir en un recurso de tipo {0}. - -{1} - {0} = the type that was expected by the resource editor (e.g. System.Drawing.Point) -{1} = more specific additional error message from the system - - - The value cannot be empty in a resource of type {0}. - El valor no puede estar vacío en un recurso de tipo {0}. - {0} = the type that was expected by the resource editor (e.g. System.Drawing.Point) - - - One or more of the selected resource values could not be cleared. - Uno o más de los valores seleccionados de los recursos no se pudieron borrar. - - - - The resource file cannot be modified at this time. - No se puede modificar en este momento el archivo de recursos. + + The operation has been canceled by the user. + The operation has been canceled by the user. - - You are trying to edit a resource file that is a part of another project item (such as a form or a control). Editing this item could corrupt the project item, and you will have to recover it by hand. In addition, changes made to this resource file may be lost if further changes are made to the project item. - -Do you really want to edit this file? - Está intentando editar un archivo de recursos que forma parte de otro elemento de proyecto (como un formulario o un control). Si edita este elemento, puede dañar el elemento de proyecto y tendrá que recuperarlo manualmente. Además, los cambios realizados en este archivo de recursos pueden perderse si se hacen más cambios en el elemento de proyecto. - -¿Realmente quiere editar este archivo? - - - - The resource '{0}' cannot be added. - No se puede agregar el recurso '{0}'. - {0} - name of the resource - - - The device does not support '{0}' files. - El dispositivo no admite archivos '{0}'. - {0} - the extension of the file name like 'tiff' - - - The resource item uses the type '{0}', which is not supported in this project. - El elemento de recurso utiliza el tipo '{0}'; que no se admite en este proyecto. - {0} - name of the type - - - The resource item(s) {0} cannot be saved correctly. The item(s) will be discarded. - Los elementos de recurso {0} no se pueden guardar correctamente. Estos elementos se descartarán. - {0} - name list of the resource - - - '{0}' - '{0}' - {0} - name - - - {0}, '{1}' - {0}, '{1}' - # {0} - name list -# {1} - another name - - - (Nothing/null) - (Nada/nulo) - Displayed in a string table for values of Nothing/null -CONSIDER: get this from CodeDom - - - (Unknown type) - (Tipo desconocido) - This actually shouldn't be needed, but if we get an exception trying to get the type name of an entry in the resx file (not supposed to happen), then we'll display this as its type. - - - (Value cannot be displayed) - (El valor no se puede mostrar) - Displayed in a string table for values which cannot be edited by the user - - - Name - Nombre - Columns for the "Details" view of the resource editor - - - Filename - Nombre de archivo - Columns for the "Details" view of the resource editor - - - Type - Tipo - Columns for the "Details" view of the resource editor - - - Size - Tamaño - Columns for the "Details" view of the resource editor - - - Comment - Comentario - Columns for the "Details" view of the resource editor - - - {0} x {1} - {0} x {1} - Format string for showing a graphic's size - -# {0} = width (as an integer) -# {1} = height (as an integer) -#Example, for a bitmap of width=123, height = 456, the English version of this string would be "123x456" - - - {0} KB - {0} KB - #Format string for showing a file's size -# {0} = length in kilobytes - - - {0} byte(s) - {0} bytes - Format string for showing a file's size. -{0} = length in bytes - - - Strings - Cadenas - Resource category names (these show up in the category buttons in the ToolStrip at the top of the resource editor) - - - Images - Imágenes - Resource category names (these show up in the category buttons in the ToolStrip at the top of the resource editor) - - - Icons - Iconos - Resource category names (these show up in the category buttons in the ToolStrip at the top of the resource editor) - - - Audio - Audio - Resource category names (these show up in the category buttons in the ToolStrip at the top of the resource editor) - - - Files - Archivos - Resource category names (these show up in the category buttons in the ToolStrip at the top of the resource editor) - - - Other - Otro - Resource category names (these show up in the category buttons in the ToolStrip at the top of the resource editor) - - - Windows Bitmap - Mapa de bits de Windows - Friendly Image types - - - EXIF Image - Imagen EXIF - Friendly Image types - - - Graphics Interchange Format - Formato de intercambio de gráficos - Friendly Image types - - - JPEG File Interchange Format - Formato de intercambio de archivos JPEG - Friendly Image types - - - Windows Bitmap - Mapa de bits de Windows - Friendly Image types - - - Portable Network Graphics - Formato PNG (Portable Network Graphics) - Friendly Image types - - - Tag Image File Format - Formato TIFF (Tag Image File Format) - Friendly Image types - - - Icon - Icono - Friendly Image types - - - Text File - Archivo de texto - Friendly Image types - - - Binary File - Archivo binario - - - - Wave Sound - Archivo de sonido - Friendly Image types - - - Linked at compile time - Vinculado en tiempo de compilación - File Persistence Mode - - - Embedded in .resx - Insertado en .resx - File Persistence Mode - - - Bitmaps - Mapas de bits - # File dialog filters -# -# E.g., for icons, the actual filter created would look like "Icons (*.ico)". These resources -# represent the first part of that filter -# - Icons - Iconos - # File dialog filters -# -# E.g., for icons, the actual filter created would look like "Icons (*.ico)". These resources -# represent the first part of that filter -# - - - Audio - Audio - # File dialog filters -# -# E.g., for icons, the actual filter created would look like "Icons (*.ico)". These resources -# represent the first part of that filter -# - - - Text Files - Archivos de texto - # File dialog filters -# -# E.g., for icons, the actual filter created would look like "Icons (*.ico)". These resources -# represent the first part of that filter -# - - - All Files - Todos los archivos - # File dialog filters -# -# E.g., for icons, the actual filter created would look like "Icons (*.ico)". These resources -# represent the first part of that filter -# - - - Windows Bitmap - Mapa de bits de Windows + Icons # File dialog filters # # E.g., for icons, the actual filter created would look like "Icons (*.ico)". These resources # represent the first part of that filter # - - Portable Network Graphics - Formato PNG (Portable Network Graphics) - # File dialog filters -# -# E.g., for icons, the actual filter created would look like "Icons (*.ico)". These resources -# represent the first part of that filter -# - - - Graphics Interchange Format - Formato de intercambio de gráficos - # File dialog filters -# -# E.g., for icons, the actual filter created would look like "Icons (*.ico)". These resources -# represent the first part of that filter -# - - - JPEG File Interchange Format - Formato de intercambio de archivos JPEG - # File dialog filters -# -# E.g., for icons, the actual filter created would look like "Icons (*.ico)". These resources -# represent the first part of that filter -# - - - Tag Image File Format - Formato TIFF (Tag Image File Format) - # File dialog filters -# -# E.g., for icons, the actual filter created would look like "Icons (*.ico)". These resources -# represent the first part of that filter -# - - - Icon - Icono + + License Files + License Files # File dialog filters # # E.g., for icons, the actual filter created would look like "Icons (*.ico)". These resources # represent the first part of that filter # - - Managed Resources Editor - Editor de recursos administrados - - - - Add existing file to resources - Agregar archivo existente a los recursos - - - - Import file into resource '{0}' - Importar archivo en el recurso '{0}' - {0} = Name of resource being imported into - - - Export resource '{0}' to file - Exportar el recurso '{0}' a un archivo - {0} = Name of resource being exported from - - - Please specify where to save the new file - Especifique dónde desea guardar el nuevo archivo - - - - The file '{0}' already exists. Do you want to replace it? - El archivo '{0}' ya existe. ¿Quiere reemplazarlo? - {0} = full file path and name - - - The following files already exist. Do you want to replace them? - Los siguientes archivos ya existen. ¿Quiere reemplazarlos? - - - - Select a folder in which to export the resources. - Seleccione una carpeta para exportar los recursos. - - - - Do you want to continue anyway? - ¿Desea continuar de todas formas? - - - - Resource '{0}' could not be loaded because the file to which it is linked could not be found: {1}. - No se puede cargar el recurso '{0}' porque no se encuentra el archivo al que está vinculado: {1}. - {0} = resource name that had the error, {1} = file path/name that could not be found - - - Resource '{0}' could not be instantiated. {1} - No se puede crear una instancia del recurso '{0}'. {1} - {0} = resource name that had the error, {1} = extended error information - - - Resource '{0}' has a name that is not recommended and that may cause compilation errors in your code. Please choose another name. - El recurso '{0}' tiene un nombre no recomendado que puede producir errores de compilación en el código. Elija otro nombre. - {0} = resource name that had the error - Unable to set the Custom Tool or Custom Tool Namespace properties of this file in order to change strongly-typed resource generation options. If the project file is checked in, try checking it out. - No se pueden establecer las propiedades “Herramienta personalizada” o “Espacio de nombres de la herramienta personalizada” de este archivo para cambiar opciones de generación de recursos fuertemente tipados. Si el archivo del proyecto está insertado en el repositorio, pruebe extrayéndolo del repositorio. + Unable to set the Custom Tool or Custom Tool Namespace properties of this file in order to change strongly-typed resource generation options. If the project file is checked in, try checking it out. One possible source for this error is that source code control checkout failed or was canceled. - - The resource name '{0}' is not a valid identifier. - El nombre del recurso '{0}' no es un identificador válido. - - - - {0} - Codepage {1} - {0}: Página de códigos {1} - {0} = encoding name (e.g., "Western European (Windows)"), {1} = code page # (e.g., 85001) - - - (Default) - (Predeterminada) - - - - Change resource name - Cambiar nombre de recurso - - - - Add {0} new resource(s) - Agregar {0} recursos nuevos - {0} = number of resources added - - - Remove {0} resource(s) - Quitar {0} recursos - {0} = number of resources removed - - - Delete values in {0} cell(s) - Eliminar valores en {0} celdas - {0} = number of cells cleared - - - Name used to identify the resource in code. - Nombre utilizado para identificar el recurso en el código. - - - - Additional information about the resource. This property is only meaningful at design time. - Información adicional sobre el recurso. Esta propiedad solo es significativa en tiempo de diseño. - - - - Character encoding of the file. - Codificación de caracteres del archivo. - - - - The path to the linked resource. - Ruta de acceso del recurso vinculado. - - - - Specifies whether the file resource is text or binary. - Especifica si el recurso de archivo es de texto o binario. - - - - Specifies whether the resource is embedded or linked. Embedded resources are saved in the resource file. Linked resources reside in an external location on disk. - Especifica si el recurso se inserta o se vincula. Los recursos insertados se guardan en el archivo de recursos. Los recursos vinculados residen en una ubicación externa del disco. - - - - The resource will be generated as this type in the strongly-typed resource class. For example, the resource might be generated as a String or Bitmap object. - El recurso se generará con este tipo en la clase de recurso fuertemente tipada. Por ejemplo, puede que el recurso se genere como un objeto String o Bitmap. - - - - The value of the resource. - Valor del recurso. + + If this is not a Settings-Designer file then use 'Open With' to open it in a text editor. + Si no es un archivo Settings-Designer, use “Abrir con” para abrirlo en un editor de texto. @@ -1859,6 +1331,11 @@ El nuevo valor del archivo app.config es '{1}' Se recargaron uno o varios archivos durante la extracción del repositorio. Vuelva a intentar la operación. + + Failed to generate file: {0} + Failed to generate file: {0} + + Invalid XML Format: {0} Formato XML no válido: {0} @@ -1999,15 +1476,6 @@ El nuevo valor del archivo app.config es '{1}' Metarchivo ampliado - - License Files - Archivos de licencia - # File dialog filters -# -# E.g., for icons, the actual filter created would look like "Icons (*.ico)". These resources -# represent the first part of that filter -# - Code Analysis Análisis de código diff --git a/src/Microsoft.VisualStudio.Editors/Resources/xlf/Microsoft.VisualStudio.Editors.Designer.fr.xlf b/src/Microsoft.VisualStudio.Editors/Resources/xlf/Microsoft.VisualStudio.Editors.Designer.fr.xlf index c37ce09206a..a082de9dfda 100644 --- a/src/Microsoft.VisualStudio.Editors/Resources/xlf/Microsoft.VisualStudio.Editors.Designer.fr.xlf +++ b/src/Microsoft.VisualStudio.Editors/Resources/xlf/Microsoft.VisualStudio.Editors.Designer.fr.xlf @@ -666,575 +666,47 @@ La modification de ce paramètre réinitialise les paramètres dans toutes les c Nécessite : - - Name - Nom - Column names for the string table - - - Type - Type - Column names for the string table - - - Value - Valeur - Column names for the string table - - - Comment - Commentaire - Column names for the string table - - - If this is not a Settings-Designer file then use 'Open With' to open it in a text editor. - S’il ne s’agit pas d’un fichier Settings-Designer, utilisez « Ouvrir avec » pour l’ouvrir dans un éditeur de texte. - - - - Failed to generate file: {0} - Échec de génération du fichier : {0} - - - - Editing embedded resources directly is not supported. Do you wish to convert this item to a linked resource in order to edit it? - Impossible de modifier directement les ressources incorporées. Voulez-vous convertir cet élément en ressource liée afin de la modifier ? - - - - The current object is auto-generated and only supports renaming through the Managed Resources Editor. - L'objet actif est généré automatiquement et prend en charge l'attribution d'un nouveau nom par le biais de l'Éditeur de ressources managées uniquement. - - - - Cannot find the file '{0}'. It may have been moved or deleted. - Le fichier '{0}' est introuvable. Il a peut-être été déplacé ou supprimé. - {0} = file name and path - - - Unable to load resource from file '{0}'. - Impossible de charger la ressource à partir du fichier '{0}'. - {0} = file name and path - - - The resource name cannot be empty. - Le nom de la ressource ne peut pas être vide. - - - - There is already another resource with the name '{0}'. - Il existe déjà une autre ressource nommée '{0}'. - {0} = Resource name - - - The resource was not of the expected type. - La ressource n'était pas du type attendu. - This error can happen if, for example, you try to add foo.bmp to the resource editor, but foo.bmp is really a metafile. - - - Unable to create new resource file '{0}'. {1} - Impossible de créer le fichier de ressources '{0}'. {1} - {0} = file name and path, {1} = additional error information - - - Unable to play the audio resource. {0} - Impossible de lire la ressource audio. {0} - {0} = Additional error information. - - - Resource '{0}' cannot be saved to a file. - Impossible d'enregistrer la ressource '{0}' dans un fichier. - {0} = Resource name - - - The operation has been canceled by the user. - L'opération a été annulée par l'utilisateur. - - - - The resource value contains invalid data or has an incorrect format. - La valeur de la ressource contient des données non valides ou est dotée d'un format incorrect. - - - - The name of the resource '{0}' cannot be used as a valid identifier, because it contains one or more invalid characters: '{1}'. Please remove or replace those characters and try again. - Impossible d'utiliser le nom de la ressource '{0}' comme identificateur valide, car il contient un ou plusieurs caractères non valides : '{1}'. Supprimez ou remplacez ces caractères et réessayez. - {0} = Resource name - - - Too many files specified. Please select fewer files and try again. - Trop de fichiers spécifiés. Sélectionnez moins de fichiers et recommencez. - - Unexpected error. - Erreur inattendue. + Unexpected error. Theoretically possible but we really don't expect to happen. Unexpected, internal error. Unable to load internal localized resource '{0}'. - Impossible de charger la ressource localisée interne '{0}'. + Unable to load internal localized resource '{0}'. Theoretically possible but we really don't expect to happen. Unexpected, internal error. - - The value could not be converted into a resource of type {0}. - -{1} - Impossible de convertir la valeur en ressource de type {0}. - -{1} - {0} = the type that was expected by the resource editor (e.g. System.Drawing.Point) -{1} = more specific additional error message from the system - - - The value cannot be empty in a resource of type {0}. - La valeur ne peut pas être vide dans une ressource de type {0}. - {0} = the type that was expected by the resource editor (e.g. System.Drawing.Point) - - - One or more of the selected resource values could not be cleared. - Impossible d'effacer une ou plusieurs des valeurs de ressources sélectionnées. - - - - The resource file cannot be modified at this time. - Impossible de modifier le fichier de ressources pour l'instant. + + The operation has been canceled by the user. + The operation has been canceled by the user. - - You are trying to edit a resource file that is a part of another project item (such as a form or a control). Editing this item could corrupt the project item, and you will have to recover it by hand. In addition, changes made to this resource file may be lost if further changes are made to the project item. - -Do you really want to edit this file? - Vous essayez de modifier un fichier de ressources qui fait partie d'un autre élément de projet (par exemple un formulaire ou un contrôle). La modification de cet élément peut endommager l'élément de projet et vous devrez le récupérer manuellement. De plus, les modifications apportées à ce fichier de ressources peuvent être perdues si d'autres modifications ont été apportées à l'élément de projet. - -Voulez-vous vraiment modifier ce fichier ? - - - - The resource '{0}' cannot be added. - Impossible d'ajouter la ressource '{0}'. - {0} - name of the resource - - - The device does not support '{0}' files. - Le périphérique ne prend pas en charge les fichiers '{0}'. - {0} - the extension of the file name like 'tiff' - - - The resource item uses the type '{0}', which is not supported in this project. - L'élément de la ressource utilise le type '{0}' alors que ce type n'est pas pris en charge dans ce projet. - {0} - name of the type - - - The resource item(s) {0} cannot be saved correctly. The item(s) will be discarded. - Impossible d'enregistrer correctement les éléments de la ressource {0}. Ils vont être ignorés. - {0} - name list of the resource - - - '{0}' - '{0}' - {0} - name - - - {0}, '{1}' - {0}, '{1}' - # {0} - name list -# {1} - another name - - - (Nothing/null) - (Rien/null) - Displayed in a string table for values of Nothing/null -CONSIDER: get this from CodeDom - - - (Unknown type) - (Type inconnu) - This actually shouldn't be needed, but if we get an exception trying to get the type name of an entry in the resx file (not supposed to happen), then we'll display this as its type. - - - (Value cannot be displayed) - (Impossible d'afficher la valeur) - Displayed in a string table for values which cannot be edited by the user - - - Name - Nom - Columns for the "Details" view of the resource editor - - - Filename - Nom de fichier - Columns for the "Details" view of the resource editor - - - Type - Type - Columns for the "Details" view of the resource editor - - - Size - Taille - Columns for the "Details" view of the resource editor - - - Comment - Commentaire - Columns for the "Details" view of the resource editor - - - {0} x {1} - {0} x {1} - Format string for showing a graphic's size - -# {0} = width (as an integer) -# {1} = height (as an integer) -#Example, for a bitmap of width=123, height = 456, the English version of this string would be "123x456" - - - {0} KB - {0} Ko - #Format string for showing a file's size -# {0} = length in kilobytes - - - {0} byte(s) - {0} octet(s) - Format string for showing a file's size. -{0} = length in bytes - - - Strings - Chaînes - Resource category names (these show up in the category buttons in the ToolStrip at the top of the resource editor) - - - Images - Images - Resource category names (these show up in the category buttons in the ToolStrip at the top of the resource editor) - - - Icons - Icônes - Resource category names (these show up in the category buttons in the ToolStrip at the top of the resource editor) - - - Audio - Audio - Resource category names (these show up in the category buttons in the ToolStrip at the top of the resource editor) - - - Files - Fichiers - Resource category names (these show up in the category buttons in the ToolStrip at the top of the resource editor) - - - Other - Autre - Resource category names (these show up in the category buttons in the ToolStrip at the top of the resource editor) - - - Windows Bitmap - Bitmap Windows - Friendly Image types - - - EXIF Image - Image EXIF - Friendly Image types - - - Graphics Interchange Format - Format GIF - Friendly Image types - - - JPEG File Interchange Format - Format d'échange de fichiers JPEG - Friendly Image types - - - Windows Bitmap - Bitmap Windows - Friendly Image types - - - Portable Network Graphics - Format PNG - Friendly Image types - - - Tag Image File Format - Format TIF - Friendly Image types - - - Icon - Icône - Friendly Image types - - - Text File - Fichier texte - Friendly Image types - - - Binary File - Fichier binaire - - - - Wave Sound - Son Wave - Friendly Image types - - - Linked at compile time - Lié au moment de la compilation - File Persistence Mode - - - Embedded in .resx - Incorporé dans .resx - File Persistence Mode - - - Bitmaps - Bitmaps - # File dialog filters -# -# E.g., for icons, the actual filter created would look like "Icons (*.ico)". These resources -# represent the first part of that filter -# - Icons - Icônes - # File dialog filters -# -# E.g., for icons, the actual filter created would look like "Icons (*.ico)". These resources -# represent the first part of that filter -# - - - Audio - Audio - # File dialog filters -# -# E.g., for icons, the actual filter created would look like "Icons (*.ico)". These resources -# represent the first part of that filter -# - - - Text Files - Fichiers textes - # File dialog filters -# -# E.g., for icons, the actual filter created would look like "Icons (*.ico)". These resources -# represent the first part of that filter -# - - - All Files - Tous les fichiers - # File dialog filters -# -# E.g., for icons, the actual filter created would look like "Icons (*.ico)". These resources -# represent the first part of that filter -# - - - Windows Bitmap - Bitmap Windows + Icons # File dialog filters # # E.g., for icons, the actual filter created would look like "Icons (*.ico)". These resources # represent the first part of that filter # - - Portable Network Graphics - Format PNG - # File dialog filters -# -# E.g., for icons, the actual filter created would look like "Icons (*.ico)". These resources -# represent the first part of that filter -# - - - Graphics Interchange Format - Format GIF - # File dialog filters -# -# E.g., for icons, the actual filter created would look like "Icons (*.ico)". These resources -# represent the first part of that filter -# - - - JPEG File Interchange Format - Format d'échange de fichiers JPEG - # File dialog filters -# -# E.g., for icons, the actual filter created would look like "Icons (*.ico)". These resources -# represent the first part of that filter -# - - - Tag Image File Format - Format TIF - # File dialog filters -# -# E.g., for icons, the actual filter created would look like "Icons (*.ico)". These resources -# represent the first part of that filter -# - - - Icon - Icône + + License Files + License Files # File dialog filters # # E.g., for icons, the actual filter created would look like "Icons (*.ico)". These resources # represent the first part of that filter # - - Managed Resources Editor - Éditeur de ressources managées - - - - Add existing file to resources - Ajouter le fichier existant aux ressources - - - - Import file into resource '{0}' - Importer le fichier dans la ressource '{0}' - {0} = Name of resource being imported into - - - Export resource '{0}' to file - Exporter la ressource '{0}' dans le fichier - {0} = Name of resource being exported from - - - Please specify where to save the new file - Sélectionner l'emplacement où enregistrer le nouveau fichier - - - - The file '{0}' already exists. Do you want to replace it? - Le fichier '{0}' existe déjà. Voulez-vous le remplacer ? - {0} = full file path and name - - - The following files already exist. Do you want to replace them? - Les fichiers suivants existent déjà. Voulez-vous les remplacer ? - - - - Select a folder in which to export the resources. - Sélectionnez un dossier dans lequel vous exporterez les ressources. - - - - Do you want to continue anyway? - Voulez-vous quand même continuer ? - - - - Resource '{0}' could not be loaded because the file to which it is linked could not be found: {1}. - Impossible de charger la ressource '{0}', car le fichier auquel elle est liée est introuvable : {1}. - {0} = resource name that had the error, {1} = file path/name that could not be found - - - Resource '{0}' could not be instantiated. {1} - Impossible d'instancier la ressource '{0}'. {1} - {0} = resource name that had the error, {1} = extended error information - - - Resource '{0}' has a name that is not recommended and that may cause compilation errors in your code. Please choose another name. - La ressource '{0}' porte un nom qui n'est pas recommandé, ce qui peut provoquer des erreurs de compilation dans votre code. Choisissez un autre nom. - {0} = resource name that had the error - Unable to set the Custom Tool or Custom Tool Namespace properties of this file in order to change strongly-typed resource generation options. If the project file is checked in, try checking it out. - Impossible de définir les propriétés ou l'espace de noms de l'outil personnalisé de ce fichier pour modifier les options de la génération de ressources fortement typées. Si le fichier du projet est archivé, essayez de l'extraire. + Unable to set the Custom Tool or Custom Tool Namespace properties of this file in order to change strongly-typed resource generation options. If the project file is checked in, try checking it out. One possible source for this error is that source code control checkout failed or was canceled. - - The resource name '{0}' is not a valid identifier. - Le nom de ressource '{0}' n'est pas un identificateur valide. - - - - {0} - Codepage {1} - {0} - Page de codes {1} - {0} = encoding name (e.g., "Western European (Windows)"), {1} = code page # (e.g., 85001) - - - (Default) - (Par défaut) - - - - Change resource name - Changer le nom de la ressource - - - - Add {0} new resource(s) - Ajouter {0} nouvelle(s) ressource(s) - {0} = number of resources added - - - Remove {0} resource(s) - Supprimer {0} ressource(s) - {0} = number of resources removed - - - Delete values in {0} cell(s) - Supprimer les valeurs dans {0} cellule(s) - {0} = number of cells cleared - - - Name used to identify the resource in code. - Nom permettant d'identifier la ressource dans le code. - - - - Additional information about the resource. This property is only meaningful at design time. - Informations supplémentaires sur la ressource. Cette propriété n'est significative qu'au moment du design. - - - - Character encoding of the file. - Encodage de caractères du fichier. - - - - The path to the linked resource. - Chemin de la ressource liée. - - - - Specifies whether the file resource is text or binary. - Spécifie si la ressource de fichier est de format texte ou binaire. - - - - Specifies whether the resource is embedded or linked. Embedded resources are saved in the resource file. Linked resources reside in an external location on disk. - Spécifie si la ressource est incorporée ou liée. Les ressources incorporées sont enregistrées dans le fichier de ressources, tandis que les ressources liées résident à un emplacement externe sur le disque. - - - - The resource will be generated as this type in the strongly-typed resource class. For example, the resource might be generated as a String or Bitmap object. - La ressource sera générée sous la forme de ce type dans la classe de ressources fortement typées. Par exemple, la ressource sera générée en tant qu'objet String ou Bitmap. - - - - The value of the resource. - Valeur de la ressource. + + If this is not a Settings-Designer file then use 'Open With' to open it in a text editor. + S’il ne s’agit pas d’un fichier Settings-Designer, utilisez « Ouvrir avec » pour l’ouvrir dans un éditeur de texte. @@ -1859,6 +1331,11 @@ Voulez-vous mettre à jour la valeur dans le fichier .settings ? Un ou plusieurs fichiers ont été rechargés pendant l'extraction. Réessayez votre opération. + + Failed to generate file: {0} + Failed to generate file: {0} + + Invalid XML Format: {0} Format XML non valide : {0} @@ -1999,15 +1476,6 @@ Voulez-vous mettre à jour la valeur dans le fichier .settings ? Métafichier étendu - - License Files - Fichiers de licence - # File dialog filters -# -# E.g., for icons, the actual filter created would look like "Icons (*.ico)". These resources -# represent the first part of that filter -# - Code Analysis Analyse du code diff --git a/src/Microsoft.VisualStudio.Editors/Resources/xlf/Microsoft.VisualStudio.Editors.Designer.it.xlf b/src/Microsoft.VisualStudio.Editors/Resources/xlf/Microsoft.VisualStudio.Editors.Designer.it.xlf index d7ed180266c..f079e00d877 100644 --- a/src/Microsoft.VisualStudio.Editors/Resources/xlf/Microsoft.VisualStudio.Editors.Designer.it.xlf +++ b/src/Microsoft.VisualStudio.Editors/Resources/xlf/Microsoft.VisualStudio.Editors.Designer.it.xlf @@ -666,575 +666,47 @@ Se si modifica questa impostazione, verranno ripristinate le impostazioni in tut Richiede: - - Name - Nome - Column names for the string table - - - Type - Tipo - Column names for the string table - - - Value - Valore - Column names for the string table - - - Comment - Commento - Column names for the string table - - - If this is not a Settings-Designer file then use 'Open With' to open it in a text editor. - Se non è un file Settings-Designer, usare 'Apri con' per aprirlo in un editor di testo. - - - - Failed to generate file: {0} - Non è stato possibile generare il file: {0} - - - - Editing embedded resources directly is not supported. Do you wish to convert this item to a linked resource in order to edit it? - La modifica diretta delle risorse incorporate non è supportata. Convertire questo elemento in una risorsa collegata per modificarlo? - - - - The current object is auto-generated and only supports renaming through the Managed Resources Editor. - L'oggetto corrente è stato generato automaticamente e supporta la ridenominazione solo tramite Editor risorse gestite. - - - - Cannot find the file '{0}'. It may have been moved or deleted. - Il file '{0}' non è stato trovato. È possibile che sia stato spostato o eliminato. - {0} = file name and path - - - Unable to load resource from file '{0}'. - Non è possibile caricare la risorsa dal file '{0}'. - {0} = file name and path - - - The resource name cannot be empty. - Il nome della risorsa non può essere vuoto. - - - - There is already another resource with the name '{0}'. - Esiste già un'altra risorsa denominata '{0}'. - {0} = Resource name - - - The resource was not of the expected type. - La risorsa non è del tipo previsto. - This error can happen if, for example, you try to add foo.bmp to the resource editor, but foo.bmp is really a metafile. - - - Unable to create new resource file '{0}'. {1} - Non è possibile creare il nuovo file di risorse '{0}'. {1} - {0} = file name and path, {1} = additional error information - - - Unable to play the audio resource. {0} - Non è possibile riprodurre la risorsa audio. {0} - {0} = Additional error information. - - - Resource '{0}' cannot be saved to a file. - Non è possibile salvare la risorsa '{0}' in un file. - {0} = Resource name - - - The operation has been canceled by the user. - L'operazione è stata annullata dall'utente. - - - - The resource value contains invalid data or has an incorrect format. - Il valore della risorsa contiene dati non validi o è in un formato non corretto. - - - - The name of the resource '{0}' cannot be used as a valid identifier, because it contains one or more invalid characters: '{1}'. Please remove or replace those characters and try again. - Il nome della risorsa '{0}' non può essere usato come identificatore valido perché contiene uno o più caratteri non validi: '{1}'. Rimuovere o sostituire tali caratteri e riprovare. - {0} = Resource name - - - Too many files specified. Please select fewer files and try again. - Sono stati specificati troppi file. Selezionare un numero minore di file e riprovare. - - Unexpected error. - Errore imprevisto. + Unexpected error. Theoretically possible but we really don't expect to happen. Unexpected, internal error. Unable to load internal localized resource '{0}'. - Non è possibile caricare la risorsa localizzata interna '{0}'. + Unable to load internal localized resource '{0}'. Theoretically possible but we really don't expect to happen. Unexpected, internal error. - - The value could not be converted into a resource of type {0}. - -{1} - Non è stato possibile convertire il valore in una risorsa di tipo {0}. - -{1} - {0} = the type that was expected by the resource editor (e.g. System.Drawing.Point) -{1} = more specific additional error message from the system - - - The value cannot be empty in a resource of type {0}. - Il valore non può essere vuoto in una risorsa di tipo {0}. - {0} = the type that was expected by the resource editor (e.g. System.Drawing.Point) - - - One or more of the selected resource values could not be cleared. - Non è stato possibile deselezionare uno o più valori della risorsa selezionata. - - - - The resource file cannot be modified at this time. - Non è possibile modificare il file di risorse in questo momento. + + The operation has been canceled by the user. + The operation has been canceled by the user. - - You are trying to edit a resource file that is a part of another project item (such as a form or a control). Editing this item could corrupt the project item, and you will have to recover it by hand. In addition, changes made to this resource file may be lost if further changes are made to the project item. - -Do you really want to edit this file? - Si sta provando a modificare un file di risorse che fa parte di un altro elemento del progetto, ad esempio un form o un controllo. La modifica del file potrebbe comportare il danneggiamento dell'elemento del progetto e di conseguenza sarà necessario eseguire un ripristino manuale. Inoltre, le modifiche apportate a questo file di risorse potrebbero andare perdute se si effettuano altre modifiche all'elemento del progetto. - -Modificare il file? - - - - The resource '{0}' cannot be added. - Non è possibile aggiungere la risorsa '{0}'. - {0} - name of the resource - - - The device does not support '{0}' files. - Il dispositivo non supporta i file '{0}'. - {0} - the extension of the file name like 'tiff' - - - The resource item uses the type '{0}', which is not supported in this project. - L'elemento risorsa usa il tipo '{0}', che non è supportato in questo progetto. - {0} - name of the type - - - The resource item(s) {0} cannot be saved correctly. The item(s) will be discarded. - Non è possibile salvare correttamente gli elementi risorsa {0}. Gli elementi verranno ignorati. - {0} - name list of the resource - - - '{0}' - '{0}' - {0} - name - - - {0}, '{1}' - {0}, '{1}' - # {0} - name list -# {1} - another name - - - (Nothing/null) - (Nothing/Null) - Displayed in a string table for values of Nothing/null -CONSIDER: get this from CodeDom - - - (Unknown type) - (Tipo sconosciuto) - This actually shouldn't be needed, but if we get an exception trying to get the type name of an entry in the resx file (not supposed to happen), then we'll display this as its type. - - - (Value cannot be displayed) - (Valore non visualizzabile) - Displayed in a string table for values which cannot be edited by the user - - - Name - Nome - Columns for the "Details" view of the resource editor - - - Filename - Nome file - Columns for the "Details" view of the resource editor - - - Type - Tipo - Columns for the "Details" view of the resource editor - - - Size - Dimensioni - Columns for the "Details" view of the resource editor - - - Comment - Commento - Columns for the "Details" view of the resource editor - - - {0} x {1} - {0} x {1} - Format string for showing a graphic's size - -# {0} = width (as an integer) -# {1} = height (as an integer) -#Example, for a bitmap of width=123, height = 456, the English version of this string would be "123x456" - - - {0} KB - {0} KB - #Format string for showing a file's size -# {0} = length in kilobytes - - - {0} byte(s) - {0} byte - Format string for showing a file's size. -{0} = length in bytes - - - Strings - Stringhe - Resource category names (these show up in the category buttons in the ToolStrip at the top of the resource editor) - - - Images - Immagini - Resource category names (these show up in the category buttons in the ToolStrip at the top of the resource editor) - - - Icons - Icone - Resource category names (these show up in the category buttons in the ToolStrip at the top of the resource editor) - - - Audio - Audio - Resource category names (these show up in the category buttons in the ToolStrip at the top of the resource editor) - - - Files - File - Resource category names (these show up in the category buttons in the ToolStrip at the top of the resource editor) - - - Other - Altro - Resource category names (these show up in the category buttons in the ToolStrip at the top of the resource editor) - - - Windows Bitmap - Bitmap di Windows - Friendly Image types - - - EXIF Image - Immagine EXIF - Friendly Image types - - - Graphics Interchange Format - Graphics Interchange Format - Friendly Image types - - - JPEG File Interchange Format - File di interscambio JPEG - Friendly Image types - - - Windows Bitmap - Bitmap di Windows - Friendly Image types - - - Portable Network Graphics - Portable Network Graphics - Friendly Image types - - - Tag Image File Format - Tag Image File Format - Friendly Image types - - - Icon - Icona - Friendly Image types - - - Text File - File di testo - Friendly Image types - - - Binary File - File binario - - - - Wave Sound - Suono WAVE - Friendly Image types - - - Linked at compile time - Collegato in fase di compilazione - File Persistence Mode - - - Embedded in .resx - Incorporato in .resx - File Persistence Mode - - - Bitmaps - Bitmap - # File dialog filters -# -# E.g., for icons, the actual filter created would look like "Icons (*.ico)". These resources -# represent the first part of that filter -# - Icons - Icone - # File dialog filters -# -# E.g., for icons, the actual filter created would look like "Icons (*.ico)". These resources -# represent the first part of that filter -# - - - Audio - Audio - # File dialog filters -# -# E.g., for icons, the actual filter created would look like "Icons (*.ico)". These resources -# represent the first part of that filter -# - - - Text Files - File di testo - # File dialog filters -# -# E.g., for icons, the actual filter created would look like "Icons (*.ico)". These resources -# represent the first part of that filter -# - - - All Files - Tutti i file - # File dialog filters -# -# E.g., for icons, the actual filter created would look like "Icons (*.ico)". These resources -# represent the first part of that filter -# - - - Windows Bitmap - Bitmap di Windows + Icons # File dialog filters # # E.g., for icons, the actual filter created would look like "Icons (*.ico)". These resources # represent the first part of that filter # - - Portable Network Graphics - Portable Network Graphics - # File dialog filters -# -# E.g., for icons, the actual filter created would look like "Icons (*.ico)". These resources -# represent the first part of that filter -# - - - Graphics Interchange Format - Graphics Interchange Format - # File dialog filters -# -# E.g., for icons, the actual filter created would look like "Icons (*.ico)". These resources -# represent the first part of that filter -# - - - JPEG File Interchange Format - File di interscambio JPEG - # File dialog filters -# -# E.g., for icons, the actual filter created would look like "Icons (*.ico)". These resources -# represent the first part of that filter -# - - - Tag Image File Format - Tag Image File Format - # File dialog filters -# -# E.g., for icons, the actual filter created would look like "Icons (*.ico)". These resources -# represent the first part of that filter -# - - - Icon - Icona + + License Files + License Files # File dialog filters # # E.g., for icons, the actual filter created would look like "Icons (*.ico)". These resources # represent the first part of that filter # - - Managed Resources Editor - Editor risorse gestite - - - - Add existing file to resources - Aggiungi file esistente alle risorse - - - - Import file into resource '{0}' - Importa il file nella risorsa '{0}' - {0} = Name of resource being imported into - - - Export resource '{0}' to file - Esporta la risorsa '{0}' nel file - {0} = Name of resource being exported from - - - Please specify where to save the new file - Specificare dove salvare il nuovo file - - - - The file '{0}' already exists. Do you want to replace it? - Il file '{0}' esiste già. Sostituirlo? - {0} = full file path and name - - - The following files already exist. Do you want to replace them? - I file seguenti esistono già. Sostituirli? - - - - Select a folder in which to export the resources. - Selezionare una cartella in cui esportare le risorse. - - - - Do you want to continue anyway? - Continuare comunque? - - - - Resource '{0}' could not be loaded because the file to which it is linked could not be found: {1}. - Non è stato possibile caricare la risorsa '{0}' perché il file a cui è collegata non è stato trovato: {1}. - {0} = resource name that had the error, {1} = file path/name that could not be found - - - Resource '{0}' could not be instantiated. {1} - Non è stato possibile creare un'istanza della risorsa '{0}'. {1} - {0} = resource name that had the error, {1} = extended error information - - - Resource '{0}' has a name that is not recommended and that may cause compilation errors in your code. Please choose another name. - È consigliabile non usare il nome della risorsa '{0}' perché potrebbe causare errori di compilazione nel codice. Scegliere un altro nome. - {0} = resource name that had the error - Unable to set the Custom Tool or Custom Tool Namespace properties of this file in order to change strongly-typed resource generation options. If the project file is checked in, try checking it out. - Non è possibile impostare le proprietà dello strumento personalizzato o dello spazio dei nomi dello strumento personalizzato del file per modificare le opzioni di generazione di risorse fortemente tipizzate. Se il file di progetto è archiviato, provare a estrarlo. + Unable to set the Custom Tool or Custom Tool Namespace properties of this file in order to change strongly-typed resource generation options. If the project file is checked in, try checking it out. One possible source for this error is that source code control checkout failed or was canceled. - - The resource name '{0}' is not a valid identifier. - Il nome di risorsa '{0}' non è un identificatore valido. - - - - {0} - Codepage {1} - {0} - Tabella codici {1} - {0} = encoding name (e.g., "Western European (Windows)"), {1} = code page # (e.g., 85001) - - - (Default) - (Predefinita) - - - - Change resource name - Cambia nome della risorsa - - - - Add {0} new resource(s) - Aggiungi {0} nuova/e risorsa/e - {0} = number of resources added - - - Remove {0} resource(s) - Rimuovi {0} risorsa/e - {0} = number of resources removed - - - Delete values in {0} cell(s) - Elimina valori in {0} cella/e - {0} = number of cells cleared - - - Name used to identify the resource in code. - Nome usato per identificare la risorsa nel codice. - - - - Additional information about the resource. This property is only meaningful at design time. - Informazioni aggiuntive relative alla risorsa. Questa proprietà è significativa solo in fase di progettazione. - - - - Character encoding of the file. - Codifica dei caratteri del file. - - - - The path to the linked resource. - Percorso della risorsa collegata. - - - - Specifies whether the file resource is text or binary. - Consente di specificare se il file è di testo o binario. - - - - Specifies whether the resource is embedded or linked. Embedded resources are saved in the resource file. Linked resources reside in an external location on disk. - Consente di specificare se la risorsa è incorporata o collegata. Le risorse incorporate vengono salvate nel file di risorsa. Le risorse collegate si trovano in un percorso esterno sul disco. - - - - The resource will be generated as this type in the strongly-typed resource class. For example, the resource might be generated as a String or Bitmap object. - La risorsa verrà generata con questo tipo nella classe di risorse fortemente tipizzate. Ad esempio, la risorsa potrebbe essere generata come un oggetto String o Bitmap. - - - - The value of the resource. - Valore della risorsa. + + If this is not a Settings-Designer file then use 'Open With' to open it in a text editor. + Se non è un file Settings-Designer, usare 'Apri con' per aprirlo in un editor di testo. @@ -1859,6 +1331,11 @@ Aggiornare il valore nel file .settings? Uno o più file sono stati ricaricati durante l'estrazione. Riprovare. + + Failed to generate file: {0} + Failed to generate file: {0} + + Invalid XML Format: {0} Formato XML non valido: {0} @@ -1999,15 +1476,6 @@ Aggiornare il valore nel file .settings? Extended Metafile - - License Files - File di licenza - # File dialog filters -# -# E.g., for icons, the actual filter created would look like "Icons (*.ico)". These resources -# represent the first part of that filter -# - Code Analysis Code Analysis diff --git a/src/Microsoft.VisualStudio.Editors/Resources/xlf/Microsoft.VisualStudio.Editors.Designer.ja.xlf b/src/Microsoft.VisualStudio.Editors/Resources/xlf/Microsoft.VisualStudio.Editors.Designer.ja.xlf index 40dedea676b..dbeb89b4c77 100644 --- a/src/Microsoft.VisualStudio.Editors/Resources/xlf/Microsoft.VisualStudio.Editors.Designer.ja.xlf +++ b/src/Microsoft.VisualStudio.Editors/Resources/xlf/Microsoft.VisualStudio.Editors.Designer.ja.xlf @@ -666,575 +666,47 @@ Changing this setting will reset the settings in all configurations. 必須: - - Name - 名前 - Column names for the string table - - - Type - 種類 - Column names for the string table - - - Value - - Column names for the string table - - - Comment - コメント - Column names for the string table - - - If this is not a Settings-Designer file then use 'Open With' to open it in a text editor. - これが Settings-Designer ファイルでない場合は、'Open With' を使用してテキスト エディターで開きます。 - - - - Failed to generate file: {0} - ファイルの生成に失敗しました: {0} - - - - Editing embedded resources directly is not supported. Do you wish to convert this item to a linked resource in order to edit it? - 埋め込まれたリソースを直接編集する機能はサポートされていません。このアイテムをリンクされたリソースに変換して編集しますか? - - - - The current object is auto-generated and only supports renaming through the Managed Resources Editor. - 現在のオブジェクトは自動生成されていて、マネージ リソース エディターによる名前の変更のみサポートしています。 - - - - Cannot find the file '{0}'. It may have been moved or deleted. - ファイル '{0}' が見つかりません。移動または削除された可能性があります。 - {0} = file name and path - - - Unable to load resource from file '{0}'. - ファイル '{0}' からリソースを読み込めません。 - {0} = file name and path - - - The resource name cannot be empty. - リソース名は空白にできません。 - - - - There is already another resource with the name '{0}'. - '{0}' という名前の付いた別のリソースが既にあります。 - {0} = Resource name - - - The resource was not of the expected type. - リソースは、予期された型ではありませんでした。 - This error can happen if, for example, you try to add foo.bmp to the resource editor, but foo.bmp is really a metafile. - - - Unable to create new resource file '{0}'. {1} - 新しいリソース ファイル '{0}' を作成できません。 {1} - {0} = file name and path, {1} = additional error information - - - Unable to play the audio resource. {0} - オーディオ リソースを再生できません。{0} - {0} = Additional error information. - - - Resource '{0}' cannot be saved to a file. - リソース '{0}' をファイルに保存できません。 - {0} = Resource name - - - The operation has been canceled by the user. - 操作はユーザーによって取り消されました。 - - - - The resource value contains invalid data or has an incorrect format. - リソース値に無効なデータまたは適切ではない形式が含まれています。 - - - - The name of the resource '{0}' cannot be used as a valid identifier, because it contains one or more invalid characters: '{1}'. Please remove or replace those characters and try again. - リソース '{0}' の名前には 1 つまたは複数の無効な文字 '{1}' が含まれているので、有効な識別子として使用できません。これらの文字を削除するか別の文字に置き換えてからもう一度やり直してください。 - {0} = Resource name - - - Too many files specified. Please select fewer files and try again. - 指定したファイルが多すぎます。選択するファイルを少なくして、もう一度やり直してください。 - - Unexpected error. - 予期しないエラーです。 + Unexpected error. Theoretically possible but we really don't expect to happen. Unexpected, internal error. Unable to load internal localized resource '{0}'. - ローカライズされた内部リソース '{0}' を読み込めません。 + Unable to load internal localized resource '{0}'. Theoretically possible but we really don't expect to happen. Unexpected, internal error. - - The value could not be converted into a resource of type {0}. - -{1} - 型 {0} のリソースに値を変換できませんでした。 - -{1} - {0} = the type that was expected by the resource editor (e.g. System.Drawing.Point) -{1} = more specific additional error message from the system - - - The value cannot be empty in a resource of type {0}. - 型 {0} のリソースで値を空にすることはできません。 - {0} = the type that was expected by the resource editor (e.g. System.Drawing.Point) - - - One or more of the selected resource values could not be cleared. - 選択されたリソース値の 1 つ以上をクリアできませんでした。 - - - - The resource file cannot be modified at this time. - リソース ファイルは、現時点では変更できません。 + + The operation has been canceled by the user. + The operation has been canceled by the user. - - You are trying to edit a resource file that is a part of another project item (such as a form or a control). Editing this item could corrupt the project item, and you will have to recover it by hand. In addition, changes made to this resource file may be lost if further changes are made to the project item. - -Do you really want to edit this file? - 他のプロジェクト アイテム (フォーム、コントロールなど) の一部であるリソース ファイルを編集しようとしています。このアイテムを編集すると、プロジェクト アイテムが壊れる可能性があり、手動で修復する必要があります。さらに、プロジェクト アイテムに変更を続ける場合、このリソース ファイルへの変更が失われる可能性があります。 - -このファイルの編集を続行しますか? - - - - The resource '{0}' cannot be added. - リソース '{0}' を追加できません。 - {0} - name of the resource - - - The device does not support '{0}' files. - デバイスは '{0}' ファイルをサポートしていません。 - {0} - the extension of the file name like 'tiff' - - - The resource item uses the type '{0}', which is not supported in this project. - リソース アイテムは '{0}' 型を使用していますが、このプロジェクトではサポートされていません。 - {0} - name of the type - - - The resource item(s) {0} cannot be saved correctly. The item(s) will be discarded. - リソース アイテム {0} を正しく保存できません。アイテムは破棄されます。 - {0} - name list of the resource - - - '{0}' - '{0}' - {0} - name - - - {0}, '{1}' - {0}, '{1}' - # {0} - name list -# {1} - another name - - - (Nothing/null) - (なし/null) - Displayed in a string table for values of Nothing/null -CONSIDER: get this from CodeDom - - - (Unknown type) - (不明な種類) - This actually shouldn't be needed, but if we get an exception trying to get the type name of an entry in the resx file (not supposed to happen), then we'll display this as its type. - - - (Value cannot be displayed) - (値を表示できません) - Displayed in a string table for values which cannot be edited by the user - - - Name - 名前 - Columns for the "Details" view of the resource editor - - - Filename - ファイル名 - Columns for the "Details" view of the resource editor - - - Type - 種類 - Columns for the "Details" view of the resource editor - - - Size - サイズ - Columns for the "Details" view of the resource editor - - - Comment - コメント - Columns for the "Details" view of the resource editor - - - {0} x {1} - {0} x {1} - Format string for showing a graphic's size - -# {0} = width (as an integer) -# {1} = height (as an integer) -#Example, for a bitmap of width=123, height = 456, the English version of this string would be "123x456" - - - {0} KB - {0} KB - #Format string for showing a file's size -# {0} = length in kilobytes - - - {0} byte(s) - {0} バイト - Format string for showing a file's size. -{0} = length in bytes - - - Strings - 文字列 - Resource category names (these show up in the category buttons in the ToolStrip at the top of the resource editor) - - - Images - イメージ - Resource category names (these show up in the category buttons in the ToolStrip at the top of the resource editor) - - - Icons - アイコン - Resource category names (these show up in the category buttons in the ToolStrip at the top of the resource editor) - - - Audio - オーディオ - Resource category names (these show up in the category buttons in the ToolStrip at the top of the resource editor) - - - Files - ファイル - Resource category names (these show up in the category buttons in the ToolStrip at the top of the resource editor) - - - Other - その他 - Resource category names (these show up in the category buttons in the ToolStrip at the top of the resource editor) - - - Windows Bitmap - Windows ビットマップ - Friendly Image types - - - EXIF Image - EXIF イメージ - Friendly Image types - - - Graphics Interchange Format - グラフィックス交換形式 - Friendly Image types - - - JPEG File Interchange Format - JPEG ファイル交換形式 - Friendly Image types - - - Windows Bitmap - Windows ビットマップ - Friendly Image types - - - Portable Network Graphics - 移植可能なネットワーク グラフィックス - Friendly Image types - - - Tag Image File Format - タグ イメージ ファイル形式 - Friendly Image types - - - Icon - アイコン - Friendly Image types - - - Text File - テキスト ファイル - Friendly Image types - - - Binary File - バイナリ ファイル - - - - Wave Sound - Wave サウンド - Friendly Image types - - - Linked at compile time - コンパイル時にリンクされました - File Persistence Mode - - - Embedded in .resx - .resx に埋め込まれました - File Persistence Mode - - - Bitmaps - ビットマップ - # File dialog filters -# -# E.g., for icons, the actual filter created would look like "Icons (*.ico)". These resources -# represent the first part of that filter -# - Icons - アイコン - # File dialog filters -# -# E.g., for icons, the actual filter created would look like "Icons (*.ico)". These resources -# represent the first part of that filter -# - - - Audio - オーディオ - # File dialog filters -# -# E.g., for icons, the actual filter created would look like "Icons (*.ico)". These resources -# represent the first part of that filter -# - - - Text Files - テキスト ファイル - # File dialog filters -# -# E.g., for icons, the actual filter created would look like "Icons (*.ico)". These resources -# represent the first part of that filter -# - - - All Files - すべてのファイル - # File dialog filters -# -# E.g., for icons, the actual filter created would look like "Icons (*.ico)". These resources -# represent the first part of that filter -# - - - Windows Bitmap - Windows ビットマップ + Icons # File dialog filters # # E.g., for icons, the actual filter created would look like "Icons (*.ico)". These resources # represent the first part of that filter # - - Portable Network Graphics - 移植可能なネットワーク グラフィックス - # File dialog filters -# -# E.g., for icons, the actual filter created would look like "Icons (*.ico)". These resources -# represent the first part of that filter -# - - - Graphics Interchange Format - グラフィックス交換形式 - # File dialog filters -# -# E.g., for icons, the actual filter created would look like "Icons (*.ico)". These resources -# represent the first part of that filter -# - - - JPEG File Interchange Format - JPEG ファイル交換形式 - # File dialog filters -# -# E.g., for icons, the actual filter created would look like "Icons (*.ico)". These resources -# represent the first part of that filter -# - - - Tag Image File Format - タグ イメージ ファイル形式 - # File dialog filters -# -# E.g., for icons, the actual filter created would look like "Icons (*.ico)". These resources -# represent the first part of that filter -# - - - Icon - アイコン + + License Files + License Files # File dialog filters # # E.g., for icons, the actual filter created would look like "Icons (*.ico)". These resources # represent the first part of that filter # - - Managed Resources Editor - マネージド リソース エディター - - - - Add existing file to resources - 既存のファイルをリソースに追加 - - - - Import file into resource '{0}' - ファイル '{0}' をリソースにインポートします - {0} = Name of resource being imported into - - - Export resource '{0}' to file - リソース '{0}' をファイルにエクスポートします - {0} = Name of resource being exported from - - - Please specify where to save the new file - 新しいファイルの保存場所を指定してください - - - - The file '{0}' already exists. Do you want to replace it? - ファイル '{0}' は既に存在します。置き換えますか? - {0} = full file path and name - - - The following files already exist. Do you want to replace them? - 次のファイルは既に存在します。置き換えますか? - - - - Select a folder in which to export the resources. - リソースをエクスポートするフォルダーを選択してください。 - - - - Do you want to continue anyway? - 続行しますか? - - - - Resource '{0}' could not be loaded because the file to which it is linked could not be found: {1}. - リソース '{0}' は、リンクされたファイルが見つからなかったため、読み込めませんでした: {1}。 - {0} = resource name that had the error, {1} = file path/name that could not be found - - - Resource '{0}' could not be instantiated. {1} - リソース '{0}' をインスタンス化できませんでした。 {1} - {0} = resource name that had the error, {1} = extended error information - - - Resource '{0}' has a name that is not recommended and that may cause compilation errors in your code. Please choose another name. - リソース '{0}' には、コードのコンパイル エラーの原因となる可能性のある、推奨されていない名前が付けられています。別の名前を選んでください。 - {0} = resource name that had the error - Unable to set the Custom Tool or Custom Tool Namespace properties of this file in order to change strongly-typed resource generation options. If the project file is checked in, try checking it out. - 厳密に型指定されたリソースの生成オプションを変更するためにこのファイルのカスタム ツール、またはカスタム ツールの名前空間プロパティを設定できませんでした。プロジェクト ファイルがチェックインされている場合、チェックアウトしてください。 + Unable to set the Custom Tool or Custom Tool Namespace properties of this file in order to change strongly-typed resource generation options. If the project file is checked in, try checking it out. One possible source for this error is that source code control checkout failed or was canceled. - - The resource name '{0}' is not a valid identifier. - リソース名 '{0}' は有効な識別子ではありません。 - - - - {0} - Codepage {1} - {0} - コードページ {1} - {0} = encoding name (e.g., "Western European (Windows)"), {1} = code page # (e.g., 85001) - - - (Default) - (既定) - - - - Change resource name - リソース名の変更 - - - - Add {0} new resource(s) - {0} 個のリソースの追加 - {0} = number of resources added - - - Remove {0} resource(s) - {0} 個のリソースの削除 - {0} = number of resources removed - - - Delete values in {0} cell(s) - {0} 個のセルの値を消去します - {0} = number of cells cleared - - - Name used to identify the resource in code. - コード内のリソースを識別するために使用する名前です。 - - - - Additional information about the resource. This property is only meaningful at design time. - リソースについての追加情報ですこのプロパティは、デザイン時にのみ有効です。 - - - - Character encoding of the file. - ファイルの文字エンコードです。 - - - - The path to the linked resource. - リンクされたリソースへのパスです。 - - - - Specifies whether the file resource is text or binary. - ファイル リソースが、テキストかバイナリかを指定します。 - - - - Specifies whether the resource is embedded or linked. Embedded resources are saved in the resource file. Linked resources reside in an external location on disk. - リソースを埋め込むかリンクするかを指定します。埋め込まれたリソースはリソース ファイルに保存されます。リンクされたリソースは、ディスク上の外部の場所に存在します。 - - - - The resource will be generated as this type in the strongly-typed resource class. For example, the resource might be generated as a String or Bitmap object. - このリソースは、この型として厳密に型指定されたリソース クラスで生成されます。たとえば、リソースは String または Bitmap オブジェクトとして生成されます。 - - - - The value of the resource. - リソースの値です。 + + If this is not a Settings-Designer file then use 'Open With' to open it in a text editor. + これが Settings-Designer ファイルでない場合は、'Open With' を使用してテキスト エディターで開きます。 @@ -1859,6 +1331,11 @@ app.config ファイルでの新しい値は '{1}' です 1 つ以上のファイルがチェックアウト時に再読み込みされました。操作を再試行してください。 + + Failed to generate file: {0} + Failed to generate file: {0} + + Invalid XML Format: {0} 無効な XML 形式: {0} @@ -1999,15 +1476,6 @@ app.config ファイルでの新しい値は '{1}' です 拡張メタファイル - - License Files - ライセンス ファイル - # File dialog filters -# -# E.g., for icons, the actual filter created would look like "Icons (*.ico)". These resources -# represent the first part of that filter -# - Code Analysis Code Analysis diff --git a/src/Microsoft.VisualStudio.Editors/Resources/xlf/Microsoft.VisualStudio.Editors.Designer.ko.xlf b/src/Microsoft.VisualStudio.Editors/Resources/xlf/Microsoft.VisualStudio.Editors.Designer.ko.xlf index f239f6e05e5..ec4eab53395 100644 --- a/src/Microsoft.VisualStudio.Editors/Resources/xlf/Microsoft.VisualStudio.Editors.Designer.ko.xlf +++ b/src/Microsoft.VisualStudio.Editors/Resources/xlf/Microsoft.VisualStudio.Editors.Designer.ko.xlf @@ -666,575 +666,47 @@ Changing this setting will reset the settings in all configurations. 필요한 권한: - - Name - 이름 - Column names for the string table - - - Type - 형식 - Column names for the string table - - - Value - - Column names for the string table - - - Comment - 주석 - Column names for the string table - - - If this is not a Settings-Designer file then use 'Open With' to open it in a text editor. - Settings-Designer 파일이 아닌 경우 '다음으로 열기'를 사용하여 텍스트 편집기에서 엽니다. - - - - Failed to generate file: {0} - {0} 파일을 생성하지 못했습니다. - - - - Editing embedded resources directly is not supported. Do you wish to convert this item to a linked resource in order to edit it? - 포함 리소스는 직접 편집할 수 없습니다. 이 항목을 편집이 가능한 링크된 리소스로 변환하시겠습니까? - - - - The current object is auto-generated and only supports renaming through the Managed Resources Editor. - 현재 개체는 자동으로 생성되었으며 관리되는 리소스 편집기를 통해서만 이름을 바꿀 수 있습니다. - - - - Cannot find the file '{0}'. It may have been moved or deleted. - '{0}' 파일을 찾을 수 없습니다. 이동되었거나 삭제된 것 같습니다. - {0} = file name and path - - - Unable to load resource from file '{0}'. - '{0}' 파일에서 리소스를 로드할 수 없습니다. - {0} = file name and path - - - The resource name cannot be empty. - 리소스 이름을 비워둘 수 없습니다. - - - - There is already another resource with the name '{0}'. - 이름이 '{0}'인 다른 리소스가 이미 있습니다. - {0} = Resource name - - - The resource was not of the expected type. - 리소스가 올바른 형식이 아닙니다. - This error can happen if, for example, you try to add foo.bmp to the resource editor, but foo.bmp is really a metafile. - - - Unable to create new resource file '{0}'. {1} - 새 리소스 파일 '{0}'을(를) 만들 수 없습니다. {1} - {0} = file name and path, {1} = additional error information - - - Unable to play the audio resource. {0} - 오디오 리소스를 재생할 수 없습니다. {0} - {0} = Additional error information. - - - Resource '{0}' cannot be saved to a file. - '{0}' 리소스를 파일에 저장할 수 없습니다. - {0} = Resource name - - - The operation has been canceled by the user. - 사용자가 작업을 취소했습니다. - - - - The resource value contains invalid data or has an incorrect format. - 리소스 값에 잘못된 데이터가 있거나 리소스 값의 형식이 잘못되었습니다. - - - - The name of the resource '{0}' cannot be used as a valid identifier, because it contains one or more invalid characters: '{1}'. Please remove or replace those characters and try again. - '{0}' 리소스의 이름에 잘못된 문자({1})가 하나 이상 있으므로 이 이름을 올바른 식별자로 사용할 수 없습니다. 해당 문자를 제거하거나 바꾸고 다시 시도하세요. - {0} = Resource name - - - Too many files specified. Please select fewer files and try again. - 파일을 너무 많이 지정했습니다. 현재 지정한 파일에서 몇 개를 빼고 다시 시도하세요. - - Unexpected error. - 예기치 않은 오류가 발생했습니다. + Unexpected error. Theoretically possible but we really don't expect to happen. Unexpected, internal error. Unable to load internal localized resource '{0}'. - 지역화된 내부 리소스 '{0}'을(를) 로드할 수 없습니다. + Unable to load internal localized resource '{0}'. Theoretically possible but we really don't expect to happen. Unexpected, internal error. - - The value could not be converted into a resource of type {0}. - -{1} - 값을 {0} 형식의 리소스로 변환할 수 없습니다. - -{1} - {0} = the type that was expected by the resource editor (e.g. System.Drawing.Point) -{1} = more specific additional error message from the system - - - The value cannot be empty in a resource of type {0}. - {0} 형식의 리소스에서는 해당 값을 비워 둘 수 없습니다. - {0} = the type that was expected by the resource editor (e.g. System.Drawing.Point) - - - One or more of the selected resource values could not be cleared. - 하나 이상의 선택한 리소스 값을 지울 수 없습니다. - - - - The resource file cannot be modified at this time. - 지금은 리소스 파일을 수정할 수 없습니다. + + The operation has been canceled by the user. + The operation has been canceled by the user. - - You are trying to edit a resource file that is a part of another project item (such as a form or a control). Editing this item could corrupt the project item, and you will have to recover it by hand. In addition, changes made to this resource file may be lost if further changes are made to the project item. - -Do you really want to edit this file? - 폼 또는 컨트롤과 같은 다른 프로젝트 항목에 포함된 리소스 파일을 편집하려고 합니다. 이 파일을 편집하면 해당 프로젝트 항목이 손상될 수 있으며, 이 경우 수동으로 해당 항목을 복구해야 합니다. 또한 이후에 프로젝트 항목이 변경되면 이 리소스 파일에 대한 변경 내용이 손실될 수 있습니다. - -이 파일을 편집하시겠습니까? - - - - The resource '{0}' cannot be added. - '{0}' 리소스를 추가할 수 없습니다. - {0} - name of the resource - - - The device does not support '{0}' files. - 디바이스가 '{0}' 파일을 지원하지 않습니다. - {0} - the extension of the file name like 'tiff' - - - The resource item uses the type '{0}', which is not supported in this project. - 리소스 항목이 이 프로젝트에서 지원하지 않는 '{0}' 형식을 사용합니다. - {0} - name of the type - - - The resource item(s) {0} cannot be saved correctly. The item(s) will be discarded. - 리소스 항목 {0}을(를) 올바로 저장할 수 없습니다. 이 항목이 삭제됩니다. - {0} - name list of the resource - - - '{0}' - '{0}' - {0} - name - - - {0}, '{1}' - {0}, '{1}' - # {0} - name list -# {1} - another name - - - (Nothing/null) - (없음/null) - Displayed in a string table for values of Nothing/null -CONSIDER: get this from CodeDom - - - (Unknown type) - (알 수 없는 형식) - This actually shouldn't be needed, but if we get an exception trying to get the type name of an entry in the resx file (not supposed to happen), then we'll display this as its type. - - - (Value cannot be displayed) - (값을 표시할 수 없음) - Displayed in a string table for values which cannot be edited by the user - - - Name - 이름 - Columns for the "Details" view of the resource editor - - - Filename - 파일 이름 - Columns for the "Details" view of the resource editor - - - Type - 형식 - Columns for the "Details" view of the resource editor - - - Size - 크기 - Columns for the "Details" view of the resource editor - - - Comment - 주석 - Columns for the "Details" view of the resource editor - - - {0} x {1} - {0} x {1} - Format string for showing a graphic's size - -# {0} = width (as an integer) -# {1} = height (as an integer) -#Example, for a bitmap of width=123, height = 456, the English version of this string would be "123x456" - - - {0} KB - {0}KB - #Format string for showing a file's size -# {0} = length in kilobytes - - - {0} byte(s) - {0}바이트 - Format string for showing a file's size. -{0} = length in bytes - - - Strings - 문자열 - Resource category names (these show up in the category buttons in the ToolStrip at the top of the resource editor) - - - Images - 이미지 - Resource category names (these show up in the category buttons in the ToolStrip at the top of the resource editor) - - - Icons - 아이콘 - Resource category names (these show up in the category buttons in the ToolStrip at the top of the resource editor) - - - Audio - 오디오 - Resource category names (these show up in the category buttons in the ToolStrip at the top of the resource editor) - - - Files - 파일 - Resource category names (these show up in the category buttons in the ToolStrip at the top of the resource editor) - - - Other - 기타 - Resource category names (these show up in the category buttons in the ToolStrip at the top of the resource editor) - - - Windows Bitmap - Windows 비트맵 - Friendly Image types - - - EXIF Image - EXIF 이미지 - Friendly Image types - - - Graphics Interchange Format - Graphics Interchange Format - Friendly Image types - - - JPEG File Interchange Format - JPEG 파일 교환 형식 - Friendly Image types - - - Windows Bitmap - Windows 비트맵 - Friendly Image types - - - Portable Network Graphics - 이동식 네트워크 그래픽 - Friendly Image types - - - Tag Image File Format - Tag Image File Format - Friendly Image types - - - Icon - 아이콘 - Friendly Image types - - - Text File - 텍스트 파일 - Friendly Image types - - - Binary File - 이진 파일 - - - - Wave Sound - 웨이브 사운드 - Friendly Image types - - - Linked at compile time - 컴파일 시간에 링크됨 - File Persistence Mode - - - Embedded in .resx - .resx에 포함됨 - File Persistence Mode - - - Bitmaps - 비트맵 - # File dialog filters -# -# E.g., for icons, the actual filter created would look like "Icons (*.ico)". These resources -# represent the first part of that filter -# - Icons - 아이콘 - # File dialog filters -# -# E.g., for icons, the actual filter created would look like "Icons (*.ico)". These resources -# represent the first part of that filter -# - - - Audio - 오디오 + Icons # File dialog filters # # E.g., for icons, the actual filter created would look like "Icons (*.ico)". These resources # represent the first part of that filter # - - Text Files - 텍스트 파일 - # File dialog filters -# -# E.g., for icons, the actual filter created would look like "Icons (*.ico)". These resources -# represent the first part of that filter -# - - - All Files - 모든 파일 - # File dialog filters -# -# E.g., for icons, the actual filter created would look like "Icons (*.ico)". These resources -# represent the first part of that filter -# - - - Windows Bitmap - Windows 비트맵 - # File dialog filters -# -# E.g., for icons, the actual filter created would look like "Icons (*.ico)". These resources -# represent the first part of that filter -# - - - Portable Network Graphics - 이동식 네트워크 그래픽 - # File dialog filters -# -# E.g., for icons, the actual filter created would look like "Icons (*.ico)". These resources -# represent the first part of that filter -# - - - Graphics Interchange Format - Graphics Interchange Format - # File dialog filters -# -# E.g., for icons, the actual filter created would look like "Icons (*.ico)". These resources -# represent the first part of that filter -# - - - JPEG File Interchange Format - JPEG 파일 교환 형식 - # File dialog filters -# -# E.g., for icons, the actual filter created would look like "Icons (*.ico)". These resources -# represent the first part of that filter -# - - - Tag Image File Format - Tag Image File Format - # File dialog filters -# -# E.g., for icons, the actual filter created would look like "Icons (*.ico)". These resources -# represent the first part of that filter -# - - - Icon - 아이콘 + + License Files + License Files # File dialog filters # # E.g., for icons, the actual filter created would look like "Icons (*.ico)". These resources # represent the first part of that filter # - - Managed Resources Editor - 관리되는 리소스 편집기 - - - - Add existing file to resources - 리소스에 기존 파일 추가 - - - - Import file into resource '{0}' - '{0}' 리소스로 파일 가져오기 - {0} = Name of resource being imported into - - - Export resource '{0}' to file - 파일로 '{0}' 리소스 내보내기 - {0} = Name of resource being exported from - - - Please specify where to save the new file - 새 파일을 저장할 위치를 지정하세요. - - - - The file '{0}' already exists. Do you want to replace it? - ‘{0}’ 파일이 이미 있습니다. 바꾸시겠습니까? - {0} = full file path and name - - - The following files already exist. Do you want to replace them? - 다음 파일이 이미 있습니다. 바꾸시겠습니까? - - - - Select a folder in which to export the resources. - 리소스를 내보낼 대상 폴더를 선택하세요. - - - - Do you want to continue anyway? - 계속하시겠습니까? - - - - Resource '{0}' could not be loaded because the file to which it is linked could not be found: {1}. - 링크된 파일을 찾을 수 없어 '{0}' 리소스를 로드할 수 없습니다. {1}. - {0} = resource name that had the error, {1} = file path/name that could not be found - - - Resource '{0}' could not be instantiated. {1} - '{0}' 리소스를 인스턴스화할 수 없습니다. {1} - {0} = resource name that had the error, {1} = extended error information - - - Resource '{0}' has a name that is not recommended and that may cause compilation errors in your code. Please choose another name. - '{0}' 리소스가 권장되지 않는 이름을 사용하고 있으며 이 이름은 코드에서 컴파일 오류를 발생시킬 수 있습니다. 다른 이름을 선택하세요. - {0} = resource name that had the error - Unable to set the Custom Tool or Custom Tool Namespace properties of this file in order to change strongly-typed resource generation options. If the project file is checked in, try checking it out. - 강력한 형식의 리소스 생성 옵션을 변경하도록 이 파일의 사용자 지정 도구 또는 사용자 지정 도구 네임스페이스 속성을 설정할 수 없습니다. 프로젝트 파일이 체크 인되었으면 해당 파일을 체크 아웃하세요. + Unable to set the Custom Tool or Custom Tool Namespace properties of this file in order to change strongly-typed resource generation options. If the project file is checked in, try checking it out. One possible source for this error is that source code control checkout failed or was canceled. - - The resource name '{0}' is not a valid identifier. - 리소스 이름 '{0}'은(는) 올바른 식별자가 아닙니다. - - - - {0} - Codepage {1} - {0} - 코드 페이지 {1} - {0} = encoding name (e.g., "Western European (Windows)"), {1} = code page # (e.g., 85001) - - - (Default) - (기본값) - - - - Change resource name - 리소스 이름 변경 - - - - Add {0} new resource(s) - {0}개의 새 리소스 추가 - {0} = number of resources added - - - Remove {0} resource(s) - {0}개 리소스 제거 - {0} = number of resources removed - - - Delete values in {0} cell(s) - {0}개 셀에서 값 삭제 - {0} = number of cells cleared - - - Name used to identify the resource in code. - 코드에서 리소스를 식별하는 데 사용되는 이름입니다. - - - - Additional information about the resource. This property is only meaningful at design time. - 리소스에 대한 추가 정보입니다. 이 속성은 디자인 타임에서만 의미가 있습니다. - - - - Character encoding of the file. - 파일의 문자 인코딩입니다. - - - - The path to the linked resource. - 링크된 리소스의 경로입니다. - - - - Specifies whether the file resource is text or binary. - 파일 리소스가 텍스트 또는 이진 형식인지 여부를 지정합니다. - - - - Specifies whether the resource is embedded or linked. Embedded resources are saved in the resource file. Linked resources reside in an external location on disk. - 리소스가 포함 또는 링크되어 있는지 여부를 지정합니다. 포함 리소스는 리소스 파일에 저장되고 링크된 리소스는 디스크의 외부 위치에 저장됩니다. - - - - The resource will be generated as this type in the strongly-typed resource class. For example, the resource might be generated as a String or Bitmap object. - 강력한 형식의 리소스 클래스에 이 형식으로 리소스가 생성됩니다. 예를 들어 리소스가 String 또는 Bitmap 개체로 생성될 수 있습니다. - - - - The value of the resource. - 리소스의 값입니다. + + If this is not a Settings-Designer file then use 'Open With' to open it in a text editor. + Settings-Designer 파일이 아닌 경우 '다음으로 열기'를 사용하여 텍스트 편집기에서 엽니다. @@ -1859,6 +1331,11 @@ app.config 파일의 새 값은 '{1}'입니다. 체크 아웃하는 동안 하나 이상의 파일이 다시 로드되었습니다. 작업을 다시 시도하세요. + + Failed to generate file: {0} + Failed to generate file: {0} + + Invalid XML Format: {0} 잘못된 XML 형식: {0} @@ -1999,15 +1476,6 @@ app.config 파일의 새 값은 '{1}'입니다. 확장된 메타 파일 - - License Files - 라이선스 파일 - # File dialog filters -# -# E.g., for icons, the actual filter created would look like "Icons (*.ico)". These resources -# represent the first part of that filter -# - Code Analysis Code Analysis diff --git a/src/Microsoft.VisualStudio.Editors/Resources/xlf/Microsoft.VisualStudio.Editors.Designer.pl.xlf b/src/Microsoft.VisualStudio.Editors/Resources/xlf/Microsoft.VisualStudio.Editors.Designer.pl.xlf index 1b33485fe9f..312f7fe94f0 100644 --- a/src/Microsoft.VisualStudio.Editors/Resources/xlf/Microsoft.VisualStudio.Editors.Designer.pl.xlf +++ b/src/Microsoft.VisualStudio.Editors/Resources/xlf/Microsoft.VisualStudio.Editors.Designer.pl.xlf @@ -666,575 +666,47 @@ Zmiana tego ustawienia spowoduje zresetowanie ustawień we wszystkich konfigurac Wymagania: - - Name - Nazwa - Column names for the string table - - - Type - Typ - Column names for the string table - - - Value - Wartość - Column names for the string table - - - Comment - Komentarz - Column names for the string table - - - If this is not a Settings-Designer file then use 'Open With' to open it in a text editor. - Jeśli nie jest to plik ustawień projektanta, użyj polecenia „Otwórz za pomocą”, aby otworzyć go w edytorze tekstów. - - - - Failed to generate file: {0} - Nie można wygenerować pliku: {0} - - - - Editing embedded resources directly is not supported. Do you wish to convert this item to a linked resource in order to edit it? - Bezpośrednia edycja zasobów osadzonych nie jest obsługiwana. Czy chcesz przekonwertować ten element na zasób połączony w celu jego edycji? - - - - The current object is auto-generated and only supports renaming through the Managed Resources Editor. - Bieżący obiekt został wygenerowany automatycznie i obsługuje zmianę nazwy poprzez edytor zarządzanych zasobów. - - - - Cannot find the file '{0}'. It may have been moved or deleted. - Nie można odnaleźć pliku „{0}”. Mógł on zostać przeniesiony lub usunięty. - {0} = file name and path - - - Unable to load resource from file '{0}'. - Nie można załadować zasobu z pliku '{0}'. - {0} = file name and path - - - The resource name cannot be empty. - Nazwa zasobu nie może być pusta. - - - - There is already another resource with the name '{0}'. - Istnieje już inny zasób o nazwie '{0}'. - {0} = Resource name - - - The resource was not of the expected type. - Zasób nie ma oczekiwanego typu. - This error can happen if, for example, you try to add foo.bmp to the resource editor, but foo.bmp is really a metafile. - - - Unable to create new resource file '{0}'. {1} - Nie można utworzyć nowego pliku zasobu „{0}”. {1} - {0} = file name and path, {1} = additional error information - - - Unable to play the audio resource. {0} - Nie można odtworzyć zasobu audio. {0} - {0} = Additional error information. - - - Resource '{0}' cannot be saved to a file. - Nie można zapisać zasobu '{0}' do pliku. - {0} = Resource name - - - The operation has been canceled by the user. - Operacja została anulowana przez użytkownika. - - - - The resource value contains invalid data or has an incorrect format. - Wartość zasobu zawiera nieprawidłowe dane lub ma nieprawidłowy format. - - - - The name of the resource '{0}' cannot be used as a valid identifier, because it contains one or more invalid characters: '{1}'. Please remove or replace those characters and try again. - Nazwa zasobu „{0}” nie może zostać użyta jako prawidłowy identyfikator, ponieważ zawiera nieprawidłowe znaki: „{1}”. Usuń lub zastąp te znaki i spróbuj ponownie. - {0} = Resource name - - - Too many files specified. Please select fewer files and try again. - Wybrano za dużo plików. Wybierz mniej plików i spróbuj ponownie. - - Unexpected error. - Nieoczekiwany błąd. + Unexpected error. Theoretically possible but we really don't expect to happen. Unexpected, internal error. Unable to load internal localized resource '{0}'. - Nie można załadować wewnętrznych zlokalizowanych zasobów '{0}'. + Unable to load internal localized resource '{0}'. Theoretically possible but we really don't expect to happen. Unexpected, internal error. - - The value could not be converted into a resource of type {0}. - -{1} - Nie można skonwertować wartości do zasobu typu {0}. - -{1} - {0} = the type that was expected by the resource editor (e.g. System.Drawing.Point) -{1} = more specific additional error message from the system - - - The value cannot be empty in a resource of type {0}. - Wartość nie może być pusta w zasobie typu {0}. - {0} = the type that was expected by the resource editor (e.g. System.Drawing.Point) - - - One or more of the selected resource values could not be cleared. - Nie można wyczyścić jednego lub więcej z wybranych wartości zasobów. - - - - The resource file cannot be modified at this time. - W tej chwili nie można zmodyfikować pliku zasobu. + + The operation has been canceled by the user. + The operation has been canceled by the user. - - You are trying to edit a resource file that is a part of another project item (such as a form or a control). Editing this item could corrupt the project item, and you will have to recover it by hand. In addition, changes made to this resource file may be lost if further changes are made to the project item. - -Do you really want to edit this file? - Podjęto próbę edycji pliku zasobu, który jest częścią innego elementu projektu (takiego jak formularz czy kontrolka). Edytowanie tego elementu może spowodować uszkodzenie elementu projektu i trzeba będzie go odzyskać ręcznie. Ponadto zmiany dokonane w tym pliku zasobu mogą zostać utracone, jeśli zostaną wprowadzone kolejne zmiany w elemencie projektu. - -Czy na pewno chcesz edytować ten plik? - - - - The resource '{0}' cannot be added. - Nie można dodać zasobu „{0}”. - {0} - name of the resource - - - The device does not support '{0}' files. - Urządzenie nie obsługuje plików '{0}'. - {0} - the extension of the file name like 'tiff' - - - The resource item uses the type '{0}', which is not supported in this project. - Element zasobu używa typu '{0}', który nie jest obsługiwany w tym projekcie. - {0} - name of the type - - - The resource item(s) {0} cannot be saved correctly. The item(s) will be discarded. - Nie można poprawnie zapisać elementów zasobów {0}. Elementy zostaną odrzucone. - {0} - name list of the resource - - - '{0}' - „{0}” - {0} - name - - - {0}, '{1}' - {0}, „{1}” - # {0} - name list -# {1} - another name - - - (Nothing/null) - (Nic/null) - Displayed in a string table for values of Nothing/null -CONSIDER: get this from CodeDom - - - (Unknown type) - (Nieznany typ) - This actually shouldn't be needed, but if we get an exception trying to get the type name of an entry in the resx file (not supposed to happen), then we'll display this as its type. - - - (Value cannot be displayed) - (Nie można wyświetlić wartości) - Displayed in a string table for values which cannot be edited by the user - - - Name - Nazwa - Columns for the "Details" view of the resource editor - - - Filename - Nazwa pliku - Columns for the "Details" view of the resource editor - - - Type - Typ - Columns for the "Details" view of the resource editor - - - Size - Rozmiar - Columns for the "Details" view of the resource editor - - - Comment - Komentarz - Columns for the "Details" view of the resource editor - - - {0} x {1} - {0} x {1} - Format string for showing a graphic's size - -# {0} = width (as an integer) -# {1} = height (as an integer) -#Example, for a bitmap of width=123, height = 456, the English version of this string would be "123x456" - - - {0} KB - {0} KB - #Format string for showing a file's size -# {0} = length in kilobytes - - - {0} byte(s) - {0} B - Format string for showing a file's size. -{0} = length in bytes - - - Strings - Ciągi - Resource category names (these show up in the category buttons in the ToolStrip at the top of the resource editor) - - - Images - Obrazy - Resource category names (these show up in the category buttons in the ToolStrip at the top of the resource editor) - - - Icons - Ikony - Resource category names (these show up in the category buttons in the ToolStrip at the top of the resource editor) - - - Audio - Audio - Resource category names (these show up in the category buttons in the ToolStrip at the top of the resource editor) - - - Files - Pliki - Resource category names (these show up in the category buttons in the ToolStrip at the top of the resource editor) - - - Other - Inne - Resource category names (these show up in the category buttons in the ToolStrip at the top of the resource editor) - - - Windows Bitmap - Mapa bitowa Windows - Friendly Image types - - - EXIF Image - Obraz EXIF - Friendly Image types - - - Graphics Interchange Format - Format wymiany grafiki GIF - Friendly Image types - - - JPEG File Interchange Format - Format wymiany plików JPEG - Friendly Image types - - - Windows Bitmap - Mapa bitowa Windows - Friendly Image types - - - Portable Network Graphics - Przenośna grafika sieciowa PNG - Friendly Image types - - - Tag Image File Format - Tag Image File Format - Friendly Image types - - - Icon - Ikona - Friendly Image types - - - Text File - Plik tekstowy - Friendly Image types - - - Binary File - Plik binarny - - - - Wave Sound - Dźwięk typu wave - Friendly Image types - - - Linked at compile time - Połączone w czasie kompilacji - File Persistence Mode - - - Embedded in .resx - Osadzone w pliku resx - File Persistence Mode - - - Bitmaps - Mapy bitowe - # File dialog filters -# -# E.g., for icons, the actual filter created would look like "Icons (*.ico)". These resources -# represent the first part of that filter -# - Icons - Ikony - # File dialog filters -# -# E.g., for icons, the actual filter created would look like "Icons (*.ico)". These resources -# represent the first part of that filter -# - - - Audio - Audio - # File dialog filters -# -# E.g., for icons, the actual filter created would look like "Icons (*.ico)". These resources -# represent the first part of that filter -# - - - Text Files - Pliki tekstowe - # File dialog filters -# -# E.g., for icons, the actual filter created would look like "Icons (*.ico)". These resources -# represent the first part of that filter -# - - - All Files - Wszystkie pliki - # File dialog filters -# -# E.g., for icons, the actual filter created would look like "Icons (*.ico)". These resources -# represent the first part of that filter -# - - - Windows Bitmap - Mapa bitowa Windows + Icons # File dialog filters # # E.g., for icons, the actual filter created would look like "Icons (*.ico)". These resources # represent the first part of that filter # - - Portable Network Graphics - Przenośna grafika sieciowa PNG - # File dialog filters -# -# E.g., for icons, the actual filter created would look like "Icons (*.ico)". These resources -# represent the first part of that filter -# - - - Graphics Interchange Format - Format wymiany grafiki GIF - # File dialog filters -# -# E.g., for icons, the actual filter created would look like "Icons (*.ico)". These resources -# represent the first part of that filter -# - - - JPEG File Interchange Format - Format wymiany plików JPEG - # File dialog filters -# -# E.g., for icons, the actual filter created would look like "Icons (*.ico)". These resources -# represent the first part of that filter -# - - - Tag Image File Format - Tag Image File Format - # File dialog filters -# -# E.g., for icons, the actual filter created would look like "Icons (*.ico)". These resources -# represent the first part of that filter -# - - - Icon - Ikona + + License Files + License Files # File dialog filters # # E.g., for icons, the actual filter created would look like "Icons (*.ico)". These resources # represent the first part of that filter # - - Managed Resources Editor - Edytor zarządzanych zasobów - - - - Add existing file to resources - Dodawanie istniejącego pliku do zasobów - - - - Import file into resource '{0}' - Importowanie pliku do zasobu „{0}” - {0} = Name of resource being imported into - - - Export resource '{0}' to file - Eksportowanie zasobu „{0}” do pliku - {0} = Name of resource being exported from - - - Please specify where to save the new file - Określanie lokalizacji zapisu nowego pliku - - - - The file '{0}' already exists. Do you want to replace it? - Plik „{0}” już istnieje. Czy chcesz go zastąpić? - {0} = full file path and name - - - The following files already exist. Do you want to replace them? - Następujące pliki już istnieją. Czy chcesz je zastąpić? - - - - Select a folder in which to export the resources. - Wybierz folder, do którego zostaną wyeksportowane zasoby. - - - - Do you want to continue anyway? - Czy chcesz kontynuować mimo to? - - - - Resource '{0}' could not be loaded because the file to which it is linked could not be found: {1}. - Nie można załadować zasobu „{0}”, ponieważ nie można odnaleźć pliku, z którym jest on połączony: {1}. - {0} = resource name that had the error, {1} = file path/name that could not be found - - - Resource '{0}' could not be instantiated. {1} - Nie można utworzyć wystąpienia zasobu „{0}”. {1} - {0} = resource name that had the error, {1} = extended error information - - - Resource '{0}' has a name that is not recommended and that may cause compilation errors in your code. Please choose another name. - Nazwa zasobu „{0}” nie jest zalecana i może powodować błędy kompilacji w kodzie. Wybierz inną nazwę. - {0} = resource name that had the error - Unable to set the Custom Tool or Custom Tool Namespace properties of this file in order to change strongly-typed resource generation options. If the project file is checked in, try checking it out. - Nie można ustawić właściwości niestandardowego narzędzia lub przestrzeni nazw niestandardowego narzędzia dla tego pliku w celu zmiany opcji generowania zasobu z jednoznacznie określonymi typami. Jeśli plik projektu jest zaewidencjonowany, spróbuj go wyewidencjonować. + Unable to set the Custom Tool or Custom Tool Namespace properties of this file in order to change strongly-typed resource generation options. If the project file is checked in, try checking it out. One possible source for this error is that source code control checkout failed or was canceled. - - The resource name '{0}' is not a valid identifier. - Nazwa zasobu „{0}” nie jest prawidłowym identyfikatorem. - - - - {0} - Codepage {1} - {0} — strona kodowa {1} - {0} = encoding name (e.g., "Western European (Windows)"), {1} = code page # (e.g., 85001) - - - (Default) - (Domyślne) - - - - Change resource name - Zmień nazwę zasobu - - - - Add {0} new resource(s) - Dodaj nowe zasoby ({0}) - {0} = number of resources added - - - Remove {0} resource(s) - Usuń zasoby ({0}) - {0} = number of resources removed - - - Delete values in {0} cell(s) - Usuń wartości w komórkach ({0}) - {0} = number of cells cleared - - - Name used to identify the resource in code. - Nazwa używana do identyfikacji zasobu w kodzie. - - - - Additional information about the resource. This property is only meaningful at design time. - Dodatkowe informacje na temat zasobu. Ta właściwość ma znaczenie tylko podczas projektowania. - - - - Character encoding of the file. - Kodowanie znaków pliku - - - - The path to the linked resource. - Ścieżka do połączonego zasobu. - - - - Specifies whether the file resource is text or binary. - Określa czy plik zasobu jest tekstowy czy binarny. - - - - Specifies whether the resource is embedded or linked. Embedded resources are saved in the resource file. Linked resources reside in an external location on disk. - Określa, czy zasób jest osadzony, czy połączony. Zasoby osadzone są zapisywane w pliku zasobów. Zasoby połączone znajdują się w zewnętrznej lokalizacji na dysku. - - - - The resource will be generated as this type in the strongly-typed resource class. For example, the resource might be generated as a String or Bitmap object. - Zasób zostanie wygenerowany w formie tego typu w klasie zasobu z jednoznacznie określonymi typami. Na przykład zasób może zostać wygenerowany jako obiekt String lub Bitmap. - - - - The value of the resource. - Wartość zasobów. + + If this is not a Settings-Designer file then use 'Open With' to open it in a text editor. + Jeśli nie jest to plik ustawień projektanta, użyj polecenia „Otwórz za pomocą”, aby otworzyć go w edytorze tekstów. @@ -1859,6 +1331,11 @@ Czy chcesz zaktualizować wartość w pliku settings? Co najmniej jeden plik został ponownie załadowany podczas wyewidencjonowywania. Ponów próbę wykonania operacji. + + Failed to generate file: {0} + Failed to generate file: {0} + + Invalid XML Format: {0} Nieprawidłowy format XML: {0} @@ -1999,15 +1476,6 @@ Czy chcesz zaktualizować wartość w pliku settings? Rozszerzony metaplik - - License Files - Pliki licencji - # File dialog filters -# -# E.g., for icons, the actual filter created would look like "Icons (*.ico)". These resources -# represent the first part of that filter -# - Code Analysis Code Analysis diff --git a/src/Microsoft.VisualStudio.Editors/Resources/xlf/Microsoft.VisualStudio.Editors.Designer.pt-BR.xlf b/src/Microsoft.VisualStudio.Editors/Resources/xlf/Microsoft.VisualStudio.Editors.Designer.pt-BR.xlf index 691d536fe3f..c9424f5669e 100644 --- a/src/Microsoft.VisualStudio.Editors/Resources/xlf/Microsoft.VisualStudio.Editors.Designer.pt-BR.xlf +++ b/src/Microsoft.VisualStudio.Editors/Resources/xlf/Microsoft.VisualStudio.Editors.Designer.pt-BR.xlf @@ -666,575 +666,47 @@ A alteração dessa configuração redefinirá as definições em todas as confi Requer: - - Name - Nome - Column names for the string table - - - Type - Tipo - Column names for the string table - - - Value - Valor - Column names for the string table - - - Comment - Comentário - Column names for the string table - - - If this is not a Settings-Designer file then use 'Open With' to open it in a text editor. - Se este não for um arquivo Settings-Designer, use 'Abrir com' para abri-lo em um editor de texto. - - - - Failed to generate file: {0} - Falha ao gerar o arquivo: {0} - - - - Editing embedded resources directly is not supported. Do you wish to convert this item to a linked resource in order to edit it? - Não há suporte para a edição direta de recursos inseridos. Deseja converter o item em um recurso vinculado para editá-lo? - - - - The current object is auto-generated and only supports renaming through the Managed Resources Editor. - O objeto atual é gerado automaticamente e só dá suporte à renomeação por meio do Editor de Recursos Gerenciados. - - - - Cannot find the file '{0}'. It may have been moved or deleted. - Não foi possível encontrar o arquivo '{0}'. Ele pode ter sido movido ou excluído. - {0} = file name and path - - - Unable to load resource from file '{0}'. - Não é possível carregar o recurso a partir do arquivo '{0}'. - {0} = file name and path - - - The resource name cannot be empty. - O nome de recurso não pode ficar vazio. - - - - There is already another resource with the name '{0}'. - Já existe outro recurso com o nome '{0}'. - {0} = Resource name - - - The resource was not of the expected type. - O recurso não era do tipo esperado. - This error can happen if, for example, you try to add foo.bmp to the resource editor, but foo.bmp is really a metafile. - - - Unable to create new resource file '{0}'. {1} - Não foi possível criar o novo arquivo de recurso '{0}'. {1} - {0} = file name and path, {1} = additional error information - - - Unable to play the audio resource. {0} - Não é possível executar o recurso de áudio. {0} - {0} = Additional error information. - - - Resource '{0}' cannot be saved to a file. - O recurso '{0}' não pode ser salvo em um arquivo. - {0} = Resource name - - - The operation has been canceled by the user. - A operação foi cancelada pelo usuário. - - - - The resource value contains invalid data or has an incorrect format. - O valor do recurso contém dados inválidos ou tem um formato incorreto. - - - - The name of the resource '{0}' cannot be used as a valid identifier, because it contains one or more invalid characters: '{1}'. Please remove or replace those characters and try again. - O nome do recurso '{0}' não pode ser usado como um identificador válido, pois ele contém um ou mais caracteres inválidos: '{1}'. Remova ou substitua esses caracteres e tente novamente. - {0} = Resource name - - - Too many files specified. Please select fewer files and try again. - Há arquivos demais especificados. Selecione menos arquivos e tente novamente. - - Unexpected error. - Erro inesperado. + Unexpected error. Theoretically possible but we really don't expect to happen. Unexpected, internal error. Unable to load internal localized resource '{0}'. - Não é possível carregar o recurso localizado internamente '{0}'. + Unable to load internal localized resource '{0}'. Theoretically possible but we really don't expect to happen. Unexpected, internal error. - - The value could not be converted into a resource of type {0}. - -{1} - Não foi possível converter o valor em um recurso do tipo {0}. - -{1} - {0} = the type that was expected by the resource editor (e.g. System.Drawing.Point) -{1} = more specific additional error message from the system - - - The value cannot be empty in a resource of type {0}. - O valor não pode ficar vazio em um recurso do tipo {0}. - {0} = the type that was expected by the resource editor (e.g. System.Drawing.Point) - - - One or more of the selected resource values could not be cleared. - Não foi possível remover um ou mais valores de recurso selecionados. - - - - The resource file cannot be modified at this time. - O arquivo de recurso não pode ser modificado neste momento. + + The operation has been canceled by the user. + The operation has been canceled by the user. - - You are trying to edit a resource file that is a part of another project item (such as a form or a control). Editing this item could corrupt the project item, and you will have to recover it by hand. In addition, changes made to this resource file may be lost if further changes are made to the project item. - -Do you really want to edit this file? - Você está tentando editar um arquivo de recurso que faz parte de outro item de projeto (como um formulário ou controle). A edição desse item pode corromper o item de projeto e será preciso recuperá-lo manualmente. Além disso, as alterações feitas nesse arquivo de recurso podem ser perdidas se forem feitas alterações futuras no item de projeto. - -Deseja realmente editar esse arquivo? - - - - The resource '{0}' cannot be added. - O recurso '{0}' não pode ser adicionado. - {0} - name of the resource - - - The device does not support '{0}' files. - O dispositivo não dá suporte a arquivos '{0}'. - {0} - the extension of the file name like 'tiff' - - - The resource item uses the type '{0}', which is not supported in this project. - O item de recurso usa o tipo '{0}', que não tem suporte neste projeto. - {0} - name of the type - - - The resource item(s) {0} cannot be saved correctly. The item(s) will be discarded. - Os itens de recurso {0} não podem ser salvos corretamente. Os itens serão descartados. - {0} - name list of the resource - - - '{0}' - '{0}' - {0} - name - - - {0}, '{1}' - {0}, '{1}' - # {0} - name list -# {1} - another name - - - (Nothing/null) - (Nada/nulo) - Displayed in a string table for values of Nothing/null -CONSIDER: get this from CodeDom - - - (Unknown type) - (Tipo desconhecido) - This actually shouldn't be needed, but if we get an exception trying to get the type name of an entry in the resx file (not supposed to happen), then we'll display this as its type. - - - (Value cannot be displayed) - (O valor não pode ser exibido) - Displayed in a string table for values which cannot be edited by the user - - - Name - Nome - Columns for the "Details" view of the resource editor - - - Filename - Nome do Arquivo - Columns for the "Details" view of the resource editor - - - Type - Tipo - Columns for the "Details" view of the resource editor - - - Size - Tamanho - Columns for the "Details" view of the resource editor - - - Comment - Comentário - Columns for the "Details" view of the resource editor - - - {0} x {1} - {0} x {1} - Format string for showing a graphic's size - -# {0} = width (as an integer) -# {1} = height (as an integer) -#Example, for a bitmap of width=123, height = 456, the English version of this string would be "123x456" - - - {0} KB - {0} KB - #Format string for showing a file's size -# {0} = length in kilobytes - - - {0} byte(s) - {0} byte(s) - Format string for showing a file's size. -{0} = length in bytes - - - Strings - Cadeias de Caracteres - Resource category names (these show up in the category buttons in the ToolStrip at the top of the resource editor) - - - Images - Imagens - Resource category names (these show up in the category buttons in the ToolStrip at the top of the resource editor) - - - Icons - Ícones - Resource category names (these show up in the category buttons in the ToolStrip at the top of the resource editor) - - - Audio - Áudio - Resource category names (these show up in the category buttons in the ToolStrip at the top of the resource editor) - - - Files - Arquivos - Resource category names (these show up in the category buttons in the ToolStrip at the top of the resource editor) - - - Other - Outro - Resource category names (these show up in the category buttons in the ToolStrip at the top of the resource editor) - - - Windows Bitmap - Bitmap do Windows - Friendly Image types - - - EXIF Image - Imagem EXIF - Friendly Image types - - - Graphics Interchange Format - Graphics Interchange Format - Friendly Image types - - - JPEG File Interchange Format - Formato de Intercâmbio de Arquivo JPEG - Friendly Image types - - - Windows Bitmap - Bitmap do Windows - Friendly Image types - - - Portable Network Graphics - formato PNG - Friendly Image types - - - Tag Image File Format - Formato TIFF - Friendly Image types - - - Icon - Ícone - Friendly Image types - - - Text File - Arquivo de Texto - Friendly Image types - - - Binary File - Arquivo Binário - - - - Wave Sound - Som Wave - Friendly Image types - - - Linked at compile time - Vinculado no tempo de compilação - File Persistence Mode - - - Embedded in .resx - Inserido no .resx - File Persistence Mode - - - Bitmaps - Bitmaps - # File dialog filters -# -# E.g., for icons, the actual filter created would look like "Icons (*.ico)". These resources -# represent the first part of that filter -# - Icons - Ícones - # File dialog filters -# -# E.g., for icons, the actual filter created would look like "Icons (*.ico)". These resources -# represent the first part of that filter -# - - - Audio - Áudio - # File dialog filters -# -# E.g., for icons, the actual filter created would look like "Icons (*.ico)". These resources -# represent the first part of that filter -# - - - Text Files - Arquivos de Texto - # File dialog filters -# -# E.g., for icons, the actual filter created would look like "Icons (*.ico)". These resources -# represent the first part of that filter -# - - - All Files - Todos os Arquivos - # File dialog filters -# -# E.g., for icons, the actual filter created would look like "Icons (*.ico)". These resources -# represent the first part of that filter -# - - - Windows Bitmap - Bitmap do Windows + Icons # File dialog filters # # E.g., for icons, the actual filter created would look like "Icons (*.ico)". These resources # represent the first part of that filter # - - Portable Network Graphics - formato PNG - # File dialog filters -# -# E.g., for icons, the actual filter created would look like "Icons (*.ico)". These resources -# represent the first part of that filter -# - - - Graphics Interchange Format - Formato de intercâmbio de gráficos - # File dialog filters -# -# E.g., for icons, the actual filter created would look like "Icons (*.ico)". These resources -# represent the first part of that filter -# - - - JPEG File Interchange Format - Formato de Intercâmbio de Arquivo JPEG - # File dialog filters -# -# E.g., for icons, the actual filter created would look like "Icons (*.ico)". These resources -# represent the first part of that filter -# - - - Tag Image File Format - Formato TIFF - # File dialog filters -# -# E.g., for icons, the actual filter created would look like "Icons (*.ico)". These resources -# represent the first part of that filter -# - - - Icon - Ícone + + License Files + License Files # File dialog filters # # E.g., for icons, the actual filter created would look like "Icons (*.ico)". These resources # represent the first part of that filter # - - Managed Resources Editor - Editor de Recursos Gerenciados - - - - Add existing file to resources - Adicionar arquivo existente aos recursos - - - - Import file into resource '{0}' - Importar arquivo no recurso '{0}' - {0} = Name of resource being imported into - - - Export resource '{0}' to file - Exportar o recurso '{0}' para arquivo - {0} = Name of resource being exported from - - - Please specify where to save the new file - Especifique onde o novo arquivo será salvo - - - - The file '{0}' already exists. Do you want to replace it? - O arquivo '{0}' já existe. Deseja substituí-lo? - {0} = full file path and name - - - The following files already exist. Do you want to replace them? - Os arquivos a seguir já existem. Deseja substituí-los? - - - - Select a folder in which to export the resources. - Selecione uma pasta para a qual exportar os recursos. - - - - Do you want to continue anyway? - Deseja continuar assim mesmo? - - - - Resource '{0}' could not be loaded because the file to which it is linked could not be found: {1}. - Não foi possível carregar o recurso '{0}', pois o arquivo ao qual ele está vinculado não foi encontrado: {1}. - {0} = resource name that had the error, {1} = file path/name that could not be found - - - Resource '{0}' could not be instantiated. {1} - O recurso '{0}' não pôde ser instanciado. {1} - {0} = resource name that had the error, {1} = extended error information - - - Resource '{0}' has a name that is not recommended and that may cause compilation errors in your code. Please choose another name. - O recurso '{0}' tem um nome que não é recomendado e que pode causar erros de compilação no código. Escolha outro nome. - {0} = resource name that had the error - Unable to set the Custom Tool or Custom Tool Namespace properties of this file in order to change strongly-typed resource generation options. If the project file is checked in, try checking it out. - Não é possível definir as propriedades Ferramenta Personalizada ou Namespace de Ferramenta Personalizada deste arquivo para alterar as opções de geração de recursos fortemente tipados. Se o check-in do arquivo de projeto tiver sido feito, tente fazer check-out. + Unable to set the Custom Tool or Custom Tool Namespace properties of this file in order to change strongly-typed resource generation options. If the project file is checked in, try checking it out. One possible source for this error is that source code control checkout failed or was canceled. - - The resource name '{0}' is not a valid identifier. - O nome de recurso '{0}' não é um identificador válido. - - - - {0} - Codepage {1} - {0} – Página do Código {1} - {0} = encoding name (e.g., "Western European (Windows)"), {1} = code page # (e.g., 85001) - - - (Default) - (Padrão) - - - - Change resource name - Alterar nome de recurso - - - - Add {0} new resource(s) - Adicionar {0} novo(s) recurso(s) - {0} = number of resources added - - - Remove {0} resource(s) - Remover {0} recurso(s) - {0} = number of resources removed - - - Delete values in {0} cell(s) - Excluir valores em {0} célula(s) - {0} = number of cells cleared - - - Name used to identify the resource in code. - Nome usado para identificar o recurso no código. - - - - Additional information about the resource. This property is only meaningful at design time. - Informações adicionais sobre o recurso. Esta propriedade é útil apenas no tempo de design. - - - - Character encoding of the file. - Codificação de caracteres do arquivo. - - - - The path to the linked resource. - O caminho para o recurso vinculado. - - - - Specifies whether the file resource is text or binary. - Especifica se o arquivo de recurso é texto ou binário. - - - - Specifies whether the resource is embedded or linked. Embedded resources are saved in the resource file. Linked resources reside in an external location on disk. - Especifica se o recurso é inserido ou vinculado. Os recursos inseridos são salvos no arquivo de recurso. Os recursos vinculados residem em um local externo no disco. - - - - The resource will be generated as this type in the strongly-typed resource class. For example, the resource might be generated as a String or Bitmap object. - O recurso será gerado como este tipo na classe de recursos fortemente tipados. Por exemplo, o recurso pode ser gerado como um objeto Bitmap ou String. - - - - The value of the resource. - O valor do recurso. + + If this is not a Settings-Designer file then use 'Open With' to open it in a text editor. + Se este não for um arquivo Settings-Designer, use 'Abrir com' para abri-lo em um editor de texto. @@ -1859,6 +1331,11 @@ Deseja atualizar o valor no arquivo .settings? Um ou mais arquivos foram recarregados durante o check-out. Tente realizar sua operação novamente. + + Failed to generate file: {0} + Failed to generate file: {0} + + Invalid XML Format: {0} Formato XML Inválido: {0} @@ -1999,15 +1476,6 @@ Deseja atualizar o valor no arquivo .settings? Metarquivo estendido - - License Files - Arquivos de licença - # File dialog filters -# -# E.g., for icons, the actual filter created would look like "Icons (*.ico)". These resources -# represent the first part of that filter -# - Code Analysis Análise de Código diff --git a/src/Microsoft.VisualStudio.Editors/Resources/xlf/Microsoft.VisualStudio.Editors.Designer.ru.xlf b/src/Microsoft.VisualStudio.Editors/Resources/xlf/Microsoft.VisualStudio.Editors.Designer.ru.xlf index 02ff0382928..bb5033dddbd 100644 --- a/src/Microsoft.VisualStudio.Editors/Resources/xlf/Microsoft.VisualStudio.Editors.Designer.ru.xlf +++ b/src/Microsoft.VisualStudio.Editors/Resources/xlf/Microsoft.VisualStudio.Editors.Designer.ru.xlf @@ -666,575 +666,47 @@ Changing this setting will reset the settings in all configurations. Требуется: - - Name - Имя - Column names for the string table - - - Type - Тип - Column names for the string table - - - Value - Значение - Column names for the string table - - - Comment - Комментарий - Column names for the string table - - - If this is not a Settings-Designer file then use 'Open With' to open it in a text editor. - Если это не файл Settings-Designer, откройте его в текстовом редакторе с помощью команды "Открыть с помощью". - - - - Failed to generate file: {0} - Не удалось создать файл: {0} - - - - Editing embedded resources directly is not supported. Do you wish to convert this item to a linked resource in order to edit it? - Изменение внедренных ресурсов напрямую не поддерживается. Преобразовать этот элемент в связанный ресурс для его изменения? - - - - The current object is auto-generated and only supports renaming through the Managed Resources Editor. - Текущий объект создан автоматически и поддерживает переименование только с помощью редактора управляемых ресурсов. - - - - Cannot find the file '{0}'. It may have been moved or deleted. - Невозможно найти файл "{0}". Возможно, он был перемещен или удален. - {0} = file name and path - - - Unable to load resource from file '{0}'. - Не удается загрузить ресурс из файла "{0}". - {0} = file name and path - - - The resource name cannot be empty. - Имя ресурса не может быть пустым. - - - - There is already another resource with the name '{0}'. - Уже имеется другой ресурс с именем "{0}". - {0} = Resource name - - - The resource was not of the expected type. - Непредвиденный тип ресурса - This error can happen if, for example, you try to add foo.bmp to the resource editor, but foo.bmp is really a metafile. - - - Unable to create new resource file '{0}'. {1} - Не удается создать файл ресурсов "{0}". {1} - {0} = file name and path, {1} = additional error information - - - Unable to play the audio resource. {0} - Невозможно воспроизвести звуковой ресурс. {0} - {0} = Additional error information. - - - Resource '{0}' cannot be saved to a file. - Ресурс "{0}" нельзя сохранить в файл. - {0} = Resource name - - - The operation has been canceled by the user. - Операция была прервана пользователем. - - - - The resource value contains invalid data or has an incorrect format. - Значение ресурса введено в неправильном формате или содержит недопустимые данные. - - - - The name of the resource '{0}' cannot be used as a valid identifier, because it contains one or more invalid characters: '{1}'. Please remove or replace those characters and try again. - Имя ресурса "{0}" не может быть действительным идентификатором, так как оно содержит один или несколько недопустимых символов: "{1}". Удалите или замените эти символы и повторите попытку. - {0} = Resource name - - - Too many files specified. Please select fewer files and try again. - Указано слишком много файлов. Выберите меньше файлов и повторите попытку. - - Unexpected error. - Непредвиденная ошибка. + Unexpected error. Theoretically possible but we really don't expect to happen. Unexpected, internal error. Unable to load internal localized resource '{0}'. - Не удалось загрузить внутренний локализованный ресурс "{0}". + Unable to load internal localized resource '{0}'. Theoretically possible but we really don't expect to happen. Unexpected, internal error. - - The value could not be converted into a resource of type {0}. - -{1} - Значение нельзя преобразовать в ресурс с типом "{0}". - -{1} - {0} = the type that was expected by the resource editor (e.g. System.Drawing.Point) -{1} = more specific additional error message from the system - - - The value cannot be empty in a resource of type {0}. - Значение не может быть пустым в ресурсе типа {0}. - {0} = the type that was expected by the resource editor (e.g. System.Drawing.Point) - - - One or more of the selected resource values could not be cleared. - Не удалось очистить одно или несколько значений ресурса. - - - - The resource file cannot be modified at this time. - В данный момент невозможно изменить файл ресурсов. + + The operation has been canceled by the user. + The operation has been canceled by the user. - - You are trying to edit a resource file that is a part of another project item (such as a form or a control). Editing this item could corrupt the project item, and you will have to recover it by hand. In addition, changes made to this resource file may be lost if further changes are made to the project item. - -Do you really want to edit this file? - Вы пытаетесь изменить файл ресурса, являющийся частью другого элемента проекта (например, формы или элемента управления). Изменение этого элемента может повредить элемент проекта, и вам потребуется восстановить его вручную. Кроме того, изменения, внесенные в этот файл ресурса, могут быть утеряны при последующем изменении элемента проекта. - -Действительно изменить этот файл? - - - - The resource '{0}' cannot be added. - Невозможно добавить ресурс "{0}". - {0} - name of the resource - - - The device does not support '{0}' files. - Устройство не поддерживает файлы "{0}". - {0} - the extension of the file name like 'tiff' - - - The resource item uses the type '{0}', which is not supported in this project. - Для элемента ресурса используется тип "{0}", который не поддерживается в этом проекте. - {0} - name of the type - - - The resource item(s) {0} cannot be saved correctly. The item(s) will be discarded. - Невозможно правильно сохранить элементы ресурса "{0}". Элементы будут отменены. - {0} - name list of the resource - - - '{0}' - "{0}" - {0} - name - - - {0}, '{1}' - {0}, "{1}" - # {0} - name list -# {1} - another name - - - (Nothing/null) - (Нет/null) - Displayed in a string table for values of Nothing/null -CONSIDER: get this from CodeDom - - - (Unknown type) - (Неизвестный тип) - This actually shouldn't be needed, but if we get an exception trying to get the type name of an entry in the resx file (not supposed to happen), then we'll display this as its type. - - - (Value cannot be displayed) - (Значение невозможно вывести на экран) - Displayed in a string table for values which cannot be edited by the user - - - Name - Имя - Columns for the "Details" view of the resource editor - - - Filename - Имя файла - Columns for the "Details" view of the resource editor - - - Type - Тип - Columns for the "Details" view of the resource editor - - - Size - Размер - Columns for the "Details" view of the resource editor - - - Comment - Комментарий - Columns for the "Details" view of the resource editor - - - {0} x {1} - {0} x {1} - Format string for showing a graphic's size - -# {0} = width (as an integer) -# {1} = height (as an integer) -#Example, for a bitmap of width=123, height = 456, the English version of this string would be "123x456" - - - {0} KB - {0} КБ - #Format string for showing a file's size -# {0} = length in kilobytes - - - {0} byte(s) - {0} байт - Format string for showing a file's size. -{0} = length in bytes - - - Strings - Строки - Resource category names (these show up in the category buttons in the ToolStrip at the top of the resource editor) - - - Images - Изображения - Resource category names (these show up in the category buttons in the ToolStrip at the top of the resource editor) - - - Icons - Значки - Resource category names (these show up in the category buttons in the ToolStrip at the top of the resource editor) - - - Audio - Звук - Resource category names (these show up in the category buttons in the ToolStrip at the top of the resource editor) - - - Files - Файлы - Resource category names (these show up in the category buttons in the ToolStrip at the top of the resource editor) - - - Other - Другое - Resource category names (these show up in the category buttons in the ToolStrip at the top of the resource editor) - - - Windows Bitmap - Точечный рисунок Windows - Friendly Image types - - - EXIF Image - Изображение EXIF - Friendly Image types - - - Graphics Interchange Format - Формат GIF - Friendly Image types - - - JPEG File Interchange Format - Формат обмена файлами JPEG - Friendly Image types - - - Windows Bitmap - Точечный рисунок Windows - Friendly Image types - - - Portable Network Graphics - Формат PNG - Friendly Image types - - - Tag Image File Format - Формат TIFF - Friendly Image types - - - Icon - Значок - Friendly Image types - - - Text File - Текстовый файл - Friendly Image types - - - Binary File - Двоичный файл - - - - Wave Sound - Звукозапись - Friendly Image types - - - Linked at compile time - Скомпоновано во время компиляции - File Persistence Mode - - - Embedded in .resx - Внедрено в RESX-файл - File Persistence Mode - - - Bitmaps - Точечные рисунки - # File dialog filters -# -# E.g., for icons, the actual filter created would look like "Icons (*.ico)". These resources -# represent the first part of that filter -# - Icons - Значки - # File dialog filters -# -# E.g., for icons, the actual filter created would look like "Icons (*.ico)". These resources -# represent the first part of that filter -# - - - Audio - Звук - # File dialog filters -# -# E.g., for icons, the actual filter created would look like "Icons (*.ico)". These resources -# represent the first part of that filter -# - - - Text Files - Текстовые файлы - # File dialog filters -# -# E.g., for icons, the actual filter created would look like "Icons (*.ico)". These resources -# represent the first part of that filter -# - - - All Files - Все файлы - # File dialog filters -# -# E.g., for icons, the actual filter created would look like "Icons (*.ico)". These resources -# represent the first part of that filter -# - - - Windows Bitmap - Точечный рисунок Windows + Icons # File dialog filters # # E.g., for icons, the actual filter created would look like "Icons (*.ico)". These resources # represent the first part of that filter # - - Portable Network Graphics - Формат PNG - # File dialog filters -# -# E.g., for icons, the actual filter created would look like "Icons (*.ico)". These resources -# represent the first part of that filter -# - - - Graphics Interchange Format - Формат GIF - # File dialog filters -# -# E.g., for icons, the actual filter created would look like "Icons (*.ico)". These resources -# represent the first part of that filter -# - - - JPEG File Interchange Format - Формат обмена файлами JPEG - # File dialog filters -# -# E.g., for icons, the actual filter created would look like "Icons (*.ico)". These resources -# represent the first part of that filter -# - - - Tag Image File Format - Формат TIFF - # File dialog filters -# -# E.g., for icons, the actual filter created would look like "Icons (*.ico)". These resources -# represent the first part of that filter -# - - - Icon - Значок + + License Files + License Files # File dialog filters # # E.g., for icons, the actual filter created would look like "Icons (*.ico)". These resources # represent the first part of that filter # - - Managed Resources Editor - Редактор управляемых ресурсов - - - - Add existing file to resources - Добавить существующий файл к ресурсам - - - - Import file into resource '{0}' - Импорт файла в ресурс "{0}" - {0} = Name of resource being imported into - - - Export resource '{0}' to file - Экспорт ресурса "{0}" в файл - {0} = Name of resource being exported from - - - Please specify where to save the new file - Укажите, где следует сохранить новый файл - - - - The file '{0}' already exists. Do you want to replace it? - Файл "{0}" уже существует. Заменить его? - {0} = full file path and name - - - The following files already exist. Do you want to replace them? - Следующие файлы уже существуют. Заменить их? - - - - Select a folder in which to export the resources. - Выберите папку для экспорта ресурсов. - - - - Do you want to continue anyway? - Все равно продолжить? - - - - Resource '{0}' could not be loaded because the file to which it is linked could not be found: {1}. - Невозможно загрузить ресурс "{0}", так как не удалось обнаружить связанный с ним файл: {1}. - {0} = resource name that had the error, {1} = file path/name that could not be found - - - Resource '{0}' could not be instantiated. {1} - Не удалось создать экземпляр ресурса "{0}". {1} - {0} = resource name that had the error, {1} = extended error information - - - Resource '{0}' has a name that is not recommended and that may cause compilation errors in your code. Please choose another name. - Ресурс "{0}" имеет имя, которое не рекомендуется использовать, так как оно может вызвать ошибки компиляции в вашем коде. Выберите другое имя. - {0} = resource name that had the error - Unable to set the Custom Tool or Custom Tool Namespace properties of this file in order to change strongly-typed resource generation options. If the project file is checked in, try checking it out. - Не удалось задать свойства "Пользовательский инструмент" и "Пространство имен пользовательского инструмента" для этого файла. Они необходимы для изменения параметров создания для ресурса со строгой типизацией. Если файл проекта возвращен, попытайтесь получить его для изменения. + Unable to set the Custom Tool or Custom Tool Namespace properties of this file in order to change strongly-typed resource generation options. If the project file is checked in, try checking it out. One possible source for this error is that source code control checkout failed or was canceled. - - The resource name '{0}' is not a valid identifier. - Имя ресурса "{0}" не является допустимым идентификатором. - - - - {0} - Codepage {1} - {0} — кодовая страница {1} - {0} = encoding name (e.g., "Western European (Windows)"), {1} = code page # (e.g., 85001) - - - (Default) - (По умолчанию) - - - - Change resource name - Изменить имя ресурса - - - - Add {0} new resource(s) - Добавление новых ресурсов: {0} - {0} = number of resources added - - - Remove {0} resource(s) - Удаление ресурсов: {0} - {0} = number of resources removed - - - Delete values in {0} cell(s) - Удаление значений в нескольких ячейках: {0} - {0} = number of cells cleared - - - Name used to identify the resource in code. - Имя, используемое для идентификации ресурса в коде. - - - - Additional information about the resource. This property is only meaningful at design time. - Дополнительные сведения о ресурсе. Это свойство имеет значение только во время разработки. - - - - Character encoding of the file. - Кодировка знаков файла. - - - - The path to the linked resource. - Путь к связанному ресурсу. - - - - Specifies whether the file resource is text or binary. - Указывает, является ли файловый ресурс текстовым или двоичным. - - - - Specifies whether the resource is embedded or linked. Embedded resources are saved in the resource file. Linked resources reside in an external location on disk. - Указывает, является ли ресурс внедренным или связанным. Внедренные ресурсы сохраняются в файле ресурсов. Связанные ресурсы хранятся на диске во внешних папках. - - - - The resource will be generated as this type in the strongly-typed resource class. For example, the resource might be generated as a String or Bitmap object. - Ресурс будет создан как данный тип в классе ресурсов строго заданного типа. Например, ресурс может быть создан как объект "Строка" или "Точечный рисунок". - - - - The value of the resource. - Значение ресурса. + + If this is not a Settings-Designer file then use 'Open With' to open it in a text editor. + Если это не файл Settings-Designer, откройте его в текстовом редакторе с помощью команды "Открыть с помощью". @@ -1859,6 +1331,11 @@ Do you want to update the value in the .settings file? Во время извлечения был перезагружен один или несколько файлов. Повторите операцию. + + Failed to generate file: {0} + Failed to generate file: {0} + + Invalid XML Format: {0} Недопустимый формат XML: {0} @@ -1999,15 +1476,6 @@ Do you want to update the value in the .settings file? Расширенный метафайл - - License Files - Файлы лицензии - # File dialog filters -# -# E.g., for icons, the actual filter created would look like "Icons (*.ico)". These resources -# represent the first part of that filter -# - Code Analysis Code Analysis diff --git a/src/Microsoft.VisualStudio.Editors/Resources/xlf/Microsoft.VisualStudio.Editors.Designer.tr.xlf b/src/Microsoft.VisualStudio.Editors/Resources/xlf/Microsoft.VisualStudio.Editors.Designer.tr.xlf index 59d341dcb85..06ce029bb55 100644 --- a/src/Microsoft.VisualStudio.Editors/Resources/xlf/Microsoft.VisualStudio.Editors.Designer.tr.xlf +++ b/src/Microsoft.VisualStudio.Editors/Resources/xlf/Microsoft.VisualStudio.Editors.Designer.tr.xlf @@ -666,575 +666,47 @@ Bu ayarın değiştirilmesi, tüm yapılandırmaların ayarlarını sıfırlar.< Şunları gerektirir: - - Name - Ad - Column names for the string table - - - Type - Tür - Column names for the string table - - - Value - Değer - Column names for the string table - - - Comment - Açıklama - Column names for the string table - - - If this is not a Settings-Designer file then use 'Open With' to open it in a text editor. - Bu bir Ayarlar Tasarımcısı dosyası değilse 'Birlikte Aç' seçeneğini kullanarak dosyayı bir metin düzenleyicide açın. - - - - Failed to generate file: {0} - Dosya oluşturulamadı: {0} - - - - Editing embedded resources directly is not supported. Do you wish to convert this item to a linked resource in order to edit it? - Ekli kaynakların doğrudan düzenlenmesi desteklenmiyor. Bu öğeyi, düzenlemek üzere bağlı bir kaynağa dönüştürmek istiyor musunuz? - - - - The current object is auto-generated and only supports renaming through the Managed Resources Editor. - Geçerli nesne otomatik olarak oluşturuldu ve yalnızca Yönetilen Kaynak Düzenleyici tarafından yeniden adlandırılması destekleniyor. - - - - Cannot find the file '{0}'. It may have been moved or deleted. - '{0}' dosyası bulunamıyor. Taşınmış veya silinmiş olabilir. - {0} = file name and path - - - Unable to load resource from file '{0}'. - '{0}' dosyasından kaynak yüklenemiyor. - {0} = file name and path - - - The resource name cannot be empty. - Kaynak adı boş olamaz. - - - - There is already another resource with the name '{0}'. - '{0}' adlı başka bir kaynak zaten var. - {0} = Resource name - - - The resource was not of the expected type. - Kaynak beklenen türde değildi. - This error can happen if, for example, you try to add foo.bmp to the resource editor, but foo.bmp is really a metafile. - - - Unable to create new resource file '{0}'. {1} - '{0}' adlı yeni kaynak dosyası oluşturulamıyor. {1} - {0} = file name and path, {1} = additional error information - - - Unable to play the audio resource. {0} - Ses kaynağı yürütülemiyor. {0} - {0} = Additional error information. - - - Resource '{0}' cannot be saved to a file. - '{0}' kaynağı dosyaya kaydedilemiyor. - {0} = Resource name - - - The operation has been canceled by the user. - İşlem kullanıcı tarafından iptal edildi. - - - - The resource value contains invalid data or has an incorrect format. - Kaynak değer geçersiz veri içeriyor ya da yanlış biçimde. - - - - The name of the resource '{0}' cannot be used as a valid identifier, because it contains one or more invalid characters: '{1}'. Please remove or replace those characters and try again. - Bir veya birden fazla geçersiz karakter içerdiği için '{0}' kaynağının adı geçerli bir tanımlayıcı olarak kullanılamıyor: '{1}'. Bu karakterleri kaldırın veya değiştirin ve yeniden deneyin. - {0} = Resource name - - - Too many files specified. Please select fewer files and try again. - Çok fazla dosya belirtildi. Lütfen daha az dosya seçin ve tekrar deneyin. - - Unexpected error. - Beklenmeyen hata. + Unexpected error. Theoretically possible but we really don't expect to happen. Unexpected, internal error. Unable to load internal localized resource '{0}'. - Dahili '{0}' yerelleştirilmiş kaynağı yüklenemiyor. + Unable to load internal localized resource '{0}'. Theoretically possible but we really don't expect to happen. Unexpected, internal error. - - The value could not be converted into a resource of type {0}. - -{1} - Değer, {0} türündeki kaynağa dönüştürülemedi. - -{1} - {0} = the type that was expected by the resource editor (e.g. System.Drawing.Point) -{1} = more specific additional error message from the system - - - The value cannot be empty in a resource of type {0}. - {0} türü bir kaynakta bu değer boş olamaz. - {0} = the type that was expected by the resource editor (e.g. System.Drawing.Point) - - - One or more of the selected resource values could not be cleared. - Seçili kaynak değerlerinden bir veya daha fazlası temizlenemedi. - - - - The resource file cannot be modified at this time. - Şu anda kaynak dosyası değiştirilemez. + + The operation has been canceled by the user. + The operation has been canceled by the user. - - You are trying to edit a resource file that is a part of another project item (such as a form or a control). Editing this item could corrupt the project item, and you will have to recover it by hand. In addition, changes made to this resource file may be lost if further changes are made to the project item. - -Do you really want to edit this file? - Başka bir proje öğesinin parçası olan bir kaynak dosyasını düzenlemeye çalışıyorsunuz (form veya denetim gibi). Bu öğenin düzenlenmesi, proje öğesini bozabilir ve bu durumda öğeyi el ile kurtarmanız gerekir. Ayrıca, proje öğesinde başka değişiklikler yapılırsa bu kaynak dosyasında yapılan değişiklikler kaybedilebilir. - -Bu dosyayı düzenlemek istediğinizden emin misiniz? - - - - The resource '{0}' cannot be added. - '{0}' adlı kaynak eklenemiyor. - {0} - name of the resource - - - The device does not support '{0}' files. - Cihaz '{0}' dosyalarını desteklemez. - {0} - the extension of the file name like 'tiff' - - - The resource item uses the type '{0}', which is not supported in this project. - Kaynak öğesi bu projede desteklenmeyen '{0}' türünü kullanıyor. - {0} - name of the type - - - The resource item(s) {0} cannot be saved correctly. The item(s) will be discarded. - Şu kaynak öğeleri doğru şekilde kaydedilemiyor: {0}. Öğeler atılacak. - {0} - name list of the resource - - - '{0}' - '{0}' - {0} - name - - - {0}, '{1}' - {0}, '{1}' - # {0} - name list -# {1} - another name - - - (Nothing/null) - (Yok/null) - Displayed in a string table for values of Nothing/null -CONSIDER: get this from CodeDom - - - (Unknown type) - (Bilinmeyen tür) - This actually shouldn't be needed, but if we get an exception trying to get the type name of an entry in the resx file (not supposed to happen), then we'll display this as its type. - - - (Value cannot be displayed) - (Değer adı görüntülenemiyor) - Displayed in a string table for values which cannot be edited by the user - - - Name - Ad - Columns for the "Details" view of the resource editor - - - Filename - Dosya adı - Columns for the "Details" view of the resource editor - - - Type - Tür - Columns for the "Details" view of the resource editor - - - Size - Boyut - Columns for the "Details" view of the resource editor - - - Comment - Açıklama - Columns for the "Details" view of the resource editor - - - {0} x {1} - {0} x {1} - Format string for showing a graphic's size - -# {0} = width (as an integer) -# {1} = height (as an integer) -#Example, for a bitmap of width=123, height = 456, the English version of this string would be "123x456" - - - {0} KB - {0} KB - #Format string for showing a file's size -# {0} = length in kilobytes - - - {0} byte(s) - {0} bayt - Format string for showing a file's size. -{0} = length in bytes - - - Strings - Dizeler - Resource category names (these show up in the category buttons in the ToolStrip at the top of the resource editor) - - - Images - Görüntüler - Resource category names (these show up in the category buttons in the ToolStrip at the top of the resource editor) - - - Icons - Simgeler - Resource category names (these show up in the category buttons in the ToolStrip at the top of the resource editor) - - - Audio - Ses - Resource category names (these show up in the category buttons in the ToolStrip at the top of the resource editor) - - - Files - Dosyalar - Resource category names (these show up in the category buttons in the ToolStrip at the top of the resource editor) - - - Other - Diğer - Resource category names (these show up in the category buttons in the ToolStrip at the top of the resource editor) - - - Windows Bitmap - Windows Bit Eşlem - Friendly Image types - - - EXIF Image - EXIF Resmi - Friendly Image types - - - Graphics Interchange Format - Grafik Değişim Biçimi - Friendly Image types - - - JPEG File Interchange Format - JPEG Dosya Değişim Biçimi - Friendly Image types - - - Windows Bitmap - Windows Bit Eşlem - Friendly Image types - - - Portable Network Graphics - Taşınabilir Ağ Grafikleri - Friendly Image types - - - Tag Image File Format - Etiketli Resim Dosyası Biçimi - Friendly Image types - - - Icon - Simge - Friendly Image types - - - Text File - Metin Dosyası - Friendly Image types - - - Binary File - İkili Dosya - - - - Wave Sound - Ses Dalgası - Friendly Image types - - - Linked at compile time - Derleme zamanında bağlandı - File Persistence Mode - - - Embedded in .resx - .resx biçiminde eklendi - File Persistence Mode - - - Bitmaps - Bit eşlemler - # File dialog filters -# -# E.g., for icons, the actual filter created would look like "Icons (*.ico)". These resources -# represent the first part of that filter -# - Icons - Simgeler - # File dialog filters -# -# E.g., for icons, the actual filter created would look like "Icons (*.ico)". These resources -# represent the first part of that filter -# - - - Audio - Ses - # File dialog filters -# -# E.g., for icons, the actual filter created would look like "Icons (*.ico)". These resources -# represent the first part of that filter -# - - - Text Files - Metin Dosyaları - # File dialog filters -# -# E.g., for icons, the actual filter created would look like "Icons (*.ico)". These resources -# represent the first part of that filter -# - - - All Files - Tüm Dosyalar - # File dialog filters -# -# E.g., for icons, the actual filter created would look like "Icons (*.ico)". These resources -# represent the first part of that filter -# - - - Windows Bitmap - Windows Bit Eşlem + Icons # File dialog filters # # E.g., for icons, the actual filter created would look like "Icons (*.ico)". These resources # represent the first part of that filter # - - Portable Network Graphics - Taşınabilir Ağ Grafikleri - # File dialog filters -# -# E.g., for icons, the actual filter created would look like "Icons (*.ico)". These resources -# represent the first part of that filter -# - - - Graphics Interchange Format - Grafik Değişim Biçimi - # File dialog filters -# -# E.g., for icons, the actual filter created would look like "Icons (*.ico)". These resources -# represent the first part of that filter -# - - - JPEG File Interchange Format - JPEG Dosya Değişim Biçimi - # File dialog filters -# -# E.g., for icons, the actual filter created would look like "Icons (*.ico)". These resources -# represent the first part of that filter -# - - - Tag Image File Format - Etiketli Resim Dosyası Biçimi - # File dialog filters -# -# E.g., for icons, the actual filter created would look like "Icons (*.ico)". These resources -# represent the first part of that filter -# - - - Icon - Simge + + License Files + License Files # File dialog filters # # E.g., for icons, the actual filter created would look like "Icons (*.ico)". These resources # represent the first part of that filter # - - Managed Resources Editor - Yönetilen Kaynak Düzenleyicisi - - - - Add existing file to resources - Kaynaklara var olan dosya ekleme - - - - Import file into resource '{0}' - Dosyayı '{0}' kaynağına aktarma - {0} = Name of resource being imported into - - - Export resource '{0}' to file - '{0}' kaynağını dosyaya aktarma - {0} = Name of resource being exported from - - - Please specify where to save the new file - Yeni dosyanın nereye kaydedileceğini belirtin - - - - The file '{0}' already exists. Do you want to replace it? - '{0}' dosyası zaten var. Değiştirmek istiyor musunuz? - {0} = full file path and name - - - The following files already exist. Do you want to replace them? - Aşağıdaki dosyalar zaten var. Değiştirmek istiyor musunuz? - - - - Select a folder in which to export the resources. - Kaynakları dışa aktarmak için bir klasör seçin. - - - - Do you want to continue anyway? - Yine de devam etmek istiyor musunuz? - - - - Resource '{0}' could not be loaded because the file to which it is linked could not be found: {1}. - Bağlı olduğu dosya bulunamadığı için '{0}' kaynağı yüklenemedi: {1}. - {0} = resource name that had the error, {1} = file path/name that could not be found - - - Resource '{0}' could not be instantiated. {1} - '{0}' kaynağının örneği oluşturulamadı. {1} - {0} = resource name that had the error, {1} = extended error information - - - Resource '{0}' has a name that is not recommended and that may cause compilation errors in your code. Please choose another name. - '{0}' kaynağı önerilmeyen bir ada sahip ve bu durum, kodunuzda derleme hatalarına neden olabilir. Lütfen başka bir ad seçin. - {0} = resource name that had the error - Unable to set the Custom Tool or Custom Tool Namespace properties of this file in order to change strongly-typed resource generation options. If the project file is checked in, try checking it out. - Bu dosya için, kesin tür belirtilmiş kaynak oluşturma seçeneklerini değiştirmek üzere Özel Araç veya Özel Araç Ad Alanı özellikleri ayarlanamıyor. Proje dosyası iade edilmişse, dosyayı kullanıma almayı deneyin. + Unable to set the Custom Tool or Custom Tool Namespace properties of this file in order to change strongly-typed resource generation options. If the project file is checked in, try checking it out. One possible source for this error is that source code control checkout failed or was canceled. - - The resource name '{0}' is not a valid identifier. - '{0}' kaynak adı geçerli bir tanımlayıcı değil. - - - - {0} - Codepage {1} - {0} - Kod sayfası {1} - {0} = encoding name (e.g., "Western European (Windows)"), {1} = code page # (e.g., 85001) - - - (Default) - (Varsayılan) - - - - Change resource name - Kaynak adını değiştir - - - - Add {0} new resource(s) - {0} yeni kaynak ekle - {0} = number of resources added - - - Remove {0} resource(s) - {0} kaynağı kaldır - {0} = number of resources removed - - - Delete values in {0} cell(s) - {0} hücredeki değerleri sil - {0} = number of cells cleared - - - Name used to identify the resource in code. - Kod içindeki kaynağı tanımlamak için kullanılan ad. - - - - Additional information about the resource. This property is only meaningful at design time. - Kaynak ile ilgili ek bilgiler. Bu özellik, yalnızca tasarım zamanında kullanıldığında anlamlıdır. - - - - Character encoding of the file. - Dosyanın karakter kodlaması. - - - - The path to the linked resource. - Bağlantılı kaynak yolu. - - - - Specifies whether the file resource is text or binary. - Dosya kaynağının metin mi yoksa ikili mi olduğunu belirtir. - - - - Specifies whether the resource is embedded or linked. Embedded resources are saved in the resource file. Linked resources reside in an external location on disk. - Kaynağın ekli veya bağlı olduğunu belirtir. Ekli kaynaklar, kaynak dosyasına kaydedilir. Bağlı kaynaklar disk üzerindeki bir dış konumda bulunur. - - - - The resource will be generated as this type in the strongly-typed resource class. For example, the resource might be generated as a String or Bitmap object. - Kaynak, kesin tür belirtilmiş sınıftaki bu tür gibi oluşturulacak. Örneğin kaynak, bir Dize veya Bit Eşlem nesnesi olarak oluşturulabilir. - - - - The value of the resource. - Kaynağın değeri. + + If this is not a Settings-Designer file then use 'Open With' to open it in a text editor. + Bu bir Ayarlar Tasarımcısı dosyası değilse 'Birlikte Aç' seçeneğini kullanarak dosyayı bir metin düzenleyicide açın. @@ -1859,6 +1331,11 @@ app.config dosyasındaki yeni değer: '{1}' Kullanıma alma sırasında bir veya daha fazla dosya yeniden yüklendi. Lütfen işleminizi yeniden deneyin. + + Failed to generate file: {0} + Failed to generate file: {0} + + Invalid XML Format: {0} Geçersiz XML Biçimi: {0} @@ -1999,15 +1476,6 @@ app.config dosyasındaki yeni değer: '{1}' Genişletilmiş Meta Dosyası - - License Files - Lisans Dosyaları - # File dialog filters -# -# E.g., for icons, the actual filter created would look like "Icons (*.ico)". These resources -# represent the first part of that filter -# - Code Analysis Code Analysis diff --git a/src/Microsoft.VisualStudio.Editors/Resources/xlf/Microsoft.VisualStudio.Editors.Designer.zh-Hans.xlf b/src/Microsoft.VisualStudio.Editors/Resources/xlf/Microsoft.VisualStudio.Editors.Designer.zh-Hans.xlf index e5b91ec5d32..4fffc195a2b 100644 --- a/src/Microsoft.VisualStudio.Editors/Resources/xlf/Microsoft.VisualStudio.Editors.Designer.zh-Hans.xlf +++ b/src/Microsoft.VisualStudio.Editors/Resources/xlf/Microsoft.VisualStudio.Editors.Designer.zh-Hans.xlf @@ -666,575 +666,47 @@ Changing this setting will reset the settings in all configurations. 要求: - - Name - 名称 - Column names for the string table - - - Type - 类型 - Column names for the string table - - - Value - - Column names for the string table - - - Comment - 注释 - Column names for the string table - - - If this is not a Settings-Designer file then use 'Open With' to open it in a text editor. - 如果这不是 Settings-Designer 文件,则使用“打开方式”在文本编辑器中打开它。 - - - - Failed to generate file: {0} - 未能生成文件: {0} - - - - Editing embedded resources directly is not supported. Do you wish to convert this item to a linked resource in order to edit it? - 不支持直接编辑嵌入的资源。是否将此项转换为链接资源,以便对其进行编辑? - - - - The current object is auto-generated and only supports renaming through the Managed Resources Editor. - 当前对象是自动生成的,只支持通过托管资源编辑器重命名。 - - - - Cannot find the file '{0}'. It may have been moved or deleted. - 无法找到文件“{0}”。该文件可能已被移动或删除。 - {0} = file name and path - - - Unable to load resource from file '{0}'. - 无法从文件“{0}”加载资源。 - {0} = file name and path - - - The resource name cannot be empty. - 资源名称不能是空的。 - - - - There is already another resource with the name '{0}'. - 已经存在使用名称“{0}”的其他资源。 - {0} = Resource name - - - The resource was not of the expected type. - 资源不是需要的类型。 - This error can happen if, for example, you try to add foo.bmp to the resource editor, but foo.bmp is really a metafile. - - - Unable to create new resource file '{0}'. {1} - 无法创建新的资源文件“{0}”。 {1} - {0} = file name and path, {1} = additional error information - - - Unable to play the audio resource. {0} - 无法播放音频资源。 {0} - {0} = Additional error information. - - - Resource '{0}' cannot be saved to a file. - 无法将资源“{0}”保存到文件中。 - {0} = Resource name - - - The operation has been canceled by the user. - 用户已取消该操作。 - - - - The resource value contains invalid data or has an incorrect format. - 资源值包含无效数据或格式不正确。 - - - - The name of the resource '{0}' cannot be used as a valid identifier, because it contains one or more invalid characters: '{1}'. Please remove or replace those characters and try again. - 资源“{0}”的名称无法用作有效的标识符,因为其含有一个或多个无效字符:“{1}”。请删除或替换这些字符,然后重试。 - {0} = Resource name - - - Too many files specified. Please select fewer files and try again. - 指定的文件过多。请少选一些文件,然后重试。 - - Unexpected error. - 意外错误。 + Unexpected error. Theoretically possible but we really don't expect to happen. Unexpected, internal error. Unable to load internal localized resource '{0}'. - 无法加载内部本地化资源“{0}”。 + Unable to load internal localized resource '{0}'. Theoretically possible but we really don't expect to happen. Unexpected, internal error. - - The value could not be converted into a resource of type {0}. - -{1} - 未能将该值转换为 {0} 类型的资源。 - -{1} - {0} = the type that was expected by the resource editor (e.g. System.Drawing.Point) -{1} = more specific additional error message from the system - - - The value cannot be empty in a resource of type {0}. - 该值在 {0} 类型的资源中不能是空的。 - {0} = the type that was expected by the resource editor (e.g. System.Drawing.Point) - - - One or more of the selected resource values could not be cleared. - 未能清除一个或多个选定资源值。 - - - - The resource file cannot be modified at this time. - 此时无法修改资源文件。 + + The operation has been canceled by the user. + The operation has been canceled by the user. - - You are trying to edit a resource file that is a part of another project item (such as a form or a control). Editing this item could corrupt the project item, and you will have to recover it by hand. In addition, changes made to this resource file may be lost if further changes are made to the project item. - -Do you really want to edit this file? - 尝试编辑的某个资源文件是另一个项目项(如窗体或控件)的一部分。编辑此项可能会损坏该项目项,之后将不得不手动将其恢复。此外,如果对该项目项做进一步更改,则对此资源文件所做的更改可能会丢失。 - -确实要编辑此文件吗? - - - - The resource '{0}' cannot be added. - 无法添加资源“{0}”。 - {0} - name of the resource - - - The device does not support '{0}' files. - 设备不支持“{0}”文件。 - {0} - the extension of the file name like 'tiff' - - - The resource item uses the type '{0}', which is not supported in this project. - 资源项使用“{0}”类型,但该类型在此项目中不受支持。 - {0} - name of the type - - - The resource item(s) {0} cannot be saved correctly. The item(s) will be discarded. - 无法正确保存资源项 {0}。将弃用此项(或这些项)。 - {0} - name list of the resource - - - '{0}' - “{0}” - {0} - name - - - {0}, '{1}' - {0},“{1}” - # {0} - name list -# {1} - another name - - - (Nothing/null) - (Nothing/null) - Displayed in a string table for values of Nothing/null -CONSIDER: get this from CodeDom - - - (Unknown type) - (未知类型) - This actually shouldn't be needed, but if we get an exception trying to get the type name of an entry in the resx file (not supposed to happen), then we'll display this as its type. - - - (Value cannot be displayed) - (无法显示值) - Displayed in a string table for values which cannot be edited by the user - - - Name - 名称 - Columns for the "Details" view of the resource editor - - - Filename - 文件名 - Columns for the "Details" view of the resource editor - - - Type - 类型 - Columns for the "Details" view of the resource editor - - - Size - 大小 - Columns for the "Details" view of the resource editor - - - Comment - 注释 - Columns for the "Details" view of the resource editor - - - {0} x {1} - {0} x {1} - Format string for showing a graphic's size - -# {0} = width (as an integer) -# {1} = height (as an integer) -#Example, for a bitmap of width=123, height = 456, the English version of this string would be "123x456" - - - {0} KB - {0} KB - #Format string for showing a file's size -# {0} = length in kilobytes - - - {0} byte(s) - {0} 字节 - Format string for showing a file's size. -{0} = length in bytes - - - Strings - 字符串 - Resource category names (these show up in the category buttons in the ToolStrip at the top of the resource editor) - - - Images - 图像 - Resource category names (these show up in the category buttons in the ToolStrip at the top of the resource editor) - - - Icons - 图标 - Resource category names (these show up in the category buttons in the ToolStrip at the top of the resource editor) - - - Audio - 音频 - Resource category names (these show up in the category buttons in the ToolStrip at the top of the resource editor) - - - Files - 文件 - Resource category names (these show up in the category buttons in the ToolStrip at the top of the resource editor) - - - Other - 其他 - Resource category names (these show up in the category buttons in the ToolStrip at the top of the resource editor) - - - Windows Bitmap - Windows 位图 - Friendly Image types - - - EXIF Image - EXIF 图像 - Friendly Image types - - - Graphics Interchange Format - 图形交换格式 - Friendly Image types - - - JPEG File Interchange Format - JPEG 文件交换格式 - Friendly Image types - - - Windows Bitmap - Windows 位图 - Friendly Image types - - - Portable Network Graphics - 可移植网络图形 - Friendly Image types - - - Tag Image File Format - 标记图像文件格式 - Friendly Image types - - - Icon - 图标 - Friendly Image types - - - Text File - 文本文件 - Friendly Image types - - - Binary File - 二进制文件 - - - - Wave Sound - 波形声音 - Friendly Image types - - - Linked at compile time - 在编译时链接 - File Persistence Mode - - - Embedded in .resx - 嵌入在 .resx 中 - File Persistence Mode - - - Bitmaps - 位图 - # File dialog filters -# -# E.g., for icons, the actual filter created would look like "Icons (*.ico)". These resources -# represent the first part of that filter -# - Icons - 图标 - # File dialog filters -# -# E.g., for icons, the actual filter created would look like "Icons (*.ico)". These resources -# represent the first part of that filter -# - - - Audio - 音频 - # File dialog filters -# -# E.g., for icons, the actual filter created would look like "Icons (*.ico)". These resources -# represent the first part of that filter -# - - - Text Files - 文本文件 - # File dialog filters -# -# E.g., for icons, the actual filter created would look like "Icons (*.ico)". These resources -# represent the first part of that filter -# - - - All Files - 所有文件 - # File dialog filters -# -# E.g., for icons, the actual filter created would look like "Icons (*.ico)". These resources -# represent the first part of that filter -# - - - Windows Bitmap - Windows 位图 + Icons # File dialog filters # # E.g., for icons, the actual filter created would look like "Icons (*.ico)". These resources # represent the first part of that filter # - - Portable Network Graphics - 可移植网络图形 - # File dialog filters -# -# E.g., for icons, the actual filter created would look like "Icons (*.ico)". These resources -# represent the first part of that filter -# - - - Graphics Interchange Format - 图形交换格式 - # File dialog filters -# -# E.g., for icons, the actual filter created would look like "Icons (*.ico)". These resources -# represent the first part of that filter -# - - - JPEG File Interchange Format - JPEG 文件交换格式 - # File dialog filters -# -# E.g., for icons, the actual filter created would look like "Icons (*.ico)". These resources -# represent the first part of that filter -# - - - Tag Image File Format - 标记图像文件格式 - # File dialog filters -# -# E.g., for icons, the actual filter created would look like "Icons (*.ico)". These resources -# represent the first part of that filter -# - - - Icon - 图标 + + License Files + License Files # File dialog filters # # E.g., for icons, the actual filter created would look like "Icons (*.ico)". These resources # represent the first part of that filter # - - Managed Resources Editor - 托管资源编辑器 - - - - Add existing file to resources - 将现有文件添加到资源中 - - - - Import file into resource '{0}' - 将文件导入到资源“{0}”中 - {0} = Name of resource being imported into - - - Export resource '{0}' to file - 将资源“{0}”导出到文件中 - {0} = Name of resource being exported from - - - Please specify where to save the new file - 请指定保存新文件的位置 - - - - The file '{0}' already exists. Do you want to replace it? - 文件“{0}”已经存在。是否替换它? - {0} = full file path and name - - - The following files already exist. Do you want to replace them? - 以下文件已经存在。是否替换它们? - - - - Select a folder in which to export the resources. - 选择要将资源导出到的文件夹。 - - - - Do you want to continue anyway? - 是否仍要继续? - - - - Resource '{0}' could not be loaded because the file to which it is linked could not be found: {1}. - 由于未能找到资源“{0}”链接到的文件,未能加载该资源: {1}。 - {0} = resource name that had the error, {1} = file path/name that could not be found - - - Resource '{0}' could not be instantiated. {1} - 未能实例化资源“{0}”。 {1} - {0} = resource name that had the error, {1} = extended error information - - - Resource '{0}' has a name that is not recommended and that may cause compilation errors in your code. Please choose another name. - 资源“{0}”具有不建议使用的名称,可能会导致代码中出现编译错误。请选择其他名称。 - {0} = resource name that had the error - Unable to set the Custom Tool or Custom Tool Namespace properties of this file in order to change strongly-typed resource generation options. If the project file is checked in, try checking it out. - 无法设置此文件的“自定义工具”或“自定义工具命名空间”属性以更改强类型资源生成选项。如果已签入此项目文件,请尝试将它签出。 + Unable to set the Custom Tool or Custom Tool Namespace properties of this file in order to change strongly-typed resource generation options. If the project file is checked in, try checking it out. One possible source for this error is that source code control checkout failed or was canceled. - - The resource name '{0}' is not a valid identifier. - 资源名称“{0}”不是有效的标识符。 - - - - {0} - Codepage {1} - {0} - 代码页 {1} - {0} = encoding name (e.g., "Western European (Windows)"), {1} = code page # (e.g., 85001) - - - (Default) - (默认值) - - - - Change resource name - 更改资源名称 - - - - Add {0} new resource(s) - 添加 {0} 个新资源 - {0} = number of resources added - - - Remove {0} resource(s) - 移除 {0} 个新资源 - {0} = number of resources removed - - - Delete values in {0} cell(s) - 删除 {0} 个单元格中的值 - {0} = number of cells cleared - - - Name used to identify the resource in code. - 用于在代码中标识资源的名称。 - - - - Additional information about the resource. This property is only meaningful at design time. - 关于该资源的附加信息。此属性仅在设计时有意义。 - - - - Character encoding of the file. - 文件的字符编码。 - - - - The path to the linked resource. - 指向链接资源的路径。 - - - - Specifies whether the file resource is text or binary. - 指定文件资源是文本格式还是二进制格式。 - - - - Specifies whether the resource is embedded or linked. Embedded resources are saved in the resource file. Linked resources reside in an external location on disk. - 指定资源是嵌入的资源还是链接的资源。嵌入的资源保存在资源文件中。链接的资源驻留在磁盘的外部位置。 - - - - The resource will be generated as this type in the strongly-typed resource class. For example, the resource might be generated as a String or Bitmap object. - 在强类型资源类中,资源将生成为此类型。例如,资源可能生成为 String 对象或 Bitmap 对象。 - - - - The value of the resource. - 资源的值。 + + If this is not a Settings-Designer file then use 'Open With' to open it in a text editor. + 如果这不是 Settings-Designer 文件,则使用“打开方式”在文本编辑器中打开它。 @@ -1859,6 +1331,11 @@ app.config 文件中的新值为“{1}” 签出期间重新加载了一个或多个文件。请重试操作。 + + Failed to generate file: {0} + Failed to generate file: {0} + + Invalid XML Format: {0} 无效的 XML 格式: {0} @@ -1999,15 +1476,6 @@ app.config 文件中的新值为“{1}” 扩展元文件 - - License Files - 许可证文件 - # File dialog filters -# -# E.g., for icons, the actual filter created would look like "Icons (*.ico)". These resources -# represent the first part of that filter -# - Code Analysis Code Analysis diff --git a/src/Microsoft.VisualStudio.Editors/Resources/xlf/Microsoft.VisualStudio.Editors.Designer.zh-Hant.xlf b/src/Microsoft.VisualStudio.Editors/Resources/xlf/Microsoft.VisualStudio.Editors.Designer.zh-Hant.xlf index 322aeac2e12..14763493fb1 100644 --- a/src/Microsoft.VisualStudio.Editors/Resources/xlf/Microsoft.VisualStudio.Editors.Designer.zh-Hant.xlf +++ b/src/Microsoft.VisualStudio.Editors/Resources/xlf/Microsoft.VisualStudio.Editors.Designer.zh-Hant.xlf @@ -666,575 +666,47 @@ Changing this setting will reset the settings in all configurations. 需要: - - Name - 名稱 - Column names for the string table - - - Type - 類型 - Column names for the string table - - - Value - - Column names for the string table - - - Comment - 註解 - Column names for the string table - - - If this is not a Settings-Designer file then use 'Open With' to open it in a text editor. - 如果這不是 Settings-Designer 檔案,請使用 [開啟檔案] 在文字編輯器中開啟。 - - - - Failed to generate file: {0} - 無法產生檔案: {0} - - - - Editing embedded resources directly is not supported. Do you wish to convert this item to a linked resource in order to edit it? - 不支援直接編輯內嵌資源。要將此項目轉換成連結資源以便進行編輯嗎? - - - - The current object is auto-generated and only supports renaming through the Managed Resources Editor. - 目前的物件是自動產生的,而且僅支援透過受控資源編輯器重新命名。 - - - - Cannot find the file '{0}'. It may have been moved or deleted. - 找不到檔案 '{0}',可能已移動或刪除。 - {0} = file name and path - - - Unable to load resource from file '{0}'. - 無法從檔案 '{0}' 載入資源。 - {0} = file name and path - - - The resource name cannot be empty. - 資源名稱不能為空白。 - - - - There is already another resource with the name '{0}'. - 已經有另一個名為 '{0}' 的資源。 - {0} = Resource name - - - The resource was not of the expected type. - 資源不是預期的類型。 - This error can happen if, for example, you try to add foo.bmp to the resource editor, but foo.bmp is really a metafile. - - - Unable to create new resource file '{0}'. {1} - 無法建立新的資源檔 '{0}'。{1} - {0} = file name and path, {1} = additional error information - - - Unable to play the audio resource. {0} - 無法播放音效資源。{0} - {0} = Additional error information. - - - Resource '{0}' cannot be saved to a file. - 無法將資源 '{0}' 儲存到檔案中。 - {0} = Resource name - - - The operation has been canceled by the user. - 使用者已取消作業。 - - - - The resource value contains invalid data or has an incorrect format. - 資源值含有無效資料,或者格式不正確。 - - - - The name of the resource '{0}' cannot be used as a valid identifier, because it contains one or more invalid characters: '{1}'. Please remove or replace those characters and try again. - 資源 '{0}' 的名稱無法作為有效的識別碼,因為它含有一或多個無效的字元: '{1}'。請移除或取代這些字元後再試一次。 - {0} = Resource name - - - Too many files specified. Please select fewer files and try again. - 指定了太多檔案,請少選一些檔案後再試一次。 - - Unexpected error. - 未預期的錯誤。 + Unexpected error. Theoretically possible but we really don't expect to happen. Unexpected, internal error. Unable to load internal localized resource '{0}'. - 無法載入內部的當地語系化資源 '{0}'。 + Unable to load internal localized resource '{0}'. Theoretically possible but we really don't expect to happen. Unexpected, internal error. - - The value could not be converted into a resource of type {0}. - -{1} - 無法將值轉換成 {0} 類型的資源。 - -{1} - {0} = the type that was expected by the resource editor (e.g. System.Drawing.Point) -{1} = more specific additional error message from the system - - - The value cannot be empty in a resource of type {0}. - 在 {0} 類型的資源中值不可為空白。 - {0} = the type that was expected by the resource editor (e.g. System.Drawing.Point) - - - One or more of the selected resource values could not be cleared. - 有一或多個選取的資源值無法清除。 - - - - The resource file cannot be modified at this time. - 此時無法修改資源檔。 + + The operation has been canceled by the user. + The operation has been canceled by the user. - - You are trying to edit a resource file that is a part of another project item (such as a form or a control). Editing this item could corrupt the project item, and you will have to recover it by hand. In addition, changes made to this resource file may be lost if further changes are made to the project item. - -Do you really want to edit this file? - 您嘗試編輯的資源檔是另一個專案項目 (例如表單或控制項) 的一部分。編輯此項目可能導致專案項目損毀,而必須手動復原。此外,如果進一步對專案項目進行變更,可能會遺失此資源檔的變更。 - -確定要編輯此檔案嗎? - - - - The resource '{0}' cannot be added. - 無法新增資源 '{0}'。 - {0} - name of the resource - - - The device does not support '{0}' files. - 裝置不支援 '{0}' 檔案。 - {0} - the extension of the file name like 'tiff' - - - The resource item uses the type '{0}', which is not supported in this project. - 資源項目使用 '{0}' 類型,但此專案不支援該類型。 - {0} - name of the type - - - The resource item(s) {0} cannot be saved correctly. The item(s) will be discarded. - 無法正確儲存資源項目 {0},將捨棄這些項目。 - {0} - name list of the resource - - - '{0}' - '{0}' - {0} - name - - - {0}, '{1}' - {0}、'{1}' - # {0} - name list -# {1} - another name - - - (Nothing/null) - (Nothing/null) - Displayed in a string table for values of Nothing/null -CONSIDER: get this from CodeDom - - - (Unknown type) - (未知的類型) - This actually shouldn't be needed, but if we get an exception trying to get the type name of an entry in the resx file (not supposed to happen), then we'll display this as its type. - - - (Value cannot be displayed) - (無法顯示值) - Displayed in a string table for values which cannot be edited by the user - - - Name - 名稱 - Columns for the "Details" view of the resource editor - - - Filename - 檔名 - Columns for the "Details" view of the resource editor - - - Type - 類型 - Columns for the "Details" view of the resource editor - - - Size - 大小 - Columns for the "Details" view of the resource editor - - - Comment - 註解 - Columns for the "Details" view of the resource editor - - - {0} x {1} - {0} x {1} - Format string for showing a graphic's size - -# {0} = width (as an integer) -# {1} = height (as an integer) -#Example, for a bitmap of width=123, height = 456, the English version of this string would be "123x456" - - - {0} KB - {0} KB - #Format string for showing a file's size -# {0} = length in kilobytes - - - {0} byte(s) - {0} 位元組 - Format string for showing a file's size. -{0} = length in bytes - - - Strings - 字串 - Resource category names (these show up in the category buttons in the ToolStrip at the top of the resource editor) - - - Images - 影像 - Resource category names (these show up in the category buttons in the ToolStrip at the top of the resource editor) - - - Icons - 圖示 - Resource category names (these show up in the category buttons in the ToolStrip at the top of the resource editor) - - - Audio - 音訊 - Resource category names (these show up in the category buttons in the ToolStrip at the top of the resource editor) - - - Files - 檔案 - Resource category names (these show up in the category buttons in the ToolStrip at the top of the resource editor) - - - Other - 其他 - Resource category names (these show up in the category buttons in the ToolStrip at the top of the resource editor) - - - Windows Bitmap - Windows 點陣圖 - Friendly Image types - - - EXIF Image - EXIF 影像 - Friendly Image types - - - Graphics Interchange Format - 圖形交換格式 (GIF) - Friendly Image types - - - JPEG File Interchange Format - JPEG 檔案交換格式 - Friendly Image types - - - Windows Bitmap - Windows 點陣圖 - Friendly Image types - - - Portable Network Graphics - 可攜式網路圖形 - Friendly Image types - - - Tag Image File Format - TIF 檔案格式 - Friendly Image types - - - Icon - 圖示 - Friendly Image types - - - Text File - 文字檔 - Friendly Image types - - - Binary File - 二進位檔案 - - - - Wave Sound - 聲音音效 - Friendly Image types - - - Linked at compile time - 於編譯時間連結 - File Persistence Mode - - - Embedded in .resx - 內嵌於 .resx - File Persistence Mode - - - Bitmaps - 點陣圖 - # File dialog filters -# -# E.g., for icons, the actual filter created would look like "Icons (*.ico)". These resources -# represent the first part of that filter -# - Icons - 圖示 - # File dialog filters -# -# E.g., for icons, the actual filter created would look like "Icons (*.ico)". These resources -# represent the first part of that filter -# - - - Audio - 音訊 + Icons # File dialog filters # # E.g., for icons, the actual filter created would look like "Icons (*.ico)". These resources # represent the first part of that filter # - - Text Files - 文字檔 - # File dialog filters -# -# E.g., for icons, the actual filter created would look like "Icons (*.ico)". These resources -# represent the first part of that filter -# - - - All Files - 所有檔案 - # File dialog filters -# -# E.g., for icons, the actual filter created would look like "Icons (*.ico)". These resources -# represent the first part of that filter -# - - - Windows Bitmap - Windows 點陣圖 - # File dialog filters -# -# E.g., for icons, the actual filter created would look like "Icons (*.ico)". These resources -# represent the first part of that filter -# - - - Portable Network Graphics - 可攜式網路圖形 - # File dialog filters -# -# E.g., for icons, the actual filter created would look like "Icons (*.ico)". These resources -# represent the first part of that filter -# - - - Graphics Interchange Format - 圖形交換格式 (GIF) - # File dialog filters -# -# E.g., for icons, the actual filter created would look like "Icons (*.ico)". These resources -# represent the first part of that filter -# - - - JPEG File Interchange Format - JPEG 檔案交換格式 - # File dialog filters -# -# E.g., for icons, the actual filter created would look like "Icons (*.ico)". These resources -# represent the first part of that filter -# - - - Tag Image File Format - TIF 檔案格式 - # File dialog filters -# -# E.g., for icons, the actual filter created would look like "Icons (*.ico)". These resources -# represent the first part of that filter -# - - - Icon - 圖示 + + License Files + License Files # File dialog filters # # E.g., for icons, the actual filter created would look like "Icons (*.ico)". These resources # represent the first part of that filter # - - Managed Resources Editor - 受控資源編輯器 - - - - Add existing file to resources - 將現有的檔案加入資源 - - - - Import file into resource '{0}' - 將檔案匯入資源 '{0}' - {0} = Name of resource being imported into - - - Export resource '{0}' to file - 將資源 '{0}' 匯出到檔案 - {0} = Name of resource being exported from - - - Please specify where to save the new file - 請指定新檔案的儲存位置 - - - - The file '{0}' already exists. Do you want to replace it? - 檔案 '{0}' 已經存在。要取代它嗎? - {0} = full file path and name - - - The following files already exist. Do you want to replace them? - 下列檔案已經存在。要取代它們嗎? - - - - Select a folder in which to export the resources. - 選取要匯出資源的資料夾。 - - - - Do you want to continue anyway? - 您仍然要繼續嗎? - - - - Resource '{0}' could not be loaded because the file to which it is linked could not be found: {1}. - 無法載入資源 '{0}',因為找不到連結的檔案: {1}。 - {0} = resource name that had the error, {1} = file path/name that could not be found - - - Resource '{0}' could not be instantiated. {1} - 無法將資源 '{0}' 具現化。{1} - {0} = resource name that had the error, {1} = extended error information - - - Resource '{0}' has a name that is not recommended and that may cause compilation errors in your code. Please choose another name. - 資源 '{0}' 使用不建議採用的名稱,可能導致程式碼發生編譯錯誤。請選擇其他名稱。 - {0} = resource name that had the error - Unable to set the Custom Tool or Custom Tool Namespace properties of this file in order to change strongly-typed resource generation options. If the project file is checked in, try checking it out. - 無法設定此檔案的自訂工具或自訂工具命名空間屬性,因此無法變更強型別的資源產生選項。如果專案檔已簽入,請試著將它簽出。 + Unable to set the Custom Tool or Custom Tool Namespace properties of this file in order to change strongly-typed resource generation options. If the project file is checked in, try checking it out. One possible source for this error is that source code control checkout failed or was canceled. - - The resource name '{0}' is not a valid identifier. - 資源名稱 '{0}' 不是有效的識別項。 - - - - {0} - Codepage {1} - {0} - 字碼頁 {1} - {0} = encoding name (e.g., "Western European (Windows)"), {1} = code page # (e.g., 85001) - - - (Default) - (預設) - - - - Change resource name - 變更資源名稱 - - - - Add {0} new resource(s) - 新增 {0} 個新資源 - {0} = number of resources added - - - Remove {0} resource(s) - 移除 {0} 個資源 - {0} = number of resources removed - - - Delete values in {0} cell(s) - 刪除 {0} 個儲存格中的值 - {0} = number of cells cleared - - - Name used to identify the resource in code. - 用來在程式碼中識別資源的名稱。 - - - - Additional information about the resource. This property is only meaningful at design time. - 資源的其他資訊。這個屬性僅在設計階段時有意義。 - - - - Character encoding of the file. - 檔案的字元編碼方式。 - - - - The path to the linked resource. - 連結資源的路徑。 - - - - Specifies whether the file resource is text or binary. - 指定檔案資源是文字或二進位格式。 - - - - Specifies whether the resource is embedded or linked. Embedded resources are saved in the resource file. Linked resources reside in an external location on disk. - 指定資源為內嵌還是連結。內嵌資源儲存在資源檔中,而連結資源則位於磁碟上的外部位置。 - - - - The resource will be generated as this type in the strongly-typed resource class. For example, the resource might be generated as a String or Bitmap object. - 將會在強型別資源類別中以此類型產生資源。例如,可能會將資源產生為 String 或 Bitmap 物件。 - - - - The value of the resource. - 資源的值。 + + If this is not a Settings-Designer file then use 'Open With' to open it in a text editor. + 如果這不是 Settings-Designer 檔案,請使用 [開啟檔案] 在文字編輯器中開啟。 @@ -1859,6 +1331,11 @@ app.config 檔的新值是 '{1}' 在簽出期間重新載入了一或多個檔案。請重試作業。 + + Failed to generate file: {0} + Failed to generate file: {0} + + Invalid XML Format: {0} 無效的 XML 格式: {0} @@ -1999,15 +1476,6 @@ app.config 檔的新值是 '{1}' 延伸的中繼檔 - - License Files - 授權檔案 - # File dialog filters -# -# E.g., for icons, the actual filter created would look like "Icons (*.ico)". These resources -# represent the first part of that filter -# - Code Analysis Code Analysis diff --git a/src/Microsoft.VisualStudio.Editors/SettingsDesigner/SettingsDesigner.vb b/src/Microsoft.VisualStudio.Editors/SettingsDesigner/SettingsDesigner.vb index f19fb6f57e6..495b74bdd2b 100644 --- a/src/Microsoft.VisualStudio.Editors/SettingsDesigner/SettingsDesigner.vb +++ b/src/Microsoft.VisualStudio.Editors/SettingsDesigner/SettingsDesigner.vb @@ -2,8 +2,8 @@ Imports System.ComponentModel.Design Imports System.IO +Imports Microsoft.VisualStudio.Editors.DesignerFramework Imports Microsoft.VisualStudio.Editors.Interop -Imports Microsoft.VisualStudio.Editors.ResourceEditor Imports Microsoft.VisualStudio.Shell.Interop Namespace Microsoft.VisualStudio.Editors.SettingsDesigner @@ -225,7 +225,15 @@ Namespace Microsoft.VisualStudio.Editors.SettingsDesigner Debug.Fail("Can't get a class name from an empty path!") Return "" End If - Return ResourceEditorView.GetGeneratedClassNameFromFileName(IO.Path.GetFileNameWithoutExtension(PathName)) + Return GetGeneratedClassNameFromFileName(IO.Path.GetFileNameWithoutExtension(PathName)) + End Function + + ''' + ''' Given a filename, determines what the generated class name would be + ''' + ''' + Friend Shared Function GetGeneratedClassNameFromFileName(FileName As String) As String + Return DesignUtil.GenerateValidLanguageIndependentIdentifier(Path.GetFileNameWithoutExtension(FileName)) End Function ''' diff --git a/src/Microsoft.VisualStudio.Editors/SettingsDesigner/SettingsDesignerView.vb b/src/Microsoft.VisualStudio.Editors/SettingsDesigner/SettingsDesignerView.vb index a3a7e7514e3..0f2d58e0faa 100644 --- a/src/Microsoft.VisualStudio.Editors/SettingsDesigner/SettingsDesignerView.vb +++ b/src/Microsoft.VisualStudio.Editors/SettingsDesigner/SettingsDesignerView.vb @@ -492,8 +492,7 @@ Namespace Microsoft.VisualStudio.Editors.SettingsDesigner End Sub ''' - ''' Initialize the fonts in the resource editor from the environment (or from the resx file, - ''' if hard-coded there). + ''' Initialize the fonts in the settings editor from the environment. ''' Private Sub SetFonts() Dim DialogFont As Drawing.Font = GetEnvironmentFont() diff --git a/src/Microsoft.VisualStudio.Editors/VSPackage.resx b/src/Microsoft.VisualStudio.Editors/VSPackage.resx index 20651fadb7f..bebc6604c57 100644 --- a/src/Microsoft.VisualStudio.Editors/VSPackage.resx +++ b/src/Microsoft.VisualStudio.Editors/VSPackage.resx @@ -117,10 +117,6 @@ System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - Managed Resources Editor (Legacy) - Used for the resource editor in the shell's "Open With..." dialog plus the editor name for the key-binding it the Tools | Options | Environment | Keyboard | Use new shourtcut. - Settings Designer Used for the settings designer in the shell's "Open With..." dialog. diff --git a/src/Microsoft.VisualStudio.Editors/package/VBPackage.vb b/src/Microsoft.VisualStudio.Editors/package/VBPackage.vb index 5e9317018f5..89396d58362 100644 --- a/src/Microsoft.VisualStudio.Editors/package/VBPackage.vb +++ b/src/Microsoft.VisualStudio.Editors/package/VBPackage.vb @@ -37,15 +37,12 @@ Namespace Microsoft.VisualStudio.Editors ProvideEditorFactory(GetType(ApplicationDesigner.ApplicationDesignerEditorFactory), 1300, True, TrustLevel:=__VSEDITORTRUSTLEVEL.ETL_AlwaysTrusted), ProvideEditorFactory(GetType(SettingsDesigner.SettingsDesignerEditorFactory), 1200, True, TrustLevel:=__VSEDITORTRUSTLEVEL.ETL_AlwaysTrusted, CommonPhysicalViewAttributes:=3), ProvideEditorFactory(GetType(PropPageDesigner.PropPageDesignerEditorFactory), 1400, False, TrustLevel:=__VSEDITORTRUSTLEVEL.ETL_AlwaysTrusted), - ProvideEditorFactory(GetType(ResourceEditor.ResourceEditorFactory), 1100, True, TrustLevel:=__VSEDITORTRUSTLEVEL.ETL_AlwaysTrusted, CommonPhysicalViewAttributes:=3), - ProvideService(GetType(ResourceEditor.ResourceEditorRefactorNotify), ServiceName:="ResX RefactorNotify Service"), ProvideService(GetType(AddImports.IVBAddImportsDialogService), ServiceName:="Add Imports Dialog Service"), ProvideService(GetType(XmlIntellisense.IXmlIntellisenseService), ServiceName:="Vb Xml Intellisense Service"), ProvideService(GetType(VBAttributeEditor.Interop.IVbPermissionSetService), ServiceName:="Vb Permission Set Service"), ProvideService(GetType(Interop.IVsBuildEventCommandLineDialogService), ServiceName:="Vb Build Event Command Line Dialog Service"), ProvideService(GetType(VBRefChangedSvc.Interop.IVbReferenceChangedService), ServiceName:="VB Project Reference Changed Service"), ProvideKeyBindingTable(Constants.MenuConstants.GUID_SETTINGSDESIGNER_CommandUIString, 1200, AllowNavKeyBinding:=False), - ProvideKeyBindingTable(Constants.MenuConstants.GUID_RESXEditorCommandUIString, 1100, AllowNavKeyBinding:=False), CLSCompliant(False) > Friend Class VBPackage @@ -56,7 +53,6 @@ Namespace Microsoft.VisualStudio.Editors Private _xmlIntellisenseService As XmlIntellisense.XmlIntellisenseService Private _buildEventCommandLineDialogService As PropertyPages.BuildEventCommandLineDialogService Private _vbReferenceChangedService As VBRefChangedSvc.VBReferenceChangedService - Private _resourceEditorRefactorNotify As ResourceEditor.ResourceEditorRefactorNotify Private _userConfigCleaner As UserConfigCleaner Private _addImportsDialogService As AddImports.AddImportsDialogService @@ -93,14 +89,9 @@ Namespace Microsoft.VisualStudio.Editors Catch ex As Exception When Common.ReportWithoutCrash(ex, "Exception registering settings designer editor factory", NameOf(VBPackage)) Throw End Try - Try - RegisterEditorFactory(New ResourceEditor.ResourceEditorFactory) - Catch ex As Exception When Common.ReportWithoutCrash(ex, "Exception registering resource editor factory", NameOf(VBPackage)) - Throw - End Try Try RegisterEditorFactory(New ApplicationDesigner.ApplicationDesignerEditorFactory) - Catch ex As Exception When Common.ReportWithoutCrash(ex, "Exception registering application resource editor factory", NameOf(VBPackage)) + Catch ex As Exception When Common.ReportWithoutCrash(ex, "Exception registering application designer editor factory", NameOf(VBPackage)) Throw End Try Try @@ -124,9 +115,6 @@ Namespace Microsoft.VisualStudio.Editors ' Expose IVsBuildEventCommandLineDialogService ServiceContainer.AddService(GetType(Interop.IVsBuildEventCommandLineDialogService), CallBack, True) - ' Expose IVsRefactorNotify through the ResourceEditorFactory - ServiceContainer.AddService(GetType(ResourceEditor.ResourceEditorRefactorNotify), CallBack, True) - 'Expose Add Imports Dialog Service ServiceContainer.AddService(GetType(AddImports.IVBAddImportsDialogService), CallBack, True) @@ -175,15 +163,6 @@ Namespace Microsoft.VisualStudio.Editors Return _buildEventCommandLineDialogService End If - If serviceType Is GetType(ResourceEditor.ResourceEditorRefactorNotify) Then - If _resourceEditorRefactorNotify Is Nothing Then - _resourceEditorRefactorNotify = New ResourceEditor.ResourceEditorRefactorNotify() - End If - - ' return cached refactor-notify implementer - Return _resourceEditorRefactorNotify - End If - If serviceType Is GetType(AddImports.IVBAddImportsDialogService) Then If _addImportsDialogService Is Nothing Then _addImportsDialogService = New AddImports.AddImportsDialogService(Me) diff --git a/src/Microsoft.VisualStudio.Editors/xlf/Menus.vsct.cs.xlf b/src/Microsoft.VisualStudio.Editors/xlf/Menus.vsct.cs.xlf index 08d3e43788a..3271e7bec48 100644 --- a/src/Microsoft.VisualStudio.Editors/xlf/Menus.vsct.cs.xlf +++ b/src/Microsoft.VisualStudio.Editors/xlf/Menus.vsct.cs.xlf @@ -2,71 +2,11 @@ - - &Resources - &Prostředky - - - - &Resources - &Prostředky - - - - Managed Resources Editor Context Menu - Místní nabídka editoru spravovaných zdrojů - - - - New &Image - Nový o&brázek - - - - New &Image - Nový o&brázek - - Settings Designer Návrhář nastavení - - Resources - Prostředky - - - - Resources - Prostředky - - - - Resources - Prostředky - - - - Resources - Prostředky - - - - &Category - &Kategorie - - - - Add &Resource - &Přidat prostředek - - - - Views - Zobrazení - - Settings Nastavení @@ -102,201 +42,6 @@ &Odstranit řádek - - P&lay - &Přehrát - - - - &Import From File... - &Importovat ze souboru... - - - - E&xport To File... - E&xportovat do souboru... - - - - Add &Existing File... - Přidat &existující soubor... - - - - &Existing File... - &Existující soubor... - - - - Add New &String - Přidat nový ř&etězec - - - - New &String - No&vý řetězec - - - - Add New I&con - Přidat n&ovou ikonu - - - - New I&con... - Nová i&kona... - - - - Add New &Text File - Přidat nový &textový soubor - - - - New &Text File... - Nový &textový soubor... - - - - Add &PNG Image - Přidat obrázek &PNG - - - - &PNG Image... - Obrázek ve formátu &PNG... - - - - Add &BMP Image - Přidat obrázek &BMP - - - - &BMP Image... - O&brázek ve formátu BMP... - - - - Add &GIF Image - Přidat obrázek &GIF - - - - &GIF Image... - Obrázek ve formátu &GIF... - - - - Add &JPEG Image - Přidat obrázek &JPEG - - - - &JPEG Image... - Obrázek ve formátu &JPEG... - - - - Add &TIFF Image - Přidat obrázek &TIFF - - - - &TIFF Image... - Obrázek ve formá&tu TIFF... - - - - Strings - Řetězce - - - - Strings - Řetězce - - - - Images - Obrázky - - - - Images - Obrázky - - - - Icons - Ikony - - - - Icons - Ikony - - - - Audio - Zvuk - - - - Audio - Zvuk - - - - Files - Soubory - - - - Files - Soubory - - - - Other - Jiné - - - - Other - Jiné - - - - View In &List - Zobrazit v &seznamu - - - - &List - &Seznam - - - - View &Details - Zobrazit &podrobnosti - - - - &Details - Po&drobnosti - - - - View As &Thumbnails - Zobrazit jako &miniatury - - - - &Thumbnails - &Miniatury - - &Synchronize &Synchronizovat @@ -322,46 +67,6 @@ Z&obrazit kód - - Re&move Resource - &Odstranit prostředek - - - - Re&move Resource - &Odstranit prostředek - - - - &Add - Přid&at - - - - Add - Přidat - - - - &View - &Zobrazit - - - - View - Zobrazení - - - - Add &Resource - &Přidat prostředek - - - - Add &Resource - &Přidat prostředek - - &Add Extension... &Přidat rozšíření... @@ -377,11 +82,6 @@ &Modifikátor přístupu: - - Access Mod&ifier: - Mod&ifikátor přístupu: - - \ No newline at end of file diff --git a/src/Microsoft.VisualStudio.Editors/xlf/Menus.vsct.de.xlf b/src/Microsoft.VisualStudio.Editors/xlf/Menus.vsct.de.xlf index 49c1defdeea..4448da7cdf4 100644 --- a/src/Microsoft.VisualStudio.Editors/xlf/Menus.vsct.de.xlf +++ b/src/Microsoft.VisualStudio.Editors/xlf/Menus.vsct.de.xlf @@ -2,71 +2,11 @@ - - &Resources - &Ressourcen - - - - &Resources - &Ressourcen - - - - Managed Resources Editor Context Menu - Kontextmenü im Editor für verwaltete Ressourcen - - - - New &Image - Neues &Bild - - - - New &Image - Neues &Bild - - Settings Designer Einstellungs-Designer - - Resources - Ressourcen - - - - Resources - Ressourcen - - - - Resources - Ressourcen - - - - Resources - Ressourcen - - - - &Category - &Kategorie - - - - Add &Resource - &Ressource hinzufügen - - - - Views - Anzeigen - - Settings Einstellungen @@ -102,201 +42,6 @@ &Zeile entfernen - - P&lay - Abspie&len - - - - &Import From File... - Aus Datei &importieren... - - - - E&xport To File... - In Datei e&xportieren... - - - - Add &Existing File... - Vorhanden&e Datei hinzufügen... - - - - &Existing File... - &Vorhandene Datei... - - - - Add New &String - Neue &Zeichenfolge hinzufügen - - - - New &String - Neue &Zeichenfolge - - - - Add New I&con - Neues Symbol hinzufü&gen - - - - New I&con... - Neues &Symbol... - - - - Add New &Text File - Neue &Textdatei hinzufügen - - - - New &Text File... - Neue &Textdatei... - - - - Add &PNG Image - &PNG-Bild hinzufügen - - - - &PNG Image... - &PNG-Bild... - - - - Add &BMP Image - &BMP-Bild hinzufügen - - - - &BMP Image... - &BMP-Bild... - - - - Add &GIF Image - &GIF-Bild hinzufügen - - - - &GIF Image... - &GIF-Bild... - - - - Add &JPEG Image - &JPEG-Bild hinzufügen - - - - &JPEG Image... - &JPEG-Bild... - - - - Add &TIFF Image - &TIFF-Bild hinzufügen - - - - &TIFF Image... - &TIFF-Bild... - - - - Strings - Zeichenfolgen - - - - Strings - Zeichenfolgen - - - - Images - Bilder - - - - Images - Bilder - - - - Icons - Symbole - - - - Icons - Symbole - - - - Audio - Audio - - - - Audio - Audio - - - - Files - Dateien - - - - Files - Dateien - - - - Other - Sonstiges - - - - Other - Sonstiges - - - - View In &List - In &Liste anzeigen - - - - &List - &Liste - - - - View &Details - &Details anzeigen - - - - &Details - &Details - - - - View As &Thumbnails - Als Minia&turansicht anzeigen - - - - &Thumbnails - Minia&turansichten - - &Synchronize Syn&chronisieren @@ -322,46 +67,6 @@ &Code anzeigen - - Re&move Resource - Ressource &entfernen - - - - Re&move Resource - Ressource &entfernen - - - - &Add - Hinz&ufügen - - - - Add - Hinzufügen - - - - &View - &Anzeigen - - - - View - Ansicht - - - - Add &Resource - &Ressource hinzufügen - - - - Add &Resource - &Ressource hinzufügen - - &Add Extension... Erweiterung &hinzufügen... @@ -377,11 +82,6 @@ Zugriffs&modifizierer: - - Access Mod&ifier: - Zugriffsmod&ifizierer: - - \ No newline at end of file diff --git a/src/Microsoft.VisualStudio.Editors/xlf/Menus.vsct.es.xlf b/src/Microsoft.VisualStudio.Editors/xlf/Menus.vsct.es.xlf index 57f07d8f88c..06333e68311 100644 --- a/src/Microsoft.VisualStudio.Editors/xlf/Menus.vsct.es.xlf +++ b/src/Microsoft.VisualStudio.Editors/xlf/Menus.vsct.es.xlf @@ -2,71 +2,11 @@ - - &Resources - &Recursos - - - - &Resources - &Recursos - - - - Managed Resources Editor Context Menu - Menú contextual del Editor de recursos administrados - - - - New &Image - Nueva ima&gen - - - - New &Image - Nueva ima&gen - - Settings Designer Diseñador de configuración - - Resources - Recursos - - - - Resources - Recursos - - - - Resources - Recursos - - - - Resources - Recursos - - - - &Category - &Categoría - - - - Add &Resource - Agregar &recurso - - - - Views - Vistas - - Settings Configuración @@ -102,201 +42,6 @@ &Quitar fila - - P&lay - Reprod&ucir - - - - &Import From File... - &Importar desde archivo... - - - - E&xport To File... - E&xportar a archivo... - - - - Add &Existing File... - Agr&egar archivo existente... - - - - &Existing File... - &Archivo existente - - - - Add New &String - Agregar n&ueva cadena - - - - New &String - Nueva &cadena - - - - Add New I&con - Agregar nuevo &icono - - - - New I&con... - Nuevo ic&ono... - - - - Add New &Text File - Agregar nuevo archivo de te&xto - - - - New &Text File... - Nuevo &archivo de texto... - - - - Add &PNG Image - Agregar imagen &PNG - - - - &PNG Image... - &Imagen PNG... - - - - Add &BMP Image - Agregar imagen &BMP - - - - &BMP Image... - &Imagen BMP... - - - - Add &GIF Image - Agregar imagen &GIF - - - - &GIF Image... - Imagen &GIF... - - - - Add &JPEG Image - Agregar imagen &JPEG - - - - &JPEG Image... - Imagen &JPEG... - - - - Add &TIFF Image - Agregar imagen &TIFF - - - - &TIFF Image... - &Imagen TIFF... - - - - Strings - Cadenas - - - - Strings - Cadenas - - - - Images - Imágenes - - - - Images - Imágenes - - - - Icons - Iconos - - - - Icons - Iconos - - - - Audio - Audio - - - - Audio - Audio - - - - Files - Archivos - - - - Files - Archivos - - - - Other - Otro - - - - Other - Otro - - - - View In &List - Ver en &lista - - - - &List - &Lista - - - - View &Details - Ver &detalles - - - - &Details - &Detalles - - - - View As &Thumbnails - Ver como &miniaturas - - - - &Thumbnails - &Vistas en miniatura - - &Synchronize &Sincronizar @@ -322,46 +67,6 @@ Ver cód&igo - - Re&move Resource - &Quitar recurso - - - - Re&move Resource - &Quitar recurso - - - - &Add - &Agregar - - - - Add - Agregar - - - - &View - &Ver - - - - View - Vista - - - - Add &Resource - Agregar &recurso - - - - Add &Resource - Agregar &recurso - - &Add Extension... &Agregar extensión... @@ -377,11 +82,6 @@ &Modificador de acceso: - - Access Mod&ifier: - Mod&ificador de acceso: - - \ No newline at end of file diff --git a/src/Microsoft.VisualStudio.Editors/xlf/Menus.vsct.fr.xlf b/src/Microsoft.VisualStudio.Editors/xlf/Menus.vsct.fr.xlf index 7178b1ae735..65dfd88b7a8 100644 --- a/src/Microsoft.VisualStudio.Editors/xlf/Menus.vsct.fr.xlf +++ b/src/Microsoft.VisualStudio.Editors/xlf/Menus.vsct.fr.xlf @@ -2,71 +2,11 @@ - - &Resources - &Ressources - - - - &Resources - &Ressources - - - - Managed Resources Editor Context Menu - Menu contextuel de l'éditeur de ressources managées - - - - New &Image - Nouvelle &image - - - - New &Image - Nouvelle &image - - Settings Designer Concepteur de paramètres - - Resources - Ressources - - - - Resources - Ressources - - - - Resources - Ressources - - - - Resources - Ressources - - - - &Category - &Catégorie - - - - Add &Resource - &Ajouter une ressource - - - - Views - Affichages - - Settings Paramètres @@ -102,201 +42,6 @@ Supprim&er une ligne - - P&lay - &Lecture - - - - &Import From File... - &Importer à partir d'un fichier... - - - - E&xport To File... - E&xporter vers un fichier... - - - - Add &Existing File... - Ajouter un fichier &existant... - - - - &Existing File... - Fichier &existant... - - - - Add New &String - Ajouter une nouvelle chaî&ne - - - - New &String - Nouvelle &chaîne - - - - Add New I&con - Ajouter une nouvelle i&cône - - - - New I&con... - Nouvelle i&cône... - - - - Add New &Text File - Ajouter un nouveau fichier &texte - - - - New &Text File... - Nouveau fichier de &texte... - - - - Add &PNG Image - Ajouter une image &PNG - - - - &PNG Image... - Image &PNG... - - - - Add &BMP Image - Ajouter une image &BMP - - - - &BMP Image... - Image &BMP... - - - - Add &GIF Image - Ajouter une image &GIF - - - - &GIF Image... - Image &GIF... - - - - Add &JPEG Image - Ajouter une image &JPEG - - - - &JPEG Image... - Image &JPEG... - - - - Add &TIFF Image - Ajouter une image &TIFF - - - - &TIFF Image... - Image &TIFF... - - - - Strings - Chaînes - - - - Strings - Chaînes - - - - Images - Images - - - - Images - Images - - - - Icons - Icônes - - - - Icons - Icônes - - - - Audio - Audio - - - - Audio - Audio - - - - Files - Fichiers - - - - Files - Fichiers - - - - Other - Autre - - - - Other - Autre - - - - View In &List - Afficher dans une &liste - - - - &List - &Liste - - - - View &Details - Afficher les &détails - - - - &Details - &Détails - - - - View As &Thumbnails - Afficher sous forme de minia&ture - - - - &Thumbnails - Minia&tures - - &Synchronize &Synchroniser @@ -322,46 +67,6 @@ &Afficher le code - - Re&move Resource - &Supprimer une ressource - - - - Re&move Resource - &Supprimer une ressource - - - - &Add - &Ajouter - - - - Add - Ajouter - - - - &View - A&ffichage - - - - View - Afficher - - - - Add &Resource - &Ajouter une ressource - - - - Add &Resource - &Ajouter une ressource - - &Add Extension... &Ajouter une extension... @@ -377,11 +82,6 @@ &Modificateur d'accès : - - Access Mod&ifier: - Mo&dificateur d'accès : - - \ No newline at end of file diff --git a/src/Microsoft.VisualStudio.Editors/xlf/Menus.vsct.it.xlf b/src/Microsoft.VisualStudio.Editors/xlf/Menus.vsct.it.xlf index 60f0cebb121..d88fedab64c 100644 --- a/src/Microsoft.VisualStudio.Editors/xlf/Menus.vsct.it.xlf +++ b/src/Microsoft.VisualStudio.Editors/xlf/Menus.vsct.it.xlf @@ -2,71 +2,11 @@ - - &Resources - &Risorse - - - - &Resources - &Risorse - - - - Managed Resources Editor Context Menu - Menu di scelta rapida editor di risorse gestite - - - - New &Image - Nuova &immagine - - - - New &Image - Nuova &immagine - - Settings Designer Progettazione impostazioni - - Resources - Risorse - - - - Resources - Risorse - - - - Resources - Risorse - - - - Resources - Risorse - - - - &Category - &Categoria - - - - Add &Resource - Aggiungi &risorsa - - - - Views - Visualizzazioni - - Settings Impostazioni @@ -102,201 +42,6 @@ R&imuovi riga - - P&lay - &Riproduci - - - - &Import From File... - &Importa dal file... - - - - E&xport To File... - E&sporta nel file... - - - - Add &Existing File... - Aggiungi file &esistente... - - - - &Existing File... - File &esistente... - - - - Add New &String - Aggiungi nuova &stringa - - - - New &String - Nuova &stringa - - - - Add New I&con - Aggiungi nuova i&cona - - - - New I&con... - Nuova i&cona... - - - - Add New &Text File - Aggiungi nuovo file di &testo - - - - New &Text File... - Nuovo file di &testo... - - - - Add &PNG Image - Aggiungi immagine &PNG - - - - &PNG Image... - Immagine &PNG... - - - - Add &BMP Image - Aggiungi immagine &BMP - - - - &BMP Image... - Immagine &BMP... - - - - Add &GIF Image - Aggiungi immagine &GIF - - - - &GIF Image... - Immagine &GIF... - - - - Add &JPEG Image - Aggiungi immagine &JPEG - - - - &JPEG Image... - Immagine &JPEG... - - - - Add &TIFF Image - Aggiungi immagine &TIFF - - - - &TIFF Image... - Immagine &TIFF... - - - - Strings - Stringhe - - - - Strings - Stringhe - - - - Images - Immagini - - - - Images - Immagini - - - - Icons - Icone - - - - Icons - Icone - - - - Audio - Audio - - - - Audio - Audio - - - - Files - File - - - - Files - File - - - - Other - Altro - - - - Other - Altro - - - - View In &List - Visualizza nell'e&lenco - - - - &List - &Elenco - - - - View &Details - Visualizza &dettagli - - - - &Details - &Dettagli - - - - View As &Thumbnails - Visualizza come &anteprime - - - - &Thumbnails - &Anteprime - - &Synchronize &Sincronizza @@ -322,46 +67,6 @@ &Visualizza codice - - Re&move Resource - Ri&muovi risorsa - - - - Re&move Resource - Ri&muovi risorsa - - - - &Add - &Aggiungi - - - - Add - Aggiungi - - - - &View - Visuali&zza - - - - View - Visualizza - - - - Add &Resource - Aggiungi &risorsa - - - - Add &Resource - Aggiungi &risorsa - - &Add Extension... &Aggiungi estensione... @@ -377,11 +82,6 @@ &Modificatore di accesso: - - Access Mod&ifier: - Mod&ificatore di accesso: - - \ No newline at end of file diff --git a/src/Microsoft.VisualStudio.Editors/xlf/Menus.vsct.ja.xlf b/src/Microsoft.VisualStudio.Editors/xlf/Menus.vsct.ja.xlf index 667bd62d611..9f0c508b62f 100644 --- a/src/Microsoft.VisualStudio.Editors/xlf/Menus.vsct.ja.xlf +++ b/src/Microsoft.VisualStudio.Editors/xlf/Menus.vsct.ja.xlf @@ -2,71 +2,11 @@ - - &Resources - リソース(&R) - - - - &Resources - リソース(&R) - - - - Managed Resources Editor Context Menu - マネージド リソース エディター コンテキスト メニュー - - - - New &Image - 新しいイメージ(&I) - - - - New &Image - 新しいイメージ(&I) - - Settings Designer 設定デザイナー - - Resources - リソース - - - - Resources - リソース - - - - Resources - リソース - - - - Resources - リソース - - - - &Category - カテゴリ(&C) - - - - Add &Resource - リソースの追加(&R) - - - - Views - ビュー - - Settings 設定 @@ -102,201 +42,6 @@ 行の消去(&E) - - P&lay - 再生(&L) - - - - &Import From File... - ファイルからインポート(&I)... - - - - E&xport To File... - ファイルへエクスポート(&X)... - - - - Add &Existing File... - 既存のファイルの追加(&E)... - - - - &Existing File... - 既存のファイル(&E)... - - - - Add New &String - 新しい文字列の追加(&S) - - - - New &String - 新しい文字列(&S) - - - - Add New I&con - 新しいアイコンの追加(&C) - - - - New I&con... - 新しいアイコン(&C)... - - - - Add New &Text File - 新しいテキスト ファイルの追加(&T) - - - - New &Text File... - 新しいテキスト ファイル(&T)... - - - - Add &PNG Image - PNG イメージの追加(&P) - - - - &PNG Image... - PNG イメージ(&P)... - - - - Add &BMP Image - BMP イメージの追加(&B) - - - - &BMP Image... - BMP イメージ(&B)... - - - - Add &GIF Image - GIF イメージの追加(&G) - - - - &GIF Image... - GIF イメージ(&G)... - - - - Add &JPEG Image - JPEG イメージの追加(&J) - - - - &JPEG Image... - JPEG イメージ(&J)... - - - - Add &TIFF Image - TIFF イメージの追加(&T) - - - - &TIFF Image... - TIFF イメージ(&T)... - - - - Strings - 文字列 - - - - Strings - 文字列 - - - - Images - イメージ - - - - Images - イメージ - - - - Icons - アイコン - - - - Icons - アイコン - - - - Audio - オーディオ - - - - Audio - オーディオ - - - - Files - ファイル - - - - Files - ファイル - - - - Other - その他 - - - - Other - その他 - - - - View In &List - 一覧での表示(&L) - - - - &List - リスト(&L) - - - - View &Details - 詳細の表示(&D) - - - - &Details - 詳細(&D) - - - - View As &Thumbnails - 縮小版として表示(&T) - - - - &Thumbnails - 縮小版(&T) - - &Synchronize 同期(&S) @@ -322,46 +67,6 @@ コードの表示(&I) - - Re&move Resource - 削除(&M) - - - - Re&move Resource - 削除(&M) - - - - &Add - 追加(&A) - - - - Add - 追加 - - - - &View - 表示(&V) - - - - View - ビュー - - - - Add &Resource - リソースの追加(&R) - - - - Add &Resource - リソースの追加(&R) - - &Add Extension... 拡張の追加(&A)... @@ -377,11 +82,6 @@ アクセス修飾子(&M): - - Access Mod&ifier: - アクセス修飾子(&I): - - \ No newline at end of file diff --git a/src/Microsoft.VisualStudio.Editors/xlf/Menus.vsct.ko.xlf b/src/Microsoft.VisualStudio.Editors/xlf/Menus.vsct.ko.xlf index 0e0ab3a6d5d..61428e05bd4 100644 --- a/src/Microsoft.VisualStudio.Editors/xlf/Menus.vsct.ko.xlf +++ b/src/Microsoft.VisualStudio.Editors/xlf/Menus.vsct.ko.xlf @@ -2,71 +2,11 @@ - - &Resources - 리소스(&R) - - - - &Resources - 리소스(&R) - - - - Managed Resources Editor Context Menu - 관리되는 리소스 편집기 상황에 맞는 메뉴 - - - - New &Image - 새 이미지(&I) - - - - New &Image - 새 이미지(&I) - - Settings Designer 설정 디자이너 - - Resources - 리소스 - - - - Resources - 리소스 - - - - Resources - 리소스 - - - - Resources - 리소스 - - - - &Category - 범주(&C) - - - - Add &Resource - 리소스 추가(&R) - - - - Views - 보기 - - Settings 설정 @@ -102,201 +42,6 @@ 행 제거(&E) - - P&lay - 재생(&L) - - - - &Import From File... - 파일에서 가져오기(&I)... - - - - E&xport To File... - 파일로 내보내기(&X)... - - - - Add &Existing File... - 기존 파일 추가(&E)... - - - - &Existing File... - 기존 파일(&E)... - - - - Add New &String - 새 문자열 추가(&S) - - - - New &String - 새 문자열(&S) - - - - Add New I&con - 새 아이콘 추가(&C) - - - - New I&con... - 새 아이콘(&C)... - - - - Add New &Text File - 새 텍스트 파일 추가(&T) - - - - New &Text File... - 새 텍스트 파일(&T)... - - - - Add &PNG Image - PNG 이미지 추가(&P) - - - - &PNG Image... - PNG 이미지(&P)... - - - - Add &BMP Image - BMP 이미지 추가(&B) - - - - &BMP Image... - BMP 이미지(&B)... - - - - Add &GIF Image - GIF 이미지 추가(&G) - - - - &GIF Image... - GIF 이미지(&G)... - - - - Add &JPEG Image - JPEG 이미지 추가(&J) - - - - &JPEG Image... - JPEG 이미지(&J)... - - - - Add &TIFF Image - TIFF 이미지 추가(&T) - - - - &TIFF Image... - TIFF 이미지(&T)... - - - - Strings - 문자열 - - - - Strings - 문자열 - - - - Images - 이미지 - - - - Images - 이미지 - - - - Icons - 아이콘 - - - - Icons - 아이콘 - - - - Audio - 오디오 - - - - Audio - 오디오 - - - - Files - 파일 - - - - Files - 파일 - - - - Other - 기타 - - - - Other - 기타 - - - - View In &List - 목록으로 보기(&L) - - - - &List - 목록(&L) - - - - View &Details - 자세히 보기(&D) - - - - &Details - 세부 정보(&D) - - - - View As &Thumbnails - 축소판 그림으로 보기(&T) - - - - &Thumbnails - 축소판 그림(&T) - - &Synchronize 동기화(&S) @@ -322,46 +67,6 @@ 코드 보기(&I) - - Re&move Resource - 리소스 제거(&M) - - - - Re&move Resource - 리소스 제거(&M) - - - - &Add - 추가(&A) - - - - Add - 추가 - - - - &View - 보기(&V) - - - - View - 보기 - - - - Add &Resource - 리소스 추가(&R) - - - - Add &Resource - 리소스 추가(&R) - - &Add Extension... 확장 추가(&A)... @@ -377,11 +82,6 @@ 액세스 한정자(&M): - - Access Mod&ifier: - 액세스 한정자(&I): - - \ No newline at end of file diff --git a/src/Microsoft.VisualStudio.Editors/xlf/Menus.vsct.pl.xlf b/src/Microsoft.VisualStudio.Editors/xlf/Menus.vsct.pl.xlf index 7767b9dbf20..462708226aa 100644 --- a/src/Microsoft.VisualStudio.Editors/xlf/Menus.vsct.pl.xlf +++ b/src/Microsoft.VisualStudio.Editors/xlf/Menus.vsct.pl.xlf @@ -2,71 +2,11 @@ - - &Resources - &Zasoby - - - - &Resources - &Zasoby - - - - Managed Resources Editor Context Menu - Menu kontekstowe edytora zarządzanych zasobów - - - - New &Image - Nowy &obraz - - - - New &Image - Nowy &obraz - - Settings Designer Projektant ustawień - - Resources - Zasoby - - - - Resources - Zasoby - - - - Resources - Zasoby - - - - Resources - Zasoby - - - - &Category - &Kategoria - - - - Add &Resource - &Dodaj zasób - - - - Views - Widoki - - Settings Ustawienia @@ -102,201 +42,6 @@ Usuń wie&rsz - - P&lay - O&dtwórz - - - - &Import From File... - &Import z pliku... - - - - E&xport To File... - E&ksportuj do pliku... - - - - Add &Existing File... - Dodaj istni&ejący plik... - - - - &Existing File... - &Istniejący plik... - - - - Add New &String - Dodaj nowy &ciąg - - - - New &String - Nowy &ciąg - - - - Add New I&con - Dodaj nową i&konę - - - - New I&con... - Nowa i&kona... - - - - Add New &Text File - Dodaj nowy plik &tekstowy - - - - New &Text File... - Nowy plik &tekstowy... - - - - Add &PNG Image - Dodaj obraz &PNG - - - - &PNG Image... - Obraz &PNG... - - - - Add &BMP Image - Dodaj obraz &BMP - - - - &BMP Image... - Obraz &BMP... - - - - Add &GIF Image - Dodaj obraz &GIF - - - - &GIF Image... - Obraz &GIF... - - - - Add &JPEG Image - Dodaj obraz &JPEG - - - - &JPEG Image... - Obraz &JPEG... - - - - Add &TIFF Image - Dodaj obraz &TIFF - - - - &TIFF Image... - Obraz &TIFF... - - - - Strings - Ciągi - - - - Strings - Ciągi - - - - Images - Obrazy - - - - Images - Obrazy - - - - Icons - Ikony - - - - Icons - Ikony - - - - Audio - Audio - - - - Audio - Audio - - - - Files - Pliki - - - - Files - Pliki - - - - Other - Inne - - - - Other - Inne - - - - View In &List - Wyświetl na &liście - - - - &List - &Lista - - - - View &Details - Wyświetl &szczegóły - - - - &Details - &Szczegóły - - - - View As &Thumbnails - Wyświetl jako minia&tury - - - - &Thumbnails - &Miniatury - - &Synchronize &Synchronizuj @@ -322,46 +67,6 @@ Po&każ kod - - Re&move Resource - &Usuń zasób - - - - Re&move Resource - &Usuń zasób - - - - &Add - &Dodaj - - - - Add - Dodaj - - - - &View - &Wyświetl - - - - View - Widok - - - - Add &Resource - &Dodaj zasób - - - - Add &Resource - &Dodaj zasób - - &Add Extension... Dod&aj rozszerzenie... @@ -377,11 +82,6 @@ &Modyfikator dostępu: - - Access Mod&ifier: - Modyf&ikator dostępu: - - \ No newline at end of file diff --git a/src/Microsoft.VisualStudio.Editors/xlf/Menus.vsct.pt-BR.xlf b/src/Microsoft.VisualStudio.Editors/xlf/Menus.vsct.pt-BR.xlf index 3486fa28446..0357294cce5 100644 --- a/src/Microsoft.VisualStudio.Editors/xlf/Menus.vsct.pt-BR.xlf +++ b/src/Microsoft.VisualStudio.Editors/xlf/Menus.vsct.pt-BR.xlf @@ -2,71 +2,11 @@ - - &Resources - &Recursos - - - - &Resources - &Recursos - - - - Managed Resources Editor Context Menu - Menu de Contexto do Editor de Recursos Gerenciados - - - - New &Image - Nova &Imagem - - - - New &Image - Nova &Imagem - - Settings Designer Designer de Configurações - - Resources - Recursos - - - - Resources - Recursos - - - - Resources - Recursos - - - - Resources - Recursos - - - - &Category - &Categoria - - - - Add &Resource - Adicionar &Recurso - - - - Views - Modos de Exibição - - Settings Configurações @@ -102,201 +42,6 @@ R&emover Linha - - P&lay - E&xecutar - - - - &Import From File... - &Importar do Arquivo... - - - - E&xport To File... - E&xportar para Arquivo... - - - - Add &Existing File... - Adicionar Arquivo &Existente... - - - - &Existing File... - Arquivo &Existente... - - - - Add New &String - Adicionar Nova &Cadeia de Caracteres - - - - New &String - Nova &Cadeia de Caracteres - - - - Add New I&con - Adicionar Novo Í&cone - - - - New I&con... - Novo Í&cone... - - - - Add New &Text File - Adicionar Novo Arquivo de &Texto - - - - New &Text File... - Novo Arquivo de &Texto... - - - - Add &PNG Image - Adicionar Imagem &PNG - - - - &PNG Image... - Imagem &PNG... - - - - Add &BMP Image - Adicionar Imagem &BMP - - - - &BMP Image... - Imagem &BMP... - - - - Add &GIF Image - Adicionar Imagem &GIF - - - - &GIF Image... - Imagem &GIF... - - - - Add &JPEG Image - Adicionar Imagem &JPEG - - - - &JPEG Image... - Imagem &JPEG... - - - - Add &TIFF Image - Adicionar Imagem &TIFF - - - - &TIFF Image... - Imagem &TIFF... - - - - Strings - Cadeias de Caracteres - - - - Strings - Cadeias de Caracteres - - - - Images - Imagens - - - - Images - Imagens - - - - Icons - Ícones - - - - Icons - Ícones - - - - Audio - Áudio - - - - Audio - Áudio - - - - Files - Arquivos - - - - Files - Arquivos - - - - Other - Outro - - - - Other - Outro - - - - View In &List - Exibir em &Lista - - - - &List - &Lista - - - - View &Details - Exibir &Detalhes - - - - &Details - &Detalhes - - - - View As &Thumbnails - Exibir como &Miniaturas - - - - &Thumbnails - &Miniaturas - - &Synchronize &Sincronizar @@ -322,46 +67,6 @@ Ex&ibir Código - - Re&move Resource - Re&mover Recurso - - - - Re&move Resource - Re&mover Recurso - - - - &Add - &Adicionar - - - - Add - Adicionar - - - - &View - E&xibir - - - - View - Exibir - - - - Add &Resource - Adicionar &Recurso - - - - Add &Resource - Adicionar &Recurso - - &Add Extension... &Adicionar Extensão... @@ -377,11 +82,6 @@ &Modificador de Acesso: - - Access Mod&ifier: - Mod&ificador de Acesso: - - \ No newline at end of file diff --git a/src/Microsoft.VisualStudio.Editors/xlf/Menus.vsct.ru.xlf b/src/Microsoft.VisualStudio.Editors/xlf/Menus.vsct.ru.xlf index bbada043ea7..d1b643f65ba 100644 --- a/src/Microsoft.VisualStudio.Editors/xlf/Menus.vsct.ru.xlf +++ b/src/Microsoft.VisualStudio.Editors/xlf/Menus.vsct.ru.xlf @@ -2,71 +2,11 @@ - - &Resources - &Ресурсы - - - - &Resources - &Ресурсы - - - - Managed Resources Editor Context Menu - Контекстное меню редактора управляемых ресурсов - - - - New &Image - Новое &изображение - - - - New &Image - Новое &изображение - - Settings Designer Конструктор параметров - - Resources - Ресурсы - - - - Resources - Ресурсы - - - - Resources - Ресурсы - - - - Resources - Ресурсы - - - - &Category - &Категория - - - - Add &Resource - Д&обавить ресурс - - - - Views - Представления - - Settings Параметры @@ -102,201 +42,6 @@ Уда&лить строку - - P&lay - Во&спроизвести - - - - &Import From File... - И&мпорт из файла... - - - - E&xport To File... - &Экспорт в файл... - - - - Add &Existing File... - Доб&авить существующий файл... - - - - &Existing File... - &Существующий файл... - - - - Add New &String - Доба&вить новую строку - - - - New &String - Добавить &строку - - - - Add New I&con - Добавить новы&й значок - - - - New I&con... - Новый з&начок... - - - - Add New &Text File - Добавить нов&ый текстовый файл - - - - New &Text File... - Создать &текстовый файл... - - - - Add &PNG Image - Добав&ить изображение PNG - - - - &PNG Image... - &Изображение PNG... - - - - Add &BMP Image - Добавить и&зображение BMP - - - - &BMP Image... - &Изображение BMP... - - - - Add &GIF Image - Добавить изобра&жение GIF - - - - &GIF Image... - &Изображение GIF... - - - - Add &JPEG Image - Добавить изображ&ение JPEG - - - - &JPEG Image... - &Изображение JPEG... - - - - Add &TIFF Image - Добавить изображе&ние TIFF - - - - &TIFF Image... - &Изображение TIFF... - - - - Strings - Строки - - - - Strings - Строки - - - - Images - Изображения - - - - Images - Изображения - - - - Icons - Значки - - - - Icons - Значки - - - - Audio - Звук - - - - Audio - Звук - - - - Files - Файлы - - - - Files - Файлы - - - - Other - Другое - - - - Other - Другое - - - - View In &List - Показать &списком - - - - &List - &Список - - - - View &Details - Просмотр с&ведений - - - - &Details - &Сведения - - - - View As &Thumbnails - Показать &эскизы - - - - &Thumbnails - &Эскизы - - &Synchronize &Синхронизировать @@ -322,46 +67,6 @@ Пе&рейти к коду - - Re&move Resource - &Удалить ресурс - - - - Re&move Resource - &Удалить ресурс - - - - &Add - Д&обавить - - - - Add - Добавить - - - - &View - &Просмотр - - - - View - Представление - - - - Add &Resource - Д&обавить ресурс - - - - Add &Resource - Д&обавить ресурс - - &Add Extension... Д&обавить расширение... @@ -377,11 +82,6 @@ &Модификатор доступа: - - Access Mod&ifier: - &Модификатор доступа: - - \ No newline at end of file diff --git a/src/Microsoft.VisualStudio.Editors/xlf/Menus.vsct.tr.xlf b/src/Microsoft.VisualStudio.Editors/xlf/Menus.vsct.tr.xlf index c394ae13bc6..f81b01a8340 100644 --- a/src/Microsoft.VisualStudio.Editors/xlf/Menus.vsct.tr.xlf +++ b/src/Microsoft.VisualStudio.Editors/xlf/Menus.vsct.tr.xlf @@ -2,71 +2,11 @@ - - &Resources - &Kaynaklar - - - - &Resources - &Kaynaklar - - - - Managed Resources Editor Context Menu - Yönetilen Kaynak Düzenleyicisi Bağlam Menüsü - - - - New &Image - Yeni &Resim - - - - New &Image - Yeni &Resim - - Settings Designer Ayarlar Tasarımcısı - - Resources - Kaynaklar - - - - Resources - Kaynaklar - - - - Resources - Kaynaklar - - - - Resources - Kaynaklar - - - - &Category - &Kategori - - - - Add &Resource - &Kaynak Ekle - - - - Views - Görünümler - - Settings Ayarlar @@ -102,201 +42,6 @@ Satırı Ka&ldır - - P&lay - &Yürüt - - - - &Import From File... - &Dosyadan Al... - - - - E&xport To File... - &Dosyaya Ver... - - - - Add &Existing File... - &Mevcut Dosya Ekle... - - - - &Existing File... - &Mevcut Dosya... - - - - Add New &String - Yeni &Dize Ekle - - - - New &String - Yeni &Dize - - - - Add New I&con - Yeni &Simge Ekle - - - - New I&con... - Yeni S&imge... - - - - Add New &Text File - Yeni &Metin Dosyası Ekle - - - - New &Text File... - Yeni &Metin Dosyası... - - - - Add &PNG Image - &PNG Resmi Ekle - - - - &PNG Image... - &PNG Resmi... - - - - Add &BMP Image - &BMP Resmi Ekle - - - - &BMP Image... - &BMP Resmi... - - - - Add &GIF Image - &GIF Resmi Ekle - - - - &GIF Image... - &GIF Resmi... - - - - Add &JPEG Image - &JPEG Resmi Ekle - - - - &JPEG Image... - &JPEG Resmi... - - - - Add &TIFF Image - &TIFF Resmi Ekle - - - - &TIFF Image... - &TIFF Resmi... - - - - Strings - Dizeler - - - - Strings - Dizeler - - - - Images - Görüntüler - - - - Images - Görüntüler - - - - Icons - Simgeler - - - - Icons - Simgeler - - - - Audio - Ses - - - - Audio - Ses - - - - Files - Dosyalar - - - - Files - Dosyalar - - - - Other - Diğer - - - - Other - Diğer - - - - View In &List - &Listede Görünümü - - - - &List - &Liste - - - - View &Details - &Ayrıntıları görüntüle - - - - &Details - &Ayrıntılar - - - - View As &Thumbnails - &Küçük Resim Görünümü - - - - &Thumbnails - &Küçük Resimler - - &Synchronize &Eşitle @@ -322,46 +67,6 @@ &Kodu Görüntüle - - Re&move Resource - Kaynağı &Kaldır - - - - Re&move Resource - Kaynağı &Kaldır - - - - &Add - &Ekle - - - - Add - Ekle - - - - &View - &Görünüm - - - - View - Görüntüle - - - - Add &Resource - &Kaynak Ekle - - - - Add &Resource - &Kaynak Ekle - - &Add Extension... Uzantı &Ekle... @@ -377,11 +82,6 @@ Erişim &Değiştiricisi: - - Access Mod&ifier: - Erişim Değiş&tiricisi: - - \ No newline at end of file diff --git a/src/Microsoft.VisualStudio.Editors/xlf/Menus.vsct.zh-Hans.xlf b/src/Microsoft.VisualStudio.Editors/xlf/Menus.vsct.zh-Hans.xlf index c188fc2e909..2b222899fa7 100644 --- a/src/Microsoft.VisualStudio.Editors/xlf/Menus.vsct.zh-Hans.xlf +++ b/src/Microsoft.VisualStudio.Editors/xlf/Menus.vsct.zh-Hans.xlf @@ -2,71 +2,11 @@ - - &Resources - 资源(&R) - - - - &Resources - 资源(&R) - - - - Managed Resources Editor Context Menu - 托管资源编辑器上下文菜单 - - - - New &Image - 新图像(&I) - - - - New &Image - 新图像(&I) - - Settings Designer 设置设计器 - - Resources - 资源 - - - - Resources - 资源 - - - - Resources - 资源 - - - - Resources - 资源 - - - - &Category - 类别(&C) - - - - Add &Resource - 添加资源(&R) - - - - Views - 视图 - - Settings 设置 @@ -102,201 +42,6 @@ 删除行(&E) - - P&lay - 播放(&L) - - - - &Import From File... - 从文件导入(&I)... - - - - E&xport To File... - 导出到文件(&X)... - - - - Add &Existing File... - 添加现有文件(&E)... - - - - &Existing File... - 现有文件(&E)... - - - - Add New &String - 添加新字符串(&S) - - - - New &String - 新字符串(&S) - - - - Add New I&con - 添加新图标(&C) - - - - New I&con... - 新建图标(&C)... - - - - Add New &Text File - 添加新文本文件(&T) - - - - New &Text File... - 新建文本文件(&T)... - - - - Add &PNG Image - 添加 PNG 图像(&P) - - - - &PNG Image... - PNG 图像(&P)... - - - - Add &BMP Image - 添加 BMP 图像(&B) - - - - &BMP Image... - BMP 图像(&B)... - - - - Add &GIF Image - 添加 GIF 图像(&G) - - - - &GIF Image... - GIF 图像(&G)... - - - - Add &JPEG Image - 添加 JPEG 图像(&J) - - - - &JPEG Image... - JPEG 图像(&J)... - - - - Add &TIFF Image - 添加 TIFF 图像(&T) - - - - &TIFF Image... - TIFF 图像(&T)... - - - - Strings - 字符串 - - - - Strings - 字符串 - - - - Images - 图像 - - - - Images - 图像 - - - - Icons - 图标 - - - - Icons - 图标 - - - - Audio - 音频 - - - - Audio - 音频 - - - - Files - 文件 - - - - Files - 文件 - - - - Other - 其他 - - - - Other - 其他 - - - - View In &List - 列表视图(&L) - - - - &List - 列表(&L) - - - - View &Details - 查看详细信息(&D) - - - - &Details - 详细信息(&D) - - - - View As &Thumbnails - 缩略图视图(&T) - - - - &Thumbnails - 缩略图(&T) - - &Synchronize 同步(&S) @@ -322,46 +67,6 @@ 查看代码(&I) - - Re&move Resource - 删除资源(&M) - - - - Re&move Resource - 删除资源(&M) - - - - &Add - 添加(&A) - - - - Add - 添加 - - - - &View - 查看(&V) - - - - View - 视图 - - - - Add &Resource - 添加资源(&R) - - - - Add &Resource - 添加资源(&R) - - &Add Extension... 添加扩展(&A)... @@ -377,11 +82,6 @@ 访问修饰符(&M): - - Access Mod&ifier: - 访问修饰符(&I): - - \ No newline at end of file diff --git a/src/Microsoft.VisualStudio.Editors/xlf/Menus.vsct.zh-Hant.xlf b/src/Microsoft.VisualStudio.Editors/xlf/Menus.vsct.zh-Hant.xlf index bc89f19dd1c..ffb5cfb247a 100644 --- a/src/Microsoft.VisualStudio.Editors/xlf/Menus.vsct.zh-Hant.xlf +++ b/src/Microsoft.VisualStudio.Editors/xlf/Menus.vsct.zh-Hant.xlf @@ -2,71 +2,11 @@ - - &Resources - 資源(&R) - - - - &Resources - 資源(&R) - - - - Managed Resources Editor Context Menu - 受控資源編輯器操作功能表 - - - - New &Image - 新增影像(&I) - - - - New &Image - 新增影像(&I) - - Settings Designer 設定設計工具 - - Resources - 資源 - - - - Resources - 資源 - - - - Resources - 資源 - - - - Resources - 資源 - - - - &Category - 分類(&C) - - - - Add &Resource - 加入資源(&R) - - - - Views - 檢視 - - Settings 設定 @@ -102,201 +42,6 @@ 移除資料列(&E) - - P&lay - 播放(&L) - - - - &Import From File... - 匯入來源檔案(&I)... - - - - E&xport To File... - 匯出至檔案(&X)... - - - - Add &Existing File... - 加入現有檔案(&E)... - - - - &Existing File... - 現有檔案(&E)... - - - - Add New &String - 加入新字串(&S) - - - - New &String - 新增字串(&S) - - - - Add New I&con - 加入新圖示(&C) - - - - New I&con... - 新增圖示(&C)... - - - - Add New &Text File - 加入新文字檔(&T) - - - - New &Text File... - 新增文字檔(&T)... - - - - Add &PNG Image - 加入 PNG 影像(&P) - - - - &PNG Image... - PNG 影像(&P)... - - - - Add &BMP Image - 加入 BMP 影像(&B) - - - - &BMP Image... - BMP 影像(&B)... - - - - Add &GIF Image - 加入 GIF 影像(&G) - - - - &GIF Image... - GIF 影像(&G)... - - - - Add &JPEG Image - 加入 JPEG 影像(&J) - - - - &JPEG Image... - JPEG 影像(&J)... - - - - Add &TIFF Image - 加入 TIFF 影像(&T) - - - - &TIFF Image... - TIFF 影像(&T)... - - - - Strings - 字串 - - - - Strings - 字串 - - - - Images - 影像 - - - - Images - 影像 - - - - Icons - 圖示 - - - - Icons - 圖示 - - - - Audio - 音訊 - - - - Audio - 音訊 - - - - Files - 檔案 - - - - Files - 檔案 - - - - Other - 其他 - - - - Other - 其他 - - - - View In &List - 在清單中檢視(&L) - - - - &List - 清單(&L) - - - - View &Details - 檢視詳細資料(&D) - - - - &Details - 詳細資料(&D) - - - - View As &Thumbnails - 檢視縮圖(&T) - - - - &Thumbnails - 縮圖(&T) - - &Synchronize 同步處理(&S) @@ -322,46 +67,6 @@ 檢視程式碼(&I) - - Re&move Resource - 移除資源(&M) - - - - Re&move Resource - 移除資源(&M) - - - - &Add - 新增(&A) - - - - Add - 新增 - - - - &View - 檢視(&V) - - - - View - 檢視 - - - - Add &Resource - 加入資源(&R) - - - - Add &Resource - 加入資源(&R) - - &Add Extension... 加入擴充功能(&A)... @@ -377,11 +82,6 @@ 存取修飾詞(&M): - - Access Mod&ifier: - 存取修飾詞(&I): - - \ No newline at end of file diff --git a/src/Microsoft.VisualStudio.Editors/xlf/VSPackage.cs.xlf b/src/Microsoft.VisualStudio.Editors/xlf/VSPackage.cs.xlf index c7a143afbe9..08e3ac68f66 100644 --- a/src/Microsoft.VisualStudio.Editors/xlf/VSPackage.cs.xlf +++ b/src/Microsoft.VisualStudio.Editors/xlf/VSPackage.cs.xlf @@ -2,11 +2,6 @@ - - Managed Resources Editor (Legacy) - Editor spravovaných prostředků (starší verze) - Used for the resource editor in the shell's "Open With..." dialog plus the editor name for the key-binding it the Tools | Options | Environment | Keyboard | Use new shourtcut. - Settings Designer Návrhář nastavení diff --git a/src/Microsoft.VisualStudio.Editors/xlf/VSPackage.de.xlf b/src/Microsoft.VisualStudio.Editors/xlf/VSPackage.de.xlf index 7556eda2e02..338b18d2d31 100644 --- a/src/Microsoft.VisualStudio.Editors/xlf/VSPackage.de.xlf +++ b/src/Microsoft.VisualStudio.Editors/xlf/VSPackage.de.xlf @@ -2,11 +2,6 @@ - - Managed Resources Editor (Legacy) - Editor für verwaltete Ressourcen (Vorversion) - Used for the resource editor in the shell's "Open With..." dialog plus the editor name for the key-binding it the Tools | Options | Environment | Keyboard | Use new shourtcut. - Settings Designer Einstellungs-Designer diff --git a/src/Microsoft.VisualStudio.Editors/xlf/VSPackage.es.xlf b/src/Microsoft.VisualStudio.Editors/xlf/VSPackage.es.xlf index a422c8f36a0..f404e6c02b3 100644 --- a/src/Microsoft.VisualStudio.Editors/xlf/VSPackage.es.xlf +++ b/src/Microsoft.VisualStudio.Editors/xlf/VSPackage.es.xlf @@ -2,11 +2,6 @@ - - Managed Resources Editor (Legacy) - Editor de recursos administrados (heredado) - Used for the resource editor in the shell's "Open With..." dialog plus the editor name for the key-binding it the Tools | Options | Environment | Keyboard | Use new shourtcut. - Settings Designer Diseñador de configuración diff --git a/src/Microsoft.VisualStudio.Editors/xlf/VSPackage.fr.xlf b/src/Microsoft.VisualStudio.Editors/xlf/VSPackage.fr.xlf index db072d08f51..fa0039a1575 100644 --- a/src/Microsoft.VisualStudio.Editors/xlf/VSPackage.fr.xlf +++ b/src/Microsoft.VisualStudio.Editors/xlf/VSPackage.fr.xlf @@ -2,11 +2,6 @@ - - Managed Resources Editor (Legacy) - Éditeur de ressources managées (hérité) - Used for the resource editor in the shell's "Open With..." dialog plus the editor name for the key-binding it the Tools | Options | Environment | Keyboard | Use new shourtcut. - Settings Designer Concepteur de paramètres diff --git a/src/Microsoft.VisualStudio.Editors/xlf/VSPackage.it.xlf b/src/Microsoft.VisualStudio.Editors/xlf/VSPackage.it.xlf index 03f865be508..72ac1b0ff0c 100644 --- a/src/Microsoft.VisualStudio.Editors/xlf/VSPackage.it.xlf +++ b/src/Microsoft.VisualStudio.Editors/xlf/VSPackage.it.xlf @@ -2,11 +2,6 @@ - - Managed Resources Editor (Legacy) - Editor risorse gestite (legacy) - Used for the resource editor in the shell's "Open With..." dialog plus the editor name for the key-binding it the Tools | Options | Environment | Keyboard | Use new shourtcut. - Settings Designer Progettazione impostazioni diff --git a/src/Microsoft.VisualStudio.Editors/xlf/VSPackage.ja.xlf b/src/Microsoft.VisualStudio.Editors/xlf/VSPackage.ja.xlf index 9121affc0cd..8cef9108aef 100644 --- a/src/Microsoft.VisualStudio.Editors/xlf/VSPackage.ja.xlf +++ b/src/Microsoft.VisualStudio.Editors/xlf/VSPackage.ja.xlf @@ -2,11 +2,6 @@ - - Managed Resources Editor (Legacy) - 管理対象リソース エディター (レガシ) - Used for the resource editor in the shell's "Open With..." dialog plus the editor name for the key-binding it the Tools | Options | Environment | Keyboard | Use new shourtcut. - Settings Designer 設定デザイナー diff --git a/src/Microsoft.VisualStudio.Editors/xlf/VSPackage.ko.xlf b/src/Microsoft.VisualStudio.Editors/xlf/VSPackage.ko.xlf index 0fa76975e2a..b97b627cc83 100644 --- a/src/Microsoft.VisualStudio.Editors/xlf/VSPackage.ko.xlf +++ b/src/Microsoft.VisualStudio.Editors/xlf/VSPackage.ko.xlf @@ -2,11 +2,6 @@ - - Managed Resources Editor (Legacy) - 관리되는 리소스 편집기(레거시) - Used for the resource editor in the shell's "Open With..." dialog plus the editor name for the key-binding it the Tools | Options | Environment | Keyboard | Use new shourtcut. - Settings Designer 설정 디자이너 diff --git a/src/Microsoft.VisualStudio.Editors/xlf/VSPackage.pl.xlf b/src/Microsoft.VisualStudio.Editors/xlf/VSPackage.pl.xlf index 45c3d4d3911..88c647acd81 100644 --- a/src/Microsoft.VisualStudio.Editors/xlf/VSPackage.pl.xlf +++ b/src/Microsoft.VisualStudio.Editors/xlf/VSPackage.pl.xlf @@ -2,11 +2,6 @@ - - Managed Resources Editor (Legacy) - Edytor zasobów zarządzanych (starsza wersja) - Used for the resource editor in the shell's "Open With..." dialog plus the editor name for the key-binding it the Tools | Options | Environment | Keyboard | Use new shourtcut. - Settings Designer Projektant ustawień diff --git a/src/Microsoft.VisualStudio.Editors/xlf/VSPackage.pt-BR.xlf b/src/Microsoft.VisualStudio.Editors/xlf/VSPackage.pt-BR.xlf index af2ebf55b4e..6191bcafd65 100644 --- a/src/Microsoft.VisualStudio.Editors/xlf/VSPackage.pt-BR.xlf +++ b/src/Microsoft.VisualStudio.Editors/xlf/VSPackage.pt-BR.xlf @@ -2,11 +2,6 @@ - - Managed Resources Editor (Legacy) - Editor de Recursos Gerenciados (Herdado) - Used for the resource editor in the shell's "Open With..." dialog plus the editor name for the key-binding it the Tools | Options | Environment | Keyboard | Use new shourtcut. - Settings Designer Designer de Configurações diff --git a/src/Microsoft.VisualStudio.Editors/xlf/VSPackage.ru.xlf b/src/Microsoft.VisualStudio.Editors/xlf/VSPackage.ru.xlf index 85ee8227a5a..1ca8702ac4e 100644 --- a/src/Microsoft.VisualStudio.Editors/xlf/VSPackage.ru.xlf +++ b/src/Microsoft.VisualStudio.Editors/xlf/VSPackage.ru.xlf @@ -2,11 +2,6 @@ - - Managed Resources Editor (Legacy) - Редактор управляемых ресурсов (устаревшая версия) - Used for the resource editor in the shell's "Open With..." dialog plus the editor name for the key-binding it the Tools | Options | Environment | Keyboard | Use new shourtcut. - Settings Designer Конструктор параметров diff --git a/src/Microsoft.VisualStudio.Editors/xlf/VSPackage.tr.xlf b/src/Microsoft.VisualStudio.Editors/xlf/VSPackage.tr.xlf index 503a2bccdf1..5df06c00687 100644 --- a/src/Microsoft.VisualStudio.Editors/xlf/VSPackage.tr.xlf +++ b/src/Microsoft.VisualStudio.Editors/xlf/VSPackage.tr.xlf @@ -2,11 +2,6 @@ - - Managed Resources Editor (Legacy) - Yönetilen Kaynak Düzenleyicisi (Eski) - Used for the resource editor in the shell's "Open With..." dialog plus the editor name for the key-binding it the Tools | Options | Environment | Keyboard | Use new shourtcut. - Settings Designer Ayarlar Tasarımcısı diff --git a/src/Microsoft.VisualStudio.Editors/xlf/VSPackage.zh-Hans.xlf b/src/Microsoft.VisualStudio.Editors/xlf/VSPackage.zh-Hans.xlf index 6ef2f6e2f59..448ac1a3f16 100644 --- a/src/Microsoft.VisualStudio.Editors/xlf/VSPackage.zh-Hans.xlf +++ b/src/Microsoft.VisualStudio.Editors/xlf/VSPackage.zh-Hans.xlf @@ -2,11 +2,6 @@ - - Managed Resources Editor (Legacy) - 受管理资源编辑器(旧版) - Used for the resource editor in the shell's "Open With..." dialog plus the editor name for the key-binding it the Tools | Options | Environment | Keyboard | Use new shourtcut. - Settings Designer 设置设计器 diff --git a/src/Microsoft.VisualStudio.Editors/xlf/VSPackage.zh-Hant.xlf b/src/Microsoft.VisualStudio.Editors/xlf/VSPackage.zh-Hant.xlf index 9d1a9670f08..de0b936b063 100644 --- a/src/Microsoft.VisualStudio.Editors/xlf/VSPackage.zh-Hant.xlf +++ b/src/Microsoft.VisualStudio.Editors/xlf/VSPackage.zh-Hant.xlf @@ -2,11 +2,6 @@ - - Managed Resources Editor (Legacy) - 受控資源編輯器 (舊版) - Used for the resource editor in the shell's "Open With..." dialog plus the editor name for the key-binding it the Tools | Options | Environment | Keyboard | Use new shourtcut. - Settings Designer 設定設計工具 diff --git a/src/Microsoft.VisualStudio.ProjectSystem.Managed.VS/PublicAPI.Shipped.txt b/src/Microsoft.VisualStudio.ProjectSystem.Managed.VS/PublicAPI.Shipped.txt index ce701f263eb..4000278c617 100644 --- a/src/Microsoft.VisualStudio.ProjectSystem.Managed.VS/PublicAPI.Shipped.txt +++ b/src/Microsoft.VisualStudio.ProjectSystem.Managed.VS/PublicAPI.Shipped.txt @@ -450,4 +450,5 @@ Microsoft.VisualStudio.ProjectSystem.VS.Query.QueryProjectPropertiesContext.Item Microsoft.VisualStudio.ProjectSystem.VS.Query.QueryProjectPropertiesContext.QueryProjectPropertiesContext(bool isProjectFile, string! file, string? itemType, string? itemName) -> void override Microsoft.VisualStudio.ProjectSystem.VS.Query.QueryProjectPropertiesContext.Equals(object! obj) -> bool override Microsoft.VisualStudio.ProjectSystem.VS.Query.QueryProjectPropertiesContext.GetHashCode() -> int +static Microsoft.VisualStudio.ProjectSystem.VS.Query.QueryProjectPropertiesContext.TryCreateFromEntityId(Microsoft.VisualStudio.ProjectSystem.Query.EntityIdentity! id, out Microsoft.VisualStudio.ProjectSystem.VS.Query.QueryProjectPropertiesContext? propertiesContext) -> bool static readonly Microsoft.VisualStudio.ProjectSystem.VS.Query.QueryProjectPropertiesContext.ProjectFile -> Microsoft.VisualStudio.ProjectSystem.VS.Query.QueryProjectPropertiesContext! \ No newline at end of file