[-]
[+]
|
Deleted |
_service:tar_git:harbour-zutun.changes
|
@@ -1,99 +0,0 @@
-# Add new changelog entries following the format below.
-# Add newest entries to the top of the list.
-# Separate entries from eachother with a blank line.
-
-* Tue Apr 02 2019 Michael Fuchs <michfu@gmx.at> 1.8
-- advanced filters (or, not)
-- filter with search field
-- read file only if there are changes
-- option to autoadd creationDate on task creation
-- locale formatted dates for due and completion dates
-- filters on one page
-- list doesnt jump anymore after editing a task
-- gridmenu in taskedit
-- improved file handling and error feedback
-- create file from app
-- some work on cover
-- icon 172x172
-
-* Mon Apr 01 2019 Michael Fuchs <michfu@gmx.at> 1.7.2
-- updated langs: es
-
-* Mon Apr 01 2019 Michael Fuchs <michfu@gmx.at> 1.7.1
-- updated langs: nl, nl_BE, de, sv
-
-* Tue Mar 19 2019 Michael Fuchs <michfu@gmx.at> 1.7
-- cover: background image full size
-- taskedit: enter key bound to accept
-- notification: open app when clicking on notification
-- taskedit: new calendar widget for due:
-- taskedit: insert context/project at cursorposition
-
-* Wed Nov 7 2018 Michael Fuchs <michfu@gmx.at> 1.6
-- quickaction/shortcut added (app must be running)
-
-* Tue Mar 13 2018 Michael Fuchs <michfu@gmx.at> 1.5.1
-- update (some) translations
-- depend on linguist for obs merproject
-
-* Tue Mar 13 2018 Michael Fuchs <michfu@gmx.at> 1.5
-- due: support incl. notifications
-- nl, ru and es translation
-
-* Tue Oct 24 2017 Michael Fuchs <michfu@gmx.at> 1.4.1-1
-- added Readme
-- swedish and german translation
-
-* Sun Oct 22 2017 Michael Fuchs <michfu@gmx.at> 1.4-1
-- native FilePicker
-- cursorposition
-- grouping by projects and contexts
-
-* Thu Jun 22 2017 Michael Fuchs <michfu@gmx.at> 1.3-1
-- FIX doubeled tasks after edit
-- better focus handling and cursor positioning in edit
-
-* Tue Jun 20 2017 Michael Fuchs <michfu@gmx.at> 1.2-1
-- colored projects and contexts in tasklist
-
-* Tue Jun 13 2017 Michael Fuchs <michfu@gmx.at> 1.1-1
-- option for project filter left of tasklist
-- pulldownmenu: first position for add task
-
-* Wed Mar 01 2017 Michael Fuchs <michfu@gmx.at> 1.0-2
-- automatic reload of file, when app or cover catches focus
-- spacing in filters
-
-* Wed Mar 01 2017 Michael Fuchs <michfu@gmx.at> 0.99-2
-- correct todo.txt syntax (swapped priority and completion date fields
-- filepicker
-- sorting
-- a lot of code rewrite
-
-* Tue Jan 03 2017 Michael Fuchs <michfu@gmx.at> 0.5-1
-- reduced space between items
-
-* Mon Oct 24 2016 Michael Fuchs <michfu@gmx.at> 0.4-1
-- Insert priority bug
-
-* Sun Oct 9 2016 Michael Fuchs <michfu@gmx.at> 0.3-1
-- filters: show number of visible items/total items
-- bug in coveraction overwriting first item
-- setting/resetting font size in tasklist
-
-* Tue Sep 20 2016 Michael Fuchs <michfu@gmx.at> 0.2-1
-- slight changes to icon
-- settings text field width corrected
-- cover: icon added
-- save filter settings
-- preview on cover
-- appname in desktop file
-
-* Thu Sep 15 2016 Michael Fuchs <michfu@gmx.at> 0.1-1
-- initial release
-- filter projects, contexts, done items
-- edit items
-- delete items
-- +/- priority
-- paste priority, todays date, project or context
-- set file path for todo.txt file
|
[-]
[+]
|
Changed |
_service:tar_git:harbour-zutun.spec
^
|
|
[-]
[+]
|
Changed |
_service
^
|
@@ -1,8 +1,4 @@
<services>
- <service name="webhook">
- <param name="repourl">https://github.com/fuchsmich/zutun.txt.git</param>
- <param name="branch">devel</param>
- </service>
<service name="tar_git">
<param name="url">https://github.com/fuchsmich/zutun.txt.git</param>
<param name="branch">devel</param>
|
[-]
[+]
|
Deleted |
_service:tar_git:harbour-zutun-1.7.2+devel.20200723061510.179.gd255092.tar.bz2/qml/pages/Settings.qml
^
|
@@ -1,125 +0,0 @@
-import QtQuick 2.0
-import Sailfish.Silica 1.0
-import Sailfish.Pickers 1.0
-//TODO Setting for automatically add creation date
-
-Page {
- id: page
- property string name: "settings"
-
- SilicaFlickable {
- anchors.fill: parent
- contentWidth: parent.width
- contentHeight: col.height + Theme.paddingLarge
-
- VerticalScrollDecorator {}
-
- PullDownMenu {
- MenuItem {
- //: Information on the app: version, author, source code etc.
- text: qsTr("About")
- onClicked: pageStack.push(Qt.resolvedUrl("About.qml"))
- }
- }
-
- Column {
- id: col
- spacing: Theme.paddingMedium
- width: parent.width
- PageHeader {
- //: Page Header for the Settings page
- title: qsTr("Settings")
- }
- SectionHeader {
- //: Section Header for the Files section in Settings page
- text: qsTr("Files")
- }
- TextField {
- id: todoTxtPath
- //x: Theme.horizontalPageMargin
- //: Where - in which folder - is the todo.txt file located?
- label: qsTr("Path to todo.txt")
- text: settings.todoTxtLocation
- width: parent.width - 2*Theme.horizontalPageMargin
- }
- Button {
- anchors.horizontalCenter: parent.horizontalCenter
- //: Button for picking the file
- text: qsTr("Choose file")
- onClicked: pageStack.push(filePickerPage)
- width: Theme.buttonWidthLarge
- }
-
- Component {
- id: filePickerPage
- //TODO how to create new file?
- //TODO start in current folder
- FilePickerPage {
- //: Page Header for the FilePickerPage (called from Button: Choose File)
- title: "todo.txt Location"
- nameFilters: [ '*.txt']
- onSelectedContentPropertiesChanged: {
- //settings.todoTxtLocation = selectedContentProperties.filePath
- todoTxtPath.text = selectedContentProperties.filePath
- }
- }
- }
-
- SectionHeader {
- //: Section Header for the Tasklist section in Settings page
- text: "Tasklist"
- }
- Row {
- width: parent.width
- Slider {
- id: fontSizeSlider
- //x: Theme.horizontalPageMargin
- width: parent.width - x - resetBtn.width
- minimumValue: Theme.fontSizeTiny
- maximumValue: Theme.fontSizeHuge
- value: settings.fontSizeTaskList
- valueText: value
- stepSize: 1
- //: Slide control for font size
- label: qsTr("Fontsize in Tasklist")
- }
- IconButton {
- anchors.verticalCenter: fontSizeSlider.verticalCenter
- id: resetBtn
- icon.source: "image://theme/icon-m-reset"
- onClicked: fontSizeSlider.value = Theme.fontSizeMedium
- }
- }
-// SectionHeader {
-// //: Section Header for the Filter section in Settings page
-// text: "Filter"
-// }
-// TextSwitch {
-// //: TextSwitch for project filter
-// text: qsTr("Attach project filter to the left of tasklist.")
-// //description: "Restart the app to take effect."
-// checked: settings.projectFilterLeft
-// onClicked: settings.projectFilterLeft = checked
-// }
- SectionHeader {
- //: Section Header for the Edit section in Settings page
- text: "Edit Task"
- }
- TextSwitch {
- //: TextSwitch for adding creation date
- text: qsTr("Auto add creation date.")
- description: "Automatically add creation date to newly added tasks."
- checked: settings.creationDateOnAddTask
- onClicked: settings.creationDateOnAddTask = checked
- }
- }
- Component.onDestruction: {
- // write back settings and save
- settings.todoTxtLocation = todoTxtPath.text
- settings.fontSizeTaskList = fontSizeSlider.sliderValue;
- settings.sync();
- }
- }
-}
-
-
|
[-]
[+]
|
Changed |
_service:tar_git:harbour-zutun-2.1.1.tar.bz2/README.md
^
|
@@ -10,16 +10,121 @@
## Features
- - sort/Group Tasks:
+ - sort/group Tasks:
- as in textfile ("natural")
- - by creation date
- - by contexts
- - by projects
+ - by creation date
+ - by contexts
+ - by projects
- filter tasks
- hide completed tasks
- - by project or context
+ - by project or context
- edit tasks
- datepicker for due date
- - auto-add creation date when adding new task
- - show tasks with due date in notifications
- - add task from top menu (app must be running)
\ No newline at end of file
+ - auto-add creation date when adding new task
+ - show tasks with due date in notifications
+ - add task from top menu (app must be running)
+
+## Changes
+
+### 2.1
+ - update languages: sv
+ - recent files in settings
+ - fixed some bugs when changing from one file to another
+ - better hint when all tasks filtered
+ - clear multiple spaces when adding task
+
+### 2.0
+ - advanced filters (or, not)
+ - filter with search field
+ - read file only if there are changes
+ - option to autoadd creationDate on task creation
+ - locale formatted dates for due and completion dates
+ - filters on one page
+ - list doesnt jump anymore after editing a task
+ - gridmenu in taskedit
+ - improved file handling and error feedback
+ - create file from app
+ - some work on cover
+ - icon 172x172
+
+### 1.7.2
+ - updated langs: es
+
+### 1.7.1
+ - updated langs: nl, nl_BE, de, sv
+
+### 1.7
+ - cover: background image full size
+ - taskedit: enter key bound to accept
+ - notification: open app when clicking on notification
+ - taskedit: new calendar widget for due:
+ - taskedit: insert context/project at cursorposition
+
+### 1.6
+ - quickaction/shortcut added (app must be running)
+
+### 1.5.1
+ - update (some) translations
+ - depend on linguist for obs merproject
+
+### 1.5
+ - due: support incl. notifications
+ - nl, ru and es translation
+
+### 1.4.1-1
+ - added Readme
+ - swedish and german translation
+
+### 1.4-1
+ - native FilePicker
+ - cursorposition
+ - grouping by projects and contexts
+
+### 1.3-1
+ - FIX doubeled tasks after edit
+ - better focus handling and cursor positioning in edit
+
+### 1.2-1
+ - colored projects and contexts in tasklist
+
+### 1.1-1
+ - option for project filter left of tasklist
+ - pulldownmenu: first position for add task
+
+### 1.0-2
+ - automatic reload of file, when app or cover catches focus
+ - spacing in filters
+
+### 0.99-2
+ - correct todo.txt syntax (swapped priority and completion date fields
+ - filepicker
+ - sorting
+ - a lot of code rewrite
+
+### 0.5-1
+ - reduced space between items
+
+### 0.4-1
+ - Insert priority bug
+
+### 0.3-1
+ - filters: show number of visible items/total items
+ - bug in coveraction overwriting first item
+ - setting/resetting font size in tasklist
+
+### 0.2-1
+ - slight changes to icon
+ - settings text field width corrected
+ - cover: icon added
+ - save filter settings
+ - preview on cover
+ - appname in desktop file
+
+### 0.1-1
+ - initial release
+ - filter projects, contexts, done items
+ - edit items
+ - delete items
+ - +/- priority
+ - paste priority, todays date, project or context
+ - set file path for todo.txt file
|
[-]
[+]
|
Changed |
_service:tar_git:harbour-zutun-2.1.1.tar.bz2/harbour-zutun.pro
^
|
@@ -7,7 +7,9 @@
qml/components/CoverListItem.qml \
qml/components/Delegate.qml \
qml/components/NotificationList.qml \
+ qml/components/RecentFiles.qml \
qml/pages/FiltersPage.qml \
+ qml/pages/SettingsPage.qml \
qml/pages/TaskEditPage.qml \
qml/pages/TaskListPage.qml \
qml/tdt/Filters.qml \
@@ -19,11 +21,9 @@
translations/*.ts \
rpm/harbour-zutun.spec \
rpm/harbour-zutun.yaml \
- rpm/harbour-zutun.changes \
qml/cover/CoverPage.qml \
qml/cover/zutun.png \
qml/components/Notification.qml \
- qml/pages/Settings.qml \
qml/pages/TextSelect.qml \
qml/pages/OtherFilters.qml \
qml/pages/About.qml \
|
[-]
[+]
|
Changed |
_service:tar_git:harbour-zutun-2.1.1.tar.bz2/qml/components/NotificationList.qml
^
|
@@ -8,7 +8,6 @@
property var taskList: ListModel {}
function publishNotifications() {
- console.log("notificationList")
removeAll()
for (var i = 0; i < taskList.count; i++){
var task = taskList.get(i)
@@ -24,15 +23,17 @@
}
function removeAll() {
- ids.forEach(function(_id, index){
- var notificationComp = Qt.createComponent(Qt.resolvedUrl("./Notification.qml"))
+ if (ids) {
+ ids.forEach(function(_id, index){
+ var notificationComp = Qt.createComponent(Qt.resolvedUrl("./Notification.qml"))
- var notification = notificationComp.createObject(null, {task: JS.tools.lineToJSON("")})
- notification.replacesId = _id
- notification.publish()
- notification.close()
- settings.notificationIDs.value.splice(index, 1)
- })
+ var notification = notificationComp.createObject(null, {task: JS.tools.lineToJSON("")})
+ notification.replacesId = _id
+ notification.publish()
+ notification.close()
+ settings.notificationIDs.value.splice(index, 1)
+ })
+ }
}
|
[-]
[+]
|
Added |
_service:tar_git:harbour-zutun-2.1.1.tar.bz2/qml/components/RecentFiles.qml
^
|
@@ -0,0 +1,65 @@
+import QtQuick 2.0
+import Sailfish.Silica 1.0
+
+
+Repeater {
+ id: repeater
+ property var files: []
+ property bool pinned: false
+ signal setFiles(var files)
+ signal togglePinned(int index)
+ signal fileClicked(string path)
+ model: files
+
+ function remove(index) {
+ var rf = files
+ var item = rf.splice(index, 1)
+ setFiles(rf)
+ return item[0]
+ }
+
+ function add(item) {
+ if (files.indexOf(item) === -1) {
+ var rf = files
+ if (pinned) {
+ rf.push(item)
+ rf.sort()
+ } else {
+ var l = rf.unshift(item)
+ if (l > 3) rf.splice(3)
+ }
+ setFiles(rf)
+ }
+ }
+
+ ListItem {
+ id: recentItem
+ width: parent.width
+
+ function remove() {
+ remorseAction(qsTr("Deleting"), function() {
+ repeater.remove(model.index)
+ }, 3000)
+ }
+
+ Label {
+ width: parent.width
+ text: files[model.index]
+ anchors.centerIn: parent
+ highlighted: pinned
+ horizontalAlignment: Text.AlignHCenter
+ truncationMode: TruncationMode.Elide
+ }
+ onClicked: fileClicked(files[model.index])
+ menu: ContextMenu {
+ MenuItem {
+ text: pinned ? qsTr("unpin") : qsTr("pin")
+ onClicked: togglePinned(model.index)
+ }
+ MenuItem {
+ text: qsTr("remove")
+ onClicked: recentItem.remove()
+ }
+ }
+ }
+}
|
[-]
[+]
|
Changed |
_service:tar_git:harbour-zutun-2.1.1.tar.bz2/qml/cover/CoverPage.qml
^
|
@@ -30,12 +30,11 @@
}
}
- onStatusChanged: {
- if (status === Cover.active) {
- console.log("cover", Cover.active)
- todoTxtFile.read()
- }
- }
+// onStatusChanged: {
+// if (status === Cover.active) {
+// todoTxtFile.read("cover")
+// }
+// }
}
|
[-]
[+]
|
Changed |
_service:tar_git:harbour-zutun-2.1.1.tar.bz2/qml/harbour-zutun.qml
^
|
@@ -11,7 +11,6 @@
//TODO archive to done.txt
//TODO fehler über notifiactions ausgeben
-//TODO more verbose placeholder in tasklist
ApplicationWindow {
id: app
@@ -26,6 +25,14 @@
id: settings
path: "/apps/harbour-zutun/settings"
property string todoTxtLocation: StandardPaths.documents + '/todo.txt'
+ property ConfigurationValue recentFiles: ConfigurationValue {
+ key: settings.path + "/recentFiles"
+ defaultValue: []
+ }
+ property ConfigurationValue pinnedRecentFiles: ConfigurationValue {
+ key: settings.path + "/pinnedRecentFiles"
+ defaultValue: []
+ }
property string doneTxtLocation: StandardPaths.documents + '/done.txt'
property int fontSizeTaskList: Theme.fontSizeMedium
property bool projectFilterLeft: false
@@ -88,23 +95,29 @@
}
property bool busy: todoTxtFile.busy //|| taskListModel.busy
+ property string placeholderText: {
+ if (todoTxtFile.error !== "") return qsTr("File reading error")
+ if (todoTxtFile.pathExists && !todoTxtFile.exists) return qsTr("File doesn't exist.\n Pull down to create it.")
+ if (todoTxtFile.content === "") return qsTr("File seems to be empty.\n Pull down to create one.")
+ if (taskListModel.textList.length === 0) return qsTr("No tasks found in file.\n Pull down to create one.")
+ if (taskListModel.visibleTextList.length === 0) return qsTr("All tasks are hidden by filters.\n Pull down to clear filters.")
+ return ""
+ }
FileIO {
id: todoTxtFile
- property string hintText: ""
path: settings.todoTxtLocation
- onPathChanged: read()
-
- onReadSuccess:
- if (content) {
- taskListModel.setFileContent(content)
- }
+ onPathChanged: {
+ taskListModel.setFileContent("")
+ read("path changed")
+ }
- onIoError: {
- //TODO needs some rework for translation
- hintText = msg
+ onReadSuccess:{
+ //console.debug(content)
+ taskListModel.setFileContent(content)
}
- onPythonReadyChanged: if (pythonReady) read()
+
+ onPythonReadyChanged: if (pythonReady) read("python ready")
}
NotificationList {
@@ -147,13 +160,6 @@
onSortingChanged: visualModel.update()
}
}
-
- onActiveFocusChanged: {
- if (activeFocus) {
- //console.log("app", activeFocus)
- todoTxtFile.read()
- }
- }
}
|
[-]
[+]
|
Changed |
_service:tar_git:harbour-zutun-2.1.1.tar.bz2/qml/pages/About.qml
^
|
@@ -41,9 +41,7 @@
sourceSize.width: Math.max(page.width, page.height)
smooth: true
anchors.horizontalCenter: parent.horizontalCenter
- width: (orientation === Orientation.Portrait ?
- page.width - Theme.paddingLarge * 5:
- page.height - Theme.paddingLarge * 10)
+ width: Math.min(page.width/3, page.height/3)
height: width
cache: false
}
|
[-]
[+]
|
Changed |
_service:tar_git:harbour-zutun-2.1.1.tar.bz2/qml/pages/FiltersPage.qml
^
|
@@ -27,7 +27,8 @@
PageHeader {
title: qsTr("Filters")
//: PageHeader for currently set filters
- description: qsTr("Active Filters: %1").arg(taskListModel.filters.text)
+ description: qsTr("Active Filters: %1").arg(taskListModel.filters.text) +
+ " (%1/%2)".arg(taskListModel.visibleTextList.length).arg(taskListModel.count)
}
SectionHeader {
@@ -49,7 +50,7 @@
taskListModel.visibleTextList.join("\n").split(modelData).length - 1).arg(
taskListModel.textList.join("\n").split(modelData).length - 1)
automaticCheck: false
- checked: taskListModel.filters.inAnd(modelData) //|| taskListModel.filters.inOr(modelData)
+ checked: taskListModel.filters.inAnd(modelData)
onClicked: taskListModel.filters.toggleFilterItem(modelData)
}
TextSwitch {
@@ -71,7 +72,7 @@
}
Repeater {
- model: JS.projects.getList(taskListModel.textList) //taskListModel.filters.projectList
+ model: JS.projects.getList(taskListModel.textList)
delegate: pcFilterDelegate
}
|
[-]
[+]
|
Added |
_service:tar_git:harbour-zutun-2.1.1.tar.bz2/qml/pages/SettingsPage.qml
^
|
@@ -0,0 +1,162 @@
+import QtQuick 2.0
+import Sailfish.Silica 1.0
+import Sailfish.Pickers 1.0
+
+import "../components"
+
+Page {
+ id: page
+ property string name: "settings"
+
+ SilicaFlickable {
+ anchors.fill: parent
+ contentWidth: parent.width
+ contentHeight: col.height + Theme.paddingLarge
+
+ VerticalScrollDecorator {}
+
+ PullDownMenu {
+ MenuItem {
+ //: Information on the app: version, author, source code etc.
+ text: qsTr("About")
+ onClicked: pageStack.push(Qt.resolvedUrl("About.qml"))
+ }
+ }
+
+ Column {
+ id: col
+ spacing: Theme.paddingMedium
+ width: parent.width
+ PageHeader {
+ //: Page Header for the Settings page
+ title: qsTr("Settings")
+ }
+ SectionHeader {
+ //: Section Header for the Files section in Settings page
+ text: qsTr("Files")
+ }
+ TextField {
+ id: todoTxtPath
+ //x: Theme.horizontalPageMargin
+ //: Where - in which folder - is the todo.txt file located?
+ label: qsTr("Path to todo.txt")
+ text: settings.todoTxtLocation
+ width: parent.width - 2*Theme.horizontalPageMargin
+ }
+ Button {
+ anchors.horizontalCenter: parent.horizontalCenter
+ //: Button for picking the file
+ text: qsTr("Choose file")
+ onClicked: pageStack.push(filePickerPage)
+ width: Theme.buttonWidthLarge
+ }
+
+ Component {
+ id: filePickerPage
+ //TODO start in current folder
+ FilePickerPage {
+ //: Page Header for the FilePickerPage (called from Button: Choose File)
+ title: "todo.txt Location"
+ nameFilters: [ '*.txt']
+ onSelectedContentPropertiesChanged: {
+ //settings.todoTxtLocation = selectedContentProperties.filePath
+ todoTxtPath.text = selectedContentProperties.filePath
+ }
+ }
+ }
+
+ SectionHeader {
+ //: Section Header for the Files section in Settings page
+ text: qsTr("Recent files")
+ color: palette.secondaryColor
+ }
+ Column {
+ width: page.width
+ RecentFiles {
+ id: pinnedRF
+ files: settings.pinnedRecentFiles.value
+ pinned: true
+ onSetFiles: {
+ settings.pinnedRecentFiles.value = files
+ }
+ onTogglePinned: {
+ var item = this.remove(index)
+ recentFiles.add(item)
+ }
+ onFileClicked: todoTxtPath.text = path
+ }
+ RecentFiles {
+ id: recentFiles
+ pinned: false
+ files: settings.recentFiles.value
+ onSetFiles:{
+ settings.recentFiles.value = files
+ }
+ onTogglePinned: {
+ var item = this.remove(index)
+ pinnedRF.add(item)
+ }
+ onFileClicked: todoTxtPath.text = path
+ }
+ }
+
+ SectionHeader {
+ //: Section Header for the Tasklist section in Settings page
+ text: "Tasklist"
+ }
+ Row {
+ width: parent.width
+ Slider {
+ id: fontSizeSlider
+ //x: Theme.horizontalPageMargin
+ width: parent.width - x - resetBtn.width
+ minimumValue: Theme.fontSizeTiny
+ maximumValue: Theme.fontSizeHuge
+ value: settings.fontSizeTaskList
+ valueText: value
+ stepSize: 1
+ //: Slide control for font size
+ label: qsTr("Fontsize in Tasklist")
+ }
+ IconButton {
+ anchors.verticalCenter: fontSizeSlider.verticalCenter
+ id: resetBtn
+ icon.source: "image://theme/icon-m-reset"
+ onClicked: fontSizeSlider.value = Theme.fontSizeMedium
+ }
+ }
+// SectionHeader {
+// //: Section Header for the Filter section in Settings page
+// text: "Filter"
+// }
+// TextSwitch {
+// //: TextSwitch for project filter
+// text: qsTr("Attach project filter to the left of tasklist.")
+// //description: "Restart the app to take effect."
+// checked: settings.projectFilterLeft
+// onClicked: settings.projectFilterLeft = checked
+// }
+ SectionHeader {
+ //: Section Header for the Edit section in Settings page
+ text: "Edit Task"
+ }
+ TextSwitch {
+ //: TextSwitch for adding creation date
+ text: qsTr("Auto add creation date.")
+ description: "Automatically add creation date to newly added tasks."
+ checked: settings.creationDateOnAddTask
+ onClicked: settings.creationDateOnAddTask = checked
+ }
+ }
+ Component.onDestruction: {
+ // write back settings and save
+ settings.todoTxtLocation = todoTxtPath.text
+ if (settings.pinnedRecentFiles.value.indexOf(todoTxtPath.text) === -1)
+ recentFiles.add(todoTxtPath.text)
+ settings.fontSizeTaskList = fontSizeSlider.sliderValue;
+ settings.sync();
+ }
+ }
+}
+
+
|
[-]
[+]
|
Changed |
_service:tar_git:harbour-zutun-2.1.1.tar.bz2/qml/pages/SortPage.qml
^
|
@@ -1,8 +1,6 @@
import QtQuick 2.0
import Sailfish.Silica 1.0
-//TODO grouping
-
Page {
id:page
|
[-]
[+]
|
Changed |
_service:tar_git:harbour-zutun-2.1.1.tar.bz2/qml/pages/TaskEditPage.qml
^
|
@@ -221,6 +221,7 @@
}
onAccepted: {
+ text = text.replace(/\s{2,}/g, ' ') // cleanup multiple whitespaces
if (taskIndex > -1) taskListModel.setTaskProperty(taskIndex, JS.baseFeatures.fullTxt, text)
if (taskIndex === -1) {
if (settings.creationDateOnAddTask) {
|
[-]
[+]
|
Changed |
_service:tar_git:harbour-zutun-2.1.1.tar.bz2/qml/pages/TaskListPage.qml
^
|
@@ -19,7 +19,7 @@
MenuItem {
//: PullDown menu: go to settings page
text: qsTr("Settings")
- onClicked: pageStack.push(Qt.resolvedUrl("Settings.qml"))
+ onClicked: pageStack.push(Qt.resolvedUrl("SettingsPage.qml"))
}
MenuItem {
//: PullDown menu: go to sorting & grouping page
@@ -38,6 +38,12 @@
text: qsTr("Create file")
onClicked: todoTxtFile.create()
}
+ MenuItem {
+ visible: taskListModel.count > 0 && taskListModel.visibleTextList.length === 0
+ //: PullDown menu: clear filters
+ text: qsTr("Clear filters")
+ onClicked: taskListModel.filters.clearFilters()
+ }
}
@@ -69,7 +75,7 @@
}
font.pixelSize: Theme.fontSizeSmall
color: Theme.highlightColor
- opacity: 0.8
+ opacity: 0.6
horizontalAlignment: Text.AlignRight
truncationMode: TruncationMode.Fade
//: Information about filter settings at the top of main page
@@ -86,13 +92,13 @@
canHide: true
active: settings.showSearch
onHideClicked: settings.showSearch = ! searchField.active
-// onTextChanged: {
-// taskListModel.filters.searchString = text
-// }
Binding {
target: taskListModel.filters
property: "searchString"
- value: searchField.text.toLowerCase().trim()
+ value: searchField.text.trim()
+ }
+ onActiveFocusChanged: {
+ if (!active) _editor.focus = false
}
}
@@ -107,7 +113,8 @@
opacity: 1*!searchField.active
onClicked: {
settings.showSearch = !searchField.active
- searchField.forceActiveFocus()
+ searchField._editor.focus = true
+ searchField._editor.forceActiveFocus()
}
NumberAnimation on opacity { easing.type: Easing.InOutQuad; duration: searchField.transitionDuration }
}
@@ -128,10 +135,9 @@
ViewPlaceholder {
enabled: taskListModel.visibleTextList.length === 0
- //: Placeholder if todo.txt file does not contain any unfinished tasks
+ //: Placeholder when no visible tasks for various reasons (file error, empty file, filters)
text: qsTr("No tasks")
- hintText: (todoTxtFile.hintText === ""? qsTr("Pull down to add task.")
- : todoTxtFile.hintText)
+ hintText: app.placeholderText
}
BusyIndicator {
@@ -150,7 +156,7 @@
onStatusChanged: {
if (status === PageStatus.Active) {
- todoTxtFile.read()
+ todoTxtFile.read("tasklist active")
/* attach filter page: */
pageStack.pushAttached(Qt.resolvedUrl("FiltersPage.qml"))
// if ( pageStack.depth === 1) {
|
[-]
[+]
|
Changed |
_service:tar_git:harbour-zutun-2.1.1.tar.bz2/qml/python/fileio.py
^
|
@@ -54,10 +54,10 @@
with open(path, 'rt') as f:
read_data = f.read()
#f.close()
- #pyotherside.send('log', "Content read {0}".format(path))
+ pyotherside.send('log', "Content read {0}".format(path))
return read_data, os.path.getmtime(path)
else:
- return ""
+ return False
def write(path, content):
|
[-]
[+]
|
Changed |
_service:tar_git:harbour-zutun-2.1.1.tar.bz2/qml/tdt/FileIO.qml
^
|
@@ -1,17 +1,31 @@
import QtQuick 2.0
import io.thp.pyotherside 1.4
-//TODO check if file is changed on disk
Python {
id: py
property string path
- onPathChanged: if (pythonReady) status = 1
- property string folder: path.substring(0, path.lastIndexOf("/")+1)
- property string content: ""
+ onPathChanged: {
+ reset()
+ if (pythonReady) status = 1
+ }
+
+ function reset() {
+ lastChange = undefined
+ error = ""
+ pathExists = false
+ exists = false
+ readable = false
+ writeable = false
+ }
+ property string error: ""
signal ioError(string msg)
+ onIoError: error = msg
signal readSuccess(string content)
+ onReadSuccess: {
+ error = ""
+ }
property bool pathExists: false
property bool exists: false
@@ -31,19 +45,37 @@
property bool pythonReady: false
onPythonReadyChanged: if (path) status = 1
- function read() {
- //console.debug("reading", "ready:", pythonReady, "path:", path)
+ function pyPath() {
+ return (path.substring(0,7) == "file://" ? path.substring(7) : path)
+ }
+
+ function read(reason) {
+ console.debug(reason)
if (status === 1) {
status = 2
- var pyPath = (path.substring(0,7) == "file://" ? path.substring(7) : path)
- py.call('fileio.read', [pyPath], function(result){
+ var _pyPath = py.pyPath()
+ py.call('fileio.read', [_pyPath], function(result){
+ if (_pyPath !== py.pyPath()) {
+ console.log("path changed, trying to read again")
+ status = 1
+ read("path changed")
+ return
+ }
+ if (!result) {
+ console.log("no reading result")
+ status = 1
+ return
+ }
var _mtime = new Date(result[1]*1000)
- if (lastChange === undefined || lastChange < _mtime) {
+ if (lastChange instanceof Date && !isNaN(lastChange.valueOf()) && lastChange >= _mtime) {
+ console.log("nothing new", path, _mtime, lastChange)
+ status = 1
+ return
+ }
+ if (_mtime instanceof Date && !isNaN(_mtime.valueOf()))
lastChange = _mtime
- content = result[0]
- py.readSuccess(content)
- console.log("read", "path:", path, "file mdate", lastChange)
- } else console.log("nothing new", path, _mtime)
+ py.readSuccess(result[0])
+ console.log("read", "path:", path, "file mdate", lastChange)
status = 1
})
}
@@ -99,7 +131,7 @@
}
onReceived: {
- console.log("Event: " + data)
+ console.debug("Event: " + data)
}
onError: console.log('Python error: ' + traceback)
|
[-]
[+]
|
Changed |
_service:tar_git:harbour-zutun-2.1.1.tar.bz2/qml/tdt/Filters.qml
^
|
@@ -1,6 +1,8 @@
import QtQuick 2.0
import "../tdt/todotxt.js" as JS
+
+//TODO save filter arrangments
QtObject {
id: filters
@@ -75,7 +77,7 @@
if (!task) return false
if ((hideDone && task.done)) return false
- if (task.fullTxt.indexOf(searchString) === -1) return false
+ if (task.fullTxt.search(new RegExp(searchString, "i")) === -1) return false
if (and.length == 0) return true
|
[-]
[+]
|
Changed |
_service:tar_git:harbour-zutun-2.1.1.tar.bz2/qml/tdt/TaskListModel.qml
^
|
@@ -3,7 +3,7 @@
import "todotxt.js" as JS
ListModel {
-
+ id: tlm
//0..init, 1..sorting, 2..ready
//property int status: 0
//property bool busy: status === 0 || status === 1
@@ -49,11 +49,11 @@
}
function setFileContent(content) {
- JS.taskList.setTextList(content)
+ //JS.taskList.setTextList(content)
clear()
- var json = JS.taskList.itemList()
- json.forEach(function(item) {
- append(item)
+ var tl = JS.tools.splitLines(content)
+ tl.forEach(function(item, i){
+ tlm.append(JS.tools.lineToJSON(item, i))
})
taskListDataChanged("read file")
}
|
[-]
[+]
|
Changed |
_service:tar_git:harbour-zutun-2.1.1.tar.bz2/qml/tdt/todotxt.js
^
|
@@ -56,9 +56,9 @@
return item
},
//return array of tasks
- splitLines: function(fileContent) {
+ splitLines: function(text) {
var tasks = []
- var lines = fileContent.split("\n")
+ var lines = text.split("\n")
var txt = ""
lines.forEach(function(line){
txt = line.trim()
@@ -68,35 +68,6 @@
}
}
-var taskList = {
- textList: [],
- //set new text list and parse it
- setTextList: function (newtext) {
- this.textList = tools.splitLines(newtext)
- this.textList.sort()
- },
- //return add task string to tasklist
- itemList: function(){
- var il = []
- this.textList.forEach(function(item, i){
- il.push(tools.lineToJSON(item, i))
- })
- return il
- },
- addTask: function(text){
- this.textList.push(text)
- this.textList.sort()
- },
- removeTask: function(index){
- this.textList.splice(index, 1)
- },
- modifyTask: function(index, feature, value) {
- this.textList[index] = baseFeatures.modifyLine(this.textList[index], feature, value)
- this.textList.sort()
- }
-}
-
-
var baseFeatures = {
//see https://github.com/todotxt/todo.txt
|
[-]
[+]
|
Changed |
_service:tar_git:harbour-zutun-2.1.1.tar.bz2/translations/harbour-zutun-de.ts
^
|
@@ -46,7 +46,7 @@
<message>
<source>Hide complete</source>
<extracomment>text about active filters</extracomment>
- <translation>Verberge fertige</translation>
+ <translation>Verberge erledigte</translation>
</message>
<message>
<source>None</source>
@@ -63,27 +63,27 @@
</message>
<message>
<source>Clear Filters</source>
- <translation type="unfinished"></translation>
+ <translation>Filter entfernen</translation>
</message>
<message>
<source>Filters</source>
- <translation type="unfinished"></translation>
+ <translation>Filter</translation>
</message>
<message>
<source>Projects</source>
- <translation type="unfinished">Projekte</translation>
+ <translation>Projekte</translation>
</message>
<message>
<source>Contexts</source>
- <translation type="unfinished">Kontexte</translation>
+ <translation>Kontexte</translation>
</message>
<message>
<source>Other Filters</source>
- <translation type="unfinished"></translation>
+ <translation>Andere Filter</translation>
</message>
<message>
<source>Hide complete tasks</source>
- <translation type="unfinished"></translation>
+ <translation>Verberge erledigte Aufgaben</translation>
</message>
</context>
<context>
@@ -115,7 +115,26 @@
</message>
</context>
<context>
- <name>Settings</name>
+ <name>RecentFiles</name>
+ <message>
+ <source>Deleting</source>
+ <translation>Lösche</translation>
+ </message>
+ <message>
+ <source>unpin</source>
+ <translation>Loslösen</translation>
+ </message>
+ <message>
+ <source>pin</source>
+ <translation>Anheften</translation>
+ </message>
+ <message>
+ <source>remove</source>
+ <translation>Löschen</translation>
+ </message>
+</context>
+<context>
+ <name>SettingsPage</name>
<message>
<source>About</source>
<extracomment>Information on the app: version, author, source code etc.</extracomment>
@@ -127,16 +146,16 @@
<translation>Einstellungen</translation>
</message>
<message>
- <source>Path to todo.txt</source>
- <extracomment>Where - in which folder - is the todo.txt file located?</extracomment>
- <translation>Pfad zu todo.txt</translation>
- </message>
- <message>
<source>Files</source>
<extracomment>Section Header for the Files section in Settings page</extracomment>
<translation>Dateien</translation>
</message>
<message>
+ <source>Path to todo.txt</source>
+ <extracomment>Where - in which folder - is the todo.txt file located?</extracomment>
+ <translation>Pfad zu todo.txt</translation>
+ </message>
+ <message>
<source>Choose file</source>
<extracomment>Button for picking the file</extracomment>
<translation>Datei wählen</translation>
@@ -144,12 +163,17 @@
<message>
<source>Fontsize in Tasklist</source>
<extracomment>Slide control for font size</extracomment>
- <translation type="unfinished"></translation>
+ <translation>Zeichengröße in Aufgabenliste</translation>
</message>
<message>
<source>Auto add creation date.</source>
<extracomment>TextSwitch for adding creation date</extracomment>
- <translation type="unfinished"></translation>
+ <translation>Füge automatisch Erstelldatum hinzu.</translation>
+ </message>
+ <message>
+ <source>Recent files</source>
+ <extracomment>Section Header for the Files section in Settings page</extracomment>
+ <translation>Aktuelle Dateien</translation>
</message>
</context>
<context>
@@ -177,15 +201,15 @@
<message>
<source>Toggle order (%1)</source>
<extracomment>Button to toggle order</extracomment>
- <translation type="unfinished"></translation>
+ <translation>Schalte Reihenfolge um (%1)</translation>
</message>
<message>
<source>asc</source>
- <translation type="unfinished">aufsteigend</translation>
+ <translation>auf</translation>
</message>
<message>
<source>desc</source>
- <translation type="unfinished">absteigend</translation>
+ <translation>ab</translation>
</message>
</context>
<context>
@@ -196,11 +220,11 @@
</message>
<message>
<source>asc</source>
- <translation>aufsteigend</translation>
+ <translation>auf</translation>
</message>
<message>
<source>desc</source>
- <translation>absteigend</translation>
+ <translation>ab</translation>
</message>
<message>
<source>Grouped by %1, </source>
@@ -282,7 +306,7 @@
</message>
<message>
<source>completed:</source>
- <translation type="unfinished"></translation>
+ <translation>erledigt:</translation>
</message>
</context>
<context>
@@ -312,10 +336,6 @@
<translation>Aufgabenliste</translation>
</message>
<message>
- <source>Pull down to add task.</source>
- <translation>Nach unten ziehen, um eine Aufgabe hinzuzufügen.</translation>
- </message>
- <message>
<source>Filter: %1</source>
<extracomment>Information about filter settings at the top of main page</extracomment>
<translation>Filter: %1</translation>
@@ -336,9 +356,14 @@
</message>
<message>
<source>No tasks</source>
- <extracomment>Placeholder if todo.txt file does not contain any unfinished tasks</extracomment>
+ <extracomment>Placeholder when no visible tasks for various reasons (file error, empty file, filters)</extracomment>
<translation>Keine Aufgaben</translation>
</message>
+ <message>
+ <source>Clear filters</source>
+ <extracomment>PullDown menu: clear filters</extracomment>
+ <translation>Filter entfernen</translation>
+ </message>
</context>
<context>
<name>TextSelect</name>
@@ -360,4 +385,31 @@
<translation>Kontexte</translation>
</message>
</context>
+<context>
+ <name>harbour-zutun</name>
+ <message>
+ <source>File reading error</source>
+ <translation>Dateilesefehler</translation>
+ </message>
+ <message>
+ <source>File doesn't exist.
+ Pull down to create it.</source>
+ <translation>Datei existiert nicht.\nRunterziehen, um Datei zu erzeugen.</translation>
+ </message>
+ <message>
+ <source>File seems to be empty.
+ Pull down to create one.</source>
|
[-]
[+]
|
Changed |
_service:tar_git:harbour-zutun-2.1.1.tar.bz2/translations/harbour-zutun-es.ts
^
|
@@ -115,26 +115,45 @@
</message>
</context>
<context>
- <name>Settings</name>
+ <name>RecentFiles</name>
+ <message>
+ <source>Deleting</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <source>unpin</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <source>pin</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <source>remove</source>
+ <translation type="unfinished"></translation>
+ </message>
+</context>
+<context>
+ <name>SettingsPage</name>
<message>
<source>About</source>
<extracomment>Information on the app: version, author, source code etc.</extracomment>
- <translation>Acerca de</translation>
+ <translation type="unfinished">Acerca de</translation>
</message>
<message>
<source>Settings</source>
<extracomment>Page Header for the Settings page</extracomment>
- <translation>Ajustes</translation>
- </message>
- <message>
- <source>Path to todo.txt</source>
- <extracomment>Where - in which folder - is the todo.txt file located?</extracomment>
- <translation>Ruta de todo.txt</translation>
+ <translation type="unfinished">Ajustes</translation>
</message>
<message>
<source>Files</source>
<extracomment>Section Header for the Files section in Settings page</extracomment>
- <translation>Archivos</translation>
+ <translation type="unfinished">Archivos</translation>
+ </message>
+ <message>
+ <source>Path to todo.txt</source>
+ <extracomment>Where - in which folder - is the todo.txt file located?</extracomment>
+ <translation type="unfinished">Ruta de todo.txt</translation>
</message>
<message>
<source>Choose file</source>
@@ -151,6 +170,11 @@
<extracomment>TextSwitch for adding creation date</extracomment>
<translation type="unfinished"></translation>
</message>
+ <message>
+ <source>Recent files</source>
+ <extracomment>Section Header for the Files section in Settings page</extracomment>
+ <translation type="unfinished"></translation>
+ </message>
</context>
<context>
<name>SortPage</name>
@@ -317,10 +341,6 @@
<translation type="unfinished">Lista de tareas</translation>
</message>
<message>
- <source>Pull down to add task.</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
<source>Filter: %1</source>
<extracomment>Information about filter settings at the top of main page</extracomment>
<translation type="unfinished"></translation>
@@ -336,7 +356,12 @@
</message>
<message>
<source>No tasks</source>
- <extracomment>Placeholder if todo.txt file does not contain any unfinished tasks</extracomment>
+ <extracomment>Placeholder when no visible tasks for various reasons (file error, empty file, filters)</extracomment>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <source>Clear filters</source>
+ <extracomment>PullDown menu: clear filters</extracomment>
<translation type="unfinished"></translation>
</message>
</context>
@@ -360,4 +385,31 @@
<translation>Contextos</translation>
</message>
</context>
+<context>
+ <name>harbour-zutun</name>
+ <message>
+ <source>File reading error</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <source>File doesn't exist.
+ Pull down to create it.</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <source>File seems to be empty.
+ Pull down to create one.</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <source>No tasks found in file.
+ Pull down to create one.</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <source>All tasks are hidden by filters.
+ Pull down to clear filters.</source>
+ <translation type="unfinished"></translation>
+ </message>
+</context>
</TS>
|
[-]
[+]
|
Changed |
_service:tar_git:harbour-zutun-2.1.1.tar.bz2/translations/harbour-zutun-fr.ts
^
|
@@ -115,26 +115,45 @@
</message>
</context>
<context>
- <name>Settings</name>
+ <name>RecentFiles</name>
+ <message>
+ <source>Deleting</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <source>unpin</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <source>pin</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <source>remove</source>
+ <translation type="unfinished"></translation>
+ </message>
+</context>
+<context>
+ <name>SettingsPage</name>
<message>
<source>About</source>
<extracomment>Information on the app: version, author, source code etc.</extracomment>
- <translation>À propos de</translation>
+ <translation type="unfinished">À propos de</translation>
</message>
<message>
<source>Settings</source>
<extracomment>Page Header for the Settings page</extracomment>
- <translation>Préférences</translation>
- </message>
- <message>
- <source>Path to todo.txt</source>
- <extracomment>Where - in which folder - is the todo.txt file located?</extracomment>
- <translation>Sentier vers todo.txt</translation>
+ <translation type="unfinished">Préférences</translation>
</message>
<message>
<source>Files</source>
<extracomment>Section Header for the Files section in Settings page</extracomment>
- <translation>Fichiers</translation>
+ <translation type="unfinished">Fichiers</translation>
+ </message>
+ <message>
+ <source>Path to todo.txt</source>
+ <extracomment>Where - in which folder - is the todo.txt file located?</extracomment>
+ <translation type="unfinished">Sentier vers todo.txt</translation>
</message>
<message>
<source>Choose file</source>
@@ -151,6 +170,11 @@
<extracomment>TextSwitch for adding creation date</extracomment>
<translation type="unfinished"></translation>
</message>
+ <message>
+ <source>Recent files</source>
+ <extracomment>Section Header for the Files section in Settings page</extracomment>
+ <translation type="unfinished"></translation>
+ </message>
</context>
<context>
<name>SortPage</name>
@@ -317,10 +341,6 @@
<translation type="unfinished">Liste de tâches</translation>
</message>
<message>
- <source>Pull down to add task.</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
<source>Filter: %1</source>
<extracomment>Information about filter settings at the top of main page</extracomment>
<translation type="unfinished"></translation>
@@ -336,7 +356,12 @@
</message>
<message>
<source>No tasks</source>
- <extracomment>Placeholder if todo.txt file does not contain any unfinished tasks</extracomment>
+ <extracomment>Placeholder when no visible tasks for various reasons (file error, empty file, filters)</extracomment>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <source>Clear filters</source>
+ <extracomment>PullDown menu: clear filters</extracomment>
<translation type="unfinished"></translation>
</message>
</context>
@@ -360,4 +385,31 @@
<translation type="unfinished">Contextes</translation>
</message>
</context>
+<context>
+ <name>harbour-zutun</name>
+ <message>
+ <source>File reading error</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <source>File doesn't exist.
+ Pull down to create it.</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <source>File seems to be empty.
+ Pull down to create one.</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <source>No tasks found in file.
+ Pull down to create one.</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <source>All tasks are hidden by filters.
+ Pull down to clear filters.</source>
+ <translation type="unfinished"></translation>
+ </message>
+</context>
</TS>
|
[-]
[+]
|
Changed |
_service:tar_git:harbour-zutun-2.1.1.tar.bz2/translations/harbour-zutun-nl.ts
^
|
@@ -115,26 +115,45 @@
</message>
</context>
<context>
- <name>Settings</name>
+ <name>RecentFiles</name>
+ <message>
+ <source>Deleting</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <source>unpin</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <source>pin</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <source>remove</source>
+ <translation type="unfinished"></translation>
+ </message>
+</context>
+<context>
+ <name>SettingsPage</name>
<message>
<source>About</source>
<extracomment>Information on the app: version, author, source code etc.</extracomment>
- <translation>Over</translation>
+ <translation type="unfinished">Over</translation>
</message>
<message>
<source>Settings</source>
<extracomment>Page Header for the Settings page</extracomment>
- <translation>Instellingen</translation>
- </message>
- <message>
- <source>Path to todo.txt</source>
- <extracomment>Where - in which folder - is the todo.txt file located?</extracomment>
- <translation>Pad naar todo.txt</translation>
+ <translation type="unfinished">Instellingen</translation>
</message>
<message>
<source>Files</source>
<extracomment>Section Header for the Files section in Settings page</extracomment>
- <translation>Bestanden</translation>
+ <translation type="unfinished">Bestanden</translation>
+ </message>
+ <message>
+ <source>Path to todo.txt</source>
+ <extracomment>Where - in which folder - is the todo.txt file located?</extracomment>
+ <translation type="unfinished">Pad naar todo.txt</translation>
</message>
<message>
<source>Choose file</source>
@@ -151,6 +170,11 @@
<extracomment>TextSwitch for adding creation date</extracomment>
<translation type="unfinished"></translation>
</message>
+ <message>
+ <source>Recent files</source>
+ <extracomment>Section Header for the Files section in Settings page</extracomment>
+ <translation type="unfinished"></translation>
+ </message>
</context>
<context>
<name>SortPage</name>
@@ -317,10 +341,6 @@
<translation type="unfinished">Takenlijst</translation>
</message>
<message>
- <source>Pull down to add task.</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
<source>Filter: %1</source>
<extracomment>Information about filter settings at the top of main page</extracomment>
<translation type="unfinished"></translation>
@@ -336,7 +356,12 @@
</message>
<message>
<source>No tasks</source>
- <extracomment>Placeholder if todo.txt file does not contain any unfinished tasks</extracomment>
+ <extracomment>Placeholder when no visible tasks for various reasons (file error, empty file, filters)</extracomment>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <source>Clear filters</source>
+ <extracomment>PullDown menu: clear filters</extracomment>
<translation type="unfinished"></translation>
</message>
</context>
@@ -360,4 +385,31 @@
<translation>Contexten</translation>
</message>
</context>
+<context>
+ <name>harbour-zutun</name>
+ <message>
+ <source>File reading error</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <source>File doesn't exist.
+ Pull down to create it.</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <source>File seems to be empty.
+ Pull down to create one.</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <source>No tasks found in file.
+ Pull down to create one.</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <source>All tasks are hidden by filters.
+ Pull down to clear filters.</source>
+ <translation type="unfinished"></translation>
+ </message>
+</context>
</TS>
|
[-]
[+]
|
Changed |
_service:tar_git:harbour-zutun-2.1.1.tar.bz2/translations/harbour-zutun-nl_BE.ts
^
|
@@ -115,26 +115,45 @@
</message>
</context>
<context>
- <name>Settings</name>
+ <name>RecentFiles</name>
+ <message>
+ <source>Deleting</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <source>unpin</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <source>pin</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <source>remove</source>
+ <translation type="unfinished"></translation>
+ </message>
+</context>
+<context>
+ <name>SettingsPage</name>
<message>
<source>About</source>
<extracomment>Information on the app: version, author, source code etc.</extracomment>
- <translation>Over</translation>
+ <translation type="unfinished">Over</translation>
</message>
<message>
<source>Settings</source>
<extracomment>Page Header for the Settings page</extracomment>
- <translation>Instellingen</translation>
- </message>
- <message>
- <source>Path to todo.txt</source>
- <extracomment>Where - in which folder - is the todo.txt file located?</extracomment>
- <translation>Pad naar todo.txt</translation>
+ <translation type="unfinished">Instellingen</translation>
</message>
<message>
<source>Files</source>
<extracomment>Section Header for the Files section in Settings page</extracomment>
- <translation>Bestanden</translation>
+ <translation type="unfinished">Bestanden</translation>
+ </message>
+ <message>
+ <source>Path to todo.txt</source>
+ <extracomment>Where - in which folder - is the todo.txt file located?</extracomment>
+ <translation type="unfinished">Pad naar todo.txt</translation>
</message>
<message>
<source>Choose file</source>
@@ -151,6 +170,11 @@
<extracomment>TextSwitch for adding creation date</extracomment>
<translation type="unfinished"></translation>
</message>
+ <message>
+ <source>Recent files</source>
+ <extracomment>Section Header for the Files section in Settings page</extracomment>
+ <translation type="unfinished"></translation>
+ </message>
</context>
<context>
<name>SortPage</name>
@@ -317,10 +341,6 @@
<translation type="unfinished">Takenlijst</translation>
</message>
<message>
- <source>Pull down to add task.</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
<source>Filter: %1</source>
<extracomment>Information about filter settings at the top of main page</extracomment>
<translation type="unfinished"></translation>
@@ -336,7 +356,12 @@
</message>
<message>
<source>No tasks</source>
- <extracomment>Placeholder if todo.txt file does not contain any unfinished tasks</extracomment>
+ <extracomment>Placeholder when no visible tasks for various reasons (file error, empty file, filters)</extracomment>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <source>Clear filters</source>
+ <extracomment>PullDown menu: clear filters</extracomment>
<translation type="unfinished"></translation>
</message>
</context>
@@ -360,4 +385,31 @@
<translation>Contexten</translation>
</message>
</context>
+<context>
+ <name>harbour-zutun</name>
+ <message>
+ <source>File reading error</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <source>File doesn't exist.
+ Pull down to create it.</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <source>File seems to be empty.
+ Pull down to create one.</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <source>No tasks found in file.
+ Pull down to create one.</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <source>All tasks are hidden by filters.
+ Pull down to clear filters.</source>
+ <translation type="unfinished"></translation>
+ </message>
+</context>
</TS>
|
[-]
[+]
|
Changed |
_service:tar_git:harbour-zutun-2.1.1.tar.bz2/translations/harbour-zutun-ru.ts
^
|
@@ -115,16 +115,40 @@
</message>
</context>
<context>
- <name>Settings</name>
+ <name>RecentFiles</name>
+ <message>
+ <source>Deleting</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <source>unpin</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <source>pin</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <source>remove</source>
+ <translation type="unfinished"></translation>
+ </message>
+</context>
+<context>
+ <name>SettingsPage</name>
<message>
<source>About</source>
<extracomment>Information on the app: version, author, source code etc.</extracomment>
- <translation>О программе</translation>
+ <translation type="unfinished">О программе</translation>
</message>
<message>
<source>Settings</source>
<extracomment>Page Header for the Settings page</extracomment>
- <translation>Настройки</translation>
+ <translation type="unfinished">Настройки</translation>
+ </message>
+ <message>
+ <source>Files</source>
+ <extracomment>Section Header for the Files section in Settings page</extracomment>
+ <translation type="unfinished">Файлы</translation>
</message>
<message>
<source>Path to todo.txt</source>
@@ -132,11 +156,6 @@
<translation type="unfinished"></translation>
</message>
<message>
- <source>Files</source>
- <extracomment>Section Header for the Files section in Settings page</extracomment>
- <translation>Файлы</translation>
- </message>
- <message>
<source>Choose file</source>
<extracomment>Button for picking the file</extracomment>
<translation type="unfinished"></translation>
@@ -151,6 +170,11 @@
<extracomment>TextSwitch for adding creation date</extracomment>
<translation type="unfinished"></translation>
</message>
+ <message>
+ <source>Recent files</source>
+ <extracomment>Section Header for the Files section in Settings page</extracomment>
+ <translation type="unfinished"></translation>
+ </message>
</context>
<context>
<name>SortPage</name>
@@ -317,10 +341,6 @@
<translation type="unfinished">Список задач</translation>
</message>
<message>
- <source>Pull down to add task.</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
<source>Filter: %1</source>
<extracomment>Information about filter settings at the top of main page</extracomment>
<translation type="unfinished"></translation>
@@ -336,7 +356,12 @@
</message>
<message>
<source>No tasks</source>
- <extracomment>Placeholder if todo.txt file does not contain any unfinished tasks</extracomment>
+ <extracomment>Placeholder when no visible tasks for various reasons (file error, empty file, filters)</extracomment>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <source>Clear filters</source>
+ <extracomment>PullDown menu: clear filters</extracomment>
<translation type="unfinished"></translation>
</message>
</context>
@@ -360,4 +385,31 @@
<translation type="unfinished"></translation>
</message>
</context>
+<context>
+ <name>harbour-zutun</name>
+ <message>
+ <source>File reading error</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <source>File doesn't exist.
+ Pull down to create it.</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <source>File seems to be empty.
+ Pull down to create one.</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <source>No tasks found in file.
+ Pull down to create one.</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <source>All tasks are hidden by filters.
+ Pull down to clear filters.</source>
+ <translation type="unfinished"></translation>
+ </message>
+</context>
</TS>
|
[-]
[+]
|
Changed |
_service:tar_git:harbour-zutun-2.1.1.tar.bz2/translations/harbour-zutun-sv.ts
^
|
@@ -30,7 +30,7 @@
<message>
<source>Translation</source>
<extracomment>SectionHeader for the names of the translators - you ;-)</extracomment>
- <translation type="unfinished"></translation>
+ <translation>Översättning</translation>
</message>
</context>
<context>
@@ -46,12 +46,12 @@
<message>
<source>Hide complete</source>
<extracomment>text about active filters</extracomment>
- <translation type="unfinished"></translation>
+ <translation>Dölj slutförda</translation>
</message>
<message>
<source>None</source>
<extracomment>text about active filters</extracomment>
- <translation type="unfinished">Ingen</translation>
+ <translation>Ingen</translation>
</message>
</context>
<context>
@@ -59,31 +59,31 @@
<message>
<source>Active Filters: %1</source>
<extracomment>PageHeader for currently set filters</extracomment>
- <translation type="unfinished"></translation>
+ <translation>Aktiva filter: %1</translation>
</message>
<message>
<source>Clear Filters</source>
- <translation type="unfinished"></translation>
+ <translation>Rensa filter</translation>
</message>
<message>
<source>Filters</source>
- <translation type="unfinished"></translation>
+ <translation>Filter</translation>
</message>
<message>
<source>Projects</source>
- <translation type="unfinished">Projekt</translation>
+ <translation>Projekt</translation>
</message>
<message>
<source>Contexts</source>
- <translation type="unfinished">Sammanhang</translation>
+ <translation>Sammanhang</translation>
</message>
<message>
<source>Other Filters</source>
- <translation type="unfinished"></translation>
+ <translation>Andra filter</translation>
</message>
<message>
<source>Hide complete tasks</source>
- <translation type="unfinished"></translation>
+ <translation>Dölj slutförda aktiviteter</translation>
</message>
</context>
<context>
@@ -91,31 +91,50 @@
<message>
<source>Filter contexts</source>
<extracomment>PullDown menu: go to filter contexts page</extracomment>
- <translation type="unfinished"></translation>
+ <translation>Filterinnehåll</translation>
</message>
<message>
<source>Filter projects</source>
<extracomment>PullDown menu: go to filter projects page</extracomment>
- <translation type="unfinished"></translation>
+ <translation>Filterprojekt</translation>
</message>
<message>
<source>Back to Tasklist</source>
<extracomment>PullDown menu: go to task list</extracomment>
- <translation type="unfinished"></translation>
+ <translation>Tillbaka till aktivitetslistan</translation>
</message>
<message>
<source>Other filters</source>
<extracomment>PageHeader for other filters</extracomment>
- <translation type="unfinished"></translation>
+ <translation>Andra filter</translation>
</message>
<message>
<source>Hide completed tasks</source>
<extracomment>TextSwitch for handling of completed task visibility</extracomment>
- <translation type="unfinished"></translation>
+ <translation>Dölj slutförda aktiviteter</translation>
</message>
</context>
<context>
- <name>Settings</name>
+ <name>RecentFiles</name>
+ <message>
+ <source>Deleting</source>
+ <translation>Tar bort</translation>
+ </message>
+ <message>
+ <source>unpin</source>
+ <translation>lösgör</translation>
+ </message>
+ <message>
+ <source>pin</source>
+ <translation>fäst</translation>
+ </message>
+ <message>
+ <source>remove</source>
+ <translation>ta bort</translation>
+ </message>
+</context>
+<context>
+ <name>SettingsPage</name>
<message>
<source>About</source>
<extracomment>Information on the app: version, author, source code etc.</extracomment>
@@ -127,29 +146,34 @@
<translation>Inställningar</translation>
</message>
<message>
- <source>Path to todo.txt</source>
- <extracomment>Where - in which folder - is the todo.txt file located?</extracomment>
- <translation>Sökväg till todo.txt</translation>
- </message>
- <message>
<source>Files</source>
<extracomment>Section Header for the Files section in Settings page</extracomment>
<translation>Filer</translation>
</message>
<message>
+ <source>Path to todo.txt</source>
+ <extracomment>Where - in which folder - is the todo.txt file located?</extracomment>
+ <translation>Sökväg till todo.txt</translation>
+ </message>
+ <message>
<source>Choose file</source>
<extracomment>Button for picking the file</extracomment>
- <translation type="unfinished"></translation>
+ <translation>Välj fil</translation>
</message>
<message>
<source>Fontsize in Tasklist</source>
<extracomment>Slide control for font size</extracomment>
- <translation type="unfinished"></translation>
+ <translation>Teckenstorlek i aktivitetslistan</translation>
</message>
<message>
<source>Auto add creation date.</source>
<extracomment>TextSwitch for adding creation date</extracomment>
- <translation type="unfinished"></translation>
+ <translation>Lägg till tidsstämpel automatiskt.</translation>
+ </message>
+ <message>
+ <source>Recent files</source>
+ <extracomment>Section Header for the Files section in Settings page</extracomment>
+ <translation>Tidigare filer</translation>
</message>
</context>
<context>
@@ -177,69 +201,69 @@
<message>
<source>Toggle order (%1)</source>
<extracomment>Button to toggle order</extracomment>
- <translation type="unfinished"></translation>
+ <translation>Byt ordning (%1)</translation>
</message>
<message>
<source>asc</source>
- <translation type="unfinished">stigande</translation>
+ <translation>Stigande</translation>
</message>
<message>
<source>desc</source>
- <translation type="unfinished">sjunkande</translation>
+ <translation>Fallande</translation>
</message>
</context>
<context>
<name>Sorting</name>
<message>
<source>Sorted by %1</source>
- <translation type="unfinished">Sorterat %1</translation>
+ <translation>Sorterat efter %1</translation>
</message>
<message>
<source>asc</source>
- <translation type="unfinished">stigande</translation>
+ <translation>Stigande</translation>
</message>
<message>
<source>desc</source>
- <translation type="unfinished">sjunkande</translation>
+ <translation>Fallande</translation>
</message>
<message>
<source>Grouped by %1, </source>
|
[-]
[+]
|
Changed |
_service:tar_git:harbour-zutun-2.1.1.tar.bz2/translations/harbour-zutun.ts
^
|
@@ -115,31 +115,50 @@
</message>
</context>
<context>
- <name>Settings</name>
+ <name>RecentFiles</name>
+ <message>
+ <source>Deleting</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <source>unpin</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <source>pin</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <source>remove</source>
+ <translation type="unfinished"></translation>
+ </message>
+</context>
+<context>
+ <name>SettingsPage</name>
<message>
<source>About</source>
<extracomment>Information on the app: version, author, source code etc.</extracomment>
- <translation>About</translation>
+ <translation type="unfinished">About</translation>
</message>
<message>
<source>Settings</source>
<extracomment>Page Header for the Settings page</extracomment>
- <translation>Settings</translation>
+ <translation type="unfinished">Settings</translation>
+ </message>
+ <message>
+ <source>Files</source>
+ <extracomment>Section Header for the Files section in Settings page</extracomment>
+ <translation type="unfinished">Files</translation>
</message>
<message>
<source>Path to todo.txt</source>
<extracomment>Where - in which folder - is the todo.txt file located?</extracomment>
- <translation>Path to todo.txt</translation>
+ <translation type="unfinished">Path to todo.txt</translation>
</message>
<message>
<source>Choose file</source>
<extracomment>Button for picking the file</extracomment>
- <translation>Choose file</translation>
- </message>
- <message>
- <source>Files</source>
- <extracomment>Section Header for the Files section in Settings page</extracomment>
- <translation>Files</translation>
+ <translation type="unfinished">Choose file</translation>
</message>
<message>
<source>Fontsize in Tasklist</source>
@@ -151,6 +170,11 @@
<extracomment>TextSwitch for adding creation date</extracomment>
<translation type="unfinished"></translation>
</message>
+ <message>
+ <source>Recent files</source>
+ <extracomment>Section Header for the Files section in Settings page</extracomment>
+ <translation type="unfinished"></translation>
+ </message>
</context>
<context>
<name>SortPage</name>
@@ -332,12 +356,13 @@
</message>
<message>
<source>No tasks</source>
- <extracomment>Placeholder if todo.txt file does not contain any unfinished tasks</extracomment>
+ <extracomment>Placeholder when no visible tasks for various reasons (file error, empty file, filters)</extracomment>
<translation type="unfinished">No tasks</translation>
</message>
<message>
- <source>Pull down to add task.</source>
- <translation type="unfinished">Pull down to add task.</translation>
+ <source>Clear filters</source>
+ <extracomment>PullDown menu: clear filters</extracomment>
+ <translation type="unfinished"></translation>
</message>
</context>
<context>
@@ -360,4 +385,31 @@
<translation>Contexts</translation>
</message>
</context>
+<context>
+ <name>harbour-zutun</name>
+ <message>
+ <source>File reading error</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <source>File doesn't exist.
+ Pull down to create it.</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <source>File seems to be empty.
+ Pull down to create one.</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <source>No tasks found in file.
+ Pull down to create one.</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <source>All tasks are hidden by filters.
+ Pull down to clear filters.</source>
+ <translation type="unfinished"></translation>
+ </message>
+</context>
</TS>
|
[-]
[+]
|
Changed |
_service:tar_git:harbour-zutun-2.1.1.tar.bz2/version
^
|
@@ -1 +1 @@
-1.7.1
+2.0
|
[-]
[+]
|
Changed |
_service:tar_git:harbour-zutun.yaml
^
|
@@ -1,6 +1,6 @@
Name: harbour-zutun
Summary: todo.txt GUI
-Version: 1.7.99
+Version: 2.1
Release: 1
Group: Applications/Productivity
URL: https://github.com/fuchsmich/zutun.txt
|