Skip to content

Commit

Permalink
Sync namespaces and image_type_to_mime_type (#805)
Browse files Browse the repository at this point in the history
  • Loading branch information
sy-records authored Oct 29, 2023
1 parent 87e3085 commit efc0a27
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 7 deletions.
8 changes: 4 additions & 4 deletions language/namespaces.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
<!-- EN-Revision: d013ef8a63df5119c34354cb553ef9a3f123a3be Maintainer: Altair Status: ready -->
<!-- CREDITS: mowangjuanzi -->
<!-- EN-Revision: a5ddf6c612685c2c0e5c3b3a7e8b719ced0a929b Maintainer: Altair Status: ready -->
<!-- CREDITS: mowangjuanzi, Luffy -->
<chapter xml:id="language.namespaces" xmlns="http://docbook.org/ns/docbook"
version="1.1">
<title>命名空间</title>
Expand Down Expand Up @@ -902,8 +902,8 @@ if (is_array('hi')) { // 输出 "is not array"
比如,在
<literal>use A\B\C;</literal> 后,类似 <literal>new C()</literal> 这样的名称会解析为
<literal>A\B\C()</literal>。
类似的,<literal>use function A\B\fn;</literal> 后,
<literal>fn()</literal> 的用法,解析名称为 <literal>A\B\fn</literal>。
类似的,<literal>use function A\B\foo;</literal> 后,
<literal>foo()</literal> 的用法,解析名称为 <literal>A\B\foo</literal>。
</simpara>
</listitem>
<listitem>
Expand Down
10 changes: 7 additions & 3 deletions reference/image/functions/image-type-to-mime-type.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
<!-- EN-Revision: 0c9c2dd669fe9395eaa73d487fbd160f9057429a Maintainer: dallas Status: ready -->
<!-- CREDITS: mowangjuanzi -->
<!-- EN-Revision: f40e02ff1bd0eb238dc8e542434004de9eb03a58 Maintainer: dallas Status: ready -->
<!-- CREDITS: mowangjuanzi, Luffy -->
<refentry xml:id="function.image-type-to-mime-type" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
<refname>image_type_to_mime_type</refname>
Expand Down Expand Up @@ -117,10 +117,14 @@
<entry><constant>IMAGETYPE_ICO</constant></entry>
<entry><literal>image/vnd.microsoft.icon</literal></entry>
</row>
<row>
<row>
<entry><constant>IMAGETYPE_WEBP</constant></entry>
<entry><literal>image/webp</literal></entry>
</row>
<row>
<entry><constant>IMAGETYPE_AVIF</constant></entry>
<entry><literal>image/avif</literal></entry>
</row>
</tbody>
</tgroup>
</table>
Expand Down

0 comments on commit efc0a27

Please sign in to comment.