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

Port TypeCodeDomSerializer #757

Merged
merged 3 commits into from Apr 15, 2019
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.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
3 changes: 3 additions & 0 deletions src/System.Windows.Forms.Design/src/Resources/SR.resx
Expand Up @@ -729,6 +729,9 @@
<data name="SerializerMemberTypeNotSerializable" xml:space="preserve">
<value>Members of type '{0}' cannot be serialized.</value>
</data>
<data name="SerializerTypeAbstract" xml:space="preserve">
<value>The designer must create an instance of type '{0}' but it cannot because the type is declared as abstract.</value>
</data>
<data name="StandardToolHelp" xml:space="preserve">
<value>He&amp;lp</value>
</data>
Expand Down
5 changes: 5 additions & 0 deletions src/System.Windows.Forms.Design/src/Resources/xlf/SR.cs.xlf
Expand Up @@ -621,6 +621,11 @@
<target state="translated">Při čtení prostředků ze souboru prostředků výchozí jazykové verze došlo k chybě: {0}</target>
<note />
</trans-unit>
<trans-unit id="SerializerTypeAbstract">
<source>The designer must create an instance of type '{0}' but it cannot because the type is declared as abstract.</source>
<target state="new">The designer must create an instance of type '{0}' but it cannot because the type is declared as abstract.</target>
<note />
</trans-unit>
<trans-unit id="SerializerTypeNotFound">
<source>Could not find type '{0}'. Please make sure that the assembly that contains this type is referenced. If this type is a part of your development project, make sure that the project has been successfully built using settings for your current platform or Any CPU.</source>
<target state="translated">Typ {0} nebyl nalezen. Zkontrolujte, zda je uveden odkaz na sestavení, které daný typ obsahuje. Je-li tento typ součástí vyvíjeného projektu, zkontrolujte, zda je projekt úspěšně sestaven pomocí nastavení pro aktuální platformu nebo libovolný procesor.</target>
Expand Down
5 changes: 5 additions & 0 deletions src/System.Windows.Forms.Design/src/Resources/xlf/SR.de.xlf
Expand Up @@ -621,6 +621,11 @@
<target state="translated">Fehler beim Lesen der Ressourcen aus der Ressourcendatei für die Standardkultur: {0}</target>
<note />
</trans-unit>
<trans-unit id="SerializerTypeAbstract">
<source>The designer must create an instance of type '{0}' but it cannot because the type is declared as abstract.</source>
<target state="new">The designer must create an instance of type '{0}' but it cannot because the type is declared as abstract.</target>
<note />
</trans-unit>
<trans-unit id="SerializerTypeNotFound">
<source>Could not find type '{0}'. Please make sure that the assembly that contains this type is referenced. If this type is a part of your development project, make sure that the project has been successfully built using settings for your current platform or Any CPU.</source>
<target state="translated">Der Typ "{0}" wurde nicht gefunden. Stellen Sie sicher, dass auf die Assembly, die diesen Typ enthält, verwiesen wird. Wenn dieser Typ Teil Ihres Entwicklungsprojekts ist, stellen Sie sicher, dass das Projekt mithilfe der Einstellungen für die aktuelle Plattform oder eine beliebige CPU erstellt wurde.</target>
Expand Down
5 changes: 5 additions & 0 deletions src/System.Windows.Forms.Design/src/Resources/xlf/SR.es.xlf
Expand Up @@ -621,6 +621,11 @@
<target state="translated">Error al leer los recursos del archivo de recursos para la referencia cultural predeterminada: {0}</target>
<note />
</trans-unit>
<trans-unit id="SerializerTypeAbstract">
<source>The designer must create an instance of type '{0}' but it cannot because the type is declared as abstract.</source>
<target state="new">The designer must create an instance of type '{0}' but it cannot because the type is declared as abstract.</target>
<note />
</trans-unit>
<trans-unit id="SerializerTypeNotFound">
<source>Could not find type '{0}'. Please make sure that the assembly that contains this type is referenced. If this type is a part of your development project, make sure that the project has been successfully built using settings for your current platform or Any CPU.</source>
<target state="translated">No se encuentra el tipo '{0}'. Asegúrese de que se hace referencia al ensamblado que contiene este tipo. Si el tipo forma parte de su proyecto de desarrollo, asegúrese de que el proyecto se haya compilado correctamente con el valor de la plataforma actual o Cualquier CPU.</target>
Expand Down
5 changes: 5 additions & 0 deletions src/System.Windows.Forms.Design/src/Resources/xlf/SR.fr.xlf
Expand Up @@ -621,6 +621,11 @@
<target state="translated">Erreur lors de la lecture des ressources à partir du fichier de ressources pour la culture par défaut : {0}</target>
<note />
</trans-unit>
<trans-unit id="SerializerTypeAbstract">
<source>The designer must create an instance of type '{0}' but it cannot because the type is declared as abstract.</source>
<target state="new">The designer must create an instance of type '{0}' but it cannot because the type is declared as abstract.</target>
<note />
</trans-unit>
<trans-unit id="SerializerTypeNotFound">
<source>Could not find type '{0}'. Please make sure that the assembly that contains this type is referenced. If this type is a part of your development project, make sure that the project has been successfully built using settings for your current platform or Any CPU.</source>
<target state="translated">Type '{0}' introuvable. Vérifiez que l'assembly qui contient ce type est référencé. Si ce type est un composant de votre projet de développement, assurez-vous que le projet a été créé comme il se doit à l'aide des paramètres de votre plateforme actuelle ou Any CPU.</target>
Expand Down
5 changes: 5 additions & 0 deletions src/System.Windows.Forms.Design/src/Resources/xlf/SR.it.xlf
Expand Up @@ -621,6 +621,11 @@
<target state="translated">Errore durante la lettura delle risorse dal file di risorse per le impostazioni cultura predefinite: {0}</target>
<note />
</trans-unit>
<trans-unit id="SerializerTypeAbstract">
<source>The designer must create an instance of type '{0}' but it cannot because the type is declared as abstract.</source>
<target state="new">The designer must create an instance of type '{0}' but it cannot because the type is declared as abstract.</target>
<note />
</trans-unit>
<trans-unit id="SerializerTypeNotFound">
<source>Could not find type '{0}'. Please make sure that the assembly that contains this type is referenced. If this type is a part of your development project, make sure that the project has been successfully built using settings for your current platform or Any CPU.</source>
<target state="translated">Il tipo '{0}' non è stato trovato. Verificare la presenza di un riferimento all'assembly che lo contiene. Se il tipo fa parte del progetto di sviluppo, assicurarsi che quest'ultimo sia stato compilato correttamente usando le impostazioni per la piattaforma corrente o Any CPU.</target>
Expand Down
5 changes: 5 additions & 0 deletions src/System.Windows.Forms.Design/src/Resources/xlf/SR.ja.xlf
Expand Up @@ -621,6 +621,11 @@
<target state="translated">既定カルチャのリソース ファイルからリソースを読み取り中にエラーが発生しました:{0}</target>
<note />
</trans-unit>
<trans-unit id="SerializerTypeAbstract">
<source>The designer must create an instance of type '{0}' but it cannot because the type is declared as abstract.</source>
<target state="new">The designer must create an instance of type '{0}' but it cannot because the type is declared as abstract.</target>
<note />
</trans-unit>
<trans-unit id="SerializerTypeNotFound">
<source>Could not find type '{0}'. Please make sure that the assembly that contains this type is referenced. If this type is a part of your development project, make sure that the project has been successfully built using settings for your current platform or Any CPU.</source>
<target state="translated">型 '{0}' が見つかりませんでした。 この型を含むアセンブリが参照されていることを確認してください。 この型が開発プロジェクトの一部である場合は、現在のプラットフォームまたは Any CPU の設定を使用して、プロジェクトが正常にビルドされていることを確認してください。</target>
Expand Down
5 changes: 5 additions & 0 deletions src/System.Windows.Forms.Design/src/Resources/xlf/SR.ko.xlf
Expand Up @@ -621,6 +621,11 @@
<target state="translated">기본 문화권에 대한 리소스 파일에서 리소스를 읽는 동안 오류가 발생했습니다. {0}</target>
<note />
</trans-unit>
<trans-unit id="SerializerTypeAbstract">
<source>The designer must create an instance of type '{0}' but it cannot because the type is declared as abstract.</source>
<target state="new">The designer must create an instance of type '{0}' but it cannot because the type is declared as abstract.</target>
<note />
</trans-unit>
<trans-unit id="SerializerTypeNotFound">
<source>Could not find type '{0}'. Please make sure that the assembly that contains this type is referenced. If this type is a part of your development project, make sure that the project has been successfully built using settings for your current platform or Any CPU.</source>
<target state="translated">'{0}' 형식을 찾을 수 없습니다. 이 형식을 포함하는 어셈블리가 참조되는지 확인하십시오. 이 형식이 개발 프로젝트의 일부인 경우 해당 프로젝트가 현재 플랫폼 또는 모든 CPU에 대한 설정을 사용하여 올바르게 빌드되었는지 확인하십시오.</target>
Expand Down
5 changes: 5 additions & 0 deletions src/System.Windows.Forms.Design/src/Resources/xlf/SR.pl.xlf
Expand Up @@ -621,6 +621,11 @@
<target state="translated">Błąd podczas odczytu zasobów z pliku zasobów dla kultury domyślnej: {0}</target>
<note />
</trans-unit>
<trans-unit id="SerializerTypeAbstract">
<source>The designer must create an instance of type '{0}' but it cannot because the type is declared as abstract.</source>
<target state="new">The designer must create an instance of type '{0}' but it cannot because the type is declared as abstract.</target>
<note />
</trans-unit>
<trans-unit id="SerializerTypeNotFound">
<source>Could not find type '{0}'. Please make sure that the assembly that contains this type is referenced. If this type is a part of your development project, make sure that the project has been successfully built using settings for your current platform or Any CPU.</source>
<target state="translated">Nie można odnaleźć typu „{0}”. Upewnij się, że występuje odwołanie do zestawu zawierającego ten typ. Jeśli ten typ jest częścią opracowywanego projektu, upewnij się, że projekt został pomyślnie utworzony przy użyciu ustawień bieżącej platformy lub dowolnego procesora.</target>
Expand Down
Expand Up @@ -621,6 +621,11 @@
<target state="translated">Erro na leitura de recursos do arquivo de recursos para a cultura padrão: {0}</target>
<note />
</trans-unit>
<trans-unit id="SerializerTypeAbstract">
<source>The designer must create an instance of type '{0}' but it cannot because the type is declared as abstract.</source>
<target state="new">The designer must create an instance of type '{0}' but it cannot because the type is declared as abstract.</target>
<note />
</trans-unit>
<trans-unit id="SerializerTypeNotFound">
<source>Could not find type '{0}'. Please make sure that the assembly that contains this type is referenced. If this type is a part of your development project, make sure that the project has been successfully built using settings for your current platform or Any CPU.</source>
<target state="translated">Não foi possível encontrar o tipo '{0}'. Verifique se o assembly que contém esse tipo é referenciado. Se esse tipo fizer parte do projeto de desenvolvimento, verifique se o projeto foi criado com êxito com o uso das configurações para sua plataforma atual ou para qualquer CPU.</target>
Expand Down
5 changes: 5 additions & 0 deletions src/System.Windows.Forms.Design/src/Resources/xlf/SR.ru.xlf
Expand Up @@ -621,6 +621,11 @@
<target state="translated">Ошибка чтения ресурсов из файла ресурсов для культуры по умолчанию: {0}</target>
<note />
</trans-unit>
<trans-unit id="SerializerTypeAbstract">
<source>The designer must create an instance of type '{0}' but it cannot because the type is declared as abstract.</source>
<target state="new">The designer must create an instance of type '{0}' but it cannot because the type is declared as abstract.</target>
<note />
</trans-unit>
<trans-unit id="SerializerTypeNotFound">
<source>Could not find type '{0}'. Please make sure that the assembly that contains this type is referenced. If this type is a part of your development project, make sure that the project has been successfully built using settings for your current platform or Any CPU.</source>
<target state="translated">Не удалось найти тип "{0}". Проверьте, что есть ссылка на сборку, содержащую этот тип. Если этот тип является частью разрабатываемого проекта, убедитесь в том, что проект успешно откомпилирован с использованием параметров для вашей текущей платформы или для любого процессора.</target>
Expand Down
5 changes: 5 additions & 0 deletions src/System.Windows.Forms.Design/src/Resources/xlf/SR.tr.xlf
Expand Up @@ -621,6 +621,11 @@
<target state="translated">{0} varsayılan kültürünün kaynak dosyasındaki kaynakları okuma hatası</target>
<note />
</trans-unit>
<trans-unit id="SerializerTypeAbstract">
<source>The designer must create an instance of type '{0}' but it cannot because the type is declared as abstract.</source>
<target state="new">The designer must create an instance of type '{0}' but it cannot because the type is declared as abstract.</target>
<note />
</trans-unit>
<trans-unit id="SerializerTypeNotFound">
<source>Could not find type '{0}'. Please make sure that the assembly that contains this type is referenced. If this type is a part of your development project, make sure that the project has been successfully built using settings for your current platform or Any CPU.</source>
<target state="translated">'{0}' türü bulunamadı. Lütfen bu türü içeren bütünleştirilmiş koda başvurulduğundan emin olun. Bu tür, geliştirme projenizin bir parçasıysa, projenin geçerli platformunuzun ayarları veya Herhangi Bir CPU kullanılarak başarıyla oluşturulduğundan emin olun.</target>
Expand Down
Expand Up @@ -621,6 +621,11 @@
<target state="translated">从默认区域性的资源文件中读取资源时出错: {0}</target>
<note />
</trans-unit>
<trans-unit id="SerializerTypeAbstract">
<source>The designer must create an instance of type '{0}' but it cannot because the type is declared as abstract.</source>
<target state="new">The designer must create an instance of type '{0}' but it cannot because the type is declared as abstract.</target>
<note />
</trans-unit>
<trans-unit id="SerializerTypeNotFound">
<source>Could not find type '{0}'. Please make sure that the assembly that contains this type is referenced. If this type is a part of your development project, make sure that the project has been successfully built using settings for your current platform or Any CPU.</source>
<target state="translated">未能找到类型“{0}”。请确保已引用包含此类型的程序集。如果此类型为开发项目的一部分,请确保已使用针对当前平台或任意 CPU 的设置成功生成该项目。</target>
Expand Down
Expand Up @@ -621,6 +621,11 @@
<target state="translated">從資源檔案讀取預設文化特性的資源時發生錯誤: {0}</target>
<note />
</trans-unit>
<trans-unit id="SerializerTypeAbstract">
<source>The designer must create an instance of type '{0}' but it cannot because the type is declared as abstract.</source>
<target state="new">The designer must create an instance of type '{0}' but it cannot because the type is declared as abstract.</target>
<note />
</trans-unit>
<trans-unit id="SerializerTypeNotFound">
<source>Could not find type '{0}'. Please make sure that the assembly that contains this type is referenced. If this type is a part of your development project, make sure that the project has been successfully built using settings for your current platform or Any CPU.</source>
<target state="translated">找不到類型 '{0}'。請確認已經參考包含此類型的組件。如果此類型是您開發專案的一部分,請確認此專案是否已使用您目前平台的設定或 [Any CPU] 成功建置。</target>
Expand Down
Expand Up @@ -139,7 +139,7 @@ protected static Type GetReflectionTypeFromTypeHelper(IDesignerSerializationMana
return TypeDescriptor.GetReflectionType(type);
}

private static void Error(IDesignerSerializationManager manager, string exceptionText, string helpLink)
internal static void Error(IDesignerSerializationManager manager, string exceptionText, string helpLink)
{
if (manager == null) throw new ArgumentNullException(nameof(manager));
if (exceptionText == null) throw new ArgumentNullException(nameof(exceptionText));
Expand Down