Skip to content

Commit

Permalink
Add doc links
Browse files Browse the repository at this point in the history
  • Loading branch information
saundefined committed Nov 12, 2024
1 parent cab6337 commit f8cf13d
Show file tree
Hide file tree
Showing 6 changed files with 14 additions and 7 deletions.
2 changes: 1 addition & 1 deletion releases/8.4/languages/en.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
'dom_additions_html5_title' => 'New ext-dom features and HTML5 support',
'dom_additions_html5_description' => 'New <code>Dom\HTMLDocument</code>, <code>Dom\XMLDocument</code> classes, and <code>DOMNode::compareDocumentPosition()</code>, <code>DOMXPath::registerPhpFunctionNS()</code>, <code>DOMXPath::quote()</code>, <code>XSLTProcessor::registerPHPFunctionNS()</code> methods are available.',
'new_array_find_title' => 'New <code>array_*()</code> functions',
'new_array_find_description' => 'New functions <code>array_find()</code>, <code>array_find_key()</code>, <code>array_any()</code>, and <code>array_all()</code> are available.',
'new_array_find_description' => 'New functions <a href="/manual/en/function.array-find.php"><code>array_find()</code></a>, <a href="/manual/en/function.array-find-key.php"><code>array_find_key()</code></a>, <a href="/manual/en/function.array-any.php"><code>array_any()</code></a>, and <a href="/manual/en/function.array-all.php"><code>array_all()</code></a> are available.',
'pdo_driver_specific_parsers_title' => 'PDO Driver specific SQL parsers',
'pdo_driver_specific_parsers_description' => 'New subclasses <code>Pdo\Dblib</code>, <code>Pdo\Firebird</code>, <code>Pdo\MySql</code>, <code>Pdo\Odbc</code>, <code>Pdo\Sqlite</code> of <code>PDO</code> are available.',
'new_without_parentheses_title' => '<code>new MyClass()->method()</code> without parentheses',
Expand Down
2 changes: 1 addition & 1 deletion releases/8.4/languages/nl.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
'dom_additions_html5_title' => 'Nieuwe ext-dom functies en HTML5 ondersteuning',
'dom_additions_html5_description' => 'Nieuwe <code>Dom\HTMLDocument</code>, <code>Dom\XMLDocument</code> klassen en <code>DOMNode::compareDocumentPosition()</code>, <code>DOMXPath::registerPhpFunctionNS()</code>, <code>DOMXPath::quote()</code>, <code>XSLTProcessor::registerPHPFunctionNS()</code> methoden zijn beschikbaar.',
'new_array_find_title' => 'Nieuwe <code>array_*()</code> functies',
'new_array_find_description' => 'Nieuwe functies <code>array_find()</code>, <code>array_find_key()</code>, <code>array_any()</code>, en <code>array_all()</code> zijn nu beschikbaar.',
'new_array_find_description' => 'Nieuwe functies <a href="/manual/en/function.array-find.php"><code>array_find()</code></a>, <a href="/manual/en/function.array-find-key.php"><code>array_find_key()</code></a>, <a href="/manual/en/function.array-any.php"><code>array_any()</code></a>, en <a href="/manual/en/function.array-all.php"><code>array_all()</code></a> zijn nu beschikbaar.',
'pdo_driver_specific_parsers_title' => 'PDO driver specifieke SQL parsers',
'pdo_driver_specific_parsers_description' => 'Nieuwe subklassen <code>Pdo\Dblib</code>, <code>Pdo\Firebird</code>, <code>Pdo\MySql</code>, <code>Pdo\Odbc</code>, <code>Pdo\Sqlite</code> van <code>PDO</code> zijn nu beschikbaar.',
'new_without_parentheses_title' => '<code>new MyClass()->method()</code> zonder haakjes',
Expand Down
2 changes: 1 addition & 1 deletion releases/8.4/languages/pt_BR.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
'dom_additions_html5_title' => 'Novos recursos ext-dom e suporte a HTML5',
'dom_additions_html5_description' => 'Novas classes <code>Dom\HTMLDocument</code>, <code>Dom\XMLDocument</code> e métodos <code>DOMNode::compareDocumentPosition()</code>, <code>DOMXPath::registerPhpFunctionNS()</code>, <code>DOMXPath::quote()</code>, <code>XSLTProcessor::registerPHPFunctionNS()</code> estão disponíveis.',
'new_array_find_title' => 'Novas funções <code>array_*()</code>',
'new_array_find_description' => 'Novas funções <code>array_find()</code>, <code>array_find_key()</code>, <code>array_any()</code> e <code>array_all()</code> estão disponíveis.',
'new_array_find_description' => 'Novas funções <a href="/manual/pt_BR/function.array-find.php"><code>array_find()</code></a>, <a href="/manual/pt_BR/function.array-find-key.php"><code>array_find_key()</code></a>, <a href="/manual/pt_BR/function.array-any.php"><code>array_any()</code></a> e <a href="/manual/pt_BR/function.array-all.php"><code>array_all()</code></a> estão disponíveis.',
'pdo_driver_specific_parsers_title' => 'Parsers SQL específicos para drivers PDO',
'pdo_driver_specific_parsers_description' => 'Novas subclasses <code>Pdo\Dblib</code>, <code>Pdo\Firebird</code>, <code>Pdo\MySql</code>, <code>Pdo\Odbc</code>, <code>Pdo\Sqlite</code> de <code>PDO</code> estão disponíveis.',
'new_without_parentheses_title' => '<code>new MyClass()->method()</code> sem parênteses',
Expand Down
2 changes: 1 addition & 1 deletion releases/8.4/languages/ru.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
'dom_additions_html5_title' => 'Новые возможности ext-dom и поддержка HTML5',
'dom_additions_html5_description' => 'Добавлены классы <code>Dom\HTMLDocument</code>, <code>Dom\XMLDocument</code>, а также новые методы <code>DOMNode::compareDocumentPosition()</code>, <code>DOMXPath::registerPhpFunctionNS()</code>, <code>DOMXPath::quote()</code> и <code>XSLTProcessor::registerPHPFunctionNS()</code>.',
'new_array_find_title' => 'Новые функции <code>array_*()</code>',
'new_array_find_description' => 'Добавлены функции <code>array_find()</code>, <code>array_find_key()</code>, <code>array_any()</code> и <code>array_all()</code>.',
'new_array_find_description' => 'Добавлены функции <a href="/manual/ru/function.array-find.php"><code>array_find()</code></a>, <a href="/manual/ru/function.array-find-key.php"><code>array_find_key()</code></a>, <a href="/manual/ru/function.array-any.php"><code>array_any()</code></a> и <a href="/manual/ru/function.array-all.php"><code>array_all()</code></a>.',
'pdo_driver_specific_parsers_title' => 'SQL-парсеры, специфичные для драйверов PDO',
'pdo_driver_specific_parsers_description' => 'Добавлены дочерние классы <code>Pdo\Dblib</code>, <code>Pdo\Firebird</code>, <code>Pdo\MySql</code>, <code>Pdo\Odbc</code>, <code>Pdo\Sqlite</code> драйверов, наследующие <code>PDO</code>.',
'new_without_parentheses_title' => '<code>new MyClass()->method()</code> без скобок',
Expand Down
3 changes: 2 additions & 1 deletion releases/8.4/nl.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
<?php

$lang = 'nl';
$documentation = 'en';

include_once __DIR__ . '/release.inc';
include_once __DIR__ . '/release.inc';
10 changes: 8 additions & 2 deletions releases/8.4/release.inc
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ use function releases\php84\common_header;use function releases\php84\language_c
if (!isset($lang)) {
$lang = 'en';
}
if (!isset($documentation)) {
$documentation = $lang;
}

$_SERVER['BASE_PAGE'] = 'releases/8.4/' . $lang . '.php';

Expand Down Expand Up @@ -36,6 +39,7 @@ common_header(message('common_header', $lang));
<h2 class="php8-h2" id="property_hooks">
<?= message('property_hooks_title', $lang) ?>
<a class="php8-rfc" href="https://wiki.php.net/rfc/property-hooks">RFC</a>
<a class="php8-rfc" href="/manual/<?= $documentation ?>/migration84.new-features.php#migration84.new-features.core.property-hooks"><?= message('documentation', $lang) ?></a>
</h2>
<div class="php8-compare__main">
<div class="php8-compare__block example-contents">
Expand Down Expand Up @@ -131,7 +135,7 @@ PHP
<h2 class="php8-h2" id="asymmetric_visibility">
<?= message('asymmetric_visibility_title', $lang) ?>
<a class="php8-rfc" href="https://wiki.php.net/rfc/asymmetric-visibility-v2">RFC</a>
<a class="php8-rfc" href="/manual/<?= $lang ?>/language.oop5.visibility.php#language.oop5.visibility-members-aviz"><?= message('documentation', $lang) ?></a>
<a class="php8-rfc" href="/manual/<?= $documentation ?>/language.oop5.visibility.php#language.oop5.visibility-members-aviz"><?= message('documentation', $lang) ?></a>
</h2>
<div class="php8-compare__main">
<div class="php8-compare__block example-contents">
Expand Down Expand Up @@ -176,7 +180,7 @@ PHP
<h2 class="php8-h2" id="deprecated_attribute">
<?= message('deprecated_attribute_title', $lang) ?>
<a class="php8-rfc" href="https://wiki.php.net/rfc/deprecated_attribute">RFC</a>
<a class="php8-rfc" href="/manual/<?= $lang ?>/class.deprecated.php"><?= message('documentation', $lang) ?></a>
<a class="php8-rfc" href="/manual/<?= $documentation ?>/class.deprecated.php"><?= message('documentation', $lang) ?></a>
</h2>
<div class="php8-compare__main">
<div class="php8-compare__block example-contents">
Expand Down Expand Up @@ -244,6 +248,7 @@ PHP
<?= message('dom_additions_html5_title', $lang) ?>
<a class="php8-rfc" href="https://wiki.php.net/rfc/dom_additions_84">RFC</a>
<a class="php8-rfc" href="https://wiki.php.net/rfc/domdocument_html5_parser">RFC</a>
<a class="php8-rfc" href="/manual/<?= $documentation ?>/migration84.new-features.php#migration84.new-features.dom"><?= message('documentation', $lang) ?></a>
</h2>
<div class="php8-compare__main">
<div class="php8-compare__block example-contents">
Expand Down Expand Up @@ -397,6 +402,7 @@ PHP
<h2 class="php8-h2" id="new_without_parentheses">
<?= message('new_without_parentheses_title', $lang) ?>
<a class="php8-rfc" href="https://wiki.php.net/rfc/new_without_parentheses">RFC</a>
<a class="php8-rfc" href="/manual/<?= $documentation ?>/migration84.new-features.php#migration84.new-features.core.new-chaining"><?= message('documentation', $lang) ?></a>
</h2>
<div class="php8-compare__main">
<div class="php8-compare__block example-contents">
Expand Down

0 comments on commit f8cf13d

Please sign in to comment.