Permalink
Browse files

Own localization string for "nothing found" (#121)

  • Loading branch information...
cziehr authored and splitbrain committed Jan 5, 2019
1 parent 03131d0 commit 97d948629a6aad5adea07ba87e8a03e9b73f030e
Showing with 5 additions and 2 deletions.
  1. +2 −0 lang/de/lang.php
  2. +2 −1 lang/en/lang.php
  3. +1 −1 syntax.php
@@ -4,6 +4,8 @@
* @license GPL 2 (http://www.gnu.org/licenses/gpl.html)
*
* @author Andreas Gohr <andi@splitbrain.org>
* @author Christoph Ziehr <info@einsatzleiterwiki.de>
*/
$lang['pages'] = 'Galerie-Seiten:';
$lang['js']['addgal'] = 'Namensraum als Galerie hinzufügen';
$lang['nothingfound'] = 'Keine Bilder gefunden.';
@@ -1,4 +1,5 @@
<?php
$lang['pages'] = 'Gallery Pages:';
$lang['js']['addgal'] = 'Add namespace as gallery';
$lang['js']['addgal'] = 'Add namespace as gallery';
$lang['nothingfound'] = 'No images found.';
@@ -341,7 +341,7 @@ function _gallery($data){
//anything found?
if(!count($files)){
$ret .= '<div class="nothing">'.$lang['nothingfound'].'</div>';
$ret .= '<div class="nothing">'.$this->getLang('nothingfound').'</div>';
return $ret;
}

0 comments on commit 97d9486

Please sign in to comment.