[-]
[+]
|
Changed |
_service:tar_git:harbour-evento.changes
|
|
[-]
[+]
|
Changed |
_service:tar_git:harbour-evento.spec
^
|
|
[-]
[+]
|
Changed |
_service
^
|
@@ -2,7 +2,7 @@
<service name="tar_git">
<param name="url">https://github.com/black-sheep-dev/harbour-evento.git</param>
<param name="branch"></param>
- <param name="revision"> 32b5a5c</param>
+ <param name="revision">0a8216b</param>
<param name="debian">N</param>
<param name="dumb">N</param>
</service>
|
[-]
[+]
|
Changed |
_service:tar_git:harbour-evento-0.1.4.tar.bz2/harbour-evento.pro
^
|
@@ -1,5 +1,5 @@
# VERSION
-VERSION = 0.1.3
+VERSION = 0.1.4
DEFINES += APP_VERSION=\\\"$$VERSION\\\"
TARGET = harbour-evento
|
[-]
[+]
|
Changed |
_service:tar_git:harbour-evento-0.1.4.tar.bz2/qml/cover/CoverPage.qml
^
|
@@ -68,13 +68,28 @@
Label {
anchors {
+ bottom: daysCounter.top
+ bottomMargin: Theme.paddingMedium
+ horizontalCenter: parent.horizontalCenter
+ }
+ font.pixelSize: Theme.fontSizeTiny
+ text: model.remaining > 0 ?
+ //% "Days until"
+ qsTrId("id-days-until") :
+ //% "Days since"
+ qsTrId("id-day-since")
+ }
+
+ Label {
+ id: daysCounter
+ anchors {
horizontalCenter: parent.horizontalCenter
bottom: parent.bottom
}
//: "Unit of days"
//% "d"
- text: (model.remaining > 0 ? model.remaining : 0)+ " " + qsTrId("id-days-unit")
+ text: Math.abs(model.remaining) + " " + qsTrId("id-days-unit")
font.pixelSize: Theme.fontSizeExtraLarge
font.bold: true
}
|
[-]
[+]
|
Changed |
_service:tar_git:harbour-evento-0.1.4.tar.bz2/qml/dialogs/EditEventDialog.qml
^
|
@@ -8,7 +8,7 @@
id: dialog
- canAccept: titleField.text.length > 0 && new Date().getTime() < datePicker.date.getTime()
+ canAccept: titleField.text.length > 0
Column {
width: parent.width
|
[-]
[+]
|
Changed |
_service:tar_git:harbour-evento-0.1.4.tar.bz2/qml/pages/MainPage.qml
^
|
@@ -80,17 +80,21 @@
}
}
- contentHeight: lablesColumn.height + 2*Theme.paddingMedium
+ contentHeight: contentColumn.height + topSeparator.height + 2*Theme.paddingMedium
- Column {
- id: lablesColumn
- anchors {
- left: parent.left
- leftMargin: Theme.horizontalPageMargin
- verticalCenter: parent.verticalCenter
- right: counterLabel.left
- rightMargin: Theme.paddingMedium
- }
+ Separator {
+ id: topSeparator
+ visible: index > 0
+ x: Theme.horizontalPageMargin
+ width: parent.width - 2*x
+ color: Theme.primaryColor
+ }
+
+ Column {
+ id: contentColumn
+ anchors.verticalCenter: parent.verticalCenter
+ x: Theme.horizontalPageMargin
+ width: parent.width - 2*x
spacing: Theme.paddingMedium
@@ -106,23 +110,37 @@
color: delegate.highlighted ? Theme.highlightColor : Theme.secondaryColor
font.pixelSize: Theme.fontSizeExtraSmall
}
- }
- Label {
- id: counterLabel
- anchors {
- right: parent.right
- rightMargin: Theme.horizontalPageMargin
- verticalCenter: parent.verticalCenter
+ Item {
+ width: parent.width
+ height: daysLabel.height + 2*Theme.paddingSmall
+
+ Label {
+ anchors {
+ left: parent.left
+ verticalCenter: parent.verticalCenter
+ }
+ text: model.remaining > 0 ?
+ //% "Days until"
+ qsTrId("id-days-until") :
+ //% "Days since"
+ qsTrId("id-day-since")
+ }
+
+ Label {
+ id: daysLabel
+ anchors {
+ right: parent.right
+ verticalCenter: parent.verticalCenter
+ }
+ font.pixelSize: Theme.fontSizeExtraLarge
+ font.bold: true
+ text: Math.abs(model.remaining) + " "
+ //: "Unit of days"
+ //% "d"
+ + qsTrId("id-days-unit")
+ }
}
- font.pixelSize: Theme.fontSizeExtraLarge
- font.bold: true
-
-
- text: (model.remaining > 0 ? model.remaining : 0)+ " "
- //: "Unit of days"
- //% "d"
- + qsTrId("id-days-unit")
}
}
VerticalScrollDecorator {}
|
[-]
[+]
|
Changed |
_service:tar_git:harbour-evento-0.1.4.tar.bz2/translations/harbour-evento-de.ts
^
|
@@ -140,5 +140,15 @@
<source>Sorting</source>
<translation>Sortierung</translation>
</message>
+ <message id="id-days-until">
+ <source>Days until</source>
+ <oldsource>Day(s) until</oldsource>
+ <translation>Tage bis</translation>
+ </message>
+ <message id="id-day-since">
+ <source>Days since</source>
+ <oldsource>Day(s) since</oldsource>
+ <translation>Tage seit</translation>
+ </message>
</context>
</TS>
|
[-]
[+]
|
Changed |
_service:tar_git:harbour-evento-0.1.4.tar.bz2/translations/harbour-evento.ts
^
|
@@ -144,5 +144,15 @@
<source>Sorting</source>
<translation>Sorting</translation>
</message>
+ <message id="id-days-until">
+ <source>Days until</source>
+ <oldsource>Day(s) until</oldsource>
+ <translation>Days until</translation>
+ </message>
+ <message id="id-day-since">
+ <source>Days since</source>
+ <oldsource>Day(s) since</oldsource>
+ <translation>Days since</translation>
+ </message>
</context>
</TS>
|
[-]
[+]
|
Changed |
_service:tar_git:harbour-evento.yaml
^
|
@@ -1,6 +1,6 @@
Name: harbour-evento
Summary: Evento
-Version: 0.1.3
+Version: 0.1.4
Release: 1
# The contents of the Group field should be one of the groups listed here:
# https://github.com/mer-tools/spectacle/blob/master/data/GROUPS
@@ -18,7 +18,7 @@
PackageName: Evento
Type: desktop-application
Categories:
- - Utils
+ - Utility
Custom:
DescriptionMD: https://github.com/black-sheep-dev/harbour-evento/raw/master/README.md
Repo: https://github.com/black-sheep-dev/harbour-evento/
|