checking in patches for bugzilla2@farside.demon.co.uk for bug 169159 - Inconsistency in the WinXP Start Menu item (version in one not in other). r=ssu, sr=dveditz

This commit is contained in:
ssu%netscape.com 2002-11-26 23:21:07 +00:00
Родитель b78a21a145
Коммит 918d4f620d
3 изменённых файлов: 5 добавлений и 5 удалений

Просмотреть файл

@ -491,10 +491,10 @@ nsresult nsMapiRegistryUtils::setDefaultMailClient()
nsXPIDLString defaultMailTitle; nsXPIDLString defaultMailTitle;
// Use vendorName instead of brandname since brandName is product name // Use vendorName instead of brandname since brandName is product name
// and has more than just the name of the application // and has more than just the name of the application
const PRUnichar *keyValuePrefixStr[] = { vendorName(), versionNo() }; const PRUnichar *keyValuePrefixStr[] = { vendorName() };
NS_NAMED_LITERAL_STRING(defaultMailTitleTag, "defaultMailDisplayTitle"); NS_NAMED_LITERAL_STRING(defaultMailTitleTag, "defaultMailDisplayTitle");
rv = bundle->FormatStringFromName(defaultMailTitleTag.get(), rv = bundle->FormatStringFromName(defaultMailTitleTag.get(),
keyValuePrefixStr, 2, keyValuePrefixStr, 1,
getter_Copies(defaultMailTitle)); getter_Copies(defaultMailTitle));
if (NS_FAILED(rv)) return NS_ERROR_FAILURE; if (NS_FAILED(rv)) return NS_ERROR_FAILURE;

Просмотреть файл

@ -18,6 +18,6 @@ mapiBlindSendWarning=Another application is attempting to send mail using your u
mapiBlindSendDontShowAgain=Warn me whenever other applications try to send mail from me mapiBlindSendDontShowAgain=Warn me whenever other applications try to send mail from me
#Default Mail Display String #Default Mail Display String
# localization note, $1%S is the app name, $2%S is the version # localization note, %S is the vendor name
defaultMailDisplayTitle=%S %S Mail defaultMailDisplayTitle=%S Mail

Просмотреть файл

@ -264,7 +264,7 @@ function updateMapi()
var winsysMapi32File; var winsysMapi32File;
var mapiProxyFile; var mapiProxyFile;
var subkey; var subkey;
var mailDefaultDescription = "$ProductName$ $UserAgentShort$ Mail"; var mailDefaultDescription = "$ProductName$ Mail";
winreg = getWinRegistry(); winreg = getWinRegistry();
if(winreg != null) if(winreg != null)