Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

addon-updaterの更新 #9

Merged
merged 3 commits into from
Feb 18, 2025
Merged

addon-updaterの更新 #9

merged 3 commits into from
Feb 18, 2025

Conversation

yncat
Copy link
Contributor

@yncat yncat commented Feb 16, 2025

このPRでやっていること

  • addon-updaterを最新バージョンに更新します
  • NVDA 2025.1以降のバージョンと、それ以前のバージョンに両方対応するように調整してあります
  • また、アドオンのベース言語がどちらでも使えるように、文字列の定義が分かれたりしています

やってもらいたいこと

以下の確認をお願いします

  • NVDA 2024.4でアップデーターが動作すること
  • NVDA 2025.1のスナップショット版でアップデーターが動作すること

私はとりあえず全部のアドオンにワールドツアーして回るので、動作確認は、アドオンを主担当した人にお願いしたいです。
実際にアップデートできるまでテストしてもらえると助かります。ローカルだけバージョン番号を下げることでテストできると思います。

@yncat yncat requested a review from kitabatake1013 February 16, 2025 14:34
Copy link
Collaborator

@kitabatake1013 kitabatake1013 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

作業ありがとうございます、助かりました。

if isCompatibleWith2025():
return gui.message.MessageDialog.confirm(message, title) == gui.message.ReturnCode.OK
else:
return gui.messageBox(message, title, style=wx.CENTER | wx.OK | wx.CANCEL | wx.ICON_INFORMATION) == wx.ID_OK
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

gui.messageBox()の戻り値は、wx.ID_OKではなくwx.OKのようです。

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The return value is one of: YES , NO , CANCEL , OK or HELP (notice that this return value is different from the return value of wx.MessageDialog.ShowModal ).

ほんまや

_("The update information is invalid.\nPlease contact ACT Laboratory for further information."),
_("Error"),
style=wx.CENTER | wx.ICON_WARNING)
gui.messageBox(strs.ERROR_UPDATE_INFO_INVALID, strs.ERROR)
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

messageBox(strs.ERROR_UPDATE_INFO_INVALID, strs.ERROR)

ではないでしょうか。

@yncat yncat requested a review from kitabatake1013 February 17, 2025 15:19
Copy link
Collaborator

@kitabatake1013 kitabatake1013 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

修正ありがとうございます、動いていると思います。

@yncat yncat merged commit b8f749a into master Feb 18, 2025
1 check passed
@yncat yncat deleted the cat/updater branch February 18, 2025 14:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants