Commit 616cffc2 authored by CardBook's avatar CardBook

version 20.5

parent 58ba5f19
......@@ -23,7 +23,7 @@ skin cardbook-os classic/1.0 chrome/skin/mac/ os=Darwin
# support for customizing toolbars
style chrome://global/content/customizeToolbar.xul chrome://cardbook/skin/toolbarButton.css
style chrome://global/content/customizeToolbar.xul chrome://cardbook/skin/cardbookButtons.css
style chrome://global/content/customizeToolbar.xul chrome://cardbook-os/skin/cardbookToolbarButtons.css
# support for CardBook, yellow stars, creation from emails, formatting email fields
overlay chrome://messenger/content/messenger.xul chrome://cardbook/content/ovl_cardbook.xul
......
......@@ -14,6 +14,29 @@
if ("undefined" == typeof(cardbookDates)) {
var cardbookDates = {
getAge: function (aCard) {
if (aCard.bday == "") {
return "";
} else {
var cardbookPrefService = new cardbookPreferenceService(aCard.dirPrefId);
var dateFormat = cardbookPrefService.getDateFormat();
var lDateOfBirth = cardbookDates.convertDateStringToDate(aCard.bday, dateFormat);
if (lDateOfBirth == "WRONGDATE") {
return "";
} else if (lDateOfBirth.getFullYear() == "666") {
return "";
} else {
var today = new Date();
var age = today.getFullYear() - lDateOfBirth.getFullYear();
var m = today.getMonth() - lDateOfBirth.getMonth();
if (m < 0 || (m === 0 && today.getDate() < lDateOfBirth.getDate())) {
age--;
}
return age.toString();
}
}
},
getSeparator: function (aDateFormat) {
switch(aDateFormat) {
case "YYYY-MM-DD":
......
......@@ -17,6 +17,7 @@ var cardbookRepository = {
["tel", ["tel"] ],
["url", ["url"] ] ],
"note": ["note"],
"age": ["age"],
"technical": ["version", "rev"] },
dateFormats : ["YYYY-MM-DD", "YYYY.MM.DD", "YYYY/MM/DD", "YYYYMMDD", "DD-MM-YYYY", "DD.MM.YYYY", "DD/MM/YYYY", "DDMMYYYY", "MM-DD-YYYY", "MM.DD.YYYY", "MM/DD/YYYY", "MMDDYYYY"],
......@@ -1233,11 +1234,6 @@ var cardbookRepository = {
if (cardbookPrefService.getReadOnly()) {
return;
}
if (cardbookRepository.cardbookComplexSearchPrefId != "") {
var myDisplayPrefId = cardbookRepository.cardbookComplexSearchPrefId;
} else {
var myDisplayPrefId = aNewCard.dirPrefId;
}
var newCats = [];
for (var i = 0; i < aNewCard.categories.length; i++) {
......@@ -1280,7 +1276,7 @@ var cardbookRepository = {
cardbookRepository.addCardToRepository(aNewCard, "WINDOW", cardbookUtils.getFileCacheNameFromCard(aNewCard, myDirPrefIdType));
}
cardbookUtils.formatStringForOutput("cardUpdatedOK", [myDirPrefIdName, aNewCard.fn]);
cardbookUtils.notifyObservers(aSource, "cardid:" + myDisplayPrefId + "::" + aNewCard.uid);
cardbookUtils.notifyObservers(aSource, "cardid:" + aNewCard.dirPrefId + "::" + aNewCard.uid);
// Moved card
} else if (aOldCard.dirPrefId != "" && cardbookRepository.cardbookCards[aOldCard.dirPrefId+"::"+aNewCard.uid] && aOldCard.dirPrefId != aNewCard.dirPrefId) {
var myCard = cardbookRepository.cardbookCards[aOldCard.dirPrefId+"::"+aNewCard.uid];
......@@ -1324,7 +1320,7 @@ var cardbookRepository = {
}
cardbookUtils.formatStringForOutput("cardCreatedOK", [myDirPrefIdName, aNewCard.fn]);
wdw_cardbooklog.addActivity("cardCreatedOK", [myDirPrefIdName, aNewCard.fn], "addItem");
cardbookUtils.notifyObservers(aSource, "cardid:" + myDisplayPrefId + "::" + aNewCard.uid);
cardbookUtils.notifyObservers(aSource, "cardid:" + aNewCard.dirPrefId + "::" + aNewCard.uid);
// New card
} else {
if (aNewCard.uid == "") {
......@@ -1345,13 +1341,13 @@ var cardbookRepository = {
}
cardbookUtils.formatStringForOutput("cardCreatedOK", [myDirPrefIdName, aNewCard.fn]);
wdw_cardbooklog.addActivity("cardCreatedOK", [myDirPrefIdName, aNewCard.fn], "addItem");
cardbookUtils.notifyObservers(aSource, "cardid:" + myDisplayPrefId + "::" + aNewCard.uid);
cardbookUtils.notifyObservers(aSource, "cardid:" + aNewCard.dirPrefId + "::" + aNewCard.uid);
}
delete aOldCard;
for (var i = 0; i < newCats.length; i++) {
cardbookUtils.formatStringForOutput("categoryCreatedOK", [myDirPrefIdName, newCats[i]]);
wdw_cardbooklog.addActivity("categoryCreatedOK", [myDirPrefIdName, newCats[i]], "addItem");
cardbookUtils.notifyObservers("cardbook.catAddedIndirect", "accountid:" + myDisplayPrefId+"::"+newCats[i]);
cardbookUtils.notifyObservers("cardbook.catAddedIndirect", "accountid:" + aNewCard.dirPrefId+"::"+newCats[i]);
}
}
catch (e) {
......@@ -1513,6 +1509,7 @@ var cardbookRepository = {
cardbookRepository.jsInclude(["chrome://cardbook/content/preferences/cardbookPreferences.js"]);
cardbookRepository.jsInclude(["chrome://cardbook/content/wdw_log.js"]);
cardbookRepository.jsInclude(["chrome://cardbook/content/cardbookUtils.js"]);
cardbookRepository.jsInclude(["chrome://cardbook/content/cardbookDates.js"]);
cardbookRepository.jsInclude(["chrome://cardbook/content/cardbookIndexedDB.js"]);
cardbookRepository.jsInclude(["chrome://cardbook/content/cardbookSynchronization.js"]);
cardbookRepository.jsInclude(["chrome://cardbook/content/complexSearch/cardbookComplexSearch.js"]);
......@@ -281,8 +281,19 @@ if ("undefined" == typeof(cardbookTypes)) {
disableButtons: function (aType, aIndex, aVersion) {
if (aIndex == 0) {
if (document.getElementById(aType + '_' + aIndex + '_valueBox').value == "") {
document.getElementById(aType + '_' + aIndex + '_' + aVersion + '_cardbookaddButton').disabled = true;
document.getElementById(aType + '_' + aIndex + '_' + aVersion + '_cardbookremoveButton').disabled = true;
if (document.getElementById(aType + '_' + aIndex + '_menulistTerm')) {
if (document.getElementById(aType + '_' + aIndex + '_menulistTerm').selectedItem.value == "IsntEmpty" ||
document.getElementById(aType + '_' + aIndex + '_menulistTerm').selectedItem.value == "IsEmpty") {
document.getElementById(aType + '_' + aIndex + '_' + aVersion + '_cardbookaddButton').disabled = false;
document.getElementById(aType + '_' + aIndex + '_' + aVersion + '_cardbookremoveButton').disabled = true;
} else {
document.getElementById(aType + '_' + aIndex + '_' + aVersion + '_cardbookaddButton').disabled = true;
document.getElementById(aType + '_' + aIndex + '_' + aVersion + '_cardbookremoveButton').disabled = true;
}
} else {
document.getElementById(aType + '_' + aIndex + '_' + aVersion + '_cardbookaddButton').disabled = true;
document.getElementById(aType + '_' + aIndex + '_' + aVersion + '_cardbookremoveButton').disabled = true;
}
} else {
document.getElementById(aType + '_' + aIndex + '_' + aVersion + '_cardbookaddButton').disabled = false;
document.getElementById(aType + '_' + aIndex + '_' + aVersion + '_cardbookremoveButton').disabled = false;
......
......@@ -1304,6 +1304,8 @@ if ("undefined" == typeof(cardbookUtils)) {
}
}
}
} else if (aField == "age") {
result.push(cardbookDates.getAge(aCard));
} else {
if (aCard[aField]) {
result.push(aCard[aField]);
......@@ -2412,6 +2414,8 @@ if ("undefined" == typeof(cardbookUtils)) {
for (var j = 0; j < cardbookRepository.allColumns[i].length; j++) {
if (i != "arrayColumns" && i != "categories") {
result.push([cardbookRepository.allColumns[i][j], strBundle.getString(cardbookRepository.allColumns[i][j] + "Label")]);
} else if (i == "age" && aMode != "import" && aMode != "export") {
result.push([cardbookRepository.allColumns[i][j], strBundle.getString(cardbookRepository.allColumns[i][j] + "Label")]);
} else if (i == "categories") {
result.push([cardbookRepository.allColumns[i][j] + ".0.array", strBundle.getString(cardbookRepository.allColumns[i][j] + "Label")]);
}
......
<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet href="chrome://global/skin/" type="text/css"?>
<!-- for the icons of the CardBook main toolbar -->
<?xml-stylesheet href="chrome://messenger/skin/primaryToolbar.css" type="text/css"?>
<?xml-stylesheet href="chrome://messenger/skin/addressbook/addressbook.css" type="text/css"?>
<?xml-stylesheet href="chrome://cardbook-os/skin/cardbookToolbarButtons.css" type="text/css"?>
<!DOCTYPE window [
<!ENTITY % brandDTD SYSTEM "chrome://branding/locale/brand.dtd"> %brandDTD;
......@@ -35,42 +39,42 @@
labelalign="end"
defaultlabelalign="end">
<toolbarpalette id="CardBookToolbarPalette">
<toolbarbutton id="cardbookToolbarAddServerButton"
<toolbarbutton id="button-address"
label="&cardbookToolbarAddServerButtonLabel;"
tooltiptext="&cardbookToolbarAddServerButtonTooltip;"
oncommand="wdw_cardbook.addAddressbook();"
class="toolbarbutton-1"/>
<toolbarbutton id="cardbookToolbarSyncButton"
<toolbarbutton id="button-getmsg"
label="&cardbookToolbarSyncButtonLabel;"
tooltiptext="&cardbookToolbarSyncButtonTooltip;"
oncommand="wdw_cardbook.syncAccounts();"
class="toolbarbutton-1"/>
<toolbarbutton id="cardbookToolbarConfigurationButton"
<toolbarbutton id="button-compact"
label="&cardbookToolbarConfigurationButtonLabel;"
tooltiptext="&cardbookToolbarConfigurationButtonTooltip;"
oncommand="wdw_cardbook.openOptionsEdition();"
class="toolbarbutton-1"/>
<toolbarbutton id="cardbookToolbarAddContactButton"
<toolbarbutton id="button-newcard"
label="&cardbookToolbarAddContactButtonLabel;"
tooltiptext="&cardbookToolbarAddContactButtonTooltip;"
oncommand="wdw_cardbook.createContact();"
class="toolbarbutton-1"/>
<toolbarbutton id="cardbookToolbarAddListButton"
<toolbarbutton id="button-newlist"
label="&cardbookToolbarAddListButtonLabel;"
tooltiptext="&cardbookToolbarAddListButtonTooltip;"
oncommand="wdw_cardbook.createList();"
class="toolbarbutton-1"/>
<toolbarbutton id="cardbookToolbarEditButton"
<toolbarbutton id="button-editcard"
label="&cardbookToolbarEditButtonLabel;"
tooltiptext="&cardbookToolbarEditButtonTooltip;"
oncommand="wdw_cardbook.editCard();"
class="toolbarbutton-1"/>
<toolbarbutton id="cardbookToolbarRemoveButton"
<toolbarbutton id="button-abdelete"
label="&cardbookToolbarRemoveButtonLabel;"
tooltiptext="&cardbookToolbarRemoveButtonTooltip;"
oncommand="wdw_cardbook.deleteCardsAndValidate('cardbook.cardRemovedDirect');"
class="toolbarbutton-1"/>
<toolbarbutton id="cardbookToolbarPrintButton"
<toolbarbutton id="button-print"
label="&cardbookToolbarPrintButtonLabel;"
tooltiptext="&cardbookToolbarPrintButtonTooltip;"
oncommand="wdw_cardbook.print();"
......@@ -162,7 +166,7 @@
tooltiptext="&cardbookToolbarSearchBoxTooltip;"
class="toolbaritem-noline chromeclass-toolbar-additional">
<textbox id="cardbookSearchInput" flex="1"
type="search"
type="search" class="searchBox"
oncommand="wdw_cardbook.startSearch();"/>
</toolbaritem>
<toolbarbutton id="cardbookToolbarComplexSearch"
......@@ -182,7 +186,7 @@
fullscreentoolbar="true" mode="full"
customizable="true"
context="cardbook-toolbar-context"
defaultset="cardbookToolbarAppMenuButton,cardbookToolbarSyncButton,cardbookToolbarConfigurationButton,spring,cardbookToolbarSearchBox,cardbookToolbarAddContactButton,cardbookToolbarAddListButton,cardbookToolbarEditButton,cardbookToolbarRemoveButton,cardbookToolbarThMenuButton"/>
defaultset="cardbookToolbarAppMenuButton,button-getmsg,button-compact,spring,cardbookToolbarSearchBox,button-newcard,button-newlist,button-editcard,button-abdelete,cardbookToolbarThMenuButton"/>
<toolbarset id="cardbookToolbars" context="cardbook-toolbar-context"/>
</toolbox>
......
......@@ -67,6 +67,18 @@ if ("undefined" == typeof(wdw_cardbook)) {
wdw_cardbook.showCorrectTabs();
},
migrateIcons: function () {
var prefs = Components.classes["@mozilla.org/preferences-service;1"].getService(Components.interfaces.nsIPrefBranch);
var iconsMigrated = prefs.getBoolPref("extensions.cardbook.iconsMigrated");
if (!iconsMigrated) {
var toolbar = document.getElementById("cardbook-toolbar");
if (toolbar) {
toolbar.setAttribute("currentset", "calendar-synchronize-button,calendar-newevent-button,calendar-newtask-button,calendar-edit-button,calendar-delete-button,spring,calendar-appmenu-button");
}
prefs.setBoolPref("extensions.cardbook.iconsMigrated", true);
}
},
setToolbarCustom: function () {
var toolbox = document.getElementById("cardbook-toolbox");
toolbox.customizeDone = function(aEvent) {
......@@ -86,6 +98,8 @@ if ("undefined" == typeof(wdw_cardbook)) {
loadFirstWindow: function () {
Components.utils.import("chrome://cardbook/content/cardbookRepository.js");
Components.utils.import("resource://gre/modules/PluralForm.jsm");
// for versions <= 20.4
wdw_cardbook.migrateIcons();
wdw_cardbook.setSyncControl();
wdw_cardbook.setToolbarCustom();
wdw_cardbook.setNoSearchMode();
......@@ -2791,14 +2805,14 @@ if ("undefined" == typeof(wdw_cardbook)) {
if (cardbookUtils.getAvailableAccountNumber() === 0) {
wdw_cardbook.disableCardDeletion();
} else {
wdw_cardbook.enableOrDisableElement(['cardbookToolbarRemoveButton'], false);
wdw_cardbook.enableOrDisableElement(['button-abdelete'], false);
wdw_cardbook.enableOrDisableElement(['cardbookContactsMenuRemoveCard'], false);
wdw_cardbook.enableOrDisableElement(['removeCardFromCards'], false);
}
},
enableCardCreation: function () {
wdw_cardbook.enableOrDisableElement(['cardbookToolbarAddContactButton', 'cardbookToolbarAddListButton', 'cardbookContactsMenuAddContact', 'cardbookContactsMenuAddList',
wdw_cardbook.enableOrDisableElement(['button-newcard', 'button-newlist', 'cardbookContactsMenuAddContact', 'cardbookContactsMenuAddList',
'addContactFromCards', 'addListFromCards', 'cardbookContactsMenuDuplicateCards', 'duplicateCardsFromCards'], false);
},
......@@ -2809,29 +2823,29 @@ if ("undefined" == typeof(wdw_cardbook)) {
var myTree = document.getElementById('accountsOrCatsTree');
var myPrefId = cardbookUtils.getAccountId(myTree.view.getCellText(myTree.currentIndex, {id: "accountId"}));
if (cardbookUtils.isMyAccountReadOnly(myPrefId)) {
wdw_cardbook.setElementLabelWithBundle('cardbookToolbarEditButton', "viewCardButtonLabel");
wdw_cardbook.setElementLabelWithBundle('button-editcard', "viewCardButtonLabel");
wdw_cardbook.setElementLabelWithBundle('cardbookContactsMenuEditContact', "viewCardButtonLabel");
wdw_cardbook.setElementLabelWithBundle('editCardFromCards', "viewCardButtonLabel");
} else {
wdw_cardbook.setElementLabelWithBundle('cardbookToolbarEditButton', "editCardButtonLabel");
wdw_cardbook.setElementLabelWithBundle('button-editcard', "editCardButtonLabel");
wdw_cardbook.setElementLabelWithBundle('cardbookContactsMenuEditContact', "editCardButtonLabel");
wdw_cardbook.setElementLabelWithBundle('editCardFromCards', "editCardButtonLabel");
}
wdw_cardbook.enableOrDisableElement(['cardbookToolbarEditButton', 'cardbookContactsMenuEditContact', 'editCardFromCards'], false);
wdw_cardbook.enableOrDisableElement(['button-editcard', 'cardbookContactsMenuEditContact', 'editCardFromCards'], false);
}
},
disableCardDeletion: function () {
wdw_cardbook.enableOrDisableElement(['cardbookToolbarRemoveButton', 'cardbookContactsMenuRemoveCard', 'removeCardFromCards'], true);
wdw_cardbook.enableOrDisableElement(['button-abdelete', 'cardbookContactsMenuRemoveCard', 'removeCardFromCards'], true);
},
disableCardCreation: function () {
wdw_cardbook.enableOrDisableElement(['cardbookToolbarAddContactButton', 'cardbookToolbarAddListButton', 'cardbookContactsMenuAddContact', 'cardbookContactsMenuAddList', 'addContactFromCards',
wdw_cardbook.enableOrDisableElement(['button-newcard', 'button-newlist', 'cardbookContactsMenuAddContact', 'cardbookContactsMenuAddList', 'addContactFromCards',
'addListFromCards', 'cardbookContactsMenuDuplicateCards', 'duplicateCardsFromCards'], true);
},
disableCardModification: function () {
wdw_cardbook.enableOrDisableElement(['cardbookToolbarEditButton', 'cardbookContactsMenuEditContact', 'editCardFromCards'], true);
wdw_cardbook.enableOrDisableElement(['button-editcard', 'cardbookContactsMenuEditContact', 'editCardFromCards'], true);
},
updateStatusProgressInformationField: function() {
......@@ -2880,7 +2894,7 @@ if ("undefined" == typeof(wdw_cardbook)) {
windowControlShowing: function () {
if (cardbookUtils.getAvailableAccountNumber() === 0) {
wdw_cardbook.enableOrDisableElement(['cardbookToolbarSyncButton', 'cardbookAccountMenuSyncs'], true);
wdw_cardbook.enableOrDisableElement(['button-getmsg', 'cardbookAccountMenuSyncs'], true);
wdw_cardbook.disableCardCreation();
wdw_cardbook.disableCardModification();
wdw_cardbook.disableCardDeletion();
......@@ -2889,7 +2903,7 @@ if ("undefined" == typeof(wdw_cardbook)) {
wdw_cardbook.disableCardDeletion();
wdw_cardbook.disableCardCreation();
wdw_cardbook.disableCardModification();
wdw_cardbook.enableOrDisableElement(['cardbookToolbarSyncButton', 'cardbookAccountMenuSyncs'], true);
wdw_cardbook.enableOrDisableElement(['button-getmsg', 'cardbookAccountMenuSyncs'], true);
} else if (cardbookRepository.cardbookSearchMode === "SEARCH" || cardbookRepository.cardbookComplexSearchMode === "SEARCH") {
wdw_cardbook.enableCardCreation();
if (cardbookUtils.getSelectedCardsCount() >= 2 || cardbookUtils.getSelectedCardsCount() == 0) {
......@@ -2902,7 +2916,7 @@ if ("undefined" == typeof(wdw_cardbook)) {
} else {
wdw_cardbook.enableCardDeletion();
}
wdw_cardbook.enableOrDisableElement(['cardbookToolbarSyncButton', 'cardbookAccountMenuSyncs'], !cardbookUtils.isThereNetworkAccountToSync());
wdw_cardbook.enableOrDisableElement(['button-getmsg', 'cardbookAccountMenuSyncs'], !cardbookUtils.isThereNetworkAccountToSync());
} else {
var myTree = document.getElementById('accountsOrCatsTree');
if (myTree.currentIndex != -1) {
......@@ -2934,16 +2948,16 @@ if ("undefined" == typeof(wdw_cardbook)) {
wdw_cardbook.disableCardCreation();
wdw_cardbook.disableCardModification();
}
wdw_cardbook.enableOrDisableElement(['cardbookToolbarSyncButton', 'cardbookAccountMenuSyncs'], !cardbookUtils.isThereNetworkAccountToSync());
wdw_cardbook.enableOrDisableElement(['button-getmsg', 'cardbookAccountMenuSyncs'], !cardbookUtils.isThereNetworkAccountToSync());
}
}
if (cardbookRepository.cardbookSyncMode === "SYNC") {
wdw_cardbook.enableOrDisableElement(['cardbookToolbarAddServerButton', 'cardbookToolbarConfigurationButton', 'accountsOrCatsTreeContextMenu', 'cardsTreeContextMenu',
'cardbookAccountMenu', 'cardbookContactsMenu', 'cardbookToolsMenu', 'cardbookToolbarComplexSearch', 'cardbookToolbarPrintButton'], true);
wdw_cardbook.enableOrDisableElement(['button-address', 'button-compact', 'accountsOrCatsTreeContextMenu', 'cardsTreeContextMenu',
'cardbookAccountMenu', 'cardbookContactsMenu', 'cardbookToolsMenu', 'cardbookToolbarComplexSearch', 'button-print'], true);
} else {
wdw_cardbook.enableOrDisableElement(['cardbookToolbarAddServerButton', 'cardbookToolbarConfigurationButton', 'accountsOrCatsTreeContextMenu', 'cardsTreeContextMenu',
'cardbookAccountMenu', 'cardbookContactsMenu', 'cardbookToolsMenu', 'cardbookToolbarComplexSearch', 'cardbookToolbarPrintButton'], false);
wdw_cardbook.enableOrDisableElement(['button-address', 'button-compact', 'accountsOrCatsTreeContextMenu', 'cardsTreeContextMenu',
'cardbookAccountMenu', 'cardbookContactsMenu', 'cardbookToolsMenu', 'cardbookToolbarComplexSearch', 'button-print'], false);
}
wdw_cardbook.updateStatusInformation();
wdw_cardbook.updateStatusProgressInformationField();
......@@ -3009,7 +3023,6 @@ if ("undefined" == typeof(wdw_cardbook)) {
var myTree = document.getElementById('cardsTree');
myTree.view.selection.clearSelection();
if (cardbookRepository.cardbookComplexSearchMode === "SEARCH") {
cardbookUtils.setSelectedCardsId(listOfSelectedCard, myTree.boxObject.getFirstVisibleRow(), myTree.boxObject.getLastVisibleRow());
if (listOfSelectedCard.length == 1) {
if (cardbookRepository.cardbookCards[listOfSelectedCard[0]]) {
wdw_cardbook.displayCard(cardbookRepository.cardbookCards[listOfSelectedCard[0]]);
......
......@@ -244,6 +244,7 @@ localityLabel=Lokalita (město)
regionLabel=Oblast (Stát nebo provincie)
postalCodeLabel=Poštovní směrovací číslo
countryLabel=Zěmě
ageLabel=Věk
warningTitle=Varování
errorTitle=Chyba
......
......@@ -244,6 +244,7 @@ localityLabel=Ort
regionLabel=Region
postalCodeLabel=Postleitzahl
countryLabel=Land
ageLabel=Jahre
warningTitle=Warnung
errorTitle=Fehler
......
......@@ -244,6 +244,7 @@ localityLabel=Locality (Town or City)
regionLabel=Region (State or Province)
postalCodeLabel=Postal code
countryLabel=Country
ageLabel=Age
warningTitle=Warning
errorTitle=Error
......
......@@ -41,7 +41,7 @@
<!ENTITY cardbookToolbarRemoveButtonLabel "Delete">
<!ENTITY cardbookToolbarRemoveButtonTooltip "Delete selected contact">
<!ENTITY cardbookToolbarPrintButtonLabel "Print Preview">
<!ENTITY cardbookToolbarPrintButtonTooltip "Allow to print the selection">
<!ENTITY cardbookToolbarPrintButtonTooltip "Print preview of the selection">
<!ENTITY cardbookToolbarAppMenuButtonLabel "CardBook menu">
<!ENTITY cardbookToolbarAppMenuButtonTooltip "CardBook menu">
<!ENTITY cardbookToolbarSearchBoxLabel "Contacts search">
......
......@@ -244,6 +244,7 @@ localityLabel=Localité
regionLabel=Région
postalCodeLabel=Code postal
countryLabel=Pays
ageLabel=Âge
warningTitle=Avertissement
errorTitle=Erreur
......
......@@ -244,6 +244,7 @@ localityLabel=Hely (város)
regionLabel=Kerület (állam vagy tartomány)
postalCodeLabel=Irányítószám
countryLabel=Ország
ageLabel=Kor
warningTitle=Figyelem
errorTitle=Hiba
......@@ -311,7 +312,7 @@ wdw_cardEditionEditContactTitle=Névjegy szerkesztés
wdw_cardEditionEditListTitle=Lista szerkesztése
wdw_cardEditionAddLineTitle=Névjegy szerkesztés
wdw_cardEditionViewContactTitle=Nézet névjegy
wdw_cardEditionViewListTitle=??View List??
wdw_cardEditionViewListTitle=Nézet lista
wdw_cardbookPrintTitleLong=%1$S nyomtatási képe - Névjegyzék - Thunderbird
wdw_cardbookPrintTitle=Nyomtatási kép
......
......@@ -244,6 +244,7 @@ localityLabel=Città
regionLabel=Provincia/Stato
postalCodeLabel=CAP
countryLabel=Paese
ageLabel=Età
warningTitle=Attenzione
errorTitle=Errore
......
......@@ -244,6 +244,7 @@ localityLabel=Plaats
regionLabel=Provincie
postalCodeLabel=Postcode
countryLabel=Land
ageLabel=Leeftijd
warningTitle=Waarschuwing
errorTitle=Fout
......
......@@ -244,6 +244,7 @@ localityLabel=Region (Powiat lub gmina)
regionLabel=Województwo
postalCodeLabel=Kod pocztowy
countryLabel=Państwo
ageLabel=Wiek
warningTitle=Uwaga
errorTitle=Błąd
......
......@@ -244,6 +244,7 @@ localityLabel=Localidade (Cidade)
regionLabel=Região
postalCodeLabel=Código Postal
countryLabel=País
ageLabel=Idade
warningTitle=Aviso
errorTitle=Erro
......
......@@ -244,6 +244,7 @@ localityLabel=Населённый пункт (город или посёлок)
regionLabel=Регион (область или район)
postalCodeLabel=Почтовый индекс
countryLabel=Страна
ageLabel=Возраст
warningTitle=Предупреждение
errorTitle=Ошибка
......
......@@ -244,6 +244,7 @@ localityLabel=Kraj
regionLabel=Območje (Zv. država ali provinca)
postalCodeLabel=Poštna številka
countryLabel=Država
ageLabel=Starost
warningTitle=Opozorilo
errorTitle=Napaka
......
#cardbookToolbarAddServerButton {
list-style-image: url("chrome://cardbook/skin/add_server_24_24.png");
}
toolbar[iconsize="small"] #cardbookToolbarAddServerButton {
list-style-image: url("chrome://cardbook/skin/add_server_16_16.png");
}
#cardbookToolbarSyncButton {
list-style-image: url("chrome://cardbook/skin/sync_24_24.png");
}
toolbar[iconsize="small"] #cardbookToolbarSyncButton {
list-style-image: url("chrome://cardbook/skin/sync_16_16.png");
}
#cardbookToolbarConfigurationButton {
list-style-image: url("chrome://cardbook/skin/configuration_24_24.png");
}
toolbar[iconsize="small"] #cardbookToolbarConfigurationButton {
list-style-image: url("chrome://cardbook/skin/configuration_16_16.png");
}
#cardbookToolbarAddContactButton {
list-style-image: url("chrome://cardbook/skin/add_card_24_24.png");
}
toolbar[iconsize="small"] #cardbookToolbarAddContactButton {
list-style-image: url("chrome://cardbook/skin/add_card_16_16.png");
}
#cardbookToolbarAddListButton {
list-style-image: url("chrome://cardbook/skin/add_list_24_24.png");
}
toolbar[iconsize="small"] #cardbookToolbarAddListButton {
list-style-image: url("chrome://cardbook/skin/add_list_16_16.png");
}
#cardbookToolbarRemoveButton {
list-style-image: url("chrome://cardbook/skin/remove_24_24.png");
}
toolbar[iconsize="small"] #cardbookToolbarRemoveButton {
list-style-image: url("chrome://cardbook/skin/remove_16_16.png");
}
#cardbookToolbarPrintButton {
list-style-image: url("chrome://cardbook/skin/print_24_24.png");
}
toolbar[iconsize="small"] #cardbookToolbarPrintButton {
list-style-image: url("chrome://cardbook/skin/print_16_16.png");
}
#cardbookToolbarEditButton {
list-style-image: url("chrome://cardbook/skin/edit_24_24.png");
}
toolbar[iconsize="small"] #cardbookToolbarEditButton {
list-style-image: url("chrome://cardbook/skin/edit_16_16.png");
}
#cardbookToolbarComplexSearch {
list-style-image: url("chrome://cardbook/skin/search_24_24.png");
}
toolbar[iconsize="small"] #cardbookToolbarComplexSearch {
list-style-image: url("chrome://cardbook/skin/search_16_16.png");
}
.cardbookButtonClass {
.cardbookButtonClass {
min-width: 20px !important;
}
.cardIconColumnHeader {
list-style-image: url("chrome://messenger/skin/addressbook/icons/abcard.png");
list-style-image: url("chrome://cardbook/skin/abcard.png");
}
treechildren::-moz-tree-image(cardIcon) {
......
@media not all and (-moz-mac-yosemite-theme) {
#cardbookToolbarComplexSearch {
list-style-image: url("chrome://messenger/skin/icons/mail-toolbar-osxlion.svg#filter");
}
}
@media (-moz-mac-yosemite-theme) {
#cardbookToolbarComplexSearch {
list-style-image: url("chrome://messenger/skin/icons/mail-toolbar.svg#filter-flat");
}
}
toolbar[brighttext] #cardbookToolbarComplexSearch {
list-style-image: url("chrome://messenger/skin/icons/mail-toolbar.svg#filter-inverted");
}
\ No newline at end of file
.cardIconColumnHeader {
list-style-image: url("chrome://messenger/skin/addressbook/icons/abcard.png");
list-style-image: url("chrome://cardbook/skin/abcard.png");
}
treechildren::-moz-tree-image(cardIcon) {
......
#cardbookToolbarComplexSearch {
list-style-image: url("chrome://messenger/skin/icons/mail-toolbar.svg#filter");
}
toolbar[brighttext] #cardbookToolbarComplexSearch {
list-style-image: url("chrome://messenger/skin/icons/mail-toolbar.svg#filter-inverted");
}
.cardIconColumnHeader {
list-style-image: url("chrome://messenger/skin/addressbook/icons/abcard.png");
list-style-image: url("chrome://cardbook/skin/abcard.png");
}
treechildren::-moz-tree-image(cardIcon) {
......
@media (-moz-os-version: windows-win8) and (-moz-windows-default-theme),
(-moz-os-version: windows-win10) and (-moz-windows-default-theme) {
#cardbookToolbarComplexSearch {
list-style-image: url("chrome://messenger/skin/icons/mail-toolbar.svg#filter");
}
}
toolbar[brighttext] #cardbookToolbarComplexSearch {
list-style-image: url("chrome://messenger/skin/icons/mail-toolbar.svg#filter-inverted");
}
#cardbookToolbarComplexSearch {
list-style-image: url("chrome://messenger/skin/icons/mail-toolbar.svg#filter");
}
\ No newline at end of file
......@@ -30,6 +30,7 @@ pref("extensions.cardbook.preferenceValueLabel", "");
pref("extensions.cardbook.firstRun", true);
pref("extensions.cardbook.firstOpen", true);
pref("extensions.cardbook.firstOpenModern", true);
pref("extensions.cardbook.iconsMigrated", false);
pref("extensions.cardbook.kindCustom", "X-ADDRESSBOOKSERVER-KIND");
pref("extensions.cardbook.memberCustom", "X-ADDRESSBOOKSERVER-MEMBER");
......@@ -60,4 +61,4 @@ pref("extensions.cardbook.calendarEntryCategories", "");
pref("extensions.cardbook.viewABPane", true);
pref("extensions.cardbook.viewABContact", true);
pref("extensions.cardbook.addonVersion", "20.4");
pref("extensions.cardbook.addonVersion", "20.5");
......@@ -6,7 +6,7 @@
<Description about="urn:mozilla:install-manifest">
<em:id>cardbook@vigneau.philippe</em:id>
<em:name>CardBook</em:name>
<em:version>20.4</em:version>
<em:version>20.5</em:version>
<em:type>2</em:type>
<em:description>vCard Address Book</em:description>
<em:creator>Philippe Vigneau</em:creator>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment