From cf28b747de4fd9d02ec0b15ba372d1c7ec62b750 Mon Sep 17 00:00:00 2001 From: David Poeschl Date: Thu, 9 Jan 2020 15:50:04 -0800 Subject: [PATCH] Improve narrator strings for parameters --- .../ChangeSignatureDialogViewModel.cs | 7 ++++++- .../Core/Def/ServicesVSResources.Designer.cs | 18 ++++++++++++++++++ .../Core/Def/ServicesVSResources.resx | 6 ++++++ .../Core/Def/xlf/ServicesVSResources.cs.xlf | 10 ++++++++++ .../Core/Def/xlf/ServicesVSResources.de.xlf | 10 ++++++++++ .../Core/Def/xlf/ServicesVSResources.es.xlf | 10 ++++++++++ .../Core/Def/xlf/ServicesVSResources.fr.xlf | 10 ++++++++++ .../Core/Def/xlf/ServicesVSResources.it.xlf | 10 ++++++++++ .../Core/Def/xlf/ServicesVSResources.ja.xlf | 10 ++++++++++ .../Core/Def/xlf/ServicesVSResources.ko.xlf | 10 ++++++++++ .../Core/Def/xlf/ServicesVSResources.pl.xlf | 10 ++++++++++ .../Core/Def/xlf/ServicesVSResources.pt-BR.xlf | 10 ++++++++++ .../Core/Def/xlf/ServicesVSResources.ru.xlf | 10 ++++++++++ .../Core/Def/xlf/ServicesVSResources.tr.xlf | 10 ++++++++++ .../Def/xlf/ServicesVSResources.zh-Hans.xlf | 10 ++++++++++ .../Def/xlf/ServicesVSResources.zh-Hant.xlf | 10 ++++++++++ 16 files changed, 160 insertions(+), 1 deletion(-) diff --git a/src/VisualStudio/Core/Def/Implementation/ChangeSignature/ChangeSignatureDialogViewModel.cs b/src/VisualStudio/Core/Def/Implementation/ChangeSignature/ChangeSignatureDialogViewModel.cs index a5861f4fd8b..e5c9cbddf81 100644 --- a/src/VisualStudio/Core/Def/Implementation/ChangeSignature/ChangeSignatureDialogViewModel.cs +++ b/src/VisualStudio/Core/Def/Implementation/ChangeSignature/ChangeSignatureDialogViewModel.cs @@ -577,12 +577,17 @@ public override string FullAutomationText { get { - var text = $"{Modifier} {Type} {Parameter}"; + var text = ServicesVSResources.Added_Parameter; + + text += $"{Modifier} {Type} {Parameter}"; + if (!string.IsNullOrWhiteSpace(Default)) { text += $" = {Default}"; } + text += string.Format(ServicesVSResources.Inserting_call_site_value_0, Callsite); + return text; } } diff --git a/src/VisualStudio/Core/Def/ServicesVSResources.Designer.cs b/src/VisualStudio/Core/Def/ServicesVSResources.Designer.cs index b9468aa7ee3..4094046e3d9 100644 --- a/src/VisualStudio/Core/Def/ServicesVSResources.Designer.cs +++ b/src/VisualStudio/Core/Def/ServicesVSResources.Designer.cs @@ -234,6 +234,15 @@ internal class ServicesVSResources { } } + /// + /// Looks up a localized string similar to Added parameter.. + /// + internal static string Added_Parameter { + get { + return ResourceManager.GetString("Added_Parameter", resourceCulture); + } + } + /// /// Looks up a localized string similar to Additional changes are needed to complete the refactoring. Review changes below.. /// @@ -1412,6 +1421,15 @@ internal class ServicesVSResources { } } + /// + /// Looks up a localized string similar to Inserting call site value '{0}'. + /// + internal static string Inserting_call_site_value_0 { + get { + return ResourceManager.GetString("Inserting_call_site_value_0", resourceCulture); + } + } + /// /// Looks up a localized string similar to Install '{0}'. /// diff --git a/src/VisualStudio/Core/Def/ServicesVSResources.resx b/src/VisualStudio/Core/Def/ServicesVSResources.resx index 301c54d654a..28a524f64bc 100644 --- a/src/VisualStudio/Core/Def/ServicesVSResources.resx +++ b/src/VisualStudio/Core/Def/ServicesVSResources.resx @@ -1404,4 +1404,10 @@ I agree to all of the foregoing: <TODO> "TODO" is an indication that there is work to be done still + + Added parameter. + + + Inserting call site value '{0}' + \ No newline at end of file diff --git a/src/VisualStudio/Core/Def/xlf/ServicesVSResources.cs.xlf b/src/VisualStudio/Core/Def/xlf/ServicesVSResources.cs.xlf index a009d370759..daadf74a8f0 100644 --- a/src/VisualStudio/Core/Def/xlf/ServicesVSResources.cs.xlf +++ b/src/VisualStudio/Core/Def/xlf/ServicesVSResources.cs.xlf @@ -27,6 +27,11 @@ Přidat do _aktuálního souboru + + Added parameter. + Added parameter. + + Additional changes are needed to complete the refactoring. Review changes below. Aby bylo možné dokončit refaktoring, je nutné udělat další změny. Zkontrolujte změny níže. @@ -192,6 +197,11 @@ V jiných operátorech + + Inserting call site value '{0}' + Inserting call site value '{0}' + + Install Microsoft-recommended Roslyn analyzers, which provide additional diagnostics and fixes for common API design, security, performance, and reliability issues Nainstalujte Microsoftem doporučené analyzátory Roslyn, které poskytují další diagnostiku a opravy pro běžné problémy s návrhem, zabezpečením, výkonem a spolehlivostí rozhraní API. diff --git a/src/VisualStudio/Core/Def/xlf/ServicesVSResources.de.xlf b/src/VisualStudio/Core/Def/xlf/ServicesVSResources.de.xlf index 9f7298eea53..04091f01793 100644 --- a/src/VisualStudio/Core/Def/xlf/ServicesVSResources.de.xlf +++ b/src/VisualStudio/Core/Def/xlf/ServicesVSResources.de.xlf @@ -27,6 +27,11 @@ Zu a_ktueller Datei hinzufügen + + Added parameter. + Added parameter. + + Additional changes are needed to complete the refactoring. Review changes below. Es sind weitere Änderungen erforderlich, um das Refactoring abzuschließen. Prüfen Sie die unten aufgeführten Änderungen. @@ -192,6 +197,11 @@ In anderen Operatoren + + Inserting call site value '{0}' + Inserting call site value '{0}' + + Install Microsoft-recommended Roslyn analyzers, which provide additional diagnostics and fixes for common API design, security, performance, and reliability issues Installieren Sie von Microsoft empfohlene Roslyn-Analysetools, die zusätzliche Diagnosen und Fixes für allgemeine Design-, Sicherheits-, Leistungs- und Zuverlässigkeitsprobleme bei APIs bereitstellen. diff --git a/src/VisualStudio/Core/Def/xlf/ServicesVSResources.es.xlf b/src/VisualStudio/Core/Def/xlf/ServicesVSResources.es.xlf index 661eeb4223f..ddf7228d270 100644 --- a/src/VisualStudio/Core/Def/xlf/ServicesVSResources.es.xlf +++ b/src/VisualStudio/Core/Def/xlf/ServicesVSResources.es.xlf @@ -27,6 +27,11 @@ Agregar al archivo _actual + + Added parameter. + Added parameter. + + Additional changes are needed to complete the refactoring. Review changes below. Se necesitan cambios adicionales para finalizar la refactorización. Revise los cambios a continuación. @@ -192,6 +197,11 @@ En otros operadores + + Inserting call site value '{0}' + Inserting call site value '{0}' + + Install Microsoft-recommended Roslyn analyzers, which provide additional diagnostics and fixes for common API design, security, performance, and reliability issues Instale los analizadores de Roslyn recomendados por Microsoft, que proporcionan diagnósticos y correcciones adicionales para problemas comunes de confiabilidad, rendimiento, seguridad y diseño de API. diff --git a/src/VisualStudio/Core/Def/xlf/ServicesVSResources.fr.xlf b/src/VisualStudio/Core/Def/xlf/ServicesVSResources.fr.xlf index f912d32b5f3..8189789b5e6 100644 --- a/src/VisualStudio/Core/Def/xlf/ServicesVSResources.fr.xlf +++ b/src/VisualStudio/Core/Def/xlf/ServicesVSResources.fr.xlf @@ -27,6 +27,11 @@ Ajouter au fichier a_ctif + + Added parameter. + Added parameter. + + Additional changes are needed to complete the refactoring. Review changes below. Des changements supplémentaires sont nécessaires pour effectuer la refactorisation. Passez en revue les changements ci-dessous. @@ -192,6 +197,11 @@ Dans les autres opérateurs + + Inserting call site value '{0}' + Inserting call site value '{0}' + + Install Microsoft-recommended Roslyn analyzers, which provide additional diagnostics and fixes for common API design, security, performance, and reliability issues Installer les analyseurs Roslyn recommandés par Microsoft, qui fournissent des diagnostics et des correctifs supplémentaires pour les problèmes usuels liés à la conception, à la sécurité, au niveau de performance et à la fiabilité des API diff --git a/src/VisualStudio/Core/Def/xlf/ServicesVSResources.it.xlf b/src/VisualStudio/Core/Def/xlf/ServicesVSResources.it.xlf index de0ce6418ad..794a1ea5cf9 100644 --- a/src/VisualStudio/Core/Def/xlf/ServicesVSResources.it.xlf +++ b/src/VisualStudio/Core/Def/xlf/ServicesVSResources.it.xlf @@ -27,6 +27,11 @@ Aggiungi al file _corrente + + Added parameter. + Added parameter. + + Additional changes are needed to complete the refactoring. Review changes below. Per completare il refactoring, sono necessarie modifiche aggiuntive. Esaminare le modifiche di seguito. @@ -192,6 +197,11 @@ In altri operatori + + Inserting call site value '{0}' + Inserting call site value '{0}' + + Install Microsoft-recommended Roslyn analyzers, which provide additional diagnostics and fixes for common API design, security, performance, and reliability issues Installare gli analizzatori Roslyn consigliati da Microsoft, che offrono ulteriori funzionalità di diagnostica e correzioni per problemi comuni di sicurezza, prestazioni, affidabilità e progettazione di API diff --git a/src/VisualStudio/Core/Def/xlf/ServicesVSResources.ja.xlf b/src/VisualStudio/Core/Def/xlf/ServicesVSResources.ja.xlf index 96e25028180..ac4793b5bb3 100644 --- a/src/VisualStudio/Core/Def/xlf/ServicesVSResources.ja.xlf +++ b/src/VisualStudio/Core/Def/xlf/ServicesVSResources.ja.xlf @@ -27,6 +27,11 @@ 現在のファイルに追加(_C) + + Added parameter. + Added parameter. + + Additional changes are needed to complete the refactoring. Review changes below. リファクタリングを完了するには、追加的な変更が必要です。下記の変更内容を確認してください。 @@ -192,6 +197,11 @@ その他の演算子内で + + Inserting call site value '{0}' + Inserting call site value '{0}' + + Install Microsoft-recommended Roslyn analyzers, which provide additional diagnostics and fixes for common API design, security, performance, and reliability issues Microsoft で推奨されている Roslyn アナライザーをインストールします。これにより、一般的な API の設計、セキュリティ、パフォーマンス、信頼性の問題に対する追加の診断と修正が提供されます diff --git a/src/VisualStudio/Core/Def/xlf/ServicesVSResources.ko.xlf b/src/VisualStudio/Core/Def/xlf/ServicesVSResources.ko.xlf index 075abb53d21..62210360759 100644 --- a/src/VisualStudio/Core/Def/xlf/ServicesVSResources.ko.xlf +++ b/src/VisualStudio/Core/Def/xlf/ServicesVSResources.ko.xlf @@ -27,6 +27,11 @@ 현재 파일에 추가(_C) + + Added parameter. + Added parameter. + + Additional changes are needed to complete the refactoring. Review changes below. 리팩터링을 완료하려면 추가 변경이 필요합니다. 아래 변경 내용을 검토하세요. @@ -192,6 +197,11 @@ 기타 연산자 + + Inserting call site value '{0}' + Inserting call site value '{0}' + + Install Microsoft-recommended Roslyn analyzers, which provide additional diagnostics and fixes for common API design, security, performance, and reliability issues 일반적인 API 디자인, 보안, 성능 및 안정성 문제에 대한 추가 진단 및 수정을 제공하는 Microsoft 권장 Roslyn 분석기를 설치합니다. diff --git a/src/VisualStudio/Core/Def/xlf/ServicesVSResources.pl.xlf b/src/VisualStudio/Core/Def/xlf/ServicesVSResources.pl.xlf index 958583e707e..bd7d778d9f4 100644 --- a/src/VisualStudio/Core/Def/xlf/ServicesVSResources.pl.xlf +++ b/src/VisualStudio/Core/Def/xlf/ServicesVSResources.pl.xlf @@ -27,6 +27,11 @@ Dodaj do _bieżącego pliku + + Added parameter. + Added parameter. + + Additional changes are needed to complete the refactoring. Review changes below. W celu ukończenia refaktoryzacji wymagane są dodatkowe zmiany. Przejrzyj zmiany poniżej. @@ -192,6 +197,11 @@ W innych operatorach + + Inserting call site value '{0}' + Inserting call site value '{0}' + + Install Microsoft-recommended Roslyn analyzers, which provide additional diagnostics and fixes for common API design, security, performance, and reliability issues Zainstaluj analizatory Roslyn rekomendowane przez firmę Microsoft, które oferują dodatkową diagnostykę i poprawki w zakresie typowego projektu interfejsu API, zabezpieczeń, wydajności i niezawodności diff --git a/src/VisualStudio/Core/Def/xlf/ServicesVSResources.pt-BR.xlf b/src/VisualStudio/Core/Def/xlf/ServicesVSResources.pt-BR.xlf index 299d2f2f8c2..89d3967a4f5 100644 --- a/src/VisualStudio/Core/Def/xlf/ServicesVSResources.pt-BR.xlf +++ b/src/VisualStudio/Core/Def/xlf/ServicesVSResources.pt-BR.xlf @@ -27,6 +27,11 @@ Adicionar ao _arquivo atual + + Added parameter. + Added parameter. + + Additional changes are needed to complete the refactoring. Review changes below. Alterações adicionais são necessárias para concluir a refatoração. Revise as alterações abaixo. @@ -192,6 +197,11 @@ Em outros operadores + + Inserting call site value '{0}' + Inserting call site value '{0}' + + Install Microsoft-recommended Roslyn analyzers, which provide additional diagnostics and fixes for common API design, security, performance, and reliability issues Instale os analisadores Roslyn recomendados pela Microsoft, que fornecem diagnósticos adicionais e correções para problemas comuns de confiabilidade, desempenho, segurança e design de API diff --git a/src/VisualStudio/Core/Def/xlf/ServicesVSResources.ru.xlf b/src/VisualStudio/Core/Def/xlf/ServicesVSResources.ru.xlf index da6798a1f45..3836e75f59f 100644 --- a/src/VisualStudio/Core/Def/xlf/ServicesVSResources.ru.xlf +++ b/src/VisualStudio/Core/Def/xlf/ServicesVSResources.ru.xlf @@ -27,6 +27,11 @@ Добавить в _текущий файл + + Added parameter. + Added parameter. + + Additional changes are needed to complete the refactoring. Review changes below. Для завершения рефакторинга требуется внести дополнительные изменения. Просмотрите их ниже. @@ -192,6 +197,11 @@ В других операторах + + Inserting call site value '{0}' + Inserting call site value '{0}' + + Install Microsoft-recommended Roslyn analyzers, which provide additional diagnostics and fixes for common API design, security, performance, and reliability issues Установите рекомендуемые корпорацией Майкрософт анализаторы Roslyn, которые предоставляют дополнительные средства диагностики и исправления для распространенных проблем, связанных с разработкой, безопасностью, производительностью и надежностью API. diff --git a/src/VisualStudio/Core/Def/xlf/ServicesVSResources.tr.xlf b/src/VisualStudio/Core/Def/xlf/ServicesVSResources.tr.xlf index a6f716734ed..03e6b632bb2 100644 --- a/src/VisualStudio/Core/Def/xlf/ServicesVSResources.tr.xlf +++ b/src/VisualStudio/Core/Def/xlf/ServicesVSResources.tr.xlf @@ -27,6 +27,11 @@ Geçerli _dosyaya ekle + + Added parameter. + Added parameter. + + Additional changes are needed to complete the refactoring. Review changes below. Yeniden düzenlemeyi tamamlamak için ek değişiklikler gerekli. Aşağıdaki değişiklikleri gözden geçirin. @@ -192,6 +197,11 @@ Diğer işleçlerde + + Inserting call site value '{0}' + Inserting call site value '{0}' + + Install Microsoft-recommended Roslyn analyzers, which provide additional diagnostics and fixes for common API design, security, performance, and reliability issues Microsoft'un önerdiği, genel API tasarımı, güvenlik, performans ve güvenilirlik sorunları için ek tanılama ve düzeltmeler sağlayan Roslyn çözümleyicilerini yükleyin diff --git a/src/VisualStudio/Core/Def/xlf/ServicesVSResources.zh-Hans.xlf b/src/VisualStudio/Core/Def/xlf/ServicesVSResources.zh-Hans.xlf index 110ce09f870..ca1ad3efa37 100644 --- a/src/VisualStudio/Core/Def/xlf/ServicesVSResources.zh-Hans.xlf +++ b/src/VisualStudio/Core/Def/xlf/ServicesVSResources.zh-Hans.xlf @@ -27,6 +27,11 @@ 添加到当前文件(_C) + + Added parameter. + Added parameter. + + Additional changes are needed to complete the refactoring. Review changes below. 需要进行其他更改才可完成重构。请在下方查看所作更改。 @@ -192,6 +197,11 @@ 在其他运算符中 + + Inserting call site value '{0}' + Inserting call site value '{0}' + + Install Microsoft-recommended Roslyn analyzers, which provide additional diagnostics and fixes for common API design, security, performance, and reliability issues 安装 Microsoft 推荐的 Roslyn 分析器,它提供了针对常见 API 设计、安全性、性能和可靠性问题的额外诊断和修补程序 diff --git a/src/VisualStudio/Core/Def/xlf/ServicesVSResources.zh-Hant.xlf b/src/VisualStudio/Core/Def/xlf/ServicesVSResources.zh-Hant.xlf index 8c8fe5114eb..b85629224a7 100644 --- a/src/VisualStudio/Core/Def/xlf/ServicesVSResources.zh-Hant.xlf +++ b/src/VisualStudio/Core/Def/xlf/ServicesVSResources.zh-Hant.xlf @@ -27,6 +27,11 @@ 新增至 _current 檔案 + + Added parameter. + Added parameter. + + Additional changes are needed to complete the refactoring. Review changes below. 必須進行其他變更,才能完成重構。請檢閱以下變更。 @@ -192,6 +197,11 @@ 其他運算子中 + + Inserting call site value '{0}' + Inserting call site value '{0}' + + Install Microsoft-recommended Roslyn analyzers, which provide additional diagnostics and fixes for common API design, security, performance, and reliability issues 安裝 Microsoft 建議的 Roslyn 分析器,其可為一般 API 設計、安全性、效能及可靠性問題提供額外的診斷與修正 -- GitLab