Moved several hard-coded UI strings to strings.xml

I noticed some strings were not localised when my phone was set to French, and then realised that these strings were actually hard-coded. So I moved them all to strings.xml, which also required some minor code changes to get the context in scope, in order to fetch the string in some cases.