This is an adapted version of:

https://bugs.gentoo.org/909201
upstream fix: https://github.com/audacity/audacity/pull/4866

--- a/locale/be.po
+++ b/locale/be.po
@@ -3097,7 +3097,7 @@
 #: src/FileFormats.cpp
 #, c-format
 msgid "Error (file may not have been written): %s"
-msgstr "Памылка (магчыма, файл не запісаны): %hs"
+msgstr "Памылка (магчыма, файл не запісаны): %s"
 
 #: src/FileFormats.cpp
 #, fuzzy
--- a/locale/fa.po
+++ b/locale/fa.po
@@ -3053,7 +3053,7 @@
 #: src/FileFormats.cpp
 #, c-format
 msgid "Error (file may not have been written): %s"
-msgstr "خطا (ممکن است در پرونده نوشته شده باشد) : %hs"
+msgstr "خطا (ممکن است در پرونده نوشته شده باشد) : %s"
 
 #: src/FileFormats.cpp
 msgid "&Copy uncompressed files into the project (safer)"
