Categories "unfiled" is now multilingual

- fixes #276
Categories "unfiled" is now multilingual
This commit is contained in:
Fraenkiman 2023-11-28 00:30:17 +01:00
parent 35b62bc44a
commit 1bd49955f5
13 changed files with 51 additions and 2 deletions

View File

@ -46,7 +46,7 @@ function smarty_function_list_categories($params) // , &$smarty)
} else { } else {
global $lang; global $lang;
$content = '<a href="' . BLOG_BASEURL . '">Unfiled</a>'; $content = '<a href="' . BLOG_BASEURL . '">' . $lang ['entry'] ['categories'] ['unfiled'] . '</a>';
if (isset($lang ['admin'] ['entry'] ['publish'] ['nocategories'])) if (isset($lang ['admin'] ['entry'] ['publish'] ['nocategories']))
$content = $lang ['admin'] ['entry'] ['publish'] ['nocategories']; $content = $lang ['admin'] ['entry'] ['publish'] ['nocategories'];
return '<ul><li>' . $content . '</li></ul>'; return '<ul><li>' . $content . '</li></ul>';

View File

@ -80,6 +80,11 @@ $lang ['entry'] ['flags'] ['short'] = array(
'commslock' => 'Komentáře zamknuté' 'commslock' => 'Komentáře zamknuté'
); );
$lang ['entry'] ['categories'] = array(
'unfiled' => 'Není uloženo'
);
$lang ['404error'] = array( $lang ['404error'] = array(
'subject' => 'Nenalezeno', 'subject' => 'Nenalezeno',
'content' => '<p>Stránka kterou hledáte, nebyla nalezena</p>' 'content' => '<p>Stránka kterou hledáte, nebyla nalezena</p>'

View File

@ -80,6 +80,10 @@ $lang ['entry'] ['flags'] ['short'] = array(
'commslock' => 'Kommentarer blokeret.' 'commslock' => 'Kommentarer blokeret.'
); );
$lang ['entry'] ['categories'] = array(
'unfiled' => 'Ikke deponeret'
);
$lang ['404error'] = array( $lang ['404error'] = array(
'subject' => 'Ikke fundet', 'subject' => 'Ikke fundet',
'content' => '<p>Beklager, der blev ikke fundet noget passende til denne anmodning.</p>' 'content' => '<p>Beklager, der blev ikke fundet noget passende til denne anmodning.</p>'

View File

@ -80,6 +80,10 @@ $lang ['entry'] ['flags'] ['short'] = array(
'commslock' => 'Kommentare gesperrt.' 'commslock' => 'Kommentare gesperrt.'
); );
$lang ['entry'] ['categories'] = array(
'unfiled' => 'Nicht hinterlegt'
);
$lang ['404error'] = array( $lang ['404error'] = array(
'subject' => 'Nicht gefunden', 'subject' => 'Nicht gefunden',
'content' => '<p>Sorry, es wurde nichts passendes für diese Anfrage gefunden.</p>' 'content' => '<p>Sorry, es wurde nichts passendes für diese Anfrage gefunden.</p>'

View File

@ -79,6 +79,10 @@ $lang ['entry'] ['flags'] ['short'] = array(
'commslock' => 'Κλειδωμένα σχόλια' 'commslock' => 'Κλειδωμένα σχόλια'
); );
$lang ['entry'] ['categories'] = array(
'unfiled' => 'Δεν έχει κατατεθεί'
);
$lang ['404error'] = array( $lang ['404error'] = array(
'subject' => 'Δεν βρέθηκε', 'subject' => 'Δεν βρέθηκε',
'content' => '<p>Λυπούμαστε, δεν μπορέσαμε να βρούμε την σελίδα που ζητήσατε</p>' 'content' => '<p>Λυπούμαστε, δεν μπορέσαμε να βρούμε την σελίδα που ζητήσατε</p>'

View File

@ -80,6 +80,10 @@ $lang ['entry'] ['flags'] ['short'] = array(
'commslock' => 'Comments locked' 'commslock' => 'Comments locked'
); );
$lang ['entry'] ['categories'] = array(
'unfiled' => 'Unfiled'
);
$lang ['404error'] = array( $lang ['404error'] = array(
'subject' => 'Not Found', 'subject' => 'Not Found',
'content' => '<p>Sorry, we could not find the page you requested</p>' 'content' => '<p>Sorry, we could not find the page you requested</p>'

View File

@ -80,6 +80,10 @@ $lang ['entry'] ['flags'] ['short'] = array(
'commslock' => 'Comentarios bloqueados' 'commslock' => 'Comentarios bloqueados'
); );
$lang ['entry'] ['categories'] = array(
'unfiled' => 'No depositado'
);
$lang ['404error'] = array( $lang ['404error'] = array(
'subject' => 'No encontrado', 'subject' => 'No encontrado',
'content' => '<p>Lo sentimos, no pudimos encontrar la página solicitada</p>' 'content' => '<p>Lo sentimos, no pudimos encontrar la página solicitada</p>'

View File

@ -80,6 +80,10 @@ $lang ['entry'] ['flags'] ['short'] = array(
'commslock' => 'Commentaires d&eacute;sactiv&eacute;s' 'commslock' => 'Commentaires d&eacute;sactiv&eacute;s'
); );
$lang ['entry'] ['categories'] = array(
'unfiled' => 'Non déposé'
);
$lang ['404error'] = array( $lang ['404error'] = array(
'subject' => 'Pas trouv&eacute;', 'subject' => 'Pas trouv&eacute;',
'content' => '<p>D&eacute;sol&eacute;, la page demand&eacute;e n\'a pas &eacute;t&eacute; trouv&eacute;e!</p>' 'content' => '<p>D&eacute;sol&eacute;, la page demand&eacute;e n\'a pas &eacute;t&eacute; trouv&eacute;e!</p>'

View File

@ -80,6 +80,10 @@ $lang ['entry'] ['flags'] ['short'] = array(
'commslock' => 'Commenti bloccati' 'commslock' => 'Commenti bloccati'
); );
$lang ['entry'] ['categories'] = array(
'unfiled' => 'Non depositato'
);
$lang ['404error'] = array( $lang ['404error'] = array(
'subject' => 'Non Trovato', 'subject' => 'Non Trovato',
'content' => '<p>Spiacenti, non è possibile trovare la pagina che stavi cercando</p>' 'content' => '<p>Spiacenti, non è possibile trovare la pagina che stavi cercando</p>'

View File

@ -80,6 +80,10 @@ $lang['entry']['flags']['short'] = array(
'commslock' => 'コメント保護' 'commslock' => 'コメント保護'
); );
$lang ['entry'] ['categories'] = array(
'unfiled' => '未預託'
);
$lang['404error'] = array( $lang['404error'] = array(
'subject' => 'ページが見つかりません', 'subject' => 'ページが見つかりません',
'content' => '<p>要求されたページを見つけることができませんでした。</p>' 'content' => '<p>要求されたページを見つけることができませんでした。</p>'

View File

@ -80,6 +80,10 @@ $lang ['entry'] ['flags'] ['short'] = array(
'commslock' => 'Commentaar geblokt' 'commslock' => 'Commentaar geblokt'
); );
$lang ['entry'] ['categories'] = array(
'unfiled' => 'Niet gestort'
);
$lang ['404error'] = array( $lang ['404error'] = array(
'subject' => 'Niet gevonden', 'subject' => 'Niet gevonden',
'content' => '<p>Sorry, we konden de door u gevraagde pagina niet vinden</p>' 'content' => '<p>Sorry, we konden de door u gevraagde pagina niet vinden</p>'

View File

@ -81,6 +81,10 @@ $lang ['entry'] ['flags'] ['short'] = array(
'commslock' => 'Comentários bloqueados' 'commslock' => 'Comentários bloqueados'
); );
$lang ['entry'] ['categories'] = array(
'unfiled' => 'Não depositado'
);
$lang ['404error'] = array( $lang ['404error'] = array(
'subject' => 'Não encontrado', 'subject' => 'Não encontrado',
'content' => '<p>Desculpe, não conseguimos encontrar a página solicitada.</p>' 'content' => '<p>Desculpe, não conseguimos encontrar a página solicitada.</p>'

View File

@ -79,6 +79,10 @@ $lang ['entry'] ['flags'] ['short'] = array(
'commslock' => 'Zaklenjeni komentarji' 'commslock' => 'Zaklenjeni komentarji'
); );
$lang ['entry'] ['categories'] = array(
'unfiled' => 'Ni deponirano'
);
$lang ['404error'] = array( $lang ['404error'] = array(
'subject' => 'Ni najdeno', 'subject' => 'Ni najdeno',
'content' => '<p>Oprostite, zahtevane strani nismo našli</p>' 'content' => '<p>Oprostite, zahtevane strani nismo našli</p>'