Skip to content

Instantly share code, notes, and snippets.

@WillJW
Created November 2, 2012 19:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save WillJW/4003722 to your computer and use it in GitHub Desktop.
Save WillJW/4003722 to your computer and use it in GitHub Desktop.
StatsFC widgets internationalisation
var sfc_lang = {
errors: {
'Missing parameters': 'Missing parameters',
'Competition not found': 'Competition not found',
'Team not found': 'Team not found',
'There are no fixtures at the moment': 'There are no fixtures at the moment',
'There is no team form information at the moment': 'There is no team form information at the moment',
'There are no live games at the moment': 'There are no live games at the moment',
'There are no results at the moment': 'There are no results at the moment',
'There are no standings at the moment': 'There are no standings at the moment',
'There are no top scorers at the moment': 'There are no top scorers at the moment',
'A league competition must be chosen': 'A league competition must be chosen'
},
general: {
'Powered by StatsFC.com': 'Powered by StatsFC.com',
'StatsFC - Football Widgets and API': 'StatsFC - Football Widgets and API'
},
date: {
'Yesterday': 'Yesterday',
'Today': 'Today',
'Tomorrow': 'Tomorrow',
'Monday': 'Monday',
'Tuesday': 'Tuesday',
'Wednesday': 'Wednesday',
'Thursday': 'Thursday',
'Friday': 'Friday',
'Saturday': 'Saturday',
'Sunday': 'Sunday',
'January': 'January',
'February': 'February',
'March': 'March',
'April': 'April',
'May': 'May',
'June': 'June',
'July': 'July',
'August': 'August',
'September': 'September',
'October': 'October',
'November': 'November',
'December': 'December'
},
fixtures: {
'Postp.': 'Postp.',
'Aband.': 'Aband.'
},
form: {
'Team': 'Team',
'Form': 'Form',
'W': 'W',
'D': 'D',
'L': 'L'
},
live: {
'Live': 'Live',
'HT': 'HT',
'FT': 'FT',
'ET1': 'ET1',
'ET2': 'ET2',
'AET': 'AET',
'Pens': 'Pens'
},
results: {
'FT': 'FT',
'Postp.': 'Postp.',
'Aband.': 'Aband.'
},
table: {
'Position': 'Position',
'Pos': 'Pos',
'Team': 'Team',
'Matches played': 'Matches played',
'P': 'P',
'Matches won': 'Matches won',
'W': 'W',
'Matches drawn': 'Matches drawn',
'D': 'D',
'Matches lost': 'Matches lost',
'L': 'L',
'Goals for': 'Goals for',
'F': 'F',
'Goals against': 'Goals against',
'A': 'A',
'Goal difference': 'Goal difference',
'Points': 'Points',
'Pts': 'Pts'
},
topscorers: {
'Player': 'Player',
'Team': 'Team',
'Goals': 'Goals'
}
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment