Initialize all static strings which are used in UI implementations.
00082 : '''Initialize all static strings which are used in UI implementations.''' self.string_handler = self._('Component') self.string_enabled = self._('Enabled') self.string_disabled = self._('Disabled') self.string_status = self._('Status') self.string_restart = self._('Needs computer restart') self.string_in_use = self._('In use') self.string_not_in_use = self._('Not in use') # this is used in --list to denote free/restricted drivers self.string_free = self._('free') # this is used in --list to denote free/restricted drivers self.string_restricted = self._('restricted') fw_append = self._('Your hardware will not work without the firmware.') self.string_free_aux_firmware = self._( 'The driver itself is already installed, but it requires a piece ' 'of firmware which is not shipped with the operating system.') + \ ' ' + fw_append self.string_nonfree_aux_firmware = self._( 'While this driver itself is free software, it relies on ' 'proprietary firmware which cannot be legally shipped with the ' 'operating system.') + ' ' + fw_append self.string_download_progress_title = self._('Download in progress') self.string_unknown_driver = self._('Unknown driver') def main_window_title(self):