X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Flib%2Futil.cc;h=06da94294e4b8fe877d155c9c9158dedd73c7a29;hb=d62877ae6c4e316e43f4052e4b9ba673610012cf;hp=760b826c7649cc18cc20462bf07773c459412897;hpb=263eee639546964aaa57f5d2d3b24008ecfe8adb;p=dcpomatic.git diff --git a/src/lib/util.cc b/src/lib/util.cc index 760b826c7..06da94294 100644 --- a/src/lib/util.cc +++ b/src/lib/util.cc @@ -301,6 +301,7 @@ dvdomatic_setup_i18n (string lang) #ifdef DVDOMATIC_WINDOWS bindtextdomain ("libdvdomatic", mo_path().string().c_str()); + bind_textdomain_codeset ("libdvdomatic", "UTF8"); #endif #ifdef DVDOMATIC_POSIX @@ -971,7 +972,7 @@ FrameRateConversion::FrameRateConversion (float source, int dcp) if (change_speed) { float const pc = dcp * 100 / (source * factor()); - description += String::compose (_("DCP will run at %1%% of the source speed."), pc); + description += String::compose (_("DCP will run at %1%% of the source speed.\n"), pc); } } }