[PATCH 0/3] Fix the handling of format strings and glade

David Shea dshea at redhat.com
Mon Feb 17 18:52:03 UTC 2014


I happened to click on Bulgarian on the welcome screen, and the installer
crashed because of a format string problem. This ensures that it never happens
again.

Wiki change (and a fix to the Bulgarian translation) forthcoming

David Shea (3):
  Use a single script to run the glade tests.
  Added a check for translatable format strings in glade.
  Move translatable format strings into python.

 pyanaconda/ui/gui/hubs/progress.glade              |  4 +-
 pyanaconda/ui/gui/hubs/progress.py                 |  7 +-
 pyanaconda/ui/gui/spokes/welcome.glade             |  2 +-
 pyanaconda/ui/gui/spokes/welcome.py                |  8 +--
 tests/Makefile.am                                  | 13 ++--
 tests/glade/accelerators/run_check_accelerators.sh | 23 -------
 tests/glade/format_string/check_format_string.py   | 78 ++++++++++++++++++++++
 tests/glade/markup/run_check_markup.sh             | 21 ------
 tests/glade/pw_visibility/check_pw_visibility.py   | 17 +++--
 .../glade/pw_visibility/run_check_pw_visibility.sh |  6 --
 tests/glade/run_glade_tests.sh                     | 30 +++++++++
 tests/glade/validity/check_glade_validity.py       | 15 ++++-
 tests/glade/validity/run_check_glade_validity.sh   | 10 ---
 13 files changed, 149 insertions(+), 85 deletions(-)
 delete mode 100755 tests/glade/accelerators/run_check_accelerators.sh
 create mode 100755 tests/glade/format_string/check_format_string.py
 delete mode 100755 tests/glade/markup/run_check_markup.sh
 delete mode 100755 tests/glade/pw_visibility/run_check_pw_visibility.sh
 create mode 100755 tests/glade/run_glade_tests.sh
 delete mode 100755 tests/glade/validity/run_check_glade_validity.sh

-- 
1.8.5.3



More information about the anaconda-patches mailing list