Adjust testing with localization

This commit is contained in:
adilallo
2026-01-30 18:39:15 -07:00
parent 1280844706
commit ebd025fe27
23 changed files with 139 additions and 47 deletions
+1 -4
View File
@@ -11,10 +11,7 @@ type Messages = typeof messages;
* @param key - Dot-separated key path (e.g., "heroBanner.title")
* @returns The translation string or the key if not found
*/
export function getTranslation(
messages: Messages,
key: string,
): string {
export function getTranslation(messages: Messages, key: string): string {
const keys = key.split(".");
let value: any = messages;