Package pyanaconda :: Package textw :: Module constants_text
[hide private]
[frames] | no frames]

Module constants_text

source code

Classes [hide private]
  Translator
A simple class to facilitate on-the-fly translation for newt buttons
Variables [hide private]
  _ = lambda x:
  INSTALL_OK = 0
  INSTALL_BACK = -1
  INSTALL_NOOP = -2
  TEXT_OK_STR = N_("OK")
  TEXT_OK_CHECK = "ok"
  TEXT_OK_BUTTON = Translator(TEXT_OK_STR, TEXT_OK_CHECK)
  TEXT_CANCEL_STR = N_("Cancel")
  TEXT_CANCEL_CHECK = "cancel"
  TEXT_CANCEL_BUTTON = Translator(TEXT_CANCEL_STR, TEXT_CANCEL_C...
  TEXT_BACK_STR = N_("Back")
  TEXT_BACK_CHECK = "back"
  TEXT_BACK_BUTTON = Translator(TEXT_BACK_STR, TEXT_BACK_CHECK)
  TEXT_YES_STR = N_("Yes")
  TEXT_YES_CHECK = "yes"
  TEXT_YES_BUTTON = Translator(TEXT_YES_STR, TEXT_YES_CHECK)
  TEXT_NO_STR = N_("No")
  TEXT_NO_CHECK = "no"
  TEXT_NO_BUTTON = Translator(TEXT_NO_STR, TEXT_NO_CHECK)
  TEXT_EDIT_STR = N_("Edit")
  TEXT_EDIT_CHECK = "edit"
  TEXT_EDIT_BUTTON = Translator(TEXT_EDIT_STR, TEXT_EDIT_CHECK)
  TEXT_RETRY_STR = N_("Retry")
  TEXT_RETRY_CHECK = "retry"
  TEXT_RETRY_BUTTON = Translator(TEXT_RETRY_STR, TEXT_RETRY_CHECK)
  TEXT_F12_CHECK = "F12"
  TEXT_REINITIALIZE = _("""This storage device may contain da...
  TEXT_REINITIALIZE_ALL = _("Apply my choice to all devices with...
Variables Details [hide private]

TEXT_CANCEL_BUTTON

Value:
Translator(TEXT_CANCEL_STR, TEXT_CANCEL_CHECK)

TEXT_REINITIALIZE

Value:
_("""This storage device may contain data:

%(description)s, %(size)s MB, %(devicePath)s

We could not detect partitions or filesystems on this device. This cou\
ld be \
because the device is blank, unpartitioned, or virtual. If not, there \
may be \
...

TEXT_REINITIALIZE_ALL

Value:
_("Apply my choice to all devices with undetected partitions.")