mirror of
https://github.com/GopeedLab/gopeed.git
synced 2026-11-18 22:33:42 +00:00
feat: ed2k protocol support (#1316)
This commit is contained in:
35 files changed
+1129
-35
No files matched your search
@@ -45,6 +45,7 @@ require (
|
|||||||
github.com/klauspost/pgzip v1.2.6 // indirect
|
github.com/klauspost/pgzip v1.2.6 // indirect
|
||||||
github.com/mikelolasagasti/xz v1.0.1 // indirect
|
github.com/mikelolasagasti/xz v1.0.1 // indirect
|
||||||
github.com/minio/minlz v1.0.1 // indirect
|
github.com/minio/minlz v1.0.1 // indirect
|
||||||
|
github.com/monkeyWie/goed2k v0.0.0-20260317100435-7a7575cf2447 // indirect
|
||||||
github.com/nwaples/rardecode/v2 v2.2.0 // indirect
|
github.com/nwaples/rardecode/v2 v2.2.0 // indirect
|
||||||
github.com/onsi/ginkgo/v2 v2.23.4 // indirect
|
github.com/onsi/ginkgo/v2 v2.23.4 // indirect
|
||||||
github.com/pierrec/lz4/v4 v4.1.22 // indirect
|
github.com/pierrec/lz4/v4 v4.1.22 // indirect
|
||||||
|
|||||||
@@ -386,6 +386,10 @@ github.com/modern-go/concurrent v0.0.0-20180228061459-e0a39a4cb421/go.mod h1:6dJ
|
|||||||
github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd/go.mod h1:6dJC0mAP4ikYIbvyc7fijjWJddQyLn8Ig3JB5CqoB9Q=
|
github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd/go.mod h1:6dJC0mAP4ikYIbvyc7fijjWJddQyLn8Ig3JB5CqoB9Q=
|
||||||
github.com/modern-go/reflect2 v0.0.0-20180701023420-4b7aa43c6742/go.mod h1:bx2lNnkwVCuqBIxFjflWJWanXIb3RllmbCylyMrvgv0=
|
github.com/modern-go/reflect2 v0.0.0-20180701023420-4b7aa43c6742/go.mod h1:bx2lNnkwVCuqBIxFjflWJWanXIb3RllmbCylyMrvgv0=
|
||||||
github.com/modern-go/reflect2 v1.0.1/go.mod h1:bx2lNnkwVCuqBIxFjflWJWanXIb3RllmbCylyMrvgv0=
|
github.com/modern-go/reflect2 v1.0.1/go.mod h1:bx2lNnkwVCuqBIxFjflWJWanXIb3RllmbCylyMrvgv0=
|
||||||
|
github.com/monkeyWie/goed2k v0.0.0-20260317094144-6e18d43056e5 h1:tEOucyKJzFsCz5Gr41jFHj8i2g1zemTyS4uyErJgFHc=
|
||||||
|
github.com/monkeyWie/goed2k v0.0.0-20260317094144-6e18d43056e5/go.mod h1:Ry2y1QlzerUgA1hVmExBdXXzE4Sjk1M7w0nSh6dhDOg=
|
||||||
|
github.com/monkeyWie/goed2k v0.0.0-20260317100435-7a7575cf2447 h1:88kRsNwkDKPA4NzRUWdOoIL7SyMNDwtmAxzShKBvKTI=
|
||||||
|
github.com/monkeyWie/goed2k v0.0.0-20260317100435-7a7575cf2447/go.mod h1:Ry2y1QlzerUgA1hVmExBdXXzE4Sjk1M7w0nSh6dhDOg=
|
||||||
github.com/mr-tron/base58 v1.2.0 h1:T/HDJBh4ZCPbU39/+c3rRvE0uKBQlU27+QI8LJ4t64o=
|
github.com/mr-tron/base58 v1.2.0 h1:T/HDJBh4ZCPbU39/+c3rRvE0uKBQlU27+QI8LJ4t64o=
|
||||||
github.com/mr-tron/base58 v1.2.0/go.mod h1:BinMc/sQntlIE1frQmRFPUoPA1Zkr8VRgBdjWI2mNwc=
|
github.com/mr-tron/base58 v1.2.0/go.mod h1:BinMc/sQntlIE1frQmRFPUoPA1Zkr8VRgBdjWI2mNwc=
|
||||||
github.com/mschoch/smat v0.0.0-20160514031455-90eadee771ae/go.mod h1:qAyveg+e4CE+eKJXWVjKXM4ck2QobLqTDytGJbLLhJg=
|
github.com/mschoch/smat v0.0.0-20160514031455-90eadee771ae/go.mod h1:qAyveg+e4CE+eKJXWVjKXM4ck2QobLqTDytGJbLLhJg=
|
||||||
|
|||||||
@@ -127,6 +127,21 @@ type FetcherManager interface {
|
|||||||
Close() error
|
Close() error
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// StatefulFetcherManager is an optional extension for protocols that keep
|
||||||
|
// shared client state outside individual task fetchers.
|
||||||
|
type StatefulFetcherManager interface {
|
||||||
|
SetStateStore(store ProtocolStateStore)
|
||||||
|
}
|
||||||
|
|
||||||
|
// ProtocolStateStore persists shared protocol state for a fetcher manager.
|
||||||
|
// Downloader provides the concrete storage backend, while the protocol decides
|
||||||
|
// when state should be loaded or flushed.
|
||||||
|
type ProtocolStateStore interface {
|
||||||
|
Load(v any) (bool, error)
|
||||||
|
Save(v any) error
|
||||||
|
Delete() error
|
||||||
|
}
|
||||||
|
|
||||||
type DefaultFetcher struct {
|
type DefaultFetcher struct {
|
||||||
Ctl *controller.Controller
|
Ctl *controller.Controller
|
||||||
Meta *FetcherMeta
|
Meta *FetcherMeta
|
||||||
|
|||||||
@@ -0,0 +1,15 @@
|
|||||||
|
package ed2k
|
||||||
|
|
||||||
|
const (
|
||||||
|
defaultServerList = "45.82.80.155:5687,176.123.5.89:4725,85.121.5.137:4232,176.123.2.239:4232,145.239.2.134:4661,91.208.162.87:4232,37.15.61.236:4232"
|
||||||
|
defaultServerMet = "ed2k://|serverlist|http://upd.emule-security.org/server.met|/"
|
||||||
|
defaultNodesDat = "https://upd.emule-security.org/nodes.dat"
|
||||||
|
)
|
||||||
|
|
||||||
|
type config struct {
|
||||||
|
ListenPort int `json:"listenPort"`
|
||||||
|
UDPPort int `json:"udpPort"`
|
||||||
|
ServerAddr string `json:"serverAddr"`
|
||||||
|
ServerMet string `json:"serverMet"`
|
||||||
|
NodesDat string `json:"nodesDat"`
|
||||||
|
}
|
||||||
File diff suppressed because it is too large.
Load diff
@@ -0,0 +1,42 @@
|
|||||||
|
package ed2k
|
||||||
|
|
||||||
|
import (
|
||||||
|
"testing"
|
||||||
|
|
||||||
|
"github.com/GopeedLab/gopeed/internal/controller"
|
||||||
|
"github.com/GopeedLab/gopeed/pkg/base"
|
||||||
|
)
|
||||||
|
|
||||||
|
const testLink = "ed2k://|file|cn_windows_10_multi-edition_vl_version_1709_updated_sept_2017_x64_dvd_100090774.iso|4630972416|8867C5E54405FF9452225B66EFEE690A|/"
|
||||||
|
|
||||||
|
func TestFetcher_Resolve(t *testing.T) {
|
||||||
|
f := (&FetcherManager{}).Build()
|
||||||
|
f.Setup(controller.NewController())
|
||||||
|
|
||||||
|
err := f.Resolve(&base.Request{URL: testLink}, &base.Options{Path: t.TempDir()})
|
||||||
|
if err != nil {
|
||||||
|
t.Fatalf("Resolve() error = %v", err)
|
||||||
|
}
|
||||||
|
|
||||||
|
meta := f.Meta()
|
||||||
|
if meta.Res == nil {
|
||||||
|
t.Fatal("Resolve() resource is nil")
|
||||||
|
}
|
||||||
|
if got, want := meta.Res.Hash, "8867C5E54405FF9452225B66EFEE690A"; got != want {
|
||||||
|
t.Fatalf("Resolve() hash = %s, want %s", got, want)
|
||||||
|
}
|
||||||
|
if got, want := meta.Res.Size, int64(4630972416); got != want {
|
||||||
|
t.Fatalf("Resolve() size = %d, want %d", got, want)
|
||||||
|
}
|
||||||
|
if got, want := meta.Res.Files[0].Name, "cn_windows_10_multi-edition_vl_version_1709_updated_sept_2017_x64_dvd_100090774.iso"; got != want {
|
||||||
|
t.Fatalf("Resolve() name = %q, want %q", got, want)
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
func TestFetcherManager_ParseName(t *testing.T) {
|
||||||
|
got := (&FetcherManager{}).ParseName(testLink)
|
||||||
|
want := "cn_windows_10_multi-edition_vl_version_1709_updated_sept_2017_x64_dvd_100090774.iso"
|
||||||
|
if got != want {
|
||||||
|
t.Fatalf("ParseName() = %q, want %q", got, want)
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -31,6 +31,8 @@ const (
|
|||||||
bucketTask = "task"
|
bucketTask = "task"
|
||||||
// task download data bucket
|
// task download data bucket
|
||||||
bucketSave = "save"
|
bucketSave = "save"
|
||||||
|
// protocol-level shared client state bucket
|
||||||
|
bucketProtocolState = "protocol_state"
|
||||||
// downloader config bucket
|
// downloader config bucket
|
||||||
bucketConfig = "config"
|
bucketConfig = "config"
|
||||||
// downloader extension bucket
|
// downloader extension bucket
|
||||||
@@ -141,7 +143,7 @@ func NewDownloader(cfg *DownloaderConfig) *Downloader {
|
|||||||
|
|
||||||
func (d *Downloader) Setup() error {
|
func (d *Downloader) Setup() error {
|
||||||
// setup storage
|
// setup storage
|
||||||
if err := d.storage.Setup([]string{bucketTask, bucketSave, bucketConfig, bucketExtension, bucketExtensionStorage}); err != nil {
|
if err := d.storage.Setup([]string{bucketTask, bucketSave, bucketProtocolState, bucketConfig, bucketExtension, bucketExtensionStorage}); err != nil {
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
// load config from storage
|
// load config from storage
|
||||||
@@ -165,6 +167,12 @@ func (d *Downloader) Setup() error {
|
|||||||
if _, ok := d.cfg.DownloaderStoreConfig.ProtocolConfig[protocol]; !ok {
|
if _, ok := d.cfg.DownloaderStoreConfig.ProtocolConfig[protocol]; !ok {
|
||||||
d.cfg.DownloaderStoreConfig.ProtocolConfig[protocol] = fm.DefaultConfig()
|
d.cfg.DownloaderStoreConfig.ProtocolConfig[protocol] = fm.DefaultConfig()
|
||||||
}
|
}
|
||||||
|
if sfm, ok := fm.(fetcher.StatefulFetcherManager); ok {
|
||||||
|
sfm.SetStateStore(&protocolStateStore{
|
||||||
|
storage: d.storage,
|
||||||
|
protocol: protocol,
|
||||||
|
})
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// load tasks from storage
|
// load tasks from storage
|
||||||
@@ -358,9 +366,16 @@ func (d *Downloader) saveTask(task *Task) error {
|
|||||||
d.Logger.Error().Stack().Err(err).Msgf("serialize fetcher failed: %s", task.ID)
|
d.Logger.Error().Stack().Err(err).Msgf("serialize fetcher failed: %s", task.ID)
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
if err := d.storage.Put(bucketSave, task.ID, data); err != nil {
|
if data != nil {
|
||||||
d.Logger.Error().Stack().Err(err).Msgf("persist fetcher failed: %s", task.ID)
|
if err := d.storage.Put(bucketSave, task.ID, data); err != nil {
|
||||||
return err
|
d.Logger.Error().Stack().Err(err).Msgf("persist fetcher failed: %s", task.ID)
|
||||||
|
return err
|
||||||
|
}
|
||||||
|
} else {
|
||||||
|
if err := d.storage.Delete(bucketSave, task.ID); err != nil {
|
||||||
|
d.Logger.Error().Stack().Err(err).Msgf("clear fetcher state failed: %s", task.ID)
|
||||||
|
return err
|
||||||
|
}
|
||||||
}
|
}
|
||||||
if err := d.storage.Put(bucketTask, task.ID, task); err != nil {
|
if err := d.storage.Put(bucketTask, task.ID, task); err != nil {
|
||||||
d.Logger.Error().Stack().Err(err).Msgf("persist task failed: %s", task.ID)
|
d.Logger.Error().Stack().Err(err).Msgf("persist task failed: %s", task.ID)
|
||||||
@@ -820,6 +835,26 @@ func (d *Downloader) Clear() error {
|
|||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
||||||
|
type protocolStateStore struct {
|
||||||
|
storage Storage
|
||||||
|
protocol string
|
||||||
|
}
|
||||||
|
|
||||||
|
func (s *protocolStateStore) Load(v any) (bool, error) {
|
||||||
|
return s.storage.Get(bucketProtocolState, s.protocol, v)
|
||||||
|
}
|
||||||
|
|
||||||
|
func (s *protocolStateStore) Save(v any) error {
|
||||||
|
if v == nil {
|
||||||
|
return s.Delete()
|
||||||
|
}
|
||||||
|
return s.storage.Put(bucketProtocolState, s.protocol, v)
|
||||||
|
}
|
||||||
|
|
||||||
|
func (s *protocolStateStore) Delete() error {
|
||||||
|
return s.storage.Delete(bucketProtocolState, s.protocol)
|
||||||
|
}
|
||||||
|
|
||||||
func (d *Downloader) Listener(fn Listener) {
|
func (d *Downloader) Listener(fn Listener) {
|
||||||
d.listener = fn
|
d.listener = fn
|
||||||
}
|
}
|
||||||
@@ -1300,8 +1335,14 @@ func (d *Downloader) doPause(task *Task) (err error) {
|
|||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if err := d.storage.Put(bucketTask, task.ID, task.clone()); err != nil {
|
if task.fetcherManager != nil && task.fetcher != nil {
|
||||||
return err
|
if err := d.saveTask(task); err != nil {
|
||||||
|
return err
|
||||||
|
}
|
||||||
|
} else {
|
||||||
|
if err := d.storage.Put(bucketTask, task.ID, task.clone()); err != nil {
|
||||||
|
return err
|
||||||
|
}
|
||||||
}
|
}
|
||||||
d.emit(EventKeyPause, task)
|
d.emit(EventKeyPause, task)
|
||||||
return nil
|
return nil
|
||||||
|
|||||||
@@ -8,6 +8,7 @@ import (
|
|||||||
"github.com/GopeedLab/gopeed/internal/controller"
|
"github.com/GopeedLab/gopeed/internal/controller"
|
||||||
"github.com/GopeedLab/gopeed/internal/fetcher"
|
"github.com/GopeedLab/gopeed/internal/fetcher"
|
||||||
"github.com/GopeedLab/gopeed/internal/protocol/bt"
|
"github.com/GopeedLab/gopeed/internal/protocol/bt"
|
||||||
|
"github.com/GopeedLab/gopeed/internal/protocol/ed2k"
|
||||||
"github.com/GopeedLab/gopeed/internal/protocol/http"
|
"github.com/GopeedLab/gopeed/internal/protocol/http"
|
||||||
"github.com/GopeedLab/gopeed/pkg/base"
|
"github.com/GopeedLab/gopeed/pkg/base"
|
||||||
"github.com/GopeedLab/gopeed/pkg/util"
|
"github.com/GopeedLab/gopeed/pkg/util"
|
||||||
@@ -110,6 +111,14 @@ func (t *Task) updateUploadSpeed(downloaded int64, usedTime float64) int64 {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func calcSpeed(speedArr *[]int64, downloaded int64, usedTime float64) int64 {
|
func calcSpeed(speedArr *[]int64, downloaded int64, usedTime float64) int64 {
|
||||||
|
if usedTime <= 0 {
|
||||||
|
return 0
|
||||||
|
}
|
||||||
|
if downloaded < 0 {
|
||||||
|
*speedArr = (*speedArr)[:0]
|
||||||
|
return 0
|
||||||
|
}
|
||||||
|
|
||||||
*speedArr = append(*speedArr, downloaded)
|
*speedArr = append(*speedArr, downloaded)
|
||||||
// Record last 5 seconds of download speed to calculate the average speed
|
// Record last 5 seconds of download speed to calculate the average speed
|
||||||
if len(*speedArr) > int(5.0/usedTime) {
|
if len(*speedArr) > int(5.0/usedTime) {
|
||||||
@@ -156,6 +165,7 @@ func (cfg *DownloaderConfig) Init() *DownloaderConfig {
|
|||||||
cfg.FetchManagers = []fetcher.FetcherManager{
|
cfg.FetchManagers = []fetcher.FetcherManager{
|
||||||
new(http.FetcherManager),
|
new(http.FetcherManager),
|
||||||
new(bt.FetcherManager),
|
new(bt.FetcherManager),
|
||||||
|
new(ed2k.FetcherManager),
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if cfg.RefreshInterval == 0 {
|
if cfg.RefreshInterval == 0 {
|
||||||
|
|||||||
@@ -0,0 +1,18 @@
|
|||||||
|
package download
|
||||||
|
|
||||||
|
import "testing"
|
||||||
|
|
||||||
|
func TestCalcSpeedResetOnRollback(t *testing.T) {
|
||||||
|
speedArr := []int64{1024, 2048, 4096}
|
||||||
|
|
||||||
|
if got := calcSpeed(&speedArr, -512, 1); got != 0 {
|
||||||
|
t.Fatalf("calcSpeed() = %d, want 0 after rollback", got)
|
||||||
|
}
|
||||||
|
if len(speedArr) != 0 {
|
||||||
|
t.Fatalf("speed window len = %d, want 0 after rollback", len(speedArr))
|
||||||
|
}
|
||||||
|
|
||||||
|
if got := calcSpeed(&speedArr, 1024, 1); got != 1024 {
|
||||||
|
t.Fatalf("calcSpeed() = %d, want 1024 after reset", got)
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,14 @@
|
|||||||
|
package ed2k
|
||||||
|
|
||||||
|
type Stats struct {
|
||||||
|
State string `json:"state"`
|
||||||
|
Paused bool `json:"paused"`
|
||||||
|
ActivePeers int `json:"activePeers"`
|
||||||
|
TotalPeers int `json:"totalPeers"`
|
||||||
|
DownloadRate int `json:"downloadRate"`
|
||||||
|
Upload int64 `json:"upload"`
|
||||||
|
UploadRate int `json:"uploadRate"`
|
||||||
|
TotalDone int64 `json:"totalDone"`
|
||||||
|
TotalReceived int64 `json:"totalReceived"`
|
||||||
|
TotalWanted int64 `json:"totalWanted"`
|
||||||
|
}
|
||||||
@@ -31,6 +31,7 @@ class DownloaderConfig {
|
|||||||
class ProtocolConfig {
|
class ProtocolConfig {
|
||||||
HttpConfig http = HttpConfig();
|
HttpConfig http = HttpConfig();
|
||||||
BtConfig bt = BtConfig();
|
BtConfig bt = BtConfig();
|
||||||
|
Ed2kConfig ed2k = Ed2kConfig();
|
||||||
|
|
||||||
ProtocolConfig();
|
ProtocolConfig();
|
||||||
|
|
||||||
@@ -80,6 +81,28 @@ class BtConfig {
|
|||||||
Map<String, dynamic> toJson() => _$BtConfigToJson(this);
|
Map<String, dynamic> toJson() => _$BtConfigToJson(this);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@JsonSerializable()
|
||||||
|
class Ed2kConfig {
|
||||||
|
int listenPort;
|
||||||
|
int udpPort;
|
||||||
|
String serverAddr;
|
||||||
|
String serverMet;
|
||||||
|
String nodesDat;
|
||||||
|
|
||||||
|
Ed2kConfig({
|
||||||
|
this.listenPort = 0,
|
||||||
|
this.udpPort = 0,
|
||||||
|
this.serverAddr = '',
|
||||||
|
this.serverMet = '',
|
||||||
|
this.nodesDat = '',
|
||||||
|
});
|
||||||
|
|
||||||
|
factory Ed2kConfig.fromJson(Map<String, dynamic> json) =>
|
||||||
|
_$Ed2kConfigFromJson(json);
|
||||||
|
|
||||||
|
Map<String, dynamic> toJson() => _$Ed2kConfigToJson(this);
|
||||||
|
}
|
||||||
|
|
||||||
@JsonSerializable(explicitToJson: true)
|
@JsonSerializable(explicitToJson: true)
|
||||||
class ExtraConfig {
|
class ExtraConfig {
|
||||||
String themeMode;
|
String themeMode;
|
||||||
|
|||||||
@@ -42,12 +42,15 @@ Map<String, dynamic> _$DownloaderConfigToJson(DownloaderConfig instance) =>
|
|||||||
ProtocolConfig _$ProtocolConfigFromJson(Map<String, dynamic> json) =>
|
ProtocolConfig _$ProtocolConfigFromJson(Map<String, dynamic> json) =>
|
||||||
ProtocolConfig()
|
ProtocolConfig()
|
||||||
..http = HttpConfig.fromJson(json['http'] as Map<String, dynamic>)
|
..http = HttpConfig.fromJson(json['http'] as Map<String, dynamic>)
|
||||||
..bt = BtConfig.fromJson(json['bt'] as Map<String, dynamic>);
|
..bt = BtConfig.fromJson(json['bt'] as Map<String, dynamic>)
|
||||||
|
..ed2k = Ed2kConfig.fromJson(
|
||||||
|
json['ed2k'] as Map<String, dynamic>? ?? <String, dynamic>{});
|
||||||
|
|
||||||
Map<String, dynamic> _$ProtocolConfigToJson(ProtocolConfig instance) =>
|
Map<String, dynamic> _$ProtocolConfigToJson(ProtocolConfig instance) =>
|
||||||
<String, dynamic>{
|
<String, dynamic>{
|
||||||
'http': instance.http.toJson(),
|
'http': instance.http.toJson(),
|
||||||
'bt': instance.bt.toJson(),
|
'bt': instance.bt.toJson(),
|
||||||
|
'ed2k': instance.ed2k.toJson(),
|
||||||
};
|
};
|
||||||
|
|
||||||
HttpConfig _$HttpConfigFromJson(Map<String, dynamic> json) => HttpConfig(
|
HttpConfig _$HttpConfigFromJson(Map<String, dynamic> json) => HttpConfig(
|
||||||
@@ -82,6 +85,23 @@ Map<String, dynamic> _$BtConfigToJson(BtConfig instance) => <String, dynamic>{
|
|||||||
'seedTime': instance.seedTime,
|
'seedTime': instance.seedTime,
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Ed2kConfig _$Ed2kConfigFromJson(Map<String, dynamic> json) => Ed2kConfig(
|
||||||
|
listenPort: (json['listenPort'] as num?)?.toInt() ?? 0,
|
||||||
|
udpPort: (json['udpPort'] as num?)?.toInt() ?? 0,
|
||||||
|
serverAddr: json['serverAddr'] as String? ?? '',
|
||||||
|
serverMet: json['serverMet'] as String? ?? '',
|
||||||
|
nodesDat: json['nodesDat'] as String? ?? '',
|
||||||
|
);
|
||||||
|
|
||||||
|
Map<String, dynamic> _$Ed2kConfigToJson(Ed2kConfig instance) =>
|
||||||
|
<String, dynamic>{
|
||||||
|
'listenPort': instance.listenPort,
|
||||||
|
'udpPort': instance.udpPort,
|
||||||
|
'serverAddr': instance.serverAddr,
|
||||||
|
'serverMet': instance.serverMet,
|
||||||
|
'nodesDat': instance.nodesDat,
|
||||||
|
};
|
||||||
|
|
||||||
ExtraConfig _$ExtraConfigFromJson(Map<String, dynamic> json) => ExtraConfig(
|
ExtraConfig _$ExtraConfigFromJson(Map<String, dynamic> json) => ExtraConfig(
|
||||||
themeMode: json['themeMode'] as String? ?? '',
|
themeMode: json['themeMode'] as String? ?? '',
|
||||||
locale: json['locale'] as String? ?? '',
|
locale: json['locale'] as String? ?? '',
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ part 'task.g.dart';
|
|||||||
|
|
||||||
enum Status { ready, running, pause, wait, error, done }
|
enum Status { ready, running, pause, wait, error, done }
|
||||||
|
|
||||||
enum Protocol { http, bt }
|
enum Protocol { http, bt, ed2k }
|
||||||
|
|
||||||
// ExtractStatus enum matching Go backend
|
// ExtractStatus enum matching Go backend
|
||||||
enum ExtractStatus {
|
enum ExtractStatus {
|
||||||
|
|||||||
@@ -51,6 +51,7 @@ const _$StatusEnumMap = {
|
|||||||
const _$ProtocolEnumMap = {
|
const _$ProtocolEnumMap = {
|
||||||
Protocol.http: 'http',
|
Protocol.http: 'http',
|
||||||
Protocol.bt: 'bt',
|
Protocol.bt: 'bt',
|
||||||
|
Protocol.ed2k: 'ed2k',
|
||||||
};
|
};
|
||||||
|
|
||||||
Progress _$ProgressFromJson(Map<String, dynamic> json) => Progress(
|
Progress _$ProgressFromJson(Map<String, dynamic> json) => Progress(
|
||||||
|
|||||||
@@ -59,7 +59,7 @@ class CreateView extends GetView<CreateController> {
|
|||||||
final _btTrackerController = TextEditingController();
|
final _btTrackerController = TextEditingController();
|
||||||
final _archivePasswordController = TextEditingController();
|
final _archivePasswordController = TextEditingController();
|
||||||
|
|
||||||
final _availableSchemes = ["http:", "https:", "magnet:"];
|
final _availableSchemes = ["http:", "https:", "magnet:", "ed2k:"];
|
||||||
|
|
||||||
final _skipVerifyCertController = false.obs;
|
final _skipVerifyCertController = false.obs;
|
||||||
final _autoTorrentController = Rxn<bool>();
|
final _autoTorrentController = Rxn<bool>();
|
||||||
@@ -116,6 +116,7 @@ class CreateView extends GetView<CreateController> {
|
|||||||
jsonDecode(jsonEncode(routerParams.req!.extra)));
|
jsonDecode(jsonEncode(routerParams.req!.extra)));
|
||||||
_btTrackerController.text = reqExtra.trackers.join("\n");
|
_btTrackerController.text = reqExtra.trackers.join("\n");
|
||||||
},
|
},
|
||||||
|
Protocol.ed2k: null,
|
||||||
};
|
};
|
||||||
if (routerParams.req?.extra != null) {
|
if (routerParams.req?.extra != null) {
|
||||||
extraHandlers[protocol]?.call();
|
extraHandlers[protocol]?.call();
|
||||||
@@ -139,6 +140,7 @@ class CreateView extends GetView<CreateController> {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
Protocol.bt: null,
|
Protocol.bt: null,
|
||||||
|
Protocol.ed2k: null,
|
||||||
};
|
};
|
||||||
if (routerParams.opts?.extra != null) {
|
if (routerParams.opts?.extra != null) {
|
||||||
optionsHandlers[protocol]?.call();
|
optionsHandlers[protocol]?.call();
|
||||||
@@ -804,6 +806,9 @@ class CreateView extends GetView<CreateController> {
|
|||||||
uppercaseUrl.endsWith(".TORRENT")) {
|
uppercaseUrl.endsWith(".TORRENT")) {
|
||||||
protocol = Protocol.bt;
|
protocol = Protocol.bt;
|
||||||
}
|
}
|
||||||
|
if (uppercaseUrl.startsWith("ED2K:")) {
|
||||||
|
protocol = Protocol.ed2k;
|
||||||
|
}
|
||||||
return protocol;
|
return protocol;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1007,6 +1012,9 @@ class CreateView extends GetView<CreateController> {
|
|||||||
..trackers = Util.textToLines(_btTrackerController.text);
|
..trackers = Util.textToLines(_btTrackerController.text);
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
case Protocol.ed2k:
|
||||||
|
case null:
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
return reqExtra;
|
return reqExtra;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -501,14 +501,16 @@ class SettingView extends GetView<SettingController> {
|
|||||||
final buildDesktopNotification = !Util.isDesktop()
|
final buildDesktopNotification = !Util.isDesktop()
|
||||||
? () => null
|
? () => null
|
||||||
: _buildConfigItem('desktopNotification', () {
|
: _buildConfigItem('desktopNotification', () {
|
||||||
return appController.downloaderConfig.value.extra.desktopNotification
|
return appController
|
||||||
|
.downloaderConfig.value.extra.desktopNotification
|
||||||
? 'on'.tr
|
? 'on'.tr
|
||||||
: 'off'.tr;
|
: 'off'.tr;
|
||||||
}, (Key key) {
|
}, (Key key) {
|
||||||
return Container(
|
return Container(
|
||||||
alignment: Alignment.centerLeft,
|
alignment: Alignment.centerLeft,
|
||||||
child: Switch(
|
child: Switch(
|
||||||
value: appController.downloaderConfig.value.extra.desktopNotification,
|
value: appController
|
||||||
|
.downloaderConfig.value.extra.desktopNotification,
|
||||||
onChanged: (bool value) async {
|
onChanged: (bool value) async {
|
||||||
appController.downloaderConfig.update((val) {
|
appController.downloaderConfig.update((val) {
|
||||||
val!.extra.desktopNotification = value;
|
val!.extra.desktopNotification = value;
|
||||||
@@ -787,6 +789,138 @@ class SettingView extends GetView<SettingController> {
|
|||||||
);
|
);
|
||||||
});
|
});
|
||||||
|
|
||||||
|
// ed2k config items start
|
||||||
|
final ed2kConfig = downloaderCfg.value.protocolConfig.ed2k;
|
||||||
|
List<String> parseEd2kEntries(String value) {
|
||||||
|
return value
|
||||||
|
.split(',')
|
||||||
|
.map((e) => e.trim())
|
||||||
|
.where((e) => e.isNotEmpty)
|
||||||
|
.toList();
|
||||||
|
}
|
||||||
|
|
||||||
|
String summarizeEd2kEntries(String value) {
|
||||||
|
final entries = parseEd2kEntries(value);
|
||||||
|
if (entries.isEmpty) {
|
||||||
|
return 'notSet'.tr;
|
||||||
|
}
|
||||||
|
return 'items'.trParams({'count': entries.length.toString()});
|
||||||
|
}
|
||||||
|
|
||||||
|
String formatEd2kMultilineValue(String value) {
|
||||||
|
return parseEd2kEntries(value).join('\r\n');
|
||||||
|
}
|
||||||
|
|
||||||
|
final buildEd2kListenPort = _buildConfigItem(
|
||||||
|
'ed2kTcpPort', () => ed2kConfig.listenPort.toString(), (Key key) {
|
||||||
|
final controller =
|
||||||
|
TextEditingController(text: ed2kConfig.listenPort.toString());
|
||||||
|
controller.addListener(() async {
|
||||||
|
if (controller.text.isNotEmpty &&
|
||||||
|
controller.text != ed2kConfig.listenPort.toString()) {
|
||||||
|
ed2kConfig.listenPort = int.parse(controller.text);
|
||||||
|
await debounceSave();
|
||||||
|
}
|
||||||
|
});
|
||||||
|
|
||||||
|
return TextField(
|
||||||
|
key: key,
|
||||||
|
focusNode: FocusNode(),
|
||||||
|
controller: controller,
|
||||||
|
keyboardType: TextInputType.number,
|
||||||
|
inputFormatters: [
|
||||||
|
FilteringTextInputFormatter.digitsOnly,
|
||||||
|
NumericalRangeFormatter(min: 0, max: 65535),
|
||||||
|
],
|
||||||
|
);
|
||||||
|
});
|
||||||
|
final buildEd2kUdpPort = _buildConfigItem(
|
||||||
|
'ed2kUdpPort', () => ed2kConfig.udpPort.toString(), (Key key) {
|
||||||
|
final controller =
|
||||||
|
TextEditingController(text: ed2kConfig.udpPort.toString());
|
||||||
|
controller.addListener(() async {
|
||||||
|
if (controller.text.isNotEmpty &&
|
||||||
|
controller.text != ed2kConfig.udpPort.toString()) {
|
||||||
|
ed2kConfig.udpPort = int.parse(controller.text);
|
||||||
|
await debounceSave();
|
||||||
|
}
|
||||||
|
});
|
||||||
|
|
||||||
|
return TextField(
|
||||||
|
key: key,
|
||||||
|
focusNode: FocusNode(),
|
||||||
|
controller: controller,
|
||||||
|
keyboardType: TextInputType.number,
|
||||||
|
inputFormatters: [
|
||||||
|
FilteringTextInputFormatter.digitsOnly,
|
||||||
|
NumericalRangeFormatter(min: 0, max: 65535),
|
||||||
|
],
|
||||||
|
);
|
||||||
|
});
|
||||||
|
final buildEd2kServerAddr = _buildConfigItem(
|
||||||
|
'ed2kServerList', () => summarizeEd2kEntries(ed2kConfig.serverAddr),
|
||||||
|
(Key key) {
|
||||||
|
final controller = TextEditingController(
|
||||||
|
text: formatEd2kMultilineValue(ed2kConfig.serverAddr));
|
||||||
|
return TextField(
|
||||||
|
key: key,
|
||||||
|
focusNode: FocusNode(),
|
||||||
|
controller: controller,
|
||||||
|
keyboardType: TextInputType.multiline,
|
||||||
|
maxLines: 5,
|
||||||
|
decoration: InputDecoration(
|
||||||
|
hintText: 'ed2kServersHint'.tr,
|
||||||
|
helperText: 'ed2kOnePerLine'.tr,
|
||||||
|
),
|
||||||
|
onChanged: (value) async {
|
||||||
|
ed2kConfig.serverAddr = Util.textToLines(value).join(',');
|
||||||
|
await debounceSave();
|
||||||
|
},
|
||||||
|
);
|
||||||
|
});
|
||||||
|
final buildEd2kServerMet = _buildConfigItem(
|
||||||
|
'ed2kServerMet', () => summarizeEd2kEntries(ed2kConfig.serverMet),
|
||||||
|
(Key key) {
|
||||||
|
final controller = TextEditingController(
|
||||||
|
text: formatEd2kMultilineValue(ed2kConfig.serverMet));
|
||||||
|
return TextField(
|
||||||
|
key: key,
|
||||||
|
focusNode: FocusNode(),
|
||||||
|
controller: controller,
|
||||||
|
keyboardType: TextInputType.multiline,
|
||||||
|
maxLines: 4,
|
||||||
|
decoration: InputDecoration(
|
||||||
|
hintText: 'ed2kServerMetHint'.tr,
|
||||||
|
helperText: 'ed2kOnePerLine'.tr,
|
||||||
|
),
|
||||||
|
onChanged: (value) async {
|
||||||
|
ed2kConfig.serverMet = Util.textToLines(value).join(',');
|
||||||
|
await debounceSave();
|
||||||
|
},
|
||||||
|
);
|
||||||
|
});
|
||||||
|
final buildEd2kNodesDat = _buildConfigItem(
|
||||||
|
'ed2kNodesDat', () => summarizeEd2kEntries(ed2kConfig.nodesDat),
|
||||||
|
(Key key) {
|
||||||
|
final controller = TextEditingController(
|
||||||
|
text: formatEd2kMultilineValue(ed2kConfig.nodesDat));
|
||||||
|
return TextField(
|
||||||
|
key: key,
|
||||||
|
focusNode: FocusNode(),
|
||||||
|
controller: controller,
|
||||||
|
keyboardType: TextInputType.multiline,
|
||||||
|
maxLines: 4,
|
||||||
|
decoration: InputDecoration(
|
||||||
|
hintText: 'ed2kNodesDatHint'.tr,
|
||||||
|
helperText: 'ed2kOnePerLine'.tr,
|
||||||
|
),
|
||||||
|
onChanged: (value) async {
|
||||||
|
ed2kConfig.nodesDat = Util.textToLines(value).join(',');
|
||||||
|
await debounceSave();
|
||||||
|
},
|
||||||
|
);
|
||||||
|
});
|
||||||
|
|
||||||
// ui config items start
|
// ui config items start
|
||||||
final buildTheme = _buildConfigItem(
|
final buildTheme = _buildConfigItem(
|
||||||
'theme',
|
'theme',
|
||||||
@@ -1648,6 +1782,17 @@ class SettingView extends GetView<SettingController> {
|
|||||||
buildBtDefaultClientConfig(),
|
buildBtDefaultClientConfig(),
|
||||||
]),
|
]),
|
||||||
)),
|
)),
|
||||||
|
Text('ed2k'.tr),
|
||||||
|
Card(
|
||||||
|
child: Column(
|
||||||
|
children: _addDivider([
|
||||||
|
buildEd2kListenPort(),
|
||||||
|
buildEd2kUdpPort(),
|
||||||
|
buildEd2kServerAddr(),
|
||||||
|
buildEd2kServerMet(),
|
||||||
|
buildEd2kNodesDat(),
|
||||||
|
]),
|
||||||
|
)),
|
||||||
Text('ui'.tr),
|
Text('ui'.tr),
|
||||||
Card(
|
Card(
|
||||||
child: Column(
|
child: Column(
|
||||||
|
|||||||
@@ -35,14 +35,18 @@ const caES = {
|
|||||||
'downloadDir': 'Carpeta de baixades',
|
'downloadDir': 'Carpeta de baixades',
|
||||||
'downloadDirValid': 'Seleccioneu la carpeta de baixades',
|
'downloadDirValid': 'Seleccioneu la carpeta de baixades',
|
||||||
'connections': 'Connexions',
|
'connections': 'Connexions',
|
||||||
'useServerCtime': 'Utilitza l\'hora del servidor per a la creació de fitxers',
|
'useServerCtime':
|
||||||
|
'Utilitza l\'hora del servidor per a la creació de fitxers',
|
||||||
'maxRunning': 'Màxim de tasques en execució',
|
'maxRunning': 'Màxim de tasques en execució',
|
||||||
'defaultDirectDownload': 'Activa la baixada directa per defecte',
|
'defaultDirectDownload': 'Activa la baixada directa per defecte',
|
||||||
'autoStartTasks': 'Inicia automàticament les tasques incompletes a l\'inici',
|
'autoStartTasks':
|
||||||
'autoTorrentEnable': 'Crea automàticament tasques BT a partir de fitxers .torrent',
|
'Inicia automàticament les tasques incompletes a l\'inici',
|
||||||
|
'autoTorrentEnable':
|
||||||
|
'Crea automàticament tasques BT a partir de fitxers .torrent',
|
||||||
'autoTorrentDeleteAfterDownload':
|
'autoTorrentDeleteAfterDownload':
|
||||||
'Suprimeix el fitxer .torrent després de crear la tasca BT',
|
'Suprimeix el fitxer .torrent després de crear la tasca BT',
|
||||||
'autoDeleteMissingFileTasks': 'Suprimeix automàticament les tasques dels fitxers que falten',
|
'autoDeleteMissingFileTasks':
|
||||||
|
'Suprimeix automàticament les tasques dels fitxers que falten',
|
||||||
'items': '@count elements',
|
'items': '@count elements',
|
||||||
'subscribeTracker': 'Subscripció al rastrejador',
|
'subscribeTracker': 'Subscripció al rastrejador',
|
||||||
'subscribeFail':
|
'subscribeFail':
|
||||||
@@ -51,7 +55,8 @@ const caES = {
|
|||||||
'updateDaily': 'Actualització diària',
|
'updateDaily': 'Actualització diària',
|
||||||
'lastUpdate': 'Última actualització: @time',
|
'lastUpdate': 'Última actualització: @time',
|
||||||
'addTracker': 'Afegeix un rastrejador',
|
'addTracker': 'Afegeix un rastrejador',
|
||||||
'addTrackerHit': 'Introduïu la URL del servidor del rastrejador, un per línia',
|
'addTrackerHit':
|
||||||
|
'Introduïu la URL del servidor del rastrejador, un per línia',
|
||||||
'ui': 'UI',
|
'ui': 'UI',
|
||||||
'theme': 'Tema',
|
'theme': 'Tema',
|
||||||
'themeSystem': 'Sistema',
|
'themeSystem': 'Sistema',
|
||||||
@@ -60,7 +65,8 @@ const caES = {
|
|||||||
'locale': 'Idioma',
|
'locale': 'Idioma',
|
||||||
'notifyWhenNewVersion': 'Notificació d\'actualitzacions',
|
'notifyWhenNewVersion': 'Notificació d\'actualitzacions',
|
||||||
'analyticsEnabled': 'Puja les estadístiques',
|
'analyticsEnabled': 'Puja les estadístiques',
|
||||||
'analyticsEnabledDesc': 'Compartiu dades d\'ús anònimes per ajudar-nos a millorar',
|
'analyticsEnabledDesc':
|
||||||
|
'Compartiu dades d\'ús anònimes per ajudar-nos a millorar',
|
||||||
'about': 'Quant a',
|
'about': 'Quant a',
|
||||||
'homepage': 'Pàgina d\'inici',
|
'homepage': 'Pàgina d\'inici',
|
||||||
'version': 'Versió',
|
'version': 'Versió',
|
||||||
@@ -75,15 +81,18 @@ const caES = {
|
|||||||
'logDirectory': 'Carpeta dels registres',
|
'logDirectory': 'Carpeta dels registres',
|
||||||
'webhook': 'Webhook',
|
'webhook': 'Webhook',
|
||||||
'webhookEnable': 'Activa el Webhook',
|
'webhookEnable': 'Activa el Webhook',
|
||||||
'webhookDesc': 'Envia notificacions HTTP POST quan les tasques finalitzin o fallin',
|
'webhookDesc':
|
||||||
|
'Envia notificacions HTTP POST quan les tasques finalitzin o fallin',
|
||||||
'webhookUrlHint': 'Introduïu la URL del webhook',
|
'webhookUrlHint': 'Introduïu la URL del webhook',
|
||||||
'webhookTest': 'Prova',
|
'webhookTest': 'Prova',
|
||||||
'webhookTestSuccess': 'La prova del webhook ha estat correcta',
|
'webhookTestSuccess': 'La prova del webhook ha estat correcta',
|
||||||
'webhookTestFail': 'La prova del webhook ha fallat',
|
'webhookTestFail': 'La prova del webhook ha fallat',
|
||||||
'script': 'Seqüència d\'ordres',
|
'script': 'Seqüència d\'ordres',
|
||||||
'scriptEnable': 'Activa la seqüència d\'ordres',
|
'scriptEnable': 'Activa la seqüència d\'ordres',
|
||||||
'scriptDesc': 'Executa seqüències d\'ordres personalitzades quan les baixades finalitzin correctament',
|
'scriptDesc':
|
||||||
'scriptPathHint': 'Introduïu la ruta del fitxer de seqüències d\'ordres (p.ex., /ruta/al/fitxer.sh)',
|
'Executa seqüències d\'ordres personalitzades quan les baixades finalitzin correctament',
|
||||||
|
'scriptPathHint':
|
||||||
|
'Introduïu la ruta del fitxer de seqüències d\'ordres (p.ex., /ruta/al/fitxer.sh)',
|
||||||
'urlInvalid': 'Introduïu una URL HTTP o HTTPS vàlida',
|
'urlInvalid': 'Introduïu una URL HTTP o HTTPS vàlida',
|
||||||
'required': 'Aquest camp és obligatori',
|
'required': 'Aquest camp és obligatori',
|
||||||
'show': 'Mostra',
|
'show': 'Mostra',
|
||||||
@@ -147,7 +156,8 @@ const caES = {
|
|||||||
'browserExtension': 'Extensió del navegador',
|
'browserExtension': 'Extensió del navegador',
|
||||||
'launchAtStartup': 'Executa a l\'inici',
|
'launchAtStartup': 'Executa a l\'inici',
|
||||||
'runAsMenubarApp': 'Executa com a aplicació de barra de menú',
|
'runAsMenubarApp': 'Executa com a aplicació de barra de menú',
|
||||||
'runAsMenubarAppDesc': 'Amaga la icona de l\'acoblador i executa només a la barra de menú',
|
'runAsMenubarAppDesc':
|
||||||
|
'Amaga la icona de l\'acoblador i executa només a la barra de menú',
|
||||||
'seedConfig': 'Configuració de les llavors',
|
'seedConfig': 'Configuració de les llavors',
|
||||||
'seedKeep': 'Continua sembrant fins que s\'aturi manualment',
|
'seedKeep': 'Continua sembrant fins que s\'aturi manualment',
|
||||||
'seedRatio': 'Proporció de les llavors',
|
'seedRatio': 'Proporció de les llavors',
|
||||||
@@ -161,7 +171,8 @@ const caES = {
|
|||||||
'archives': 'Comprimits',
|
'archives': 'Comprimits',
|
||||||
'autoExtract': 'Extreu els comprimits automàticament',
|
'autoExtract': 'Extreu els comprimits automàticament',
|
||||||
'archivePassword': 'Contrasenya del comprimit',
|
'archivePassword': 'Contrasenya del comprimit',
|
||||||
'archivePasswordHint': 'Deixeu-lo en blanc si no està protegit amb contrasenya',
|
'archivePasswordHint':
|
||||||
|
'Deixeu-lo en blanc si no està protegit amb contrasenya',
|
||||||
'deleteAfterExtract': 'Suprimeix el comprimit després de l\'extracció',
|
'deleteAfterExtract': 'Suprimeix el comprimit després de l\'extracció',
|
||||||
'extracting': 'S\'està extraient',
|
'extracting': 'S\'està extraient',
|
||||||
'extractDone': 'Extracció completada',
|
'extractDone': 'Extracció completada',
|
||||||
@@ -179,7 +190,8 @@ const caES = {
|
|||||||
'username_required': 'Introduïu el vostre nom d\'usuari',
|
'username_required': 'Introduïu el vostre nom d\'usuari',
|
||||||
'password_required': 'Introduïu la vostra contrasenya',
|
'password_required': 'Introduïu la vostra contrasenya',
|
||||||
'login_success': 'Inici de sessió correcte',
|
'login_success': 'Inici de sessió correcte',
|
||||||
'login_failed': 'No s\'ha pogut iniciar la sessió, comproveu el vostre nom d\'usuari i contrasenya',
|
'login_failed':
|
||||||
|
'No s\'ha pogut iniciar la sessió, comproveu el vostre nom d\'usuari i contrasenya',
|
||||||
'login_failed_network':
|
'login_failed_network':
|
||||||
'No s\'ha pogut iniciar la sessió, comproveu la vostra connexió de xarxa',
|
'No s\'ha pogut iniciar la sessió, comproveu la vostra connexió de xarxa',
|
||||||
'insertPlaceholder': 'Inseriu un marcador de posició',
|
'insertPlaceholder': 'Inseriu un marcador de posició',
|
||||||
@@ -199,7 +211,8 @@ const caES = {
|
|||||||
'selectCategory': 'Seleccioneu una categoria',
|
'selectCategory': 'Seleccioneu una categoria',
|
||||||
'githubMirror': 'Rèplica del GitHub',
|
'githubMirror': 'Rèplica del GitHub',
|
||||||
'githubMirrorEnable': 'Activa la rèplica del GitHub',
|
'githubMirrorEnable': 'Activa la rèplica del GitHub',
|
||||||
'githubMirrorDesc': 'Utilitzeu rèpliques per accelerar les baixades de contingut del GitHub',
|
'githubMirrorDesc':
|
||||||
|
'Utilitzeu rèpliques per accelerar les baixades de contingut del GitHub',
|
||||||
'githubMirrorType': 'Tipus de rèplica',
|
'githubMirrorType': 'Tipus de rèplica',
|
||||||
'githubMirrorUrl': 'URL de la rèplica',
|
'githubMirrorUrl': 'URL de la rèplica',
|
||||||
'githubMirrorUrlHint': 'Introduïu la URL de la rèplica',
|
'githubMirrorUrlHint': 'Introduïu la URL de la rèplica',
|
||||||
@@ -214,6 +227,17 @@ const caES = {
|
|||||||
'La tasca "@name" està esperant l\'actualització de la URL. Voleu actualitzar-la amb la URL nova?',
|
'La tasca "@name" està esperant l\'actualització de la URL. Voleu actualitzar-la amb la URL nova?',
|
||||||
'pendingUpdateYes': 'Actualitza la tasca',
|
'pendingUpdateYes': 'Actualitza la tasca',
|
||||||
'pendingUpdateNo': 'Crea una tasca nova',
|
'pendingUpdateNo': 'Crea una tasca nova',
|
||||||
|
'ed2k': 'ED2K',
|
||||||
|
'ed2kTcpPort': 'TCP Listen Port',
|
||||||
|
'ed2kUdpPort': 'UDP Listen Port',
|
||||||
|
'ed2kServerList': 'Server Addresses',
|
||||||
|
'ed2kServerMet': 'Server.met Sources',
|
||||||
|
'ed2kNodesDat': 'nodes.dat Sources',
|
||||||
|
'ed2kAutoPort': 'Auto assign',
|
||||||
|
'ed2kOnePerLine': 'One entry per line',
|
||||||
|
'ed2kServersHint': 'host:port, one per line',
|
||||||
|
'ed2kServerMetHint': 'Server.met URL or ed2k serverlist link, one per line',
|
||||||
|
'ed2kNodesDatHint': 'nodes.dat path or URL, one per line',
|
||||||
'desktopNotification': 'Notificacions d\'escriptori',
|
'desktopNotification': 'Notificacions d\'escriptori',
|
||||||
'notificationTaskDone': 'Tasca completada',
|
'notificationTaskDone': 'Tasca completada',
|
||||||
'notificationTaskError': 'Error de tasca',
|
'notificationTaskError': 'Error de tasca',
|
||||||
|
|||||||
@@ -164,6 +164,17 @@ const deDE = {
|
|||||||
'categoryPath': 'Kategoriepfad',
|
'categoryPath': 'Kategoriepfad',
|
||||||
'builtInCategory': 'Integrierte Kategorie kann nicht gelöscht werden',
|
'builtInCategory': 'Integrierte Kategorie kann nicht gelöscht werden',
|
||||||
'selectCategory': 'Kategorie auswählen',
|
'selectCategory': 'Kategorie auswählen',
|
||||||
|
'ed2k': 'ED2K',
|
||||||
|
'ed2kTcpPort': 'TCP Listen Port',
|
||||||
|
'ed2kUdpPort': 'UDP Listen Port',
|
||||||
|
'ed2kServerList': 'Server Addresses',
|
||||||
|
'ed2kServerMet': 'Server.met Sources',
|
||||||
|
'ed2kNodesDat': 'nodes.dat Sources',
|
||||||
|
'ed2kAutoPort': 'Auto assign',
|
||||||
|
'ed2kOnePerLine': 'One entry per line',
|
||||||
|
'ed2kServersHint': 'host:port, one per line',
|
||||||
|
'ed2kServerMetHint': 'Server.met URL or ed2k serverlist link, one per line',
|
||||||
|
'ed2kNodesDatHint': 'nodes.dat path or URL, one per line',
|
||||||
'desktopNotification': 'Desktop-Benachrichtigungen',
|
'desktopNotification': 'Desktop-Benachrichtigungen',
|
||||||
'notificationTaskDone': 'Aufgabe abgeschlossen',
|
'notificationTaskDone': 'Aufgabe abgeschlossen',
|
||||||
'notificationTaskError': 'Aufgabenfehler',
|
'notificationTaskError': 'Aufgabenfehler',
|
||||||
|
|||||||
@@ -214,6 +214,17 @@ const enUS = {
|
|||||||
'Task "@name" is waiting for URL update. Do you want to update it with the new URL?',
|
'Task "@name" is waiting for URL update. Do you want to update it with the new URL?',
|
||||||
'pendingUpdateYes': 'Update Task',
|
'pendingUpdateYes': 'Update Task',
|
||||||
'pendingUpdateNo': 'Create New Task',
|
'pendingUpdateNo': 'Create New Task',
|
||||||
|
'ed2k': 'ED2K',
|
||||||
|
'ed2kTcpPort': 'TCP Listen Port',
|
||||||
|
'ed2kUdpPort': 'UDP Listen Port',
|
||||||
|
'ed2kServerList': 'Server Addresses',
|
||||||
|
'ed2kServerMet': 'Server.met Sources',
|
||||||
|
'ed2kNodesDat': 'nodes.dat Sources',
|
||||||
|
'ed2kAutoPort': 'Auto assign',
|
||||||
|
'ed2kOnePerLine': 'One entry per line',
|
||||||
|
'ed2kServersHint': 'host:port, one per line',
|
||||||
|
'ed2kServerMetHint': 'Server.met URL or ed2k serverlist link, one per line',
|
||||||
|
'ed2kNodesDatHint': 'nodes.dat path or URL, one per line',
|
||||||
'desktopNotification': 'Desktop Notifications',
|
'desktopNotification': 'Desktop Notifications',
|
||||||
'notificationTaskDone': 'Task completed',
|
'notificationTaskDone': 'Task completed',
|
||||||
'notificationTaskError': 'Task error',
|
'notificationTaskError': 'Task error',
|
||||||
|
|||||||
@@ -142,6 +142,17 @@ const esES = {
|
|||||||
'categoryPath': 'Ruta de categoría',
|
'categoryPath': 'Ruta de categoría',
|
||||||
'builtInCategory': 'La categoría incorporada no se puede eliminar',
|
'builtInCategory': 'La categoría incorporada no se puede eliminar',
|
||||||
'selectCategory': 'Seleccionar categoría',
|
'selectCategory': 'Seleccionar categoría',
|
||||||
|
'ed2k': 'ED2K',
|
||||||
|
'ed2kTcpPort': 'TCP Listen Port',
|
||||||
|
'ed2kUdpPort': 'UDP Listen Port',
|
||||||
|
'ed2kServerList': 'Server Addresses',
|
||||||
|
'ed2kServerMet': 'Server.met Sources',
|
||||||
|
'ed2kNodesDat': 'nodes.dat Sources',
|
||||||
|
'ed2kAutoPort': 'Auto assign',
|
||||||
|
'ed2kOnePerLine': 'One entry per line',
|
||||||
|
'ed2kServersHint': 'host:port, one per line',
|
||||||
|
'ed2kServerMetHint': 'Server.met URL or ed2k serverlist link, one per line',
|
||||||
|
'ed2kNodesDatHint': 'nodes.dat path or URL, one per line',
|
||||||
'desktopNotification': 'Notificaciones de escritorio',
|
'desktopNotification': 'Notificaciones de escritorio',
|
||||||
'notificationTaskDone': 'Tarea completada',
|
'notificationTaskDone': 'Tarea completada',
|
||||||
'notificationTaskError': 'Error de tarea',
|
'notificationTaskError': 'Error de tarea',
|
||||||
|
|||||||
@@ -93,6 +93,17 @@ const faIR = {
|
|||||||
'launchAtStartup': 'راهاندازی در استارتآپ',
|
'launchAtStartup': 'راهاندازی در استارتآپ',
|
||||||
'runAsMenubarApp': 'اجرا به عنوان برنامه نوار منو',
|
'runAsMenubarApp': 'اجرا به عنوان برنامه نوار منو',
|
||||||
'runAsMenubarAppDesc': 'پنهان کردن آیکون Dock و اجرا فقط در نوار منو',
|
'runAsMenubarAppDesc': 'پنهان کردن آیکون Dock و اجرا فقط در نوار منو',
|
||||||
|
'ed2k': 'ED2K',
|
||||||
|
'ed2kTcpPort': 'TCP Listen Port',
|
||||||
|
'ed2kUdpPort': 'UDP Listen Port',
|
||||||
|
'ed2kServerList': 'Server Addresses',
|
||||||
|
'ed2kServerMet': 'Server.met Sources',
|
||||||
|
'ed2kNodesDat': 'nodes.dat Sources',
|
||||||
|
'ed2kAutoPort': 'Auto assign',
|
||||||
|
'ed2kOnePerLine': 'One entry per line',
|
||||||
|
'ed2kServersHint': 'host:port, one per line',
|
||||||
|
'ed2kServerMetHint': 'Server.met URL or ed2k serverlist link, one per line',
|
||||||
|
'ed2kNodesDatHint': 'nodes.dat path or URL, one per line',
|
||||||
'desktopNotification': 'اعلانهای دسکتاپ',
|
'desktopNotification': 'اعلانهای دسکتاپ',
|
||||||
'notificationTaskDone': 'وظیفه تکمیل شد',
|
'notificationTaskDone': 'وظیفه تکمیل شد',
|
||||||
'notificationTaskError': 'خطای وظیفه',
|
'notificationTaskError': 'خطای وظیفه',
|
||||||
|
|||||||
@@ -135,6 +135,17 @@ const frFR = {
|
|||||||
'categoryPath': 'Chemin de la catégorie',
|
'categoryPath': 'Chemin de la catégorie',
|
||||||
'builtInCategory': 'La catégorie intégrée ne peut pas être supprimée',
|
'builtInCategory': 'La catégorie intégrée ne peut pas être supprimée',
|
||||||
'selectCategory': 'Sélectionner une catégorie',
|
'selectCategory': 'Sélectionner une catégorie',
|
||||||
|
'ed2k': 'ED2K',
|
||||||
|
'ed2kTcpPort': 'TCP Listen Port',
|
||||||
|
'ed2kUdpPort': 'UDP Listen Port',
|
||||||
|
'ed2kServerList': 'Server Addresses',
|
||||||
|
'ed2kServerMet': 'Server.met Sources',
|
||||||
|
'ed2kNodesDat': 'nodes.dat Sources',
|
||||||
|
'ed2kAutoPort': 'Auto assign',
|
||||||
|
'ed2kOnePerLine': 'One entry per line',
|
||||||
|
'ed2kServersHint': 'host:port, one per line',
|
||||||
|
'ed2kServerMetHint': 'Server.met URL or ed2k serverlist link, one per line',
|
||||||
|
'ed2kNodesDatHint': 'nodes.dat path or URL, one per line',
|
||||||
'desktopNotification': 'Notifications de bureau',
|
'desktopNotification': 'Notifications de bureau',
|
||||||
'notificationTaskDone': 'Tâche terminée',
|
'notificationTaskDone': 'Tâche terminée',
|
||||||
'notificationTaskError': 'Erreur de tâche',
|
'notificationTaskError': 'Erreur de tâche',
|
||||||
|
|||||||
@@ -156,6 +156,17 @@ const huHU = {
|
|||||||
'categoryPath': 'Kategória útvonala',
|
'categoryPath': 'Kategória útvonala',
|
||||||
'builtInCategory': 'A beépített kategória nem törölhető',
|
'builtInCategory': 'A beépített kategória nem törölhető',
|
||||||
'selectCategory': 'Kategória kiválasztása',
|
'selectCategory': 'Kategória kiválasztása',
|
||||||
|
'ed2k': 'ED2K',
|
||||||
|
'ed2kTcpPort': 'TCP Listen Port',
|
||||||
|
'ed2kUdpPort': 'UDP Listen Port',
|
||||||
|
'ed2kServerList': 'Server Addresses',
|
||||||
|
'ed2kServerMet': 'Server.met Sources',
|
||||||
|
'ed2kNodesDat': 'nodes.dat Sources',
|
||||||
|
'ed2kAutoPort': 'Auto assign',
|
||||||
|
'ed2kOnePerLine': 'One entry per line',
|
||||||
|
'ed2kServersHint': 'host:port, one per line',
|
||||||
|
'ed2kServerMetHint': 'Server.met URL or ed2k serverlist link, one per line',
|
||||||
|
'ed2kNodesDatHint': 'nodes.dat path or URL, one per line',
|
||||||
'desktopNotification': 'Asztali értesítések',
|
'desktopNotification': 'Asztali értesítések',
|
||||||
'notificationTaskDone': 'Feladat befejezve',
|
'notificationTaskDone': 'Feladat befejezve',
|
||||||
'notificationTaskError': 'Feladat hiba',
|
'notificationTaskError': 'Feladat hiba',
|
||||||
|
|||||||
@@ -142,6 +142,17 @@ const idID = {
|
|||||||
'categoryPath': 'Path Kategori',
|
'categoryPath': 'Path Kategori',
|
||||||
'builtInCategory': 'Kategori bawaan tidak dapat dihapus',
|
'builtInCategory': 'Kategori bawaan tidak dapat dihapus',
|
||||||
'selectCategory': 'Pilih Kategori',
|
'selectCategory': 'Pilih Kategori',
|
||||||
|
'ed2k': 'ED2K',
|
||||||
|
'ed2kTcpPort': 'TCP Listen Port',
|
||||||
|
'ed2kUdpPort': 'UDP Listen Port',
|
||||||
|
'ed2kServerList': 'Server Addresses',
|
||||||
|
'ed2kServerMet': 'Server.met Sources',
|
||||||
|
'ed2kNodesDat': 'nodes.dat Sources',
|
||||||
|
'ed2kAutoPort': 'Auto assign',
|
||||||
|
'ed2kOnePerLine': 'One entry per line',
|
||||||
|
'ed2kServersHint': 'host:port, one per line',
|
||||||
|
'ed2kServerMetHint': 'Server.met URL or ed2k serverlist link, one per line',
|
||||||
|
'ed2kNodesDatHint': 'nodes.dat path or URL, one per line',
|
||||||
'desktopNotification': 'Notifikasi Desktop',
|
'desktopNotification': 'Notifikasi Desktop',
|
||||||
'notificationTaskDone': 'Tugas selesai',
|
'notificationTaskDone': 'Tugas selesai',
|
||||||
'notificationTaskError': 'Tugas error',
|
'notificationTaskError': 'Tugas error',
|
||||||
|
|||||||
@@ -130,6 +130,17 @@ const itIT = {
|
|||||||
'categoryPath': 'Percorso categoria',
|
'categoryPath': 'Percorso categoria',
|
||||||
'builtInCategory': 'La categoria predefinita non può essere eliminata',
|
'builtInCategory': 'La categoria predefinita non può essere eliminata',
|
||||||
'selectCategory': 'Seleziona categoria',
|
'selectCategory': 'Seleziona categoria',
|
||||||
|
'ed2k': 'ED2K',
|
||||||
|
'ed2kTcpPort': 'TCP Listen Port',
|
||||||
|
'ed2kUdpPort': 'UDP Listen Port',
|
||||||
|
'ed2kServerList': 'Server Addresses',
|
||||||
|
'ed2kServerMet': 'Server.met Sources',
|
||||||
|
'ed2kNodesDat': 'nodes.dat Sources',
|
||||||
|
'ed2kAutoPort': 'Auto assign',
|
||||||
|
'ed2kOnePerLine': 'One entry per line',
|
||||||
|
'ed2kServersHint': 'host:port, one per line',
|
||||||
|
'ed2kServerMetHint': 'Server.met URL or ed2k serverlist link, one per line',
|
||||||
|
'ed2kNodesDatHint': 'nodes.dat path or URL, one per line',
|
||||||
'desktopNotification': 'Notifiche Desktop',
|
'desktopNotification': 'Notifiche Desktop',
|
||||||
'notificationTaskDone': 'Attività completata',
|
'notificationTaskDone': 'Attività completata',
|
||||||
'notificationTaskError': 'Errore attività',
|
'notificationTaskError': 'Errore attività',
|
||||||
|
|||||||
@@ -95,6 +95,17 @@ const jaJP = {
|
|||||||
'launchAtStartup': '起動時に起動',
|
'launchAtStartup': '起動時に起動',
|
||||||
'runAsMenubarApp': 'メニューバーアプリとして実行',
|
'runAsMenubarApp': 'メニューバーアプリとして実行',
|
||||||
'runAsMenubarAppDesc': 'Dockアイコンを非表示にして、メニューバーのみで実行',
|
'runAsMenubarAppDesc': 'Dockアイコンを非表示にして、メニューバーのみで実行',
|
||||||
|
'ed2k': 'ED2K',
|
||||||
|
'ed2kTcpPort': 'TCP Listen Port',
|
||||||
|
'ed2kUdpPort': 'UDP Listen Port',
|
||||||
|
'ed2kServerList': 'Server Addresses',
|
||||||
|
'ed2kServerMet': 'Server.met Sources',
|
||||||
|
'ed2kNodesDat': 'nodes.dat Sources',
|
||||||
|
'ed2kAutoPort': 'Auto assign',
|
||||||
|
'ed2kOnePerLine': 'One entry per line',
|
||||||
|
'ed2kServersHint': 'host:port, one per line',
|
||||||
|
'ed2kServerMetHint': 'Server.met URL or ed2k serverlist link, one per line',
|
||||||
|
'ed2kNodesDatHint': 'nodes.dat path or URL, one per line',
|
||||||
'desktopNotification': 'デスクトップ通知',
|
'desktopNotification': 'デスクトップ通知',
|
||||||
'notificationTaskDone': 'タスク完了',
|
'notificationTaskDone': 'タスク完了',
|
||||||
'notificationTaskError': 'タスクエラー',
|
'notificationTaskError': 'タスクエラー',
|
||||||
|
|||||||
@@ -127,6 +127,17 @@ const plPL = {
|
|||||||
'categoryPath': 'Ścieżka kategorii',
|
'categoryPath': 'Ścieżka kategorii',
|
||||||
'builtInCategory': 'Wbudowanej kategorii nie można usunąć',
|
'builtInCategory': 'Wbudowanej kategorii nie można usunąć',
|
||||||
'selectCategory': 'Wybierz kategorię',
|
'selectCategory': 'Wybierz kategorię',
|
||||||
|
'ed2k': 'ED2K',
|
||||||
|
'ed2kTcpPort': 'TCP Listen Port',
|
||||||
|
'ed2kUdpPort': 'UDP Listen Port',
|
||||||
|
'ed2kServerList': 'Server Addresses',
|
||||||
|
'ed2kServerMet': 'Server.met Sources',
|
||||||
|
'ed2kNodesDat': 'nodes.dat Sources',
|
||||||
|
'ed2kAutoPort': 'Auto assign',
|
||||||
|
'ed2kOnePerLine': 'One entry per line',
|
||||||
|
'ed2kServersHint': 'host:port, one per line',
|
||||||
|
'ed2kServerMetHint': 'Server.met URL or ed2k serverlist link, one per line',
|
||||||
|
'ed2kNodesDatHint': 'nodes.dat path or URL, one per line',
|
||||||
'desktopNotification': 'Powiadomienia na pulpicie',
|
'desktopNotification': 'Powiadomienia na pulpicie',
|
||||||
'notificationTaskDone': 'Zadanie zakończone',
|
'notificationTaskDone': 'Zadanie zakończone',
|
||||||
'notificationTaskError': 'Błąd zadania',
|
'notificationTaskError': 'Błąd zadania',
|
||||||
|
|||||||
@@ -153,6 +153,17 @@ const ptBR = {
|
|||||||
'categoryPath': 'Caminho da Categoria',
|
'categoryPath': 'Caminho da Categoria',
|
||||||
'builtInCategory': 'Categoria integrada não pode ser excluída',
|
'builtInCategory': 'Categoria integrada não pode ser excluída',
|
||||||
'selectCategory': 'Selecionar Categoria',
|
'selectCategory': 'Selecionar Categoria',
|
||||||
|
'ed2k': 'ED2K',
|
||||||
|
'ed2kTcpPort': 'TCP Listen Port',
|
||||||
|
'ed2kUdpPort': 'UDP Listen Port',
|
||||||
|
'ed2kServerList': 'Server Addresses',
|
||||||
|
'ed2kServerMet': 'Server.met Sources',
|
||||||
|
'ed2kNodesDat': 'nodes.dat Sources',
|
||||||
|
'ed2kAutoPort': 'Auto assign',
|
||||||
|
'ed2kOnePerLine': 'One entry per line',
|
||||||
|
'ed2kServersHint': 'host:port, one per line',
|
||||||
|
'ed2kServerMetHint': 'Server.met URL or ed2k serverlist link, one per line',
|
||||||
|
'ed2kNodesDatHint': 'nodes.dat path or URL, one per line',
|
||||||
'desktopNotification': 'Notificações na área de trabalho',
|
'desktopNotification': 'Notificações na área de trabalho',
|
||||||
'notificationTaskDone': 'Tarefa concluída',
|
'notificationTaskDone': 'Tarefa concluída',
|
||||||
'notificationTaskError': 'Erro na tarefa',
|
'notificationTaskError': 'Erro na tarefa',
|
||||||
|
|||||||
@@ -152,6 +152,17 @@ const ruRU = {
|
|||||||
'categoryPath': 'Путь категории',
|
'categoryPath': 'Путь категории',
|
||||||
'builtInCategory': 'Встроенную категорию нельзя удалить',
|
'builtInCategory': 'Встроенную категорию нельзя удалить',
|
||||||
'selectCategory': 'Выбрать категорию',
|
'selectCategory': 'Выбрать категорию',
|
||||||
|
'ed2k': 'ED2K',
|
||||||
|
'ed2kTcpPort': 'TCP Listen Port',
|
||||||
|
'ed2kUdpPort': 'UDP Listen Port',
|
||||||
|
'ed2kServerList': 'Server Addresses',
|
||||||
|
'ed2kServerMet': 'Server.met Sources',
|
||||||
|
'ed2kNodesDat': 'nodes.dat Sources',
|
||||||
|
'ed2kAutoPort': 'Auto assign',
|
||||||
|
'ed2kOnePerLine': 'One entry per line',
|
||||||
|
'ed2kServersHint': 'host:port, one per line',
|
||||||
|
'ed2kServerMetHint': 'Server.met URL or ed2k serverlist link, one per line',
|
||||||
|
'ed2kNodesDatHint': 'nodes.dat path or URL, one per line',
|
||||||
'desktopNotification': 'Уведомления',
|
'desktopNotification': 'Уведомления',
|
||||||
'notificationTaskDone': 'Задача завершена',
|
'notificationTaskDone': 'Задача завершена',
|
||||||
'notificationTaskError': 'Ошибка задачи',
|
'notificationTaskError': 'Ошибка задачи',
|
||||||
|
|||||||
@@ -129,6 +129,17 @@ const taTA = {
|
|||||||
'categoryPath': 'வகை பாதை',
|
'categoryPath': 'வகை பாதை',
|
||||||
'builtInCategory': 'உள்ளமைக்கப்பட்ட வகையை நீக்க முடியாது',
|
'builtInCategory': 'உள்ளமைக்கப்பட்ட வகையை நீக்க முடியாது',
|
||||||
'selectCategory': 'வகையைத் தேர்ந்தெடுக்கவும்',
|
'selectCategory': 'வகையைத் தேர்ந்தெடுக்கவும்',
|
||||||
|
'ed2k': 'ED2K',
|
||||||
|
'ed2kTcpPort': 'TCP Listen Port',
|
||||||
|
'ed2kUdpPort': 'UDP Listen Port',
|
||||||
|
'ed2kServerList': 'Server Addresses',
|
||||||
|
'ed2kServerMet': 'Server.met Sources',
|
||||||
|
'ed2kNodesDat': 'nodes.dat Sources',
|
||||||
|
'ed2kAutoPort': 'Auto assign',
|
||||||
|
'ed2kOnePerLine': 'One entry per line',
|
||||||
|
'ed2kServersHint': 'host:port, one per line',
|
||||||
|
'ed2kServerMetHint': 'Server.met URL or ed2k serverlist link, one per line',
|
||||||
|
'ed2kNodesDatHint': 'nodes.dat path or URL, one per line',
|
||||||
'desktopNotification': 'கணினி அறிவிப்புகள்',
|
'desktopNotification': 'கணினி அறிவிப்புகள்',
|
||||||
'notificationTaskDone': 'பணி முடிந்தது',
|
'notificationTaskDone': 'பணி முடிந்தது',
|
||||||
'notificationTaskError': 'பணி பிழை',
|
'notificationTaskError': 'பணி பிழை',
|
||||||
|
|||||||
@@ -22,8 +22,10 @@ const trTR = {
|
|||||||
'followSettings': 'Ayarları Takip Et',
|
'followSettings': 'Ayarları Takip Et',
|
||||||
'downloadLink': 'İndirme Bağlantısı',
|
'downloadLink': 'İndirme Bağlantısı',
|
||||||
'downloadLinkValid': 'Lütfen indirme bağlantısını girin',
|
'downloadLinkValid': 'Lütfen indirme bağlantısını girin',
|
||||||
'downloadLinkHit': 'Lütfen her satıra bir tane indirme bağlantısını girin@append',
|
'downloadLinkHit':
|
||||||
'downloadLinkHitDesktop': ', veya torrent dosyasını olarak buraya sürükleyin',
|
'Lütfen her satıra bir tane indirme bağlantısını girin@append',
|
||||||
|
'downloadLinkHitDesktop':
|
||||||
|
', veya torrent dosyasını olarak buraya sürükleyin',
|
||||||
'download': 'İndir',
|
'download': 'İndir',
|
||||||
'noFileSelected': 'Devam etmek için lütfen en az bir dosya seçin.',
|
'noFileSelected': 'Devam etmek için lütfen en az bir dosya seçin.',
|
||||||
'noStoragePermission': 'Depolama izni gerekli',
|
'noStoragePermission': 'Depolama izni gerekli',
|
||||||
@@ -39,7 +41,8 @@ const trTR = {
|
|||||||
'maxRunning': 'Maksimum Çalışan İşlem',
|
'maxRunning': 'Maksimum Çalışan İşlem',
|
||||||
'defaultDirectDownload': 'Varsayılan olarak direkt indirmeyi işaretle',
|
'defaultDirectDownload': 'Varsayılan olarak direkt indirmeyi işaretle',
|
||||||
'autoStartTasks': 'Başlangıçta tamamlanmamış işlemleri otomatik başlat',
|
'autoStartTasks': 'Başlangıçta tamamlanmamış işlemleri otomatik başlat',
|
||||||
'autoTorrentEnable': '.torrent dosyalarından otomatik BitTorrent işlemleri oluştur',
|
'autoTorrentEnable':
|
||||||
|
'.torrent dosyalarından otomatik BitTorrent işlemleri oluştur',
|
||||||
'autoTorrentDeleteAfterDownload':
|
'autoTorrentDeleteAfterDownload':
|
||||||
'BitTorrent işlemi oluşturulduktan sonra .torrent dosyasını sil',
|
'BitTorrent işlemi oluşturulduktan sonra .torrent dosyasını sil',
|
||||||
'autoDeleteMissingFileTasks': 'Eksik dosya işlemlerini otomatik sil',
|
'autoDeleteMissingFileTasks': 'Eksik dosya işlemlerini otomatik sil',
|
||||||
@@ -51,7 +54,8 @@ const trTR = {
|
|||||||
'updateDaily': 'Günlük güncelle',
|
'updateDaily': 'Günlük güncelle',
|
||||||
'lastUpdate': 'Son güncelleme: @time',
|
'lastUpdate': 'Son güncelleme: @time',
|
||||||
'addTracker': 'Tracker Ekle',
|
'addTracker': 'Tracker Ekle',
|
||||||
'addTrackerHit': 'Lütfen her satıra bir tane olacak şekilde tracker sunucu adresini girin',
|
'addTrackerHit':
|
||||||
|
'Lütfen her satıra bir tane olacak şekilde tracker sunucu adresini girin',
|
||||||
'ui': 'Arayüz',
|
'ui': 'Arayüz',
|
||||||
'theme': 'Tema',
|
'theme': 'Tema',
|
||||||
'themeSystem': 'Sistem',
|
'themeSystem': 'Sistem',
|
||||||
@@ -60,7 +64,8 @@ const trTR = {
|
|||||||
'locale': 'Dil',
|
'locale': 'Dil',
|
||||||
'notifyWhenNewVersion': 'Güncellemeleri bildir',
|
'notifyWhenNewVersion': 'Güncellemeleri bildir',
|
||||||
'analyticsEnabled': 'İstatistikleri Yükle',
|
'analyticsEnabled': 'İstatistikleri Yükle',
|
||||||
'analyticsEnabledDesc': 'Uygulamayı geliştirmemize yardımcı olmak için anonim kullanım verilerini paylaşın',
|
'analyticsEnabledDesc':
|
||||||
|
'Uygulamayı geliştirmemize yardımcı olmak için anonim kullanım verilerini paylaşın',
|
||||||
'about': 'Hakkında',
|
'about': 'Hakkında',
|
||||||
'homepage': 'Ana Sayfa',
|
'homepage': 'Ana Sayfa',
|
||||||
'version': 'Sürüm',
|
'version': 'Sürüm',
|
||||||
@@ -75,14 +80,16 @@ const trTR = {
|
|||||||
'logDirectory': 'Günlük Dizini',
|
'logDirectory': 'Günlük Dizini',
|
||||||
'webhook': 'Webhook',
|
'webhook': 'Webhook',
|
||||||
'webhookEnable': 'Webhook\'u Etkinleştir',
|
'webhookEnable': 'Webhook\'u Etkinleştir',
|
||||||
'webhookDesc': 'İşlemler tamamlandığında veya başarısız olduğunda HTTP POST bildirimleri gönder',
|
'webhookDesc':
|
||||||
|
'İşlemler tamamlandığında veya başarısız olduğunda HTTP POST bildirimleri gönder',
|
||||||
'webhookUrlHint': 'Webhook URL\'sini girin',
|
'webhookUrlHint': 'Webhook URL\'sini girin',
|
||||||
'webhookTest': 'Test',
|
'webhookTest': 'Test',
|
||||||
'webhookTestSuccess': 'Webhook testi başarılı',
|
'webhookTestSuccess': 'Webhook testi başarılı',
|
||||||
'webhookTestFail': 'Webhook testi başarısız',
|
'webhookTestFail': 'Webhook testi başarısız',
|
||||||
'script': 'Betik',
|
'script': 'Betik',
|
||||||
'scriptEnable': 'Betiği Etkinleştir',
|
'scriptEnable': 'Betiği Etkinleştir',
|
||||||
'scriptDesc': 'İndirmeler başarıyla tamamlandığında özel betikleri çalıştır',
|
'scriptDesc':
|
||||||
|
'İndirmeler başarıyla tamamlandığında özel betikleri çalıştır',
|
||||||
'scriptPathHint': 'Betik dosya yolunu girin (örn. /path/to/script.sh)',
|
'scriptPathHint': 'Betik dosya yolunu girin (örn. /path/to/script.sh)',
|
||||||
'urlInvalid': 'Lütfen geçerli bir HTTP veya HTTPS URL\'si girin',
|
'urlInvalid': 'Lütfen geçerli bir HTTP veya HTTPS URL\'si girin',
|
||||||
'required': 'Bu alan zorunludur',
|
'required': 'Bu alan zorunludur',
|
||||||
@@ -147,7 +154,8 @@ const trTR = {
|
|||||||
'browserExtension': 'Tarayıcı Eklentisi',
|
'browserExtension': 'Tarayıcı Eklentisi',
|
||||||
'launchAtStartup': 'Başlangıçta çalıştır',
|
'launchAtStartup': 'Başlangıçta çalıştır',
|
||||||
'runAsMenubarApp': 'Menü çubuğu uygulaması olarak çalıştır',
|
'runAsMenubarApp': 'Menü çubuğu uygulaması olarak çalıştır',
|
||||||
'runAsMenubarAppDesc': 'Dock simgesini gizle ve sadece menü çubuğunda çalıştır',
|
'runAsMenubarAppDesc':
|
||||||
|
'Dock simgesini gizle ve sadece menü çubuğunda çalıştır',
|
||||||
'seedConfig': 'Seed Yapılandırması',
|
'seedConfig': 'Seed Yapılandırması',
|
||||||
'seedKeep': 'Manuel olarak durdurulana kadar seed\'e devam et',
|
'seedKeep': 'Manuel olarak durdurulana kadar seed\'e devam et',
|
||||||
'seedRatio': 'Seed oranı',
|
'seedRatio': 'Seed oranı',
|
||||||
@@ -179,7 +187,8 @@ const trTR = {
|
|||||||
'username_required': 'Lütfen kullanıcı adınızı girin',
|
'username_required': 'Lütfen kullanıcı adınızı girin',
|
||||||
'password_required': 'Lütfen şifrenizi girin',
|
'password_required': 'Lütfen şifrenizi girin',
|
||||||
'login_success': 'Giriş başarılı',
|
'login_success': 'Giriş başarılı',
|
||||||
'login_failed': 'Giriş başarısız, lütfen kullanıcı adınızı ve şifrenizi kontrol edin',
|
'login_failed':
|
||||||
|
'Giriş başarısız, lütfen kullanıcı adınızı ve şifrenizi kontrol edin',
|
||||||
'login_failed_network':
|
'login_failed_network':
|
||||||
'Giriş başarısız, lütfen ağ bağlantınızı kontrol edin',
|
'Giriş başarısız, lütfen ağ bağlantınızı kontrol edin',
|
||||||
'insertPlaceholder': 'Yer Tutucu Ekle',
|
'insertPlaceholder': 'Yer Tutucu Ekle',
|
||||||
@@ -199,7 +208,8 @@ const trTR = {
|
|||||||
'selectCategory': 'Kategori Seç',
|
'selectCategory': 'Kategori Seç',
|
||||||
'githubMirror': 'GitHub Yansısı',
|
'githubMirror': 'GitHub Yansısı',
|
||||||
'githubMirrorEnable': 'GitHub Yansısını Etkinleştir',
|
'githubMirrorEnable': 'GitHub Yansısını Etkinleştir',
|
||||||
'githubMirrorDesc': 'GitHub içerik indirmelerini hızlandırmak için yansıları kullanın',
|
'githubMirrorDesc':
|
||||||
|
'GitHub içerik indirmelerini hızlandırmak için yansıları kullanın',
|
||||||
'githubMirrorType': 'Yansı Türü',
|
'githubMirrorType': 'Yansı Türü',
|
||||||
'githubMirrorUrl': 'Yansı URL\'si',
|
'githubMirrorUrl': 'Yansı URL\'si',
|
||||||
'githubMirrorUrlHint': 'Yansı URL\'sini girin',
|
'githubMirrorUrlHint': 'Yansı URL\'sini girin',
|
||||||
@@ -210,10 +220,21 @@ const trTR = {
|
|||||||
'updateUrlCancelListen': 'İzlemeyi İptal Et',
|
'updateUrlCancelListen': 'İzlemeyi İptal Et',
|
||||||
'updateUrlDialogHint': 'Yeni indirme URL\'sini girin',
|
'updateUrlDialogHint': 'Yeni indirme URL\'sini girin',
|
||||||
'pendingUpdateFound': 'Bekleyen Güncelleme İşlemi Bulundu',
|
'pendingUpdateFound': 'Bekleyen Güncelleme İşlemi Bulundu',
|
||||||
'pendingUpdateConfirm':
|
'pendingUpdateConfirm':
|
||||||
'"@name" işlemi URL güncellemesi bekliyor. Yeni URL ile güncellemek istiyor musunuz?',
|
'"@name" işlemi URL güncellemesi bekliyor. Yeni URL ile güncellemek istiyor musunuz?',
|
||||||
'pendingUpdateYes': 'İşlemi Güncelle',
|
'pendingUpdateYes': 'İşlemi Güncelle',
|
||||||
'pendingUpdateNo': 'Yeni İşlem Oluştur',
|
'pendingUpdateNo': 'Yeni İşlem Oluştur',
|
||||||
|
'ed2k': 'ED2K',
|
||||||
|
'ed2kTcpPort': 'TCP Listen Port',
|
||||||
|
'ed2kUdpPort': 'UDP Listen Port',
|
||||||
|
'ed2kServerList': 'Server Addresses',
|
||||||
|
'ed2kServerMet': 'Server.met Sources',
|
||||||
|
'ed2kNodesDat': 'nodes.dat Sources',
|
||||||
|
'ed2kAutoPort': 'Auto assign',
|
||||||
|
'ed2kOnePerLine': 'One entry per line',
|
||||||
|
'ed2kServersHint': 'host:port, one per line',
|
||||||
|
'ed2kServerMetHint': 'Server.met URL or ed2k serverlist link, one per line',
|
||||||
|
'ed2kNodesDatHint': 'nodes.dat path or URL, one per line',
|
||||||
'desktopNotification': 'Masaüstü Bildirimleri',
|
'desktopNotification': 'Masaüstü Bildirimleri',
|
||||||
'notificationTaskDone': 'Görev tamamlandı',
|
'notificationTaskDone': 'Görev tamamlandı',
|
||||||
'notificationTaskError': 'Görev hatası',
|
'notificationTaskError': 'Görev hatası',
|
||||||
|
|||||||
@@ -152,6 +152,17 @@ const ukUA = {
|
|||||||
'categoryPath': 'Шлях категорії',
|
'categoryPath': 'Шлях категорії',
|
||||||
'builtInCategory': 'Вбудовану категорію неможливо видалити',
|
'builtInCategory': 'Вбудовану категорію неможливо видалити',
|
||||||
'selectCategory': 'Вибрати категорію',
|
'selectCategory': 'Вибрати категорію',
|
||||||
|
'ed2k': 'ED2K',
|
||||||
|
'ed2kTcpPort': 'TCP Listen Port',
|
||||||
|
'ed2kUdpPort': 'UDP Listen Port',
|
||||||
|
'ed2kServerList': 'Server Addresses',
|
||||||
|
'ed2kServerMet': 'Server.met Sources',
|
||||||
|
'ed2kNodesDat': 'nodes.dat Sources',
|
||||||
|
'ed2kAutoPort': 'Auto assign',
|
||||||
|
'ed2kOnePerLine': 'One entry per line',
|
||||||
|
'ed2kServersHint': 'host:port, one per line',
|
||||||
|
'ed2kServerMetHint': 'Server.met URL or ed2k serverlist link, one per line',
|
||||||
|
'ed2kNodesDatHint': 'nodes.dat path or URL, one per line',
|
||||||
'desktopNotification': 'Сповіщення',
|
'desktopNotification': 'Сповіщення',
|
||||||
'notificationTaskDone': 'Завдання завершено',
|
'notificationTaskDone': 'Завдання завершено',
|
||||||
'notificationTaskError': 'Помилка завдання',
|
'notificationTaskError': 'Помилка завдання',
|
||||||
|
|||||||
@@ -122,6 +122,17 @@ const viVN = {
|
|||||||
'launchAtStartup': 'Khởi động cùng hệ thống',
|
'launchAtStartup': 'Khởi động cùng hệ thống',
|
||||||
'runAsMenubarApp': 'Chạy như ứng dụng thanh menu',
|
'runAsMenubarApp': 'Chạy như ứng dụng thanh menu',
|
||||||
'runAsMenubarAppDesc': 'Ẩn biểu tượng Dock và chỉ chạy trong thanh menu',
|
'runAsMenubarAppDesc': 'Ẩn biểu tượng Dock và chỉ chạy trong thanh menu',
|
||||||
|
'ed2k': 'ED2K',
|
||||||
|
'ed2kTcpPort': 'TCP Listen Port',
|
||||||
|
'ed2kUdpPort': 'UDP Listen Port',
|
||||||
|
'ed2kServerList': 'Server Addresses',
|
||||||
|
'ed2kServerMet': 'Server.met Sources',
|
||||||
|
'ed2kNodesDat': 'nodes.dat Sources',
|
||||||
|
'ed2kAutoPort': 'Auto assign',
|
||||||
|
'ed2kOnePerLine': 'One entry per line',
|
||||||
|
'ed2kServersHint': 'host:port, one per line',
|
||||||
|
'ed2kServerMetHint': 'Server.met URL or ed2k serverlist link, one per line',
|
||||||
|
'ed2kNodesDatHint': 'nodes.dat path or URL, one per line',
|
||||||
'desktopNotification': 'Thông báo trên màn hình',
|
'desktopNotification': 'Thông báo trên màn hình',
|
||||||
'notificationTaskDone': 'Nhiệm vụ hoàn thành',
|
'notificationTaskDone': 'Nhiệm vụ hoàn thành',
|
||||||
'notificationTaskError': 'Lỗi nhiệm vụ',
|
'notificationTaskError': 'Lỗi nhiệm vụ',
|
||||||
|
|||||||
@@ -209,6 +209,17 @@ const zhCN = {
|
|||||||
'pendingUpdateConfirm': '任务 "@name" 正在等待更新地址,是否使用新地址更新该任务?',
|
'pendingUpdateConfirm': '任务 "@name" 正在等待更新地址,是否使用新地址更新该任务?',
|
||||||
'pendingUpdateYes': '更新任务',
|
'pendingUpdateYes': '更新任务',
|
||||||
'pendingUpdateNo': '创建新任务',
|
'pendingUpdateNo': '创建新任务',
|
||||||
|
'ed2k': 'ED2K',
|
||||||
|
'ed2kTcpPort': 'TCP 监听端口',
|
||||||
|
'ed2kUdpPort': 'UDP 监听端口',
|
||||||
|
'ed2kServerList': '服务器地址',
|
||||||
|
'ed2kServerMet': 'Server.met 源',
|
||||||
|
'ed2kNodesDat': 'nodes.dat 源',
|
||||||
|
'ed2kAutoPort': '自动分配',
|
||||||
|
'ed2kOnePerLine': '每行填写一条',
|
||||||
|
'ed2kServersHint': 'host:port,每行一条',
|
||||||
|
'ed2kServerMetHint': '请输入 Server.met 地址或 ed2k 服务器列表链接,每行一条',
|
||||||
|
'ed2kNodesDatHint': '请输入 nodes.dat 本地路径或 URL,每行一条',
|
||||||
'desktopNotification': '桌面通知',
|
'desktopNotification': '桌面通知',
|
||||||
'notificationTaskDone': '任务完成',
|
'notificationTaskDone': '任务完成',
|
||||||
'notificationTaskError': '任务失败',
|
'notificationTaskError': '任务失败',
|
||||||
|
|||||||
@@ -147,6 +147,17 @@ const zhTW = {
|
|||||||
'categoryPath': '分類路徑',
|
'categoryPath': '分類路徑',
|
||||||
'builtInCategory': '內建分類無法刪除',
|
'builtInCategory': '內建分類無法刪除',
|
||||||
'selectCategory': '選擇分類',
|
'selectCategory': '選擇分類',
|
||||||
|
'ed2k': 'ED2K',
|
||||||
|
'ed2kTcpPort': 'TCP 監聽連接埠',
|
||||||
|
'ed2kUdpPort': 'UDP 監聽連接埠',
|
||||||
|
'ed2kServerList': '伺服器位址',
|
||||||
|
'ed2kServerMet': 'Server.met 來源',
|
||||||
|
'ed2kNodesDat': 'nodes.dat 來源',
|
||||||
|
'ed2kAutoPort': '自動分配',
|
||||||
|
'ed2kOnePerLine': '每行填寫一條',
|
||||||
|
'ed2kServersHint': 'host:port,每行一條',
|
||||||
|
'ed2kServerMetHint': '請輸入 Server.met 位址或 ed2k 伺服器清單連結,每行一條',
|
||||||
|
'ed2kNodesDatHint': '請輸入 nodes.dat 本機路徑或 URL,每行一條',
|
||||||
'desktopNotification': '桌面通知',
|
'desktopNotification': '桌面通知',
|
||||||
'notificationTaskDone': '任務完成',
|
'notificationTaskDone': '任務完成',
|
||||||
'notificationTaskError': '任務失敗',
|
'notificationTaskError': '任務失敗',
|
||||||
|
|||||||
Reference in new issue
Block a user