mirror of
https://codeberg.org/yeentown/barkey
synced 2024-11-25 11:45:12 +00:00
fix(frontend): fix missing localization
This commit is contained in:
parent
b9318d09ee
commit
f7eef546a6
3 changed files with 4 additions and 2 deletions
1
locales/index.d.ts
vendored
1
locales/index.d.ts
vendored
|
@ -1181,6 +1181,7 @@ export interface Locale {
|
||||||
"code": string;
|
"code": string;
|
||||||
"reloadRequiredToApplySettings": string;
|
"reloadRequiredToApplySettings": string;
|
||||||
"remainingN": string;
|
"remainingN": string;
|
||||||
|
"overwriteContentConfirm": string;
|
||||||
"_announcement": {
|
"_announcement": {
|
||||||
"forExistingUsers": string;
|
"forExistingUsers": string;
|
||||||
"forExistingUsersDescription": string;
|
"forExistingUsersDescription": string;
|
||||||
|
|
|
@ -1178,6 +1178,7 @@ doReaction: "リアクションする"
|
||||||
code: "コード"
|
code: "コード"
|
||||||
reloadRequiredToApplySettings: "設定の反映にはリロードが必要です。"
|
reloadRequiredToApplySettings: "設定の反映にはリロードが必要です。"
|
||||||
remainingN: "残り: {n}"
|
remainingN: "残り: {n}"
|
||||||
|
overwriteContentConfirm: "現在の内容に上書きされますがよろしいですか?"
|
||||||
|
|
||||||
_announcement:
|
_announcement:
|
||||||
forExistingUsers: "既存ユーザーのみ"
|
forExistingUsers: "既存ユーザーのみ"
|
||||||
|
|
|
@ -167,7 +167,7 @@ function previewEmoji(ev: MouseEvent) {
|
||||||
async function copyFromPinnedEmojis() {
|
async function copyFromPinnedEmojis() {
|
||||||
const { canceled } = await os.confirm({
|
const { canceled } = await os.confirm({
|
||||||
type: 'warning',
|
type: 'warning',
|
||||||
text: 'a',
|
text: i18n.ts.overwriteContentConfirm,
|
||||||
});
|
});
|
||||||
|
|
||||||
if (canceled) {
|
if (canceled) {
|
||||||
|
@ -180,7 +180,7 @@ async function copyFromPinnedEmojis() {
|
||||||
async function copyFromPinnedEmojisForReaction() {
|
async function copyFromPinnedEmojisForReaction() {
|
||||||
const { canceled } = await os.confirm({
|
const { canceled } = await os.confirm({
|
||||||
type: 'warning',
|
type: 'warning',
|
||||||
text: 'a',
|
text: i18n.ts.overwriteContentConfirm,
|
||||||
});
|
});
|
||||||
|
|
||||||
if (canceled) {
|
if (canceled) {
|
||||||
|
|
Loading…
Reference in a new issue