{"action":"created","issue":{"url":"https://api.github.com/repos/ledgersmb/LedgerSMB/issues/2566","repository_url":"https://api.github.com/repos/ledgersmb/LedgerSMB","labels_url":"https://api.github.com/repos/ledgersmb/LedgerSMB/issues/2566/labels{/name}","comments_url":"https://api.github.com/repos/ledgersmb/LedgerSMB/issues/2566/comments","events_url":"https://api.github.com/repos/ledgersmb/LedgerSMB/issues/2566/events","html_url":"https://github.com/ledgersmb/LedgerSMB/issues/2566","id":202304992,"number":2566,"title":"localization of error messages in \"libraries\" considered harmful","user":{"login":"einhverfr","id":341143,"avatar_url":"https://avatars.githubusercontent.com/u/341143?v=3","gravatar_id":"","url":"https://api.github.com/users/einhverfr","html_url":"https://github.com/einhverfr","followers_url":"https://api.github.com/users/einhverfr/followers","following_url":"https://api.github.com/users/einhverfr/following{/other_user}","gists_url":"https://api.github.com/users/einhverfr/gists{/gist_id}","starred_url":"https://api.github.com/users/einhverfr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/einhverfr/subscriptions","organizations_url":"https://api.github.com/users/einhverfr/orgs","repos_url":"https://api.github.com/users/einhverfr/repos","events_url":"https://api.github.com/users/einhverfr/events{/privacy}","received_events_url":"https://api.github.com/users/einhverfr/received_events","type":"User","site_admin":false},"labels":[{"id":90422633,"url":"https://api.github.com/repos/ledgersmb/LedgerSMB/labels/bug:other","name":"bug:other","color":"eb6420","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2017-01-21T09:26:55Z","updated_at":"2017-01-21T10:11:09Z","closed_at":null,"body":"In throwing together a quick Dancer-based web service gateway, one of the big problems is that we localize error messages in GL.pm and other library PMs.  This means you cannot really use these libraries without a pretty heavy instantiation of the whole framework and that usually means working from the lsmb directory.\r\n\r\nWe should rip out $locale->text() calls and use warn/die instead with exception handing (and localize there)."},"comment":{"url":"https://api.github.com/repos/ledgersmb/LedgerSMB/issues/comments/274252439","html_url":"https://github.com/ledgersmb/LedgerSMB/issues/2566#issuecomment-274252439","issue_url":"https://api.github.com/repos/ledgersmb/LedgerSMB/issues/2566","id":274252439,"user":{"login":"ehuelsmann","id":2326559,"avatar_url":"https://avatars.githubusercontent.com/u/2326559?v=3","gravatar_id":"","url":"https://api.github.com/users/ehuelsmann","html_url":"https://github.com/ehuelsmann","followers_url":"https://api.github.com/users/ehuelsmann/followers","following_url":"https://api.github.com/users/ehuelsmann/following{/other_user}","gists_url":"https://api.github.com/users/ehuelsmann/gists{/gist_id}","starred_url":"https://api.github.com/users/ehuelsmann/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ehuelsmann/subscriptions","organizations_url":"https://api.github.com/users/ehuelsmann/orgs","repos_url":"https://api.github.com/users/ehuelsmann/repos","events_url":"https://api.github.com/users/ehuelsmann/events{/privacy}","received_events_url":"https://api.github.com/users/ehuelsmann/received_events","type":"User","site_admin":false},"created_at":"2017-01-21T10:11:09Z","updated_at":"2017-01-21T10:11:09Z","body":"For reference, what problems are the translated messages causing you in particular at this point?"}}
{"actor":{"display_login":"ehuelsmann"}}