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

アノテーション仕様のメッセージを取得するutil関数を追加 #659

Merged
merged 6 commits into from
Jun 24, 2024

Conversation

yuji38kwmt
Copy link
Collaborator

@yuji38kwmt yuji38kwmt commented Jun 24, 2024

廃止

  • annofabapi.utils.get_message_for_i18n : ベトナム語を取得しようとしたときにValueErrorが発生すると使いにくかったので、以下の新しい関数を追加しました。今後はannofabapi.util.annotation_specs.get_english_messageまたはannofabapi.util.annotation_specs.get_message_with_langを利用してください。

追加

  • annofabapi.util.annotation_specs.get_english_message
  • annofabapi.util.annotation_specs.get_message_with_lang

※ すでにutils.pyがあったので、utilという単数形のパッケージを作成しました。

@yuji38kwmt yuji38kwmt changed the title Add get message utils アノテーション仕様のメッセージを取得するutil関数を追加 Jun 24, 2024
@yuji38kwmt yuji38kwmt merged commit 6cb27b8 into main Jun 24, 2024
3 checks passed
@yuji38kwmt yuji38kwmt deleted the add-get-message-utils branch June 24, 2024 03:33
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.

1 participant