chore: merge hoppscotch/main into hoppscotch/next
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "hoppscotch-backend",
|
"name": "hoppscotch-backend",
|
||||||
"version": "2024.9.2",
|
"version": "2024.9.3",
|
||||||
"description": "",
|
"description": "",
|
||||||
"author": "",
|
"author": "",
|
||||||
"private": true,
|
"private": true,
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"name": "@hoppscotch/common",
|
"name": "@hoppscotch/common",
|
||||||
"private": true,
|
"private": true,
|
||||||
"version": "2024.9.2",
|
"version": "2024.9.3",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"dev": "pnpm exec npm-run-all -p -l dev:*",
|
"dev": "pnpm exec npm-run-all -p -l dev:*",
|
||||||
"test": "vitest --run",
|
"test": "vitest --run",
|
||||||
|
|||||||
@@ -11,6 +11,8 @@ import { throwError } from "~/helpers/functional/error"
|
|||||||
import { PersistenceService } from "~/services/persistence"
|
import { PersistenceService } from "~/services/persistence"
|
||||||
import { getService } from "./dioc"
|
import { getService } from "./dioc"
|
||||||
|
|
||||||
|
import FALLBACK_LANG_MESSAGES from "../../locales/en.json"
|
||||||
|
|
||||||
/*
|
/*
|
||||||
In context of this file, we have 2 main kinds of things.
|
In context of this file, we have 2 main kinds of things.
|
||||||
1. Locale -> A locale is termed as the i18n entries present in the /locales folder
|
1. Locale -> A locale is termed as the i18n entries present in the /locales folder
|
||||||
@@ -144,6 +146,12 @@ export default <HoppModule>{
|
|||||||
|
|
||||||
i18nInstance = i18n
|
i18nInstance = i18n
|
||||||
|
|
||||||
|
// Load in fallback lang messages
|
||||||
|
i18nInstance.global.setLocaleMessage(
|
||||||
|
FALLBACK_LANG_CODE,
|
||||||
|
FALLBACK_LANG_MESSAGES
|
||||||
|
)
|
||||||
|
|
||||||
// TODO: Global loading state to hide the resolved lang loading
|
// TODO: Global loading state to hide the resolved lang loading
|
||||||
const currentLocale = resolveCurrentLocale()
|
const currentLocale = resolveCurrentLocale()
|
||||||
changeAppLanguage(currentLocale)
|
changeAppLanguage(currentLocale)
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"name": "@hoppscotch/selfhost-desktop",
|
"name": "@hoppscotch/selfhost-desktop",
|
||||||
"private": true,
|
"private": true,
|
||||||
"version": "2024.9.2",
|
"version": "2024.9.3",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"dev:vite": "vite",
|
"dev:vite": "vite",
|
||||||
|
|||||||
@@ -1383,7 +1383,7 @@ dependencies = [
|
|||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "hoppscotch-desktop"
|
name = "hoppscotch-desktop"
|
||||||
version = "24.9.2"
|
version = "24.9.3"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"cocoa 0.25.0",
|
"cocoa 0.25.0",
|
||||||
"dashmap",
|
"dashmap",
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "hoppscotch-desktop"
|
name = "hoppscotch-desktop"
|
||||||
version = "24.9.2"
|
version = "24.9.3"
|
||||||
description = "A Tauri App"
|
description = "A Tauri App"
|
||||||
authors = ["you"]
|
authors = ["you"]
|
||||||
license = ""
|
license = ""
|
||||||
|
|||||||
@@ -8,7 +8,7 @@
|
|||||||
},
|
},
|
||||||
"package": {
|
"package": {
|
||||||
"productName": "Hoppscotch",
|
"productName": "Hoppscotch",
|
||||||
"version": "24.9.2"
|
"version": "24.9.3"
|
||||||
},
|
},
|
||||||
"tauri": {
|
"tauri": {
|
||||||
"allowlist": {
|
"allowlist": {
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"name": "@hoppscotch/selfhost-web",
|
"name": "@hoppscotch/selfhost-web",
|
||||||
"private": true,
|
"private": true,
|
||||||
"version": "2024.9.2",
|
"version": "2024.9.3",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"dev:vite": "vite",
|
"dev:vite": "vite",
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"name": "hoppscotch-sh-admin",
|
"name": "hoppscotch-sh-admin",
|
||||||
"private": true,
|
"private": true,
|
||||||
"version": "2024.9.2",
|
"version": "2024.9.3",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"dev": "pnpm exec npm-run-all -p -l dev:*",
|
"dev": "pnpm exec npm-run-all -p -l dev:*",
|
||||||
|
|||||||
Reference in New Issue
Block a user