{"action":"created","issue":{"url":"https://api.github.com/repos/michal-h21/tex4ebook/issues/24","repository_url":"https://api.github.com/repos/michal-h21/tex4ebook","labels_url":"https://api.github.com/repos/michal-h21/tex4ebook/issues/24/labels{/name}","comments_url":"https://api.github.com/repos/michal-h21/tex4ebook/issues/24/comments","events_url":"https://api.github.com/repos/michal-h21/tex4ebook/issues/24/events","html_url":"https://github.com/michal-h21/tex4ebook/issues/24","id":167184582,"number":24,"title":"Minor readability problem with \"mame lua\"","user":{"login":"JalapenoGremlin","id":2774475,"avatar_url":"https://avatars.githubusercontent.com/u/2774475?v=3","gravatar_id":"","url":"https://api.github.com/users/JalapenoGremlin","html_url":"https://github.com/JalapenoGremlin","followers_url":"https://api.github.com/users/JalapenoGremlin/followers","following_url":"https://api.github.com/users/JalapenoGremlin/following{/other_user}","gists_url":"https://api.github.com/users/JalapenoGremlin/gists{/gist_id}","starred_url":"https://api.github.com/users/JalapenoGremlin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JalapenoGremlin/subscriptions","organizations_url":"https://api.github.com/users/JalapenoGremlin/orgs","repos_url":"https://api.github.com/users/JalapenoGremlin/repos","events_url":"https://api.github.com/users/JalapenoGremlin/events{/privacy}","received_events_url":"https://api.github.com/users/JalapenoGremlin/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-07-23T13:36:31Z","updated_at":"2016-07-23T14:00:45Z","closed_at":null,"body":"When I ran tex4ebook I was very confused by the log line:\r\n    \"mame lua\"\r\n\r\n\r\nAt first I thought it was a misspelling of \"maim\":\r\n> verb (used with object)\r\n> 1. to deprive of the use of some part of the body by wounding or the like; cripple:\r\n> The explosion maimed him for life.\r\n> 2. to impair; make essentially defective:\r\n> The essay was maimed by deletion of important paragraphs.\r\n\r\nI had to read the code:\r\n```\r\nif args.lua then\r\n  print(\"Mame lua\")\r\n  latex_cmd=\"dvilualatex\"\r\nend\r\n```\r\nI then had to  and investigate a bit about the author , who I  I think,  is in the Czech Republic. Then use Google translate to find out that  \"mame\" is Czech (and Slovak) for \"We have.\"\r\n\r\nI have no objections to using natural languages other than English, but the rest of the code uses English.  \r\n\r\nI have never programmed Lua, so I do know know if Lua supports something similar to python's `gettext` and creating .po files for message translation.\r\n```python\r\nfrom gettext import gettext as _\r\n\r\n# Deepest apologies if this is incorrect. I just type 'This is a comment'\r\n# into Google translate\r\nprint _(\"Toto je komentář\")\r\n```\r\n\r\n---\r\nSo the long bug report for the simple question  :stuck_out_tongue_winking_eye:\r\n\r\nAm I correct in that the the print statement is stating the following?\r\n\r\n> The command tex4ebook has been called with the -lua argument\r\n\r\nor\r\n\r\n>  Lua specified, using dvilualatex.\r\n"},"comment":{"url":"https://api.github.com/repos/michal-h21/tex4ebook/issues/comments/234719729","html_url":"https://github.com/michal-h21/tex4ebook/issues/24#issuecomment-234719729","issue_url":"https://api.github.com/repos/michal-h21/tex4ebook/issues/24","id":234719729,"user":{"login":"michal-h21","id":504800,"avatar_url":"https://avatars.githubusercontent.com/u/504800?v=3","gravatar_id":"","url":"https://api.github.com/users/michal-h21","html_url":"https://github.com/michal-h21","followers_url":"https://api.github.com/users/michal-h21/followers","following_url":"https://api.github.com/users/michal-h21/following{/other_user}","gists_url":"https://api.github.com/users/michal-h21/gists{/gist_id}","starred_url":"https://api.github.com/users/michal-h21/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/michal-h21/subscriptions","organizations_url":"https://api.github.com/users/michal-h21/orgs","repos_url":"https://api.github.com/users/michal-h21/repos","events_url":"https://api.github.com/users/michal-h21/events{/privacy}","received_events_url":"https://api.github.com/users/michal-h21/received_events","type":"User","site_admin":false},"created_at":"2016-07-23T14:00:45Z","updated_at":"2016-07-23T14:00:45Z","body":"Thanks for the report, you are right this is Czech message stating \"We have Lua\", so nothing really useful. It is just some debugging message which isn't really useful anymore, so I've removed it."}}
{"actor":{"display_login":"michal-h21"}}