aboutsummaryrefslogtreecommitdiffstats
path: root/app/src/main
diff options
context:
space:
mode:
Diffstat (limited to 'app/src/main')
-rw-r--r--app/src/main/java/org/connectbot/PortForwardListActivity.java31
-rw-r--r--app/src/main/res/layout/act_portforwardlist.xml11
-rw-r--r--app/src/main/res/values-ca/strings.xml1
-rw-r--r--app/src/main/res/values-cs/strings.xml1
-rw-r--r--app/src/main/res/values-da/strings.xml1
-rw-r--r--app/src/main/res/values-de/strings.xml1
-rw-r--r--app/src/main/res/values-es/strings.xml1
-rw-r--r--app/src/main/res/values-eu/strings.xml1
-rw-r--r--app/src/main/res/values-fi/strings.xml1
-rw-r--r--app/src/main/res/values-fr/strings.xml1
-rw-r--r--app/src/main/res/values-he/strings.xml1
-rw-r--r--app/src/main/res/values-hu/strings.xml1
-rw-r--r--app/src/main/res/values-id/strings.xml1
-rw-r--r--app/src/main/res/values-is/strings.xml1
-rw-r--r--app/src/main/res/values-it/strings.xml1
-rw-r--r--app/src/main/res/values-ja/strings.xml1
-rw-r--r--app/src/main/res/values-ko/strings.xml1
-rw-r--r--app/src/main/res/values-nb/strings.xml1
-rw-r--r--app/src/main/res/values-nl/strings.xml1
-rw-r--r--app/src/main/res/values-pl/strings.xml1
-rw-r--r--app/src/main/res/values-pt-rBR/strings.xml1
-rw-r--r--app/src/main/res/values-pt/strings.xml1
-rw-r--r--app/src/main/res/values-ru/strings.xml1
-rw-r--r--app/src/main/res/values-sk/strings.xml1
-rw-r--r--app/src/main/res/values-sl/strings.xml1
-rw-r--r--app/src/main/res/values-sr/strings.xml1
-rw-r--r--app/src/main/res/values-sv/strings.xml1
-rw-r--r--app/src/main/res/values-tr/strings.xml1
-rw-r--r--app/src/main/res/values-zh-rCN/strings.xml1
-rw-r--r--app/src/main/res/values-zh-rTW/strings.xml1
-rw-r--r--app/src/main/res/values/strings.xml2
31 files changed, 31 insertions, 41 deletions
diff --git a/app/src/main/java/org/connectbot/PortForwardListActivity.java b/app/src/main/java/org/connectbot/PortForwardListActivity.java
index ecab4e0..c7f0e7c 100644
--- a/app/src/main/java/org/connectbot/PortForwardListActivity.java
+++ b/app/src/main/java/org/connectbot/PortForwardListActivity.java
@@ -17,6 +17,7 @@
package org.connectbot;
+import java.lang.ref.WeakReference;
import java.util.List;
import org.connectbot.bean.HostBean;
@@ -40,13 +41,11 @@ import android.os.IBinder;
import android.os.Message;
import android.support.annotation.VisibleForTesting;
import android.support.design.widget.FloatingActionButton;
-import android.support.v4.app.DialogFragment;
import android.support.v7.widget.LinearLayoutManager;
import android.support.v7.widget.RecyclerView;
import android.util.Log;
import android.view.ContextMenu;
import android.view.LayoutInflater;
-import android.view.Menu;
import android.view.MenuItem;
import android.view.MenuItem.OnMenuItemClickListener;
import android.view.View;
@@ -77,6 +76,9 @@ public class PortForwardListActivity extends AppCompatListActivity {
protected TerminalBridge hostBridge = null;
protected LayoutInflater inflater = null;
+
+ protected Handler updateHandler = new Handler(new WeakReference<>(this));
+
private HostBean host;
@Override
@@ -152,7 +154,7 @@ public class PortForwardListActivity extends AppCompatListActivity {
@Override
public void onClick(View v) {
// build dialog to prompt user about updating
- final View portForwardView = inflater.inflate(R.layout.dia_portforward, null, false);
+ final View portForwardView = View.inflate(PortForwardListActivity.this, R.layout.dia_portforward, null);
final EditText destEdit = (EditText) portForwardView.findViewById(R.id.portforward_destination);
final Spinner typeSpinner = (Spinner) portForwardView.findViewById(R.id.portforward_type);
@@ -215,13 +217,6 @@ public class PortForwardListActivity extends AppCompatListActivity {
});
}
- protected Handler updateHandler = new Handler() {
- @Override
- public void handleMessage(Message msg) {
- PortForwardListActivity.this.updateList();
- }
- };
-
protected void updateList() {
if (hostBridge != null) {
this.portForwards = hostBridge.getPortForwards();
@@ -272,7 +267,7 @@ public class PortForwardListActivity extends AppCompatListActivity {
MenuItem edit = menu.add(R.string.portforward_edit);
edit.setOnMenuItemClickListener(new OnMenuItemClickListener() {
public boolean onMenuItemClick(MenuItem item) {
- final View editTunnelView = inflater.inflate(R.layout.dia_portforward, null, false);
+ final View editTunnelView = View.inflate(PortForwardListActivity.this, R.layout.dia_portforward, null);
final Spinner typeSpinner = (Spinner) editTunnelView.findViewById(R.id.portforward_type);
if (HostDatabase.PORTFORWARD_LOCAL.equals(portForward.getType()))
@@ -428,4 +423,18 @@ public class PortForwardListActivity extends AppCompatListActivity {
return portForwards.size();
}
}
+
+ private static class Handler extends android.os.Handler {
+
+ private WeakReference<PortForwardListActivity> mActivity;
+
+ Handler(WeakReference<PortForwardListActivity> activity) {
+ mActivity = activity;
+ }
+
+ @Override
+ public void handleMessage(Message msg) {
+ mActivity.get().updateList();
+ }
+ }
}
diff --git a/app/src/main/res/layout/act_portforwardlist.xml b/app/src/main/res/layout/act_portforwardlist.xml
index b1655e0..acbb5c8 100644
--- a/app/src/main/res/layout/act_portforwardlist.xml
+++ b/app/src/main/res/layout/act_portforwardlist.xml
@@ -35,6 +35,17 @@
android:clipToPadding="false"
/>
+ <TextView
+ android:id="@+id/empty"
+ android:layout_width="fill_parent"
+ android:layout_height="fill_parent"
+ android:gravity="center"
+ android:text="@string/portforward_list_empty"
+ android:textAppearance="?android:attr/textAppearanceMedium"
+ android:paddingBottom="88dp"
+ android:clipToPadding="false"
+ />
+
<android.support.design.widget.FloatingActionButton
android:id="@+id/add_port_forward_button"
android:layout_width="wrap_content"
diff --git a/app/src/main/res/values-ca/strings.xml b/app/src/main/res/values-ca/strings.xml
index bc6f6db..8156cc6 100644
--- a/app/src/main/res/values-ca/strings.xml
+++ b/app/src/main/res/values-ca/strings.xml
@@ -142,7 +142,6 @@
<string name="portforward_pos">Crea redireccionament de ports</string>
<string name="portforward_done">Redireccionament creat correctament</string>
<string name="portforward_problem">Problemes creant el redireccionament de ports, potser s\'usen ports per sota del 1024 o el port és en ús actualment?</string>
- <string name="portforward_menu_add">Afegeix redireccionament de ports</string>
<string name="hint_userhost">usuari\@servidor</string>
<string name="list_format_error">Usa el format %1$s</string>
<string name="format_username">Usuari</string>
diff --git a/app/src/main/res/values-cs/strings.xml b/app/src/main/res/values-cs/strings.xml
index 18d80b4..73ac4f4 100644
--- a/app/src/main/res/values-cs/strings.xml
+++ b/app/src/main/res/values-cs/strings.xml
@@ -137,7 +137,6 @@
<string name="portforward_dynamic">Dynamický (SOCKS)</string>
<string name="portforward_pos">Vytvořit přesměrování portu</string>
<string name="portforward_done">Přesměrování portu úspěšně vytvořeno</string>
- <string name="portforward_menu_add">Přidat přesměrování portu</string>
<string name="hint_userhost">user\@hostname</string>
<string name="list_format_error">Použijte formát %1$s</string>
<string name="format_username">uživatelské jméno</string>
diff --git a/app/src/main/res/values-da/strings.xml b/app/src/main/res/values-da/strings.xml
index 1b98e6b..b84612d 100644
--- a/app/src/main/res/values-da/strings.xml
+++ b/app/src/main/res/values-da/strings.xml
@@ -140,7 +140,6 @@
<string name="portforward_pos">Opret port-videresendelse</string>
<string name="portforward_done">Port-videresendelse oprettet</string>
<string name="portforward_problem">Der opstod problemer ved oprettelsen af port-videresendelse. Måske bruger du en port lavere end 1025, eller en port som allerede er i brug.</string>
- <string name="portforward_menu_add">Tilføj port-videresendelse</string>
<string name="hint_userhost">brugernavn\@vært</string>
<string name="list_format_error">Anvend formatet %1$s</string>
<string name="format_username">brugernavn</string>
diff --git a/app/src/main/res/values-de/strings.xml b/app/src/main/res/values-de/strings.xml
index 1cda6a7..ba993d1 100644
--- a/app/src/main/res/values-de/strings.xml
+++ b/app/src/main/res/values-de/strings.xml
@@ -142,7 +142,6 @@
<string name="portforward_pos">Port-Weiterleitung anlegen</string>
<string name="portforward_done">Port-Weiterleitung angelegt.</string>
<string name="portforward_problem">Konnte Port-Weiterleitung nicht anlegen. Verwenden Sie Ports kleiner als 1024, oder wird der Port bereits verwendet?</string>
- <string name="portforward_menu_add">Port-Weiterleitung hinzufügen</string>
<string name="hint_userhost">benutzer\@hostname</string>
<string name="list_format_error">Benutze das Format %1$s</string>
<string name="format_username">Benutzername</string>
diff --git a/app/src/main/res/values-es/strings.xml b/app/src/main/res/values-es/strings.xml
index a168adc..8067d0a 100644
--- a/app/src/main/res/values-es/strings.xml
+++ b/app/src/main/res/values-es/strings.xml
@@ -154,7 +154,6 @@
<string name="portforward_pos">Crear reenvio de puerto</string>
<string name="portforward_done">Creacion satisfactoria del reenvio de puerto</string>
<string name="portforward_problem">Problema al crear el puerto de reenvio, tal vez usted está usando puertos menores de 1024 o el puerto ya está siendo utilizado?</string>
- <string name="portforward_menu_add">Añadir redirección de puertos</string>
<string name="hint_userhost">usuario\@equipo</string>
<string name="list_format_error">Usar formato %1$s</string>
<string name="format_username">Usuario</string>
diff --git a/app/src/main/res/values-eu/strings.xml b/app/src/main/res/values-eu/strings.xml
index 563e7da..9eb598a 100644
--- a/app/src/main/res/values-eu/strings.xml
+++ b/app/src/main/res/values-eu/strings.xml
@@ -148,7 +148,6 @@
<string name="portforward_pos">Sortu ataka birbidalketa</string>
<string name="portforward_done">Ataka birbidalketa ongi sortu da</string>
<string name="portforward_problem">Arazoa ataka birbidalketa sortzean, behar bada erabilitako ataka 1024 baino txikiagoa da edo dagoeneko erabiltzen den ataka bat da?</string>
- <string name="portforward_menu_add">Gehitu ataka birbidalketa</string>
<string name="hint_userhost">erabiltzailea\@ostalaria</string>
<string name="list_format_error">Erabili %1$s formatua</string>
<string name="format_username">erabiltzaile-izena</string>
diff --git a/app/src/main/res/values-fi/strings.xml b/app/src/main/res/values-fi/strings.xml
index 2311edf..de26749 100644
--- a/app/src/main/res/values-fi/strings.xml
+++ b/app/src/main/res/values-fi/strings.xml
@@ -139,7 +139,6 @@
<string name="portforward_pos">Luo porttiohjaus</string>
<string name="portforward_done">Porttiohjaus luotu onnistuneesti</string>
<string name="portforward_problem">Ongelma luotaessa porttiohjausta. Ehkä käytät porttia joka on alle 1024 tai portti on jo käytössä?</string>
- <string name="portforward_menu_add">Lisää porttiohjaus</string>
<string name="hint_userhost">tunnus\@palvelin</string>
<string name="list_format_error">Käytä muotoa %1$s</string>
<string name="format_username">käyttäjätunnus</string>
diff --git a/app/src/main/res/values-fr/strings.xml b/app/src/main/res/values-fr/strings.xml
index 28afe2b..05f88b0 100644
--- a/app/src/main/res/values-fr/strings.xml
+++ b/app/src/main/res/values-fr/strings.xml
@@ -150,7 +150,6 @@
<string name="portforward_pos">Créer la redirection de port</string>
<string name="portforward_done">Redirection de port créée avec succès</string>
<string name="portforward_problem">Problème de création de la redirection de port, peut-être utilisez-vous un port sous le 1024 ou un déjà utilisé ?</string>
- <string name="portforward_menu_add">Ajouter une redirection de port</string>
<string name="hint_userhost">utilisateur\@serveur</string>
<string name="list_format_error">Utilisez le format \"%1$s\"</string>
<string name="format_username">utilisateur</string>
diff --git a/app/src/main/res/values-he/strings.xml b/app/src/main/res/values-he/strings.xml
index aae25e2..b9146ed 100644
--- a/app/src/main/res/values-he/strings.xml
+++ b/app/src/main/res/values-he/strings.xml
@@ -141,7 +141,6 @@
<string name="portforward_pos">יצירת הפניית פתחות</string>
<string name="portforward_done">הפניית הפתחות נוצרה בהצלחה</string>
<string name="portforward_problem">אירעה שגיאה ביצירת הפניית פתחות, יתכן שניסית להשתמש בפתחות מתחת ל־1024 או שהפתחה כבר בשימוש?</string>
- <string name="portforward_menu_add">הוספת הפניית פתחות</string>
<string name="hint_userhost">user\@hostname</string>
<string name="list_format_error">יש להשתמש בצורה „%1$s“</string>
<string name="format_username">username</string>
diff --git a/app/src/main/res/values-hu/strings.xml b/app/src/main/res/values-hu/strings.xml
index 9e71521..b74f517 100644
--- a/app/src/main/res/values-hu/strings.xml
+++ b/app/src/main/res/values-hu/strings.xml
@@ -140,7 +140,6 @@
<string name="portforward_pos">Port átirányítás létrehozása</string>
<string name="portforward_done">Sikeres port átirányítás</string>
<string name="portforward_problem">Probléma a port átirányítás létrehozása során, 1024 alatti vagy már használatban lévő portot választott?</string>
- <string name="portforward_menu_add">Port átirányítás hozzáadása</string>
<string name="hint_userhost">felhasználó\@gépnév</string>
<string name="list_format_error">A %1$s formátum használata</string>
<string name="format_username">felhasználónév</string>
diff --git a/app/src/main/res/values-id/strings.xml b/app/src/main/res/values-id/strings.xml
index 6d89a84..4b01149 100644
--- a/app/src/main/res/values-id/strings.xml
+++ b/app/src/main/res/values-id/strings.xml
@@ -140,7 +140,6 @@
<string name="portforward_pos">Buat penerusan port</string>
<string name="portforward_done">Berhasil membuat penerusan port</string>
<string name="portforward_problem">Masalah dalam membuat penerusan port, mungkin Anda menggunakan nomor port di bawah 1024 atau nomor port telah digunakan?</string>
- <string name="portforward_menu_add">Tambah penerusan port</string>
<string name="hint_userhost">pengguna\@namahost</string>
<string name="list_format_error">Gunakan bentuk \"%1$s\"</string>
<string name="format_username">pengguna</string>
diff --git a/app/src/main/res/values-is/strings.xml b/app/src/main/res/values-is/strings.xml
index 81ccb65..e22c0db 100644
--- a/app/src/main/res/values-is/strings.xml
+++ b/app/src/main/res/values-is/strings.xml
@@ -122,7 +122,6 @@
<string name="portforward_pos">Áframsenda port</string>
<string name="portforward_done">Áframsendi port farsællega</string>
<string name="portforward_problem">Gat ekki áframsent portið, varstu að nota port minna en 1024? Eða er portið nú þegar áframsent?</string>
- <string name="portforward_menu_add">Áframsenda port</string>
<string name="hint_userhost">notandi\@þjónn</string>
<string name="format_username">notendanafn</string>
<string name="format_hostname">þjónn</string>
diff --git a/app/src/main/res/values-it/strings.xml b/app/src/main/res/values-it/strings.xml
index cfd0e2c..cde7392 100644
--- a/app/src/main/res/values-it/strings.xml
+++ b/app/src/main/res/values-it/strings.xml
@@ -142,7 +142,6 @@
<string name="portforward_pos">Crea inoltro porta</string>
<string name="portforward_done">Inoltro della porta impostato correttamente</string>
<string name="portforward_problem">Problema configurando l\'inoltro della porta, forse si cerca di usare una porta più bassa di 1024 o la porta è già in uso?</string>
- <string name="portforward_menu_add">Aggiungi inoltro di una porta</string>
<string name="hint_userhost">utente\@host</string>
<string name="list_format_error">Usa il formato %1$s</string>
<string name="format_username">nome utente</string>
diff --git a/app/src/main/res/values-ja/strings.xml b/app/src/main/res/values-ja/strings.xml
index e21b24c..23c89ea 100644
--- a/app/src/main/res/values-ja/strings.xml
+++ b/app/src/main/res/values-ja/strings.xml
@@ -155,7 +155,6 @@
<string name="portforward_pos">ポート転送の作成</string>
<string name="portforward_done">ポート転送の作成に成功しました.</string>
<string name="portforward_problem">ポート転送の作成ができません.おそらく1024ポート以下か既に利用されているポートを指定されています.</string>
- <string name="portforward_menu_add">ポート転送の追加</string>
<string name="hint_userhost">ユーザ\@ホスト名</string>
<string name="list_format_error">%1$s 形式を使ってください</string>
<string name="format_username">ユーザ名</string>
diff --git a/app/src/main/res/values-ko/strings.xml b/app/src/main/res/values-ko/strings.xml
index a350b18..49bb602 100644
--- a/app/src/main/res/values-ko/strings.xml
+++ b/app/src/main/res/values-ko/strings.xml
@@ -132,7 +132,6 @@
<string name="portforward_dynamic">동적 (SOCKS)</string>
<string name="portforward_pos">포트 포워딩 만들기</string>
<string name="portforward_done">포트 포워딩을 만드는 데 성공했습니다.</string>
- <string name="portforward_menu_add">포트 포워딩 추가</string>
<string name="list_format_error">%1$s 형식을 사용</string>
<string name="format_username">사용자 이름</string>
<string name="format_hostname">호스트 이름</string>
diff --git a/app/src/main/res/values-nb/strings.xml b/app/src/main/res/values-nb/strings.xml
index af4e09b..c444e12 100644
--- a/app/src/main/res/values-nb/strings.xml
+++ b/app/src/main/res/values-nb/strings.xml
@@ -140,7 +140,6 @@
<string name="portforward_pos">Opprett portvideresending</string>
<string name="portforward_done">Vellykket oppretting av portvideresending</string>
<string name="portforward_problem">Mislyktes å opprette portvideresending. Bruker du porter under 1024, eller er denne porten allerede tatt?</string>
- <string name="portforward_menu_add">Legg til portvideresending</string>
<string name="hint_userhost">bruker\@vert</string>
<string name="list_format_error">Use the format %1$s</string>
<string name="format_username">brukernavn</string>
diff --git a/app/src/main/res/values-nl/strings.xml b/app/src/main/res/values-nl/strings.xml
index 93f5c02..1a89e1f 100644
--- a/app/src/main/res/values-nl/strings.xml
+++ b/app/src/main/res/values-nl/strings.xml
@@ -140,7 +140,6 @@
<string name="portforward_pos">Maak port forward</string>
<string name="portforward_done">Succesvol port forward gemaakt</string>
<string name="portforward_problem">Probleem met het maken van een port forward, misschien gebruik je poort onder 1024 of is de poort al gebruikt?</string>
- <string name="portforward_menu_add">Voeg port forward toe</string>
<string name="hint_userhost">gebruiker\@hostnaam</string>
<string name="list_format_error">Gebruik het formaat %1$s</string>
<string name="format_username">gebruiker</string>
diff --git a/app/src/main/res/values-pl/strings.xml b/app/src/main/res/values-pl/strings.xml
index b605ae1..800dbc1 100644
--- a/app/src/main/res/values-pl/strings.xml
+++ b/app/src/main/res/values-pl/strings.xml
@@ -142,7 +142,6 @@
<string name="portforward_pos">Utwórz przekierowanie portu</string>
<string name="portforward_done">Pomyślnie utworzono przekierowanie portu</string>
<string name="portforward_problem">Wystąpił problem podczas tworzenia przekierowania, być może użyłeś portu niższego niż 1024 lub port jest już używany?</string>
- <string name="portforward_menu_add">Dodaj przekierowanie portu</string>
<string name="hint_userhost">użytkownik\@host</string>
<string name="list_format_error">Proszę użyć formatu %1$s</string>
<string name="format_username">Nazwa użytkownika</string>
diff --git a/app/src/main/res/values-pt-rBR/strings.xml b/app/src/main/res/values-pt-rBR/strings.xml
index a7e9570..e149a96 100644
--- a/app/src/main/res/values-pt-rBR/strings.xml
+++ b/app/src/main/res/values-pt-rBR/strings.xml
@@ -142,7 +142,6 @@
<string name="portforward_pos">Criar encaminhamento de porta</string>
<string name="portforward_done">Encaminhamento de porta criado com sucesso</string>
<string name="portforward_problem">Problema na criação do redirecionamento de portas, talvez você esteja usando portas menores que 1024 ou a porta já esteja sendo usada.</string>
- <string name="portforward_menu_add">Adicionar encaminhamento de porta</string>
<string name="hint_userhost">usuario\@nome_do_host</string>
<string name="list_format_error">Use o formato %1$s</string>
<string name="format_username">usuário</string>
diff --git a/app/src/main/res/values-pt/strings.xml b/app/src/main/res/values-pt/strings.xml
index d1fc2cd..b477fb6 100644
--- a/app/src/main/res/values-pt/strings.xml
+++ b/app/src/main/res/values-pt/strings.xml
@@ -140,7 +140,6 @@
<string name="portforward_pos">Criar redirecionamento de portas</string>
<string name="portforward_done">Redirecionamento de porta criado com sucesso</string>
<string name="portforward_problem">Problema ao criar redirecionamento de porta, talvez esteja a usar portas abaixo de 1024 ou a porta já esteja em uso?</string>
- <string name="portforward_menu_add">Adicionar redirecionamento de porta</string>
<string name="hint_userhost">utilizador\@servidor</string>
<string name="list_format_error">Use o formato %1$s</string>
<string name="format_username">nome do utilizador</string>
diff --git a/app/src/main/res/values-ru/strings.xml b/app/src/main/res/values-ru/strings.xml
index a3fa802..9e48e1d 100644
--- a/app/src/main/res/values-ru/strings.xml
+++ b/app/src/main/res/values-ru/strings.xml
@@ -143,7 +143,6 @@
<string name="portforward_pos">Создать перенаправление порта</string>
<string name="portforward_done">Перенаправление порта успешно завершено</string>
<string name="portforward_problem">Не удалось создать перенаправление порта. Может быть вы используете порты меньше чем 1024 или пор уже используется?</string>
- <string name="portforward_menu_add">Добавить перенаправление порта</string>
<string name="hint_userhost">пользователь\@имяхоста</string>
<string name="list_format_error">Используйте формат %1$s</string>
<string name="format_username">имя пользователя</string>
diff --git a/app/src/main/res/values-sk/strings.xml b/app/src/main/res/values-sk/strings.xml
index 60e0b87..e2d8d40 100644
--- a/app/src/main/res/values-sk/strings.xml
+++ b/app/src/main/res/values-sk/strings.xml
@@ -140,7 +140,6 @@
<string name="portforward_pos">Vytvoriť presmerovanie portu</string>
<string name="portforward_done">Premerovanie portu úspešne vytvorené</string>
<string name="portforward_problem">Problém s vytvorením presmerovania portu, možno používate port menší ako 1024 alebo je už obsadený?</string>
- <string name="portforward_menu_add">Pridať presmerovanie portu</string>
<string name="hint_userhost">používateľské_meno\@hostiteľ</string>
<string name="list_format_error">Použite formát \"%1$s\"</string>
<string name="format_username">užívateľské meno</string>
diff --git a/app/src/main/res/values-sl/strings.xml b/app/src/main/res/values-sl/strings.xml
index 28d97d4..2d608a2 100644
--- a/app/src/main/res/values-sl/strings.xml
+++ b/app/src/main/res/values-sl/strings.xml
@@ -128,7 +128,6 @@
<string name="portforward_remote">Oddaljeno</string>
<string name="portforward_pos">Ustvari posredovanje vrat</string>
<string name="portforward_done">Uspešno ustvarjeno posredovanje vrat</string>
- <string name="portforward_menu_add">Dodaj posredovanje vrat</string>
<string name="hint_userhost">uporabnik\@gostitelj</string>
<string name="list_format_error">Uporabi vrsto %1$s</string>
<string name="format_username">Uporabniško ime</string>
diff --git a/app/src/main/res/values-sr/strings.xml b/app/src/main/res/values-sr/strings.xml
index a3430c5..7606abf 100644
--- a/app/src/main/res/values-sr/strings.xml
+++ b/app/src/main/res/values-sr/strings.xml
@@ -155,7 +155,6 @@
<string name="portforward_pos">Направи прослеђење порта</string>
<string name="portforward_done">Успешно направљено прослеђење порта</string>
<string name="portforward_problem">Појавио се проблем при прављењу прослеђења порта. Можда користите портове испод 1024 или је порт већ у употреби?</string>
- <string name="portforward_menu_add">Додај прослеђење порта</string>
<string name="hint_userhost">korisnik\@domacin</string>
<string name="list_format_error">Користи формат „%1$s“</string>
<string name="format_username">korisnik</string>
diff --git a/app/src/main/res/values-sv/strings.xml b/app/src/main/res/values-sv/strings.xml
index 5ea2a55..f78ca14 100644
--- a/app/src/main/res/values-sv/strings.xml
+++ b/app/src/main/res/values-sv/strings.xml
@@ -140,7 +140,6 @@
<string name="portforward_pos">Skapa vidarebefodring av port</string>
<string name="portforward_done">Vidarebefodring av port skapad.</string>
<string name="portforward_problem">Lyckades inte att skapa en vidarebefodring av port, är den under 1024 eller används den kanske?</string>
- <string name="portforward_menu_add">Lägg till vidarebefodring av port.</string>
<string name="hint_userhost">användarnamn\@värdnamn</string>
<string name="list_format_error">Använd formatet %1$s</string>
<string name="format_username">användarnamn</string>
diff --git a/app/src/main/res/values-tr/strings.xml b/app/src/main/res/values-tr/strings.xml
index 41cc553..0ff4ba6 100644
--- a/app/src/main/res/values-tr/strings.xml
+++ b/app/src/main/res/values-tr/strings.xml
@@ -142,7 +142,6 @@
<string name="portforward_pos">Port yönlendirmesi oluştur</string>
<string name="portforward_done">Port yönlendirmesi başarıyla oluşturuldu</string>
<string name="portforward_problem">Port yönlendirmesi oluşturmada hata oldu, port 1024 altı yada meşgul bir port kullanmakdan kaynaklanabilir</string>
- <string name="portforward_menu_add">Port yönlendirmesi ekle</string>
<string name="hint_userhost">kullanici\@sunucuadi</string>
<string name="list_format_error">%1$s formatında kullanın</string>
<string name="format_username">kullanıcı adı</string>
diff --git a/app/src/main/res/values-zh-rCN/strings.xml b/app/src/main/res/values-zh-rCN/strings.xml
index 9e10f66..0facf93 100644
--- a/app/src/main/res/values-zh-rCN/strings.xml
+++ b/app/src/main/res/values-zh-rCN/strings.xml
@@ -155,7 +155,6 @@
<string name="portforward_pos">创建端口转发</string>
<string name="portforward_done">创建端口转发成功</string>
<string name="portforward_problem">创建端口转发失败,可能你选择的端口小于1024或该端口已被占用?</string>
- <string name="portforward_menu_add">添加端口转发</string>
<string name="hint_userhost">用户名\@主机名</string>
<string name="list_format_error">使用格式 \"%1$s\"</string>
<string name="format_username">用户名</string>
diff --git a/app/src/main/res/values-zh-rTW/strings.xml b/app/src/main/res/values-zh-rTW/strings.xml
index 4c4d541..6107c7d 100644
--- a/app/src/main/res/values-zh-rTW/strings.xml
+++ b/app/src/main/res/values-zh-rTW/strings.xml
@@ -155,7 +155,6 @@
<string name="portforward_pos">建立連接埠轉址</string>
<string name="portforward_done">成功建立連接埠轉址</string>
<string name="portforward_problem">新增連接埠時發生問題,可能您正在使用 1024 以下的埠或是埠被佔用?</string>
- <string name="portforward_menu_add">新增連接埠轉址</string>
<string name="hint_userhost">使用者名稱\@主機名稱</string>
<string name="list_format_error">使用 %1$s 格式</string>
<string name="format_username">使用者名稱</string>
diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml
index be9518a..9833a31 100644
--- a/app/src/main/res/values/strings.xml
+++ b/app/src/main/res/values/strings.xml
@@ -385,8 +385,6 @@
<string name="portforward_done">"Successfully created port forward"</string>
<string name="portforward_problem">"Problem creating port forward, maybe you're using ports under 1024 or port is already used?"</string>
- <string name="portforward_menu_add">"Add port forward"</string>
-
<!-- The string to present in the quick-connect box to hint the user to the format for connecting to hosts. -->
<string name="hint_userhost">"user@hostname"</string>