Skip to content
This repository has been archived by the owner on Nov 14, 2024. It is now read-only.

Commit

Permalink
Temp
Browse files Browse the repository at this point in the history
  • Loading branch information
mstuttgart committed Nov 9, 2024
1 parent ba63bba commit a74d157
Show file tree
Hide file tree
Showing 36 changed files with 3,533 additions and 249 deletions.
7 changes: 4 additions & 3 deletions Justfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@
# You should have received a copy of the GNU Lesser General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.

PYTHON_DIR := invocation_directory() + '/' + if os_family() == 'windows' { '.venv/Scripts' } else { '.venv/bin' }
PYTHON_VENV_DIR := '.venv'
PYTHON_DIR := invocation_directory() + '/' + if os_family() == 'windows' { PYTHON_VENV_DIR + '/Scripts' } else { PYTHON_VENV_DIR + '/bin' }
PYTHON := PYTHON_DIR + if os_family() == 'windows' { '/python.exe' } else { '/python3' }

#
Expand All @@ -33,12 +34,12 @@ export QT_QUICK_CONTROLS_MATERIAL_VARIANT := 'dense'
##### Names #####
##### #####

NAME_APPLICATION := 'myapp'
NAME_APPLICATION := 'pynocchio'
NAME_DIRECTORY_BUILD := 'build'
NAME_DIRECTORY_BUILD_HELPERS := 'build-aux'
NAME_DIRECTORY_DATA := 'data'
NAME_DIRECTORY_I18N := 'i18n'
NAME_DIRECTORY_PY_SOURCES := 'myapp'
NAME_DIRECTORY_PY_SOURCES := 'pynocchio'
NAME_DIRECTORY_PY_TESTS := 'test'
NAME_DIRECTORY_QML_SOURCES := 'qml'
NAME_DIRECTORY_QML_TESTS := 'qml'
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion docs/internationalization.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
* New `<locale>.ts` file appears in the `i18n` directory
* Translate the `ts` file using Qt Linguist 6
* To test the translation:
* Add a new entry in the `MyAppLanguageModel.qml` file
* Add a new entry in the `PynocchioLanguageModel.qml` file
* Run
```shell
just build-develop
Expand Down
4 changes: 2 additions & 2 deletions main.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@


def main():
from myapp.startup import perform_startup
from pynocchio.startup import perform_startup

perform_startup()


if __name__ == '__main__':
if __name__ == "__main__":
main()
Loading

0 comments on commit a74d157

Please sign in to comment.