{"action":"opened","issue":{"url":"https://api.github.com/repos/nvaccess/nvda/issues/6140","repository_url":"https://api.github.com/repos/nvaccess/nvda","labels_url":"https://api.github.com/repos/nvaccess/nvda/issues/6140/labels{/name}","comments_url":"https://api.github.com/repos/nvaccess/nvda/issues/6140/comments","events_url":"https://api.github.com/repos/nvaccess/nvda/issues/6140/events","html_url":"https://github.com/nvaccess/nvda/issues/6140","id":163772065,"number":6140,"title":"Braille/Liblouis 3: provide a way to detect and change table names if old tables are no longer included","user":{"login":"josephsl","id":7867280,"avatar_url":"https://avatars.githubusercontent.com/u/7867280?v=3","gravatar_id":"","url":"https://api.github.com/users/josephsl","html_url":"https://github.com/josephsl","followers_url":"https://api.github.com/users/josephsl/followers","following_url":"https://api.github.com/users/josephsl/following{/other_user}","gists_url":"https://api.github.com/users/josephsl/gists{/gist_id}","starred_url":"https://api.github.com/users/josephsl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/josephsl/subscriptions","organizations_url":"https://api.github.com/users/josephsl/orgs","repos_url":"https://api.github.com/users/josephsl/repos","events_url":"https://api.github.com/users/josephsl/events{/privacy}","received_events_url":"https://api.github.com/users/josephsl/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-07-05T05:01:10Z","updated_at":"2016-07-05T05:01:10Z","closed_at":null,"body":"Hi,\r\nPart of #6109:\r\n\r\nAs noted in the following LibLouis issue:\r\nhttps://github.com/liblouis/liblouis/issues/182\r\n\r\nThere might be instances where NVDA's own tables tuple may refer to deleted tables. If this happens, the following may result:\r\n\r\n1. Braille Settings: no table seems to be selected. This is a minor thing (for about 99 percent of tables, table names are the same).\r\n2. Runtime translation issues are noted due to the fact that some tables rely on other tables.\r\n\r\nThus it would be handy to provide the following migration strategy:\r\n\r\n1. Add config checker in braille.initialize that reads in config.conf[\"braille\"][\"*Table\"] key.\r\n2. Based on the name of the file it read, look up a dictionary which tells NVDA the new filename for the given table.\r\n3. Replace the old name with the new name.\r\n\r\nPotential problems:\r\n\r\n* What if no replacements are provided? In this case, tell users to specify the new table from braille settings.\r\n* Do we know which tables are gone or renamed? We need to wait until LibLouis 3 beta comes out before proceeding.\r\n\r\nThe needed change(s) will be committed as part of #6109 branch (#6110 for PR). Comments are appreciated. Thanks.\r\n"}}
{"actor":{"display_login":"josephsl"}}