Skip to content
Browse files

Add translation support for qtconfig entry

  • Loading branch information...
1 parent e2cb4ac commit 08cefd8fa6382885dcb754f182fc5f4a106f836b @amoskvin amoskvin committed Oct 28, 2012
View
9 razorqt-config/razor-config-qtconfig/CMakeLists.txt
@@ -1,5 +1,12 @@
project(razor-config-qtconfig)
-set(DESKTOP_FILES ${PROJECT_NAME}.desktop)
+# Translations **********************************
+include(RazorTranslate)
+razor_translate_desktop(DESKTOP_FILES
+ SOURCES
+ ${PROJECT_NAME}.desktop.in
+)
+
+add_custom_target(${PROJECT_NAME} ALL DEPENDS ${DESKTOP_FILES})
install(FILES ${DESKTOP_FILES} DESTINATION ${CMAKE_INSTALL_PREFIX}/share/applications)
View
0 ...ig-qtconfig/razor-config-qtconfig.desktop → ...qtconfig/razor-config-qtconfig.desktop.in
File renamed without changes.

1 comment on commit 08cefd8

@mckaygerhard

the qtconfig app only affects to qt, gtk and kde dialogs are appart..

i see that qt can integrate by mading a plugin.. the trinity proyect made own plugin for qt dialogs, so maybe its a good idea to make own razorqt dialog, but not so different from kde or gtk, for better not confusing users..

Please sign in to comment.
Something went wrong with that request. Please try again.