diff --git a/src/common/kernel/eressea.c b/src/common/kernel/eressea.c
index 3247ad081..9702fef91 100644
--- a/src/common/kernel/eressea.c
+++ b/src/common/kernel/eressea.c
@@ -2045,45 +2045,6 @@ kernel_done(void)
if (sqlstream!=NULL) sql_done();
}
-static void
-read_strings(FILE * F)
-{
- char rbuf[8192];
- while (fgets(rbuf, sizeof(rbuf), F)) {
- char * b = rbuf;
- struct locale * lang;
- char * key = b;
- char * language;
- const char * k;
-
- if (rbuf[0]=='#') continue;
- rbuf[strlen(rbuf)-1] = 0; /* \n weg */
- while (*b && *b!=';') ++b;
- if (!*b) continue;
- *b++ = 0;
- language = b;
- while (*b && *b!=';') ++b;
- *b++ = 0;
- lang = find_locale(language);
- if (!lang) lang = make_locale(language);
- k = locale_getstring(lang, key);
- if (k) {
- log_warning(("Trying to register %s[%s]=\"%s\", already have \"%s\"\n", key, language, k, b));
- } else locale_setstring(lang, key, b);
- }
-}
-
-const char * messages[] = {
- "%s/%s/strings.xml",
- "%s/%s/messages.xml",
- NULL
-};
-
-const char * strings[] = {
- "%s/%s/strings.txt",
- NULL
-};
-
const char * localenames[] = {
"de", "en", "fr",
NULL
@@ -2399,12 +2360,11 @@ void
remove_empty_units_in_region(region *r)
{
unit **up = &r->units;
-
while (*up) {
unit * u = *up;
#ifdef MAXAGE
faction * f = u->faction;
- if (f->age > MAXAGE) set_number(u, 0);
+ if (!fval(f, FFL_NOTIMEOUT) && f->age > MAXAGE) set_number(u, 0);
#endif
if ((u->number <= 0 && u->race != new_race[RC_SPELL])
|| (u->age <= 0 && u->race == new_race[RC_SPELL])
diff --git a/src/common/kernel/eressea.h b/src/common/kernel/eressea.h
index 901bf4bc8..90f0c1e80 100644
--- a/src/common/kernel/eressea.h
+++ b/src/common/kernel/eressea.h
@@ -913,6 +913,8 @@ typedef struct strlist {
#define FFL_OVERRIDE (1<<27) /* Override-Passwort wurde benutzt */
#define FFL_DBENTRY (1<<28) /* Partei ist in Datenbank eingetragen */
+#define FFL_NOTIMEOUT (1<<29) /* ignore MAXAGE */
+
#define UFL_WERE (1<<28)
/* Flags, die gespeichert werden sollen: */
diff --git a/src/eressea/korrektur.c b/src/eressea/korrektur.c
index 18de045a8..e0a5fd9cd 100644
--- a/src/eressea/korrektur.c
+++ b/src/eressea/korrektur.c
@@ -185,6 +185,17 @@ convert_orders(void)
return 0;
}
+void
+french_testers(void)
+{
+ faction * f = factions;
+ const struct locale * french = find_locale("fr");
+ while (f!=NULL) {
+ if (f->locale==french) fset(f, FFL_NOTIMEOUT);
+ f = f->next;
+ }
+}
+
static void
verify_owners(boolean bOnce)
{
@@ -2781,6 +2792,7 @@ give_cammo(void)
void
korrektur(void)
{
+ french_testers();
#if TEST_LOCALES
setup_locales();
#endif
diff --git a/src/res/de/messages.xml b/src/res/de/messages.xml
index 7963ec3af..b9937a716 100644
--- a/src/res/de/messages.xml
+++ b/src/res/de/messages.xml
@@ -7402,6 +7402,7 @@
"Auf dem Markt wird für $resource($product,0) $int($price) Silber verlangt."
+ "Le marché local offre la $resource($product,0) au prix de $int($price) écus."
"The local market offers $resource($product,0) at a price of $int($price) silver."
diff --git a/src/res/fr/strings.xml b/src/res/fr/strings.xml
index 8e8dcff4d..e5e5b3a7d 100644
--- a/src/res/fr/strings.xml
+++ b/src/res/fr/strings.xml
@@ -1587,6 +1587,7 @@
METAMORPHOSE
+
aigle
@@ -1842,6 +1843,7 @@
illusion
+
NR generieren