chore: add missing i18n string entries

This commit is contained in:
jamesgeorge007 2025-03-06 15:37:47 +05:30
parent e5be5ff227
commit 32e38367d5
3 changed files with 10 additions and 4 deletions

View file

@ -456,6 +456,10 @@
"description": "An unknown error occurred.",
"cause": "Unknown cause"
},
"extension": {
"heading": "Extension error",
"description": "Failed running request on extension"
},
"authproviders_load_error": "Unable to load auth providers",
"browser_support_sse": "This browser doesn't seems to have Server Sent Events support.",
"check_console_details": "Check console log for details.",
@ -496,7 +500,8 @@
"reading_files": "Error while reading one or more files.",
"fetching_access_tokens_list": "Something went wrong while fetching the list of tokens",
"generate_access_token": "Something went wrong while generating the access token",
"delete_access_token": "Something went wrong while deleting the access token"
"delete_access_token": "Something went wrong while deleting the access token",
"extension_not_found": "Extension not found"
},
"export": {
"as_json": "Export as JSON",
@ -882,6 +887,7 @@
"agent_reset_registration": "Reset Registration",
"agent_registered": "Agent Registered",
"agent_registration_successful": "Agent Registered Successfully",
"agent_registration_fetch_failed": "Couldn't fetch Agent registration information",
"auto_encode_mode": "Auto",
"auto_encode_mode_tooltip": "Encode the parameters in the request only if some special characters are present",
"background": "Background",

View file

@ -646,7 +646,7 @@ async function updateMaskedAuthKey() {
const registration = await store.fetchRegistrationInfo()
maskedAuthKey.value = registration.auth_key_hash
} catch (e) {
toast.error(t("settings.registration_fetch_failed"))
toast.error(t("settings.agent_registration_fetch_failed"))
}
}

View file

@ -108,8 +108,8 @@ export class ExtensionKernelInterceptorService
if (!window.__POSTWOMAN_EXTENSION_HOOK__) {
return E.left({
humanMessage: {
heading: (t) => t("error.extension_not_found.heading"),
description: (t) => t("error.extension_not_found.description"),
heading: (t) => t("error.extension_not_found"),
description: (t) => t("error.network_fail"),
},
error: {
kind: "extension",