diff options
Diffstat (limited to 'media-video/avidemux/files/avidemux-2.4_pre3-i18n.patch')
-rw-r--r-- | media-video/avidemux/files/avidemux-2.4_pre3-i18n.patch | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/media-video/avidemux/files/avidemux-2.4_pre3-i18n.patch b/media-video/avidemux/files/avidemux-2.4_pre3-i18n.patch new file mode 100644 index 000000000000..e65e414242b6 --- /dev/null +++ b/media-video/avidemux/files/avidemux-2.4_pre3-i18n.patch @@ -0,0 +1,33 @@ +diff -ur avidemux_2.4_preview3.orig/avidemux/ADM_userInterfaces/ADM_QT4/ui_support.cpp avidemux_2.4_preview3/avidemux/ADM_userInterfaces/ADM_QT4/ui_support.cpp +--- avidemux_2.4_preview3.orig/avidemux/ADM_userInterfaces/ADM_QT4/ui_support.cpp 2007-10-16 21:23:21.000000000 +0300 ++++ avidemux_2.4_preview3/avidemux/ADM_userInterfaces/ADM_QT4/ui_support.cpp 2007-11-30 23:25:31.000000000 +0200 +@@ -53,7 +53,7 @@ + {
+ printf("\n[Locale] Locale: %s\n", QLocale::system().name().toUtf8().constData());
+
+- QString appdir = QCoreApplication::applicationDirPath() + "/i18n/";
++ QString appdir = "/usr/share/avidemux/i18n/";
+
+ loadTranslation(&qtTranslator, appdir + "qt_" + QLocale::system().name());
+ loadTranslation(&avidemuxTranslator, appdir + "avidemux_" + QLocale::system().name());
+diff -ur avidemux_2.4_preview3.orig/cmake/Ts.cmake avidemux_2.4_preview3/cmake/Ts.cmake +--- avidemux_2.4_preview3.orig/cmake/Ts.cmake 2007-10-14 14:58:28.000000000 +0300 ++++ avidemux_2.4_preview3/cmake/Ts.cmake 2007-11-30 23:26:38.000000000 +0200 +@@ -63,7 +63,7 @@ +
+ SET(qm_files ${qm_files} ${_outXml} ${_out})
+
+- INSTALL(FILES ${_out} DESTINATION "${CMAKE_INSTALL_PREFIX}/bin/i18n")
++ INSTALL(FILES ${_out} DESTINATION "${CMAKE_INSTALL_PREFIX}/share/avidemux/i18n")
+ ENDFOREACH(ts_input ${ts_files})
+
+ SET(${_sources} ${${_sources}} ${qm_files})
+@@ -94,7 +94,7 @@ +
+ SET(qm_files ${qm_files} ${_out})
+
+- INSTALL(FILES ${_out} DESTINATION "${CMAKE_INSTALL_PREFIX}/bin/i18n")
++ INSTALL(FILES ${_out} DESTINATION "${CMAKE_INSTALL_PREFIX}/share/avidemux/i18n")
+ ENDFOREACH(ts_input ${ts_files})
+
+ SET(${_sources} ${${_sources}} ${qm_files})
|