add locales for http request

This commit is contained in:
dongfang committed 2025-02-12 03:13:52 +00:00
1 parent c3d92ec812
commit 6837adb5aa
2 files changed
+31 -1

No files matched your search

+7 -1
View File
@@ -144,5 +144,11 @@
"monitorResume": "Monitor resumed successfully",
"statusPageDelete": "Status page deleted successfully",
"statusPageUpdate": "Status page updated successfully",
"statusPageByTeamId": "Got status pages by team id successfully"
"statusPageByTeamId": "Got status pages by team id successfully",
"httpNetworkError": "Network error",
"httpNotJson": "Response data is not json",
"httpJsonPathError": "Failed to parse json data",
"httpEmptyResult": "Result is empty",
"httpMatchSuccess": "Response data match successfully",
"httpMatchFail": "Failed to match response data"
}
+24
View File
@@ -321,6 +321,30 @@ class StringService {
return this.translationService.getTranslation('getAppSettings');
}
get httpNetworkError() {
return this.translationService.getTranslation('httpNetworkError');
}
get httpNotJson() {
return this.translationService.getTranslation('httpNotJson');
}
get httpJsonPathError() {
return this.translationService.getTranslation('httpJsonPathError');
}
get httpEmptyResult() {
return this.translationService.getTranslation('httpEmptyResult');
}
get httpMatchSuccess() {
return this.translationService.getTranslation('httpMatchSuccess');
}
get httpMatchFail() {
return this.translationService.getTranslation('httpMatchFail');
}
get updateAppSettings() {
return this.translationService.getTranslation('updateAppSettings');
}