From a60910c15ff45cde2fc94799cc3448653ccf144e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Eduardo=20C=C3=A1ceres?= Date: Mon, 12 Sep 2022 12:09:27 +0200 Subject: [PATCH] Update .NET 5 -> .NET 6 in docs --- README.fa.md | 2 +- README.md | 2 +- README.pt-BR.md | 2 +- README.zh.md | 2 +- src/Spectre.Console/Extensions/StringBuilderExtensions.cs | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/README.fa.md b/README.fa.md index f1ba07c..5b3a446 100644 --- a/README.fa.md +++ b/README.fa.md @@ -4,7 +4,7 @@ _[![Spectre.Console NuGet Version](https://img.shields.io/nuget/v/spectre.consol
-یک کتابخانه NET Standard 2.0/.NET 5. که ایجاد Console Applicationهای زیبا و cross platform را آسان‌تر می‌کند. +یک کتابخانه NET Standard 2.0/.NET 6. که ایجاد Console Applicationهای زیبا و cross platform را آسان‌تر می‌کند. از کتابخانه عالی [Rich](https://github.com/willmcgugan/rich) برای پایتون، بسیار الهام گرفته شده است. ## فهرست diff --git a/README.md b/README.md index 8aa484b..b0ab7e4 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,7 @@ _[![Spectre.Console NuGet Version](https://img.shields.io/nuget/v/spectre.console.svg?style=flat&label=NuGet%3A%20Spectre.Console)](https://www.nuget.org/packages/spectre.console)_ [![Netlify Status](https://api.netlify.com/api/v1/badges/1eaf215a-eb9c-45e4-8c64-c90b62963149/deploy-status)](https://app.netlify.com/sites/spectreconsole/deploys) -A .NET 5/.NET Standard 2.0 library that makes it easier to create beautiful, cross platform, console applications. +A .NET 6/.NET Standard 2.0 library that makes it easier to create beautiful, cross platform, console applications. It is heavily inspired by the excellent [Rich library](https://github.com/willmcgugan/rich) for Python. diff --git a/README.pt-BR.md b/README.pt-BR.md index bd2debe..8012999 100644 --- a/README.pt-BR.md +++ b/README.pt-BR.md @@ -2,7 +2,7 @@ _[![Spectre.Console NuGet Versão](https://img.shields.io/nuget/v/spectre.console.svg?style=flat&label=NuGet%3A%20Spectre.Console)](https://www.nuget.org/packages/spectre.console)_ -Uma biblioteca .NET 5/.NET Standard 2.0 que torna mais fácil criar aplicativos de console bonitos e multiplataforma. +Uma biblioteca .NET 6/.NET Standard 2.0 que torna mais fácil criar aplicativos de console bonitos e multiplataforma. É fortemente inspirada na excelente [biblioteca Rich](https://github.com/willmcgugan/rich) para Python. diff --git a/README.zh.md b/README.zh.md index ddcc69f..fe7598d 100644 --- a/README.zh.md +++ b/README.zh.md @@ -2,7 +2,7 @@ _[![Spectre.Console NuGet Version](https://img.shields.io/nuget/v/spectre.console.svg?style=flat&label=NuGet%3A%20Spectre.Console)](https://www.nuget.org/packages/spectre.console)_ -`Spectre.Console`是一个 .NET 5/.NET Standard 2.0 的库,可以更轻松地创建美观的跨平台控制台应用程序。 +`Spectre.Console`是一个 .NET 6/.NET Standard 2.0 的库,可以更轻松地创建美观的跨平台控制台应用程序。 深受 [Rich](https://github.com/willmcgugan/rich) 这个Python优秀库的启发。 diff --git a/src/Spectre.Console/Extensions/StringBuilderExtensions.cs b/src/Spectre.Console/Extensions/StringBuilderExtensions.cs index 3c91e50..49b2367 100644 --- a/src/Spectre.Console/Extensions/StringBuilderExtensions.cs +++ b/src/Spectre.Console/Extensions/StringBuilderExtensions.cs @@ -26,7 +26,7 @@ internal static class StringBuilderExtensions public static void AppendSpan(this StringBuilder builder, ReadOnlySpan span) { // NetStandard 2 lacks the override for StringBuilder to add the span. We'll need to convert the span - // to a string for it, but for .NET 5.0 we'll use the override. + // to a string for it, but for .NET 5.0 or newer we'll use the override. #if NETSTANDARD2_0 builder.Append(span.ToString()); #else