{"action":"created","issue":{"url":"https://api.github.com/repos/WeblateOrg/weblate/issues/1902","repository_url":"https://api.github.com/repos/WeblateOrg/weblate","labels_url":"https://api.github.com/repos/WeblateOrg/weblate/issues/1902/labels{/name}","comments_url":"https://api.github.com/repos/WeblateOrg/weblate/issues/1902/comments","events_url":"https://api.github.com/repos/WeblateOrg/weblate/issues/1902/events","html_url":"https://github.com/WeblateOrg/weblate/issues/1902","id":304729484,"number":1902,"title":"Improve difference in changes","user":{"login":"jelv","id":7106279,"avatar_url":"https://avatars1.githubusercontent.com/u/7106279?v=4","gravatar_id":"","url":"https://api.github.com/users/jelv","html_url":"https://github.com/jelv","followers_url":"https://api.github.com/users/jelv/followers","following_url":"https://api.github.com/users/jelv/following{/other_user}","gists_url":"https://api.github.com/users/jelv/gists{/gist_id}","starred_url":"https://api.github.com/users/jelv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jelv/subscriptions","organizations_url":"https://api.github.com/users/jelv/orgs","repos_url":"https://api.github.com/users/jelv/repos","events_url":"https://api.github.com/users/jelv/events{/privacy}","received_events_url":"https://api.github.com/users/jelv/received_events","type":"User","site_admin":false},"labels":[{"id":363998,"url":"https://api.github.com/repos/WeblateOrg/weblate/labels/enhancement","name":"enhancement","color":"84b6eb","default":true}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-03-13T11:39:34Z","updated_at":"2018-03-13T16:52:17Z","closed_at":null,"author_association":"NONE","body":"Some suggestions to improve the differences recognition. \r\n\r\n**1. Full word changes**\r\nWeblate recognizes small changes in words but goes to far when full words change with some of the same letters. \r\nProblem is that it no longer readable. \r\nSolutions would be strike the whole word that is changed instead of some letters.\r\n\r\n_Examples were full word would be better_\r\n![screenshot_1](https://user-images.githubusercontent.com/7106279/37338383-997d5e68-26b7-11e8-8677-b35ff79ec035.png)\r\nSolution: gratis _red_ and vrije _green_\r\n\r\n![screenshot_3](https://user-images.githubusercontent.com/7106279/37338381-993651d0-26b7-11e8-8391-d4b9f1dae708.png)\r\nSolution: Betalingsdetails _red_ and Betalingsgegevens _green_ \r\n\r\n![screenshot_6](https://user-images.githubusercontent.com/7106279/37338777-c01ada72-26b8-11e8-863d-061b19050010.png)\r\n\r\n![screenshot_7](https://user-images.githubusercontent.com/7106279/37338778-c03c7fec-26b8-11e8-9632-a96e64671e67.png)\r\n\r\n**2. Sentences changes**\r\nWhen whole sentences get changes it sometimes recognizes letters and makes a mess. \r\nProblem is the readability. \r\nSolutions would be strike the whole word that is changed instead of some letters.\r\n\r\n![screenshot_5](https://user-images.githubusercontent.com/7106279/37338384-99964388-26b7-11e8-8df8-0ce664ceece6.png)\r\nShow more details _red_ and Mostrar mais para todas as mensagens _green_ \r\n\r\n**The good in current difference**\r\nIt also has some good points. When only one small part of the word is changed it works out fine. Also two small letter changes look fine in mine eye. Also changes in the sentence, like the last example, are recognized fine so that should stay the same.\r\n\r\n![screenshot_8](https://user-images.githubusercontent.com/7106279/37338779-c057662c-26b8-11e8-8302-252c02dc38b4.png)\r\n\r\n![screenshot_4](https://user-images.githubusercontent.com/7106279/37338385-99b1b564-26b7-11e8-95be-ab6aa0e0b5b1.png)\r\n\r\n![screenshot_2](https://user-images.githubusercontent.com/7106279/37338382-995be6f2-26b7-11e8-9b66-ceb7e08f16d3.png)\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/WeblateOrg/weblate/issues/comments/372737176","html_url":"https://github.com/WeblateOrg/weblate/issues/1902#issuecomment-372737176","issue_url":"https://api.github.com/repos/WeblateOrg/weblate/issues/1902","id":372737176,"user":{"login":"nijel","id":212189,"avatar_url":"https://avatars0.githubusercontent.com/u/212189?v=4","gravatar_id":"","url":"https://api.github.com/users/nijel","html_url":"https://github.com/nijel","followers_url":"https://api.github.com/users/nijel/followers","following_url":"https://api.github.com/users/nijel/following{/other_user}","gists_url":"https://api.github.com/users/nijel/gists{/gist_id}","starred_url":"https://api.github.com/users/nijel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nijel/subscriptions","organizations_url":"https://api.github.com/users/nijel/orgs","repos_url":"https://api.github.com/users/nijel/repos","events_url":"https://api.github.com/users/nijel/events{/privacy}","received_events_url":"https://api.github.com/users/nijel/received_events","type":"User","site_admin":false},"created_at":"2018-03-13T16:52:17Z","updated_at":"2018-03-13T16:52:17Z","author_association":"OWNER","body":"The current diff is pretty simple suggestions how to improve the code are welcome:\r\n\r\nhttps://github.com/WeblateOrg/weblate/blob/dccd0bc9d9b437687fb668b00b7e060e480ccd27/weblate/trans/simplediff.py#L22-L50"}}
{"actor":{"display_login":"nijel"}}