Closed krnick closed 1 year ago
Thanks for bringing this up. For the time constraints, I would need to correct the changed files directly. Sorry about that.
FYR, here are the ways to make changes on models and .po
files.
To update fields in models:
makemigrations
command, like python manage.py makemigrations
.
This will generate a new migration file based on the changes you made to your model.To update .po files in Django, you can use the following steps:
makemessages
command: This command will extract all the translatable strings from your source code and create or update the corresponding .po files for each language that your project supports.a tiny suggestion for @josix
如果方便的話可以直接加 commit 不要 squash,這樣大家要觀摩你多做的修正就會比較方便XD(想保持 commit history 乾淨的話可用 squash merge)
喔喔對 忘了還可以 squash
Huge thanks @josix for the timely help and the useful hints for me, I will follow it next time 😃
Types of changes
Thanks for sending a pull request! Please fill in the following content to let us know better about this change. Please put an
x
in the box that appliesDescription
Describe what the change is Change the
first_time_speaker
select option as described below for a better understanding中文
第一次擔任講者
是,我第一次擔任 PyCon Taiwan 講者 否,我過去曾擔任過 PyCon Taiwan 講者
您過去是否擔任過 PyCon Taiwan 的講者<- 移除English
First time speaker
"Yes, it is my first time speaking at PyCon Taiwan." "No, I have given talks at PyCon Taiwan in the past."
Have you ever been a speaker at PyCon Taiwan in the past?<- removeRef: https://discord.com/channels/752904426057892052/945359728719069236/1076776787134136350