From c1ce90dad0cc919978e666e9f9ce45bef0c44984 Mon Sep 17 00:00:00 2001 From: liyasthomas Date: Thu, 19 Aug 2021 00:10:57 +0530 Subject: [PATCH] feat: finish new i18n translation format --- components/app/Share.vue | 2 +- components/app/Shortcuts.vue | 2 +- components/collections/Add.vue | 10 +- components/collections/AddFolder.vue | 7 +- components/collections/Edit.vue | 10 +- components/collections/EditFolder.vue | 7 +- components/collections/EditRequest.vue | 9 +- components/collections/ImportExport.vue | 16 +- components/collections/SaveRequest.vue | 12 +- components/collections/graphql/Add.vue | 10 +- components/collections/graphql/AddFolder.vue | 7 +- components/collections/graphql/Collection.vue | 6 +- components/collections/graphql/Edit.vue | 10 +- components/collections/graphql/EditFolder.vue | 7 +- .../collections/graphql/EditRequest.vue | 9 +- components/collections/graphql/Folder.vue | 6 +- .../collections/graphql/ImportExport.vue | 14 +- components/collections/graphql/Request.vue | 8 +- components/collections/graphql/index.vue | 6 +- components/collections/index.vue | 16 +- components/collections/my/Collection.vue | 4 +- components/collections/my/Folder.vue | 6 +- components/collections/my/Request.vue | 6 +- components/collections/teams/Collection.vue | 4 +- components/collections/teams/Folder.vue | 6 +- components/collections/teams/Request.vue | 6 +- components/docs/Collection.vue | 2 +- components/docs/Folder.vue | 2 +- components/docs/Request.vue | 47 +- components/environments/Add.vue | 10 +- components/environments/Edit.vue | 12 +- components/environments/Environment.vue | 6 +- components/environments/ImportExport.vue | 14 +- components/environments/index.vue | 2 +- components/firebase/Login.vue | 8 +- components/graphql/Field.vue | 2 +- components/graphql/QueryEditor.vue | 2 +- components/graphql/RequestOptions.vue | 10 +- components/graphql/Response.vue | 6 +- components/graphql/Sidebar.vue | 6 +- components/history/index.vue | 8 +- components/history/rest/Card.vue | 6 +- components/http/Authorization.vue | 20 +- components/http/CodegenModal.vue | 2 +- components/http/ImportCurl.vue | 7 +- components/http/RawBody.vue | 8 +- components/http/Request.vue | 2 +- components/http/ResponseMeta.vue | 4 +- components/http/TokenList.vue | 80 -- .../lenses/renderers/HTMLLensRenderer.vue | 6 +- .../lenses/renderers/ImageLensRenderer.vue | 4 +- .../lenses/renderers/JSONLensRenderer.vue | 6 +- .../lenses/renderers/RawLensRenderer.vue | 6 +- .../lenses/renderers/XMLLensRenderer.vue | 6 +- components/realtime/Mqtt.vue | 12 +- components/realtime/Socketio.vue | 12 +- components/realtime/Sse.vue | 16 +- components/realtime/Websocket.vue | 19 +- components/smart/ConfirmModal.vue | 4 +- components/teams/Add.vue | 7 +- components/teams/Edit.vue | 7 +- components/teams/Team.vue | 6 +- components/teams/index.vue | 2 +- locales/en.json | 941 +++++++++--------- pages/documentation.vue | 13 +- pages/settings.vue | 18 +- 66 files changed, 755 insertions(+), 802 deletions(-) delete mode 100644 components/http/TokenList.vue diff --git a/components/app/Share.vue b/components/app/Share.vue index 5f78134d6..50189fd75 100644 --- a/components/app/Share.vue +++ b/components/app/Share.vue @@ -86,7 +86,7 @@ export default { copyAppLink() { copyToClipboard(this.url) this.copyIcon = "done" - this.$toast.success(this.$t("copied_to_clipboard").toString(), { + this.$toast.success(this.$t("state.copied_to_clipboard").toString(), { icon: "done", }) setTimeout(() => (this.copyIcon = "content_copy"), 1000) diff --git a/components/app/Shortcuts.vue b/components/app/Shortcuts.vue index 00d342a43..67fa87f03 100644 --- a/components/app/Shortcuts.vue +++ b/components/app/Shortcuts.vue @@ -38,7 +38,7 @@ pl-8 focus-visible:border-divider " - :placeholder="$t('search')" + :placeholder="$t('action.search')" /> diff --git a/components/collections/Add.vue b/components/collections/Add.vue index dc0d9c7eb..c17af8515 100644 --- a/components/collections/Add.vue +++ b/components/collections/Add.vue @@ -18,8 +18,14 @@ diff --git a/components/collections/AddFolder.vue b/components/collections/AddFolder.vue index e5e83f64f..d018349a5 100644 --- a/components/collections/AddFolder.vue +++ b/components/collections/AddFolder.vue @@ -22,8 +22,11 @@ diff --git a/components/collections/Edit.vue b/components/collections/Edit.vue index a76b87f4b..75c6910d2 100644 --- a/components/collections/Edit.vue +++ b/components/collections/Edit.vue @@ -18,8 +18,14 @@ diff --git a/components/collections/EditFolder.vue b/components/collections/EditFolder.vue index 64d212aa0..013f5c3be 100644 --- a/components/collections/EditFolder.vue +++ b/components/collections/EditFolder.vue @@ -22,8 +22,11 @@ diff --git a/components/collections/EditRequest.vue b/components/collections/EditRequest.vue index b6d6260c6..149f91015 100644 --- a/components/collections/EditRequest.vue +++ b/components/collections/EditRequest.vue @@ -1,5 +1,5 @@ diff --git a/components/collections/graphql/Collection.vue b/components/collections/graphql/Collection.vue index 2f6b6313f..a190b9464 100644 --- a/components/collections/graphql/Collection.vue +++ b/components/collections/graphql/Collection.vue @@ -54,7 +54,7 @@ @@ -70,7 +70,7 @@ /> diff --git a/components/collections/graphql/EditFolder.vue b/components/collections/graphql/EditFolder.vue index de6213e46..60783e366 100644 --- a/components/collections/graphql/EditFolder.vue +++ b/components/collections/graphql/EditFolder.vue @@ -22,8 +22,11 @@ diff --git a/components/collections/graphql/EditRequest.vue b/components/collections/graphql/EditRequest.vue index 897aae174..e29c573d7 100644 --- a/components/collections/graphql/EditRequest.vue +++ b/components/collections/graphql/EditRequest.vue @@ -1,5 +1,5 @@ @@ -84,7 +84,7 @@ @@ -62,7 +62,7 @@