2018-01-13 | Paul Boddie | raw annotate files changeset graph | Adjusted the logic around counter-proposals, replacing the "retained modified" group of periods with a "newly-replaced" group, because all retained periods should be unmodified, whereas previously-retained periods become classified as replaced when modified. | client-editing-simplification |
1 #!/bin/sh 2 3 DIRNAME=`dirname $0` 4 5 BASEDIR="$DIRNAME/../.." 6 PROFILE="$BASEDIR/imipweb/profile.py" 7 8 # Match the prefs_table and swap the columns for a table. 9 10 echo "|| '''Label''' || '''Setting''' ||" 11 12 grep '^ \+("' "$PROFILE" \ 13 | sed 's/^ \+("\(.*\)".*, \+_("\(.*\)")),$/|| \2 || [[..\/Preferences#\1|\1]] ||/' 14 15 # Convert from... to... 16 # ("setting" , _("label")), 17 # || label || [[../Preferences#setting|setting]] ||