-
-
Notifications
You must be signed in to change notification settings - Fork 39
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
Added a new event enum value, "Festival" #1199
Changes from 1 commit
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,4 +8,5 @@ export enum EventCategory { | |
Contest = 1 << 4, | ||
Convention = 1 << 5, | ||
Other = 1 << 6, | ||
Festival = 1 << 7, | ||
} |
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -18,8 +18,9 @@ | |
"Club": "Club", | ||
"Concert": "Concert", | ||
"Contest": "Contest", | ||
"Convention": "Convention", | ||
"Other": "Other", | ||
"Festival": "Festival", | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. You need to update not only json files, but also corresponding resx files on the VocaDB/vocadb-loc repo. These json files are intended to be automatically generated by this script (as part of #900). It would be nice if we could do this automatically at compile time though. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. added, VocaDB/vocadb-loc#2 |
||
"Convention": "Convention", | ||
"Other": "Other", | ||
"Unspecified": "Unspecified" | ||
}, | ||
"EventSortRuleNames": { | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,6 +5,7 @@ | |
"Club": "クラブ", | ||
"Concert": "コンサート", | ||
"Contest": "コンテスト", | ||
"Festival": "祭り", | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Which should we use, "祭" or "祭り"? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. ohh that's a typo, I wanted to write "祭" |
||
"Convention": "集会", | ||
"Other": "その他", | ||
"Unspecified": "カテゴリー無し" | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you please add a unit test for the change? You can use one of the tests in the
Tests/Domain
folder (depending on whether or not numbers/names can be changed) as a reference. Additionally, can you please enable nullable reference types by removing the#nullable disable
directive, and use the file-scoped namespace for this file? You can do this in a separate commit.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done