{"action":"created","issue":{"url":"https://api.github.com/repos/HabitRPG/habitrpg/issues/6966","repository_url":"https://api.github.com/repos/HabitRPG/habitrpg","labels_url":"https://api.github.com/repos/HabitRPG/habitrpg/issues/6966/labels{/name}","comments_url":"https://api.github.com/repos/HabitRPG/habitrpg/issues/6966/comments","events_url":"https://api.github.com/repos/HabitRPG/habitrpg/issues/6966/events","html_url":"https://github.com/HabitRPG/habitrpg/issues/6966","id":143695826,"number":6966,"title":"Make links to wikia translatable","user":{"login":"GitHubSphinx","id":6691162,"avatar_url":"https://avatars.githubusercontent.com/u/6691162?v=3","gravatar_id":"","url":"https://api.github.com/users/GitHubSphinx","html_url":"https://github.com/GitHubSphinx","followers_url":"https://api.github.com/users/GitHubSphinx/followers","following_url":"https://api.github.com/users/GitHubSphinx/following{/other_user}","gists_url":"https://api.github.com/users/GitHubSphinx/gists{/gist_id}","starred_url":"https://api.github.com/users/GitHubSphinx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GitHubSphinx/subscriptions","organizations_url":"https://api.github.com/users/GitHubSphinx/orgs","repos_url":"https://api.github.com/users/GitHubSphinx/repos","events_url":"https://api.github.com/users/GitHubSphinx/events{/privacy}","received_events_url":"https://api.github.com/users/GitHubSphinx/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/HabitRPG/habitrpg/labels/entry%20level%20coding","name":"entry level coding","color":"ededed"},{"url":"https://api.github.com/repos/HabitRPG/habitrpg/labels/help%20welcome%20now","name":"help welcome now","color":"bfd4f2"},{"url":"https://api.github.com/repos/HabitRPG/habitrpg/labels/priority%20-%20minor","name":"priority - minor","color":"DDDDDD"},{"url":"https://api.github.com/repos/HabitRPG/habitrpg/labels/translations","name":"translations","color":"5319e7"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":12,"created_at":"2016-03-26T12:00:52Z","updated_at":"2016-04-07T21:53:31Z","closed_at":null,"body":"Raised by @Demoinho on Transifex regarding the string `spellsText`\r\n\r\n> \"You can now unlock class-specific spells. You'll see your first at level 11. Your mana replenishes 10 points per day, plus 1 point per completed\"\r\n\r\n> Can this string be changed to have the complete sentence? In some languages, you won't say it like \"completed task\" but like \"task completed\".\r\n\r\nThe thing is https://github.com/HabitRPG/habitrpg/blob/develop/website/public/js/services/guideServices.js#L85 like a few other occurrences use the following pattern:\r\n`<Beginning of the sentence> <link to wiki> <ending if any>`\r\nwhich makes such lines sometimes tricky to translate.\r\n\r\n##### We may want to have the lines with links to wikia translatable in one piece.\r\n\r\n##### Notes\r\n- Some links and references to previous discussions on having links to wikia translatable can be found in https://github.com/HabitRPG/habitrpg/issues/5202 - as well as the practices of making lines with links translatable\r\n- Having all the links to wikia translatable is good for consistency reasons\r\n- As of now translatable links have instructions on Transifex: \"String can link a translated article on a particular language wiki (e.g. on FR.habitica.wikia.com for French) but please first double-check that the wiki exists in your language and the linked page (a) exists (b) has enough info (c) looks nice\"\r\n- There's an ongoing discussion in the Wizards of the Wiki about the best possible way to notify a user seeing a translated wiki page that they could also check the original English page\r\n- This ticket is about lines having links to wikia, and *not* about other split up strings or strings with other links\r\n- Currently I'm not able to work on this myself, unfortunately, so anyone can feel free to take it\r\n\r\n##### Suggestions\r\n- Identify the lines in question\r\n- Change strings in json files to include the links in html\r\n- Change the way the strings are used to enable html (and reflect the changes in the strings)\r\n- Make sure no visual changes are introduced\r\n\r\n[priority - minor] [entry level coding] [translations]"},"comment":{"url":"https://api.github.com/repos/HabitRPG/habitrpg/issues/comments/207105853","html_url":"https://github.com/HabitRPG/habitrpg/issues/6966#issuecomment-207105853","issue_url":"https://api.github.com/repos/HabitRPG/habitrpg/issues/6966","id":207105853,"user":{"login":"MathWhiz","id":12386291,"avatar_url":"https://avatars.githubusercontent.com/u/12386291?v=3","gravatar_id":"","url":"https://api.github.com/users/MathWhiz","html_url":"https://github.com/MathWhiz","followers_url":"https://api.github.com/users/MathWhiz/followers","following_url":"https://api.github.com/users/MathWhiz/following{/other_user}","gists_url":"https://api.github.com/users/MathWhiz/gists{/gist_id}","starred_url":"https://api.github.com/users/MathWhiz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MathWhiz/subscriptions","organizations_url":"https://api.github.com/users/MathWhiz/orgs","repos_url":"https://api.github.com/users/MathWhiz/repos","events_url":"https://api.github.com/users/MathWhiz/events{/privacy}","received_events_url":"https://api.github.com/users/MathWhiz/received_events","type":"User","site_admin":false},"created_at":"2016-04-07T21:53:31Z","updated_at":"2016-04-07T21:53:31Z","body":"@GitHubSphinx @crookedneighbor @Alys In /website/views/options/social/tavern.jade, `env.t(FAQ)` links to http://habitica.wikia.com/wiki/FAQ, and everywhere else it links to https://habitica.com/static/faq/. Would it be possible if I just change the link in the tavern to /static/faq/? Then it would just be one change."}}