зеркало из https://github.com/mozilla/pjs.git
bugscape 15175 r=cavin sr=bienvenu. Make netscape webmail folder "Draft" localizable.
This commit is contained in:
Родитель
ee66c996a1
Коммит
6ca918e4be
|
@ -885,7 +885,9 @@ NS_IMETHODIMP nsMsgFolder::SetPrettyName(const PRUnichar *name)
|
|||
else if (mFlags & MSG_FOLDER_FLAG_SENTMAIL && unicodeName.Equals(NS_LITERAL_STRING("Sent"), nsCaseInsensitiveStringComparator()))
|
||||
rv = SetName(kLocalizedSentName);
|
||||
|
||||
else if (mFlags & MSG_FOLDER_FLAG_DRAFTS && unicodeName.Equals(NS_LITERAL_STRING("Drafts"), nsCaseInsensitiveStringComparator()))
|
||||
//netscape webmail uses "Draft" instead of "Drafts"
|
||||
else if (mFlags & MSG_FOLDER_FLAG_DRAFTS && (unicodeName.Equals(NS_LITERAL_STRING("Drafts"), nsCaseInsensitiveStringComparator())
|
||||
|| unicodeName.Equals(NS_LITERAL_STRING("Draft"), nsCaseInsensitiveStringComparator())))
|
||||
rv = SetName(kLocalizedDraftsName);
|
||||
|
||||
else if (mFlags & MSG_FOLDER_FLAG_TEMPLATES && unicodeName.Equals(NS_LITERAL_STRING("Templates"), nsCaseInsensitiveStringComparator()))
|
||||
|
|
Загрузка…
Ссылка в новой задаче