зеркало из https://github.com/mozilla/pjs.git
Moving displayName.lastnamefirst out to .property to make it localizable,
bug 160546, r=cavin, sr=bienvenu.
This commit is contained in:
Родитель
47a1a4d43c
Коммит
bf324b75f5
|
@ -326,7 +326,10 @@ function InitEditCard()
|
|||
|
||||
// get specific prefs that editCard will need
|
||||
try {
|
||||
editCard.displayLastNameFirst = gPrefs.getBoolPref("mail.addr_book.displayName.lastnamefirst");
|
||||
var displayLastNameFirst =
|
||||
gPrefs.getComplexValue("mail.addr_book.displayName.lastnamefirst",
|
||||
Components.interfaces.nsIPrefLocalizedString).data;
|
||||
editCard.displayLastNameFirst = (displayLastNameFirst == "true");
|
||||
editCard.generateDisplayName = gPrefs.getBoolPref("mail.addr_book.displayName.autoGeneration");
|
||||
}
|
||||
catch (ex) {
|
||||
|
|
|
@ -187,6 +187,10 @@ notjunk=Not Junk
|
|||
mailnews.send_default_charset=ISO-8859-1
|
||||
mailnews.view_default_charset=ISO-8859-1
|
||||
|
||||
# generate display names in last first order
|
||||
# valid mail.addr_book.displayName.lastnamefirst are: true or false
|
||||
mail.addr_book.displayName.lastnamefirst=false
|
||||
|
||||
# valid mail.addr_book.show_phonetic_fields are: true or false
|
||||
mail.addr_book.show_phonetic_fields=false
|
||||
|
||||
|
|
|
@ -134,7 +134,7 @@ pref("mail.addr_book.quicksearchquery.format","?(or(PrimaryEmail,c,@V)(DisplayNa
|
|||
//0=displayname, 1=lastname first, 2=firstname first
|
||||
pref("mail.addr_book.lastnamefirst", 0);
|
||||
pref("mail.addr_book.displayName.autoGeneration", true);
|
||||
pref("mail.addr_book.displayName.lastnamefirst", false); // generate display names in last first order
|
||||
pref("mail.addr_book.displayName.lastnamefirst", "chrome://messenger/locale/messenger.properties");
|
||||
pref("mail.addr_book.show_phonetic_fields", "chrome://messenger/locale/messenger.properties");
|
||||
pref("mail.attach_vcard", false);
|
||||
pref("mail.html_compose", true);
|
||||
|
|
|
@ -134,7 +134,7 @@ pref("mail.addr_book.quicksearchquery.format","?(or(PrimaryEmail,c,@V)(DisplayNa
|
|||
//0=displayname, 1=lastname first, 2=firstname first
|
||||
pref("mail.addr_book.lastnamefirst", 0);
|
||||
pref("mail.addr_book.displayName.autoGeneration", true);
|
||||
pref("mail.addr_book.displayName.lastnamefirst", false); // generate display names in last first order
|
||||
pref("mail.addr_book.displayName.lastnamefirst", "chrome://messenger/locale/messenger.properties");
|
||||
pref("mail.addr_book.show_phonetic_fields", "chrome://messenger/locale/messenger.properties");
|
||||
pref("mail.attach_vcard", false);
|
||||
pref("mail.html_compose", true);
|
||||
|
|
Загрузка…
Ссылка в новой задаче