diff --git a/public/index.html b/public/index.html index eb6dae9..6112932 100644 --- a/public/index.html +++ b/public/index.html @@ -267,13 +267,13 @@ -
Enter room id from another device to join.
+Enter room id from another device to join room.
diff --git a/public/lang/en.json b/public/lang/en.json index 70b49bd..b4539b7 100644 --- a/public/lang/en.json +++ b/public/lang/en.json @@ -48,6 +48,7 @@ "scan-qr-code": "or scan the QR-code.", "enter-key-from-another-device": "Enter key from another device here.", "input-room-id-on-another-device": "Input this room id on another device", + "enter-room-id-from-another-device": "Enter room id from another device to join room.", "hr-or": "OR", "pair": "Pair", "cancel": "Cancel", @@ -58,6 +59,8 @@ "auto-accept": "auto-accept", "auto-accept-instructions-2": "to automatically accept all files sent from that device.", "close": "Close", + "join": "Join", + "leave": "Leave", "would-like-to-share": "would like to share", "accept": "Accept", "decline": "Decline", diff --git a/public/scripts/localization.js b/public/scripts/localization.js index 60d3a75..2294f7a 100644 --- a/public/scripts/localization.js +++ b/public/scripts/localization.js @@ -127,7 +127,8 @@ class Localization { if (!useDefault) { translation = this.getTranslation(key, attr, data, true); console.warn(`Missing translation entry for your language ${Localization.locale.toUpperCase()}. Using ${Localization.defaultLocale.toUpperCase()} instead.`, key, attr); - console.warn("Help translating PairDrop: https://hosted.weblate.org/projects/pairdrop/pairdrop-spa/"); + console.warn(`Translate this string here: https://hosted.weblate.org/browse/pairdrop/pairdrop-spa/${Localization.locale.toLowerCase()}/?q=${key}`) + console.log("Help translating PairDrop: https://hosted.weblate.org/engage/pairdrop/"); } else { console.warn("Missing translation in default language:", key, attr); } diff --git a/public_included_ws_fallback/index.html b/public_included_ws_fallback/index.html index 87a760f..52ff146 100644 --- a/public_included_ws_fallback/index.html +++ b/public_included_ws_fallback/index.html @@ -272,13 +272,13 @@ -Enter room id from another device to join.
+Enter room id from another device to join room.
diff --git a/public_included_ws_fallback/lang/en.json b/public_included_ws_fallback/lang/en.json index 70b49bd..b4539b7 100644 --- a/public_included_ws_fallback/lang/en.json +++ b/public_included_ws_fallback/lang/en.json @@ -48,6 +48,7 @@ "scan-qr-code": "or scan the QR-code.", "enter-key-from-another-device": "Enter key from another device here.", "input-room-id-on-another-device": "Input this room id on another device", + "enter-room-id-from-another-device": "Enter room id from another device to join room.", "hr-or": "OR", "pair": "Pair", "cancel": "Cancel", @@ -58,6 +59,8 @@ "auto-accept": "auto-accept", "auto-accept-instructions-2": "to automatically accept all files sent from that device.", "close": "Close", + "join": "Join", + "leave": "Leave", "would-like-to-share": "would like to share", "accept": "Accept", "decline": "Decline", diff --git a/public_included_ws_fallback/scripts/localization.js b/public_included_ws_fallback/scripts/localization.js index 60d3a75..2294f7a 100644 --- a/public_included_ws_fallback/scripts/localization.js +++ b/public_included_ws_fallback/scripts/localization.js @@ -127,7 +127,8 @@ class Localization { if (!useDefault) { translation = this.getTranslation(key, attr, data, true); console.warn(`Missing translation entry for your language ${Localization.locale.toUpperCase()}. Using ${Localization.defaultLocale.toUpperCase()} instead.`, key, attr); - console.warn("Help translating PairDrop: https://hosted.weblate.org/projects/pairdrop/pairdrop-spa/"); + console.warn(`Translate this string here: https://hosted.weblate.org/browse/pairdrop/pairdrop-spa/${Localization.locale.toLowerCase()}/?q=${key}`) + console.log("Help translating PairDrop: https://hosted.weblate.org/engage/pairdrop/"); } else { console.warn("Missing translation in default language:", key, attr); }