docs: def get_string(self, stringid):
          '''Returns the localized string from strings.xml for the given
          stringid.
          '''
          stringid = int(stringid)
          if not hasattr(self, '_strings'):
              self._strings = {}
          if not stringid in self._strings:
              self._strings[stringid] = self.addon.getLocalizedString(stringid)
          return self._strings[stringid]