Skip to content

Commit 2973ae3

Browse files
add brand and base64checkbox translation
1 parent 1063031 commit 2973ae3

File tree

6 files changed

+20
-12
lines changed

6 files changed

+20
-12
lines changed

src/features/decoder/components/encoding-format-toggle-swith/encoding-format-toggle-switch.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ import styles from "./encoding-format-toggle-switch.module.scss";
33
import { EncodingValues } from "@/features/common/values/encoding.values";
44
import { useDecoderStore } from "@/features/decoder/services/decoder.store";
55
import { getPickersUiDictionary } from "@/features/localization/services/ui-language-dictionary.service";
6-
import { Switch } from "react-aria-components";
76
import clsx from "clsx";
87
import { useEncoderStore } from "@/features/encoder/services/encoder.store";
98

@@ -43,7 +42,7 @@ export const EncodingFormatToggleSwitchComponent: React.FC<
4342
<div className={clsx(styles.base_switch, isEncoding && styles.encoder)}>
4443
<div className={styles.container}>
4544
<div className={styles.label}>
46-
<span className={styles.fullLabel}>Base64URL Encoded?</span>
45+
<span className={styles.fullLabel}>{dictionary.base64checkbox.label}</span>
4746
</div>
4847
<label className={styles.switch__container}>
4948
<input

src/features/decoder/components/jwt-input.component.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ export const JwtInputComponent: React.FC<JwtInputComponentProps> = ({
7272
isSelected={autoFocusEnabled}
7373
onChange={(e) => handleCheckboxChange(e)}
7474
>
75-
<span className={styles.checkbox__label}>Enable auto-focus</span>
75+
<span className={styles.checkbox__label}>{dictionary.autoFocusLabel}</span>
7676
</CheckboxComponent>
7777
</div>
7878
<CardComponent

src/features/localization/dictionaries/images/ja.tsx

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -5,27 +5,27 @@ export const jaBrandDictionary: BrandDictionaryModel = {
55
tooltip: "右クリックまたは長押し (ロゴオプション)",
66
menu: {
77
brand: {
8-
label: "Brand",
8+
label: "ブランド",
99
svg: {
10-
copyLabel: "Copy Logo SVG",
11-
downloadLabel: "Download Logo",
10+
copyLabel: "ロゴ SVG をコピー",
11+
downloadLabel: "ロゴをダウンロード",
1212
},
1313
symbol: {
14-
copyLabel: "Copy Symbol SVG",
15-
downloadLabel: "Download Symbol",
14+
copyLabel: "シンボル SVG をコピー",
15+
downloadLabel: "シンボルをダウンロード",
1616
},
1717
wordmark: {
18-
copyLabel: "Copy Wordmark SVG",
19-
downloadLabel: "Download Wordmark",
18+
copyLabel: "ワードマーク SVG をコピー",
19+
downloadLabel: "ワードマークをダウンロード",
2020
},
2121
},
2222
tools: {
23-
label: "Tools",
23+
label: "ツール",
2424
items: [
2525
{ label: "Passkeys Playground", url: "https://learnpasskeys.io" },
2626
{ label: "WebAuthn Playground", url: "https://webauthn.me" },
2727
{ label: "OIDC Playground", url: "https://openidconnect.net" },
28-
{ label: "SAML Tool", url: "https://samltool.io" },
28+
{ label: "SAMLツール", url: "https://samltool.io" },
2929
],
3030
},
3131
},

src/features/localization/dictionaries/ui/pickers/en.tsx

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,4 +24,7 @@ export const enPickersUiDictionary: PickersUiDictionaryModel = {
2424
privateKeyFormatPicker: {
2525
label: "Private Key Format",
2626
},
27+
base64checkbox: {
28+
label: "Base64URL Encoded?",
29+
},
2730
};

src/features/localization/dictionaries/ui/pickers/ja.tsx

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,4 +24,7 @@ export const jaPickersUiDictionary: PickersUiDictionaryModel = {
2424
privateKeyFormatPicker: {
2525
label: "秘密鍵の形式",
2626
},
27+
base64checkbox: {
28+
label: "Base64URLエンコード",
29+
},
2730
};

src/features/localization/models/ui/pickers-ui-dictionary.model.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,4 +22,7 @@ export interface PickersUiDictionaryModel {
2222
privateKeyFormatPicker: {
2323
label: string;
2424
};
25+
base64checkbox: {
26+
label: string;
27+
};
2528
}

0 commit comments

Comments
 (0)