summaryrefslogtreecommitdiffstats
path: root/test/avidemux/avidemux-2.5-i18n.patch
diff options
context:
space:
mode:
authortnut <thierryn1 at hispeed dot ch>2010-05-03 22:29:06 +0200
committertnut <thierryn1 at hispeed dot ch>2010-05-03 22:29:06 +0200
commit0a7d4d3281280fcad93483e479ce585c52f00631 (patch)
tree7b8fce2a59ca8d41e41cd7d942a48dafd47fa7f9 /test/avidemux/avidemux-2.5-i18n.patch
parent0f1f4c72af832acb6763699a84395bf3a650cb7c (diff)
downloadnutyx-extra-0a7d4d3281280fcad93483e479ce585c52f00631.tar.gz
nutyx-extra-0a7d4d3281280fcad93483e479ce585c52f00631.tar.bz2
nutyx-extra-0a7d4d3281280fcad93483e479ce585c52f00631.tar.xz
nutyx-extra-0a7d4d3281280fcad93483e479ce585c52f00631.zip
avidemux dans test
Diffstat (limited to 'test/avidemux/avidemux-2.5-i18n.patch')
-rw-r--r--test/avidemux/avidemux-2.5-i18n.patch40
1 files changed, 40 insertions, 0 deletions
diff --git a/test/avidemux/avidemux-2.5-i18n.patch b/test/avidemux/avidemux-2.5-i18n.patch
new file mode 100644
index 000000000..b36d484fc
--- /dev/null
+++ b/test/avidemux/avidemux-2.5-i18n.patch
@@ -0,0 +1,40 @@
+diff -Naur avidemux_2.5.0.orig/avidemux/ADM_userInterfaces/ADM_QT4/ui_support.cpp avidemux_2.5.0/avidemux/ADM_userInterfaces/ADM_QT4/ui_support.cpp
+--- avidemux_2.5.0.orig/avidemux/ADM_userInterfaces/ADM_QT4/ui_support.cpp 2009-07-11 21:12:49.000000000 -0400
++++ avidemux_2.5.0/avidemux/ADM_userInterfaces/ADM_QT4/ui_support.cpp 2009-07-11 21:14:03.000000000 -0400
+@@ -73,7 +73,7 @@
+ #ifdef __APPLE__
+ QString appdir = QCoreApplication::applicationDirPath() + "/../Resources/locale/";
+ #else
+- QString appdir = QCoreApplication::applicationDirPath() + "/i18n/";
++ QString appdir = "/usr/share/avidemux/i18n/";
+ #endif
+
+ loadTranslation(&qtTranslator, appdir + "qt_" + QLocale::system().name());
+@@ -164,4 +164,4 @@
+ }
+
+ return "Qt";
+-}
+\ No newline at end of file
++}
+diff -Naur avidemux_2.5.0.orig/cmake/Ts.cmake avidemux_2.5.0/cmake/Ts.cmake
+--- avidemux_2.5.0.orig/cmake/Ts.cmake 2009-07-11 21:12:51.000000000 -0400
++++ avidemux_2.5.0/cmake/Ts.cmake 2009-07-11 21:22:34.000000000 -0400
+@@ -64,7 +64,7 @@
+
+ SET(qm_files ${qm_files} ${_outXml} ${_out})
+
+- INSTALL(FILES ${_out} DESTINATION "${CMAKE_INSTALL_PREFIX}/${BIN_DIR}/i18n")
++ INSTALL(FILES ${_out} DESTINATION "${CMAKE_INSTALL_PREFIX}/share/avidemux/i18n")
+ ENDFOREACH(ts_input ${ts_files})
+
+ SET(${_sources} ${${_sources}} ${qm_files})
+@@ -95,7 +95,7 @@
+
+ SET(qm_files ${qm_files} ${_out})
+
+- INSTALL(FILES ${_out} DESTINATION "${CMAKE_INSTALL_PREFIX}/${BIN_DIR}/i18n")
++ INSTALL(FILES ${_out} DESTINATION "${CMAKE_INSTALL_PREFIX}/share/avidemux/i18n")
+ ENDFOREACH(ts_input ${ts_files})
+
+ SET(${_sources} ${${_sources}} ${qm_files})