Skip to content

Commit

Permalink
Fix the translation template version number (5->6)
Browse files Browse the repository at this point in the history
KF5 and KF6 must be co-installable, so change the major version
number which is part of the translation template name.
  • Loading branch information
tosky committed Mar 17, 2023
1 parent c85c33c commit 753fc58
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ ecm_set_disabled_deprecation_versions(
KF 5.102
)

add_definitions(-DTRANSLATION_DOMAIN=\"kfilemetadata5\")
add_definitions(-DTRANSLATION_DOMAIN=\"kfilemetadata6\")
add_subdirectory(src)
if (BUILD_TESTING)
add_subdirectory(autotests)
Expand Down
2 changes: 1 addition & 1 deletion Messages.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!bin/sh

$EXTRACTRC `find . -name \*.rc -o -name \*.ui -o -name \*.kcfg` >> rc.cpp
$XGETTEXT `find . -name \*.cc -o -name \*.cpp -o -name \*.h -o -name \*.qml` -o $podir/kfilemetadata5.pot
$XGETTEXT `find . -name \*.cc -o -name \*.cpp -o -name \*.h -o -name \*.qml` -o $podir/kfilemetadata6.pot
rm -f rc.cpp

0 comments on commit 753fc58

Please sign in to comment.