From 593b6f8efcd629f463aa34c77ccaf6140b01a65a Mon Sep 17 00:00:00 2001 From: George Peter Banyard Date: Thu, 26 Nov 2020 14:48:48 +0000 Subject: [PATCH 1/4] Nits for PHP 8 announcement page Translations updated by abusing Google Translated and my limited knowledge of said languages --- releases/8.0/de.php | 14 ++++++++++---- releases/8.0/en.php | 14 ++++++++++---- releases/8.0/pt_BR.php | 14 ++++++++++---- releases/8.0/ru.php | 14 ++++++++++---- 4 files changed, 40 insertions(+), 16 deletions(-) diff --git a/releases/8.0/de.php b/releases/8.0/de.php index 8fc2c5b0b2..af0f85a575 100644 --- a/releases/8.0/de.php +++ b/releases/8.0/de.php @@ -370,7 +370,7 @@ public function __construct(
-

Die meisten internen Funktionen erzeugen nun eine Fatal Error Exception wenn die Typenvalidierung der Parameter +

Die meisten internen Funktionen erzeugen nun eine Error Exception wenn die Typenvalidierung der Parameter fehlschlägt.

@@ -424,11 +424,17 @@ public function __construct(
  • Typen für interne Funktionen - RFC + E-Mail-Thread
  • - Curl verwendet nun Objekte anstelle des resource Typs - RFC + Undurchsichtige Objekte anstelle von des resource Typs für + Curl, + Gd, + Sockets, + OpenSSL, + XMLWriter, und + XML + extension
  • diff --git a/releases/8.0/en.php b/releases/8.0/en.php index f313672c5e..985e0b9d71 100644 --- a/releases/8.0/en.php +++ b/releases/8.0/en.php @@ -366,7 +366,7 @@ public function __construct(
    -

    Most of the internal functions now throw a Fatal Error exception if the validation of the parameters fails.

    +

    Most of the internal functions now throw an Error exception if the validation of the parameters fails.

    @@ -419,11 +419,17 @@ public function __construct(
  • Types for internal functions - RFC + Email thread
  • - Curl objects instead of resources - RFC + Opaque objects instead of resources for + Curl, + Gd, + Sockets, + OpenSSL, + XMLWriter, and + XML + extensions
  • diff --git a/releases/8.0/pt_BR.php b/releases/8.0/pt_BR.php index f7fdc67688..a39850757a 100644 --- a/releases/8.0/pt_BR.php +++ b/releases/8.0/pt_BR.php @@ -366,7 +366,7 @@ public function __construct(
    -

    A maioria das funções internas agora lançam uma exceção Fatal Error se a validação do parâmetro falhar.

    +

    A maioria das funções internas agora lançam uma exceção Error se a validação do parâmetro falhar.

    @@ -420,11 +420,17 @@ public function __construct(
  • Tipagem de funções internas - RFC + discussão por email
  • - Objetos curl em vez de recursos - RFC + Objetos opacos em vez de recursos para + Curl, + Gd, + Sockets, + OpenSSL, + XMLWriter, e + XML + extensões
  • diff --git a/releases/8.0/ru.php b/releases/8.0/ru.php index 7a9c3ea194..bad196fc75 100644 --- a/releases/8.0/ru.php +++ b/releases/8.0/ru.php @@ -368,7 +368,7 @@ public function __construct(
    -

    Большинство внутренних функций теперь выбрасывают исключение Fatal Error, если при проверке параметра возникает ошибка.

    +

    Большинство внутренних функций теперь выбрасывают исключение Error, если при проверке параметра возникает ошибка.

    @@ -421,11 +421,17 @@ public function __construct(
  • Типы для стандартных функций - RFC + E-mail Тема
  • - Объекты вместо ресурсов для cURL - RFC + Непрозрачные объекты вместо ресурсов для + Curl, + Gd, + Sockets, + OpenSSL, + XMLWriter, e + XML + расширения
  • From 4b4d505f8f1cd598b5da11cfb3b2436d1aaf5e16 Mon Sep 17 00:00:00 2001 From: George Peter Banyard Date: Thu, 26 Nov 2020 15:03:44 +0000 Subject: [PATCH 2/4] German fixes --- releases/8.0/de.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/releases/8.0/de.php b/releases/8.0/de.php index af0f85a575..8296fb3ee7 100644 --- a/releases/8.0/de.php +++ b/releases/8.0/de.php @@ -427,14 +427,14 @@ public function __construct( E-Mail-Thread
  • - Undurchsichtige Objekte anstelle von des resource Typs für + Objekte ohne Methoden anstelle des resource Typs für Curl, Gd, Sockets, OpenSSL, XMLWriter, und XML - extension + Extension
  • From 996f707ad2624b1ffafabe1f996dae06fdd6b66a Mon Sep 17 00:00:00 2001 From: George Peter Banyard Date: Thu, 26 Nov 2020 15:55:54 +0000 Subject: [PATCH 3/4] pt_br nit --- releases/8.0/pt_BR.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/releases/8.0/pt_BR.php b/releases/8.0/pt_BR.php index a39850757a..585a20624e 100644 --- a/releases/8.0/pt_BR.php +++ b/releases/8.0/pt_BR.php @@ -420,7 +420,7 @@ public function __construct(
  • Tipagem de funções internas - discussão por email + Discussão por email
  • Objetos opacos em vez de recursos para From 2c8f94e2f2b3825ca4fbbf05e1e81ef7ef92de4d Mon Sep 17 00:00:00 2001 From: George Peter Banyard Date: Thu, 26 Nov 2020 16:52:43 +0000 Subject: [PATCH 4/4] Add links to documentation --- releases/8.0/de.php | 6 +++--- releases/8.0/en.php | 4 ++-- releases/8.0/pt_BR.php | 6 +++--- releases/8.0/ru.php | 4 ++-- 4 files changed, 10 insertions(+), 10 deletions(-) diff --git a/releases/8.0/de.php b/releases/8.0/de.php index 8296fb3ee7..ac36f58203 100644 --- a/releases/8.0/de.php +++ b/releases/8.0/de.php @@ -126,7 +126,7 @@ class User

    Constructor Property Promotion - RFC + RFC Doc

    @@ -175,7 +175,7 @@ public function __construct(

    Union Types - RFC Doc + RFC Doc

    @@ -223,7 +223,7 @@ public function __construct(

    Match Ausdruck - RFC + RFC Doc

    diff --git a/releases/8.0/en.php b/releases/8.0/en.php index 985e0b9d71..74167e269a 100644 --- a/releases/8.0/en.php +++ b/releases/8.0/en.php @@ -123,7 +123,7 @@ class User

    Constructor property promotion - RFC + RFC Doc

    @@ -220,7 +220,7 @@ public function __construct(

    Match expression - RFC + RFC Doc

    diff --git a/releases/8.0/pt_BR.php b/releases/8.0/pt_BR.php index 585a20624e..e0d1d316a0 100644 --- a/releases/8.0/pt_BR.php +++ b/releases/8.0/pt_BR.php @@ -126,7 +126,7 @@ class User

    Promoção de propriedade de construtor - RFC + RFC Doc

    @@ -175,7 +175,7 @@ public function __construct(

    União de tipos - RFC Doc + RFC Doc

    @@ -223,7 +223,7 @@ public function __construct(

    Expressão match - RFC + RFC Doc

    diff --git a/releases/8.0/ru.php b/releases/8.0/ru.php index bad196fc75..6c2995933c 100644 --- a/releases/8.0/ru.php +++ b/releases/8.0/ru.php @@ -125,7 +125,7 @@ class User

    Объявление свойств в конструкторе - RFC + RFC Doc

    @@ -222,7 +222,7 @@ public function __construct(

    Выражение Match - RFC + RFC Doc