ankidroid / ankidroid/Anki-Android

Improve some dialogs (mostly string changes)

オープン
#20,508 コメント 34 件 リアクション 0 件 担当者 0 名 GitHub で見る
Good First Issue
主要言語
Kotlin
スター
11.8k
フォーク
2.9k
平均マージ
2日 3時間
マージ済み PR(30日)
171

説明

> [!NOTE]
> Please don't ask to be assigned. Simply state what you plan to work on (and look in the comments to see what other have picked).
>
> These are just suggestions. Some of them may not be better than what we have currently.
>
> Also, [material design 3](https://m3.material.io/components/dialogs/guidelines) suggests that dialog headlines are optional, unlike "supporting text". I wasn't aware of this when I wrote these suggestions.

## Settings -> Appearance

- [x] Remove background?:
- [x] Consider removing the "?" and adding text like "Are you sure you want to remove the background image?".

## Main screen

- [x] Check database?: https://github.com/ankidroid/Anki-Android/pull/20530
- [x] ~~Replace "OK" with a more useful string.~~
- [x] Change the title to "Check database".
- [x] Change the text to "This may take a long time. Proceed?"
- [x] Check media?: https://github.com/ankidroid/Anki-Android/pull/20530
- [x] Same as above.
- [x] Delete unused media?
- [x] Change "Ok" to "Delete".
- [x] Tags added
- [x] The title is "Tags added", but the description can be "0 notes updated.". I'm not sure what to would be best here, maybe "Tagging results"?
- [ ] What would you like to unbury?:
- See reference image 2 below.
- To find this dialog: make a deck with sibling burying enabled. Then add a basic card and a pair of basic & reversed cards to it. After that, study the deck, burying the basic card and answering on of the reversed cards. Finally, tap on the review counts in the main screen to get to the congratulations screen and then tap "unbury them".
- [ ] Make the title bigger.
- [ ] Remove the bold styling from the three options.

---

- [ ] Export: https://github.com/ankidroid/Anki-Android/pull/20530
- [x] Replace "OK" with " Export".
- [ ] Add a title: "Export".

---

- [ ] Custom study
- [ ] Replace the string "Increase today's review card limit" with "Increase today's review limit".

## Template editor

- [x] Restore to Default:
- [x] Replace "OK" with "Restore".
- [x] Change the title to sentence case.
- [x] Browser appearance:
- [x] Not really a dialog, but the border titles "Question Format" and "Answer Format" should be lower case.
- [x] Restore Default Values?:
- This is the dialog that appears when you tap the "loop" icon in the "Browser appearance" screen.
- [x] Replace "OK" with "Restore".
- [x] Add a title: "Restore to default".
- [x] Change the text to "Are you sure you want to restore the browser appearance to default?".

## Note editor

- [x] Tags:
- [x] Replace "OK" with a more useful string. Maybe "Select" to match the "Select tags" dialog.
_Note: Used 'Confirm', 'Select' wasn't the right word to use IMO_
- [x] Add tag:
- [x] Replace "OK" with "Add".
- [x] Change the box's border text from "Tag name" to simply "Name".
- [ ] Create toolbar item/Edit toolbar item:
- [ ] The name field should be required. One of the other two text fields should be required. Until these are filled, the "Create"/"Save" buttons should be disabled and a red warning should appear explaining what to do.
- [ ] The text fields' labels should not overlap with the outlines. See reference image 3 below.

## Card browser

- [x] Browser options:
- [x] Replace "OK" with "Save".
- [x] Reset card progress:
- [x] Replace "OK" with "Reset".
- [x] Find and replace:
- [x] Replace "OK" with "Replace".
- [x] Set due date:
- [x] Consider adding text to the tab icons.
- [x] Consider replacing "Help" by a question mark icon in the upper right corner like the "Reset card progress" dialog.
- [x] Change note type:
- [x] The tab text & icon should be colored blue to match the "Set due date" dialog.
- [x] Choose better colors for cloze note types. The current colors are hard to read, especially in the dark theme (see reference image 1 below).

## Reference

![Image](https://github.com/user-attachments/assets/70b139bf-44ec-4a7e-812e-da474aa5b9ad)

Image

Image

コントリビューションガイド

コントリビューションガイドを開く

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。