]> git.mxchange.org Git - friendica.git/blobdiff - src/Core/L10n.php
Merge pull request #11837 from MrPetovan/task/remove-poke
[friendica.git] / src / Core / L10n.php
index db7ccbd2c65f24d145409c97625b354c64d06b52..0f879c494848ae6c73239b9b922dd8e194dfaea9 100644 (file)
@@ -50,6 +50,7 @@ class L10n
                'et'    => 'Eesti',
                'fi-fi' => 'Suomi',
                'fr'    => 'Français',
+               'gd'    => 'Gàidhlig',
                'hu'    => 'Magyar',
                'is'    => 'Íslenska',
                'it'    => 'Italiano',
@@ -428,32 +429,6 @@ class L10n
                return $ret;
        }
 
-       /**
-        * Load poke verbs
-        *
-        * @return array index is present tense verb
-        *                 value is array containing past tense verb, translation of present, translation of past
-        * @throws \Friendica\Network\HTTPException\InternalServerErrorException
-        * @hook poke_verbs pokes array
-        */
-       public function getPokeVerbs(): array
-       {
-               // index is present tense verb
-               // value is array containing past tense verb, translation of present, translation of past
-               $arr = [
-                       'poke'   => ['poked', $this->t('poke'), $this->t('poked')],
-                       'ping'   => ['pinged', $this->t('ping'), $this->t('pinged')],
-                       'prod'   => ['prodded', $this->t('prod'), $this->t('prodded')],
-                       'slap'   => ['slapped', $this->t('slap'), $this->t('slapped')],
-                       'finger' => ['fingered', $this->t('finger'), $this->t('fingered')],
-                       'rebuff' => ['rebuffed', $this->t('rebuff'), $this->t('rebuffed')],
-               ];
-
-               Hook::callAll('poke_verbs', $arr);
-
-               return $arr;
-       }
-
        /**
         * Creates a new L10n instance based on the given langauge
         *