Here is a patch to address this issue. The patch itself is quite large, but most of the content is in the po files.
The overall approach to fix this was to introduce another variable called "python_module". This is used in place of project_name in all the relevant python files and python file names. Another related change is that camel case and sentence case has been modified slightly as well. Dashes are replaced with spaces prior to performing capitalisation.
I've tested the patch by creating both a project with a dashed name, and a normal one, and compared these manually to ensure no bad changes were made. I also tested project creation, running and patching.
Full bash log is:
cd ~/src
quickly create ubuntu-project testproject
cd testproject
quickly run
quickly package
cd ~/src
quickly create ubuntu-project test-project
cd test-project
quickly run
quickly package
Here is a patch to address this issue. The patch itself is quite large, but most of the content is in the po files.
The overall approach to fix this was to introduce another variable called "python_module". This is used in place of project_name in all the relevant python files and python file names. Another related change is that camel case and sentence case has been modified slightly as well. Dashes are replaced with spaces prior to performing capitalisation.
Name translations are similar to:
test-project
Camel Case: TestProject
Sentence Case: Testproject
Python Module: testproject
Project Name: test-project
I've tested the patch by creating both a project with a dashed name, and a normal one, and compared these manually to ensure no bad changes were made. I also tested project creation, running and patching.
Full bash log is:
cd ~/src
quickly create ubuntu-project testproject
cd testproject
quickly run
quickly package
cd ~/src
quickly create ubuntu-project test-project
cd test-project
quickly run
quickly package