8000 Minor tweaks · symfony/symfony-docs@6e6bef4 · GitHub
[go: up one dir, main page]

Skip to content

Commit 6e6bef4

Browse files
committed
Minor tweaks
1 parent 2ec3735 commit 6e6bef4

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

components/intl.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -386,8 +386,8 @@ their textual representation in all languages based on the `Unicode CLDR dataset
386386
// => 'Menus with піца or спагеті'
387387

388388
The ``EmojiTransliterator`` class also provides two extra catalogues: ``github``
389-
and ``slack`` that converts any emojis to the corresponding short code in the
390-
respective platforms::
389+
and ``slack`` that converts any emojis to the corresponding short code in those
390+
platforms::
391391

392392
use Symfony\Component\Intl\Transliterator\EmojiTransliterator;
393393

components/string.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -528,7 +528,7 @@ Slug Emojis
528528

529529
The Emoji transliteration feature was introduced in Symfony 6.2.
530530

531-
You can transform any emojis into a textual representation::
531+
You can transform any emojis into their textual representation::
532532

533533
use Symfony\Component\String\Slugger\AsciiSlugger;
534534

@@ -541,8 +541,8 @@ You can transform any emojis into a textual representation::
541541
$slug = $slugger->slug('un 😺, 🐈‍⬛, et un 🦁 vont au 🏞️', '-', 'fr');
542542
// $slug = 'un-chat-qui-sourit-chat-noir-et-un-tete-de-lion-vont-au-parc-national';
543543

544-
If you want to use a specific locale for the emoji, or to use the shorts code
545-
from `github` or `slack`, use the first argument of ``withEmoji()`` method::
544+
If you want to use a specific locale for the emoji, or to use the short codes
545+
from GitHub or Slack, use the first argument of ``withEmoji()`` method::
546546

547547
use Symfony\Component\String\Slugger\AsciiSlugger;
548548

0 commit comments

Comments
 (0)
0