Skip to content
Snippets Groups Projects
Commit 993c8ed4 authored by Jakob Kirsch's avatar Jakob Kirsch
Browse files

Update README.md

parent 22df6f49
No related branches found
No related tags found
No related merge requests found
......@@ -20,6 +20,22 @@ This is a small extensible helper.
| file | name of function | parameter | returns | use |
| ------ | ------ | ------ | ------ | ------ |
| apps/base.py | BaseActivity | / | instance of BaseActivity |the base for an activity |
| apps/utils.py | get_option | list of options in style like {"name":object} | choosen object | get the choosen object from a list |
| apps/utils.py | get_int | text | entered integer | get an integer without try/except |
\ No newline at end of file
| `apps/base.py` | BaseActivity | / | instance of BaseActivity |the base for an activity |
| `apps/utils.py` | get_option | list of options in style like {"name":object} | choosen object | get the choosen object from a list |
| `apps/utils.py` | get_int | text | entered integer | get an integer without try/except |
| `__main__.py` | _ | text | translated text | can be used to translate the program while running |
**write your own translation**
1. search the wanted string (e.g. "Hello")
1. create your translation file in style prefix_suffix.lp (e.g. `de_de.lp`)
1. edit your translation file in the translation directory and add your translations in style:
`<Hello`
`>Hallo`
*or*
`<Hello`
`<world`
`>Hallo`
`>Welt`
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment