diff options
Diffstat (limited to 'android')
| -rw-r--r-- | android/translations-converter/src/main.rs | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/android/translations-converter/src/main.rs b/android/translations-converter/src/main.rs index 5b1e3f0d66..c413d09cae 100644 --- a/android/translations-converter/src/main.rs +++ b/android/translations-converter/src/main.rs @@ -96,19 +96,19 @@ fn main() { if !missing_translations.is_empty() { println!("Appending missing translations to template file:"); - } - gettext::append_to_template( - locale_dir.join("messages.pot"), - missing_translations - .into_iter() - .inspect(|(missing_translation, id)| println!(" {}: {}", id, missing_translation)) - .map(|(id, _)| gettext::MsgEntry { - id, - value: String::new(), - }), - ) - .expect("Failed to append missing translations to message template file"); + gettext::append_to_template( + locale_dir.join("messages.pot"), + missing_translations + .into_iter() + .inspect(|(missing_translation, id)| println!(" {}: {}", id, missing_translation)) + .map(|(id, _)| gettext::MsgEntry { + id, + value: String::new(), + }), + ) + .expect("Failed to append missing translations to message template file"); + } } /// Determines the localized value resources directory name based on a locale specification. |
