Commit 702dbb19 authored by Albert Astals Cid's avatar Albert Astals Cid
Browse files

Add missing Messages.sh

And for the 2 static libs define the catalog on compile time so it gets
loaded properly

(cherry picked from commit 07e49ea7)
parent 31e5d593
Pipeline #248982 passed with stage
in 3 minutes and 49 seconds
#! /usr/bin/env bash
$XGETTEXT `find . -name \*.qml` -o $podir/plasma_applet_org.kde.plasma.addons.katesessions.pot
#! /usr/bin/env bash
$XGETTEXT `find . -name \*.qml` -o $podir/plasma_applet_org.kde.plasma.webbrowser.pot
add_library(engine_dict_static STATIC dictengine.cpp)
target_compile_definitions(engine_dict_static PRIVATE -DTRANSLATION_DOMAIN="plasma_addons_engine_dict")
target_link_libraries (engine_dict_static
KF5::I18n
......
#! /usr/bin/env bash
$XGETTEXT *.cpp -o $podir/plasma_addons_engine_dict.pot
add_library(profiles_utility_static STATIC profilesmodel.cpp)
target_compile_definitions(profiles_utility_static PRIVATE -DTRANSLATION_DOMAIN="plasma_addons_profiles_utility")
target_link_libraries(profiles_utility_static PRIVATE Qt::Core KF5::I18n KF5::CoreAddons KF5::ConfigCore KF5::KIOGui)
target_include_directories(profiles_utility_static
PUBLIC "$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}>"
......
#! /usr/bin/env bash
$XGETTEXT *.cpp -o $podir/plasma_addons_profiles_utility.pot
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment