Add localization strings batch 4 (#2420)

* Add localization strings batch 4

* run prettier

* Update test snap

* Remove duplicates
This commit is contained in:
sunghyunkang1111
2026-03-10 14:32:41 -05:00
committed by GitHub
parent 30fcf0c02e
commit 0cf0eca068
27 changed files with 629 additions and 277 deletions
+3 -1
View File
@@ -17,6 +17,8 @@ import {
} from "@fluentui/react";
import React, { FC, useEffect } from "react";
import create, { UseStore } from "zustand";
import { Keys } from "../../Localization/Keys.generated";
import { t } from "../../Localization/t";
export interface DialogState {
visible: boolean;
@@ -88,7 +90,7 @@ export const useDialog: UseStore<DialogState> = create((set, get) => ({
isModal: true,
title,
subText,
primaryButtonText: "Close",
primaryButtonText: t(Keys.common.close),
secondaryButtonText: undefined,
onPrimaryButtonClick: () => {
get().closeDialog();