about summary refs log tree commit diff stats
path: root/src
diff options
context:
space:
mode:
authorManeraKai <manerakai@protonmail.com>2023-03-09 20:50:22 +0300
committerManeraKai <manerakai@protonmail.com>2023-03-09 20:50:22 +0300
commitc8a6b7797a6e3e1eebf6660543c51455af66e201 (patch)
treedd816d1602ee25fce87ab561fca9d797cdeb2203 /src
parentFixed CopyRaw, SwitchInstance not working when selecting Freetube or LBRY Des... (diff)
parentTranslated using Weblate (Serbian) (diff)
downloadlibredirect-c8a6b7797a6e3e1eebf6660543c51455af66e201.zip
Merge branch 'master' of https://github.com/libredirect/libredirect
Diffstat (limited to 'src')
-rw-r--r--src/_locales/bs/messages.json14
-rw-r--r--src/_locales/hr/messages.json14
-rw-r--r--src/_locales/sr/messages.json14
-rw-r--r--src/assets/javascripts/services.js2
4 files changed, 23 insertions, 21 deletions
diff --git a/src/_locales/bs/messages.json b/src/_locales/bs/messages.json
index def050a9..06c50c34 100644
--- a/src/_locales/bs/messages.json
+++ b/src/_locales/bs/messages.json
@@ -36,7 +36,7 @@
         "description": "used in the settings page"
     },
     "excludeFromRedirecting": {
-        "message": "Excluded from redirecting",
+        "message": "Isključeno iz preusmjeravanja",
         "description": "used in the settings page"
     },
     "importSettings": {
@@ -56,7 +56,7 @@
         "description": "used in the settings page"
     },
     "showInPopup": {
-        "message": "Show in popup",
+        "message": "Prikaži u skočnom prozoru",
         "description": "used in the settings page"
     },
     "frontend": {
@@ -80,7 +80,7 @@
         "description": "used in the settings page"
     },
     "addYourFavoriteInstances": {
-        "message": "Add your favorite instances",
+        "message": "Dodajte vaše omiljene instance",
         "description": "used in the settings page"
     },
     "copyRaw": {
@@ -90,14 +90,14 @@
         "message": "Kopirano"
     },
     "redirectToOriginal": {
-        "message": "Redirect to original",
+        "message": "Preusmjerite prema originalnoj",
         "description": "Used in context menus when right clicking on a page/tab"
     },
     "redirectLink": {
-        "message": "Pokušajte preusmjeriti ovu hipervezu",
+        "message": "Pokušajte preusmjeriti",
         "description": "Used in context menus when right clicking on a hyperlink"
     },
     "about": {
-        "message": "About"
+        "message": "O"
     }
-}
\ No newline at end of file
+}
diff --git a/src/_locales/hr/messages.json b/src/_locales/hr/messages.json
index 24d09a7b..bcb67640 100644
--- a/src/_locales/hr/messages.json
+++ b/src/_locales/hr/messages.json
@@ -36,7 +36,7 @@
         "description": "used in the settings page"
     },
     "excludeFromRedirecting": {
-        "message": "Excluded from redirecting",
+        "message": "Isključeno iz preusmjeravanja",
         "description": "used in the settings page"
     },
     "importSettings": {
@@ -56,7 +56,7 @@
         "description": "used in the settings page"
     },
     "showInPopup": {
-        "message": "Show in popup",
+        "message": "Pokaži u skočnom prozoru",
         "description": "used in the settings page"
     },
     "frontend": {
@@ -80,7 +80,7 @@
         "description": "used in the settings page"
     },
     "addYourFavoriteInstances": {
-        "message": "Add your favorite instances",
+        "message": "Dodajte svoje omiljene instance",
         "description": "used in the settings page"
     },
     "copyRaw": {
@@ -90,14 +90,14 @@
         "message": "Kopirano"
     },
     "redirectToOriginal": {
-        "message": "Redirect to original",
+        "message": "Preusmjeri prema originalnoj",
         "description": "Used in context menus when right clicking on a page/tab"
     },
     "redirectLink": {
-        "message": "Pokušaj preusmjeriti ovu hiperpoveznicu",
+        "message": "Pokušaj preusmjeriti",
         "description": "Used in context menus when right clicking on a hyperlink"
     },
     "about": {
-        "message": "About"
+        "message": "O"
     }
-}
\ No newline at end of file
+}
diff --git a/src/_locales/sr/messages.json b/src/_locales/sr/messages.json
index a8141466..b14cb2dc 100644
--- a/src/_locales/sr/messages.json
+++ b/src/_locales/sr/messages.json
@@ -36,7 +36,7 @@
         "description": "used in the settings page"
     },
     "excludeFromRedirecting": {
-        "message": "Excluded from redirecting",
+        "message": "Искључено из преусмеравања",
         "description": "used in the settings page"
     },
     "importSettings": {
@@ -56,7 +56,7 @@
         "description": "used in the settings page"
     },
     "showInPopup": {
-        "message": "Show in popup",
+        "message": "Прикажи у искачућем прозору",
         "description": "used in the settings page"
     },
     "frontend": {
@@ -80,7 +80,7 @@
         "description": "used in the settings page"
     },
     "addYourFavoriteInstances": {
-        "message": "Add your favorite instances",
+        "message": "Додајте своје омиљене инстанце",
         "description": "used in the settings page"
     },
     "copyRaw": {
@@ -90,14 +90,14 @@
         "message": "Копирано"
     },
     "redirectToOriginal": {
-        "message": "Redirect to original",
+        "message": "Преусмерите према оригиналној",
         "description": "Used in context menus when right clicking on a page/tab"
     },
     "redirectLink": {
-        "message": "Покушајте да преусмерите ову хипервезу",
+        "message": "Покушајте да преусмерите",
         "description": "Used in context menus when right clicking on a hyperlink"
     },
     "about": {
-        "message": "About"
+        "message": "О"
     }
-}
\ No newline at end of file
+}
diff --git a/src/assets/javascripts/services.js b/src/assets/javascripts/services.js
index 6c011c8d..700aa2b0 100644
--- a/src/assets/javascripts/services.js
+++ b/src/assets/javascripts/services.js
@@ -132,6 +132,8 @@ function redirect(url, type, initiator, forceRedirection) {
 
 			search.delete("ref_src")
 			search.delete("ref_url")
+			search.delete("s") // type of device that shared the link
+			search.delete("t") // some sort of tracking ID
 
 			search = search.toString()
 			if (search !== "") search = `?${search}`