mirror of
https://github.com/SubtitleEdit/subtitleedit.git
synced 2024-11-22 03:02:35 +01:00
Fixed minor bug when loading local names list
git-svn-id: https://subtitleedit.googlecode.com/svn/trunk@146 99eadd0c-20b8-1223-b5c4-2a2b2df33de2
This commit is contained in:
parent
44d7816793
commit
c1f1251c6f
@ -1251,7 +1251,7 @@ namespace Nikse.SubtitleEdit.Logic
|
||||
internal static string LoadLocalNamesEtc(List<string> namesEtcList, List<string> namesEtcMultiWordList, string languageName)
|
||||
{
|
||||
string userNamesEtcXmlFileName = DictionaryFolder + languageName + "_names_etc.xml";
|
||||
if (!File.Exists(userNamesEtcXmlFileName) && languageName.Length == 2)
|
||||
if (languageName.Length == 2)
|
||||
{
|
||||
string[] files = Directory.GetFiles(DictionaryFolder, languageName + "_??_names_etc.xml");
|
||||
if (files.Length > 0)
|
||||
|
Loading…
Reference in New Issue
Block a user