From 6f66862870d8d801bb3e2f8a30f877702266bdeb Mon Sep 17 00:00:00 2001
From: AnonimaUzanto <103471168+AnonimaUzanto@users.noreply.github.com>
Date: Sun, 1 May 2022 05:35:01 -0400
Subject: [PATCH] Adding support for Ledger Nano S Plus (#832)
---
.../com/btchip/comm/android/BTChipTransportAndroidHID.java | 2 +-
app/src/main/res/values-cat/strings.xml | 2 +-
app/src/main/res/values-de/strings.xml | 2 +-
app/src/main/res/values-el/strings.xml | 2 +-
app/src/main/res/values-eo/strings.xml | 2 +-
app/src/main/res/values-es/strings.xml | 2 +-
app/src/main/res/values-et/strings.xml | 2 +-
app/src/main/res/values-fr/strings.xml | 2 +-
app/src/main/res/values-hu/strings.xml | 2 +-
app/src/main/res/values-it/strings.xml | 2 +-
app/src/main/res/values-ja/strings.xml | 2 +-
app/src/main/res/values-nb/strings.xml | 2 +-
app/src/main/res/values-nl/strings.xml | 2 +-
app/src/main/res/values-pt-rBR/strings.xml | 2 +-
app/src/main/res/values-pt/strings.xml | 2 +-
app/src/main/res/values-ro/strings.xml | 2 +-
app/src/main/res/values-ru/strings.xml | 2 +-
app/src/main/res/values-sk/strings.xml | 2 +-
app/src/main/res/values-sr/strings.xml | 2 +-
app/src/main/res/values-sv/strings.xml | 2 +-
app/src/main/res/values-uk/strings.xml | 2 +-
app/src/main/res/values-zh-rCN/strings.xml | 2 +-
app/src/main/res/values-zh-rTW/strings.xml | 2 +-
app/src/main/res/values/strings.xml | 2 +-
app/src/main/res/xml/usb_device_filter.xml | 5 +++++
25 files changed, 29 insertions(+), 24 deletions(-)
diff --git a/app/src/main/java/com/btchip/comm/android/BTChipTransportAndroidHID.java b/app/src/main/java/com/btchip/comm/android/BTChipTransportAndroidHID.java
index 05df9076..37c4f491 100644
--- a/app/src/main/java/com/btchip/comm/android/BTChipTransportAndroidHID.java
+++ b/app/src/main/java/com/btchip/comm/android/BTChipTransportAndroidHID.java
@@ -78,7 +78,7 @@ public class BTChipTransportAndroidHID implements BTChipTransport {
}
private static final int VID = 0x2C97;
- private static final int[] PID_HIDS = {0x0001, 0x0004};
+ private static final int[] PID_HIDS = {0x0001, 0x0004, 0x0005};
private UsbDeviceConnection connection;
private UsbInterface dongleInterface;
diff --git a/app/src/main/res/values-cat/strings.xml b/app/src/main/res/values-cat/strings.xml
index bad25c1e..7be3375c 100644
--- a/app/src/main/res/values-cat/strings.xml
+++ b/app/src/main/res/values-cat/strings.xml
@@ -290,7 +290,7 @@
Idioma
Utilitzar Idioma del Sistema
- Restablir desde Ledger Nano S
+ Restablir desde Ledger Nano
Comunicant amb Ledger
Es requereix confirmació en Ledger!
diff --git a/app/src/main/res/values-de/strings.xml b/app/src/main/res/values-de/strings.xml
index 0e6ce4aa..677a39cd 100644
--- a/app/src/main/res/values-de/strings.xml
+++ b/app/src/main/res/values-de/strings.xml
@@ -286,7 +286,7 @@
Sprache
Benutze Systemsprache
- Wallet mit Ledger Nano S wiederherstellen
+ Wallet mit Ledger Nano wiederherstellen
Kommunikation mit Ledger
Bestätigung auf Ledger benötigt!
diff --git a/app/src/main/res/values-el/strings.xml b/app/src/main/res/values-el/strings.xml
index be5074b9..fedd248a 100644
--- a/app/src/main/res/values-el/strings.xml
+++ b/app/src/main/res/values-el/strings.xml
@@ -283,7 +283,7 @@
Language
Use System Language
- Restore from Ledger Nano S
+ Restore from Ledger Nano
Communicating with Ledger
Confirmation on Ledger required!
diff --git a/app/src/main/res/values-eo/strings.xml b/app/src/main/res/values-eo/strings.xml
index f6469732..91aa7f3b 100644
--- a/app/src/main/res/values-eo/strings.xml
+++ b/app/src/main/res/values-eo/strings.xml
@@ -290,7 +290,7 @@
Lingvo
Uzi la sistemlingvon
- Restaŭri de Ledger Nano S
+ Restaŭri de Ledger Nano
Komunikante kun Ledger
Konfirmo je la Ledger estas postulita!
diff --git a/app/src/main/res/values-es/strings.xml b/app/src/main/res/values-es/strings.xml
index 4881b1e5..c9f51fb9 100644
--- a/app/src/main/res/values-es/strings.xml
+++ b/app/src/main/res/values-es/strings.xml
@@ -273,7 +273,7 @@
Lenguaje
Usar Idioma del Sistema
- Restaurar desde Ledger Nano S
+ Restaurar desde Ledger Nano
Comunicándose con Ledger
¡Confirmación en Ledger requerida!
diff --git a/app/src/main/res/values-et/strings.xml b/app/src/main/res/values-et/strings.xml
index 59116af4..e8e7e5b6 100644
--- a/app/src/main/res/values-et/strings.xml
+++ b/app/src/main/res/values-et/strings.xml
@@ -285,7 +285,7 @@
Keel
Kasuta süsteemi keelt
- Taasta seadmelt Ledger Nano S
+ Taasta seadmelt Ledger Nano
Suhtlen seadmega Ledger
Seadmelt Ledger on vajalik kinnitus!
diff --git a/app/src/main/res/values-fr/strings.xml b/app/src/main/res/values-fr/strings.xml
index 1a1c4f94..88349354 100644
--- a/app/src/main/res/values-fr/strings.xml
+++ b/app/src/main/res/values-fr/strings.xml
@@ -284,7 +284,7 @@
Sous-adresse
Sous-adresse publique #%1$d: %2$s
- Restaurer depuis Ledger Nano S
+ Restaurer depuis Ledger Nano
Communication avec Ledger
Confirmation requise sur Ledger !
diff --git a/app/src/main/res/values-hu/strings.xml b/app/src/main/res/values-hu/strings.xml
index 8d3b1638..dfdd5eb4 100644
--- a/app/src/main/res/values-hu/strings.xml
+++ b/app/src/main/res/values-hu/strings.xml
@@ -283,7 +283,7 @@
Nyelv
Rendszernyelv használata
- Visszaállítás Ledger Nano S-ről
+ Visszaállítás Ledger Nano-ről
Kommunikáció a Ledgerrel
Ledgeren való megerősítés szükséges!
diff --git a/app/src/main/res/values-it/strings.xml b/app/src/main/res/values-it/strings.xml
index 607a48fc..04040256 100644
--- a/app/src/main/res/values-it/strings.xml
+++ b/app/src/main/res/values-it/strings.xml
@@ -286,7 +286,7 @@
Lingua
Usa lingua di sistema
- Ripristina da Ledger Nano S
+ Ripristina da Ledger Nano
In comunicazione con Ledger
Conferma su Ledger richiesta!
diff --git a/app/src/main/res/values-ja/strings.xml b/app/src/main/res/values-ja/strings.xml
index 379034eb..74eb85c4 100644
--- a/app/src/main/res/values-ja/strings.xml
+++ b/app/src/main/res/values-ja/strings.xml
@@ -289,7 +289,7 @@
言語
システムの言語を使う
- レッジャーナノSから復元
+ レッジャーナノから復元
レッジャーと通信中
レッジャーでの承認が必要です!
diff --git a/app/src/main/res/values-nb/strings.xml b/app/src/main/res/values-nb/strings.xml
index 4ff22222..269381f9 100644
--- a/app/src/main/res/values-nb/strings.xml
+++ b/app/src/main/res/values-nb/strings.xml
@@ -283,7 +283,7 @@
Language
Use System Language
- Restore from Ledger Nano S
+ Restore from Ledger Nano
Communicating with Ledger
Confirmation on Ledger required!
diff --git a/app/src/main/res/values-nl/strings.xml b/app/src/main/res/values-nl/strings.xml
index 36faf705..afd86984 100644
--- a/app/src/main/res/values-nl/strings.xml
+++ b/app/src/main/res/values-nl/strings.xml
@@ -281,7 +281,7 @@
Taal
Systeemtaal gebruiken
- Herstellen met Ledger Nano S
+ Herstellen met Ledger Nano
Communiceren met Ledger…
Bevestiging op Ledger vereist!
diff --git a/app/src/main/res/values-pt-rBR/strings.xml b/app/src/main/res/values-pt-rBR/strings.xml
index 67688cda..a9a54f78 100755
--- a/app/src/main/res/values-pt-rBR/strings.xml
+++ b/app/src/main/res/values-pt-rBR/strings.xml
@@ -282,7 +282,7 @@
Idioma
Usar o idioma do sistema
- Restaurar da Ledger Nano S
+ Restaurar da Ledger Nano
Comunicando com a Ledger
Necessária confirmação na Ledger!
diff --git a/app/src/main/res/values-pt/strings.xml b/app/src/main/res/values-pt/strings.xml
index a71b0967..1ddbfb55 100644
--- a/app/src/main/res/values-pt/strings.xml
+++ b/app/src/main/res/values-pt/strings.xml
@@ -285,7 +285,7 @@
Linguagem
Usar linguagem de sistema
- Restaurar de Ledger Nano S
+ Restaurar de Ledger Nano
A comunicar com o Ledger
Confirmação com Ledger necessária!
diff --git a/app/src/main/res/values-ro/strings.xml b/app/src/main/res/values-ro/strings.xml
index a5529888..079b12a0 100644
--- a/app/src/main/res/values-ro/strings.xml
+++ b/app/src/main/res/values-ro/strings.xml
@@ -283,7 +283,7 @@
Limbă
De sistem
- Recuperează cu Ledger Nano S
+ Recuperează cu Ledger Nano
Comunicare cu Ledger
Confirmare necesară în Ledger!
diff --git a/app/src/main/res/values-ru/strings.xml b/app/src/main/res/values-ru/strings.xml
index fb9e1285..97b662e6 100644
--- a/app/src/main/res/values-ru/strings.xml
+++ b/app/src/main/res/values-ru/strings.xml
@@ -285,7 +285,7 @@
Язык
Использовать язык системы
- Восстановление из Ledger Nano S
+ Восстановление из Ledger Nano
Подключение к Ledger
Требуется подтверждение в Ledger!
diff --git a/app/src/main/res/values-sk/strings.xml b/app/src/main/res/values-sk/strings.xml
index e1bf73c4..8040eed7 100644
--- a/app/src/main/res/values-sk/strings.xml
+++ b/app/src/main/res/values-sk/strings.xml
@@ -282,7 +282,7 @@
Jazyk
Použi jazyk systému
- Obnoviť z Ledger Nano S
+ Obnoviť z Ledger Nano
Komunikácia s Ledger
Vyžaduje potvrdenie na Ledgeri!
diff --git a/app/src/main/res/values-sr/strings.xml b/app/src/main/res/values-sr/strings.xml
index 8e8b44a2..63149e05 100644
--- a/app/src/main/res/values-sr/strings.xml
+++ b/app/src/main/res/values-sr/strings.xml
@@ -292,7 +292,7 @@
Jezik
Koristi sistemski jezik
- Povrati iz knjige računa nano S
+ Povrati iz knjige računa nano
Komunikacija sa knjigom računa
Potrebna potvrda iz knjige računa!
diff --git a/app/src/main/res/values-sv/strings.xml b/app/src/main/res/values-sv/strings.xml
index 8bfc334a..7d5119e3 100644
--- a/app/src/main/res/values-sv/strings.xml
+++ b/app/src/main/res/values-sv/strings.xml
@@ -274,7 +274,7 @@
Språk
Använd systemets språk
- Återställ från Ledger Nano S
+ Återställ från Ledger Nano
Kommunicerar med Ledger
Bekräfta på Ledger!
diff --git a/app/src/main/res/values-uk/strings.xml b/app/src/main/res/values-uk/strings.xml
index ad6796f5..c21145dd 100644
--- a/app/src/main/res/values-uk/strings.xml
+++ b/app/src/main/res/values-uk/strings.xml
@@ -285,7 +285,7 @@
Мова
Використовувати мову системи
- Відновлення з Ledger Nano S
+ Відновлення з Ledger Nano
Підключення до Ledger
Необхідне підтвердження в Ledger!
diff --git a/app/src/main/res/values-zh-rCN/strings.xml b/app/src/main/res/values-zh-rCN/strings.xml
index 36c80792..f223e34a 100644
--- a/app/src/main/res/values-zh-rCN/strings.xml
+++ b/app/src/main/res/values-zh-rCN/strings.xml
@@ -224,7 +224,7 @@
公开子地址#%1$d: %2$s
语言
使用系统默认语言
- 通过Ledger Nano S恢复
+ 通过Ledger Nano 恢复
与Ledger通信中
请在Ledger设备上确认!
子地址检索中
diff --git a/app/src/main/res/values-zh-rTW/strings.xml b/app/src/main/res/values-zh-rTW/strings.xml
index 32f5f27a..9447bc2d 100644
--- a/app/src/main/res/values-zh-rTW/strings.xml
+++ b/app/src/main/res/values-zh-rTW/strings.xml
@@ -281,7 +281,7 @@
語言
使用系統語言
- 從 Ledger Nano S 回復錢包
+ 從 Ledger Nano 回復錢包
與 Ledger 錢包傳輸資料中
請在 Ledger 裝置上確認此操作!
diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml
index 78f65630..92763ba1 100644
--- a/app/src/main/res/values/strings.xml
+++ b/app/src/main/res/values/strings.xml
@@ -338,7 +338,7 @@
Language
Use System Language
- Restore from Ledger Nano S
+ Restore from Ledger Nano
Communicating with Ledger
Confirmation on Ledger required!
diff --git a/app/src/main/res/xml/usb_device_filter.xml b/app/src/main/res/xml/usb_device_filter.xml
index ee5e64bb..cc448ce1 100644
--- a/app/src/main/res/xml/usb_device_filter.xml
+++ b/app/src/main/res/xml/usb_device_filter.xml
@@ -11,4 +11,9 @@
product-id="4"
vendor-id="11415" />
+
+
+
\ No newline at end of file