Commit 0c8e60aa authored by CardBook's avatar CardBook

version 29.6

parent 7fde10f7
......@@ -394,13 +394,16 @@ if ("undefined" == typeof(cardbookElementTools)) {
var j = 0;
var sortedContacts = [];
for (var i = 0; i < cardbookRepository.cardbookDisplayCards[aDirPrefId].cards.length; i++) {
sortedContacts.push([cardbookRepository.cardbookDisplayCards[aDirPrefId].cards[i].fn, cardbookRepository.cardbookDisplayCards[aDirPrefId].cards[i].uid]);
sortedContacts.push([cardbookRepository.cardbookDisplayCards[aDirPrefId].cards[i].fn, cardbookRepository.cardbookDisplayCards[aDirPrefId].cards[i].uid,
cardbookRepository.cardbookDisplayCards[aDirPrefId].cards[i].isAList]);
}
sortedContacts = cardbookUtils.sortArrayByString(sortedContacts,0,1);
for (var i = 0; i < sortedContacts.length; i++) {
var menuItem = document.createElement("menuitem");
menuItem.setAttribute("label", sortedContacts[i][0]);
menuItem.setAttribute("value", sortedContacts[i][1]);
menuItem.setAttribute("isAList", sortedContacts[i][2].toString());
menuItem.setAttribute("class", "menuitem-iconic");
myPopup.appendChild(menuItem);
if (sortedContacts[i][1] == aDefaultId) {
defaultIndex=j;
......
<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet href="chrome://messenger/skin/addressbook/abContactsPanel.css" type="text/css"?>
<?xml-stylesheet href="chrome://cardbook/skin/cardbookAddressBooks.css" type="text/css"?>
<!-- for MailList icon -->
<?xml-stylesheet href="chrome://cardbook-os/skin/cardbookCardsIcon.css" type="text/css"?>
<?xul-overlay href="chrome://cardbook/content/ovl_cardbookStringBundle.xul"?>
<!DOCTYPE window [
......
......@@ -95,7 +95,7 @@ if ("undefined" == typeof(ovl_synchro)) {
prefs.setCharPref("accountsShown", "all");
prefs.setCharPref("accountShown", "");
prefs.setCharPref("uncategorizedCards", "");
prefs.setCharPref("addonVersion", "29.5");
prefs.setCharPref("addonVersion", "29.6");
},
lEventTimerSync : { notify: function(lTimerSync) {
......
......@@ -1299,11 +1299,7 @@ if ("undefined" == typeof(wdw_cardbook)) {
}
for (var i = 0; i < listOfURLs.length; i++) {
var url = listOfURLs[i];
if (!url.startsWith("http://") && !url.startsWith("https://")) {
url = "http://" + url;
}
cardbookUtils.openURL(url);
cardbookUtils.openURL(listOfURLs[i]);
}
},
......
......@@ -212,8 +212,8 @@ validateIntegerMsg=Pole %1$S by mělo být nevyplněné, nebo celé číslo mezi
numberContactsFound=Počet nalazených kontaktů: %S
numberContacts=Počet kontaktů: %S
numberContactsFoundModified=??Počet nalazených kontaktů: %1$S (locally modified: %2$S)??
numberContactsModified=??Počet kontaktů: %1$S (locally modified: %2$S)??
numberContactsFoundModified=Počet nalezených kontaktů: %1$S (místně změněno: %2$S)
numberContactsModified=Počet kontaktů: %1$S (místně změněno: %2$S)
numberLines=Počet řádků: %S
cardbook.searchFrom.name=CardBook od
......
......@@ -193,8 +193,8 @@
<!ENTITY solveConflictsRemoteAccesskey "S">
<!ENTITY solveConflictsUserLabel "Zeptat se uživatele">
<!ENTITY solveConflictsUserAccesskey "Z">
<!ENTITY maxModifsPushedLabel "??Maximum number of modifications pushed per synchronization??">
<!ENTITY maxModifsPushedAccesskey "??M??">
<!ENTITY maxModifsPushedLabel "Nejvyšší počet změn nahraných na server při jedné synchronizaci">
<!ENTITY maxModifsPushedAccesskey "N">
<!ENTITY requestsGroupboxLabel "Požadavky">
<!ENTITY requestsTimeoutLabel "Časový limit (sekundy)">
<!ENTITY requestsTimeoutAccesskey "L">
......
......@@ -212,8 +212,8 @@ validateIntegerMsg=Das Feld %1$S sollte leer oder eine Zahl zwischen 1 und %2$S
numberContactsFound=Anzahl gefundener Kontakte: %S
numberContacts=Anzahl der Kontakte: %S
numberContactsFoundModified=??Anzahl gefundener Kontakte: %1$S (locally modified: %2$S)??
numberContactsModified=??Anzahl der Kontakte: %1$S (locally modified: %2$S)??
numberContactsFoundModified=Anzahl gefundener Kontakte: %1$S (lokal geändert: %2$S)
numberContactsModified=Anzahl Kontakte: %1$S (lokal geändert: %2$S)
numberLines=Anzahl Zeilen: %S
cardbook.searchFrom.name=CardBook Von (From)
......
......@@ -193,8 +193,8 @@
<!ENTITY solveConflictsRemoteAccesskey "S">
<!ENTITY solveConflictsUserLabel "Frage den Benutzer">
<!ENTITY solveConflictsUserAccesskey "B">
<!ENTITY maxModifsPushedLabel "??Maximum number of modifications pushed per synchronization??">
<!ENTITY maxModifsPushedAccesskey "??M??">
<!ENTITY maxModifsPushedLabel "Maximale Anzahl an Änderungen, die pro Synchronisation angestoßen werden">
<!ENTITY maxModifsPushedAccesskey "M">
<!ENTITY requestsGroupboxLabel "Anfragen">
<!ENTITY requestsTimeoutLabel "Timeout (Sekunden)">
<!ENTITY requestsTimeoutAccesskey "T">
......
......@@ -194,7 +194,7 @@
<!ENTITY solveConflictsUserLabel "Preguntar al usuario">
<!ENTITY solveConflictsUserAccesskey "U">
<!ENTITY maxModifsPushedLabel "Número máximo de modificaciones enviadas en cada sincronización">
<!ENTITY maxModifsPushedAccesskey "M">
<!ENTITY maxModifsPushedAccesskey "m">
<!ENTITY requestsGroupboxLabel "Consultas">
<!ENTITY requestsTimeoutLabel "Tiempo máximo (segundos)">
<!ENTITY requestsTimeoutAccesskey "D">
......
......@@ -212,8 +212,8 @@ validateIntegerMsg=De rubriek %1$S moet leeg zijn of een getal tussen 1 en %2$S
numberContactsFound=Aantal gevonden contactpersonen: %S
numberContacts=Aantal contactpersonen: %S
numberContactsFoundModified=??Aantal gevonden contactpersonen: %1$S (locally modified: %2$S)??
numberContactsModified=??Aantal contactpersonen: %1$S (locally modified: %2$S)??
numberContactsFoundModified=Aantal gevonden contactpersonen: %1$S (locaal gewijzigd: %2$S)
numberContactsModified=Aantal contactpersonen: %1$S (locaal gewijzigd: %2$S)
numberLines=Aantal regels: %S
cardbook.searchFrom.name=CardBook Van
......
......@@ -193,8 +193,8 @@
<!ENTITY solveConflictsRemoteAccesskey "S">
<!ENTITY solveConflictsUserLabel "Vraag mij">
<!ENTITY solveConflictsUserAccesskey "V">
<!ENTITY maxModifsPushedLabel "??Maximum number of modifications pushed per synchronization??">
<!ENTITY maxModifsPushedAccesskey "??M??">
<!ENTITY maxModifsPushedLabel "Maximaal aantal wijzigingen per synchronisatie">
<!ENTITY maxModifsPushedAccesskey "M">
<!ENTITY requestsGroupboxLabel "Verzoeken">
<!ENTITY requestsTimeoutLabel "Timeout (in seconden)">
<!ENTITY requestsTimeoutAccesskey "T">
......
......@@ -21,3 +21,10 @@ treechildren::-moz-tree-image(cardIcon, MailList) {
-moz-image-region: rect(0px 64px 32px 32px);
}
}
menuitem[isAList="false"] {
list-style-image: url("chrome://messenger/skin/addressbook/icons/abcard.png");
}
menuitem[isAList="true"] {
list-style-image: url("chrome://messenger/skin/addressbook/icons/ablist.png");
}
......@@ -9,3 +9,10 @@ treechildren::-moz-tree-image(cardIcon) {
treechildren::-moz-tree-image(cardIcon, MailList) {
list-style-image: url("chrome://messenger/skin/addressbook/icons/ablist.png");
}
menuitem[isAList="false"] {
list-style-image: url("chrome://messenger/skin/addressbook/icons/abcard.png");
}
menuitem[isAList="true"] {
list-style-image: url("chrome://messenger/skin/addressbook/icons/ablist.png");
}
......@@ -9,3 +9,10 @@ treechildren::-moz-tree-image(cardIcon) {
treechildren::-moz-tree-image(cardIcon, MailList) {
list-style-image: url("chrome://messenger/skin/addressbook/icons/ablist.png");
}
menuitem[isAList="false"] {
list-style-image: url("chrome://messenger/skin/addressbook/icons/abcard.png");
}
menuitem[isAList="true"] {
list-style-image: url("chrome://messenger/skin/addressbook/icons/ablist.png");
}
......@@ -6,7 +6,7 @@
<Description about="urn:mozilla:install-manifest">
<em:id>cardbook@vigneau.philippe</em:id>
<em:name>CardBook</em:name>
<em:version>29.5</em:version>
<em:version>29.6</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