Jump to content

Module:LinkPhone/i18n

From Wikivoyage

Documentation for this module may be created at Module:LinkPhone/i18n/doc

-- internationalisation
return {
	msg = {
		_or_			= 'or',
		_and_			= 'and'
	},
	errorMsg = {
		noCountryCode	= 'Country code missing',
		wrongTelFormat	= 'Phone with wrong format',
		wrongMailFormat	= 'Mail with wrong format'
	},
	categories = {
		noCountryCode	= 'Listing with phone missing country code',
		wrongTelFormat	= 'Listing with phone format issue',
		wrongMailFormat	= 'Listing with email format issue'
	},
	tollfreePrefixes = {
		['020']			= true, -- Sweden
		['080']			= true, -- South Korea, Slovenia, South Africa
		['800']			= true, -- International
		['803']			= true, -- Italy
		['808']			= true, -- United Kingdom
		['809']			= true, -- Taiwan
		['833']			= true, -- USA
		['844']			= true, -- USA
		['855']			= true, -- USA
		['866']			= true, -- USA
		['888']			= true, -- USA
		['900']			= true, -- Spain
		['0120']		= true, -- Japan
		['0200']		= true, -- Sweden
		['0508']		= true, -- New Zeland
		['0800']		= true, -- International
		['0805']		= true, -- France
		['1660']		= true, -- Nepal
		['1800']		= true, -- North America
		['8800']		= true, -- Russia
		['1888']		= true, -- North America
		['01800']		= true, -- Colombia
	},
	tollfreeTypes = {
		['high cost']				= true,
		['extra charge']			= true,
		['premium']					= true,
		['local rate']				= true,
		['in country only']			= true,
		['domestic']				= true,
		['emergency']				= true,
		['non-emergency']			= true,
		['non-geographic number']	= true,
	},
	extRegEx = {
		'[Ee][Xx][Tt]'
	}
}