]> git.immae.eu Git - github/shaarli/Shaarli.git/blobdiff - plugins/playvideos/playvideos.php
Shaarli's translation
[github/shaarli/Shaarli.git] / plugins / playvideos / playvideos.php
index 644845049ff6599407fc43f9c5d99a9c0d4efd81..c6d6b0cc6815e4f5c2547efdc395a67ccde08e3d 100644 (file)
@@ -19,10 +19,10 @@ function hook_playvideos_render_header($data)
         $playvideo = array(
             'attr' => array(
                 'href' => '#',
-                'title' => 'Video player',
+                'title' => t('Video player'),
                 'id' => 'playvideos',
             ),
-            'html' => '► Play Videos'
+            'html' => '► '. t('Play Videos')
         );
         $data['buttons_toolbar'][] = $playvideo;
     }
@@ -46,3 +46,12 @@ function hook_playvideos_render_footer($data)
 
     return $data;
 }
+
+/**
+ * This function is never called, but contains translation calls for GNU gettext extraction.
+ */
+function playvideos_dummy_translation()
+{
+    // meta
+    t('Add a button in the toolbar allowing to watch all videos.');
+}