mirror of
https://gitea.psi.ch/ELOG/elog.git
synced 2026-09-08 17:13:56 +00:00
Fixed missing logbook when language!=english
SVN revision: 737
This commit is contained in:
parent
95446432a2
commit
ea2a995d3b
@ -6,6 +6,9 @@
|
|||||||
Contents: Web server program for Electronic Logbook ELOG
|
Contents: Web server program for Electronic Logbook ELOG
|
||||||
|
|
||||||
$Log$
|
$Log$
|
||||||
|
Revision 1.228 2004/02/03 10:10:50 midas
|
||||||
|
Fixed missing logbook when language!=english
|
||||||
|
|
||||||
Revision 1.227 2004/02/03 09:44:42 midas
|
Revision 1.227 2004/02/03 09:44:42 midas
|
||||||
Fixed bug that 'save config' gave strange redirection
|
Fixed bug that 'save config' gave strange redirection
|
||||||
|
|
||||||
@ -2283,7 +2286,8 @@ char *loc(char *orig)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/* special case: "Change %s" */
|
/* special case: "Change %s" */
|
||||||
if (strstr(orig, "Change ")) {
|
if (strstr(orig, "Change ") &&
|
||||||
|
strcmp(orig, "Change %s") != 0) {
|
||||||
sprintf(result, loc("Change %s"), orig + 7);
|
sprintf(result, loc("Change %s"), orig + 7);
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
@ -9835,7 +9839,7 @@ void display_line(LOGBOOK * lbs, int message_id, int number, char *mode,
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (equal_ustring(disp_attr[index], "Logbook")) {
|
if (equal_ustring(disp_attr[index], loc("Logbook"))) {
|
||||||
if (equal_ustring(mode, "Threaded")) {
|
if (equal_ustring(mode, "Threaded")) {
|
||||||
if (skip_comma) {
|
if (skip_comma) {
|
||||||
rsprintf(" %s", lbs->name);
|
rsprintf(" %s", lbs->name);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user