[web-php] master: PHP 8.2 Release page (#728)
| From: | Sergey Panteleev via GitHub | Date: | Thu, 08 Dec 2022 12:08:47 +0000 |
| Subject: | [web-php] master: PHP 8.2 Release page (#728) | ||
| Groups: | php.webmaster | ||
| Request: | Send a blank email to php-webmaster+get-30665@lists.php.net to get a copy of this message | ||
Author: Sergey Panteleev (saundefined)
Committer: GitHub (web-flow)
Pusher: saundefined
Date: 2022-12-08T14:57:26+03:00
Commit: https://github.com/php/web-php/commit/ed9aed27f2d1ebfe253f73caefbd68abc7c532a9
Raw diff: https://github.com/php/web-php/commit/ed9aed27f2d1ebfe253f73caefbd68abc7c532a9.diff
PHP 8.2 Release page (#728)
Changed paths:
M include/header.inc
M index.php
M releases/8.2/languages/en.php
M releases/8.2/languages/ru.php
Diff:
diff --git a/include/header.inc b/include/header.inc
index 3a099d7ba..2aff9d8a7 100644
--- a/include/header.inc
+++ b/include/header.inc
@@ -105,8 +105,8 @@ if (!isset($config["languages"])) {
<li class="<?php echo $curr == "community" ? "active" :
""?>"><a href="/get-involved" >Get
Involved</a></li>
<li class="<?php echo $curr == "help" ? "active" :
""?>"><a href="/support">Help</a></li>
<li class="<?php echo $curr === "php8" ? "active" :
"" ?>">
- <a href="/releases/8.1/index.php">
- <img src="/images/php8/logo_php8_1.svg" alt="php8.1"
height="22" width="60">
+ <a href="/releases/8.2/index.php">
+ <img src="/images/php8/logo_php8_2.svg" alt="php8.2"
height="22" width="60">
</a>
</li>
</ul>
diff --git a/index.php b/index.php
index 437bd1594..c935b2234 100644
--- a/index.php
+++ b/index.php
@@ -95,7 +95,7 @@
<img class="hero-logo" src="/images/logos/php-logo-white.svg"
alt="php" width="240" height="120">
<p class="hero-text">A <strong>popular general-purpose scripting
language</strong> that is especially suited to web development.<br />Fast, flexible and
pragmatic, PHP powers everything from your blog to the most popular websites in the world.</p>
<div class="hero-actions">
- <a href="/releases/8.1/index.php" class="hero-btn
hero-btn-primary">What's new in 8.1</a>
+ <a href="/releases/8.2/index.php" class="hero-btn
hero-btn-primary">What's new in 8.2</a>
<a href="/downloads.php" class="hero-btn
hero-btn-secondary">Download</a>
</div>
EOF;
diff --git a/releases/8.2/languages/en.php b/releases/8.2/languages/en.php
index 39add5880..dc3c4bd1f 100644
--- a/releases/8.2/languages/en.php
+++ b/releases/8.2/languages/en.php
@@ -3,7 +3,7 @@
return [
'common_header' => 'PHP 8.2 is a major update of the PHP language. Readonly
classes, null, false, and true as stand-alone types, deprecated dynamic properties, performance
improvements and more',
'documentation' => 'Doc',
- 'main_title' => 'To be released tomorrow!',
+ 'main_title' => 'Released!',
'main_subtitle' => 'PHP 8.2 is a major update of the PHP language.<br
class="display-none-md">It contains many new features, including readonly classes,
null, false, and true as stand-alone types, deprecated dynamic properties, performance improvements
and more.',
'upgrade_now' => 'Upgrade to PHP 8.2 now!',
'readonly_classes_title' => 'Readonly classes',
diff --git a/releases/8.2/languages/ru.php b/releases/8.2/languages/ru.php
index 6cbb51d63..64b810026 100644
--- a/releases/8.2/languages/ru.php
+++ b/releases/8.2/languages/ru.php
@@ -3,7 +3,7 @@
return [
'common_header' => 'PHP 8.2 — большое обновление
языка PHP. Readonly-классы, самостоятельные типы null, false и true,
устаревшие динамические свойства, улучшение
производительности и многое другое.',
'documentation' => 'Документация',
- 'main_title' => 'будет выпущен завтра!',
+ 'main_title' => 'выпущен!',
'main_subtitle' => 'PHP 8.2 — большое обновление
языка PHP.<br class="display-none-md">Оно содержит
множество новых возможностей, включая readonly-классы,
самостоятельные типы null, false и true, устаревшие
динамические свойства, улучшение производительности
и многое другое.',
'upgrade_now' => 'Переходите на PHP 8.2!',
'readonly_classes_title' => 'Readonly-классы',