Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sailjail and sailbackup #213

Open
wants to merge 7 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions harbour-org.gpodder.sailfish.desktop
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,11 @@ X-Nemo-Application-Type=silica-qt5
Name=gPodder
Icon=harbour-org.gpodder.sailfish
Exec=sailfish-qml harbour-org.gpodder.sailfish

[X-Sailjail]
Permissions=Audio;UserDirs;RemovableMedia;Internet
OrganizationName=harbour-org.gpodder.sailfish
ApplicationName=harbour-org.gpodder.sailfish

[X-HarbourBackup]
BackupPathList=.config/harbour-org.gpodder.sailfish:.local/share/harbour-org.gpodder.sailfish
8 changes: 4 additions & 4 deletions qml/ImportOPML.qml
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ Dialog {
if (opmlAction == 'Import') {
py.call('main.import_opml', [importOPML.selectedFile])
} else {
if(exportFile.text.charAt(0) != '/') {
exportFile.text = StandardPaths.home + '/' + exportFile.text
if(exportFile.text.charAt(0) != '/' && exportFile.text.charAt(0) != '~') {
exportFile.text = StandardPaths.documents + '/' + exportFile.text
}

py.call('main.export_opml', [exportFile.text])
Expand Down Expand Up @@ -61,8 +61,8 @@ Dialog {

TextField {
id: exportFile
label: 'Filename'
placeholderText: qsTr('Enter filname')
label: qsTr('Filename, stored in Documents')
placeholderText: qsTr('Enter filename')
visible: opmlAction == 'Export' ? true : false

anchors {
Expand Down
9 changes: 7 additions & 2 deletions translations/harbour-org.gpodder.sailfish-bg.ts
Original file line number Diff line number Diff line change
Expand Up @@ -250,10 +250,15 @@
<source>Import File</source>
<translation>Файл за внасяне</translation>
</message>
<message>
<location filename="../qml/ImportOPML.qml" line="64"/>
<source>Filename, stored in Documents</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/ImportOPML.qml" line="65"/>
<source>Enter filname</source>
<translation>Въвеждане на файлово име</translation>
<source>Enter filename</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
Expand Down
9 changes: 7 additions & 2 deletions translations/harbour-org.gpodder.sailfish-de.ts
Original file line number Diff line number Diff line change
Expand Up @@ -249,10 +249,15 @@
<source>Import File</source>
<translation>Datei importieren</translation>
</message>
<message>
<location filename="../qml/ImportOPML.qml" line="64"/>
<source>Filename, stored in Documents</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/ImportOPML.qml" line="65"/>
<source>Enter filname</source>
<translation>Dateiname eingeben</translation>
<source>Enter filename</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
Expand Down
9 changes: 7 additions & 2 deletions translations/harbour-org.gpodder.sailfish-es.ts
Original file line number Diff line number Diff line change
Expand Up @@ -249,10 +249,15 @@
<source>Import File</source>
<translation>Importar archivo</translation>
</message>
<message>
<location filename="../qml/ImportOPML.qml" line="64"/>
<source>Filename, stored in Documents</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/ImportOPML.qml" line="65"/>
<source>Enter filname</source>
<translation>Indica nombre del archivo</translation>
<source>Enter filename</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
Expand Down
9 changes: 7 additions & 2 deletions translations/harbour-org.gpodder.sailfish-it.ts
Original file line number Diff line number Diff line change
Expand Up @@ -249,10 +249,15 @@
<source>Import File</source>
<translation>Importa file</translation>
</message>
<message>
<location filename="../qml/ImportOPML.qml" line="64"/>
<source>Filename, stored in Documents</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/ImportOPML.qml" line="65"/>
<source>Enter filname</source>
<translation>Inserisci nome file</translation>
<source>Enter filename</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
Expand Down
9 changes: 7 additions & 2 deletions translations/harbour-org.gpodder.sailfish-pl.ts
Original file line number Diff line number Diff line change
Expand Up @@ -249,10 +249,15 @@
<source>Import File</source>
<translation>Importuj plik</translation>
</message>
<message>
<location filename="../qml/ImportOPML.qml" line="64"/>
<source>Filename, stored in Documents</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/ImportOPML.qml" line="65"/>
<source>Enter filname</source>
<translation>Wprowadź nazwę pliku</translation>
<source>Enter filename</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
Expand Down
9 changes: 7 additions & 2 deletions translations/harbour-org.gpodder.sailfish-ru.ts
Original file line number Diff line number Diff line change
Expand Up @@ -249,10 +249,15 @@
<source>Import File</source>
<translation>Импорт файла</translation>
</message>
<message>
<location filename="../qml/ImportOPML.qml" line="64"/>
<source>Filename, stored in Documents</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/ImportOPML.qml" line="65"/>
<source>Enter filname</source>
<translation>Введите имя файла</translation>
<source>Enter filename</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
Expand Down
9 changes: 7 additions & 2 deletions translations/harbour-org.gpodder.sailfish-sv.ts
Original file line number Diff line number Diff line change
Expand Up @@ -249,10 +249,15 @@
<source>Import File</source>
<translation>Importera fil</translation>
</message>
<message>
<location filename="../qml/ImportOPML.qml" line="64"/>
<source>Filename, stored in Documents</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/ImportOPML.qml" line="65"/>
<source>Enter filname</source>
<translation>Ange filnamn</translation>
<source>Enter filename</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
Expand Down
9 changes: 7 additions & 2 deletions translations/harbour-org.gpodder.sailfish-zh_CN.ts
Original file line number Diff line number Diff line change
Expand Up @@ -249,10 +249,15 @@
<source>Import File</source>
<translation>导入文件</translation>
</message>
<message>
<location filename="../qml/ImportOPML.qml" line="64"/>
<source>Filename, stored in Documents</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/ImportOPML.qml" line="65"/>
<source>Enter filname</source>
<translation>输入文件名</translation>
<source>Enter filename</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
Expand Down
7 changes: 6 additions & 1 deletion translations/harbour-org.gpodder.sailfish.ts
Original file line number Diff line number Diff line change
Expand Up @@ -249,9 +249,14 @@
<source>Import File</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/ImportOPML.qml" line="64"/>
<source>Filename, stored in Documents</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/ImportOPML.qml" line="65"/>
<source>Enter filname</source>
<source>Enter filename</source>
<translation type="unfinished"></translation>
</message>
</context>
Expand Down