Commit 4af9276b authored by Laurent Montel's avatar Laurent Montel 😁

Allow to translate string

parent f3efad4c
add_definitions (-DTRANSLATION_DOMAIN=\"pimeventsplugin\")
if (BUILD_TESTING)
add_subdirectory(autotests)
endif()
......
#! /usr/bin/env bash
$XGETTEXT *.qml -o $podir/pimeventsplugin.pot
......@@ -59,14 +59,14 @@ Item {
TableViewColumn {
role: "data"
title: "Select Calendars";
title: qsTr("Select Calendars");
delegate: Item {
CheckBox {
id: checkbox
visible: styleData.value["enabled"]
checked: styleData.value["checked"]
onCheckedChanged: {
if (checked == styleData.value["checked"]) {
if (checked === styleData.value["checked"]) {
return;
}
calendarModel.setChecked(styleData.value["id"], checked);
......
Markdown is supported
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