Skip to content

Commit

Permalink
A bunch of new features.
Browse files Browse the repository at this point in the history
Ability to change download directory, set speed limit, and add username/password for authentication, also button for opening the download folder.
  • Loading branch information
giantpinkrobots committed Dec 6, 2023
1 parent 0f1bbc7 commit 9bf5488
Show file tree
Hide file tree
Showing 6 changed files with 473 additions and 196 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
.flatpak
.vscode
_build
2 changes: 1 addition & 1 deletion po/LINGUAS
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ nl
oc
pt_BR
ru
tr
tr
42 changes: 41 additions & 1 deletion po/Varia.pot
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ msgid "Download"
msgstr ""

#: src/variamain.py:184
msgid "Open Downloads Folder"
msgid "Open Download Folder"
msgstr ""

#: src/variamain.py:196
Expand All @@ -79,11 +79,23 @@ msgstr ""
msgid "Cancel All"
msgstr ""

#: src/variamain.py:235
msgid "/s"
msgstr ""

#: src/variamain.py:238
msgid "No limit"
msgstr ""

#: src/variamain.py:274
msgid "Download complete."
msgstr ""

#: src/variamain.py:276
msgid "Download speed is limited."
msgstr ""

#: src/variamain.py:277
msgid "An error occurred:"
msgstr ""

Expand Down Expand Up @@ -136,6 +148,34 @@ msgstr ""
msgid "translator-credits"
msgstr ""

#: src/variamain.py:457
msgid "Download Directory"
msgstr ""

#: src/variamain.py:460
msgid "Change"
msgstr ""

#: src/variamain.py:463
msgid "Speed limited"
msgstr ""

#: src/variamain.py:519
msgid "Authentication"
msgstr ""

#: src/variamain.py:532
msgid "Username"
msgstr ""

#: src/variamain.py:534
msgid "Password"
msgstr ""

#: src/variamain.py:554
msgid "Authorization failed."
msgstr ""

#: src/gtk/help-overlay.ui:11
msgctxt "shortcut window"
msgid "General"
Expand Down
44 changes: 42 additions & 2 deletions po/tr.po
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,8 @@ msgid "Download"
msgstr "İndir"

#: src/variamain.py:184
msgid "Open Downloads Folder"
msgstr "İndirilenler Klasörünü Aç"
msgid "Open Download Folder"
msgstr "İndirme Klasörünü Aç"

#: src/variamain.py:196
msgid "Speed Limit"
Expand All @@ -83,11 +83,23 @@ msgstr "Hız Sınırı Koy"
msgid "Cancel All"
msgstr "Tümünü İptal Et"

#: src/variamain.py:235
msgid "/s"
msgstr "/s"

#: src/variamain.py:238
msgid "No limit"
msgstr "Limit yok"

#: src/variamain.py:274
msgid "Download complete."
msgstr "İndirme tamamlandı."

#: src/variamain.py:276
msgid "Download speed is limited."
msgstr "İndirme hızı sınırlandı."

#: src/variamain.py:277
msgid "An error occurred:"
msgstr "Hata oluştu:"

Expand Down Expand Up @@ -150,6 +162,34 @@ msgstr ""
msgid "translator-credits"
msgstr "Sabri Ünal <[email protected]>\nGiant Pink Robots! <[email protected]>"

#: src/variamain.py:457
msgid "Download Directory"
msgstr "İndirme Klasörü"

#: src/variamain.py:460
msgid "Change"
msgstr "Değiştir"

#: src/variamain.py:463
msgid "Speed limited"
msgstr "Hız sınırlı"

#: src/variamain.py:519
msgid "Authentication"
msgstr "Kimlik Doğrulama"

#: src/variamain.py:532
msgid "Username"
msgstr "Kullanıcı Adı"

#: src/variamain.py:534
msgid "Password"
msgstr "Şifre"

#: src/variamain.py:554
msgid "Authorization failed."
msgstr "Yetkilendirme başarısız oldu."

#: src/gtk/help-overlay.ui:11
msgctxt "shortcut window"
msgid "General"
Expand Down
3 changes: 1 addition & 2 deletions src/varia.in
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
#!/bin/bash
download_dir=$(xdg-user-dir DOWNLOAD)
pythonexec='@PYTHON@'
pkgdatadir='@pkgdatadir@'
$pkgdatadir/../../aria2/aria2c -d $download_dir --enable-rpc --rpc-listen-port=6801 &
$pkgdatadir/../../aria2/aria2c --enable-rpc --rpc-listen-port=6801 &
$pythonexec $pkgdatadir/../../bin/varia-py.py
Loading

0 comments on commit 9bf5488

Please sign in to comment.