i18n fixes
This commit is contained in:
parent
408d8e4f3b
commit
743f7548e0
11 changed files with 20 additions and 27 deletions
|
@ -1,3 +1,4 @@
|
|||
add_definitions(-DTRANSLATION_DOMAIN="kdeconnect-fileitemaction")
|
||||
include_directories(${CMAKE_SOURCE_DIR})
|
||||
|
||||
add_library(kdeconnectfiletiemaction MODULE sendfileitemaction.cpp)
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
$XGETTEXT `find . -name '*.cpp'` -o $podir/kdeconnect-filetiemaction.pot
|
||||
$XGETTEXT `find . -name '*.cpp'` -o $podir/kdeconnect-fileitemaction.pot
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
add_definitions(-DTRANSLATION_DOMAIN="kdeconnect-kcm")
|
||||
|
||||
include_directories(${CMAKE_CURRENT_BINARY_DIR}
|
||||
${CMAKE_CURRENT_SOURCE_DIR}
|
||||
|
@ -9,7 +10,7 @@ set(kcm_SRCS
|
|||
devicessortproxymodel.cpp
|
||||
)
|
||||
|
||||
qt5_wrap_ui(kcm_SRCS kcm.ui)
|
||||
ki18n_wrap_ui(kcm_SRCS kcm.ui)
|
||||
|
||||
add_library(kcm_kdeconnect MODULE ${kcm_SRCS})
|
||||
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
include_directories(${CMAKE_SOURCE_DIR})
|
||||
add_definitions(-DTRANSLATION_DOMAIN="kdeconnect-kded")
|
||||
|
||||
configure_file(config-kded.h.cmake ${CMAKE_CURRENT_BINARY_DIR}/config-kded.h)
|
||||
|
||||
|
@ -15,4 +16,3 @@ install(FILES kdeconnect.desktop DESTINATION ${SERVICES_INSTALL_DIR}/kded)
|
|||
|
||||
#TODO: Split this into several files for core and for each plugin
|
||||
install(FILES kdeconnect.notifyrc DESTINATION ${DATA_INSTALL_DIR}/kdeconnect)
|
||||
|
||||
|
|
|
@ -60,13 +60,13 @@ void initializeTermHandlers(QCoreApplication* app, Daemon* daemon)
|
|||
int main(int argc, char* argv[])
|
||||
{
|
||||
K4AboutData aboutData("kdeconnect", "kdeconnect-kded",
|
||||
ki18n("kdeconnect"),
|
||||
"0.1",
|
||||
ki18n("Connect your devices and KDE"),
|
||||
K4AboutData::License_GPL,
|
||||
KLocalizedString(),
|
||||
KLocalizedString(),
|
||||
"http://albertvaka.wordpress.com");
|
||||
ki18n("kdeconnect"),
|
||||
"0.1",
|
||||
ki18n("Connect your devices and KDE"),
|
||||
K4AboutData::License_GPL,
|
||||
KLocalizedString(),
|
||||
KLocalizedString(),
|
||||
"http://albertvaka.wordpress.com");
|
||||
|
||||
aboutData.setOrganizationDomain("kde.org");
|
||||
|
||||
|
@ -84,13 +84,3 @@ int main(int argc, char* argv[])
|
|||
|
||||
return app.exec();
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
include_directories(${CMAKE_SOURCE_DIR})
|
||||
add_definitions(-DTRANSLATION_DOMAIN="kdeconnect-kio")
|
||||
|
||||
set(kio_kdeconnect_PART_SRCS
|
||||
kiokdeconnect.cpp
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
#.qml
|
||||
$XGETTEXT `find package -name '*.qml'` -L Java -o $podir/plasma_applet_kdeconnect.pot
|
||||
$XGETTEXT `find package -name '*.qml'` -L Java -o $podir/plasma_applet_org.kde.kdeconnect.pot
|
||||
|
|
|
@ -16,7 +16,7 @@ install(FILES kdeconnect_pausemusic.desktop DESTINATION ${SERVICES_INSTALL_DIR}
|
|||
# Config
|
||||
|
||||
set( kdeconnect_pausemusic_config_SRCS pausemusic_config.cpp )
|
||||
qt5_wrap_ui( kdeconnect_pausemusic_config_SRCS pausemusic_config.ui )
|
||||
ki18n_wrap_ui( kdeconnect_pausemusic_config_SRCS pausemusic_config.ui )
|
||||
|
||||
add_library(kdeconnect_pausemusic_config MODULE ${kdeconnect_pausemusic_config_SRCS} )
|
||||
target_link_libraries( kdeconnect_pausemusic_config
|
||||
|
|
|
@ -24,7 +24,7 @@ generate_and_install_dbus_interface(
|
|||
# Config
|
||||
|
||||
set( kdeconnect_sftp_config_SRCS sftp_config.cpp )
|
||||
qt5_wrap_ui( kdeconnect_sftp_config_SRCS sftp_config.ui )
|
||||
ki18n_wrap_ui( kdeconnect_sftp_config_SRCS sftp_config.ui )
|
||||
|
||||
add_library(kdeconnect_sftp_config MODULE ${kdeconnect_sftp_config_SRCS} )
|
||||
target_link_libraries( kdeconnect_sftp_config
|
||||
|
|
|
@ -15,7 +15,7 @@ install(FILES kdeconnect_share.desktop DESTINATION ${SERVICES_INSTALL_DIR} )
|
|||
# Config
|
||||
|
||||
set( kdeconnect_share_config_SRCS share_config.cpp )
|
||||
qt5_wrap_ui( kdeconnect_share_config_SRCS share_config.ui )
|
||||
ki18n_wrap_ui( kdeconnect_share_config_SRCS share_config.ui )
|
||||
|
||||
add_library(kdeconnect_share_config MODULE ${kdeconnect_share_config_SRCS} )
|
||||
target_link_libraries( kdeconnect_share_config
|
||||
|
|
|
@ -50,7 +50,7 @@
|
|||
<item>
|
||||
<widget class="QLabel" name="label_2">
|
||||
<property name="text">
|
||||
<string>%1 in the path will be replaced with the specific device name.</string>
|
||||
<string>%1 in the path will be replaced with the specific device name.</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
|
@ -75,7 +75,7 @@
|
|||
<customwidgets>
|
||||
<customwidget>
|
||||
<class>KUrlRequester</class>
|
||||
<extends>QFrame</extends>
|
||||
<extends>QWidget</extends>
|
||||
<header>kurlrequester.h</header>
|
||||
</customwidget>
|
||||
</customwidgets>
|
||||
|
|
Loading…
Reference in a new issue