mirror of
https://github.com/Ku6epXBOCTuK/easy-png-tools.git
synced 2026-11-13 17:08:20 +00:00
chore: add i18n dict consistency lint rule
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
export const LOCALES = ["en", "ru", "de"] as const;
|
||||
|
||||
export const BASE_LOCALE: "en" = "en";
|
||||
|
||||
export type Dict = {
|
||||
header: Record<string, string>;
|
||||
home: Record<string, string>;
|
||||
errors: Record<string, string>;
|
||||
tools: Record<string, ToolStrings>;
|
||||
};
|
||||
|
||||
export type ToolStrings = {
|
||||
title?: string;
|
||||
description?: string;
|
||||
results?: Record<string, string>;
|
||||
};
|
||||
Reference in New Issue
Block a user