Bug #257378 --> L10n teams should be able to translate reply header "on date" through *.properties file instead of using a hard coded string in mailnews.js

sr=bienvenu


git-svn-id: svn://10.0.0.236/trunk@163850 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
scott%scott-macgregor.org
2004-10-15 21:10:29 +00:00
parent 1519c56794
commit 12c9afc222
3 changed files with 8 additions and 2 deletions

View File

@@ -301,6 +301,11 @@ sendMessageCheckSendButtonLabel=Send
## <author> wrote:
mailnews.reply_header_authorwrote=%s wrote
## reply header in composeMsg
## <author> wrote:
mailnews.reply_header_authorwrote=%s wrote
mailnews.reply_header_ondate=On %s
## reply header in composeMsg
## user specified
mailnews.reply_header_originalmessage=-------- Original Message --------

View File

@@ -147,7 +147,7 @@ static nsresult GetReplyHeaderInfo(PRInt32* reply_header_type,
if (NS_FAILED(rv) || !*reply_header_authorwrote)
*reply_header_authorwrote = nsCRT::strdup(NS_LITERAL_STRING("%s wrote").get());
rv = prefs->CopyUnicharPref("mailnews.reply_header_ondate", reply_header_ondate);
rv = prefs->GetLocalizedUnicharPref("mailnews.reply_header_ondate", reply_header_ondate);
if (NS_FAILED(rv) || !*reply_header_ondate)
*reply_header_ondate = nsCRT::strdup(NS_LITERAL_STRING("On %s").get());

View File

@@ -187,7 +187,8 @@ pref("mailnews.reply_header_type", 1);
// locale which affects date format, set empty string to use application default locale
pref("mailnews.reply_header_locale", "");
pref("mailnews.reply_header_authorwrote", "chrome://messenger/locale/messengercompose/composeMsgs.properties");
pref("mailnews.reply_header_ondate", "On %s");
pref("mailnews.reply_header_ondate", "chrome://messenger/locale/messengercompose/composeMsgs.properties");
// separator to separate between date and author
pref("mailnews.reply_header_separator", ", ");
pref("mailnews.reply_header_colon", ":");