Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Updating features resources with strings that are common between c# and vb #55291

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 0 additions & 9 deletions src/Features/CSharp/Portable/CSharpFeaturesResources.resx
Original file line number Diff line number Diff line change
Expand Up @@ -200,15 +200,6 @@
<data name="Invalid_selection" xml:space="preserve">
<value>Invalid selection.</value>
</data>
<data name="Selection_does_not_contain_a_valid_token" xml:space="preserve">
<value>Selection does not contain a valid token.</value>
</data>
<data name="No_valid_selection_to_perform_extraction" xml:space="preserve">
<value>No valid selection to perform extraction.</value>
</data>
<data name="No_common_root_node_for_extraction" xml:space="preserve">
<value>No common root node for extraction.</value>
</data>
<data name="Contains_invalid_selection" xml:space="preserve">
<value>Contains invalid selection.</value>
</data>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ private SelectionInfo GetInitialSelectionInfo(SyntaxNode root, SourceText text)
{
return new SelectionInfo
{
Status = new OperationStatus(OperationStatusFlag.None, CSharpFeaturesResources.Selection_does_not_contain_a_valid_token),
Status = new OperationStatus(OperationStatusFlag.None, FeaturesResources.Selection_does_not_contain_a_valid_token),
OriginalSpan = adjustedSpan,
FirstTokenInOriginalSpan = firstTokenInSelection,
LastTokenInOriginalSpan = lastTokenInSelection
Expand All @@ -186,7 +186,7 @@ private SelectionInfo GetInitialSelectionInfo(SyntaxNode root, SourceText text)
{
return new SelectionInfo
{
Status = new OperationStatus(OperationStatusFlag.None, CSharpFeaturesResources.No_valid_selection_to_perform_extraction),
Status = new OperationStatus(OperationStatusFlag.None, FeaturesResources.No_valid_selection_to_perform_extraction),
OriginalSpan = adjustedSpan,
FirstTokenInOriginalSpan = firstTokenInSelection,
LastTokenInOriginalSpan = lastTokenInSelection
Expand All @@ -198,7 +198,7 @@ private SelectionInfo GetInitialSelectionInfo(SyntaxNode root, SourceText text)
{
return new SelectionInfo
{
Status = new OperationStatus(OperationStatusFlag.None, CSharpFeaturesResources.No_common_root_node_for_extraction),
Status = new OperationStatus(OperationStatusFlag.None, FeaturesResources.No_common_root_node_for_extraction),
OriginalSpan = adjustedSpan,
FirstTokenInOriginalSpan = firstTokenInSelection,
LastTokenInOriginalSpan = lastTokenInSelection
Expand All @@ -210,7 +210,7 @@ private SelectionInfo GetInitialSelectionInfo(SyntaxNode root, SourceText text)
{
return new SelectionInfo
{
Status = new OperationStatus(OperationStatusFlag.None, CSharpFeaturesResources.No_valid_selection_to_perform_extraction),
Status = new OperationStatus(OperationStatusFlag.None, FeaturesResources.No_valid_selection_to_perform_extraction),
OriginalSpan = adjustedSpan,
FirstTokenInOriginalSpan = firstTokenInSelection,
LastTokenInOriginalSpan = lastTokenInSelection
Expand Down
15 changes: 0 additions & 15 deletions src/Features/CSharp/Portable/xlf/CSharpFeaturesResources.cs.xlf

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

15 changes: 0 additions & 15 deletions src/Features/CSharp/Portable/xlf/CSharpFeaturesResources.de.xlf

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

15 changes: 0 additions & 15 deletions src/Features/CSharp/Portable/xlf/CSharpFeaturesResources.es.xlf

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

15 changes: 0 additions & 15 deletions src/Features/CSharp/Portable/xlf/CSharpFeaturesResources.fr.xlf

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

15 changes: 0 additions & 15 deletions src/Features/CSharp/Portable/xlf/CSharpFeaturesResources.it.xlf

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

15 changes: 0 additions & 15 deletions src/Features/CSharp/Portable/xlf/CSharpFeaturesResources.ja.xlf

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

15 changes: 0 additions & 15 deletions src/Features/CSharp/Portable/xlf/CSharpFeaturesResources.ko.xlf

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

15 changes: 0 additions & 15 deletions src/Features/CSharp/Portable/xlf/CSharpFeaturesResources.pl.xlf

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

15 changes: 0 additions & 15 deletions src/Features/CSharp/Portable/xlf/CSharpFeaturesResources.ru.xlf

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

15 changes: 0 additions & 15 deletions src/Features/CSharp/Portable/xlf/CSharpFeaturesResources.tr.xlf

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

14 changes: 13 additions & 1 deletion src/Features/Core/Portable/FeaturesResources.resx
Original file line number Diff line number Diff line change
Expand Up @@ -471,7 +471,7 @@
<data name="Updating_the_library_name_of_Declare_statement_requires_restarting_the_application" xml:space="preserve">
<value>Updating the library name of Declare statement requires restarting the application.</value>
<comment>{Locked="Declare"} "Declare" is VB keyword and should not be localized.</comment>
</data>
</data>
<data name="Updating_the_alias_of_Declare_statement_requires_restarting_the_application" xml:space="preserve">
<value>Updating the alias of Declare statement requires restarting the application.</value>
<comment>{Locked="Declare"} "Declare" is VB keyword and should not be localized.</comment>
Expand Down Expand Up @@ -2902,4 +2902,16 @@ Zero-width positive lookbehind assertions are typically used at the beginning of
<data name="Changing_constraints_of_0_requires_restarting_the_application" xml:space="preserve">
<value>Changing constraints of {0} requires restarting the application.</value>
</data>
<data name="No_common_root_node_for_extraction" xml:space="preserve">
<value>No common root node for extraction.</value>
</data>
<data name="No_valid_selection_to_perform_extraction" xml:space="preserve">
<value>No valid selection to perform extraction.</value>
</data>
<data name="Selection_does_not_contain_a_valid_token" xml:space="preserve">
<value>Selection does not contain a valid token.</value>
</data>
<data name="Selection_not_contained_inside_a_type" xml:space="preserve">
<value>Selection not contained inside a type.</value>
</data>
</root>
Loading