Browse Source

Remove any reference to defunct Seedstuff

pull/596/head
Eric Kok 4 years ago
parent
commit
a77e4e48b8
  1. 3
      app/src/main/AndroidManifest.xml
  2. 6
      app/src/main/java/org/transdroid/core/seedbox/SeedboxProvider.java
  3. 95
      app/src/main/java/org/transdroid/core/seedbox/SeedstuffSettings.java
  4. 93
      app/src/main/java/org/transdroid/core/seedbox/SeedstuffSettingsActivity.java
  5. 1
      app/src/main/res/values-bg/strings.xml
  6. 1
      app/src/main/res/values-cs/strings.xml
  7. 1
      app/src/main/res/values-da/strings.xml
  8. 1
      app/src/main/res/values-de/strings.xml
  9. 1
      app/src/main/res/values-et/strings.xml
  10. 1
      app/src/main/res/values-fa/strings.xml
  11. 1
      app/src/main/res/values-fi/strings.xml
  12. 1
      app/src/main/res/values-fr/strings.xml
  13. 1
      app/src/main/res/values-hu/strings.xml
  14. 1
      app/src/main/res/values-it/strings.xml
  15. 1
      app/src/main/res/values-iw/strings.xml
  16. 1
      app/src/main/res/values-ja/strings.xml
  17. 1
      app/src/main/res/values-ko/strings.xml
  18. 3
      app/src/main/res/values-nl/strings.xml
  19. 1
      app/src/main/res/values-pl/strings.xml
  20. 1
      app/src/main/res/values-pt-rBR/strings.xml
  21. 1
      app/src/main/res/values-pt/strings.xml
  22. 1
      app/src/main/res/values-ru/strings.xml
  23. 1
      app/src/main/res/values-sl/strings.xml
  24. 1
      app/src/main/res/values-sv/strings.xml
  25. 1
      app/src/main/res/values-tr/strings.xml
  26. 1
      app/src/main/res/values-zh-rCN/strings.xml
  27. 3
      app/src/main/res/values/strings.xml
  28. 72
      app/src/main/res/xml/pref_seedbox_seedstuff.xml

3
app/src/main/AndroidManifest.xml

@ -225,9 +225,6 @@ @@ -225,9 +225,6 @@
<activity
android:name="org.transdroid.core.seedbox.DediseedboxSettingsActivity_"
android:theme="@style/TransdroidTheme.Settings" />
<activity
android:name="org.transdroid.core.seedbox.SeedstuffSettingsActivity_"
android:theme="@style/TransdroidTheme.Settings" />
<activity
android:name="org.transdroid.core.seedbox.XirvikSharedSettingsActivity_"
android:theme="@style/TransdroidTheme.Settings" />

6
app/src/main/java/org/transdroid/core/seedbox/SeedboxProvider.java

@ -32,12 +32,6 @@ public enum SeedboxProvider { @@ -32,12 +32,6 @@ public enum SeedboxProvider {
return new DediseedboxSettings();
}
},
Seedstuff {
@Override
public SeedboxSettings getSettings() {
return new SeedstuffSettings();
}
},
XirvikShared {
@Override
public SeedboxSettings getSettings() {

95
app/src/main/java/org/transdroid/core/seedbox/SeedstuffSettings.java

@ -1,95 +0,0 @@ @@ -1,95 +0,0 @@
/*
* Copyright 2010-2018 Eric Kok et al.
*
* Transdroid is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* Transdroid is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with Transdroid. If not, see <http://www.gnu.org/licenses/>.
*/
package org.transdroid.core.seedbox;
import android.content.Context;
import android.content.Intent;
import android.content.SharedPreferences;
import org.transdroid.core.app.settings.ServerSetting;
import org.transdroid.daemon.Daemon;
import org.transdroid.daemon.OS;
/**
* Implementation of {@link SeedboxSettings} for Seedstuff seedboxes.
*
* @author Eric Kok
*/
public class SeedstuffSettings extends SeedboxSettingsImpl implements SeedboxSettings {
@Override
public String getName() {
return "Seedstuff";
}
@Override
public ServerSetting getServerSetting(SharedPreferences prefs, int orderOffset, int order) {
// @formatter:off
String server = prefs.getString("seedbox_seedstuff_server_" + order, null);
if (server == null) {
return null;
}
String user = prefs.getString("seedbox_seedstuff_user_" + order, null);
String pass = prefs.getString("seedbox_seedstuff_pass_" + order, null);
return new ServerSetting(
orderOffset + order,
prefs.getString("seedbox_seedstuff_name_" + order, null),
Daemon.rTorrent,
server,
null,
443,
null,
443,
true,
true,
false,
null,
"/user/" + user,
true,
user,
pass,
null,
OS.Linux,
"/rtorrent/downloads",
"ftp://" + user + "@" + server + ":32001/rtorrent/downloads",
pass,
6,
prefs.getBoolean("seedbox_seedstuff_alarmfinished_" + order, true),
prefs.getBoolean("seedbox_seedstuff_alarmnew_" + order, false),
prefs.getString("seedbox_seedstuff_alarmexclude_" + order, null),
prefs.getString("seedbox_seedstuff_alarminclude_" + order, null),
true);
// @formatter:on
}
@Override
public Intent getSettingsActivityIntent(Context context) {
return SeedstuffSettingsActivity_.intent(context).get();
}
@Override
public int getMaxSeedboxOrder(SharedPreferences prefs) {
return getMaxSeedboxOrder(prefs, "seedbox_seedstuff_server_");
}
@Override
public void removeServerSetting(SharedPreferences prefs, int order) {
removeServerSetting(prefs, "seedbox_seedstuff_server_", new String[]{"seedbox_seedstuff_name_",
"seedbox_seedstuff_server_", "seedbox_seedstuff_user_", "seedbox_seedstuff_pass_"}, order);
}
}

93
app/src/main/java/org/transdroid/core/seedbox/SeedstuffSettingsActivity.java

@ -1,93 +0,0 @@ @@ -1,93 +0,0 @@
/*
* Copyright 2010-2018 Eric Kok et al.
*
* Transdroid is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* Transdroid is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with Transdroid. If not, see <http://www.gnu.org/licenses/>.
*/
package org.transdroid.core.seedbox;
import android.annotation.TargetApi;
import android.content.Intent;
import android.content.SharedPreferences;
import android.os.Build;
import android.os.Bundle;
import androidx.preference.EditTextPreference;
import androidx.preference.PreferenceManager;
import org.androidannotations.annotations.EActivity;
import org.androidannotations.annotations.OptionsItem;
import org.androidannotations.annotations.OptionsMenu;
import org.transdroid.R;
import org.transdroid.core.gui.settings.KeyBoundPreferencesActivity;
import org.transdroid.core.gui.settings.MainSettingsActivity_;
/**
* Activity that allows for the configuration of a Seedstuff seedbox. The key can be supplied to update an
* existing server setting instead of creating a new one.
*
* @author Eric Kok
*/
@EActivity
@OptionsMenu(resName = "activity_deleteableprefs")
public class SeedstuffSettingsActivity extends KeyBoundPreferencesActivity {
private EditTextPreference excludeFilter, includeFilter;
@Override
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
getSupportActionBar().setDisplayHomeAsUpEnabled(true);
// Load the raw preferences to show in this screen
init(R.xml.pref_seedbox_seedstuff,
SeedboxProvider.Seedstuff.getSettings().getMaxSeedboxOrder(
PreferenceManager.getDefaultSharedPreferences(this)));
initTextPreference("seedbox_seedstuff_name");
initTextPreference("seedbox_seedstuff_server");
initTextPreference("seedbox_seedstuff_user");
initTextPreference("seedbox_seedstuff_pass");
initBooleanPreference("seedbox_seedstuff_alarmfinished", true);
initBooleanPreference("seedbox_seedstuff_alarmnew", true);
excludeFilter = initTextPreference("seedbox_seedstuff_alarmexclude");
includeFilter = initTextPreference("seedbox_seedstuff_alarminclude");
}
@TargetApi(Build.VERSION_CODES.HONEYCOMB)
@OptionsItem(android.R.id.home)
protected void navigateUp() {
MainSettingsActivity_.intent(this).flags(Intent.FLAG_ACTIVITY_CLEAR_TOP).start();
}
@OptionsItem(resName = "action_removesettings")
protected void removeSettings() {
SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(this);
SeedboxProvider.Seedstuff.getSettings().removeServerSetting(prefs, key);
finish();
}
@Override
protected void onPreferencesChanged() {
// Show the exclude and the include filters if notifying
SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(this);
boolean alarmFinished = prefs.getBoolean("seedbox_seedstuff_alarmfinished_" + key, true);
boolean alarmNew = prefs.getBoolean("seedbox_seedstuff_alarmnew_" + key, true);
excludeFilter.setEnabled(alarmNew || alarmFinished);
includeFilter.setEnabled(alarmNew || alarmFinished);
}
}

1
app/src/main/res/values-bg/strings.xml

@ -220,7 +220,6 @@ @@ -220,7 +220,6 @@
<string name="pref_seedbox_xirvikhint">Като eplus001.xirvik.com</string>
<string name="pref_seedbox_xirvikhint2">Като semixl001a.xirvik.com</string>
<string name="pref_seedbox_xirvikhint3">Като desharedgbit001.xirvik.com</string>
<string name="pref_seedbox_seedstuffhint">Като 001.seedstuff.ca</string>
<string-array name="pref_notifyinterval_types">
<item>15 минути</item>
<item>30 минути</item>

1
app/src/main/res/values-cs/strings.xml

@ -284,7 +284,6 @@ @@ -284,7 +284,6 @@
<string name="pref_seedbox_xirvikhint2">Např.: semixl001a.xirvik.com</string>
<string name="pref_seedbox_xirvikhint3">Např.: desharedgbit001.xirvik.com</string>
<string name="pref_seedbox_xirviknofolder">Nelze načíst nastavení složky Xirvik SCGI; opakujte akci později nebo zkontrolujte nastavení adresy vašeho serveru</string>
<string name="pref_seedbox_seedstuffhint">Např.: Like 001.seedstuff.ca</string>
<string-array name="pref_notifyinterval_types">
<item>15 minut</item>
<item>30 minut</item>

1
app/src/main/res/values-da/strings.xml

@ -300,7 +300,6 @@ @@ -300,7 +300,6 @@
<string name="pref_seedbox_xirvikhint2">Eks. semixl001a.xirvik.com</string>
<string name="pref_seedbox_xirvikhint3">Eks. desharedgbit001.xirvik.com</string>
<string name="pref_seedbox_xirviknofolder">Kan ikke hente indstillingen for Xirvik SCGI; Prøv igen senere, eller ret din server adresseindstilling</string>
<string name="pref_seedbox_seedstuffhint">Eks. 001.seedstuff.ca</string>
<string-array name="pref_notifyinterval_types">
<item>15 minutter</item>
<item>30 minutter</item>

1
app/src/main/res/values-de/strings.xml

@ -316,7 +316,6 @@ @@ -316,7 +316,6 @@
<string name="pref_seedbox_xirvikhint2">Like semixl001a.xirvik.com</string>
<string name="pref_seedbox_xirvikhint3">Like desharedgbit001.xirvik.com</string>
<string name="pref_seedbox_xirviknofolder">Die Xirvik SCGI-Ordner-Einstellung kann nicht abgerufen werden; Bitte versuchen Sie es später erneut, oder korrigieren Sie ihre Serveradresse</string>
<string name="pref_seedbox_seedstuffhint">Like 001.seedstuff.ca</string>
<string-array name="pref_notifyinterval_types">
<item>15 Minuten</item>
<item>30 Minuten</item>

1
app/src/main/res/values-et/strings.xml

@ -183,7 +183,6 @@ @@ -183,7 +183,6 @@
<string name="pref_seedbox_xirvikhint">Nagu eplus001.xirvik.com</string>
<string name="pref_seedbox_xirvikhint2">Nagu semixl001a.xirvik.com</string>
<string name="pref_seedbox_xirvikhint3">Nagu desharedgbit001.xirvik.com</string>
<string name="pref_seedbox_seedstuffhint">Nagu 001.seedstuff.ca</string>
<string-array name="pref_notifyinterval_types">
<item>15 minutit</item>
<item>30 minutit</item>

1
app/src/main/res/values-fa/strings.xml

@ -305,7 +305,6 @@ @@ -305,7 +305,6 @@
<string name="pref_seedbox_xirvikhint2">مانند semixl001a.xirvik.com</string>
<string name="pref_seedbox_xirvikhint3">مانند desharedgbit001.xirvik.com</string>
<string name="pref_seedbox_xirviknofolder">نمیتوان تنظیمات پوشهی SCGIی Xirvik را دریافت کرد؛ لطفا ً بعدا ً دوباره امتحان کنید یا تنظیمات نشانی کارگزار را درست کنید</string>
<string name="pref_seedbox_seedstuffhint">مانند 001.seedstuff.ca</string>
<string-array name="pref_notifyinterval_types">
<item> 15 دقیقه </item>
<item> 30 دقیقه </item>

1
app/src/main/res/values-fi/strings.xml

@ -141,7 +141,6 @@ @@ -141,7 +141,6 @@
<string name="pref_seedbox_xirvikhint">Kuten eplus001.xirvik.com</string>
<string name="pref_seedbox_xirvikhint2">Kuten semixl001a.xirvik.com</string>
<string name="pref_seedbox_xirvikhint3">Kuten desharedgbit001.xirvik.com</string>
<string name="pref_seedbox_seedstuffhint">Kuten 001.seedstuff.ca</string>
<string-array name="pref_notifyinterval_types">
<item>15 minuuttia</item>
<item>30 minuuttia</item>

1
app/src/main/res/values-fr/strings.xml

@ -300,7 +300,6 @@ @@ -300,7 +300,6 @@
<string name="pref_seedbox_xirvikhint2">Comme semixl001a.xirvik.com</string>
<string name="pref_seedbox_xirvikhint3">Comme desharedgbit001.xirvik.com</string>
<string name="pref_seedbox_xirviknofolder">Impossible de récupérer le paramètre dossier de Xirvik SCGI ; Veuillez réessayer ultérieurement ou corriger le réglage d\'adresse de votre serveur</string>
<string name="pref_seedbox_seedstuffhint">Comme 001.seedstuff.ca</string>
<string-array name="pref_notifyinterval_types">
<item>15 minutes</item>
<item>30 minutes</item>

1
app/src/main/res/values-hu/strings.xml

@ -316,7 +316,6 @@ @@ -316,7 +316,6 @@
<string name="pref_seedbox_xirvikhint2">Például semixl001a.xirvik.com</string>
<string name="pref_seedbox_xirvikhint3">Például desharedgbit001.xirvik.com</string>
<string name="pref_seedbox_xirviknofolder">Nem lehet letölteni a Xirvik SCGI mappa beállításait; próbálja meg újra később, vagy javítsa ki a szerver címének beállításait</string>
<string name="pref_seedbox_seedstuffhint">Például 001.seedstuff.ca</string>
<string-array name="pref_notifyinterval_types">
<item>15 perc</item>
<item>30 perc</item>

1
app/src/main/res/values-it/strings.xml

@ -316,7 +316,6 @@ @@ -316,7 +316,6 @@
<string name="pref_seedbox_xirvikhint2">Esempio: semixl001a.xirvik.com</string>
<string name="pref_seedbox_xirvikhint3">Esempio: desharedgbit001.xirvik.com</string>
<string name="pref_seedbox_xirviknofolder">Impossibile recuperare la cartella Xirvik SCGI; riprovare più tardi o correggere l\'indirizzo del server</string>
<string name="pref_seedbox_seedstuffhint">Esempio: 001.seedstuff.ca</string>
<string-array name="pref_notifyinterval_types">
<item>15 minuto</item>
<item>30 minuto</item>

1
app/src/main/res/values-iw/strings.xml

@ -254,7 +254,6 @@ @@ -254,7 +254,6 @@
<string name="pref_seedbox_xirvikhint">לדוגמא: eplus001.xirvik.com</string>
<string name="pref_seedbox_xirvikhint2">לדוגמא: semixl001a.xirvik.com</string>
<string name="pref_seedbox_xirvikhint3">לדוגמא: desharedgbit001.xirvik.com</string>
<string name="pref_seedbox_seedstuffhint">לדוגמא: 001.seedstuff.ca</string>
<string-array name="pref_notifyinterval_types">
<item>15 דקות</item>
<item>חצי שעה</item>

1
app/src/main/res/values-ja/strings.xml

@ -308,7 +308,6 @@ @@ -308,7 +308,6 @@
<string name="pref_seedbox_xirvikhint2">semixl001a.xirvik.com のように</string>
<string name="pref_seedbox_xirvikhint3">desharedgbit001.xirvik.com のように</string>
<string name="pref_seedbox_xirviknofolder">Xirvik SCGI フォルダー設定を読み取りできません。後で再度実行するか、サーバー・アドレス設定を確認してください</string>
<string name="pref_seedbox_seedstuffhint">001.seedstuff.ca のように</string>
<string-array name="pref_notifyinterval_types">
<item>15 分</item>
<item>30 分</item>

1
app/src/main/res/values-ko/strings.xml

@ -308,7 +308,6 @@ @@ -308,7 +308,6 @@
<string name="pref_seedbox_xirvikhint2">예) semixl001a.xirvik.com</string>
<string name="pref_seedbox_xirvikhint3">예) desharedgbit001.xirvik.com</string>
<string name="pref_seedbox_xirviknofolder">Xirvik SCGI 폴더 설정을 받아오지 못했습니다; 다음에 다시 시도해 보시거나 서버 주소 설정을 고쳐보세요</string>
<string name="pref_seedbox_seedstuffhint">예) 001.seedstuff.ca</string>
<string-array name="pref_notifyinterval_types">
<item>15분</item>
<item>30분</item>

3
app/src/main/res/values-nl/strings.xml

@ -203,7 +203,7 @@ @@ -203,7 +203,7 @@
<string name="pref_servers">Servers</string>
<string name="pref_addserver">Nieuwe server toevoegen</string>
<string name="pref_addseedbox">Seedbox toevoegen</string>
<string name="pref_defaultserver">Standaardserver</string>
<string name="pref_defaultserver">Standaardserver kiezen</string>
<string name="pref_defaultserver_lastused">Laatstgebruikte</string>
<string name="pref_defaultserver_askonadd">Vraag bij toevoegen van torrent</string>
<string name="pref_searchsites">Zoeksites</string>
@ -312,7 +312,6 @@ @@ -312,7 +312,6 @@
<string name="pref_seedbox_xirvikhint2">Zoals semixl001a.xirvik.com</string>
<string name="pref_seedbox_xirvikhint3">Zoals desharedgbit001.xirvik.com</string>
<string name="pref_seedbox_xirviknofolder">Kan de Xirvik SCGI mount instelling niet laden; probeer later nog eens en controleer je serveradres</string>
<string name="pref_seedbox_seedstuffhint">Zoals 001.seedstuff.ca</string>
<string-array name="pref_notifyinterval_types">
<item>15 minuten</item>
<item>30 minuten</item>

1
app/src/main/res/values-pl/strings.xml

@ -281,7 +281,6 @@ @@ -281,7 +281,6 @@
<string name="pref_seedbox_xirvikhint">Jak eplus001.xirvik.com</string>
<string name="pref_seedbox_xirvikhint2">Jak semixl001a.xirvik.com</string>
<string name="pref_seedbox_xirvikhint3">Jak desharedgbit001.xirvik.com</string>
<string name="pref_seedbox_seedstuffhint">Jak 001.seedstuff.ca</string>
<string-array name="pref_notifyinterval_types">
<item>15 minut</item>
<item>30 minut</item>

1
app/src/main/res/values-pt-rBR/strings.xml

@ -316,7 +316,6 @@ @@ -316,7 +316,6 @@
<string name="pref_seedbox_xirvikhint2">Como semixl001a.xirvik.com</string>
<string name="pref_seedbox_xirvikhint3">Como desharedgbit001.xirvik.com</string>
<string name="pref_seedbox_xirviknofolder">Não foi possível recuperar a pasta de configuração do Xirvik SCGI; por favor, tente novamente mais tarde ou corrija a configuração de endereço do servidor</string>
<string name="pref_seedbox_seedstuffhint">Como 001.seedstuff.ca</string>
<string-array name="pref_notifyinterval_types">
<item>15 minutos</item>
<item>30 minutos</item>

1
app/src/main/res/values-pt/strings.xml

@ -316,7 +316,6 @@ @@ -316,7 +316,6 @@
<string name="pref_seedbox_xirvikhint2">Como semixl001a.xirvik.com</string>
<string name="pref_seedbox_xirvikhint3">Como desharedgbit001.xirvik.com</string>
<string name="pref_seedbox_xirviknofolder">Não é possível obter a configuração de pasta Xirvik SCGI; por favor, tente novamente mais tarde ou corrija a sua configuração de endereço do servidor</string>
<string name="pref_seedbox_seedstuffhint">Por ex. 001.seedstuff.ca</string>
<string-array name="pref_notifyinterval_types">
<item>15 minutos</item>
<item>30 minutos</item>

1
app/src/main/res/values-ru/strings.xml

@ -333,7 +333,6 @@ @@ -333,7 +333,6 @@
<string name="pref_seedbox_xirvikhint2">Как semixl001a.xirvik.com</string>
<string name="pref_seedbox_xirvikhint3">Как desharedgbit001.xirvik.com</string>
<string name="pref_seedbox_xirviknofolder">Не удается получить настройки папок Xirvik SCGI. Пожалуйста, повторите попытку позже или измените адрес сервера.</string>
<string name="pref_seedbox_seedstuffhint">Как 001.seedstuff.ca</string>
<string-array name="pref_notifyinterval_types">
<item>15 минут</item>
<item>30 минут</item>

1
app/src/main/res/values-sl/strings.xml

@ -332,7 +332,6 @@ @@ -332,7 +332,6 @@
<string name="pref_seedbox_xirvikhint2">Npr. semixl001a.xirvik.com</string>
<string name="pref_seedbox_xirvikhint3">Npr. desharedgbit001.xirvik.com</string>
<string name="pref_seedbox_xirviknofolder">Ne morem pridobiti Xirvik SCGI nastavitev map; poskusite pozneje ali popravite naslov strežnika</string>
<string name="pref_seedbox_seedstuffhint">Npr. 001.seedstuff.ca</string>
<string-array name="pref_notifyinterval_types">
<item>15 minut</item>
<item>30 minut</item>

1
app/src/main/res/values-sv/strings.xml

@ -316,7 +316,6 @@ @@ -316,7 +316,6 @@
<string name="pref_seedbox_xirvikhint2">Som semixl001a.xirvik.com</string>
<string name="pref_seedbox_xirvikhint3">Som desharedgbit001.xirvik.com</string>
<string name="pref_seedbox_xirviknofolder">Går inte att hämta Xirvik SCGI mappinställningen. Försök igen senare eller korrigera din serveradress</string>
<string name="pref_seedbox_seedstuffhint">Som 001.seedstuff.ca</string>
<string-array name="pref_notifyinterval_types">
<item>15 minuter</item>
<item>30 minuter</item>

1
app/src/main/res/values-tr/strings.xml

@ -315,7 +315,6 @@ @@ -315,7 +315,6 @@
<string name="pref_seedbox_xirvikhint2">semixl001a.xirvik.com gibi</string>
<string name="pref_seedbox_xirvikhint3">desharedgbit001.xirvik.com gibi</string>
<string name="pref_seedbox_xirviknofolder">Xirvik SCGI klasör ayarı alınamıyor; Lütfen daha sonra yeniden deneyin veya sunucu adresi ayarını doğrulayın</string>
<string name="pref_seedbox_seedstuffhint">001.seedstuff.CA gibi</string>
<string-array name="pref_notifyinterval_types">
<item>15 dakika</item>
<item>30 dakika</item>

1
app/src/main/res/values-zh-rCN/strings.xml

@ -292,7 +292,6 @@ @@ -292,7 +292,6 @@
<string name="pref_seedbox_xirvikhint2">例如:semixl001a.xirvik.com</string>
<string name="pref_seedbox_xirvikhint3">例如:desharedgbit001.xirvik.com</string>
<string name="pref_seedbox_xirviknofolder">无法检索Xirvik SCGI的文件夹设置,请稍后再试或更正您的服务器地址</string>
<string name="pref_seedbox_seedstuffhint">例如:001.seedstuff.ca</string>
<string-array name="pref_notifyinterval_types">
<item>每15分钟</item>
<item>每30分钟</item>

3
app/src/main/res/values/strings.xml

@ -241,7 +241,7 @@ @@ -241,7 +241,7 @@
<string name="pref_addserver">Add new server</string>
<string name="pref_addserver_normal">Add normal, custom server</string>
<string name="pref_addseedbox">Add seedbox</string>
<string name="pref_defaultserver">Default server</string>
<string name="pref_defaultserver">Set the default server</string>
<string name="pref_defaultserver_lastused">Last used</string>
<string name="pref_defaultserver_askonadd">Ask when adding torrent</string>
<string name="pref_searchsites">Search sites</string>
@ -383,7 +383,6 @@ @@ -383,7 +383,6 @@
<string name="pref_seedbox_xirvikhint2">Like semixl001a.xirvik.com</string>
<string name="pref_seedbox_xirvikhint3">Like desharedgbit001.xirvik.com</string>
<string name="pref_seedbox_xirviknofolder">Cannot retrieve the Xirvik SCGI folder setting; please try again later or correct your server address setting</string>
<string name="pref_seedbox_seedstuffhint">Like 001.seedstuff.ca</string>
<string name="pref_seedbox_dediseedboxhint">Like abcd123.dediseedbox.com</string>
<string-array name="pref_seedbox_xirvikclients" translatable="false">
<item>rTorrent</item>

72
app/src/main/res/xml/pref_seedbox_seedstuff.xml

@ -1,72 +0,0 @@ @@ -1,72 +0,0 @@
<?xml version="1.0" encoding="utf-8"?><!--
Copyright 2010-2018 Eric Kok et al.
Transdroid is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
Transdroid is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with Transdroid. If not, see <http://www.gnu.org/licenses/>.
-->
<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto">
<EditTextPreference
android:inputType="textNoSuggestions"
android:key="seedbox_seedstuff_name"
android:summary="@string/pref_name_optional"
android:title="@string/pref_name"
app:iconSpaceReserved="false" />
<EditTextPreference
android:inputType="textUri"
android:key="seedbox_seedstuff_server"
android:summary="@string/pref_seedbox_seedstuffhint"
android:title="@string/pref_seedbox_server"
app:iconSpaceReserved="false" />
<EditTextPreference
android:inputType="textNoSuggestions"
android:key="seedbox_seedstuff_user"
android:title="@string/pref_user"
app:iconSpaceReserved="false" />
<EditTextPreference
android:inputType="textPassword"
android:key="seedbox_seedstuff_pass"
android:title="@string/pref_pass"
app:iconSpaceReserved="false" />
<PreferenceScreen
android:title="@string/pref_optional"
app:iconSpaceReserved="false">
<CheckBoxPreference
android:defaultValue="true"
android:key="seedbox_seedstuff_alarmfinished"
android:summary="@string/pref_alarmdone_info"
android:title="@string/pref_alarmdone"
app:iconSpaceReserved="false" />
<CheckBoxPreference
android:defaultValue="false"
android:key="seedbox_seedstuff_alarmnew"
android:summary="@string/pref_alarmnew_info"
android:title="@string/pref_alarmnew"
app:iconSpaceReserved="false" />
<EditTextPreference
android:inputType="textFilter"
android:key="seedbox_seedstuff_alarmexclude"
android:summary="@string/pref_alarmexclude_info"
android:title="@string/pref_alarmexclude"
app:iconSpaceReserved="false" />
<EditTextPreference
android:inputType="textFilter"
android:key="seedbox_seedstuff_alarminclude"
android:summary="@string/pref_alarminclude_info"
android:title="@string/pref_alarminclude"
app:iconSpaceReserved="false" />
</PreferenceScreen>
</PreferenceScreen>
Loading…
Cancel
Save