convert EN localization to use proper casing, remove postprocessing from renderer

This commit is contained in:
jeffvli
2026-04-29 13:37:57 -07:00
parent e49e488b4c
commit 737f1afd76
193 changed files with 2269 additions and 3401 deletions
+2 -6
View File
@@ -361,7 +361,7 @@ axiosClient.interceptors.response.use(
if (data['subsonic-response'].error.code !== 0) {
toast.error({
message: data['subsonic-response'].error.message,
title: i18n.t('error.genericError', { postProcess: 'sentenceCase' }) as string,
title: i18n.t('error.genericError') as string,
});
// Since we do status === 200, override this value with the error code
@@ -524,11 +524,7 @@ export const ssApiClient = (args: {
} catch (e: any | AxiosError | Error) {
if (isAxiosError(e)) {
if (e.code === 'ERR_NETWORK') {
throw new Error(
i18n.t('error.networkError', {
postProcess: 'sentenceCase',
}) as string,
);
throw new Error(i18n.t('error.networkError') as string);
}
const error = e as AxiosError;