Skip to content

Open-Source API Development Ecosystem • https://hoppscotch.io • Offline, On-Prem & Cloud • Web, Desktop & CLI • Open-Source Alternative to Postman, Insomnia

chore: clean up

liyasthomasc6ca4e19cd1d
diff --git a/packages/hoppscotch-app/components/collections/my/Collection.vue b/packages/hoppscotch-app/components/collections/my/Collection.vue
index 57c5c8ffa..689367233 100644
--- a/packages/hoppscotch-app/components/collections/my/Collection.vue
+++ b/packages/hoppscotch-app/components/collections/my/Collection.vue
@@ -112,25 +112,25 @@
"
/>
<SmartItem
- ref="deleteAction"
- svg="trash-2"
- :label="$t('action.delete')"
- :shortcut="['⌫']"
+ ref="exportAction"
+ svg="download"
+ :label="$t('export.title')"
+ :shortcut="['X']"
@click.native="
() => {
- confirmRemove = true
+ exportCollection()
options.tippy().hide()
}
"
/>
<SmartItem
- ref="exportAction"
- svg="download"
- :label="$t('export.export')"
- :shortcut="['X']"
+ ref="deleteAction"
+ svg="trash-2"
+ :label="$t('action.delete')"
+ :shortcut="['⌫']"
@click.native="
() => {
- exportCollection()
+ confirmRemove = true
options.tippy().hide()
}
"
diff --git a/packages/hoppscotch-app/components/collections/my/Folder.vue b/packages/hoppscotch-app/components/collections/my/Folder.vue
index 049b040a2..dd9213905 100644
--- a/packages/hoppscotch-app/components/collections/my/Folder.vue
+++ b/packages/hoppscotch-app/components/collections/my/Folder.vue
@@ -92,25 +92,25 @@
"
/>
<SmartItem
- ref="deleteAction"
- svg="trash-2"
- :label="t('action.delete')"
- :shortcut="['⌫']"
+ ref="exportAction"
+ svg="download"
+ :label="$t('export.title')"
+ :shortcut="['X']"
@click.native="
() => {
- confirmRemove = true
+ exportFolder()
options.tippy().hide()
}
"
/>
<SmartItem
- ref="exportAction"
- svg="download"
- :label="$t('export.export')"
- :shortcut="['X']"
+ ref="deleteAction"
+ svg="trash-2"
+ :label="t('action.delete')"
+ :shortcut="['⌫']"
@click.native="
() => {
- exportFolder()
+ confirmRemove = true
options.tippy().hide()
}
"
diff --git a/packages/hoppscotch-app/components/collections/teams/Collection.vue b/packages/hoppscotch-app/components/collections/teams/Collection.vue
index a1f2c75e8..fc441a12c 100644
--- a/packages/hoppscotch-app/components/collections/teams/Collection.vue
+++ b/packages/hoppscotch-app/components/collections/teams/Collection.vue
@@ -112,6 +112,14 @@
}
"
/>
+ <SmartItem
+ ref="exportAction"
+ svg="download"
+ :label="$t('export.title')"
+ :shortcut="['X']"
+ :loading="exportLoading"
+ @click.native="exportCollection"
+ />
<SmartItem
ref="deleteAction"
svg="trash-2"
@@ -124,14 +132,6 @@
}
"
/>
- <SmartItem
- ref="exportAction"
- svg="download"
- :label="$t('export.export')"
- :shortcut="['X']"
- :loading="exportLoading"
- @click.native="exportCollection"
- />
</div>
</tippy>
</span>
diff --git a/packages/hoppscotch-app/components/collections/teams/Folder.vue b/packages/hoppscotch-app/components/collections/teams/Folder.vue
index 08d17f56b..91700328b 100644
--- a/packages/hoppscotch-app/components/collections/teams/Folder.vue
+++ b/packages/hoppscotch-app/components/collections/teams/Folder.vue
@@ -93,6 +93,14 @@
}
"
/>
+ <SmartItem
+ ref="exportAction"
+ svg="download"
+ :label="$t('export.title')"
+ :shortcut="['X']"
+ :loading="exportLoading"
+ @click.native="exportFolder"
+ />
<SmartItem
ref="deleteAction"
svg="trash-2"
@@ -105,14 +113,6 @@
}
"
/>
- <SmartItem
- ref="exportAction"
- svg="download"
- :label="$t('export.export')"
- :shortcut="['X']"
- :loading="exportLoading"
- @click.native="exportFolder"
- />
</div>
</tippy>
</span>
diff --git a/packages/hoppscotch-app/locales/af.json b/packages/hoppscotch-app/locales/af.json
index 26f6e8efb..d3d4f602c 100644
--- a/packages/hoppscotch-app/locales/af.json
+++ b/packages/hoppscotch-app/locales/af.json
@@ -187,6 +187,7 @@
"test_script_fail": "Could not execute post-request script"
},
"export": {
+ "title": "Export",
"as_json": "Uitvoer as JSON",
"create_secret_gist": "Skep geheime Gist",
"gist_created": "Gis geskep",
diff --git a/packages/hoppscotch-app/locales/ar.json b/packages/hoppscotch-app/locales/ar.json
index 414d0286e..4329aaf8e 100644
--- a/packages/hoppscotch-app/locales/ar.json
+++ b/packages/hoppscotch-app/locales/ar.json
@@ -188,6 +188,7 @@
"test_script_fail": "Could not execute post-request script"
},
"export": {
+ "title": "Export",
"as_json": "تصدير بتنسيق JSON",
"create_secret_gist": "إنشاء جوهر سري",
"gist_created": "خلقت الجست",
diff --git a/packages/hoppscotch-app/locales/ca.json b/packages/hoppscotch-app/locales/ca.json
index 183cbdd89..69dc86c4f 100644
--- a/packages/hoppscotch-app/locales/ca.json
+++ b/packages/hoppscotch-app/locales/ca.json
@@ -187,6 +187,7 @@
"test_script_fail": "Could not execute post-request script"
},
"export": {
+ "title": "Export",
"as_json": "Exporta com a JSON",
"create_secret_gist": "Crea un resum secret",
"gist_created": "Gist creat",
diff --git a/packages/hoppscotch-app/locales/cn.json b/packages/hoppscotch-app/locales/cn.json
index 34ee079c7..917434f14 100644
--- a/packages/hoppscotch-app/locales/cn.json
+++ b/packages/hoppscotch-app/locales/cn.json
@@ -187,6 +187,7 @@
"test_script_fail": "Could not execute post-request script"
},
"export": {
+ "title": "Export",
"as_json": "导出为 JSON",
"create_secret_gist": "创建私密 Gist",
"gist_created": "已创建 Gist",
diff --git a/packages/hoppscotch-app/locales/cs.json b/packages/hoppscotch-app/locales/cs.json
index e6efd9a51..1e67eba65 100644
--- a/packages/hoppscotch-app/locales/cs.json
+++ b/packages/hoppscotch-app/locales/cs.json
@@ -187,6 +187,7 @@
"test_script_fail": "Could not execute post-request script"
},
"export": {
+ "title": "Export",
"as_json": "Exportovat jako JSON",
"create_secret_gist": "Vytvořte tajnou podstatu",
"gist_created": "Podstata vytvořena",
diff --git a/packages/hoppscotch-app/locales/da.json b/packages/hoppscotch-app/locales/da.json
index d54c11717..23f2c4c13 100644
--- a/packages/hoppscotch-app/locales/da.json
+++ b/packages/hoppscotch-app/locales/da.json
@@ -187,6 +187,7 @@
"test_script_fail": "Could not execute post-request script"
},
"export": {
+ "title": "Export",
"as_json": "Eksporter som JSON",
"create_secret_gist": "Opret hemmelig Gist",
"gist_created": "Gist skabt",
diff --git a/packages/hoppscotch-app/locales/de.json b/packages/hoppscotch-app/locales/de.json
index ddfc7e860..d228722cb 100644
--- a/packages/hoppscotch-app/locales/de.json
+++ b/packages/hoppscotch-app/locales/de.json
@@ -187,6 +187,7 @@
"test_script_fail": "Could not execute post-request script"
},
"export": {
+ "title": "Export",
"as_json": "Als JSON exportieren",
"create_secret_gist": "Erstellen Sie geheime Gist",
"gist_created": "Inhalt erstellt",
diff --git a/packages/hoppscotch-app/locales/el.json b/packages/hoppscotch-app/locales/el.json
index 60e07f33e..fb60163ee 100644
--- a/packages/hoppscotch-app/locales/el.json
+++ b/packages/hoppscotch-app/locales/el.json
@@ -187,6 +187,7 @@
"test_script_fail": "Could not execute post-request script"
},
"export": {
+ "title": "Export",
"as_json": "Εξαγωγή ως JSON",
"create_secret_gist": "Δημιουργήστε μυστική ουσία",
"gist_created": "Η ουσία δημιουργήθηκε",
diff --git a/packages/hoppscotch-app/locales/en.json b/packages/hoppscotch-app/locales/en.json
index 84caa2952..112b100f5 100644
--- a/packages/hoppscotch-app/locales/en.json
+++ b/packages/hoppscotch-app/locales/en.json
@@ -187,7 +187,7 @@
"test_script_fail": "Could not execute post-request script"
},
"export": {
- "export": "Export",
+ "title": "Export",
"as_json": "Export as JSON",
"create_secret_gist": "Create secret Gist",
"gist_created": "Gist created",
diff --git a/packages/hoppscotch-app/locales/es.json b/packages/hoppscotch-app/locales/es.json
index 0a8d718dd..787506af8 100644
--- a/packages/hoppscotch-app/locales/es.json
+++ b/packages/hoppscotch-app/locales/es.json
@@ -187,6 +187,7 @@
"test_script_fail": "Could not execute post-request script"
},
"export": {
+ "title": "Export",
"as_json": "Exportar como JSON",
"create_secret_gist": "Crear un Gist secreto",
"gist_created": "Gist creado",
diff --git a/packages/hoppscotch-app/locales/fi.json b/packages/hoppscotch-app/locales/fi.json
index b80d37d1d..443ec9533 100644
--- a/packages/hoppscotch-app/locales/fi.json
+++ b/packages/hoppscotch-app/locales/fi.json
@@ -187,6 +187,7 @@
"test_script_fail": "Could not execute post-request script"
},
"export": {
+ "title": "Export",
"as_json": "Vie JSON -muodossa",
"create_secret_gist": "Luo salainen ydin",
"gist_created": "Gist luotu",
diff --git a/packages/hoppscotch-app/locales/fr.json b/packages/hoppscotch-app/locales/fr.json
index 40c3cf8e7..e54d77a47 100644
--- a/packages/hoppscotch-app/locales/fr.json
+++ b/packages/hoppscotch-app/locales/fr.json
@@ -187,6 +187,7 @@
"test_script_fail": "Could not execute post-request script"
},
"export": {
+ "title": "Export",
"as_json": "Exporter au format JSON",
"create_secret_gist": "Créer un Gist secret",
"gist_created": "Gist créé",
diff --git a/packages/hoppscotch-app/locales/he.json b/packages/hoppscotch-app/locales/he.json
index 09943a1d6..83e658ae0 100644
--- a/packages/hoppscotch-app/locales/he.json
+++ b/packages/hoppscotch-app/locales/he.json
@@ -187,6 +187,7 @@
"test_script_fail": "Could not execute post-request script"
},
"export": {
+ "title": "Export",
"as_json": "ייצא כ- JSON",
"create_secret_gist": "צור גיסט סודי",
"gist_created": "גיסט נוצר",
diff --git a/packages/hoppscotch-app/locales/hu.json b/packages/hoppscotch-app/locales/hu.json
index 55b8e4be8..8c3181ff1 100644
--- a/packages/hoppscotch-app/locales/hu.json
+++ b/packages/hoppscotch-app/locales/hu.json
@@ -187,6 +187,7 @@
"test_script_fail": "Could not execute post-request script"
},
"export": {
+ "title": "Export",
"as_json": "Exportálás JSON formátumban",
"create_secret_gist": "Titkos Gist létrehozása",
"gist_created": "Gist létrehozva",
diff --git a/packages/hoppscotch-app/locales/it.json b/packages/hoppscotch-app/locales/it.json
index 2f7f90b0a..c5954e56e 100644
--- a/packages/hoppscotch-app/locales/it.json
+++ b/packages/hoppscotch-app/locales/it.json
@@ -187,6 +187,7 @@
"test_script_fail": "Could not execute post-request script"
},
"export": {
+ "title": "Export",
"as_json": "Esporta come JSON",
"create_secret_gist": "Crea un Gist segreto",
"gist_created": "Gist creato",
diff --git a/packages/hoppscotch-app/locales/ja.json b/packages/hoppscotch-app/locales/ja.json
index ef6ad0a04..78197e405 100644
--- a/packages/hoppscotch-app/locales/ja.json
+++ b/packages/hoppscotch-app/locales/ja.json
@@ -187,6 +187,7 @@
"test_script_fail": "Could not execute post-request script"
},
"export": {
+ "title": "Export",
"as_json": "JSONとしてエクスポート",
"create_secret_gist": "秘密の要点を作成する",
"gist_created": "作成した要点",
diff --git a/packages/hoppscotch-app/locales/ko.json b/packages/hoppscotch-app/locales/ko.json
index 451dfef6c..6843fe738 100644
--- a/packages/hoppscotch-app/locales/ko.json
+++ b/packages/hoppscotch-app/locales/ko.json
@@ -187,6 +187,7 @@
"test_script_fail": "Could not execute post-request script"
},
"export": {
+ "title": "Export",
"as_json": "JSON으로 내보내기",
"create_secret_gist": "Secret gist 만들기",
"gist_created": "생성된 요지",
diff --git a/packages/hoppscotch-app/locales/nl.json b/packages/hoppscotch-app/locales/nl.json
index 931972c94..e50e6a553 100644
--- a/packages/hoppscotch-app/locales/nl.json
+++ b/packages/hoppscotch-app/locales/nl.json
@@ -187,6 +187,7 @@
"test_script_fail": "Could not execute post-request script"
},
"export": {
+ "title": "Export",
"as_json": "Exporteren als JSON",
"create_secret_gist": "Maak geheime kern",
"gist_created": "Kern gemaakt",
diff --git a/packages/hoppscotch-app/locales/no.json b/packages/hoppscotch-app/locales/no.json
index 56b282e2e..d8a35f1e4 100644
--- a/packages/hoppscotch-app/locales/no.json
+++ b/packages/hoppscotch-app/locales/no.json
@@ -187,6 +187,7 @@
"test_script_fail": "Could not execute post-request script"
},
"export": {
+ "title": "Export",
"as_json": "Eksporter som JSON",
"create_secret_gist": "Lag hemmelig Gist",
"gist_created": "Gist opprettet",
diff --git a/packages/hoppscotch-app/locales/pl.json b/packages/hoppscotch-app/locales/pl.json
index bacd9a33e..596d341ff 100644
--- a/packages/hoppscotch-app/locales/pl.json
+++ b/packages/hoppscotch-app/locales/pl.json
@@ -187,6 +187,7 @@
"test_script_fail": "Could not execute post-request script"
},
"export": {
+ "title": "Export",
"as_json": "Eksportuj jako JSON",
"create_secret_gist": "Utwórz tajny Gist",
"gist_created": "Utworzono Gist",
diff --git a/packages/hoppscotch-app/locales/pt-br.json b/packages/hoppscotch-app/locales/pt-br.json
index 91dc1d1f8..1c710e42f 100644
--- a/packages/hoppscotch-app/locales/pt-br.json
+++ b/packages/hoppscotch-app/locales/pt-br.json
@@ -187,6 +187,7 @@
"test_script_fail": "Could not execute post-request script"
},
"export": {
+ "title": "Export",
"as_json": "Exportar como JSON",
"create_secret_gist": "Crie uma essência secreta",
"gist_created": "Gist criado",
diff --git a/packages/hoppscotch-app/locales/pt.json b/packages/hoppscotch-app/locales/pt.json
index 91dc1d1f8..1c710e42f 100644
--- a/packages/hoppscotch-app/locales/pt.json
+++ b/packages/hoppscotch-app/locales/pt.json
@@ -187,6 +187,7 @@
"test_script_fail": "Could not execute post-request script"
},
"export": {
+ "title": "Export",
"as_json": "Exportar como JSON",
"create_secret_gist": "Crie uma essência secreta",
"gist_created": "Gist criado",
diff --git a/packages/hoppscotch-app/locales/ro.json b/packages/hoppscotch-app/locales/ro.json
index 63eda9467..977625468 100644
--- a/packages/hoppscotch-app/locales/ro.json
+++ b/packages/hoppscotch-app/locales/ro.json
@@ -187,6 +187,7 @@
"test_script_fail": "Could not execute post-request script"
},
"export": {
+ "title": "Export",
"as_json": "Exportați ca JSON",
"create_secret_gist": "Creați secțiunea secretă",
"gist_created": "Gist creat",
diff --git a/packages/hoppscotch-app/locales/ru.json b/packages/hoppscotch-app/locales/ru.json
index 9c022c8f5..a84207229 100644
--- a/packages/hoppscotch-app/locales/ru.json
+++ b/packages/hoppscotch-app/locales/ru.json
@@ -187,6 +187,7 @@
"test_script_fail": "Could not execute post-request script"
},
"export": {
+ "title": "Export",
"as_json": "Экспорт как JSON",
"create_secret_gist": "Создать секретный Gist",
"gist_created": "Gist создан",
diff --git a/packages/hoppscotch-app/locales/sr.json b/packages/hoppscotch-app/locales/sr.json
index 8ee401fdf..bbff369e1 100644
--- a/packages/hoppscotch-app/locales/sr.json
+++ b/packages/hoppscotch-app/locales/sr.json
@@ -188,6 +188,7 @@
"test_script_fail": "Could not execute post-request script"
},
"export": {
+ "title": "Export",
"as_json": "Извези као ЈСОН",
"create_secret_gist": "Направите тајну суштину",
"gist_created": "Суштина створена",
diff --git a/packages/hoppscotch-app/locales/sv.json b/packages/hoppscotch-app/locales/sv.json
index 5baaf98b9..55add94f2 100644
--- a/packages/hoppscotch-app/locales/sv.json
+++ b/packages/hoppscotch-app/locales/sv.json
@@ -187,6 +187,7 @@
"test_script_fail": "Could not execute post-request script"
},
"export": {
+ "title": "Export",
"as_json": "Exportera som JSON",
"create_secret_gist": "Skapa hemlig Gist",
"gist_created": "Gist skapad",
diff --git a/packages/hoppscotch-app/locales/tr.json b/packages/hoppscotch-app/locales/tr.json
index c355d82e8..bf8d3bd03 100644
--- a/packages/hoppscotch-app/locales/tr.json
+++ b/packages/hoppscotch-app/locales/tr.json
@@ -187,6 +187,7 @@
"test_script_fail": "Could not execute post-request script"
},
"export": {
+ "title": "Export",
"as_json": "JSON olarak dışa aktar",
"create_secret_gist": "Gizli Gist oluştur",
"gist_created": "Gist oluşturuldu",
diff --git a/packages/hoppscotch-app/locales/tw.json b/packages/hoppscotch-app/locales/tw.json
index c702f9d65..f0b20be61 100644
--- a/packages/hoppscotch-app/locales/tw.json
+++ b/packages/hoppscotch-app/locales/tw.json
@@ -187,6 +187,7 @@
"test_script_fail": "Could not execute post-request script"
},
"export": {
+ "title": "Export",
"as_json": "匯出為 JSON",
"create_secret_gist": "建立私密 Gist",
"gist_created": "已建立 Gist",
diff --git a/packages/hoppscotch-app/locales/uk.json b/packages/hoppscotch-app/locales/uk.json
index 8d0517852..474d30c58 100644
--- a/packages/hoppscotch-app/locales/uk.json
+++ b/packages/hoppscotch-app/locales/uk.json
@@ -187,6 +187,7 @@
"test_script_fail": "Could not execute post-request script"
},
"export": {
+ "title": "Export",
"as_json": "Експортувати як JSON",
"create_secret_gist": "Створіть секретну суть",
"gist_created": "Суть створена",
diff --git a/packages/hoppscotch-app/locales/vi.json b/packages/hoppscotch-app/locales/vi.json
index 09b8b4340..5d6592646 100644
--- a/packages/hoppscotch-app/locales/vi.json
+++ b/packages/hoppscotch-app/locales/vi.json
@@ -187,6 +187,7 @@
"test_script_fail": "Could not execute post-request script"
},
"export": {
+ "title": "Export",
"as_json": "Xuất dưới dạng JSON",
"create_secret_gist": "Tạo Gist bí mật",
"gist_created": "Gist đã tạo",