Bug report: add "locale", the device language and "app_language", the lang used within the app

This commit is contained in:
manuroe
2017-06-09 12:11:18 +02:00
parent bb8c79d65f
commit ba43b03faf
@@ -222,6 +222,10 @@
{
userInfo[@"device_id"] = mainAccount.mxSession.matrixRestClient.credentials.deviceId;
}
userInfo[@"locale"] = [NSLocale preferredLanguages][0];
userInfo[@"app_language"] = [[NSBundle mainBundle] preferredLocalizations][0];
bugReportRestClient.others = userInfo;
// Screenshot