Migrate to lingui
Switch to "lingui" for better DX. Tried to persist existing languages as much as possible. Removed "vite-plugin-node-polyfills" because it's incompatible with "lingui"
This commit is contained in:
@@ -77,7 +77,7 @@ export const getWeblateLanguageStatsFor = (
|
||||
const langaugeStats = stats.find((stat) => normalizeCode(stat.code) === normalizeCode(code));
|
||||
|
||||
if (!langaugeStats) {
|
||||
throw new Error(`Weblate language stats for "${code} do not exist`);
|
||||
throw new Error(`Weblate language stats for "${code}" do not exist`);
|
||||
}
|
||||
|
||||
return langaugeStats;
|
||||
|
||||
Reference in New Issue
Block a user