minor fix for 's

git-svn-id: https://subtitleedit.googlecode.com/svn/trunk@253 99eadd0c-20b8-1223-b5c4-2a2b2df33de2
This commit is contained in:
niksedk 2011-01-15 13:24:35 +00:00
parent 15970a7274
commit 984182b876

View File

@ -374,7 +374,7 @@ namespace Nikse.SubtitleEdit.Forms
_namesEtcListUppercase.Add(_currentWord.ToUpper());
if (!_currentWord.EndsWith("s"))
_namesEtcListWithApostrophe.Add(_currentWord + "'s");
else
else if (!_currentWord.EndsWith("'"))
_namesEtcListWithApostrophe.Add(_currentWord + "'");
Utilities.AddWordToLocalNamesEtcList(_currentWord, _languageName);
}
@ -654,7 +654,7 @@ namespace Nikse.SubtitleEdit.Forms
{
if (!namesItem.EndsWith("s"))
_namesEtcListWithApostrophe.Add(namesItem + "'s");
else
else if (!namesItem.EndsWith("'"))
_namesEtcListWithApostrophe.Add(namesItem + "'");
}
}