mirror of
https://salsa.debian.org/dskoll/remind.git
synced 2026-04-26 19:14:34 +02:00
Verify two-way correspondence between translation table and system variables.
This commit is contained in:
@@ -100,6 +100,7 @@ ClearTranslationTable(void)
|
||||
XlateItem *item;
|
||||
XlateItem *next;
|
||||
|
||||
ClearSysvarTranslations();
|
||||
item = hash_table_next(&TranslationTable, NULL);
|
||||
while(item) {
|
||||
next = hash_table_next(&TranslationTable, item);
|
||||
@@ -234,6 +235,7 @@ InsertTranslation(char const *orig, char const *translated)
|
||||
return E_NO_MEM;
|
||||
}
|
||||
hash_table_insert(&TranslationTable, item);
|
||||
PropagateTranslationToSysvar(orig, translated);
|
||||
return OK;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user