diff options
| author | Carl Hetherington <cth@carlh.net> | 2025-07-09 17:25:30 +0200 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2025-07-09 21:29:58 +0200 |
| commit | 22821a13fc485a3d54dba25e796c1489deac59ad (patch) | |
| tree | d53b03a23af5b2ef48780da3b9996103c70db815 | |
| parent | dd54375bea8df7c3a2a3a6347a88f00b56d99364 (diff) | |
Replace String::compose with fmt (with i18n).
| -rw-r--r-- | src/lib/job.cc | 2 | ||||
| -rw-r--r-- | src/lib/po/cs_CZ.po | 4 | ||||
| -rw-r--r-- | src/lib/po/da_DK.po | 4 | ||||
| -rw-r--r-- | src/lib/po/de_DE.po | 4 | ||||
| -rw-r--r-- | src/lib/po/es_ES.po | 4 | ||||
| -rw-r--r-- | src/lib/po/fa_IR.po | 4 | ||||
| -rw-r--r-- | src/lib/po/fr_FR.po | 4 | ||||
| -rw-r--r-- | src/lib/po/hu_HU.po | 4 | ||||
| -rw-r--r-- | src/lib/po/it_IT.po | 4 | ||||
| -rw-r--r-- | src/lib/po/nl_NL.po | 4 | ||||
| -rw-r--r-- | src/lib/po/pl_PL.po | 4 | ||||
| -rw-r--r-- | src/lib/po/pt_BR.po | 4 | ||||
| -rw-r--r-- | src/lib/po/pt_PT.po | 4 | ||||
| -rw-r--r-- | src/lib/po/ru_RU.po | 4 | ||||
| -rw-r--r-- | src/lib/po/sk_SK.po | 4 | ||||
| -rw-r--r-- | src/lib/po/sl_SI.po | 4 | ||||
| -rw-r--r-- | src/lib/po/sv_SE.po | 4 | ||||
| -rw-r--r-- | src/lib/po/tr_TR.po | 2 | ||||
| -rw-r--r-- | src/lib/po/uk_UA.po | 4 | ||||
| -rw-r--r-- | src/lib/po/zh_CN.po | 4 |
20 files changed, 38 insertions, 38 deletions
diff --git a/src/lib/job.cc b/src/lib/job.cc index 885df5645..8d50c5844 100644 --- a/src/lib/job.cc +++ b/src/lib/job.cc @@ -113,7 +113,7 @@ Job::run_wrapper () } catch (dcp::FileError& e) { - string m = String::compose(_("An error occurred whilst handling the file %1."), e.filename().filename()); + string m = fmt::format(_("An error occurred whilst handling the file {}."), e.filename().filename().string()); try { auto const s = dcp::filesystem::space(e.filename()); diff --git a/src/lib/po/cs_CZ.po b/src/lib/po/cs_CZ.po index 5a277370b..b7c5c4ac6 100644 --- a/src/lib/po/cs_CZ.po +++ b/src/lib/po/cs_CZ.po @@ -331,8 +331,8 @@ msgstr "" "DCP tak, aby měl stejný poměr jako váš obsah." #: src/lib/job.cc:116 -msgid "An error occurred whilst handling the file %1." -msgstr "Vyskytla se chyba při zpracování souboru %1." +msgid "An error occurred whilst handling the file {}." +msgstr "Vyskytla se chyba při zpracování souboru {}." #: src/lib/analyse_audio_job.cc:74 msgid "Analysing audio" diff --git a/src/lib/po/da_DK.po b/src/lib/po/da_DK.po index b1ce5fbb3..b7a37b81f 100644 --- a/src/lib/po/da_DK.po +++ b/src/lib/po/da_DK.po @@ -324,8 +324,8 @@ msgstr "" "størrelsesforhold som dit indhold." #: src/lib/job.cc:116 -msgid "An error occurred whilst handling the file %1." -msgstr "Der skete en fejl, mens der blev arbejdet på filen %1." +msgid "An error occurred whilst handling the file {}." +msgstr "Der skete en fejl, mens der blev arbejdet på filen {}." #: src/lib/analyse_audio_job.cc:74 msgid "Analysing audio" diff --git a/src/lib/po/de_DE.po b/src/lib/po/de_DE.po index dbbbca854..df00cbee1 100644 --- a/src/lib/po/de_DE.po +++ b/src/lib/po/de_DE.po @@ -345,8 +345,8 @@ msgstr "" "DCP-Reiter den DCI Containertyp auf Flat (1.85:1) einstellen." #: src/lib/job.cc:116 -msgid "An error occurred whilst handling the file %1." -msgstr "Beim Bearbeiten der Datei %1 trat ein Fehler auf." +msgid "An error occurred whilst handling the file {}." +msgstr "Beim Bearbeiten der Datei {} trat ein Fehler auf." #: src/lib/analyse_audio_job.cc:74 msgid "Analysing audio" diff --git a/src/lib/po/es_ES.po b/src/lib/po/es_ES.po index f060c5f84..865f761fe 100644 --- a/src/lib/po/es_ES.po +++ b/src/lib/po/es_ES.po @@ -334,8 +334,8 @@ msgstr "" "seleccionar el contenedor DCP en el mismo ratio de aspecto que el contenido." #: src/lib/job.cc:116 -msgid "An error occurred whilst handling the file %1." -msgstr "Ha ocurrido un error con el fichero %1." +msgid "An error occurred whilst handling the file {}." +msgstr "Ha ocurrido un error con el fichero {}." #: src/lib/analyse_audio_job.cc:74 msgid "Analysing audio" diff --git a/src/lib/po/fa_IR.po b/src/lib/po/fa_IR.po index e5826cfef..2ca02e4f4 100644 --- a/src/lib/po/fa_IR.po +++ b/src/lib/po/fa_IR.po @@ -336,8 +336,8 @@ msgstr "" "خود را مشابه با نسبت ابعاد محتوا تغییر دهید." #: src/lib/job.cc:116 -msgid "An error occurred whilst handling the file %1." -msgstr "بروز خطا هنگام دسترسی به فایل %1." +msgid "An error occurred whilst handling the file {}." +msgstr "بروز خطا هنگام دسترسی به فایل {}." #: src/lib/analyse_audio_job.cc:74 msgid "Analysing audio" diff --git a/src/lib/po/fr_FR.po b/src/lib/po/fr_FR.po index c6820d699..1b23d859d 100644 --- a/src/lib/po/fr_FR.po +++ b/src/lib/po/fr_FR.po @@ -335,8 +335,8 @@ msgstr "" "de votre DCP au contenu dans l'onglet \"DCP\", si vous voulez l'éviter." #: src/lib/job.cc:116 -msgid "An error occurred whilst handling the file %1." -msgstr "Une erreur s'est produite lors du traitement du fichier %1." +msgid "An error occurred whilst handling the file {}." +msgstr "Une erreur s'est produite lors du traitement du fichier {}." #: src/lib/analyse_audio_job.cc:74 msgid "Analysing audio" diff --git a/src/lib/po/hu_HU.po b/src/lib/po/hu_HU.po index ab379a896..23d97c076 100644 --- a/src/lib/po/hu_HU.po +++ b/src/lib/po/hu_HU.po @@ -325,8 +325,8 @@ msgstr "" "tartalom." #: src/lib/job.cc:116 -msgid "An error occurred whilst handling the file %1." -msgstr "Hiba a %1 fájl kezelése közben." +msgid "An error occurred whilst handling the file {}." +msgstr "Hiba a {} fájl kezelése közben." #: src/lib/analyse_audio_job.cc:74 msgid "Analysing audio" diff --git a/src/lib/po/it_IT.po b/src/lib/po/it_IT.po index 03533597e..4dd92d4f6 100644 --- a/src/lib/po/it_IT.po +++ b/src/lib/po/it_IT.po @@ -314,8 +314,8 @@ msgstr "" "preferibile impostare il contenitore DCP su Flat (1.85:1) nel tab \"DCP\"." #: src/lib/job.cc:116 -msgid "An error occurred whilst handling the file %1." -msgstr "Errore durante l'elaborazione del file %1." +msgid "An error occurred whilst handling the file {}." +msgstr "Errore durante l'elaborazione del file {}." #: src/lib/analyse_audio_job.cc:74 #, fuzzy diff --git a/src/lib/po/nl_NL.po b/src/lib/po/nl_NL.po index 496cd713b..6f3b74559 100644 --- a/src/lib/po/nl_NL.po +++ b/src/lib/po/nl_NL.po @@ -337,8 +337,8 @@ msgstr "" "beeldverhouding als uw content in te stellen." #: src/lib/job.cc:116 -msgid "An error occurred whilst handling the file %1." -msgstr "Er is een fout opgetreden bij de verwerking van bestand %1." +msgid "An error occurred whilst handling the file {}." +msgstr "Er is een fout opgetreden bij de verwerking van bestand {}." #: src/lib/analyse_audio_job.cc:74 msgid "Analysing audio" diff --git a/src/lib/po/pl_PL.po b/src/lib/po/pl_PL.po index 6ab70213f..33378ed65 100644 --- a/src/lib/po/pl_PL.po +++ b/src/lib/po/pl_PL.po @@ -342,8 +342,8 @@ msgstr "" "kontener DCP na Flat (1.85:1) w zakładce \"DCP\"." #: src/lib/job.cc:116 -msgid "An error occurred whilst handling the file %1." -msgstr "Wystąpił błąd podczas przetwarzania pliku %1." +msgid "An error occurred whilst handling the file {}." +msgstr "Wystąpił błąd podczas przetwarzania pliku {}." #: src/lib/analyse_audio_job.cc:74 msgid "Analysing audio" diff --git a/src/lib/po/pt_BR.po b/src/lib/po/pt_BR.po index 53ab66026..033eaf149 100644 --- a/src/lib/po/pt_BR.po +++ b/src/lib/po/pt_BR.po @@ -315,8 +315,8 @@ msgstr "" "(1.85:1) no tab \"DCP\"." #: src/lib/job.cc:116 -msgid "An error occurred whilst handling the file %1." -msgstr "Ocorreu um erro de processamento com o arquivo %1." +msgid "An error occurred whilst handling the file {}." +msgstr "Ocorreu um erro de processamento com o arquivo {}." #: src/lib/analyse_audio_job.cc:74 #, fuzzy diff --git a/src/lib/po/pt_PT.po b/src/lib/po/pt_PT.po index 12d3471cd..2ae3dcbc4 100644 --- a/src/lib/po/pt_PT.po +++ b/src/lib/po/pt_PT.po @@ -297,8 +297,8 @@ msgid "" msgstr "" #: src/lib/job.cc:116 -msgid "An error occurred whilst handling the file %1." -msgstr "Ocorreu um erro ao manipular o ficheiro %1." +msgid "An error occurred whilst handling the file {}." +msgstr "Ocorreu um erro ao manipular o ficheiro {}." #: src/lib/analyse_audio_job.cc:74 #, fuzzy diff --git a/src/lib/po/ru_RU.po b/src/lib/po/ru_RU.po index f22fcfcb4..7c6d539a6 100644 --- a/src/lib/po/ru_RU.po +++ b/src/lib/po/ru_RU.po @@ -333,8 +333,8 @@ msgstr "" "таким же, как и ваш контент." #: src/lib/job.cc:116 -msgid "An error occurred whilst handling the file %1." -msgstr "Произошла ошибка при обращении к файлу %1." +msgid "An error occurred whilst handling the file {}." +msgstr "Произошла ошибка при обращении к файлу {}." #: src/lib/analyse_audio_job.cc:74 msgid "Analysing audio" diff --git a/src/lib/po/sk_SK.po b/src/lib/po/sk_SK.po index c1bed6477..b0fcc9c40 100644 --- a/src/lib/po/sk_SK.po +++ b/src/lib/po/sk_SK.po @@ -297,8 +297,8 @@ msgid "" msgstr "" #: src/lib/job.cc:116 -msgid "An error occurred whilst handling the file %1." -msgstr "Vyskytla sa chyba počas spracovávania súboru %1." +msgid "An error occurred whilst handling the file {}." +msgstr "Vyskytla sa chyba počas spracovávania súboru {}." #: src/lib/analyse_audio_job.cc:74 #, fuzzy diff --git a/src/lib/po/sl_SI.po b/src/lib/po/sl_SI.po index 25bc0be63..888c92fa2 100644 --- a/src/lib/po/sl_SI.po +++ b/src/lib/po/sl_SI.po @@ -336,8 +336,8 @@ msgstr "" "razmerje kot vaša vsebina." #: src/lib/job.cc:116 -msgid "An error occurred whilst handling the file %1." -msgstr "Pri obravnavi datoteke %1 je prišlo do napake." +msgid "An error occurred whilst handling the file {}." +msgstr "Pri obravnavi datoteke {} je prišlo do napake." #: src/lib/analyse_audio_job.cc:74 msgid "Analysing audio" diff --git a/src/lib/po/sv_SE.po b/src/lib/po/sv_SE.po index 2bbc3fc94..8f2c8d509 100644 --- a/src/lib/po/sv_SE.po +++ b/src/lib/po/sv_SE.po @@ -337,8 +337,8 @@ msgstr "" "behållare med samma bildformat som källmaterialet." #: src/lib/job.cc:116 -msgid "An error occurred whilst handling the file %1." -msgstr "Ett fel inträffade vid hantering av filen %1." +msgid "An error occurred whilst handling the file {}." +msgstr "Ett fel inträffade vid hantering av filen {}." #: src/lib/analyse_audio_job.cc:74 msgid "Analysing audio" diff --git a/src/lib/po/tr_TR.po b/src/lib/po/tr_TR.po index 90627baa3..8f8402496 100644 --- a/src/lib/po/tr_TR.po +++ b/src/lib/po/tr_TR.po @@ -275,7 +275,7 @@ msgid "" msgstr "" #: src/lib/job.cc:116 -msgid "An error occurred whilst handling the file %1." +msgid "An error occurred whilst handling the file {}." msgstr "" #: src/lib/analyse_audio_job.cc:74 diff --git a/src/lib/po/uk_UA.po b/src/lib/po/uk_UA.po index c6179199f..e94528fcc 100644 --- a/src/lib/po/uk_UA.po +++ b/src/lib/po/uk_UA.po @@ -311,8 +311,8 @@ msgstr "" "(1.85:1) на вкладці \"DCP\"." #: src/lib/job.cc:116 -msgid "An error occurred whilst handling the file %1." -msgstr "Виникла помилка при зверненні до файлу %1." +msgid "An error occurred whilst handling the file {}." +msgstr "Виникла помилка при зверненні до файлу {}." #: src/lib/analyse_audio_job.cc:74 #, fuzzy diff --git a/src/lib/po/zh_CN.po b/src/lib/po/zh_CN.po index e477404ee..c1d930ec3 100644 --- a/src/lib/po/zh_CN.po +++ b/src/lib/po/zh_CN.po @@ -322,8 +322,8 @@ msgstr "" "画面在放映时存在左右黑边。建议把DCP容器设置为与素材相同宽高比的模式。" #: src/lib/job.cc:116 -msgid "An error occurred whilst handling the file %1." -msgstr "处理文件 %1 时发生错误。" +msgid "An error occurred whilst handling the file {}." +msgstr "处理文件 {} 时发生错误。" #: src/lib/analyse_audio_job.cc:74 msgid "Analysing audio" |
