new meeting erase title hint #LINQT-1966

This commit is contained in:
Gaelle Braud 2025-09-02 15:25:22 +02:00
parent a406bac4a9
commit 3c85d25dfc
5 changed files with 27 additions and 20 deletions

View file

@ -3931,25 +3931,25 @@ Error</extracomment>
<translation>Webinar</translation>
</message>
<message>
<location filename="../../view/Page/Form/Meeting/MeetingForm.qml" line="74"/>
<location filename="../../view/Page/Form/Meeting/MeetingForm.qml" line="77"/>
<source>meeting_schedule_subject_hint</source>
<extracomment>&quot;Ajouter un titre&quot;</extracomment>
<translation>Titel hinzufügen</translation>
</message>
<message>
<location filename="../../view/Page/Form/Meeting/MeetingForm.qml" line="220"/>
<location filename="../../view/Page/Form/Meeting/MeetingForm.qml" line="224"/>
<source>meeting_schedule_description_hint</source>
<extracomment>&quot;Ajouter une description&quot;</extracomment>
<translation>Beschreibung hinzufügen</translation>
</message>
<message>
<location filename="../../view/Page/Form/Meeting/MeetingForm.qml" line="270"/>
<location filename="../../view/Page/Form/Meeting/MeetingForm.qml" line="274"/>
<source>meeting_schedule_add_participants_title</source>
<extracomment>&quot;Ajouter des participants&quot;</extracomment>
<translation>Teilnehmer hinzufügen</translation>
</message>
<message>
<location filename="../../view/Page/Form/Meeting/MeetingForm.qml" line="325"/>
<location filename="../../view/Page/Form/Meeting/MeetingForm.qml" line="329"/>
<source>meeting_schedule_send_invitations_title</source>
<extracomment>&quot;Envoyer une invitation aux participants&quot;</extracomment>
<translation>Einladung an Teilnehmer senden</translation>
@ -3958,13 +3958,13 @@ Error</extracomment>
<context>
<name>MeetingListView</name>
<message>
<location filename="../../view/Control/Display/Meeting/MeetingListView.qml" line="273"/>
<location filename="../../view/Control/Display/Meeting/MeetingListView.qml" line="276"/>
<source>meeting_info_cancelled</source>
<extracomment>&quot;Réunion annulée&quot;</extracomment>
<translation>Besprechung abgesagt</translation>
</message>
<message>
<location filename="../../view/Control/Display/Meeting/MeetingListView.qml" line="297"/>
<location filename="../../view/Control/Display/Meeting/MeetingListView.qml" line="300"/>
<source>meetings_list_no_meeting_for_today</source>
<extracomment>&quot;Aucune réunion aujourd&apos;hui&quot;</extracomment>
<translation>Heute keine Besprechungen</translation>

View file

@ -3841,25 +3841,25 @@ Expiration : %1</translation>
<translation>Webinar</translation>
</message>
<message>
<location filename="../../view/Page/Form/Meeting/MeetingForm.qml" line="74"/>
<location filename="../../view/Page/Form/Meeting/MeetingForm.qml" line="77"/>
<source>meeting_schedule_subject_hint</source>
<extracomment>&quot;Ajouter un titre&quot;</extracomment>
<translation>Add a title</translation>
</message>
<message>
<location filename="../../view/Page/Form/Meeting/MeetingForm.qml" line="220"/>
<location filename="../../view/Page/Form/Meeting/MeetingForm.qml" line="224"/>
<source>meeting_schedule_description_hint</source>
<extracomment>&quot;Ajouter une description&quot;</extracomment>
<translation>Add a description</translation>
</message>
<message>
<location filename="../../view/Page/Form/Meeting/MeetingForm.qml" line="270"/>
<location filename="../../view/Page/Form/Meeting/MeetingForm.qml" line="274"/>
<source>meeting_schedule_add_participants_title</source>
<extracomment>&quot;Ajouter des participants&quot;</extracomment>
<translation>Add participants</translation>
</message>
<message>
<location filename="../../view/Page/Form/Meeting/MeetingForm.qml" line="325"/>
<location filename="../../view/Page/Form/Meeting/MeetingForm.qml" line="329"/>
<source>meeting_schedule_send_invitations_title</source>
<extracomment>&quot;Envoyer une invitation aux participants&quot;</extracomment>
<translation>Send an invitation to participants</translation>
@ -3868,13 +3868,13 @@ Expiration : %1</translation>
<context>
<name>MeetingListView</name>
<message>
<location filename="../../view/Control/Display/Meeting/MeetingListView.qml" line="273"/>
<location filename="../../view/Control/Display/Meeting/MeetingListView.qml" line="276"/>
<source>meeting_info_cancelled</source>
<extracomment>&quot;Réunion annulée&quot;</extracomment>
<translation>Meeting canceled</translation>
</message>
<message>
<location filename="../../view/Control/Display/Meeting/MeetingListView.qml" line="297"/>
<location filename="../../view/Control/Display/Meeting/MeetingListView.qml" line="300"/>
<source>meetings_list_no_meeting_for_today</source>
<extracomment>&quot;Aucune réunion aujourd&apos;hui&quot;</extracomment>
<translation>No meeting for today</translation>

View file

@ -3841,25 +3841,25 @@ Expiration : %1</translation>
<translation>Webinar</translation>
</message>
<message>
<location filename="../../view/Page/Form/Meeting/MeetingForm.qml" line="74"/>
<location filename="../../view/Page/Form/Meeting/MeetingForm.qml" line="77"/>
<source>meeting_schedule_subject_hint</source>
<extracomment>&quot;Ajouter un titre&quot;</extracomment>
<translation>Ajouter un titre</translation>
</message>
<message>
<location filename="../../view/Page/Form/Meeting/MeetingForm.qml" line="220"/>
<location filename="../../view/Page/Form/Meeting/MeetingForm.qml" line="224"/>
<source>meeting_schedule_description_hint</source>
<extracomment>&quot;Ajouter une description&quot;</extracomment>
<translation>Ajouter une description</translation>
</message>
<message>
<location filename="../../view/Page/Form/Meeting/MeetingForm.qml" line="270"/>
<location filename="../../view/Page/Form/Meeting/MeetingForm.qml" line="274"/>
<source>meeting_schedule_add_participants_title</source>
<extracomment>&quot;Ajouter des participants&quot;</extracomment>
<translation>Ajouter des participants</translation>
</message>
<message>
<location filename="../../view/Page/Form/Meeting/MeetingForm.qml" line="325"/>
<location filename="../../view/Page/Form/Meeting/MeetingForm.qml" line="329"/>
<source>meeting_schedule_send_invitations_title</source>
<extracomment>&quot;Envoyer une invitation aux participants&quot;</extracomment>
<translation>Envoyer une invitation aux participants</translation>
@ -3868,13 +3868,13 @@ Expiration : %1</translation>
<context>
<name>MeetingListView</name>
<message>
<location filename="../../view/Control/Display/Meeting/MeetingListView.qml" line="273"/>
<location filename="../../view/Control/Display/Meeting/MeetingListView.qml" line="276"/>
<source>meeting_info_cancelled</source>
<extracomment>&quot;Réunion annulée&quot;</extracomment>
<translation>Réunion annulée</translation>
</message>
<message>
<location filename="../../view/Control/Display/Meeting/MeetingListView.qml" line="297"/>
<location filename="../../view/Control/Display/Meeting/MeetingListView.qml" line="300"/>
<source>meetings_list_no_meeting_for_today</source>
<extracomment>&quot;Aucune réunion aujourd&apos;hui&quot;</extracomment>
<translation>Aucune réunion aujourd&apos;hui</translation>

View file

@ -89,6 +89,9 @@ ListView {
}
}
// Let some space for better UI
footer: Item{height: Math.round(38 * DefaultStyle.dp)}
model: ConferenceInfoProxy {
id: confInfoProxy
filterText: searchBarText

View file

@ -64,15 +64,19 @@ FocusScope {
EffectImage {
imageSource: AppIcons.usersThree
colorizationColor: DefaultStyle.main2_600
width: Math.round(24 * DefaultStyle.dp)
height: Math.round(24 * DefaultStyle.dp)
Layout.preferredWidth: Math.round(24 * DefaultStyle.dp)
Layout.preferredHeight: Math.round(24 * DefaultStyle.dp)
}
TextInput {
id: confTitle
Layout.fillWidth: true
maximumLength: width
//: "Ajouter un titre"
property string defaultText: qsTr("meeting_schedule_subject_hint")
text: conferenceInfoGui.core.subject ? conferenceInfoGui.core.subject : defaultText
Component.onCompleted: text = defaultText
text: conferenceInfoGui.core.subject ? conferenceInfoGui.core.subject : ""
color: DefaultStyle.main2_600
font {
pixelSize: Math.round(20 * DefaultStyle.dp)
@ -83,7 +87,7 @@ FocusScope {
if (text == defaultText)
clear()
else selectAll()
}
} else if (text.length === 0) text = defaultText
onTextEdited: mainItem.conferenceInfoGui.core.subject = text
KeyNavigation.down: startDate
}