]> git.mxchange.org Git - friendica.git/blobdiff - mod/ping.php
Move L10n::getPokeVerbs() calls to DI::l10n()->getPokeVerbs() calls
[friendica.git] / mod / ping.php
index 8aa65b7e19d1de166579261cf8634ecd8fdab0aa..57b55a0f9b3303cb1139f4f76aba0dd69ef69c1e 100644 (file)
@@ -268,7 +268,7 @@ function ping_init(App $a)
                                        'photo'   => $intro['photo'],
                                        'date'    => $intro['datetime'],
                                        'seen'    => false,
-                                       'message' => L10n::t('{0} wants to be your friend'),
+                                       'message' => DI::l10n()->t('{0} wants to be your friend'),
                                ];
                                $notifs[] = $notif;
                        }
@@ -284,7 +284,7 @@ function ping_init(App $a)
                                        'photo'   => $reg['micro'],
                                        'date'    => $reg['created'],
                                        'seen'    => false,
-                                       'message' => L10n::t('{0} requested registration'),
+                                       'message' => DI::l10n()->t('{0} requested registration'),
                                ];
                                $notifs[] = $notif;
                        }