Skip to content

Commit

Permalink
Make French translation clearer for array_search (#97)
Browse files Browse the repository at this point in the history
The description was ambiguous, `array_search` return the first key corresponding to the passed value, not the key corresponding to the first value.
  • Loading branch information
welcoMattic committed Sep 8, 2021
1 parent ec79eee commit fe42500
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions reference/array/functions/array-search.xml
Expand Up @@ -7,7 +7,7 @@
<refentry xml:id="function.array-search" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
<refname>array_search</refname>
<refpurpose>Recherche dans un tableau la clé associée à la première valeur</refpurpose>
<refpurpose>Recherche dans un tableau la première clé associée à la valeur</refpurpose>
</refnamediv>
<refsect1 role="description">
&reftitle.description;
Expand Down Expand Up @@ -130,4 +130,4 @@ End:
vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml
vi: ts=1 sw=1
-->
-->

0 comments on commit fe42500

Please sign in to comment.