1
1
mirror of https://github.com/tstellar/bygfoot.git synced 2025-02-21 22:07:39 +01:00

"Update script improvements."

This commit is contained in:
gyboth 2005-09-07 07:13:38 +00:00
parent 9d25dbc33e
commit 229d2d8ca6
6 changed files with 372 additions and 258 deletions

File diff suppressed because one or more lines are too long

View File

@ -353,22 +353,99 @@ function read_input()
my_echo
}
# get team definitions
function get_team_defs()
{
if [ ! -d definitions/teams ]; then
mkdir definitions/teams
fi
pushd definitions/teams &> /dev/null
rm -vf team_defs 2>> $log_file | tee -a $log_file
my_wget http://bygfoot.sourceforge.net/revisions/team_defs
while read key value; do
if [ ! -z $key ]; then
if [ $key = "end_section" ]; then
file_name=$(echo $uri | sed "s/.*\(team_.*bz2\)/\1/g" | sed "s/\.bz2//g")
def_name=$(echo $file_name | sed "s/team_//g" | sed "s/\..*//g")
if [ -e $file_name.xml ]; then
mv $file_name.xml $file_name.xml.old
fi
if [ -e $file_name.png ]; then
mv $file_name.png $file_name.png.old
fi
my_wget $uri
tar xfj $file_name.bz2
# echo "+++ uri +$uri+ file +$file_name+"
# echo
# echo "uri $uri file $file_name nam +$team_name1+ +$team_name2+ cou $country def $def_name"
# echo
# read a
if [ -d ../$country ]; then
pushd ../$country &> /dev/null
for league in league*xml; do
for team in "$team_name1" "$team_name2"; do
if grep "<team_name>$team</team_name>" $league &> /dev/null; then
cp -f $league $league.bak
my_echo " + Adding $team to $league..."
perl -0777 -pe "s+(team_name\>$team\</team_name\>)[\n\t ]*\<def_file\>[^\<]*\</def_file\>[\n\t ]*+\1\n+g" $league.bak | perl -0777 -pe "s+(\<team_name\>$team\</team_name\>)+\1\n\t\<def_file\>$def_name\</def_file>+g" > $league
fi
done
done
popd &> /dev/null
else
my_echo "Country directory $country not found."
fi
team_name1=
team_name2=
uri=
country=
else
case $key in
uri) uri=$value ;;
team_name1) team_name1="$value" ;;
team_name2) team_name2="$value" ;;
country) country=$value ;;
esac
fi
fi
done < team_defs
rm -vf team_defs 2>> $log_file | tee -a $log_file
popd &> /dev/null
}
# get country files with official team names
function get_country_files()
{
if [ $use_zenity -eq 1 ]; then
my_zenity --title="Bygfoot Online Update" --info \
--info-text="If you use the binary version of Bygfoot, the team names and definitions won't work unless you remove the 'support_files/definitons' directory from the Bygfoot directory (containing the executable)."
else
dialog --title "Bygfoot Online Update" --msgbox "If you use the binary version of Bygfoot, the team names and definitions won't work unless you remove the 'support_files/definitons' directory from the Bygfoot directory (containing the executable)." \
22 80 2> $input_file
fi
my_echo
my_echo "** b-u: Fetching official team names and"
my_echo "** b-u: team definitions files."
pushd $countrydir &>/dev/null
my_wget http://bygfoot.sourceforge.net/revisions/official_names
my_wget http://bygfoot.sourceforge.net/revisions/official_names
while read -d : oldname && read newname
do
if [ "$oldname" == "League" ]; then
DIRNAME=$newname
my_echo "Patching $DIRNAME..."
my_echo " + Adding official names to $DIRNAME..."
else
oldname="${oldname## }"
newname="${newname%% }"
@ -379,7 +456,9 @@ function get_country_files()
rm -vf official_names 2>> $log_file | tee -a $log_file
popd
get_team_defs
popd &> /dev/null
my_echo "** b-u: done."
my_exit $EXITCOUNTRY
@ -402,7 +481,7 @@ function get_paths()
read_input
pushd $tempvar; packdir=$PWD; popd
pushd $tempvar &> /dev/null; packdir=$PWD; popd &> /dev/null
else
packdir=$PWD
fi
@ -457,7 +536,7 @@ function get_paths()
read_input
if [ ! -z $tempvar ]; then
pushd $tempvar; countrydir=$PWD; popd
pushd $tempvar &> /dev/null; countrydir=$PWD; popd &> /dev/null
else
countrydir=$HOME/.bygfoot/text_files
fi

View File

@ -68,7 +68,7 @@
<accelerator key="l" modifiers="GDK_CONTROL_MASK | GDK_SHIFT_MASK" signal="activate"/>
<child internal-child="image">
<widget class="GtkImage" id="image1872">
<widget class="GtkImage" id="image1909">
<property name="visible">True</property>
<property name="stock">gtk-revert-to-saved</property>
<property name="icon_size">1</property>
@ -136,7 +136,7 @@
<accelerator key="p" modifiers="GDK_CONTROL_MASK" signal="activate"/>
<child internal-child="image">
<widget class="GtkImage" id="image1873">
<widget class="GtkImage" id="image1910">
<property name="visible">True</property>
<property name="stock">gtk-preferences</property>
<property name="icon_size">1</property>
@ -207,7 +207,7 @@
<accelerator key="F3" modifiers="0" signal="activate"/>
<child internal-child="image">
<widget class="GtkImage" id="image1874">
<widget class="GtkImage" id="image1911">
<property name="visible">True</property>
<property name="pixbuf">menu_fixtures.png</property>
<property name="xalign">0.5</property>
@ -228,7 +228,7 @@
<accelerator key="F4" modifiers="0" signal="activate"/>
<child internal-child="image">
<widget class="GtkImage" id="image1875">
<widget class="GtkImage" id="image1912">
<property name="visible">True</property>
<property name="pixbuf">menu_fixtures_comp.png</property>
<property name="xalign">0.5</property>
@ -249,7 +249,7 @@
<accelerator key="F5" modifiers="0" signal="activate"/>
<child internal-child="image">
<widget class="GtkImage" id="image1876">
<widget class="GtkImage" id="image1913">
<property name="visible">True</property>
<property name="pixbuf">menu_table.png</property>
<property name="xalign">0.5</property>
@ -270,7 +270,7 @@
<accelerator key="F6" modifiers="0" signal="activate"/>
<child internal-child="image">
<widget class="GtkImage" id="image1877">
<widget class="GtkImage" id="image1914">
<property name="visible">True</property>
<property name="pixbuf">menu_league_results.png</property>
<property name="xalign">0.5</property>
@ -297,7 +297,7 @@
<accelerator key="s" modifiers="0" signal="activate"/>
<child internal-child="image">
<widget class="GtkImage" id="image1878">
<widget class="GtkImage" id="image1915">
<property name="visible">True</property>
<property name="pixbuf">menu_league_stats.png</property>
<property name="xalign">0.5</property>
@ -318,7 +318,7 @@
<accelerator key="h" modifiers="0" signal="activate"/>
<child internal-child="image">
<widget class="GtkImage" id="image1879">
<widget class="GtkImage" id="image1916">
<property name="visible">True</property>
<property name="pixbuf">menu_history.png</property>
<property name="xalign">0.5</property>
@ -350,7 +350,7 @@
<property name="use_underline">True</property>
<child internal-child="image">
<widget class="GtkImage" id="image1880">
<widget class="GtkImage" id="image1917">
<property name="visible">True</property>
<property name="pixbuf">menu_style.png</property>
<property name="xalign">0.5</property>
@ -428,7 +428,7 @@
<property name="use_underline">True</property>
<child internal-child="image">
<widget class="GtkImage" id="image1881">
<widget class="GtkImage" id="image1918">
<property name="visible">True</property>
<property name="pixbuf">menu_scout.png</property>
<property name="xalign">0.5</property>
@ -495,7 +495,7 @@
<property name="use_underline">True</property>
<child internal-child="image">
<widget class="GtkImage" id="image1882">
<widget class="GtkImage" id="image1919">
<property name="visible">True</property>
<property name="pixbuf">menu_physio.png</property>
<property name="xalign">0.5</property>
@ -562,7 +562,7 @@
<property name="use_underline">True</property>
<child internal-child="image">
<widget class="GtkImage" id="image1883">
<widget class="GtkImage" id="image1920">
<property name="visible">True</property>
<property name="pixbuf">menu_youth_academy.png</property>
<property name="xalign">0.5</property>
@ -729,7 +729,7 @@
<property name="use_underline">True</property>
<child internal-child="image">
<widget class="GtkImage" id="image1884">
<widget class="GtkImage" id="image1921">
<property name="visible">True</property>
<property name="pixbuf">menu_boost.png</property>
<property name="xalign">0.5</property>
@ -792,7 +792,7 @@
<signal name="activate" handler="on_menu_reset_players_activate" last_modification_time="Tue, 26 Apr 2005 13:16:39 GMT"/>
<child internal-child="image">
<widget class="GtkImage" id="image1885">
<widget class="GtkImage" id="image1922">
<property name="visible">True</property>
<property name="stock">gtk-undo</property>
<property name="icon_size">1</property>
@ -813,7 +813,7 @@
<signal name="activate" handler="on_menu_custom_structure_activate" last_modification_time="Sat, 26 Feb 2005 12:46:30 GMT"/>
<child internal-child="image">
<widget class="GtkImage" id="image1886">
<widget class="GtkImage" id="image1923">
<property name="visible">True</property>
<property name="pixbuf">menu_structure.png</property>
<property name="xalign">0.5</property>
@ -835,7 +835,7 @@
<accelerator key="r" modifiers="GDK_CONTROL_MASK" signal="activate"/>
<child internal-child="image">
<widget class="GtkImage" id="image1887">
<widget class="GtkImage" id="image1924">
<property name="visible">True</property>
<property name="pixbuf">menu_rearrange.png</property>
<property name="xalign">0.5</property>
@ -861,7 +861,7 @@
<signal name="activate" handler="on_menu_browse_teams_activate" last_modification_time="Mon, 03 Jan 2005 16:58:58 GMT"/>
<child internal-child="image">
<widget class="GtkImage" id="image1888">
<widget class="GtkImage" id="image1925">
<property name="visible">True</property>
<property name="pixbuf">menu_browse_tms.png</property>
<property name="xalign">0.5</property>
@ -894,7 +894,7 @@
<signal name="activate" handler="on_menu_show_info_activate" last_modification_time="Sun, 02 Jan 2005 15:42:09 GMT"/>
<child internal-child="image">
<widget class="GtkImage" id="image1889">
<widget class="GtkImage" id="image1926">
<property name="visible">True</property>
<property name="pixbuf">menu_player_info.png</property>
<property name="xalign">0.5</property>
@ -914,7 +914,7 @@
<signal name="activate" handler="on_menu_put_on_transfer_list_activate" last_modification_time="Sun, 02 Jan 2005 15:42:09 GMT"/>
<child internal-child="image">
<widget class="GtkImage" id="image1890">
<widget class="GtkImage" id="image1927">
<property name="visible">True</property>
<property name="pixbuf">menu_player_put_transfer.png</property>
<property name="xalign">0.5</property>
@ -934,7 +934,7 @@
<signal name="activate" handler="on_menu_remove_from_transfer_list_activate" last_modification_time="Sun, 02 Jan 2005 15:42:09 GMT"/>
<child internal-child="image">
<widget class="GtkImage" id="image1891">
<widget class="GtkImage" id="image1928">
<property name="visible">True</property>
<property name="pixbuf">menu_player_remove_transfer.png</property>
<property name="xalign">0.5</property>
@ -954,7 +954,7 @@
<signal name="activate" handler="on_menu_offer_new_contract_activate" last_modification_time="Fri, 25 Mar 2005 09:23:28 GMT"/>
<child internal-child="image">
<widget class="GtkImage" id="image1892">
<widget class="GtkImage" id="image1929">
<property name="visible">True</property>
<property name="pixbuf">menu_player_contract.png</property>
<property name="xalign">0.5</property>
@ -974,7 +974,7 @@
<signal name="activate" handler="on_menu_fire_activate" last_modification_time="Sun, 02 Jan 2005 15:42:09 GMT"/>
<child internal-child="image">
<widget class="GtkImage" id="image1893">
<widget class="GtkImage" id="image1930">
<property name="visible">True</property>
<property name="pixbuf">menu_player_fire.png</property>
<property name="xalign">0.5</property>
@ -994,7 +994,7 @@
<signal name="activate" handler="on_menu_shoots_penalties_activate" last_modification_time="Sun, 02 Jan 2005 15:42:09 GMT"/>
<child internal-child="image">
<widget class="GtkImage" id="image1894">
<widget class="GtkImage" id="image1931">
<property name="visible">True</property>
<property name="pixbuf">menu_player_shoots.png</property>
<property name="xalign">0.5</property>
@ -1029,7 +1029,7 @@
<signal name="activate" handler="on_menu_browse_players_activate" last_modification_time="Sat, 26 Mar 2005 09:42:31 GMT"/>
<child internal-child="image">
<widget class="GtkImage" id="image1895">
<widget class="GtkImage" id="image1932">
<property name="visible">True</property>
<property name="pixbuf">menu_player_browse.png</property>
<property name="xalign">0.5</property>
@ -1063,7 +1063,7 @@
<accelerator key="v" modifiers="GDK_CONTROL_MASK" signal="activate"/>
<child internal-child="image">
<widget class="GtkImage" id="image1896">
<widget class="GtkImage" id="image1933">
<property name="visible">True</property>
<property name="pixbuf">menu_last_match.png</property>
<property name="xalign">0.5</property>
@ -1084,7 +1084,7 @@
<accelerator key="F2" modifiers="0" signal="activate"/>
<child internal-child="image">
<widget class="GtkImage" id="image1897">
<widget class="GtkImage" id="image1934">
<property name="visible">True</property>
<property name="pixbuf">menu_match_stats.png</property>
<property name="xalign">0.5</property>
@ -1105,7 +1105,7 @@
<accelerator key="F1" modifiers="0" signal="activate"/>
<child internal-child="image">
<widget class="GtkImage" id="image1898">
<widget class="GtkImage" id="image1935">
<property name="visible">True</property>
<property name="stock">gtk-jump-to</property>
<property name="icon_size">1</property>
@ -1119,11 +1119,22 @@
</child>
<child>
<widget class="GtkMenuItem" id="memorable_matches">
<widget class="GtkImageMenuItem" id="memorable_matches">
<property name="visible">True</property>
<property name="label" translatable="yes">Memorable matches</property>
<property name="use_underline">True</property>
<child internal-child="image">
<widget class="GtkImage" id="image1936">
<property name="visible">True</property>
<property name="pixbuf">menu_mmatches.png</property>
<property name="xalign">0.5</property>
<property name="yalign">0.5</property>
<property name="xpad">0</property>
<property name="ypad">0</property>
</widget>
</child>
<child>
<widget class="GtkMenu" id="memorable_matches_menu">
@ -1137,7 +1148,7 @@
<accelerator key="a" modifiers="GDK_CONTROL_MASK" signal="activate"/>
<child internal-child="image">
<widget class="GtkImage" id="image1899">
<widget class="GtkImage" id="image1937">
<property name="visible">True</property>
<property name="stock">gtk-add</property>
<property name="icon_size">1</property>
@ -1160,7 +1171,7 @@
<accelerator key="m" modifiers="GDK_CONTROL_MASK" signal="activate"/>
<child internal-child="image">
<widget class="GtkImage" id="image1900">
<widget class="GtkImage" id="image1938">
<property name="visible">True</property>
<property name="stock">gtk-preferences</property>
<property name="icon_size">1</property>
@ -1192,7 +1203,7 @@
<accelerator key="h" modifiers="GDK_CONTROL_MASK" signal="activate"/>
<child internal-child="image">
<widget class="GtkImage" id="image1901">
<widget class="GtkImage" id="image1939">
<property name="visible">True</property>
<property name="pixbuf">menu_history.png</property>
<property name="xalign">0.5</property>
@ -1219,7 +1230,7 @@
<accelerator key="F9" modifiers="0" signal="activate"/>
<child internal-child="image">
<widget class="GtkImage" id="image1902">
<widget class="GtkImage" id="image1940">
<property name="visible">True</property>
<property name="stock">gtk-media-forward</property>
<property name="icon_size">1</property>
@ -1241,7 +1252,7 @@
<accelerator key="F8" modifiers="0" signal="activate"/>
<child internal-child="image">
<widget class="GtkImage" id="image1903">
<widget class="GtkImage" id="image1941">
<property name="visible">True</property>
<property name="stock">gtk-go-back</property>
<property name="icon_size">1</property>
@ -1263,7 +1274,7 @@
<accelerator key="F12" modifiers="0" signal="activate"/>
<child internal-child="image">
<widget class="GtkImage" id="image1904">
<widget class="GtkImage" id="image1942">
<property name="visible">True</property>
<property name="stock">gtk-justify-fill</property>
<property name="icon_size">1</property>
@ -1298,7 +1309,7 @@
<accelerator key="f" modifiers="0" signal="activate"/>
<child internal-child="image">
<widget class="GtkImage" id="image1905">
<widget class="GtkImage" id="image1943">
<property name="visible">True</property>
<property name="pixbuf">menu_finances.png</property>
<property name="xalign">0.5</property>
@ -1319,7 +1330,7 @@
<accelerator key="f" modifiers="GDK_CONTROL_MASK" signal="activate"/>
<child internal-child="image">
<widget class="GtkImage" id="image1906">
<widget class="GtkImage" id="image1944">
<property name="visible">True</property>
<property name="pixbuf">menu_stadium.png</property>
<property name="xalign">0.5</property>
@ -1352,7 +1363,7 @@
<signal name="activate" handler="on_menu_about_activate" last_modification_time="Sun, 18 Jan 2004 15:58:22 GMT"/>
<child internal-child="image">
<widget class="GtkImage" id="image1907">
<widget class="GtkImage" id="image1945">
<property name="visible">True</property>
<property name="stock">gtk-dialog-info</property>
<property name="icon_size">1</property>
@ -1373,7 +1384,7 @@
<signal name="activate" handler="on_menu_contributors_activate" last_modification_time="Sun, 22 May 2005 06:42:11 GMT"/>
<child internal-child="image">
<widget class="GtkImage" id="image1908">
<widget class="GtkImage" id="image1946">
<property name="visible">True</property>
<property name="stock">gtk-add</property>
<property name="icon_size">1</property>
@ -1394,7 +1405,7 @@
<signal name="activate" handler="on_menu_help_activate" last_modification_time="Sun, 22 May 2005 06:42:11 GMT"/>
<child internal-child="image">
<widget class="GtkImage" id="image1909">
<widget class="GtkImage" id="image1947">
<property name="visible">True</property>
<property name="stock">gtk-help</property>
<property name="icon_size">1</property>

View File

@ -20,7 +20,7 @@ AC_SUBST(GETTEXT_PACKAGE)
AC_DEFINE_UNQUOTED(GETTEXT_PACKAGE,"$GETTEXT_PACKAGE", [Gettext package.])
dnl Add the languages which your application supports here.
ALL_LINGUAS="de nl fr pl ro"
ALL_LINGUAS="de nl fr pl ro tr"
AM_GLIB_GNU_GETTEXT
AC_OUTPUT([

View File

@ -38,7 +38,7 @@ create_main_window (void)
GtkWidget *menu_new;
GtkWidget *menu_open;
GtkWidget *menu_load_last_save;
GtkWidget *image1872;
GtkWidget *image1909;
GtkWidget *menu_save;
GtkWidget *menu_save_as;
GtkWidget *trennlinie1;
@ -46,7 +46,7 @@ create_main_window (void)
GtkWidget *menu_options;
GtkWidget *menu_options_menu;
GtkWidget *menu_preferences;
GtkWidget *image1873;
GtkWidget *image1910;
GtkWidget *trennlinie7;
GtkWidget *menu_job_offers;
GtkWidget *menu_live_game;
@ -54,22 +54,22 @@ create_main_window (void)
GtkWidget *menu_figures;
GtkWidget *menu_figures_menu;
GtkWidget *menu_fixtures_week;
GtkWidget *image1874;
GtkWidget *image1911;
GtkWidget *menu_fixtures;
GtkWidget *image1875;
GtkWidget *image1912;
GtkWidget *menu_tables;
GtkWidget *image1876;
GtkWidget *image1913;
GtkWidget *menu_my_league_results;
GtkWidget *image1877;
GtkWidget *image1914;
GtkWidget *trennlinie13;
GtkWidget *menu_league_stats;
GtkWidget *image1878;
GtkWidget *image1915;
GtkWidget *menu_season_history;
GtkWidget *image1879;
GtkWidget *image1916;
GtkWidget *menu_team;
GtkWidget *menu_team_menu;
GtkWidget *menu_playing_style;
GtkWidget *image1880;
GtkWidget *image1917;
GtkWidget *menu_playing_style_menu;
GSList *menu_all_out_defend_group = NULL;
GtkWidget *menu_all_out_defend;
@ -78,7 +78,7 @@ create_main_window (void)
GtkWidget *menu_attack;
GtkWidget *menu_all_out_attack;
GtkWidget *menu_scout;
GtkWidget *image1881;
GtkWidget *image1918;
GtkWidget *menu_scout_menu;
GSList *menu_scout_best_group = NULL;
GtkWidget *menu_scout_best;
@ -86,7 +86,7 @@ create_main_window (void)
GtkWidget *menu_scout_average;
GtkWidget *menu_scout_bad;
GtkWidget *menu_physio;
GtkWidget *image1882;
GtkWidget *image1919;
GtkWidget *menu_physio_menu;
GSList *menu_physio_best_group = NULL;
GtkWidget *menu_physio_best;
@ -94,7 +94,7 @@ create_main_window (void)
GtkWidget *menu_physio_average;
GtkWidget *menu_physio_bad;
GtkWidget *menu_youth_academy;
GtkWidget *image1883;
GtkWidget *image1920;
GtkWidget *menu_youth_academy_menu;
GtkWidget *menu_show_youth_academy;
GtkWidget *youth_coach1;
@ -114,7 +114,7 @@ create_main_window (void)
GtkWidget *menu_recruit4;
GtkWidget *menu_set_investment;
GtkWidget *menu_boost;
GtkWidget *image1884;
GtkWidget *image1921;
GtkWidget *menu_boost_menu;
GSList *menu_boost_on_group = NULL;
GtkWidget *menu_boost_on;
@ -122,70 +122,71 @@ create_main_window (void)
GtkWidget *menu_boost_anti;
GtkWidget *trennlinie11;
GtkWidget *menu_reset_players;
GtkWidget *image1885;
GtkWidget *image1922;
GtkWidget *menu_custom_structure;
GtkWidget *image1886;
GtkWidget *image1923;
GtkWidget *menu_rearrange_team;
GtkWidget *image1887;
GtkWidget *image1924;
GtkWidget *trennlinie8;
GtkWidget *menu_browse_teams;
GtkWidget *image1888;
GtkWidget *image1925;
GtkWidget *menu_player;
GtkWidget *menu_player_menu;
GtkWidget *menu_show_info;
GtkWidget *image1889;
GtkWidget *image1926;
GtkWidget *menu_put_on_transfer_list;
GtkWidget *image1890;
GtkWidget *image1927;
GtkWidget *menu_remove_from_transfer_list;
GtkWidget *image1891;
GtkWidget *image1928;
GtkWidget *menu_offer_new_contract;
GtkWidget *image1892;
GtkWidget *image1929;
GtkWidget *menu_fire;
GtkWidget *image1893;
GtkWidget *image1930;
GtkWidget *menu_shoots_penalties;
GtkWidget *image1894;
GtkWidget *image1931;
GtkWidget *menu_move_to_youth_academy;
GtkWidget *trennlinie10;
GtkWidget *menu_browse_players;
GtkWidget *image1895;
GtkWidget *image1932;
GtkWidget *menu_user;
GtkWidget *menu_user_menu;
GtkWidget *menu_user_show_last_match;
GtkWidget *image1896;
GtkWidget *image1933;
GtkWidget *menu_user_show_last_stats;
GtkWidget *image1897;
GtkWidget *image1934;
GtkWidget *menu_user_show_coming_matches;
GtkWidget *image1898;
GtkWidget *image1935;
GtkWidget *memorable_matches;
GtkWidget *image1936;
GtkWidget *memorable_matches_menu;
GtkWidget *mm_add_last_match;
GtkWidget *image1899;
GtkWidget *image1937;
GtkWidget *mm_manage_matches;
GtkWidget *image1900;
GtkWidget *image1938;
GtkWidget *trennlinie12;
GtkWidget *menu_user_show_history;
GtkWidget *image1901;
GtkWidget *image1939;
GtkWidget *trennlinie9;
GtkWidget *menu_next_user;
GtkWidget *image1902;
GtkWidget *image1940;
GtkWidget *menu_previous_user;
GtkWidget *image1903;
GtkWidget *image1941;
GtkWidget *menu_manage_users;
GtkWidget *image1904;
GtkWidget *image1942;
GtkWidget *menu_finances_stadium;
GtkWidget *menu_finances_stadium_menu;
GtkWidget *menu_show_finances;
GtkWidget *image1905;
GtkWidget *image1943;
GtkWidget *menu_show_stadium;
GtkWidget *image1906;
GtkWidget *image1944;
GtkWidget *menu_help1;
GtkWidget *menu_help1_menu;
GtkWidget *menu_about;
GtkWidget *image1907;
GtkWidget *image1945;
GtkWidget *menu_contributors;
GtkWidget *image1908;
GtkWidget *image1946;
GtkWidget *menu_help;
GtkWidget *image1909;
GtkWidget *image1947;
GtkWidget *hbox1;
GtkWidget *button_load;
GtkWidget *image11;
@ -306,9 +307,9 @@ create_main_window (void)
GDK_l, GDK_CONTROL_MASK | GDK_SHIFT_MASK,
GTK_ACCEL_VISIBLE);
image1872 = gtk_image_new_from_stock ("gtk-revert-to-saved", GTK_ICON_SIZE_MENU);
gtk_widget_show (image1872);
gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (menu_load_last_save), image1872);
image1909 = gtk_image_new_from_stock ("gtk-revert-to-saved", GTK_ICON_SIZE_MENU);
gtk_widget_show (image1909);
gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (menu_load_last_save), image1909);
menu_save = gtk_image_menu_item_new_from_stock ("gtk-save", accel_group);
gtk_widget_show (menu_save);
@ -341,9 +342,9 @@ create_main_window (void)
GDK_p, GDK_CONTROL_MASK,
GTK_ACCEL_VISIBLE);
image1873 = gtk_image_new_from_stock ("gtk-preferences", GTK_ICON_SIZE_MENU);
gtk_widget_show (image1873);
gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (menu_preferences), image1873);
image1910 = gtk_image_new_from_stock ("gtk-preferences", GTK_ICON_SIZE_MENU);
gtk_widget_show (image1910);
gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (menu_preferences), image1910);
trennlinie7 = gtk_separator_menu_item_new ();
gtk_widget_show (trennlinie7);
@ -378,9 +379,9 @@ create_main_window (void)
GDK_F3, 0,
GTK_ACCEL_VISIBLE);
image1874 = create_pixmap (main_window, "menu_fixtures.png");
gtk_widget_show (image1874);
gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (menu_fixtures_week), image1874);
image1911 = create_pixmap (main_window, "menu_fixtures.png");
gtk_widget_show (image1911);
gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (menu_fixtures_week), image1911);
menu_fixtures = gtk_image_menu_item_new_with_mnemonic (_("Fixtures (competitions)"));
gtk_widget_show (menu_fixtures);
@ -389,9 +390,9 @@ create_main_window (void)
GDK_F4, 0,
GTK_ACCEL_VISIBLE);
image1875 = create_pixmap (main_window, "menu_fixtures_comp.png");
gtk_widget_show (image1875);
gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (menu_fixtures), image1875);
image1912 = create_pixmap (main_window, "menu_fixtures_comp.png");
gtk_widget_show (image1912);
gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (menu_fixtures), image1912);
menu_tables = gtk_image_menu_item_new_with_mnemonic (_("Tables"));
gtk_widget_show (menu_tables);
@ -400,9 +401,9 @@ create_main_window (void)
GDK_F5, 0,
GTK_ACCEL_VISIBLE);
image1876 = create_pixmap (main_window, "menu_table.png");
gtk_widget_show (image1876);
gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (menu_tables), image1876);
image1913 = create_pixmap (main_window, "menu_table.png");
gtk_widget_show (image1913);
gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (menu_tables), image1913);
menu_my_league_results = gtk_image_menu_item_new_with_mnemonic (_("My league results"));
gtk_widget_show (menu_my_league_results);
@ -411,9 +412,9 @@ create_main_window (void)
GDK_F6, 0,
GTK_ACCEL_VISIBLE);
image1877 = create_pixmap (main_window, "menu_league_results.png");
gtk_widget_show (image1877);
gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (menu_my_league_results), image1877);
image1914 = create_pixmap (main_window, "menu_league_results.png");
gtk_widget_show (image1914);
gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (menu_my_league_results), image1914);
trennlinie13 = gtk_separator_menu_item_new ();
gtk_widget_show (trennlinie13);
@ -427,9 +428,9 @@ create_main_window (void)
GDK_s, 0,
GTK_ACCEL_VISIBLE);
image1878 = create_pixmap (main_window, "menu_league_stats.png");
gtk_widget_show (image1878);
gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (menu_league_stats), image1878);
image1915 = create_pixmap (main_window, "menu_league_stats.png");
gtk_widget_show (image1915);
gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (menu_league_stats), image1915);
menu_season_history = gtk_image_menu_item_new_with_mnemonic (_("Season history"));
gtk_widget_show (menu_season_history);
@ -438,9 +439,9 @@ create_main_window (void)
GDK_h, 0,
GTK_ACCEL_VISIBLE);
image1879 = create_pixmap (main_window, "menu_history.png");
gtk_widget_show (image1879);
gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (menu_season_history), image1879);
image1916 = create_pixmap (main_window, "menu_history.png");
gtk_widget_show (image1916);
gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (menu_season_history), image1916);
menu_team = gtk_menu_item_new_with_mnemonic (_("_Team"));
gtk_widget_show (menu_team);
@ -453,9 +454,9 @@ create_main_window (void)
gtk_widget_show (menu_playing_style);
gtk_container_add (GTK_CONTAINER (menu_team_menu), menu_playing_style);
image1880 = create_pixmap (main_window, "menu_style.png");
gtk_widget_show (image1880);
gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (menu_playing_style), image1880);
image1917 = create_pixmap (main_window, "menu_style.png");
gtk_widget_show (image1917);
gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (menu_playing_style), image1917);
menu_playing_style_menu = gtk_menu_new ();
gtk_menu_item_set_submenu (GTK_MENU_ITEM (menu_playing_style), menu_playing_style_menu);
@ -494,9 +495,9 @@ create_main_window (void)
gtk_widget_show (menu_scout);
gtk_container_add (GTK_CONTAINER (menu_team_menu), menu_scout);
image1881 = create_pixmap (main_window, "menu_scout.png");
gtk_widget_show (image1881);
gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (menu_scout), image1881);
image1918 = create_pixmap (main_window, "menu_scout.png");
gtk_widget_show (image1918);
gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (menu_scout), image1918);
menu_scout_menu = gtk_menu_new ();
gtk_menu_item_set_submenu (GTK_MENU_ITEM (menu_scout), menu_scout_menu);
@ -529,9 +530,9 @@ create_main_window (void)
gtk_widget_show (menu_physio);
gtk_container_add (GTK_CONTAINER (menu_team_menu), menu_physio);
image1882 = create_pixmap (main_window, "menu_physio.png");
gtk_widget_show (image1882);
gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (menu_physio), image1882);
image1919 = create_pixmap (main_window, "menu_physio.png");
gtk_widget_show (image1919);
gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (menu_physio), image1919);
menu_physio_menu = gtk_menu_new ();
gtk_menu_item_set_submenu (GTK_MENU_ITEM (menu_physio), menu_physio_menu);
@ -564,9 +565,9 @@ create_main_window (void)
gtk_widget_show (menu_youth_academy);
gtk_container_add (GTK_CONTAINER (menu_team_menu), menu_youth_academy);
image1883 = create_pixmap (main_window, "menu_youth_academy.png");
gtk_widget_show (image1883);
gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (menu_youth_academy), image1883);
image1920 = create_pixmap (main_window, "menu_youth_academy.png");
gtk_widget_show (image1920);
gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (menu_youth_academy), image1920);
menu_youth_academy_menu = gtk_menu_new ();
gtk_menu_item_set_submenu (GTK_MENU_ITEM (menu_youth_academy), menu_youth_academy_menu);
@ -655,9 +656,9 @@ create_main_window (void)
gtk_widget_show (menu_boost);
gtk_container_add (GTK_CONTAINER (menu_team_menu), menu_boost);
image1884 = create_pixmap (main_window, "menu_boost.png");
gtk_widget_show (image1884);
gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (menu_boost), image1884);
image1921 = create_pixmap (main_window, "menu_boost.png");
gtk_widget_show (image1921);
gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (menu_boost), image1921);
menu_boost_menu = gtk_menu_new ();
gtk_menu_item_set_submenu (GTK_MENU_ITEM (menu_boost), menu_boost_menu);
@ -689,17 +690,17 @@ create_main_window (void)
gtk_container_add (GTK_CONTAINER (menu_team_menu), menu_reset_players);
gtk_tooltips_set_tip (tooltips, menu_reset_players, _("Reset player list to the formation at the beginning of the live game pause (right click on player list)"), NULL);
image1885 = gtk_image_new_from_stock ("gtk-undo", GTK_ICON_SIZE_MENU);
gtk_widget_show (image1885);
gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (menu_reset_players), image1885);
image1922 = gtk_image_new_from_stock ("gtk-undo", GTK_ICON_SIZE_MENU);
gtk_widget_show (image1922);
gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (menu_reset_players), image1922);
menu_custom_structure = gtk_image_menu_item_new_with_mnemonic (_("Enter custom structure"));
gtk_widget_show (menu_custom_structure);
gtk_container_add (GTK_CONTAINER (menu_team_menu), menu_custom_structure);
image1886 = create_pixmap (main_window, "menu_structure.png");
gtk_widget_show (image1886);
gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (menu_custom_structure), image1886);
image1923 = create_pixmap (main_window, "menu_structure.png");
gtk_widget_show (image1923);
gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (menu_custom_structure), image1923);
menu_rearrange_team = gtk_image_menu_item_new_with_mnemonic (_("Rearrange team"));
gtk_widget_show (menu_rearrange_team);
@ -709,9 +710,9 @@ create_main_window (void)
GDK_r, GDK_CONTROL_MASK,
GTK_ACCEL_VISIBLE);
image1887 = create_pixmap (main_window, "menu_rearrange.png");
gtk_widget_show (image1887);
gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (menu_rearrange_team), image1887);
image1924 = create_pixmap (main_window, "menu_rearrange.png");
gtk_widget_show (image1924);
gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (menu_rearrange_team), image1924);
trennlinie8 = gtk_separator_menu_item_new ();
gtk_widget_show (trennlinie8);
@ -722,9 +723,9 @@ create_main_window (void)
gtk_widget_show (menu_browse_teams);
gtk_container_add (GTK_CONTAINER (menu_team_menu), menu_browse_teams);
image1888 = create_pixmap (main_window, "menu_browse_tms.png");
gtk_widget_show (image1888);
gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (menu_browse_teams), image1888);
image1925 = create_pixmap (main_window, "menu_browse_tms.png");
gtk_widget_show (image1925);
gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (menu_browse_teams), image1925);
menu_player = gtk_menu_item_new_with_mnemonic (_("_Player"));
gtk_widget_show (menu_player);
@ -737,49 +738,49 @@ create_main_window (void)
gtk_widget_show (menu_show_info);
gtk_container_add (GTK_CONTAINER (menu_player_menu), menu_show_info);
image1889 = create_pixmap (main_window, "menu_player_info.png");
gtk_widget_show (image1889);
gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (menu_show_info), image1889);
image1926 = create_pixmap (main_window, "menu_player_info.png");
gtk_widget_show (image1926);
gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (menu_show_info), image1926);
menu_put_on_transfer_list = gtk_image_menu_item_new_with_mnemonic (_("Put on transfer list"));
gtk_widget_show (menu_put_on_transfer_list);
gtk_container_add (GTK_CONTAINER (menu_player_menu), menu_put_on_transfer_list);
image1890 = create_pixmap (main_window, "menu_player_put_transfer.png");
gtk_widget_show (image1890);
gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (menu_put_on_transfer_list), image1890);
image1927 = create_pixmap (main_window, "menu_player_put_transfer.png");
gtk_widget_show (image1927);
gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (menu_put_on_transfer_list), image1927);
menu_remove_from_transfer_list = gtk_image_menu_item_new_with_mnemonic (_("Remove from transfer list"));
gtk_widget_show (menu_remove_from_transfer_list);
gtk_container_add (GTK_CONTAINER (menu_player_menu), menu_remove_from_transfer_list);
image1891 = create_pixmap (main_window, "menu_player_remove_transfer.png");
gtk_widget_show (image1891);
gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (menu_remove_from_transfer_list), image1891);
image1928 = create_pixmap (main_window, "menu_player_remove_transfer.png");
gtk_widget_show (image1928);
gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (menu_remove_from_transfer_list), image1928);
menu_offer_new_contract = gtk_image_menu_item_new_with_mnemonic (_("Offer new contract"));
gtk_widget_show (menu_offer_new_contract);
gtk_container_add (GTK_CONTAINER (menu_player_menu), menu_offer_new_contract);
image1892 = create_pixmap (main_window, "menu_player_contract.png");
gtk_widget_show (image1892);
gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (menu_offer_new_contract), image1892);
image1929 = create_pixmap (main_window, "menu_player_contract.png");
gtk_widget_show (image1929);
gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (menu_offer_new_contract), image1929);
menu_fire = gtk_image_menu_item_new_with_mnemonic (_("Fire"));
gtk_widget_show (menu_fire);
gtk_container_add (GTK_CONTAINER (menu_player_menu), menu_fire);
image1893 = create_pixmap (main_window, "menu_player_fire.png");
gtk_widget_show (image1893);
gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (menu_fire), image1893);
image1930 = create_pixmap (main_window, "menu_player_fire.png");
gtk_widget_show (image1930);
gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (menu_fire), image1930);
menu_shoots_penalties = gtk_image_menu_item_new_with_mnemonic (_("Shoots penalties"));
gtk_widget_show (menu_shoots_penalties);
gtk_container_add (GTK_CONTAINER (menu_player_menu), menu_shoots_penalties);
image1894 = create_pixmap (main_window, "menu_player_shoots.png");
gtk_widget_show (image1894);
gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (menu_shoots_penalties), image1894);
image1931 = create_pixmap (main_window, "menu_player_shoots.png");
gtk_widget_show (image1931);
gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (menu_shoots_penalties), image1931);
menu_move_to_youth_academy = gtk_menu_item_new_with_mnemonic (_("Move to youth academy"));
gtk_widget_show (menu_move_to_youth_academy);
@ -794,9 +795,9 @@ create_main_window (void)
gtk_widget_show (menu_browse_players);
gtk_container_add (GTK_CONTAINER (menu_player_menu), menu_browse_players);
image1895 = create_pixmap (main_window, "menu_player_browse.png");
gtk_widget_show (image1895);
gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (menu_browse_players), image1895);
image1932 = create_pixmap (main_window, "menu_player_browse.png");
gtk_widget_show (image1932);
gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (menu_browse_players), image1932);
menu_user = gtk_menu_item_new_with_mnemonic (_("_User"));
gtk_widget_show (menu_user);
@ -812,9 +813,9 @@ create_main_window (void)
GDK_v, GDK_CONTROL_MASK,
GTK_ACCEL_VISIBLE);
image1896 = create_pixmap (main_window, "menu_last_match.png");
gtk_widget_show (image1896);
gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (menu_user_show_last_match), image1896);
image1933 = create_pixmap (main_window, "menu_last_match.png");
gtk_widget_show (image1933);
gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (menu_user_show_last_match), image1933);
menu_user_show_last_stats = gtk_image_menu_item_new_with_mnemonic (_("Show last match stats"));
gtk_widget_show (menu_user_show_last_stats);
@ -823,9 +824,9 @@ create_main_window (void)
GDK_F2, 0,
GTK_ACCEL_VISIBLE);
image1897 = create_pixmap (main_window, "menu_match_stats.png");
gtk_widget_show (image1897);
gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (menu_user_show_last_stats), image1897);
image1934 = create_pixmap (main_window, "menu_match_stats.png");
gtk_widget_show (image1934);
gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (menu_user_show_last_stats), image1934);
menu_user_show_coming_matches = gtk_image_menu_item_new_with_mnemonic (_("Show coming matches"));
gtk_widget_show (menu_user_show_coming_matches);
@ -834,14 +835,18 @@ create_main_window (void)
GDK_F1, 0,
GTK_ACCEL_VISIBLE);
image1898 = gtk_image_new_from_stock ("gtk-jump-to", GTK_ICON_SIZE_MENU);
gtk_widget_show (image1898);
gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (menu_user_show_coming_matches), image1898);
image1935 = gtk_image_new_from_stock ("gtk-jump-to", GTK_ICON_SIZE_MENU);
gtk_widget_show (image1935);
gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (menu_user_show_coming_matches), image1935);
memorable_matches = gtk_menu_item_new_with_mnemonic (_("Memorable matches"));
memorable_matches = gtk_image_menu_item_new_with_mnemonic (_("Memorable matches"));
gtk_widget_show (memorable_matches);
gtk_container_add (GTK_CONTAINER (menu_user_menu), memorable_matches);
image1936 = create_pixmap (main_window, "menu_mmatches.png");
gtk_widget_show (image1936);
gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (memorable_matches), image1936);
memorable_matches_menu = gtk_menu_new ();
gtk_menu_item_set_submenu (GTK_MENU_ITEM (memorable_matches), memorable_matches_menu);
@ -853,9 +858,9 @@ create_main_window (void)
GDK_a, GDK_CONTROL_MASK,
GTK_ACCEL_VISIBLE);
image1899 = gtk_image_new_from_stock ("gtk-add", GTK_ICON_SIZE_MENU);
gtk_widget_show (image1899);
gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (mm_add_last_match), image1899);
image1937 = gtk_image_new_from_stock ("gtk-add", GTK_ICON_SIZE_MENU);
gtk_widget_show (image1937);
gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (mm_add_last_match), image1937);
mm_manage_matches = gtk_image_menu_item_new_with_mnemonic (_("Manage matches"));
gtk_widget_show (mm_manage_matches);
@ -865,9 +870,9 @@ create_main_window (void)
GDK_m, GDK_CONTROL_MASK,
GTK_ACCEL_VISIBLE);
image1900 = gtk_image_new_from_stock ("gtk-preferences", GTK_ICON_SIZE_MENU);
gtk_widget_show (image1900);
gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (mm_manage_matches), image1900);
image1938 = gtk_image_new_from_stock ("gtk-preferences", GTK_ICON_SIZE_MENU);
gtk_widget_show (image1938);
gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (mm_manage_matches), image1938);
trennlinie12 = gtk_separator_menu_item_new ();
gtk_widget_show (trennlinie12);
@ -881,9 +886,9 @@ create_main_window (void)
GDK_h, GDK_CONTROL_MASK,
GTK_ACCEL_VISIBLE);
image1901 = create_pixmap (main_window, "menu_history.png");
gtk_widget_show (image1901);
gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (menu_user_show_history), image1901);
image1939 = create_pixmap (main_window, "menu_history.png");
gtk_widget_show (image1939);
gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (menu_user_show_history), image1939);
trennlinie9 = gtk_separator_menu_item_new ();
gtk_widget_show (trennlinie9);
@ -897,9 +902,9 @@ create_main_window (void)
GDK_F9, 0,
GTK_ACCEL_VISIBLE);
image1902 = gtk_image_new_from_stock ("gtk-media-forward", GTK_ICON_SIZE_MENU);
gtk_widget_show (image1902);
gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (menu_next_user), image1902);
image1940 = gtk_image_new_from_stock ("gtk-media-forward", GTK_ICON_SIZE_MENU);
gtk_widget_show (image1940);
gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (menu_next_user), image1940);
menu_previous_user = gtk_image_menu_item_new_with_mnemonic (_("Previous user"));
gtk_widget_show (menu_previous_user);
@ -908,9 +913,9 @@ create_main_window (void)
GDK_F8, 0,
GTK_ACCEL_VISIBLE);
image1903 = gtk_image_new_from_stock ("gtk-go-back", GTK_ICON_SIZE_MENU);
gtk_widget_show (image1903);
gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (menu_previous_user), image1903);
image1941 = gtk_image_new_from_stock ("gtk-go-back", GTK_ICON_SIZE_MENU);
gtk_widget_show (image1941);
gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (menu_previous_user), image1941);
menu_manage_users = gtk_image_menu_item_new_with_mnemonic (_("Manage users"));
gtk_widget_show (menu_manage_users);
@ -919,9 +924,9 @@ create_main_window (void)
GDK_F12, 0,
GTK_ACCEL_VISIBLE);
image1904 = gtk_image_new_from_stock ("gtk-justify-fill", GTK_ICON_SIZE_MENU);
gtk_widget_show (image1904);
gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (menu_manage_users), image1904);
image1942 = gtk_image_new_from_stock ("gtk-justify-fill", GTK_ICON_SIZE_MENU);
gtk_widget_show (image1942);
gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (menu_manage_users), image1942);
menu_finances_stadium = gtk_menu_item_new_with_mnemonic (_("Fin_Stad"));
gtk_widget_show (menu_finances_stadium);
@ -937,9 +942,9 @@ create_main_window (void)
GDK_f, 0,
GTK_ACCEL_VISIBLE);
image1905 = create_pixmap (main_window, "menu_finances.png");
gtk_widget_show (image1905);
gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (menu_show_finances), image1905);
image1943 = create_pixmap (main_window, "menu_finances.png");
gtk_widget_show (image1943);
gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (menu_show_finances), image1943);
menu_show_stadium = gtk_image_menu_item_new_with_mnemonic (_("Show stadium"));
gtk_widget_show (menu_show_stadium);
@ -948,9 +953,9 @@ create_main_window (void)
GDK_f, GDK_CONTROL_MASK,
GTK_ACCEL_VISIBLE);
image1906 = create_pixmap (main_window, "menu_stadium.png");
gtk_widget_show (image1906);
gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (menu_show_stadium), image1906);
image1944 = create_pixmap (main_window, "menu_stadium.png");
gtk_widget_show (image1944);
gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (menu_show_stadium), image1944);
menu_help1 = gtk_menu_item_new_with_mnemonic (_("_Help"));
gtk_widget_show (menu_help1);
@ -963,25 +968,25 @@ create_main_window (void)
gtk_widget_show (menu_about);
gtk_container_add (GTK_CONTAINER (menu_help1_menu), menu_about);
image1907 = gtk_image_new_from_stock ("gtk-dialog-info", GTK_ICON_SIZE_MENU);
gtk_widget_show (image1907);
gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (menu_about), image1907);
image1945 = gtk_image_new_from_stock ("gtk-dialog-info", GTK_ICON_SIZE_MENU);
gtk_widget_show (image1945);
gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (menu_about), image1945);
menu_contributors = gtk_image_menu_item_new_with_mnemonic (_("Contributors"));
gtk_widget_show (menu_contributors);
gtk_container_add (GTK_CONTAINER (menu_help1_menu), menu_contributors);
image1908 = gtk_image_new_from_stock ("gtk-add", GTK_ICON_SIZE_MENU);
gtk_widget_show (image1908);
gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (menu_contributors), image1908);
image1946 = gtk_image_new_from_stock ("gtk-add", GTK_ICON_SIZE_MENU);
gtk_widget_show (image1946);
gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (menu_contributors), image1946);
menu_help = gtk_image_menu_item_new_with_mnemonic (_("Help"));
gtk_widget_show (menu_help);
gtk_container_add (GTK_CONTAINER (menu_help1_menu), menu_help);
image1909 = gtk_image_new_from_stock ("gtk-help", GTK_ICON_SIZE_MENU);
gtk_widget_show (image1909);
gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (menu_help), image1909);
image1947 = gtk_image_new_from_stock ("gtk-help", GTK_ICON_SIZE_MENU);
gtk_widget_show (image1947);
gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (menu_help), image1947);
hbox1 = gtk_hbox_new (FALSE, 0);
gtk_widget_show (hbox1);
@ -1612,7 +1617,7 @@ create_main_window (void)
GLADE_HOOKUP_OBJECT (main_window, menu_new, "menu_new");
GLADE_HOOKUP_OBJECT (main_window, menu_open, "menu_open");
GLADE_HOOKUP_OBJECT (main_window, menu_load_last_save, "menu_load_last_save");
GLADE_HOOKUP_OBJECT (main_window, image1872, "image1872");
GLADE_HOOKUP_OBJECT (main_window, image1909, "image1909");
GLADE_HOOKUP_OBJECT (main_window, menu_save, "menu_save");
GLADE_HOOKUP_OBJECT (main_window, menu_save_as, "menu_save_as");
GLADE_HOOKUP_OBJECT (main_window, trennlinie1, "trennlinie1");
@ -1620,7 +1625,7 @@ create_main_window (void)
GLADE_HOOKUP_OBJECT (main_window, menu_options, "menu_options");
GLADE_HOOKUP_OBJECT (main_window, menu_options_menu, "menu_options_menu");
GLADE_HOOKUP_OBJECT (main_window, menu_preferences, "menu_preferences");
GLADE_HOOKUP_OBJECT (main_window, image1873, "image1873");
GLADE_HOOKUP_OBJECT (main_window, image1910, "image1910");
GLADE_HOOKUP_OBJECT (main_window, trennlinie7, "trennlinie7");
GLADE_HOOKUP_OBJECT (main_window, menu_job_offers, "menu_job_offers");
GLADE_HOOKUP_OBJECT (main_window, menu_live_game, "menu_live_game");
@ -1628,22 +1633,22 @@ create_main_window (void)
GLADE_HOOKUP_OBJECT (main_window, menu_figures, "menu_figures");
GLADE_HOOKUP_OBJECT (main_window, menu_figures_menu, "menu_figures_menu");
GLADE_HOOKUP_OBJECT (main_window, menu_fixtures_week, "menu_fixtures_week");
GLADE_HOOKUP_OBJECT (main_window, image1874, "image1874");
GLADE_HOOKUP_OBJECT (main_window, image1911, "image1911");
GLADE_HOOKUP_OBJECT (main_window, menu_fixtures, "menu_fixtures");
GLADE_HOOKUP_OBJECT (main_window, image1875, "image1875");
GLADE_HOOKUP_OBJECT (main_window, image1912, "image1912");
GLADE_HOOKUP_OBJECT (main_window, menu_tables, "menu_tables");
GLADE_HOOKUP_OBJECT (main_window, image1876, "image1876");
GLADE_HOOKUP_OBJECT (main_window, image1913, "image1913");
GLADE_HOOKUP_OBJECT (main_window, menu_my_league_results, "menu_my_league_results");
GLADE_HOOKUP_OBJECT (main_window, image1877, "image1877");
GLADE_HOOKUP_OBJECT (main_window, image1914, "image1914");
GLADE_HOOKUP_OBJECT (main_window, trennlinie13, "trennlinie13");
GLADE_HOOKUP_OBJECT (main_window, menu_league_stats, "menu_league_stats");
GLADE_HOOKUP_OBJECT (main_window, image1878, "image1878");
GLADE_HOOKUP_OBJECT (main_window, image1915, "image1915");
GLADE_HOOKUP_OBJECT (main_window, menu_season_history, "menu_season_history");
GLADE_HOOKUP_OBJECT (main_window, image1879, "image1879");
GLADE_HOOKUP_OBJECT (main_window, image1916, "image1916");
GLADE_HOOKUP_OBJECT (main_window, menu_team, "menu_team");
GLADE_HOOKUP_OBJECT (main_window, menu_team_menu, "menu_team_menu");
GLADE_HOOKUP_OBJECT (main_window, menu_playing_style, "menu_playing_style");
GLADE_HOOKUP_OBJECT (main_window, image1880, "image1880");
GLADE_HOOKUP_OBJECT (main_window, image1917, "image1917");
GLADE_HOOKUP_OBJECT (main_window, menu_playing_style_menu, "menu_playing_style_menu");
GLADE_HOOKUP_OBJECT (main_window, menu_all_out_defend, "menu_all_out_defend");
GLADE_HOOKUP_OBJECT (main_window, menu_defend, "menu_defend");
@ -1651,21 +1656,21 @@ create_main_window (void)
GLADE_HOOKUP_OBJECT (main_window, menu_attack, "menu_attack");
GLADE_HOOKUP_OBJECT (main_window, menu_all_out_attack, "menu_all_out_attack");
GLADE_HOOKUP_OBJECT (main_window, menu_scout, "menu_scout");
GLADE_HOOKUP_OBJECT (main_window, image1881, "image1881");
GLADE_HOOKUP_OBJECT (main_window, image1918, "image1918");
GLADE_HOOKUP_OBJECT (main_window, menu_scout_menu, "menu_scout_menu");
GLADE_HOOKUP_OBJECT (main_window, menu_scout_best, "menu_scout_best");
GLADE_HOOKUP_OBJECT (main_window, menu_scout_good, "menu_scout_good");
GLADE_HOOKUP_OBJECT (main_window, menu_scout_average, "menu_scout_average");
GLADE_HOOKUP_OBJECT (main_window, menu_scout_bad, "menu_scout_bad");
GLADE_HOOKUP_OBJECT (main_window, menu_physio, "menu_physio");
GLADE_HOOKUP_OBJECT (main_window, image1882, "image1882");
GLADE_HOOKUP_OBJECT (main_window, image1919, "image1919");
GLADE_HOOKUP_OBJECT (main_window, menu_physio_menu, "menu_physio_menu");
GLADE_HOOKUP_OBJECT (main_window, menu_physio_best, "menu_physio_best");
GLADE_HOOKUP_OBJECT (main_window, menu_physio_good, "menu_physio_good");
GLADE_HOOKUP_OBJECT (main_window, menu_physio_average, "menu_physio_average");
GLADE_HOOKUP_OBJECT (main_window, menu_physio_bad, "menu_physio_bad");
GLADE_HOOKUP_OBJECT (main_window, menu_youth_academy, "menu_youth_academy");
GLADE_HOOKUP_OBJECT (main_window, image1883, "image1883");
GLADE_HOOKUP_OBJECT (main_window, image1920, "image1920");
GLADE_HOOKUP_OBJECT (main_window, menu_youth_academy_menu, "menu_youth_academy_menu");
GLADE_HOOKUP_OBJECT (main_window, menu_show_youth_academy, "menu_show_youth_academy");
GLADE_HOOKUP_OBJECT (main_window, youth_coach1, "youth_coach1");
@ -1683,77 +1688,78 @@ create_main_window (void)
GLADE_HOOKUP_OBJECT (main_window, menu_recruit4, "menu_recruit4");
GLADE_HOOKUP_OBJECT (main_window, menu_set_investment, "menu_set_investment");
GLADE_HOOKUP_OBJECT (main_window, menu_boost, "menu_boost");
GLADE_HOOKUP_OBJECT (main_window, image1884, "image1884");
GLADE_HOOKUP_OBJECT (main_window, image1921, "image1921");
GLADE_HOOKUP_OBJECT (main_window, menu_boost_menu, "menu_boost_menu");
GLADE_HOOKUP_OBJECT (main_window, menu_boost_on, "menu_boost_on");
GLADE_HOOKUP_OBJECT (main_window, menu_boost_off, "menu_boost_off");
GLADE_HOOKUP_OBJECT (main_window, menu_boost_anti, "menu_boost_anti");
GLADE_HOOKUP_OBJECT (main_window, trennlinie11, "trennlinie11");
GLADE_HOOKUP_OBJECT (main_window, menu_reset_players, "menu_reset_players");
GLADE_HOOKUP_OBJECT (main_window, image1885, "image1885");
GLADE_HOOKUP_OBJECT (main_window, image1922, "image1922");
GLADE_HOOKUP_OBJECT (main_window, menu_custom_structure, "menu_custom_structure");
GLADE_HOOKUP_OBJECT (main_window, image1886, "image1886");
GLADE_HOOKUP_OBJECT (main_window, image1923, "image1923");
GLADE_HOOKUP_OBJECT (main_window, menu_rearrange_team, "menu_rearrange_team");
GLADE_HOOKUP_OBJECT (main_window, image1887, "image1887");
GLADE_HOOKUP_OBJECT (main_window, image1924, "image1924");
GLADE_HOOKUP_OBJECT (main_window, trennlinie8, "trennlinie8");
GLADE_HOOKUP_OBJECT (main_window, menu_browse_teams, "menu_browse_teams");
GLADE_HOOKUP_OBJECT (main_window, image1888, "image1888");
GLADE_HOOKUP_OBJECT (main_window, image1925, "image1925");
GLADE_HOOKUP_OBJECT (main_window, menu_player, "menu_player");
GLADE_HOOKUP_OBJECT (main_window, menu_player_menu, "menu_player_menu");
GLADE_HOOKUP_OBJECT (main_window, menu_show_info, "menu_show_info");
GLADE_HOOKUP_OBJECT (main_window, image1889, "image1889");
GLADE_HOOKUP_OBJECT (main_window, image1926, "image1926");
GLADE_HOOKUP_OBJECT (main_window, menu_put_on_transfer_list, "menu_put_on_transfer_list");
GLADE_HOOKUP_OBJECT (main_window, image1890, "image1890");
GLADE_HOOKUP_OBJECT (main_window, image1927, "image1927");
GLADE_HOOKUP_OBJECT (main_window, menu_remove_from_transfer_list, "menu_remove_from_transfer_list");
GLADE_HOOKUP_OBJECT (main_window, image1891, "image1891");
GLADE_HOOKUP_OBJECT (main_window, image1928, "image1928");
GLADE_HOOKUP_OBJECT (main_window, menu_offer_new_contract, "menu_offer_new_contract");
GLADE_HOOKUP_OBJECT (main_window, image1892, "image1892");
GLADE_HOOKUP_OBJECT (main_window, image1929, "image1929");
GLADE_HOOKUP_OBJECT (main_window, menu_fire, "menu_fire");
GLADE_HOOKUP_OBJECT (main_window, image1893, "image1893");
GLADE_HOOKUP_OBJECT (main_window, image1930, "image1930");
GLADE_HOOKUP_OBJECT (main_window, menu_shoots_penalties, "menu_shoots_penalties");
GLADE_HOOKUP_OBJECT (main_window, image1894, "image1894");
GLADE_HOOKUP_OBJECT (main_window, image1931, "image1931");
GLADE_HOOKUP_OBJECT (main_window, menu_move_to_youth_academy, "menu_move_to_youth_academy");
GLADE_HOOKUP_OBJECT (main_window, trennlinie10, "trennlinie10");
GLADE_HOOKUP_OBJECT (main_window, menu_browse_players, "menu_browse_players");
GLADE_HOOKUP_OBJECT (main_window, image1895, "image1895");
GLADE_HOOKUP_OBJECT (main_window, image1932, "image1932");
GLADE_HOOKUP_OBJECT (main_window, menu_user, "menu_user");
GLADE_HOOKUP_OBJECT (main_window, menu_user_menu, "menu_user_menu");
GLADE_HOOKUP_OBJECT (main_window, menu_user_show_last_match, "menu_user_show_last_match");
GLADE_HOOKUP_OBJECT (main_window, image1896, "image1896");
GLADE_HOOKUP_OBJECT (main_window, image1933, "image1933");
GLADE_HOOKUP_OBJECT (main_window, menu_user_show_last_stats, "menu_user_show_last_stats");
GLADE_HOOKUP_OBJECT (main_window, image1897, "image1897");
GLADE_HOOKUP_OBJECT (main_window, image1934, "image1934");
GLADE_HOOKUP_OBJECT (main_window, menu_user_show_coming_matches, "menu_user_show_coming_matches");
GLADE_HOOKUP_OBJECT (main_window, image1898, "image1898");
GLADE_HOOKUP_OBJECT (main_window, image1935, "image1935");
GLADE_HOOKUP_OBJECT (main_window, memorable_matches, "memorable_matches");
GLADE_HOOKUP_OBJECT (main_window, image1936, "image1936");
GLADE_HOOKUP_OBJECT (main_window, memorable_matches_menu, "memorable_matches_menu");
GLADE_HOOKUP_OBJECT (main_window, mm_add_last_match, "mm_add_last_match");
GLADE_HOOKUP_OBJECT (main_window, image1899, "image1899");
GLADE_HOOKUP_OBJECT (main_window, image1937, "image1937");
GLADE_HOOKUP_OBJECT (main_window, mm_manage_matches, "mm_manage_matches");
GLADE_HOOKUP_OBJECT (main_window, image1900, "image1900");
GLADE_HOOKUP_OBJECT (main_window, image1938, "image1938");
GLADE_HOOKUP_OBJECT (main_window, trennlinie12, "trennlinie12");
GLADE_HOOKUP_OBJECT (main_window, menu_user_show_history, "menu_user_show_history");
GLADE_HOOKUP_OBJECT (main_window, image1901, "image1901");
GLADE_HOOKUP_OBJECT (main_window, image1939, "image1939");
GLADE_HOOKUP_OBJECT (main_window, trennlinie9, "trennlinie9");
GLADE_HOOKUP_OBJECT (main_window, menu_next_user, "menu_next_user");
GLADE_HOOKUP_OBJECT (main_window, image1902, "image1902");
GLADE_HOOKUP_OBJECT (main_window, image1940, "image1940");
GLADE_HOOKUP_OBJECT (main_window, menu_previous_user, "menu_previous_user");
GLADE_HOOKUP_OBJECT (main_window, image1903, "image1903");
GLADE_HOOKUP_OBJECT (main_window, image1941, "image1941");
GLADE_HOOKUP_OBJECT (main_window, menu_manage_users, "menu_manage_users");
GLADE_HOOKUP_OBJECT (main_window, image1904, "image1904");
GLADE_HOOKUP_OBJECT (main_window, image1942, "image1942");
GLADE_HOOKUP_OBJECT (main_window, menu_finances_stadium, "menu_finances_stadium");
GLADE_HOOKUP_OBJECT (main_window, menu_finances_stadium_menu, "menu_finances_stadium_menu");
GLADE_HOOKUP_OBJECT (main_window, menu_show_finances, "menu_show_finances");
GLADE_HOOKUP_OBJECT (main_window, image1905, "image1905");
GLADE_HOOKUP_OBJECT (main_window, image1943, "image1943");
GLADE_HOOKUP_OBJECT (main_window, menu_show_stadium, "menu_show_stadium");
GLADE_HOOKUP_OBJECT (main_window, image1906, "image1906");
GLADE_HOOKUP_OBJECT (main_window, image1944, "image1944");
GLADE_HOOKUP_OBJECT (main_window, menu_help1, "menu_help1");
GLADE_HOOKUP_OBJECT (main_window, menu_help1_menu, "menu_help1_menu");
GLADE_HOOKUP_OBJECT (main_window, menu_about, "menu_about");
GLADE_HOOKUP_OBJECT (main_window, image1907, "image1907");
GLADE_HOOKUP_OBJECT (main_window, image1945, "image1945");
GLADE_HOOKUP_OBJECT (main_window, menu_contributors, "menu_contributors");
GLADE_HOOKUP_OBJECT (main_window, image1908, "image1908");
GLADE_HOOKUP_OBJECT (main_window, image1946, "image1946");
GLADE_HOOKUP_OBJECT (main_window, menu_help, "menu_help");
GLADE_HOOKUP_OBJECT (main_window, image1909, "image1909");
GLADE_HOOKUP_OBJECT (main_window, image1947, "image1947");
GLADE_HOOKUP_OBJECT (main_window, hbox1, "hbox1");
GLADE_HOOKUP_OBJECT (main_window, button_load, "button_load");
GLADE_HOOKUP_OBJECT (main_window, image11, "image11");

View File

@ -1,8 +1,8 @@
<lg_commentary>
<event>
<name>general</name>
<commentary>_P1_ feeds a [wonderfull|super|great|brilliant] ball through to _P0_</commentary>
<commentary>Delightfull little [ball|pass] finds _P0_</commentary>
<commentary>_P1_ feeds a [wonderful|super|great|brilliant] ball through to _P0_</commentary>
<commentary>Delightful little [ball|pass] finds _P0_</commentary>
<commentary>Flick on from _P1_ waits for the one two</commentary>
<commentary>Neat dummy run and pass</commentary>
<commentary>Great footwork, great pass</commentary>
@ -34,7 +34,8 @@
<commentary>Bad control by _P1_ lets _P0_ steal the ball off him</commentary>
<commentary>_P0_ [steals|takes] the ball away from _P1_ with a sliding tackle</commentary>
<commentary>Loose ball falls to _P0_</commentary>
<commentary>Crunching tackle, _P0_ [comes away with|wins] the ball</commentary> <commentary>_P1_ is left stranded as _P0_ takes the ball</commentary>
<commentary>Crunching tackle, _P0_ [comes away with|wins] the ball</commentary>
<commentary>_P1_ is left stranded as _P0_ takes the ball</commentary>
<commentary>_P0_ makes a great interception</commentary>
<commentary>Not _P1_'s greatest pass as _P0_ intercepts</commentary>
</event>
@ -123,6 +124,8 @@
<commentary>A real let off there for _T1_</commentary>
<commentary>An Audacious attempt, worthy but not payment</commentary>
<commentary>There was no gold at the end of that rainbow run</commentary>
<commentary>The ball pinballs around the penalty area but finds no way in</commentary>
<commentary>That went everywhere except into the net</commentary>
</event>
<event>
<name>save</name>
@ -135,6 +138,8 @@
<commentary>_P1_ [sprints towards|runs at|lunges at] _P0_ and blocks the shot with his [ankle|body|head|torso|leg|boot]</commentary>
<commentary>[Great|Brilliant|Sensational|Easy] save by the [keeper|goalie|goalkeeper]</commentary>
<commentary>[Saved|Caught|Stopped|Gathered] well by _P1_</commentary>
<commentary>ohh [he|the goalie|the keeper|_P1_] anticipated _P0_'s every move and produced a fine save</commentary>
<commentary>That was in by all accounts, but they forgot to tell _P1_, who some how saved the day</commentary>
</event>
<event>
<name>start_match</name>
@ -147,28 +152,36 @@
<commentary>The referee gets the nod from the linesman and we are away</commentary>
<commentary>The [battle|struggle|fight|war|combat] begins</commentary>
<commentary>The referees are ready, players set, the whistle blows</commentary>
<!--
<commentary cond="_TAVSKILLDIFF_ <= 4">The teams are well matched. We are in for [a real|an end to end] [tug of war|battle].</commentary>
<commentary cond="_TAVSKILLDIFF_ >=8">There's a huge gulf in the skill level. This should be a walk over for _T[_TAVSKILL0_ GE _TAVSKILL1_]_</commentary>
<commentary cond="_TAVSKILLDIFF_ >=4">_T[_TAVSKILL0_ LE _TAVSKILL1_]_ come into the game as underdogs.</commentary>
<commentary cond="_TAVSKILLDIFF_ >=8">_T[_TAVSKILL0_ GE _TAVSKILL1_]_ start the game as sure favourites.</commentary>
-->
<commentary cond="_TAVSKILLDIFF_ <= 1 and [_TAVSKILL0_ + _TAVSKILL1_] >=85">COND The clash of the [gladiators|titans] [begins|kicks off]</commentary>
<commentary cond="_TAVSKILLDIFF_ <= 1 and [_TAVSKILL0_ + _TAVSKILL1_] >=85">The clash of the [gladiators|titans] [begins|kicks off]</commentary>
</event>
<event>
<name>half_time</name>
<commentary>It's half time</commentary>
<!-- <commentary>It's a _RE_ at half time.</commentary> -->
<!-- <commentary>It's a _RE_ at half time, _TL_'s manager has to find something special to spur his team on.</commentary> -->
<!-- <commentary>_TL_ heads into the tunnel to await the managers scolding</commentary> -->
<!-- <commentary>_TW_ are just 45 minutes away from a stunning victory</commentary> -->
<!-- <commentary>Games like this make managers._TL_ need inspiration from the top.</commentary> <commentary>The dropped heads tell the story.It's been no picnic here for _TL_.</commentary> -->
<!-- <commentary>_TL_'s manager cops a rollicking from the fans as he leaves the dugout</commentary> -->
<!-- <commentary>So far _TW_ and their manager have done everything right.</commentary> -->
<!-- <commentary cond="_POSS0_ >= 70 or _POSS1_ >= 70">_T[_POSS1_ GE 70]_ is dominating the match</commentary> -->
<!-- <commentary cond="_GOALS0_ + _GOALS1_ >= 6">Its raining goals.[_GOALS0_ + _GOALS1_] So far and its only the first half!</commentary> -->
<commentary>It's a _RE_ at half time.</commentary>
<commentary>It's a _RE_ at half time, _TL_'s manager has to find something special to spur his team on.</commentary>
<commentary>_TL_ heads into the tunnel to await the managers scolding</commentary>
<commentary>_TW_ are just 45 minutes away from a stunning victory</commentary>
<commentary>Games like this make managers. _TL_ need inspiration from the top.</commentary> <commentary>The dropped heads tell the story. It's been no picnic here for _TL_.</commentary>
<commentary>_TL_'s manager cops a rollicking from the fans as he leaves the dugout</commentary>
<commentary>So far _TW_ and their manager have done everything right.</commentary>
<commentary cond="_POSS0_ >= 70 or _POSS1_ >= 70">_T[_POSS1_ GE 70]_ is dominating the match</commentary>
<commentary cond="_POSS0_ >= 60 or _POSS1_ >= 60">_T[_POSS1_ GE 60]_ have had the [lions share|better] of possession this half</commentary>
<commentary cond="_POSS0_ > 50 and _GOALS1_ > _GOALS0_">_T0_ may have had more possession but _T1_ have utilised theirs better</commentary>
<commentary cond="_POSS1_ > 50 and _GOALS0_ > _GOALS1_">_T1_ may have had more possession but _T0_ have utilised theirs better</commentary>
<commentary cond="_POSS0_ >= 75 or _POSS1_ >= 75">_T[_POSS1_ GE 75]_ seems to be the only team out there</commentary>
<commentary cond="_GOALS0_ + _GOALS1_ < 1 and _SHOTS0_ + _SHOTS1_ > 6">Sure its a low scoring game but we've had plenty of shots</commentary>
<commentary cond="_GOALS0_ + _GOALS1_ < 1 and _SHOTS0_ + _SHOTS1_ > 4">_T[_SHOTS0_ GE _SHOTS1_]_ Have had plenty of chances to [finish|seal] this game</commentary>
<commentary cond="_GOALS0_ + _GOALS1_ < 2 and _SHOTS0_ + _SHOTS1_ > 3">_T[_SHOTS0_ GE _SHOTS1_]_ Have had _SHOTS[_SHOTS0_ GE _SHOTS1_]_ chances to [finish|seal|clinch] this game</commentary>
<commentary cond="_GOALS0_ + _GOALS1_ >= 6">Its raining goals.[_GOALS0_ + _GOALS1_] So far and its only the first half!</commentary>
<commentary cond="_FOULS0_ - _FOULS1_ >= 4 or _FOULS1_ - _FOULS0_ >=4">There are two teams out there but only [_T[_FOULS0_ GE _FOULS1_]_|one of them] is playing football</commentary>
<!-- <commentary cond="_FOULS0_ + _FOULS1_ >= 8">It's a blood bath out there not a football match.</commentary> -->
<commentary cond="_FOULS0_ + _FOULS1_ >= 8">It's a blood bath out there not a football match.</commentary>
<commentary cond="_FOULS0_ + _FOULS1_ >= 8">[So many|[_FOULS0_ + _FOULS1_]] fouls. The refs gonna need new office supplies!</commentary>
<commentary cond="_FOULS0_ + _FOULS1_ >= 8">[So many|[_FOULS0_ + _FOULS1_]] fouls. The refs gonna need a new [book|pencil]!</commentary>
<commentary cond="_PEN0_ + _PEN1_ > 1">[_PEN0_ + _PEN1_] penalties already</commentary>
</event>
<event>
<name>extra_time</name>
@ -184,6 +197,7 @@
<commentary>And now we have the tense drama of a penalty shoot out</commentary>
<commentary>Two teams, equal till now in every respect,face off in penalties</commentary>
<commentary>The teams cant do it so now it's one on one. Striker against goalie</commentary>
<commentary cond="_GOALS0_ + _GOALS1_ < 1">No goals so far but now we will see some as we head to penalties</commentary>
</event>
<event>
<name>end_match</name>
@ -197,8 +211,8 @@
<commentary cond="_GOALS0_ + _GOALS1_ >= 6">Wow, a match to remember. [_GOALS0_ + _GOALS1_] action packed goals!</commentary>
<commentary cond="_GD_ >= 4">_TL_ were slaughtered by _GD_ goals.</commentary>
<commentary cond="_GD_ >= 2">_TW_ will be sipping champagne tonight.</commentary>
<commentary cond="[_TLAYER0_ - _TLAYER1_]> 1 or [_TLAYER1_ - _TLAYER0_] >1 and _TLAYER_TWN__ > _TLAYER_TLN__">COND What [a great victory|an amazing win] for _TW_</commentary>
<commentary cond="_GD_ > 3 and _TLAYER[_GOALS1_ > _GOALS0_]_ >= _TLAYER[_GOALS1_ < _GOALS0_]_">COND _TL_ were up against a giant and the _RE_ scoreline, shows it</commentary>
<commentary cond="[_TLAYER0_ - _TLAYER1_]> 1 or [_TLAYER1_ - _TLAYER0_] >1 and _TLAYER_TWN__ > _TLAYER_TLN__">What [a great victory|an amazing win] for _TW_</commentary>
<commentary cond="_GD_ > 3 and _TLAYER[_GOALS1_ > _GOALS0_]_ >= _TLAYER[_GOALS1_ < _GOALS0_]_">_TL_ were up against a giant and the _RE_ scoreline, shows it</commentary>
</event>
<event>
<name>own_goal</name>
@ -212,7 +226,10 @@
<name>header</name>
<commentary>_P1_ chips the ball towards _P0_ who heads the ball towards goal</commentary>
<commentary>Diving header by _P0_</commentary>
<commentary>He just floated in midair for ages then thunder heads it towards home</commentary>
<commentary>He just floated in midair for ages, then thunder heads it towards home</commentary>
<commentary>That's come off the back of _P0_'s head!</commentary>
<commentary>[Glancing|Powerful|Flicking|Angled] header towards the net from _P0_</commentary>
<commentary>_P0_'s head finds the end of the long cross</commentary>
</event>
<event>
<name>post</name>
@ -232,6 +249,7 @@
<commentary>_P0_ has a chance to score with a penalty kick</commentary>
<commentary>_P0_ has missed a penalty before but he now has a chance to redeem himself</commentary>
<commentary>You have to bury the nerves, swallow and concentrate when your taking penalties</commentary>
<commentary cond="_PEN_POSS__ > 0">_T_POSS__ looks like they are playing for penalties.</commentary>
</event>
<event>
<name>free_kick</name>