Skip to content

Commit

Permalink
Merge pull request aceat64#19 from champo/master
Browse files Browse the repository at this point in the history
Fix issue #7, contribute to #3
  • Loading branch information
aceat64 committed Dec 13, 2011
2 parents 14b11f8 + 78beb92 commit 081a567
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 6 deletions.
4 changes: 3 additions & 1 deletion src/i18n.js
Original file line number Diff line number Diff line change
Expand Up @@ -695,11 +695,13 @@ languages["es"] = {
"fullLinkTitle" : "Mostrar mensaje completo",
"refreshLinkTitle" : "Consultar nuevos correos",
"optionsLinkTitle" : "Ir a la página de opciones",
"sendPageLinkTitle" : "Enviar link a pagina",
"composeLinkTitle" : "Redactar nuevo correo",
"noUnreadText" : "No tienes correos sin leer",
"oneUnreadText" : "correo sin leer", // One unread item: "1 unread mail"
"severalUnreadText" : "correos sin leer", // Several unread items: "3 unread mail"
"popupText" : "Has recibido un nuevo correo!"
"popupText" : "Has recibido un nuevo correo!",
"showLabelsTitle" : "Mostrar etiquetas"
};

// Swedish
Expand Down
10 changes: 5 additions & 5 deletions src/popup.js
Original file line number Diff line number Diff line change
Expand Up @@ -179,10 +179,6 @@ function sendReply(mailid) {

function getThread(accountId, mailid) {

if (Settings.read("showfull_read")) {
readThread(accountId, mailid, true);
}

if (mailCache[mailid] != null) {
// Mail already fetched, read from cache instead
showBody(accountId, mailid, mailCache[mailid]);
Expand All @@ -202,6 +198,10 @@ function showBody(accountid, mailid, mailbody) {

if (mailbody != null) {

if (Settings.read("showfull_read")) {
readThread(accountid, mailid, true);
}

var previousMail = null;
var nextMail = null;
var currentMail = allMailMap[mailid];
Expand Down Expand Up @@ -590,4 +590,4 @@ $(document).ready(function () {
// Should probably use jQuery for this
document.getElementById('refresh').setAttribute('title', i18n.get('refreshLinkTitle'));
document.getElementById('options').setAttribute('title', i18n.get('optionsLinkTitle'));
});
});

0 comments on commit 081a567

Please sign in to comment.