mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 06:08:52 +00:00
- include missing files in language pack download
- add mods directory, else we most likely forget that language files within the mods directory are automatically editable (to support seperating mod language files). git-svn-id: file:///svn/phpbb/trunk@6258 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
parent
83e6dcb1ce
commit
09dc825079
2 changed files with 12 additions and 2 deletions
|
@ -803,6 +803,17 @@ class acp_language
|
|||
// Add main files
|
||||
$this->add_to_archive($compress, $this->main_files, $row['lang_iso']);
|
||||
|
||||
// Add search files if they exist...
|
||||
if (file_exists($phpbb_root_path . 'language/' . $row['lang_iso'] . '/search_ignore_words.' . $phpEx))
|
||||
{
|
||||
$this->add_to_archive($compress, array("search_ignore_words.$phpEx"), $row['lang_iso']);
|
||||
}
|
||||
|
||||
if (file_exists($phpbb_root_path . 'language/' . $row['lang_iso'] . '/search_synonyms.' . $phpEx))
|
||||
{
|
||||
$this->add_to_archive($compress, array("search_synonyms.$phpEx"), $row['lang_iso']);
|
||||
}
|
||||
|
||||
// Write files in folders
|
||||
$this->add_to_archive($compress, $email_templates, $row['lang_iso'], 'email');
|
||||
$this->add_to_archive($compress, $acp_files, $row['lang_iso'], 'acp');
|
||||
|
@ -961,8 +972,7 @@ $lang = array_merge($lang, array(
|
|||
';
|
||||
|
||||
// Language files in language root directory
|
||||
$this->main_files = array("common.$phpEx", "groups.$phpEx", "mcp.$phpEx", "memberlist.$phpEx", "posting.$phpEx", "search.$phpEx", "ucp.$phpEx", "viewforum.$phpEx", "viewtopic.$phpEx", "help_bbcode.$phpEx", "help_faq.$phpEx");
|
||||
|
||||
$this->main_files = array("common.$phpEx", "groups.$phpEx", "install.$phpEx", "mcp.$phpEx", "memberlist.$phpEx", "posting.$phpEx", "search.$phpEx", "ucp.$phpEx", "viewforum.$phpEx", "viewtopic.$phpEx", "help_bbcode.$phpEx", "help_faq.$phpEx");
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
0
phpBB/language/en/mods/index.htm
Normal file
0
phpBB/language/en/mods/index.htm
Normal file
Loading…
Add table
Reference in a new issue