mirror of
https://github.com/spalencsar/bearhub.git
synced 2026-07-07 01:14:15 +02:00
[improvement] Not breaking the application when a i18n (translation) key was not found
This commit is contained in:
@@ -20,3 +20,11 @@ The way to go here is to ask yourself if the improvement would be useful for mor
|
||||
* Explain why you think these changes could be useful
|
||||
* If it fixes a bug, be sure to link to the issue itself.
|
||||
* Follow the [PEP 8](https://www.python.org/dev/peps/pep-0008/) code style to keep the code consistent.
|
||||
|
||||
# Adding a new translation
|
||||
* To add a new translation, you will have to create a file in each directory listed below named as the first two letters in the ISO format (e.g: for 'english' would be 'en'):
|
||||
- **bauh/view/resources/locale**
|
||||
- **bauh/gems/appimage/resources/locale**
|
||||
- **bauh/gems/arch/resources/locale**
|
||||
- **bauh/gems/flatpak/resources/locale**
|
||||
- **bauh/gems/snap/resources/locale**
|
||||
|
||||
Reference in New Issue
Block a user