{"action":"created","issue":{"url":"https://api.github.com/repos/Dolibarr/dolibarr/issues/2741","labels_url":"https://api.github.com/repos/Dolibarr/dolibarr/issues/2741/labels{/name}","comments_url":"https://api.github.com/repos/Dolibarr/dolibarr/issues/2741/comments","events_url":"https://api.github.com/repos/Dolibarr/dolibarr/issues/2741/events","html_url":"https://github.com/Dolibarr/dolibarr/issues/2741","id":72359082,"number":2741,"title":"New module Expense Report - Email is not translated","user":{"login":"aspangaro","id":2341395,"avatar_url":"https://avatars.githubusercontent.com/u/2341395?v=3","gravatar_id":"","url":"https://api.github.com/users/aspangaro","html_url":"https://github.com/aspangaro","followers_url":"https://api.github.com/users/aspangaro/followers","following_url":"https://api.github.com/users/aspangaro/following{/other_user}","gists_url":"https://api.github.com/users/aspangaro/gists{/gist_id}","starred_url":"https://api.github.com/users/aspangaro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aspangaro/subscriptions","organizations_url":"https://api.github.com/users/aspangaro/orgs","repos_url":"https://api.github.com/users/aspangaro/repos","events_url":"https://api.github.com/users/aspangaro/events{/privacy}","received_events_url":"https://api.github.com/users/aspangaro/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Dolibarr/dolibarr/labels/Bug","name":"Bug","color":"000000"},{"url":"https://api.github.com/repos/Dolibarr/dolibarr/labels/Medium","name":"Medium","color":"fbca04"},{"url":"https://api.github.com/repos/Dolibarr/dolibarr/labels/version%20develop","name":"version develop","color":"e7eef8"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/Dolibarr/dolibarr/milestones/3","html_url":"https://github.com/Dolibarr/dolibarr/milestones/3.8.0","labels_url":"https://api.github.com/repos/Dolibarr/dolibarr/milestones/3/labels","id":1040977,"number":3,"title":"3.8.0","description":"","creator":{"login":"eldy","id":883887,"avatar_url":"https://avatars.githubusercontent.com/u/883887?v=3","gravatar_id":"","url":"https://api.github.com/users/eldy","html_url":"https://github.com/eldy","followers_url":"https://api.github.com/users/eldy/followers","following_url":"https://api.github.com/users/eldy/following{/other_user}","gists_url":"https://api.github.com/users/eldy/gists{/gist_id}","starred_url":"https://api.github.com/users/eldy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eldy/subscriptions","organizations_url":"https://api.github.com/users/eldy/orgs","repos_url":"https://api.github.com/users/eldy/repos","events_url":"https://api.github.com/users/eldy/events{/privacy}","received_events_url":"https://api.github.com/users/eldy/received_events","type":"User","site_admin":false},"open_issues":4,"closed_issues":3,"state":"open","created_at":"2015-03-27T01:05:29Z","updated_at":"2015-05-04T07:24:22Z","due_on":"2015-05-14T22:00:00Z","closed_at":null},"comments":1,"created_at":"2015-05-01T05:28:06Z","updated_at":"2015-05-05T14:44:25Z","closed_at":null,"body":"In the new module Expense Report (Dolibarr Develop), email is not translated. Still in French language.\r\n\r\nIt is hard-coded here : /expensereport/card.php\r\n\r\nExample :\r\n\t\t\t\r\n// SUBJECT\r\n$subject = \"' ERP - Note de frais validée\";\r\n\r\n// CONTENT\r\n$message = \"Bonjour {$destinataire->firstname},\\n\\n\";\r\n$message.= \"Votre note de frais \\\"{$object->ref}\\\" vient d'être approuvé!\\n\";\r\n$message.= \"- Approbateur : {$expediteur->firstname} {$expediteur->lastname}\\n\";\r\n$message.= \"- Lien : {$dolibarr_main_url_root}/expensereport/card.php?id={$object->id}\\n\\n\";\r\n$message.= \"Bien cordialement,\\n' SI\";"},"comment":{"url":"https://api.github.com/repos/Dolibarr/dolibarr/issues/comments/99100754","html_url":"https://github.com/Dolibarr/dolibarr/issues/2741#issuecomment-99100754","issue_url":"https://api.github.com/repos/Dolibarr/dolibarr/issues/2741","id":99100754,"user":{"login":"rdoursenaud","id":1210367,"avatar_url":"https://avatars.githubusercontent.com/u/1210367?v=3","gravatar_id":"","url":"https://api.github.com/users/rdoursenaud","html_url":"https://github.com/rdoursenaud","followers_url":"https://api.github.com/users/rdoursenaud/followers","following_url":"https://api.github.com/users/rdoursenaud/following{/other_user}","gists_url":"https://api.github.com/users/rdoursenaud/gists{/gist_id}","starred_url":"https://api.github.com/users/rdoursenaud/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rdoursenaud/subscriptions","organizations_url":"https://api.github.com/users/rdoursenaud/orgs","repos_url":"https://api.github.com/users/rdoursenaud/repos","events_url":"https://api.github.com/users/rdoursenaud/events{/privacy}","received_events_url":"https://api.github.com/users/rdoursenaud/received_events","type":"User","site_admin":false},"created_at":"2015-05-05T14:44:25Z","updated_at":"2015-05-05T14:44:25Z","body":"Fixing this bug might be a good time to leverage the new email templating system IMHO."}}