diff options
Diffstat (limited to 'server/src/trans.rs')
| -rw-r--r-- | server/src/trans.rs | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/server/src/trans.rs b/server/src/trans.rs index dcef078..6a18e27 100644 --- a/server/src/trans.rs +++ b/server/src/trans.rs @@ -78,9 +78,8 @@ fn push_strings( grit::IfMessagePart::If { expr: _, message } => { push_strings(strings, file, message); } - grit::IfMessagePart::Part(_) => { - // There should be none of these as we use parse_grit_with_parts - assert!(false); + grit::IfMessagePart::Part { file, messages } => { + push_strings(strings, &file, messages); } } } |
