From 90c85c41e645625210be64d8edf189e202086843 Mon Sep 17 00:00:00 2001 From: Andrew Hall Date: Sun, 17 May 2020 11:56:14 -0700 Subject: [PATCH] Restore strings used in RenameDocumentAsync (#44320) Add back missing strings --- src/Workspaces/Core/Portable/WorkspacesResources.resx | 6 ++++++ .../Core/Portable/xlf/WorkspacesResources.cs.xlf | 10 ++++++++++ .../Core/Portable/xlf/WorkspacesResources.de.xlf | 10 ++++++++++ .../Core/Portable/xlf/WorkspacesResources.es.xlf | 10 ++++++++++ .../Core/Portable/xlf/WorkspacesResources.fr.xlf | 10 ++++++++++ .../Core/Portable/xlf/WorkspacesResources.it.xlf | 10 ++++++++++ .../Core/Portable/xlf/WorkspacesResources.ja.xlf | 10 ++++++++++ .../Core/Portable/xlf/WorkspacesResources.ko.xlf | 10 ++++++++++ .../Core/Portable/xlf/WorkspacesResources.pl.xlf | 10 ++++++++++ .../Core/Portable/xlf/WorkspacesResources.pt-BR.xlf | 10 ++++++++++ .../Core/Portable/xlf/WorkspacesResources.ru.xlf | 10 ++++++++++ .../Core/Portable/xlf/WorkspacesResources.tr.xlf | 10 ++++++++++ .../Core/Portable/xlf/WorkspacesResources.zh-Hans.xlf | 10 ++++++++++ .../Core/Portable/xlf/WorkspacesResources.zh-Hant.xlf | 10 ++++++++++ src/Workspaces/CoreTest/Renamer/RenamerTests.cs | 3 +++ 15 files changed, 139 insertions(+) diff --git a/src/Workspaces/Core/Portable/WorkspacesResources.resx b/src/Workspaces/Core/Portable/WorkspacesResources.resx index d7a603c5d5b..cc037f4c4dd 100644 --- a/src/Workspaces/Core/Portable/WorkspacesResources.resx +++ b/src/Workspaces/Core/Portable/WorkspacesResources.resx @@ -559,4 +559,10 @@ Symbol's project could not be found in the provided solution + + Rename '{0}' to '{1}' + + + Sync namespace to folder structure + \ No newline at end of file diff --git a/src/Workspaces/Core/Portable/xlf/WorkspacesResources.cs.xlf b/src/Workspaces/Core/Portable/xlf/WorkspacesResources.cs.xlf index 92bc51a557e..b09eb4a993d 100644 --- a/src/Workspaces/Core/Portable/xlf/WorkspacesResources.cs.xlf +++ b/src/Workspaces/Core/Portable/xlf/WorkspacesResources.cs.xlf @@ -97,6 +97,11 @@ Odebírání dokumentů konfigurace analyzátoru se nepodporuje. + + Rename '{0}' to '{1}' + Rename '{0}' to '{1}' + + Solution does not contain specified reference Solution does not contain specified reference @@ -182,6 +187,11 @@ Symbol's project could not be found in the provided solution + + Sync namespace to folder structure + Sync namespace to folder structure + + The project already contains the specified reference. The project already contains the specified reference. diff --git a/src/Workspaces/Core/Portable/xlf/WorkspacesResources.de.xlf b/src/Workspaces/Core/Portable/xlf/WorkspacesResources.de.xlf index 9a7e3c5ab45..60ba1b099f1 100644 --- a/src/Workspaces/Core/Portable/xlf/WorkspacesResources.de.xlf +++ b/src/Workspaces/Core/Portable/xlf/WorkspacesResources.de.xlf @@ -97,6 +97,11 @@ Das Entfernen von Konfigurationsdokumenten des Analysetools wird nicht unterstützt. + + Rename '{0}' to '{1}' + Rename '{0}' to '{1}' + + Solution does not contain specified reference Solution does not contain specified reference @@ -182,6 +187,11 @@ Symbol's project could not be found in the provided solution + + Sync namespace to folder structure + Sync namespace to folder structure + + The project already contains the specified reference. The project already contains the specified reference. diff --git a/src/Workspaces/Core/Portable/xlf/WorkspacesResources.es.xlf b/src/Workspaces/Core/Portable/xlf/WorkspacesResources.es.xlf index 044e0f9956f..6bc69a1882b 100644 --- a/src/Workspaces/Core/Portable/xlf/WorkspacesResources.es.xlf +++ b/src/Workspaces/Core/Portable/xlf/WorkspacesResources.es.xlf @@ -97,6 +97,11 @@ No se permite quitar documentos de configuración del analizador. + + Rename '{0}' to '{1}' + Rename '{0}' to '{1}' + + Solution does not contain specified reference Solution does not contain specified reference @@ -182,6 +187,11 @@ Symbol's project could not be found in the provided solution + + Sync namespace to folder structure + Sync namespace to folder structure + + The project already contains the specified reference. The project already contains the specified reference. diff --git a/src/Workspaces/Core/Portable/xlf/WorkspacesResources.fr.xlf b/src/Workspaces/Core/Portable/xlf/WorkspacesResources.fr.xlf index 4e45191fe68..2613da9f125 100644 --- a/src/Workspaces/Core/Portable/xlf/WorkspacesResources.fr.xlf +++ b/src/Workspaces/Core/Portable/xlf/WorkspacesResources.fr.xlf @@ -97,6 +97,11 @@ La suppression de documents de configuration de l'analyseur n'est pas prise en charge. + + Rename '{0}' to '{1}' + Rename '{0}' to '{1}' + + Solution does not contain specified reference Solution does not contain specified reference @@ -182,6 +187,11 @@ Symbol's project could not be found in the provided solution + + Sync namespace to folder structure + Sync namespace to folder structure + + The project already contains the specified reference. The project already contains the specified reference. diff --git a/src/Workspaces/Core/Portable/xlf/WorkspacesResources.it.xlf b/src/Workspaces/Core/Portable/xlf/WorkspacesResources.it.xlf index 3de2b8128ea..0bba1ec3b3d 100644 --- a/src/Workspaces/Core/Portable/xlf/WorkspacesResources.it.xlf +++ b/src/Workspaces/Core/Portable/xlf/WorkspacesResources.it.xlf @@ -97,6 +97,11 @@ La rimozione di documenti di configurazione dell'analizzatore non è supportata. + + Rename '{0}' to '{1}' + Rename '{0}' to '{1}' + + Solution does not contain specified reference Solution does not contain specified reference @@ -182,6 +187,11 @@ Symbol's project could not be found in the provided solution + + Sync namespace to folder structure + Sync namespace to folder structure + + The project already contains the specified reference. The project already contains the specified reference. diff --git a/src/Workspaces/Core/Portable/xlf/WorkspacesResources.ja.xlf b/src/Workspaces/Core/Portable/xlf/WorkspacesResources.ja.xlf index 651752ad17e..544cd9f6674 100644 --- a/src/Workspaces/Core/Portable/xlf/WorkspacesResources.ja.xlf +++ b/src/Workspaces/Core/Portable/xlf/WorkspacesResources.ja.xlf @@ -97,6 +97,11 @@ アナライザー構成ドキュメントの削除はサポートされていません。 + + Rename '{0}' to '{1}' + Rename '{0}' to '{1}' + + Solution does not contain specified reference Solution does not contain specified reference @@ -182,6 +187,11 @@ Symbol's project could not be found in the provided solution + + Sync namespace to folder structure + Sync namespace to folder structure + + The project already contains the specified reference. The project already contains the specified reference. diff --git a/src/Workspaces/Core/Portable/xlf/WorkspacesResources.ko.xlf b/src/Workspaces/Core/Portable/xlf/WorkspacesResources.ko.xlf index 362e8c7ac1d..a8ab5367481 100644 --- a/src/Workspaces/Core/Portable/xlf/WorkspacesResources.ko.xlf +++ b/src/Workspaces/Core/Portable/xlf/WorkspacesResources.ko.xlf @@ -97,6 +97,11 @@ 분석기 구성 문서 제거는 지원되지 않습니다. + + Rename '{0}' to '{1}' + Rename '{0}' to '{1}' + + Solution does not contain specified reference Solution does not contain specified reference @@ -182,6 +187,11 @@ Symbol's project could not be found in the provided solution + + Sync namespace to folder structure + Sync namespace to folder structure + + The project already contains the specified reference. The project already contains the specified reference. diff --git a/src/Workspaces/Core/Portable/xlf/WorkspacesResources.pl.xlf b/src/Workspaces/Core/Portable/xlf/WorkspacesResources.pl.xlf index 7890de148dc..ab3f4a543b0 100644 --- a/src/Workspaces/Core/Portable/xlf/WorkspacesResources.pl.xlf +++ b/src/Workspaces/Core/Portable/xlf/WorkspacesResources.pl.xlf @@ -97,6 +97,11 @@ Usuwanie dokumentów z konfiguracją analizatora nie jest obsługiwane. + + Rename '{0}' to '{1}' + Rename '{0}' to '{1}' + + Solution does not contain specified reference Solution does not contain specified reference @@ -182,6 +187,11 @@ Symbol's project could not be found in the provided solution + + Sync namespace to folder structure + Sync namespace to folder structure + + The project already contains the specified reference. The project already contains the specified reference. diff --git a/src/Workspaces/Core/Portable/xlf/WorkspacesResources.pt-BR.xlf b/src/Workspaces/Core/Portable/xlf/WorkspacesResources.pt-BR.xlf index 5d411b10a69..c1e16ec7641 100644 --- a/src/Workspaces/Core/Portable/xlf/WorkspacesResources.pt-BR.xlf +++ b/src/Workspaces/Core/Portable/xlf/WorkspacesResources.pt-BR.xlf @@ -97,6 +97,11 @@ Não há suporte para a remoção de documentos da configuração do analisador. + + Rename '{0}' to '{1}' + Rename '{0}' to '{1}' + + Solution does not contain specified reference Solution does not contain specified reference @@ -182,6 +187,11 @@ Symbol's project could not be found in the provided solution + + Sync namespace to folder structure + Sync namespace to folder structure + + The project already contains the specified reference. The project already contains the specified reference. diff --git a/src/Workspaces/Core/Portable/xlf/WorkspacesResources.ru.xlf b/src/Workspaces/Core/Portable/xlf/WorkspacesResources.ru.xlf index e240b7aa9ea..4e0628f9645 100644 --- a/src/Workspaces/Core/Portable/xlf/WorkspacesResources.ru.xlf +++ b/src/Workspaces/Core/Portable/xlf/WorkspacesResources.ru.xlf @@ -97,6 +97,11 @@ Удаление документов конфигурации анализатора не поддерживается. + + Rename '{0}' to '{1}' + Rename '{0}' to '{1}' + + Solution does not contain specified reference Solution does not contain specified reference @@ -182,6 +187,11 @@ Symbol's project could not be found in the provided solution + + Sync namespace to folder structure + Sync namespace to folder structure + + The project already contains the specified reference. The project already contains the specified reference. diff --git a/src/Workspaces/Core/Portable/xlf/WorkspacesResources.tr.xlf b/src/Workspaces/Core/Portable/xlf/WorkspacesResources.tr.xlf index 14550af4bbb..15ecb1b7d90 100644 --- a/src/Workspaces/Core/Portable/xlf/WorkspacesResources.tr.xlf +++ b/src/Workspaces/Core/Portable/xlf/WorkspacesResources.tr.xlf @@ -97,6 +97,11 @@ Çözümleyici yapılandırma belgelerinin kaldırılması desteklenmiyor. + + Rename '{0}' to '{1}' + Rename '{0}' to '{1}' + + Solution does not contain specified reference Solution does not contain specified reference @@ -182,6 +187,11 @@ Symbol's project could not be found in the provided solution + + Sync namespace to folder structure + Sync namespace to folder structure + + The project already contains the specified reference. The project already contains the specified reference. diff --git a/src/Workspaces/Core/Portable/xlf/WorkspacesResources.zh-Hans.xlf b/src/Workspaces/Core/Portable/xlf/WorkspacesResources.zh-Hans.xlf index c1b2be14219..fc887ff5a34 100644 --- a/src/Workspaces/Core/Portable/xlf/WorkspacesResources.zh-Hans.xlf +++ b/src/Workspaces/Core/Portable/xlf/WorkspacesResources.zh-Hans.xlf @@ -97,6 +97,11 @@ 不支持删除分析器配置文档。 + + Rename '{0}' to '{1}' + Rename '{0}' to '{1}' + + Solution does not contain specified reference Solution does not contain specified reference @@ -182,6 +187,11 @@ Symbol's project could not be found in the provided solution + + Sync namespace to folder structure + Sync namespace to folder structure + + The project already contains the specified reference. The project already contains the specified reference. diff --git a/src/Workspaces/Core/Portable/xlf/WorkspacesResources.zh-Hant.xlf b/src/Workspaces/Core/Portable/xlf/WorkspacesResources.zh-Hant.xlf index a7c9704fa3f..6c51615b738 100644 --- a/src/Workspaces/Core/Portable/xlf/WorkspacesResources.zh-Hant.xlf +++ b/src/Workspaces/Core/Portable/xlf/WorkspacesResources.zh-Hant.xlf @@ -97,6 +97,11 @@ 不支援移除分析器組態文件。 + + Rename '{0}' to '{1}' + Rename '{0}' to '{1}' + + Solution does not contain specified reference Solution does not contain specified reference @@ -182,6 +187,11 @@ Symbol's project could not be found in the provided solution + + Sync namespace to folder structure + Sync namespace to folder structure + + The project already contains the specified reference. The project already contains the specified reference. diff --git a/src/Workspaces/CoreTest/Renamer/RenamerTests.cs b/src/Workspaces/CoreTest/Renamer/RenamerTests.cs index feb63e2a6cc..44218631fc8 100644 --- a/src/Workspaces/CoreTest/Renamer/RenamerTests.cs +++ b/src/Workspaces/CoreTest/Renamer/RenamerTests.cs @@ -75,6 +75,9 @@ protected struct DocumentWithInfo Assert.True(remainingErrors.Contains(error), $"Error '{error}' was unexpected"); remainingErrors.Remove(error); } + + // https://github.com/dotnet/roslyn/issues/44220 + Assert.NotNull(action.GetDescription()); } solution = await documentRenameResult.UpdateSolutionAsync(solution, CancellationToken.None); -- GitLab