File tree Expand file tree Collapse file tree 5 files changed +19
-11
lines changed Expand file tree Collapse file tree 5 files changed +19
-11
lines changed Original file line number Diff line number Diff line change 9
9
Windows/Mac/Linux 搭載の PC に対応しています。
10
10
11
11
※Windows:Windows 10・Windows 11
12
- ※Mac:macOS 12(Monterey )以降
12
+ ※Mac:macOS 13(Ventura )以降
13
13
※Linux:Ubuntu 20.04・Ubuntu 22.04
14
14
15
15
#### GPU 版
Original file line number Diff line number Diff line change 1
1
[
2
+ {
3
+ "version" : " 0.22.1" ,
4
+ "descriptions" : [" バグ修正" ],
5
+ "contributors" : [" Hiroshiba" , " sevenc-nanashi" ]
6
+ },
2
7
{
3
8
"version" : " 0.22.0" ,
4
9
"descriptions" : [
Original file line number Diff line number Diff line change 132
132
<div class =" row q-px-md save-delete-reset-buttons" >
133
133
<QSpace />
134
134
<QBtn
135
- v-show =" !!selectedId"
136
135
outline
137
136
textColor =" display"
138
137
class =" text-no-wrap text-bold q-mr-sm"
139
- :disable =" uiLocked || !isWordChanged "
140
- @click =" resetWord(selectedId )"
141
- >リセット </QBtn
138
+ :disable =" uiLocked"
139
+ @click =" discardOrNotDialog(cancel )"
140
+ >キャンセル </QBtn
142
141
>
143
142
<QBtn
143
+ v-show =" !!selectedId"
144
144
outline
145
145
textColor =" display"
146
146
class =" text-no-wrap text-bold q-mr-sm"
147
- :disable =" uiLocked"
148
- @click =" discardOrNotDialog(cancel )"
149
- >キャンセル </QBtn
147
+ :disable =" uiLocked || !isWordChanged "
148
+ @click =" resetWord(selectedId )"
149
+ >リセット </QBtn
150
150
>
151
151
<QBtn
152
152
outline
@@ -330,6 +330,8 @@ const resetWord = async (id: string) => {
330
330
title: " 単語の変更をリセットしますか?" ,
331
331
message: " 単語の変更は破棄されてリセットされます。" ,
332
332
actionName: " リセットする" ,
333
+ isWarningColorButton: true ,
334
+ cancel: " リセットしない" ,
333
335
});
334
336
if (result === " OK" ) {
335
337
selectedId .value = id ;
Original file line number Diff line number Diff line change @@ -343,6 +343,7 @@ const deleteWord = async () => {
343
343
message: " 削除された単語は元に戻せません。" ,
344
344
actionName: " 削除する" ,
345
345
isWarningColorButton: true ,
346
+ cancel: " 削除しない" ,
346
347
});
347
348
if (result === " OK" ) {
348
349
try {
@@ -362,13 +363,13 @@ const deleteWord = async () => {
362
363
toInitialState ();
363
364
}
364
365
};
365
-
366
366
const discardOrNotDialog = async (okCallback : () => void ) => {
367
367
if (isWordChanged .value ) {
368
368
const result = await store .actions .SHOW_WARNING_DIALOG ({
369
369
title: " 単語の追加・変更を破棄しますか?" ,
370
- message: " 破棄すると 、単語の追加・変更はリセットされます。" ,
370
+ message: " 変更を破棄すると 、単語の追加・変更はリセットされます。" ,
371
371
actionName: " 破棄する" ,
372
+ cancel: " 破棄しない" ,
372
373
isWarningColorButton: true ,
373
374
});
374
375
if (result === " OK" ) {
Original file line number Diff line number Diff line change @@ -121,7 +121,7 @@ test("「設定」→「読み方&アクセント辞書」で「読み方&
121
121
await page . waitForTimeout ( 100 ) ;
122
122
await getNewestQuasarDialog ( page )
123
123
. getByRole ( "button" )
124
- . filter ( { hasText : "削除 " } )
124
+ . filter ( { hasText : "削除する " } )
125
125
. click ( ) ;
126
126
await page . waitForTimeout ( 100 ) ;
127
127
You can’t perform that action at this time.
0 commit comments