{"action":"created","issue":{"url":"https://api.github.com/repos/nijel/weblate/issues/760","labels_url":"https://api.github.com/repos/nijel/weblate/issues/760/labels{/name}","comments_url":"https://api.github.com/repos/nijel/weblate/issues/760/comments","events_url":"https://api.github.com/repos/nijel/weblate/issues/760/events","html_url":"https://github.com/nijel/weblate/issues/760","id":88763482,"number":760,"title":"Filemask parsing gets confused because it looks for more than 2 char language codes","user":{"login":"emmapeel2","id":11485015,"avatar_url":"https://avatars.githubusercontent.com/u/11485015?v=3","gravatar_id":"","url":"https://api.github.com/users/emmapeel2","html_url":"https://github.com/emmapeel2","followers_url":"https://api.github.com/users/emmapeel2/followers","following_url":"https://api.github.com/users/emmapeel2/following{/other_user}","gists_url":"https://api.github.com/users/emmapeel2/gists{/gist_id}","starred_url":"https://api.github.com/users/emmapeel2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/emmapeel2/subscriptions","organizations_url":"https://api.github.com/users/emmapeel2/orgs","repos_url":"https://api.github.com/users/emmapeel2/repos","events_url":"https://api.github.com/users/emmapeel2/events{/privacy}","received_events_url":"https://api.github.com/users/emmapeel2/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/nijel/weblate/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"closed","locked":false,"assignee":{"login":"nijel","id":212189,"avatar_url":"https://avatars.githubusercontent.com/u/212189?v=3","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},"milestone":{"url":"https://api.github.com/repos/nijel/weblate/milestones/16","html_url":"https://github.com/nijel/weblate/milestones/2.4","labels_url":"https://api.github.com/repos/nijel/weblate/milestones/16/labels","id":1123975,"number":16,"title":"2.4","description":"","creator":{"login":"nijel","id":212189,"avatar_url":"https://avatars.githubusercontent.com/u/212189?v=3","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},"open_issues":7,"closed_issues":25,"state":"open","created_at":"2015-05-21T19:47:51Z","updated_at":"2015-08-02T18:19:45Z","due_on":null,"closed_at":null},"comments":7,"created_at":"2015-06-16T15:41:36Z","updated_at":"2015-08-03T06:33:38Z","closed_at":"2015-06-18T11:56:24Z","body":"I am trying to import the files for the Tails website, done with ikiwiki, and the structure of the pages gives errors when checking for translations.\r\nTypical examples of the problem can be found while in this directory for example:\r\nhttps://git-tails.immerda.ch/tails/tree/wiki/src/security\r\n\r\nFor example on that folder the importer will die when finding two files like\r\nwiki/src/security/Numerous_security_holes_in_1.2.2.ca.po \r\nwiki/src/security/Numerous_security_holes_in_1.2.ca.po\r\n\r\nand if trying to save the last component through the django admin interface, it will not allow me to do so.\r\n\r\nMaybe the language code can just look for 2 alphabetic characters for this not to happen?\r\n\r\nOther problematic files are \r\nfirst_steps.fr.po\t\r\nfirst_steps.index.de.po\r\nfirst_steps.index.fr.po\r\nfirst_steps.index.mdwn\r\nfirst_steps.index.pt.po\r\nfirst_steps.mdwn\r\nfirst_steps.pt.po\r\nand similar. you can browse the file tree at:\r\nhttps://git-tails.immerda.ch/tails/tree/wiki/src/doc\r\n\r\n\r\nand clone the wiki with git clone https://git-tails.immerda.ch/tails\r\n\r\nthanks!\r\n"},"comment":{"url":"https://api.github.com/repos/nijel/weblate/issues/comments/127139988","html_url":"https://github.com/nijel/weblate/issues/760#issuecomment-127139988","issue_url":"https://api.github.com/repos/nijel/weblate/issues/760","id":127139988,"user":{"login":"emmapeel2","id":11485015,"avatar_url":"https://avatars.githubusercontent.com/u/11485015?v=3","gravatar_id":"","url":"https://api.github.com/users/emmapeel2","html_url":"https://github.com/emmapeel2","followers_url":"https://api.github.com/users/emmapeel2/followers","following_url":"https://api.github.com/users/emmapeel2/following{/other_user}","gists_url":"https://api.github.com/users/emmapeel2/gists{/gist_id}","starred_url":"https://api.github.com/users/emmapeel2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/emmapeel2/subscriptions","organizations_url":"https://api.github.com/users/emmapeel2/orgs","repos_url":"https://api.github.com/users/emmapeel2/repos","events_url":"https://api.github.com/users/emmapeel2/events{/privacy}","received_events_url":"https://api.github.com/users/emmapeel2/received_events","type":"User","site_admin":false},"created_at":"2015-08-03T06:33:38Z","updated_at":"2015-08-03T06:33:38Z","body":"thanks!"}}