mirror of
https://git.sekbaer.de/Friendica/friendica.git
synced 2025-06-16 20:05:14 +02:00
Merge pull request #6090 from zeroadam/TextToL10n
Split functions to L10n
This commit is contained in:
commit
dc669fa736
7 changed files with 80 additions and 75 deletions
|
@ -40,7 +40,7 @@ function poke_init(App $a)
|
|||
|
||||
$verb = notags(trim($_GET['verb']));
|
||||
|
||||
$verbs = get_poke_verbs();
|
||||
$verbs = L10n::getPokeVerbs();
|
||||
|
||||
if (!array_key_exists($verb, $verbs)) {
|
||||
return;
|
||||
|
@ -171,7 +171,7 @@ function poke_content(App $a)
|
|||
$parent = (x($_GET,'parent') ? intval($_GET['parent']) : '0');
|
||||
|
||||
|
||||
$verbs = get_poke_verbs();
|
||||
$verbs = L10n::getPokeVerbs();
|
||||
|
||||
$shortlist = [];
|
||||
foreach ($verbs as $k => $v) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue