Fixed bug #694, forum status is missing from several language files

git-svn-id: file:///svn/phpbb/branches/phpBB-2_0_0@3111 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
Bart van Bragt 2002-11-27 18:20:49 +00:00
parent 453d6146bb
commit b954735776
2 changed files with 9 additions and 4 deletions

View file

@ -301,12 +301,15 @@ if( !empty($mode) )
$catlist = get_list('category', $cat_id, TRUE);
$forumstatus == ( FORUM_LOCKED ) ? $forumlocked = "selected=\"selected\"" : $forumunlocked = "selected=\"selected\"";
// These two options ($lang['Status_unlocked'] and $lang['Status_locked']) seem to be missing from
// the language files.
$lang['Status_unlocked'] = isset($lang['Status_unlocked']) ? $lang['Status_unlocked'] : 'Unlocked';
$lang['Status_locked'] = isset($lang['Status_locked']) ? $lang['Status_locked'] : 'Locked';
$statuslist = "<option value=\"" . FORUM_UNLOCKED . "\" $forumunlocked>" . $lang['Status_unlocked'] . "</option>\n";
$statuslist .= "<option value=\"" . FORUM_LOCKED . "\" $forumlocked>" . $lang['Status_locked'] . "</option>\n";
$template->set_filenames(array(
"body" => "admin/forum_edit_body.tpl")
);

View file

@ -352,6 +352,8 @@ $lang['Forum_delete'] = 'Verwijder Forum';
$lang['Forum_delete_explain'] = 'Met het formulier hieronder kun je een forum (of categorie) verwijderen en bepalen waarheen je alle topics (of forums) wilt verplaatsen.';
$lang['Forum_settings'] = 'Algemene Forum Instellingen';
$lang['Status_locked'] = 'Gesloten';
$lang['Status_unlocked'] = 'Open';
$lang['Forum_name'] = 'Forum naam';
$lang['Forum_desc'] = 'Omschrijving';
$lang['Forum_status'] = 'Forum status';
@ -718,4 +720,4 @@ $lang['Install_No_PCRE'] = 'phpBB2 heeft de Perl-Compatible Regular Expressions
// That's all Folks!
// -------------------------------------------------
?>
?>