{"action":"created","issue":{"url":"https://api.github.com/repos/panzi/qjoypad/issues/8","labels_url":"https://api.github.com/repos/panzi/qjoypad/issues/8/labels{/name}","comments_url":"https://api.github.com/repos/panzi/qjoypad/issues/8/comments","events_url":"https://api.github.com/repos/panzi/qjoypad/issues/8/events","html_url":"https://github.com/panzi/qjoypad/issues/8","id":122909356,"number":8,"title":"Internationalization produces broken layout files","user":{"login":"akien-mga","id":4701338,"avatar_url":"https://avatars.githubusercontent.com/u/4701338?v=3","gravatar_id":"","url":"https://api.github.com/users/akien-mga","html_url":"https://github.com/akien-mga","followers_url":"https://api.github.com/users/akien-mga/followers","following_url":"https://api.github.com/users/akien-mga/following{/other_user}","gists_url":"https://api.github.com/users/akien-mga/gists{/gist_id}","starred_url":"https://api.github.com/users/akien-mga/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/akien-mga/subscriptions","organizations_url":"https://api.github.com/users/akien-mga/orgs","repos_url":"https://api.github.com/users/akien-mga/repos","events_url":"https://api.github.com/users/akien-mga/events{/privacy}","received_events_url":"https://api.github.com/users/akien-mga/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-12-18T09:11:49Z","updated_at":"2015-12-18T09:12:49Z","closed_at":null,"body":"As reported by @doktor5000 on https://bugs.mageia.org/show_bug.cgi?id=17306#c2, it looks like the use of the German translation in QJoypad 4.2.0 produces broken layout files, as the translated names are used in it:\r\n\r\n```\r\n$ cat ~/.qjoypad3/test.lyt\r\n\r\n# QJoyPad 4.2 Layout File\r\n\r\nJoystick 1 {\r\n        Achse 1: +key 0, -key 0\r\n        Achse 2: +key 0, -key 0\r\n        Achse 3: +key 0, -key 0\r\n        Achse 4: +key 0, -key 0\r\n        Achse 5: +key 0, -key 0\r\n        Achse 6: +key 0, -key 0\r\n        Taste 1: key 38\r\n        Taste 2: key 53\r\n        Taste 3: key 0\r\n        Taste 4: key 0\r\n        Taste 5: key 0\r\n        Taste 6: key 0\r\n        Taste 7: key 0\r\n        Taste 8: key 0\r\n        Taste 9: key 0\r\n        Taste 10: key 0\r\n        Taste 11: key 0\r\n        Taste 12: key 0\r\n}\r\n```\r\n\r\nwhich triggers this error upon load:\r\n```\r\n/dev/input: keybinding file failure\r\nError while reading layout. Unrecognized word: achse\r\n```\r\n\r\nIt appears to be a regression as 4.1.0 had no translation support."},"comment":{"url":"https://api.github.com/repos/panzi/qjoypad/issues/comments/165719823","html_url":"https://github.com/panzi/qjoypad/issues/8#issuecomment-165719823","issue_url":"https://api.github.com/repos/panzi/qjoypad/issues/8","id":165719823,"user":{"login":"akien-mga","id":4701338,"avatar_url":"https://avatars.githubusercontent.com/u/4701338?v=3","gravatar_id":"","url":"https://api.github.com/users/akien-mga","html_url":"https://github.com/akien-mga","followers_url":"https://api.github.com/users/akien-mga/followers","following_url":"https://api.github.com/users/akien-mga/following{/other_user}","gists_url":"https://api.github.com/users/akien-mga/gists{/gist_id}","starred_url":"https://api.github.com/users/akien-mga/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/akien-mga/subscriptions","organizations_url":"https://api.github.com/users/akien-mga/orgs","repos_url":"https://api.github.com/users/akien-mga/repos","events_url":"https://api.github.com/users/akien-mga/events{/privacy}","received_events_url":"https://api.github.com/users/akien-mga/received_events","type":"User","site_admin":false},"created_at":"2015-12-18T09:12:49Z","updated_at":"2015-12-18T09:12:49Z","body":"On a side note, he also noted that version 4.1.0 used to save only the settings for keys that had actually been modified, while 4.2.0 seems to save all keys, assigning non-custom ones to key 0.\r\nSee:\r\n```\r\n$ cat ~/.qjoypad3/test.lyt \r\n# QJoyPad 4.1 Layout File\r\n\r\nJoystick 1 {\r\n        Button 1: key 38\r\n        Button 2: key 53\r\n}\r\n```\r\nfor the same configuration as above. It's not a bug per se, but if it's not a conscious change, it might be work looking into to prevent saving non-relevant info in the layout file."}}