Skip to content

Commit

Permalink
Merge pull request #665 from Kicer86/qml_fix
Browse files Browse the repository at this point in the history
Qml fix
  • Loading branch information
mergify[bot] authored Aug 5, 2024
2 parents bb07376 + 3fb729d commit c874e76
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 9 deletions.
1 change: 1 addition & 0 deletions src/gui/desktop/quick_items/Views/FacesDialog.qml
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,7 @@ Item {

MediaViewCtrl {
id: ctrl
core: PhotoBroomProject.coreFactory
}

FacesModel {
Expand Down
1 change: 1 addition & 0 deletions src/gui/desktop/quick_items/Views/PhotosView.qml
Original file line number Diff line number Diff line change
Expand Up @@ -194,6 +194,7 @@ FocusScope {
var id = gridView.model.getId(index);

photosArea.push(faceRecognitionPage, {"photoID": id});
console.log("Face recognition mode for photo: " + gridView.model.getPhotoPath(index));
}
}

Expand Down
14 changes: 7 additions & 7 deletions tr/photo_broom_en.ts
Original file line number Diff line number Diff line change
Expand Up @@ -210,22 +210,22 @@
<context>
<name>FacesDialog</name>
<message>
<location filename="../src/gui/desktop/quick_items/Views/FacesDialog.qml" line="167"/>
<location filename="../src/gui/desktop/quick_items/Views/FacesDialog.qml" line="168"/>
<source>unknown</source>
<translation>unknown</translation>
</message>
<message>
<location filename="../src/gui/desktop/quick_items/Views/FacesDialog.qml" line="211"/>
<location filename="../src/gui/desktop/quick_items/Views/FacesDialog.qml" line="212"/>
<source>Mark found faces</source>
<translation>Mark found faces</translation>
</message>
<message>
<location filename="../src/gui/desktop/quick_items/Views/FacesDialog.qml" line="224"/>
<location filename="../src/gui/desktop/quick_items/Views/FacesDialog.qml" line="225"/>
<source>Detecting and analyzing faces</source>
<translation>Detecting and analyzing faces</translation>
</message>
<message>
<location filename="../src/gui/desktop/quick_items/Views/FacesDialog.qml" line="224"/>
<location filename="../src/gui/desktop/quick_items/Views/FacesDialog.qml" line="225"/>
<source>Could not detect any face.</source>
<translation>Could not detect any face.</translation>
</message>
Expand Down Expand Up @@ -750,17 +750,17 @@ Error code: %1</source>
<context>
<name>PhotosView</name>
<message>
<location filename="../src/gui/desktop/quick_items/Views/PhotosView.qml" line="209"/>
<location filename="../src/gui/desktop/quick_items/Views/PhotosView.qml" line="210"/>
<source>&lt;b&gt;Properties&lt;/b&gt;</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../src/gui/desktop/quick_items/Views/PhotosView.qml" line="222"/>
<location filename="../src/gui/desktop/quick_items/Views/PhotosView.qml" line="223"/>
<source>&lt;b&gt;Media information&lt;/b&gt;</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../src/gui/desktop/quick_items/Views/PhotosView.qml" line="235"/>
<location filename="../src/gui/desktop/quick_items/Views/PhotosView.qml" line="236"/>
<source>&lt;b&gt;Debug window&lt;/b&gt;</source>
<translation type="unfinished"></translation>
</message>
Expand Down
4 changes: 2 additions & 2 deletions tr/photo_broom_pl.ts
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,7 @@
<context>
<name>FacesDialog</name>
<message>
<location filename="../src/gui/desktop/quick_items/Views/FacesDialog.qml" line="+167"/>
<location filename="../src/gui/desktop/quick_items/Views/FacesDialog.qml" line="+168"/>
<source>unknown</source>
<translation>nieznane</translation>
</message>
Expand Down Expand Up @@ -778,7 +778,7 @@ Kod błędu: %1</translation>
<context>
<name>PhotosView</name>
<message>
<location filename="../src/gui/desktop/quick_items/Views/PhotosView.qml" line="+209"/>
<location filename="../src/gui/desktop/quick_items/Views/PhotosView.qml" line="+210"/>
<source>&lt;b&gt;Properties&lt;/b&gt;</source>
<translation>&lt;b&gt;Właściwości&lt;/b&gt;</translation>
</message>
Expand Down

0 comments on commit c874e76

Please sign in to comment.