Přeskočit na obsah

Modul:Hours/i18n

Z Wikicest

Dokumentaci tohoto modulu lze vytvořit na stránce Modul:Hours/i18n/Dokumentace

-- kopie z německých wikicest (https://de.wikivoyage.org/w/index.php?title=Modul:Hours/i18n&oldid=1618363)
-- copy from dewikivoyage (https://de.wikivoyage.org/w/index.php?title=Modul:Hours/i18n&oldid=1618363)
-- This module contains wiki-language specific strings to translate.

return {
	-- administration
	moduleInterface = {
		suite  = "Hours",
		sub    = "Hours/i18n",
		serial = "2024-05-23",
		item   = 99744685
	},
	-- invoke call parameters
	params = {
		fallback = "",
		format   = "",
		id       = "",
		show     = ""
	},

	-- invoke-call show options
	show = {
		demo  = "",
		msg   = "",
		nomsg = ""
	},

	-- Wikidata property identifiers
	wd = {
		validInPeriod     = "P1264",
		opened            = "P3025",
		closed            = "P3026",
		dayOpenFrom       = "P3027",
		dayOpenTo         = "P3028",
		natureOfStatement = "P5102",
		stateOfUse        = "P5817",
		hourOpenFrom      = "P8626",
		hourOpenTo        = "P8627",
		retrieved         = "P813",

		appliesToJurisdiction = "P1001",
		appliesToPart     = "P518",
		appliesToPeople   = "P6001",
		occupation        = "P106",
		of                = "P642",
		use               = "P366",

		all               = { "P3026", "P3027", "P3028", "P8626", "P8627",
		                      "P1264", "P5102", "P5817",
		                      "P366", "P518", "P642", "P1001", "P6001", "P106" },
		comments          = { "P1264", "P5102", "P5817",
		                      "P366", "P518", "P642", "P1001", "P6001", "P106" },
		commentsForClosed = { "P5102", "P5817",
		                      "P366", "P518", "P642", "P1001", "P6001", "P106" }
	},

	-- abbreviations for month names
	months = {
		leden        = "led",
		["únor"]     = "úno",
		["březen"]   = "bře",
		duben        = "dub",
		["květen"]   = "kvě",
		["červen"]   = "čvn",
		["červenec"] = "čvc",
		srpen        = "srpen",
		["září"]     = "zář",
		["říjen"]    = "říj",
		listopad     = "lis",
		prosinec     = "pro"
	},

	weekdays = {
		Po = 1,
		["Út"] = 2,
		St = 3,
		["Čt"] = 4,
		["Pá"] = 5,
		So = 6,
		Ne = 7
	},

	-- several strings
	texts = {
		closed      = "uzavřeno: %s",
		format      = "otevřeno: %s",

		-- punctuation
		parentheses = "(%s)",
		space       = " ",  -- for instance between days and times
		comma       = ", ", -- several dates
		semicolon   = "; ", -- several statesments

		from        = "od %s",
		fromTo      = "%s–%s",
		to          = "do %s",

		-- formatting of a single time
		timePattern = "^(%d%d?)[.:](%d%d?)%s*Uhr$", -- for German wiki
		formatTime  = "%s:%s",                      -- or "%s:%s Uhr" etc.
		formatAM    = "%s:%s AM",
		formatPM    = "%s:%s PM",

		-- formatting of a time range
		hourReplAll = true, -- (formally) replace all occurrences
		hourPattern = "",   -- empty if no replacement is requested
		hourRepl    = "",

	--	hourReplAll = false,               -- replace only first occurrence
	--	hourPattern = "(%d)%s+[aApP][mM]", -- empty if no replacement is requested
	--	hourRepl    = "%1",
	},

	options = {
		addCategories = false,
		clusterClosed = true,  -- cluster all closing dates at the end
		hour12        = false, -- 12 or 24 hours mode
		leadingZero   = false, -- add or remove zero for hours
		removeZeros   = false  -- remove zeros :00 for full hours
	},

	-- Category names
	categories = {
		fallbackLabel      = "[[Kategorie:Údržba:Otevírací doba v angličtině]] <span class=\"listing-check-recommended\" style=\"display:none;\">Otevírací doba v angličtině</span>",
		hoursFromWikidata  = "[[Kategorie:Monitoring:Data z Wikidat]]",
		invalidId          = "[[Kategorie:Údržba:Chyba v ID Wikidat]] <span class=\"error\">Chyba v ID Wikidat</span>",
		hoursLabelFromWikidata = "[[Kategorie:Monitoring:Data z Wikidat]]",
		properties         = "[[Kategorie:Monitoring:Data z Wikidat]]",
		unknownError       = "[[Kategorie:Údržba:Chyba v otevírací době]] <span class=\"listing-check-recommended\" style=\"display:none;\">Chyba v otevírací době</span>",
		unknownParams      = "[[Kategorie:Údržba:Neznámý parametr]] <span class=\"error\">Neznámý parametr: %s</span>",
		unknownShowOptions = "[[Kategorie:Údržba:Neznámá volba parametru show]] <span class=\"error\"Neznámá volba parametru show: %s</span>",
		withoutTime        = "[[Kategorie:Údržba:Otevírací doba bez hodin]] <span class=\"listing-check-recommended\" style=\"display:none;\">Otevírací doba bez hodin</span>",
	},

	-- time to id conversion
	times = {
		daily  = "Q26214163",
		Dec31  = "Q2912",
		is24_7 = "Q1571749",
		Jan1   = "Q2150"
	},

	-- several abbreviations
	abbr = {
		{ f = "[Pp]onděl[í|ky]", a = "Po" },
		{ f = "[Úú]ter[ý|ky]", a = "Út" },
		{ f = "[Ss]třed[a|y]", a = "St" },
		{ f = "[Čč]tvrt[ek|ky]", a = "Čt" },
		{ f = "[Pp]át[ek|ky]", a = "Pá" },
		{ f = "[Ss]obot[a|y]", a = "So" },
		{ f = "[Ss]obot[a|y] večer", a = "So" },
		{ f = "[Nn]eděle", a = "Ne" },
		{ f = "[Pp]rvní[ho]?", a = "1." },
		{ f = "[Dd]ruh[ý|á|é|ého]", a = "2." },
		{ f = "[Tt]řetí[ho]?", a = "3." },
		{ f = "[Čč]tvrt[ý|á|é|ého]", a = "4." },
		{ f = "[Pp]át[ý|á|é|ého]", a = "5." }
	},

	-- selections of date labels to prevent fetching from Wikidata
	dateIds = {
		-- Table contains common values only and is used for reduction of
		-- computing time. Others will be taken from Wikidata labels.

		-- days

		Q105       = "Po",
		Q127       = "Út",
		Q128       = "St",
		Q129       = "Čt",
		Q130       = "Pá",
		Q131       = "So",
		Q132       = "Ne",
		Q211391    = "víkend",
		           -- use Q99528581 instead of Q211391 because it is culturally dependent
		Q26214163  = "denně", -- do not remove this item because it is used in Lua script
		Q100274304 = "Po–Pá",
		Q116445783 = "Po–Út, Čt",
		Q118773943 = "Po–Út, Čt–Pá",
		Q104786164 = "Po-St",
		Q104057082 = "Po–Čt",
		Q97120402  = "Po–Pá",
		Q21282379  = "Po–So",
		Q100320771 = "Út–Čt",
		Q100157387 = "Út–Pá",
		Q100148056 = "Út–So",
		Q99731947  = "Út–Ne",
		Q100427721 = "St–Čt",
		Q99714084  = "St–Pá",
		Q100148065 = "St–Pá",
		Q118773278 = "St, Pá",
		Q31689308  = "St–So",
		Q116328326 = "St, So",
		Q65681627  = "St–Ne",
		Q100332183 = "St–Ne",
		Q99731117  = "St–Po",
		Q106538987 = "Čt–Pá",
		Q106541052 = "Čt–So",
		Q100274433 = "Čt–Ne",
		Q100427930 = "Pá–So",
		Q100451849 = "Pá–Ne",
		Q102268431 = "So–St",
		Q101766385 = "So–Čt",
		Q99528581  = "So–Ne",
		Q106538981 = "Ne–Po",
		Q111127796 = "Ne–St",
		Q100587968 = "Ne–Čt",
		Q112703547 = "Ne–Pá",
		Q1571749   = "24/7", -- do not remove this item because it is used in Lua script

		Q819073	   = "pracovní den",
		Q1445650   = "svátek",
		Q1197685   = "svátek",
		Q2174956   = "den pracovního klidu",
		Q12779928  = "pracovní den",
		Q116213    = "dovolená",

		-- Zero-width spaces (​) are used to keep the week-day terms
		Q14915111  = "52 dní před Velikonocemi",
		Q15834118  = "Weiberfastnacht",
		Q2245828   = "Nelkensams​tag",
		Q1241858   = "Estomihi",
		Q2085192   = "Estomihi",
		Q153134    = "Rosenmon​tag",
		Q4845365   = "masopustní​úterý",
		Q123542    = "Popeleční​středa",
		Q153308    = "3.​neděle​postní",
		Q2033651   = "5.​neděle​postní",
		Q42236     = "Květná​neděle",
		Q106333    = "Zelený​čtvrtek",
		Q40317     = "Velký​pátek",
		Q186206    = "Bílá​sobota",
		Q21196     = "Velikonoce",
		Q1512337   = "Velikonoční​neděle",
		Q209663    = "Velikonoční​pondělí",
		Q14795170  = "Velikonoční​pondělí",
		Q14916781  = "Velikonoční​úterý",
		Q51638     = "Svátek​Nanebevstoupení​Páně",
		Q39864     = "Letnice",
		Q2512993   = "Svatodušní​pondělí",
		Q14795386  = "51​dní​po​Velikonocích",
		Q152395    = "Slavnost​Těla​a​Krve​Páně",
		Q2304773   = "harvest​festival",
		Q2913791   = "Díkůvzdání",
		Q19809     = "Vánoce",

		Q10274     = "Vidžajadašamí",
		Q464458    = "Íd al-fitr",
		Q10259     = "Hólí",

		Q1622041   = "hlavní sezóna",
		Q99932986  = "mimosezóna",
		Q1777301   = "standardní čas",
		Q36669     = "letní čas",
		Q107376657 = "leden až březen",
		Q107376740 = "březen až říjen",
		Q121914265 = "březen až listopad",
		Q100157218 = "duben až říjen",
		Q107376636 = "duben až prosinec",
		Q107359921 = "květen až říjen",
		Q107376754 = "listopad až leden",
		Q100157227 = "listopad až březen",

		Q1312      = "jaro",
		Q1313      = "léto",
		Q1314      = "podzim",
		Q1311      = "zima",

		Q100320775 = "první víkend v měsíci",
		Q23034736  = "první pondělí v měsíci",
		Q51119351  = "druhé pondělí v měsíci",
		Q51119371  = "třetí pondělí v měsíci",
		Q51119385  = "čtvrté pondělí v měsíci",
		Q51119411  = "páté pondělí v měsíci",
		Q51120546  = "poslední pondělí v měsíci",
		Q51119344  = "první pátek v měsíci",
		Q51119363  = "druhý pátek v měsíci",
		Q51119381  = "třetí pátek v měsíci",
		Q51119398  = "čtvrtý pátek v měsíci",
		Q51119425  = "pátý pátek v měsíci",
		Q51120563  = "poslední pátek v měsíci",
		Q51119345  = "první sobota v měsíci",
		Q51119367  = "druhá sobota v měsíci",
		Q51119382  = "třetí sobota v měsíci",
		Q51119402  = "čtvrtá sobota v měsíci",
		Q51119427  = "pátá sobota v měsíci",
		Q51120565  = "poslední sobota v měsíci",
		Q51119350  = "první neděle v měsíci",
		Q51119369  = "druhá neděle v měsíci",
		Q51119383  = "třetí neděle v měsíci",
		Q51119404  = "čtvrtá neděle v měsíci",
		Q51119429  = "pátá neděle v měsíci",
		Q51120567  = "poslední neděle v měsíci",

		Q108       = "leden",
		Q2150      = "1. leden", -- do not remove this item because it is used in Lua script
		Q196627    = "1. leden",
		Q2151      = "2. leden",
		Q2156      = "3. leden",
		Q2221      = "6. leden",
		Q1139536   = "26. leden", -- India Republic Day
		Q2289      = "31. leden",
		Q109       = "únor",
		Q2312      = "1. únor",
		Q2332      = "14. únor",
		Q2334      = "15. únor",
		Q2362      = "28. únor",
		Q2364      = "29. únor",
		Q110       = "březen",
		Q2393      = "1. březen",
		Q2404      = "14. březen",
		Q2403      = "15. březen",
		Q2457      = "27. březen",
		Q2458      = "28. březen",
		Q2461      = "31. březen",
		Q118       = "duben",
		Q2510      = "1. duben",
		Q2505      = "7. duben",
		Q2504      = "9. duben",
		Q2500      = "14. duben",
		Q2497      = "15. duben",
		Q2536      = "30. duben",
		Q119       = "květen",
		Q2544      = "1. květen",
		Q47499     = "1. květen",
		Q2574      = "16. květen",
		Q2591      = "31. květen",
		Q120       = "červen",
		Q2625      = "1. červen",
		Q2657      = "30. červen",
		Q121       = "červenec",
		Q2700      = "1. červenec",
		Q2715      = "31. červenec",
		Q122       = "srpen",
		Q2788      = "1. srpen",
		Q2774      = "15. srpen",
		Q162691    = "15. srpen", -- Assumption of Mary
		Q56106     = "15. srpen", -- Independence Day, India
		Q2830      = "31. srpen",
		Q123       = "září",
		Q2859      = "1. září",
		Q2846      = "15. září",
		Q2881      = "30. září",
		Q124       = "říjen",
		Q2913      = "1. říjen",
		Q2932      = "2. říjen",
		Q2931      = "3. říjen",
		Q157582    = "3. říjen", -- German Unity Day
		Q2919      = "15. říjen",
		Q2963      = "16. říjen",
		Q2949      = "31. říjen",
		Q153093    = "31. říjen", -- Reformation Day
		Q125       = "listopad",
		Q2997      = "1. listopad",
		Q2982      = "15. listopad",
		Q3029      = "16. listopad",
		Q3015      = "30. listopad",
		Q126       = "prosinec",
		Q2297      = "1. prosinec",
		Q2451      = "19. prosinec",
		Q2705      = "24. prosinec",
		Q106010    = "24. prosinec",
		Q2745      = "25. prosinec",
		Q2703710   = "25. prosinec", -- Christmas Day
		Q2761      = "26. prosinec",
		Q15113728  = "26. prosinec",
		Q2800      = "27. prosinec",
		Q2832      = "28. prosinec",
		Q2862      = "29. prosinec",
		Q2901      = "30. prosinec",
		Q2912      = "31. prosinec", -- do not remove this item because it is used in Lua script
		Q11269     = "31. prosinec",

		-- points of time

		Q573       = "den",
		Q575       = "noc",
		Q7722      = "ráno",
		Q986787    = "dopoledne",
		Q283102    = "odpoledne",
		Q7725      = "večer",
		Q193294    = "východ slunce",
		Q166564    = "západ slunce",

		Q36402     = "0:00",
		Q55812411  = "0:00",
		Q55449532  = "0:30",
		Q41618001  = "1:00",
		Q55517345  = "1:00",
		Q55518450  = "1:30",
		Q41618006  = "2:00",
		Q55521280  = "2:00",
		Q55524996  = "2:30",
		Q41618076  = "3:00",
		Q55527754  = "3:00",
		Q55560170  = "3:30",
		Q41618081  = "4:00",
		Q55810628  = "4:00",
		Q55810646  = "4:15",
		Q55811293  = "4:30",
		Q55811308  = "4:45",
		Q41618165  = "5:00",
		Q55810695  = "5:00",
		Q55810711  = "5:15",
		Q55811314  = "5:30",
		Q55811331  = "5:45",
		Q41618168  = "6:00",
		Q55810762  = "6:00",
		Q55810778  = "6:15",
		Q55810795  = "6:30",
		Q55811354  = "6:45",
		Q41618172  = "7:00",
		Q55811431  = "7:00",
		Q55810845  = "7:15",
		Q55810863  = "7:30",
		Q55811437  = "7:45",
		Q41618176  = "8:00",
		Q55811455  = "8:00",
		Q55810913  = "8:15",
		Q55810929  = "8:30",
		Q55810940  = "8:40",
		Q55812499  = "8:45",
		Q41618181  = "9:00",
		Q55811413  = "9:00",
		Q55811478  = "9:15",
		Q55810994  = "9:30",
		Q55811012  = "9:45",
		Q41618185  = "10:00",
		Q55811483  = "10:00",
		Q55811062  = "10:30",
		Q41618189  = "11:00",
		Q55811097  = "11:00",
		Q55811133  = "11:30",
		Q168182    = "12:00",
		Q55812521  = "12:00",
		Q55811197  = "12:30",
		Q41618345  = "13:00",
		Q55811230  = "13:00",
		Q55812556  = "13:15",
		Q55811580  = "13:30",
		Q55811277  = "13:45",
		Q41620570  = "14:00",
		Q55811610  = "14:00",
		Q55811657  = "14:15",
		Q55811674  = "14:30",
		Q55811761  = "14:45",
		Q41620574  = "15:00",
		Q55811778  = "15:00",
		Q55811726  = "15:15",
		Q55811745  = "15:30",
		Q55811798  = "15:45",
		Q41620578  = "16:00",
		Q55812393  = "16:00",
		Q55812563  = "16:15",
		Q55811847  = "16:30",
		Q55811864  = "16:45",
		Q41620582  = "17:00",
		Q55811883  = "17:00",
		Q55812585  = "17:15",
		Q55812595  = "17:25",
		Q55813015  = "17:30",
		Q55811932  = "17:45",
		Q41620584  = "18:00",
		Q55811949  = "18:00",
		Q55813021  = "18:15",
		Q55813038  = "18:30",
		Q55812002  = "18:45",
		Q41620587  = "19:00",
		Q55812019  = "19:00",
		Q55812659  = "19:30",
		Q41620591  = "20:00",
		Q55812694  = "20:00",
		Q55812122  = "20:30",
		Q41620593  = "21:00",
		Q55812716  = "21:00",
		Q55812732  = "21:15",
		Q55812192  = "21:30",
		Q55812210  = "21:45",
		Q41620595  = "22:00",
		Q55813122  = "22:00",
		Q55812769  = "22:30",
		Q44529925  = "23:00",
		Q55812301  = "23:00",
		Q55813170  = "23:30",
		Q55812370  = "24:00",

		-- for P1264
		Q41662     = "Ramadán",

		-- for P5102
		Q29509043  = "oficiální",
		Q29509080  = "neoficiální",
		Q132555    = "de jure",
		Q712144    = "de facto",
		Q28962310  = "zřídka",
		Q28962312  = "často",
		Q18603603  = "hypoteticky",
		Q30230067  = "možná",
		Q53737447  = "původně",
		Q18912752  = "sporné",
		Q28831311  = "nepotvrzené",
		Q24025284  = "občas se mění",
		Q4895105   = "prozatimní",
		Q18122778  = "pravděpodobně",
		Q32188232  = "údajně",
		Q1520777   = "jistě",
		Q5727902   = "cirka",
		Q56644435  = "zřejmě",

		-- for P5817
		-- empty strings are not displayed
		Q56651571  = "mimo provoz",
		Q104664889 = "trvale uzavřeno",
		Q55570821  = "", -- "otevřeno pro veřejnost"
		Q55570340  = "zavřeno pro veřejnos",
		Q55654238  = "", -- "v provozu"
		Q811683    = "plánovaná stavba ",
		Q12377751  = "ve výstavbě",
		Q109551035 = "", -- "částečně funkční"
		Q63065035  = "", -- "opuštěno"
		Q11639308  = "vyřazeno z provozu",
		Q55653430  = "dočasně uzavřeno",
		Q63187954  = "v rekonstrukci"
	}
}