Closed MayanKoyote closed 2 months ago
Borrowing from https://github.com/solosky/pixl.js/pull/245#issuecomment-2045491039
Maybe OK
and Cancel
would be appropriate here too?
The main thing I propose here - is the uniformity of such windows among all firmware apps. And the label on the button itself can be edited in the localization file. In my localization, for example, both [_L_CONFIRM] & [_L_APP_AMIIDB_CONFIRM] button shows a simple “Yes” instead of the pretentious “Confirm”.
Sorry reply late, but I think it's better to the the text of left button should be "Delete". Confirm cannot hightlight the action behivior the button will do.
So we need additional 'Delete' then, but this time without ellipsis. And this will not lead to the unification of such windows between apps.
but I think it's better to the the text of left button should be "Delete". Confirm cannot hightlight the action behivior the button will do.
Windows traditionally uses Yes/No, most Programs also either stick to that, have Ok/Cancel, or very wild approaches (Confirm/Accept/Delete/)
macOS and most Linux DE tend to use Delete/Cancel
may be where be used, because some common dialog is OK - Cancel:
also there is the eternal question: Cancel - OK or OK - Cancel
To me, Ok — Cancel or Cancel — Ok doesn't matter, as long as the confirmation button is not selected by default. Too many times have I pressed space bar or another key just to accept things I didn't get to look at. :(
Let's not talk about Windows. They can't even handle creating a consistent user interface.
Since recently we have a new delete confirmation window in the 'Amiibo Emulator' app file browser. (It is new because of the redesign of the display of the ellipsis of some items in the file browser. https://github.com/solosky/pixl.js/pull/240 ) This window looks like this now:
As already noted there are too many 'Delete' words here.
So I looked at the situation in the neighboring app, 'Amiibo Database', and there is a bit similar operation there:
The window title there is taken from
[_L_APP_AMIIDB_TIPS]
, the consent button is from[_L_APP_AMIIDB_CONFIRM]
, the disagree button is, well, the same, 'CANCEL'.With it in mind, I created a new variable for translation called![03](https://github.com/solosky/pixl.js/assets/43220515/6bc444a4-9e06-4ce6-b3ad-3c2ddc17f2e3)
[_L_TIPS]
that has the same meaning as[_L_APP_AMIIDB_TIPS]
, but does not have only one app affiliation in the name. And the window began to look like this:Pros:
Cons:
Well, something like this.