1
1
mirror of https://github.com/tstellar/bygfoot.git synced 2024-12-16 10:21:15 +01:00

English news (translated from German).

This commit is contained in:
gyboth 2009-01-06 14:13:11 +00:00
parent 4edeccdad2
commit d24f785128
3 changed files with 93 additions and 65 deletions

View File

@ -118,10 +118,12 @@ news_select(const GArray *news_array, gchar *title, gchar *subtitle,
*title_id = *subtitle_id = -1; *title_id = *subtitle_id = -1;
for(i=0;i<news_array->len;i++) for(i=0;i<news_array->len;i++)
{
if((!news_check_article_for_repetition(g_array_index(news_array, NewsArticle, order_articles[i]).id) || if((!news_check_article_for_repetition(g_array_index(news_array, NewsArticle, order_articles[i]).id) ||
g_array_index(news_array, NewsArticle, order_articles[i]).priority > 20) && g_array_index(news_array, NewsArticle, order_articles[i]).priority > 20) &&
misc_parse_condition(g_array_index(news_array, NewsArticle, order_articles[i]).condition, token_rep_news)) misc_parse_condition(g_array_index(news_array, NewsArticle, order_articles[i]).condition, token_rep_news))
break; break;
}
if(i == news_array->len) if(i == news_array->len)
for(i=0;i<news_array->len;i++) for(i=0;i<news_array->len;i++)
@ -648,6 +650,23 @@ news_set_league_cup_tokens(const Fixture *fix)
query_league_cup_has_property(cup->id, "hide") || query_league_cup_has_property(cup->id, "hide") ||
query_league_cup_has_property(cup->id, "omit_from_history")); query_league_cup_has_property(cup->id, "omit_from_history"));
} }
else
{
misc_token_add_bool(token_rep_news,
option_int("string_token_bool_cup_knockout", &tokens),
FALSE);
misc_token_add_bool(token_rep_news,
option_int("string_token_bool_cup_home_away", &tokens),
FALSE);
misc_token_add_bool(token_rep_news,
option_int("string_token_bool_cup_first_leg", &tokens),
FALSE);
misc_token_add_bool(token_rep_news,
option_int("string_token_bool_cup_second_leg", &tokens),
FALSE);
}
} }
/** Set the news tokens related to the fixture. */ /** Set the news tokens related to the fixture. */
@ -797,7 +816,7 @@ news_free_tokens(void)
/* printf("-------------------------------------\n"); */ /* printf("-------------------------------------\n"); */
for(i=token_rep_news[0]->len - 1;i >= 0; i--) for(i=token_rep_news[0]->len - 1;i >= 0; i--)
{ {
/* printf("%s // %s\n", */ /* printf("%s // %s\n", */
/* (gchar*)g_ptr_array_index(token_rep_news[0], i), */ /* (gchar*)g_ptr_array_index(token_rep_news[0], i), */
/* (gchar*)g_ptr_array_index(token_rep_news[1], i)); */ /* (gchar*)g_ptr_array_index(token_rep_news[1], i)); */
g_free(g_ptr_array_index(token_rep_news[0], i)); g_free(g_ptr_array_index(token_rep_news[0], i));

View File

@ -52,6 +52,7 @@ enum
TAG_CUP_CHOOSE_TEAM_FROM_TABLE, TAG_CUP_CHOOSE_TEAM_FROM_TABLE,
TAG_CUP_CHOOSE_TEAM_PRELOAD, TAG_CUP_CHOOSE_TEAM_PRELOAD,
TAG_CUP_ROUND, TAG_CUP_ROUND,
TAG_CUP_ROUND_NAME,
TAG_CUP_ROUND_NEW_TEAMS, TAG_CUP_ROUND_NEW_TEAMS,
TAG_CUP_ROUND_BYES, TAG_CUP_ROUND_BYES,
TAG_CUP_ROUND_TEAMS_FILE, TAG_CUP_ROUND_TEAMS_FILE,
@ -148,6 +149,7 @@ xml_loadsave_cup_end_element (GMarkupParseContext *context,
tag == TAG_WEEK_GAP || tag == TAG_WEEK_GAP ||
tag == TAG_WEEK_BREAK || tag == TAG_WEEK_BREAK ||
tag == TAG_WEEK_BREAK_LENGTH || tag == TAG_WEEK_BREAK_LENGTH ||
tag == TAG_SKIP_WEEKS_WITH ||
tag == TAG_PROPERTY || tag == TAG_PROPERTY ||
tag == TAG_CUP_LAST_WEEK || tag == TAG_CUP_LAST_WEEK ||
tag == TAG_CUP_ADD_WEEK || tag == TAG_CUP_ADD_WEEK ||
@ -183,6 +185,7 @@ xml_loadsave_cup_end_element (GMarkupParseContext *context,
tag == TAG_CUP_ROUND_TEAM_PTR_ID || tag == TAG_CUP_ROUND_TEAM_PTR_ID ||
tag == TAG_CUP_ROUND_TABLE_FILE || tag == TAG_CUP_ROUND_TABLE_FILE ||
tag == TAG_CUP_ROUND_NEW_TEAMS || tag == TAG_CUP_ROUND_NEW_TEAMS ||
tag == TAG_CUP_ROUND_NAME ||
tag == TAG_CUP_ROUND_BYES || tag == TAG_CUP_ROUND_BYES ||
tag == TAG_CUP_ROUND_REPLAY || tag == TAG_CUP_ROUND_REPLAY ||
tag == TAG_CUP_ROUND_NEUTRAL || tag == TAG_CUP_ROUND_NEUTRAL ||
@ -246,6 +249,8 @@ xml_loadsave_cup_text (GMarkupParseContext *context,
new_week_break.length = int_value; new_week_break.length = int_value;
g_array_append_val(new_cup->week_breaks, new_week_break); g_array_append_val(new_cup->week_breaks, new_week_break);
} }
else if(state == TAG_SKIP_WEEKS_WITH)
g_ptr_array_add(new_cup->skip_weeks_with, g_strdup(buf));
else if(state == TAG_YELLOW_RED) else if(state == TAG_YELLOW_RED)
new_cup->yellow_red = int_value; new_cup->yellow_red = int_value;
else if(state == TAG_PROPERTY) else if(state == TAG_PROPERTY)
@ -288,6 +293,8 @@ xml_loadsave_cup_text (GMarkupParseContext *context,
new_round.home_away = int_value; new_round.home_away = int_value;
else if(state == TAG_CUP_ROUND_NEW_TEAMS) else if(state == TAG_CUP_ROUND_NEW_TEAMS)
new_round.new_teams = int_value; new_round.new_teams = int_value;
else if(state == TAG_CUP_ROUND_NAME)
new_round.name = g_strdup(buf);
else if(state == TAG_CUP_ROUND_BYES) else if(state == TAG_CUP_ROUND_BYES)
new_round.byes = int_value; new_round.byes = int_value;
else if(state == TAG_CUP_ROUND_TEAMS_FILE) else if(state == TAG_CUP_ROUND_TEAMS_FILE)
@ -425,9 +432,14 @@ xml_loadsave_cup_write(const gchar *prefix, const Cup *cup)
xml_write_string(fil, (gchar*)g_ptr_array_index(cup->properties, i), xml_write_string(fil, (gchar*)g_ptr_array_index(cup->properties, i),
TAG_PROPERTY, I0); TAG_PROPERTY, I0);
for(i = 0; i < cup->skip_weeks_with->len; i++)
xml_write_string(fil, (gchar*)g_ptr_array_index(cup->skip_weeks_with, i),
TAG_SKIP_WEEKS_WITH, I0);
for(i=0;i<cup->rounds->len;i++) for(i=0;i<cup->rounds->len;i++)
xml_loadsave_cup_write_round(fil, prefix, cup, i); xml_loadsave_cup_write_round(fil, prefix, cup, i);
for(i = 0; i < cup->week_breaks->len; i++) for(i = 0; i < cup->week_breaks->len; i++)
{ {
xml_write_int(fil, g_array_index(cup->week_breaks, WeekBreak, i).week_number, TAG_WEEK_BREAK, I0); xml_write_int(fil, g_array_index(cup->week_breaks, WeekBreak, i).week_number, TAG_WEEK_BREAK, I0);
@ -473,6 +485,8 @@ xml_loadsave_cup_write_round(FILE *fil, const gchar *prefix, const Cup *cup, gin
xml_loadsave_teams_write(buf, cup_round->teams); xml_loadsave_teams_write(buf, cup_round->teams);
} }
xml_write_string(fil, cup_round->name,
TAG_CUP_ROUND_NAME, I1);
xml_write_int(fil, cup_round->new_teams, xml_write_int(fil, cup_round->new_teams,
TAG_CUP_ROUND_NEW_TEAMS, I1); TAG_CUP_ROUND_NEW_TEAMS, I1);
xml_write_int(fil, cup_round->byes, xml_write_int(fil, cup_round->byes,

View File

@ -1,7 +1,7 @@
<news> <news>
<news_article> <news_article>
<type>match</type> <type>match</type>
<condition>_TLAYERDIFF_ = 0 and _GD_ G 3</condition> <condition>_TLAYERDIFF_ = 0 and _GD_ G 3 and (_CUPKO_ = 0 or _CUPHOMEAWAY_ = 0 or _CUPFIRSTLEG_ = 1)</condition>
<title priority="20" condition="_CUPET_ = 1">_TW_ [beats|overcomes|defeats] _TL_ in extra time</title> <title priority="20" condition="_CUPET_ = 1">_TW_ [beats|overcomes|defeats] _TL_ in extra time</title>
<title priority="20" condition="_CUPET_ = 1">_TW_ victorious in extra time</title> <title priority="20" condition="_CUPET_ = 1">_TW_ victorious in extra time</title>
<title priority="20" condition="_CUPPEN_ = 1">_TW_ [beats|overcomes|defeats] _TL_ _REW_ in penalties</title> <title priority="20" condition="_CUPPEN_ = 1">_TW_ [beats|overcomes|defeats] _TL_ _REW_ in penalties</title>
@ -32,7 +32,7 @@
<news_article> <news_article>
<type>match</type> <type>match</type>
<condition>_TLAYERDIFF_ = 0 and _GD_ G 2</condition> <condition>_TLAYERDIFF_ = 0 and _GD_ G 2 and (_CUPKO_ = 0 or _CUPHOMEAWAY_ = 0 or _CUPFIRSTLEG_ = 1)</condition>
<title priority="20" condition="_CUPET_ = 1">_TW_ [beats|overcomes|defeats] _TL_ in extra time</title> <title priority="20" condition="_CUPET_ = 1">_TW_ [beats|overcomes|defeats] _TL_ in extra time</title>
<title priority="20" condition="_CUPET_ = 1">_TW_ victorious in extra time</title> <title priority="20" condition="_CUPET_ = 1">_TW_ victorious in extra time</title>
<title priority="20" condition="_CUPPEN_ = 1">_TW_ [beats|overcomes|defeats] _TL_ _REW_ in penalties</title> <title priority="20" condition="_CUPPEN_ = 1">_TW_ [beats|overcomes|defeats] _TL_ _REW_ in penalties</title>
@ -45,7 +45,7 @@
<title condition="_TWN_ = 1 and _CUPNEUTRAL = 0">_TW_ dominates at _TL_</title> <title condition="_TWN_ = 1 and _CUPNEUTRAL = 0">_TW_ dominates at _TL_</title>
<title condition="_TWN_ = 1 and _CUPNEUTRAL = 0">_TW_ dominates away</title> <title condition="_TWN_ = 1 and _CUPNEUTRAL = 0">_TW_ dominates away</title>
<title condition="_GOALS_TLN__ > 1">_TW_ victorious despite _GOALS_TLN__ goals against</title> <title condition="_GOALS_TLN__ > 1">_TW_ victorious despite _GOALS_TLN__ goals against</title>
<title condition="_GOALS_TLN__ > 1">_GOALS_TLN__ not enough for _TL_</title> <title condition="_GOALS_TLN__ > 1">_GOALS_TLN__ goals not enough for _TL_</title>
<subtitle>_TW_ controls _TL_ in _REW_ effort.</subtitle> <subtitle>_TW_ controls _TL_ in _REW_ effort.</subtitle>
<subtitle condition="_TWN_ = 0 and _CUPNEUTRAL = 0">_TW_ dispatches _TL_ with a _RE_ home win.</subtitle> <subtitle condition="_TWN_ = 0 and _CUPNEUTRAL = 0">_TW_ dispatches _TL_ with a _RE_ home win.</subtitle>
<subtitle condition="_GOALS_TLN__ > 1">_TW_ keeps the upper hand in a match with numerous goals.</subtitle> <subtitle condition="_GOALS_TLN__ > 1">_TW_ keeps the upper hand in a match with numerous goals.</subtitle>
@ -65,10 +65,10 @@
<news_article> <news_article>
<type>match</type> <type>match</type>
<condition>_TLAYERDIFF_ = 0 and _GOALS0_ != _GOALS1_</condition> <condition>_TLAYERDIFF_ = 0 and _GOALS0_ != _GOALS1_ and (_CUPKO_ = 0 or _CUPHOMEAWAY_ = 0 or _CUPFIRSTLEG_ = 1)</condition>
<priority>5</priority> <priority>5</priority>
<title>_TW_ besiegt _TL_ mit _REW_</title> <title>_TW_ [beats|overcomes|defeats] _TL_ _REW_</title>
<title>_TL_ unterliegt _TW_ _REL_</title> <title>_TL_ loses to _TW_ _REL_</title>
<title priority="20" condition="_CUPET_ = 1">_TW_ [beats|overcomes|defeats] _TL_ in extra time</title> <title priority="20" condition="_CUPET_ = 1">_TW_ [beats|overcomes|defeats] _TL_ in extra time</title>
<title priority="20" condition="_CUPET_ = 1">_TW_ victorious in extra time</title> <title priority="20" condition="_CUPET_ = 1">_TW_ victorious in extra time</title>
<title priority="20" condition="_CUPPEN_ = 1">_TW_ [beats|overcomes|defeats] _TL_ _REW_ in penalties</title> <title priority="20" condition="_CUPPEN_ = 1">_TW_ [beats|overcomes|defeats] _TL_ _REW_ in penalties</title>
@ -121,78 +121,73 @@
<news_article> <news_article>
<type>match</type> <type>match</type>
<condition>_TLAYERDIFF_ = 0 and _GDAGG_ = 0</condition> <condition>_TLAYERDIFF_ = 0 and _GD_ = 0 and (_CUPKO_ = 0 or _CUPHOMEAWAY_ = 0 or _CUPFIRSTLEG_ = 1)</condition>
<title priority="20" condition="_CUPET_ = 1">_TW_ [beats|overcomes|defeats] _TL_ in extra time</title> <title priority="20" condition="_CUPET_ = 1">_TW_ [beats|overcomes|defeats] _TL_ in extra time</title>
<title priority="20" condition="_CUPET_ = 1">_TW_ victorious in extra time</title> <title priority="20" condition="_CUPET_ = 1">_TW_ victorious in extra time</title>
<title priority="20" condition="_CUPPEN_ = 1">_TW_ [beats|overcomes|defeats] _TL_ _REW_ in penalties</title> <title priority="20" condition="_CUPPEN_ = 1">_TW_ [beats|overcomes|defeats] _TL_ _REW_ in penalties</title>
<title priority="20" condition="_CUPPEN_ = 1">_TW_ hold their nerves in penalty shoot-out</title> <title priority="20" condition="_CUPPEN_ = 1">_TW_ hold their nerves in penalty shoot-out</title>
<title condition="_CUPNEUTRAL = 0">_T1_ holt Unentschieden bei _T0_</title> <title condition="_CUPNEUTRAL = 0">_T1_ gets the draw at _T0_</title>
<title condition="_CUPNEUTRAL = 0">_T0_ kommt zuhause nicht über ein _RE_ hinaus</title> <title condition="_CUPNEUTRAL = 0">_T0_ manages only a _RE_ tie at home</title>
<title>Mageres Unentschieden für [_T0_|_T1_]</title> <title>Meagre draw for [_T0_|_T1_]</title>
<title>Torloses Unentschieden bei _T0_ gegen _T_</title> <title condition="_GOALS0_ = 0">Goal-less draw in _T0_ vs. _T1_</title>
<title>_T0_ und _T1_ trennen sich _RE_</title> <title condition="_CUP_ = 0">_T0_ and _T1_ share the points</title>
<title condition="_CUP_ = 0">Punkteteilung bei _T0_ gegen _T1_</title> <title condition="_GOALS0_ > 1">Eventful draw for [_T0_|_T1_]</title>
<title condition="_GOALS0_ > 1">Abwechslungsreiches Remis für _T0_</title> <title condition="_GOALS0_ = 0">_T0_ vs. _T1_ is pure boredom</title>
<title condition="_GOALS0_ = 0">Langeweile pur bei _T0_ gegen _T1_</title> <subtitle condition="_GOALS0_ > 1">[_T0_|_T1_] let down by horrible defense.</subtitle>
<subtitle condition="_GOALS0_ > 1">[_T0_|_T1_] scheitert an Problemen in der Defensivabteilung.</subtitle> <subtitle condition="_GOALS0_ > 1">[_T0_|_T1_] allows _GOALS1_ goals and should be satisfied with a tie.</subtitle>
<subtitle condition="_GOALS0_ > 1">[_T0_|_T1_] lässt _GOALS1_ Tore zu und muss sich über ein Remis nicht wundern.</subtitle> <subtitle condition="_GOALS0_ > 1">[_T0_|_T1_] allows _GOALS1_ and gets only a draw.</subtitle>
<subtitle condition="_GOALS0_ > 1">[_T0_|_T1_] muss _GOALS1_ Treffer hinnehmen und holt nur ein Unentschieden.</subtitle> <subtitle condition="_MULTIPLESCORERS0_">Goals by _SCORERS0_ only ensure a _RE_ for _T0_.</subtitle>
<subtitle condition="_MULTIPLESCORERS0_">Tore von _SCORERS0_ reichen _T0_ nur für ein _RE_.</subtitle> <subtitle condition="_MULTIPLESCORERS0_ = 0">_SCORERS0_ saves the draw for _T0_ against _T1_.</subtitle>
<subtitle condition="_MULTIPLESCORERS0_ = 0">_SCORERS0_ rettet Unentschieden für _T0_ gegen _T1_.</subtitle> <subtitle condition="_MULTIPLESCORERS0_ = 0">_SCORERS1_ saves the draw for _T1_ at _T0_.</subtitle>
<subtitle condition="_MULTIPLESCORERS0_ = 0">_SCORERS1_ rettet Unentschieden für _T1_ in _T0_.</subtitle> <subtitle condition="_GOALS0_ < 2">_T0_ and _T1_ bore _AT_ spectators with horrible, horrible play and an utterly disappointing _RE_.</subtitle>
<subtitle condition="_GOALS0_ < 2">_T0_ und _T1_ langweilen _AT_ Zuschauer mit Rumpelfussball und einem unsäglichen _RE_.</subtitle> <subtitle condition="_GOALS0_ < 2">Both teams clearly lacked the energy in this match.</subtitle>
<subtitle condition="_GOALS0_ < 2">Beiden Teams fehlte die Energie in dieser Partie.</subtitle> <subtitle>The draw doesn't help either team.</subtitle>
<subtitle condition="_CUP_ = 0">Faire Punkteteilung nach ausgeglichenem Spiel.</subtitle> <subtitle>Neither _T0_ nor _T1_ can really be satisfied with a tie.</subtitle>
<subtitle>Das Remis hilft aber keinem der beiden Teams weiter.</subtitle> <subtitle condition="_GOALS0_ < 2">Several of the _AT_ spectators die of boredom during an atrocious game.</subtitle>
<subtitle>Weder _T0_ noch _T1_ können mit einem Unentschieden zufrieden sein.</subtitle> <subtitle condition="_GOALS0_ < 2">The two teams deliver repulsing football reminiscent of the days of Catenaccio.</subtitle>
<subtitle condition="_GOALS0_ < 2">Zahlreiche der _AT_ Zuschauer sterben an Langeweile während dieses unterirdischen Spiels.</subtitle> <subtitle condition="_GOALS0_ > 1">_AT_ spectators enjoy a lively game despite the _RE_ draw.</subtitle>
<subtitle condition="_GOALS0_ < 2">Die beiden Teams liefern einen Grottenkick aus der Zeit des Catenaccio.</subtitle> <subtitle condition="_GOALS0_ > 2">The coach of [_T0_|_T1_] vows to concentrate on getting the defense in shape during the coming weeks.</subtitle>
<subtitle condition="_GOALS0_ > 1">_AT_ werden trotz Unentschieden beim _RE_ gut unterhalten.</subtitle> <subtitle condition="_GOALS0_ > 1">[_T0_|_T1_] combines good offense with costly mistakes and only gets the draw.</subtitle>
<subtitle condition="_GOALS0_ > 2">Trainer von [_T0_|_T1_] will sich in den nächsten Wochen auf die Defensive konzentrieren.</subtitle> <subtitle condition="_GOALS0_ > 1">[_T0_|_T1_] commits some easy mistakes and wastes victory.</subtitle>
<subtitle condition="_GOALS0_ > 1">Gute Offensivleistung von [_T0_|_T1_] wird durch Leichtsinnsfehler kaputtgemacht.</subtitle> <subtitle condition="_GOALS0_ = 1">One mistake by [_T0_|_T1_] wastes victory.</subtitle>
<subtitle condition="_GOALS0_ > 1">[_T0_|_T1_] verschenkt durch Fehler in der Verteidigung den Sieg.</subtitle> <subtitle condition="_GOALS0_ < _SHOTS0_ + 3">_T0_ waste their scoring chances and only get the draw.</subtitle>
<subtitle condition="_GOALS0_ = 1">Ein Fehler kostet [_T0_|_T1_] den Sieg.</subtitle> <subtitle condition="_GOALS1_ < _SHOTS1_ + 3">_T1_ waste their scoring chances and only get the draw.</subtitle>
<subtitle condition="_GOALS0_ < _SHOTS0_ + 3">Mangelhafte Chancenverwertung raubt _T0_ die Chance auf den Sieg.</subtitle> <subtitle condition="_GOALS1_ = 0 and _PEN1_ > 0">A wasted penalty shot will haunt _T1_'s players for a long time.</subtitle>
<subtitle condition="_GOALS1_ < _SHOTS1_ + 3">Mangelhafte Chancenverwertung raubt _T1_ die Chance auf den Sieg.</subtitle> <subtitle condition="_GOALS0_ = 0 and _PEN0_ > 0">A wasted penalty shot will haunt _T0_'s players for a long time.</subtitle>
<subtitle condition="_GOALS1_ = 0 and _PEN1_ > 0">Ein verschenkter Elfmeter wird den Spielern von _T1_ noch lange den Schlaf rauben.</subtitle> <subtitle condition="_UNBEATEN0_ > 3">_T0_ only gets the draw but the unbeaten streak of _UNBEATEN0_ matches is still alive.</subtitle>
<subtitle condition="_GOALS0_ = 0 and _PEN0_ > 0">Ein verschenkter Elfmeter wird den Spielern von _T0_ noch lange den Schlaf rauben.</subtitle> <subtitle condition="_UNBEATEN0_ > 3">_AT_ spectators watch _T0_ extend their unbeaten streak to _UNBEATEN0_.</subtitle>
<subtitle condition="_UNBEATEN0_ > 3">_T0_ holt nur Unentschieden, ist aber seit _UNBEATEN0_ Matches ungeschlagen.</subtitle> <subtitle condition="_LEAGUEUNBEATEN0_ > 3">_T0_ unbeatable for _T1_ and extends streak to _UNBEATEN0_ matches without loss in _LEAGUECUPNAME_.</subtitle>
<subtitle condition="_UNBEATEN0_ > 3">Vor _AT_ Zuschauern bleibt _T0_ auch im _UNBEATEN0_-ten Spiel ohne Niederlage.</subtitle>
<subtitle condition="_LEAGUEUNBEATEN0_ > 3">_T0_ ist in der Liga auch für _T1_ nicht zu knacken und baut die Serie ohne Niederlage auf _UNBEATEN0_ aus.</subtitle>
<subtitle condition="_LEAGUEUNBEATEN0_ > 3">Mit dem _RE_ ist _T0_ nun schon seit _UNBEATEN0_ Begegnungen in der Liga ungeschlagen.</subtitle>
</news_article> </news_article>
<news_article> <news_article>
<type>match</type> <type>match</type>
<condition>_TLAYERDIFF_ = 0 and _GD_ = 1</condition> <condition>_TLAYERDIFF_ = 0 and _GD_ = 1 and (_CUPKO_ = 0 or _CUPHOMEAWAY_ = 0 or _CUPFIRSTLEG_ = 1)</condition>
<title priority="20" condition="_CUPET_ = 1">_TW_ [beats|overcomes|defeats] _TL_ in extra time</title> <title priority="20" condition="_CUPET_ = 1">_TW_ [beats|overcomes|defeats] _TL_ in extra time</title>
<title priority="20" condition="_CUPET_ = 1">_TW_ victorious in extra time</title> <title priority="20" condition="_CUPET_ = 1">_TW_ victorious in extra time</title>
<title priority="20" condition="_CUPPEN_ = 1">_TW_ [beats|overcomes|defeats] _TL_ _REW_ in penalties</title> <title priority="20" condition="_CUPPEN_ = 1">_TW_ [beats|overcomes|defeats] _TL_ _REW_ in penalties</title>
<title priority="20" condition="_CUPPEN_ = 1">_TW_ hold their nerves in penalty shoot-out</title> <title priority="20" condition="_CUPPEN_ = 1">_TW_ hold their nerves in penalty shoot-out</title>
<title>Knappes _REW_ für _TW_</title> <title>Tight _REW_ for _TW_</title>
<title>_TW_ siegt knapp gegen _TL_</title> <title>_TW_ [beats|overcomes|defeats] _TL_ in a [tight|close|tense] match</title>
<title>_TW_ bezwingt _TL_ knapp</title> <title>_TW_ wins in a [tight|close|tense] match</title>
<title>Hauchdünner Sieg für _TW_</title> <title>_TL_ frustrated about unnecessary loss</title>
<title>_TL_ ärgert sich über unnötige Niederlage</title> <title>_TL_ loses to _TW_ in a [tight|close|tense] encounter</title>
<title>_TL_ unterliegt _TW_ knapp</title> <title>Pure excitement in _T0_ vs. _T1_</title>
<title>Spannung pur bei _T0_ gegen _T1_</title> <title>Close match with happy ending for _TW_</title>
<title>Enges Spiel endet glücklich für _TW_</title> <title condition="_CUPNEUTRAL = 0">Exciting game at _T0_</title>
<title condition="_CUPNEUTRAL = 0">Spannende Partie bei _T0_</title> <title condition="_TWN_ = 0 and _CUPNEUTRAL = 0">_TW_ fortunate to get home win</title>
<title condition="_TWN_ = 0 and _CUPNEUTRAL = 0">Glücklicher Heimsieg für _TW_</title> <title condition="_TWN_ = 1 and _CUPNEUTRAL = 0">_TW_ wins at _TL_ in a [tight|close|tense] game</title>
<title condition="_TWN_ = 1 and _CUPNEUTRAL = 0">_TW_ siegt bei _TL_ denkbar knapp</title> <subtitle>_AT_ spectators watch _TW_ come out only one goal ahead of _TL_.</subtitle>
<subtitle>Vor _AT_ Zuschauern behält _TW_ mit einem Tor Vorsprung die Oberhand.</subtitle> <subtitle>_AT_ spectators see a [tight|close|tense] encounter between two equal teams.</subtitle>
<subtitle>_AT_ Zuschauer sehen ein spannendes Spiel von zwei ausgeglichenen Mannschaften.</subtitle> <subtitle>_TW_ gets a [tight|close|tense] but deserved _REW_ against _TL_.</subtitle>
<subtitle>_TW_ gewinnt mit einem knappen, aber verdienten _REW_ gegen _TL_.</subtitle> <subtitle>_TL_ should have gotten more than a disappointing and unfortunate _REL_ out of this match.</subtitle>
<subtitle>Es wäre für _TL_ wesentlich mehr als das undankbare _REL_ drin gewesen.</subtitle> <subtitle condition="_GOALS_TWN__ = 1">_SCORERS_TWN__ gets the game winning goal.</subtitle>
<subtitle condition="_SHOTS_TWN__ = _GOALS_TWN__">Es wäre für _TL_ wesentlich mehr als das undankbare _REL_ drin gewesen.</subtitle> <subtitle condition="_GOALS_TWN__ = 1">One goal is enough for _TW_ to get the win in this match.</subtitle>
<subtitle condition="_GOALS_TWN__ = 1">_SCORERS_TWN__ entscheidet das Spiel mit seinem Tor.</subtitle> <subtitle condition="_GOALS_TWN__ = 1 and _CUP_ = 0">One goal is enough for _TW_ to grab three points.</subtitle>
<subtitle condition="_GOALS_TWN__ = 1">Ein einziges Tor reicht für _TW_ für den Erfolg.</subtitle>
<subtitle condition="_GOALS_TWN__ = 1 and _CUP_ = 0">Ein einziges Tor reicht für _TW_ für drei Punkte.</subtitle>
</news_article> </news_article>
<news_article> <news_article>
<type>match</type> <type>match</type>
<condition>_TLAYERDIFF_ = 0 and _GD_ != 0 and _TAVSKILLDIFF_ > 7</condition> <condition>_TLAYERDIFF_ = 0 and _GD_ != 0 and _TAVSKILLDIFF_ > 7 and (_CUPKO_ = 0 or _CUPHOMEAWAY_ = 0 or _CUPFIRSTLEG_ = 1)</condition>
<title priority="20" condition="_CUPET_ = 1">_TW_ [beats|overcomes|defeats] _TL_ in extra time</title> <title priority="20" condition="_CUPET_ = 1">_TW_ [beats|overcomes|defeats] _TL_ in extra time</title>
<title priority="20" condition="_CUPET_ = 1">_TW_ victorious in extra time</title> <title priority="20" condition="_CUPET_ = 1">_TW_ victorious in extra time</title>
<title priority="20" condition="_CUPPEN_ = 1">_TW_ [beats|overcomes|defeats] _TL_ _REW_ in penalties</title> <title priority="20" condition="_CUPPEN_ = 1">_TW_ [beats|overcomes|defeats] _TL_ _REW_ in penalties</title>
@ -216,7 +211,7 @@
<news_article> <news_article>
<type>match</type> <type>match</type>
<condition>_TLAYERDIFF_ > 0</condition> <condition>_TLAYERDIFF_ > 0 and (_CUPKO_ = 0 or _CUPHOMEAWAY_ = 0 or _CUPFIRSTLEG_ = 1)</condition>
<title priority="20" condition="_CUPET_ = 1">_TW_ [beats|overcomes|defeats] _TL_ in extra time</title> <title priority="20" condition="_CUPET_ = 1">_TW_ [beats|overcomes|defeats] _TL_ in extra time</title>
<title priority="20" condition="_CUPET_ = 1">_TW_ victorious in extra time</title> <title priority="20" condition="_CUPET_ = 1">_TW_ victorious in extra time</title>
<title priority="20" condition="_CUPPEN_ = 1">_TW_ [beats|overcomes|defeats] _TL_ _REW_ in penalties</title> <title priority="20" condition="_CUPPEN_ = 1">_TW_ [beats|overcomes|defeats] _TL_ _REW_ in penalties</title>