{"action":"closed","issue":{"url":"https://api.github.com/repos/geneweb/geneweb/issues/449","repository_url":"https://api.github.com/repos/geneweb/geneweb","labels_url":"https://api.github.com/repos/geneweb/geneweb/issues/449/labels{/name}","comments_url":"https://api.github.com/repos/geneweb/geneweb/issues/449/comments","events_url":"https://api.github.com/repos/geneweb/geneweb/issues/449/events","html_url":"https://github.com/geneweb/geneweb/issues/449","id":182621535,"number":449,"title":"Bad behaviour with [ xxx ] strings","user":{"login":"ipfix","id":5786186,"avatar_url":"https://avatars.githubusercontent.com/u/5786186?v=3","gravatar_id":"","url":"https://api.github.com/users/ipfix","html_url":"https://github.com/ipfix","followers_url":"https://api.github.com/users/ipfix/followers","following_url":"https://api.github.com/users/ipfix/following{/other_user}","gists_url":"https://api.github.com/users/ipfix/gists{/gist_id}","starred_url":"https://api.github.com/users/ipfix/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ipfix/subscriptions","organizations_url":"https://api.github.com/users/ipfix/orgs","repos_url":"https://api.github.com/users/ipfix/repos","events_url":"https://api.github.com/users/ipfix/events{/privacy}","received_events_url":"https://api.github.com/users/ipfix/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-10-12T20:09:18Z","updated_at":"2016-10-12T21:12:30Z","closed_at":"2016-10-12T21:12:30Z","body":"<a href=\"https://github.com/hgouraud\"><img src=\"https://avatars.githubusercontent.com/u/5949517?v=3\" align=\"left\" width=\"96\" height=\"96\" hspace=\"10\"></img></a> **Issue by [hgouraud](https://github.com/hgouraud)**\n_Friday Jul 22, 2016 at 12:40 GMT_\n_Originally opened as https://github.com/geneweb/geneweb_tmp/issues/53_\n\n----\n\nMy page  calls a file.txt file with m=RSC;v=file command.\r\nfile.txt contains jquery calls, in particular\r\n```\r\n...\r\nspots:[\r\nsome text containing %sm=IMH other text\r\n] ...\r\n```\r\nIn this configuration, the text between square brackets is replaced by .......... (10 periods).\r\nExamination of translate.ml points to a translation behaviour.\r\nReplacing the above by\r\n```\r\n...\r\nspots:[some text containing %sm=IMH other text] \r\n...\r\n```\r\nhas the correct behaviour.\r\n\r\nIn the second case, I also observe that the %s macro is not processed!! (other instances of %s in file.txt are properly processed).\r\n\r\nAlthough the first problem can be resolved by avoiding placing a newline after the \"[\", the second problem (%s inside a bracketed text) is a serious limitation!! Macros should be processed before or after translation.\r\n\r\nHenri\r\n\r\n\r\n\n"}}
{"actor":{"display_login":"a2line"}}