Fixed draft functionality under foreign languages

This commit is contained in:
2015-06-15 16:26:54 +02:00
parent f61301271a
commit 62b9d359f7
18 changed files with 57 additions and 27 deletions
+3 -1
View File
@@ -488,6 +488,8 @@ All time =
Draft =
Restrict seach to last =
days =
This is a draft message, edit and submit it to make it permament =
Draft saved at =
You might however then overwrite each other's modifications =
Draft entry created on %s by %s =
Really delete this entry? =
This is a draft message, edit and submit it to make it permanent =
+3 -1
View File
@@ -488,6 +488,8 @@ All time =
Draft =
Restrict seach to last =
days =
This is a draft message, edit and submit it to make it permament =
Draft saved at =
You might however then overwrite each other's modifications =
Draft entry created on %s by %s =
Really delete this entry? =
This is a draft message, edit and submit it to make it permanent =
+3 -1
View File
@@ -485,6 +485,8 @@ All time =
Draft =
Restrict seach to last =
days =
This is a draft message, edit and submit it to make it permament =
Draft saved at =
You might however then overwrite each other's modifications =
Draft entry created on %s by %s =
Really delete this entry? =
This is a draft message, edit and submit it to make it permanent =
+3 -1
View File
@@ -488,6 +488,8 @@ All time =
Draft =
Restrict seach to last =
days =
This is a draft message, edit and submit it to make it permament =
Draft saved at =
You might however then overwrite each other's modifications =
Draft entry created on %s by %s =
Really delete this entry? =
This is a draft message, edit and submit it to make it permanent =
+3 -1
View File
@@ -487,6 +487,8 @@ All time =
Draft =
Restrict seach to last =
days =
This is a draft message, edit and submit it to make it permament =
Draft saved at =
You might however then overwrite each other's modifications =
Draft entry created on %s by %s =
Really delete this entry? =
This is a draft message, edit and submit it to make it permanent =
+3 -1
View File
@@ -485,6 +485,8 @@ All time =
Draft =
Restrict seach to last =
days =
This is a draft message, edit and submit it to make it permament =
Draft saved at =
You might however then overwrite each other's modifications =
Draft entry created on %s by %s =
Really delete this entry? =
This is a draft message, edit and submit it to make it permanent =
+3 -5
View File
@@ -480,11 +480,9 @@ All time = Immer
Draft = Entwurf
Restrict seach to last = Suche einschränken auf letzte
days = Tage
This is a draft message, edit and submit it to make it permament = Dies ist ein Entwurf, bitte ändern und abschicken um ihn permanent zu machen
Draft saved at = Entwurf gespeichert um
You might however then overwrite each other's modifications = Sie würde dann jedoch die Änderungen von jemand anderem überschreiben
Draft entry created on %s by %s = Entwurf erstellt am %s von %s
Really delete this entry? = Diesen Eintrag wirklich löschen?
This is a draft message, edit and submit it to make it permanent = Dies ist ein Entwurf, bitte ändern und abschicken um ihn permanent zu machen
#
#---- please translate following items and then remove this comment ----#
#
+3 -1
View File
@@ -486,7 +486,9 @@ Entry can only be deleted %1.2lg hours after creation =
Draft =
Restrict seach to last =
days =
This is a draft message, edit and submit it to make it permament =
Insert Timestamp =
Draft saved at =
You might however then overwrite each other's modifications =
Draft entry created on %s by %s =
Really delete this entry? =
This is a draft message, edit and submit it to make it permanent =
+3 -1
View File
@@ -484,6 +484,8 @@ All time =
Draft =
Restrict seach to last =
days =
This is a draft message, edit and submit it to make it permament =
Draft saved at =
You might however then overwrite each other's modifications =
Draft entry created on %s by %s =
Really delete this entry? =
This is a draft message, edit and submit it to make it permanent =
+3 -1
View File
@@ -484,6 +484,8 @@ All time =
Draft =
Restrict seach to last =
days =
This is a draft message, edit and submit it to make it permament =
Draft saved at =
You might however then overwrite each other's modifications =
Draft entry created on %s by %s =
Really delete this entry? =
This is a draft message, edit and submit it to make it permanent =
+3 -1
View File
@@ -489,6 +489,8 @@ All time =
Draft =
Restrict seach to last =
days =
This is a draft message, edit and submit it to make it permament =
Draft saved at =
You might however then overwrite each other's modifications =
Draft entry created on %s by %s =
Really delete this entry? =
This is a draft message, edit and submit it to make it permanent =
+3 -1
View File
@@ -463,6 +463,8 @@ All time =
Please subscribe to logbooks if you want to receive automatic email notifications = Prosím, prihláste sa do denníkov, ak chcete dostávať automatické upozornenia emailom
This is an automatically generated account recovery email for host %s = Toto je automaticky generovaný emailový účet pre host% s
Please click on following link to recover your account = Prosím, kliknite na nasledujúci odkaz pre obnovu svojho účtu
Email address "%s" not registered = Emailová adresa "%s" nie je registrovaná
Email address "%s" not registered = Emailová adresa "%s" nie je registrovaná
User name "%s" not registered = Užívateľské meno "% s" nie je registrované
Error accessing password file = Chyba pri prístupe k súboru s heslami
#
+3 -1
View File
@@ -487,6 +487,8 @@ All time =
Draft =
Restrict seach to last =
days =
This is a draft message, edit and submit it to make it permament =
Draft saved at =
You might however then overwrite each other's modifications =
Draft entry created on %s by %s =
Really delete this entry? =
This is a draft message, edit and submit it to make it permanent =
+3 -1
View File
@@ -487,6 +487,8 @@ All time =
Draft =
Restrict seach to last =
days =
This is a draft message, edit and submit it to make it permament =
Draft saved at =
You might however then overwrite each other's modifications =
Draft entry created on %s by %s =
Really delete this entry? =
This is a draft message, edit and submit it to make it permanent =
+3 -1
View File
@@ -487,6 +487,8 @@ All time =
Draft =
Restrict seach to last =
days =
This is a draft message, edit and submit it to make it permament =
Draft saved at =
You might however then overwrite each other's modifications =
Draft entry created on %s by %s =
Really delete this entry? =
This is a draft message, edit and submit it to make it permanent =
+3 -1
View File
@@ -486,6 +486,8 @@ All time =
Draft =
Restrict seach to last =
days =
This is a draft message, edit and submit it to make it permament =
Draft saved at =
You might however then overwrite each other's modifications =
Draft entry created on %s by %s =
Really delete this entry? =
This is a draft message, edit and submit it to make it permanent =
+3 -1
View File
@@ -486,6 +486,8 @@ All time =
Draft =
Restrict seach to last =
days =
This is a draft message, edit and submit it to make it permament =
Draft saved at =
You might however then overwrite each other's modifications =
Draft entry created on %s by %s =
Really delete this entry? =
This is a draft message, edit and submit it to make it permanent =
+6 -6
View File
@@ -9513,8 +9513,8 @@ int check_drafts(LOGBOOK * lbs)
sprintf(str, loc("Draft entry created on %s by %s"), datetime, draft);
rsprintf("%s</td>\n", str);
rsprintf("<td class=\"draftsel\">");
rsprintf("<input type=button value=\"%s\" onClick=\"window.location.href='%d?cmd=Edit';\">",
loc("Edit"), draft_id[i]);
rsprintf("<input type=button value=\"%s\" onClick=\"window.location.href='%d?cmd=%s';\">",
loc("Edit"), draft_id[i], loc("Edit"));
rsprintf("</td></tr>\n");
}
@@ -24611,9 +24611,9 @@ void show_elog_entry(LOGBOOK * lbs, char *dec_path, char *command)
} else {
if (draft[0]) {
rsprintf("<tr><td nowrap colspan=2 class=\"errormsg\">%s\n",
loc("This is a draft message, edit and submit it to make it permament"));
rsprintf("&nbsp;<input type=button value=\"%s\" onClick=\"window.location.href='%d?cmd=Edit';\">",
loc("Edit"), message_id);
loc("This is a draft message, edit and submit it to make it permanent"));
rsprintf("&nbsp;<input type=button value=\"%s\" onClick=\"window.location.href='%d?cmd=%s';\">",
loc("Edit"), message_id, loc("Edit"));
rsprintf("</td></tr>\n");
}
}
@@ -27822,7 +27822,7 @@ void interprete(char *lbook, char *path)
return;
}
if (strieq(command, loc("Save")) && !isparam("cfgpage") && !isparam("new_user_name")) {
if ((strieq(command, loc("Save")) || strieq(command, "Save")) && !isparam("cfgpage") && !isparam("new_user_name")) {
/* save draft message */
if (isparam("unm"))
strlcpy(str, getparam("unm"), sizeof(str));