[anaconda][master/f21-branch][v3][PATCH 0/2] Help for every screen

Martin Kolman mkolman at redhat.com
Tue Sep 16 15:09:49 UTC 2014


Based on your feedback, tweaked and meticulously tested, Help patch V3 is here!

Changes from V2:
* unified function for grabbing the best help file
- gets a folder and help file name
- lists all folders that have the requested help file and
  returns the best match for current $LANG with fallback
  to DEFAULT_LANGUAGE
- if a localized Installation Guide is missing a file,
  the path to the English version of the file will be returned
* the same function is now used for grabbing both localized
  installation guide files and placeholders
* failure to find the help files is now logged for easier
  debugging of missing help content
* there are now also RHEL7 placeholders
* the placeholders are now translatable
- I hope I got the Autotools magic for placing the placeholders right :P
- they share the same folder with the installation guide
  (/user/share/doc/anaconda/<lang code>/
- if any translated placeholders in the given language are found,
  they will be used
- for now there is just the en-US variant, which should be usable
  as a translation "master"
- the actual Transifex bits & makefile support for including the translated
  placeholders in the release archive are not part of this patch set


Martin Kolman (2):
  Add a help button to every Anaconda screen
  Specify help file names for hubs and spokes

 anaconda.spec.in                                |   1 +
 data/help/Makefile.am                           |  20 ++++
 data/help/en-US/FedoraPlaceholder.html          |   5 +
 data/help/en-US/FedoraPlaceholderWithLinks.html |  13 +++
 data/help/en-US/Makefile.am                     |  23 ++++
 data/help/en-US/RHEL7Placeholder.html           |   5 +
 data/help/en-US/RHEL7PlaceholderWithLinks.html  |  11 ++
 pyanaconda/ihelp.py                             | 143 ++++++++++++++++++++++++
 pyanaconda/installclass.py                      |   6 +
 pyanaconda/installclasses/fedora.py             |   3 +
 pyanaconda/installclasses/rhel.py               |   3 +
 pyanaconda/ui/gui/__init__.py                   |  12 ++
 pyanaconda/ui/gui/hubs/progress.py              |   1 +
 pyanaconda/ui/gui/hubs/summary.py               |   1 +
 pyanaconda/ui/gui/spokes/__init__.py            |   9 ++
 pyanaconda/ui/gui/spokes/custom.py              |   1 +
 pyanaconda/ui/gui/spokes/datetime_spoke.py      |   1 +
 pyanaconda/ui/gui/spokes/filter.py              |   1 +
 pyanaconda/ui/gui/spokes/keyboard.py            |   1 +
 pyanaconda/ui/gui/spokes/langsupport.py         |   1 +
 pyanaconda/ui/gui/spokes/network.py             |   1 +
 pyanaconda/ui/gui/spokes/password.py            |   1 +
 pyanaconda/ui/gui/spokes/software.py            |   1 +
 pyanaconda/ui/gui/spokes/source.py              |   1 +
 pyanaconda/ui/gui/spokes/storage.py             |   1 +
 pyanaconda/ui/gui/spokes/user.py                |   1 +
 pyanaconda/ui/gui/spokes/welcome.py             |   1 +
 widgets/configure.ac                            |   2 +-
 widgets/glade/AnacondaWidgets.xml               |   9 +-
 widgets/src/BaseWindow.c                        |  48 ++++++++
 widgets/src/BaseWindow.h                        |   3 +
 widgets/src/Makefile.am                         |   2 +-
 32 files changed, 328 insertions(+), 4 deletions(-)
 create mode 100644 data/help/Makefile.am
 create mode 100644 data/help/en-US/FedoraPlaceholder.html
 create mode 100644 data/help/en-US/FedoraPlaceholderWithLinks.html
 create mode 100644 data/help/en-US/Makefile.am
 create mode 100644 data/help/en-US/RHEL7Placeholder.html
 create mode 100644 data/help/en-US/RHEL7PlaceholderWithLinks.html
 create mode 100644 pyanaconda/ihelp.py

-- 
1.9.3



More information about the anaconda-patches mailing list