Annotation of /trunk/avidemux/patches/avidemux-2.4.1-i18n.patch
Parent Directory | Revision Log
Revision 572 -
(hide annotations)
(download)
Sun Apr 20 17:45:39 2008 UTC (16 years, 5 months ago) by niro
File size: 1676 byte(s)
Sun Apr 20 17:45:39 2008 UTC (16 years, 5 months ago) by niro
File size: 1676 byte(s)
-fixes install location of i18n files
1 | niro | 572 | diff -ur avidemux_2.4.orig/avidemux/ADM_userInterfaces/ADM_QT4/ui_support.cpp avidemux_2.4/avidemux/ADM_userInterfaces/ADM_QT4/ui_support.cpp |
2 | --- avidemux_2.4.orig/avidemux/ADM_userInterfaces/ADM_QT4/ui_support.cpp 2007-10-16 21:23:21.000000000 +0300 | ||
3 | +++ avidemux_2.4/avidemux/ADM_userInterfaces/ADM_QT4/ui_support.cpp 2007-12-28 20:35:30.000000000 +0200 | ||
4 | @@ -53,7 +53,7 @@ | ||
5 | { | ||
6 | printf("\n[Locale] Locale: %s\n", QLocale::system().name().toUtf8().constData()); | ||
7 | |||
8 | - QString appdir = QCoreApplication::applicationDirPath() + "/i18n/"; | ||
9 | + QString appdir = "/usr/share/avidemux/i18n/"; | ||
10 | |||
11 | loadTranslation(&qtTranslator, appdir + "qt_" + QLocale::system().name()); | ||
12 | loadTranslation(&avidemuxTranslator, appdir + "avidemux_" + QLocale::system().name()); | ||
13 | diff -ur avidemux_2.4.orig/cmake/Ts.cmake avidemux_2.4/cmake/Ts.cmake | ||
14 | --- avidemux_2.4.orig/cmake/Ts.cmake 2007-10-14 14:58:28.000000000 +0300 | ||
15 | +++ avidemux_2.4/cmake/Ts.cmake 2007-12-28 20:36:05.000000000 +0200 | ||
16 | @@ -63,7 +63,7 @@ | ||
17 | |||
18 | SET(qm_files ${qm_files} ${_outXml} ${_out}) | ||
19 | |||
20 | - INSTALL(FILES ${_out} DESTINATION "${CMAKE_INSTALL_PREFIX}/bin/i18n") | ||
21 | + INSTALL(FILES ${_out} DESTINATION "${CMAKE_INSTALL_PREFIX}/share/avidemux/i18n") | ||
22 | ENDFOREACH(ts_input ${ts_files}) | ||
23 | |||
24 | SET(${_sources} ${${_sources}} ${qm_files}) | ||
25 | @@ -94,7 +94,7 @@ | ||
26 | |||
27 | SET(qm_files ${qm_files} ${_out}) | ||
28 | |||
29 | - INSTALL(FILES ${_out} DESTINATION "${CMAKE_INSTALL_PREFIX}/bin/i18n") | ||
30 | + INSTALL(FILES ${_out} DESTINATION "${CMAKE_INSTALL_PREFIX}/share/avidemux/i18n") | ||
31 | ENDFOREACH(ts_input ${ts_files}) | ||
32 | |||
33 | SET(${_sources} ${${_sources}} ${qm_files}) |