aseba-community / thymio-vpl2

Next generation VPL for Thymio using Qt Quick from Qt 5.x
GNU Lesser General Public License v3.0
2 stars 5 forks source link

Properly handle translation of autosave file #68

Open stephanemagnenat opened 7 years ago

stephanemagnenat commented 7 years ago

Commit 6a82e179e2effce781b93a1d9a9d81c31220f101 added autosave feature. It uses a name that is translated through qsTr(). This will break autosaving if the user changes the language of the device. A way to handle that properly is to internally always save the file with the "autosave" name, regardless of the language, but translate it in the load and save dialogue boxes.