i18n fixes

This commit is contained in:
Lukáš Tinkl 2014-09-08 03:09:18 +02:00
parent 408d8e4f3b
commit 743f7548e0
11 changed files with 20 additions and 27 deletions

View file

@ -1,3 +1,4 @@
add_definitions(-DTRANSLATION_DOMAIN="kdeconnect-fileitemaction")
include_directories(${CMAKE_SOURCE_DIR})
add_library(kdeconnectfiletiemaction MODULE sendfileitemaction.cpp)

View file

@ -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

View file

@ -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})

View file

@ -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)

View file

@ -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();
}

View file

@ -1,4 +1,5 @@
include_directories(${CMAKE_SOURCE_DIR})
add_definitions(-DTRANSLATION_DOMAIN="kdeconnect-kio")
set(kio_kdeconnect_PART_SRCS
kiokdeconnect.cpp

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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>