Modul:Citation/i18n
Die Dokumentation für dieses Modul kann unter Modul:Citation/i18n/doc erstellt werden
-- Separating code from internationalization
return {
-- options
skipPathCheck = false, -- for URL check, see Module:UrlCheck
-- project information
project = {
name = 'wikivoyage.org',
languageCode = mw.language.getContentLanguage():getCode(),
language = mw.language.fetchLanguageName( mw.language.getContentLanguage():getCode() )
},
-- list of valid type values
refTypes = {
book = { 'book', 'Buch' },
map = { 'map', 'Karte' },
collection = { 'collection', 'Sammelwerk' },
journal = { 'journal', 'Zeitschrift' },
newspaper = { 'newspaper', 'Zeitung' },
web = { 'web', 'Web', 'Internet' }
},
-- list of valid status values
urlStatusTable = {
dead = { 'dead', 'offline' },
live = { 'live', 'online' },
usurped = { 'unfit', 'usurped', 'usurpiert' }
},
-- list of possible parameter
-- no index: possible parameter names
-- types: reference types for which parameter is valid
-- COinS: COinS key
-- COinS_id: COinS id
-- cleanup = true: complete cleanup
params = {
type = { 'type', 'Typ' },
author = { 'Autor', COinS = 'rft.au' },
editor = { 'Herausgeber', 'Hrsg' },
title = { 'Titel', COinS = 'rft.title' },
titleAddition = { 'TitelErg' },
chapter = { 'Kapitel', types = 'book', COinS = 'rft.atitle' },
scale = { 'Maßstab', types = 'map' },
collection = { 'Sammelwerk', types = 'collection' },
journal = { 'Zeitschrift', 'Sammelwerk', types = 'journal', COinS = 'rft.jtitle' },
newspaper = { 'Zeitung', 'Sammelwerk', types = 'newspaper', COinS = 'rft.jtitle' },
website = { 'Website', 'Internet', 'Sammelwerk', types = 'web' },
abbr = { 'Abk', types = { 'collection', 'journal', 'newspaper' } },
place = { 'Ort', COinS = 'rft.place' },
publisher = { 'Verlag', 'Verleger', types = { 'book', 'map', 'collection', 'web' }, COinS = 'rft.pub' },
date = { 'Datum', 'Jahr', COinS = 'rft.date' },
edition = { 'Auflage', types = { 'book', 'map', 'collection' }, COinS = 'rft.edition' },
volume = { 'Band', types = { 'book', 'map', 'collection', 'journal', 'newspaper' }, COinS = 'rft.volume' },
issue = { 'Ausgabe', 'Nummer', 'Heft', types = { 'journal', 'newspaper' }, COinS = 'rft.issue' },
pages = { 'Seite', 'Seiten', types = { 'book', 'collection', 'journal', 'newspaper', 'web' }, COinS = 'rft.pages' },
columns = { 'Spalte', 'Spalten', types = { 'book', 'collection', 'journal', 'newspaper', 'web' } },
extent = { 'Umfang', 'Seitenanzahl', types = { 'book', 'collection', 'map' } },
series = { 'Serie', 'Reihe', types = { 'book', 'collection', 'map' }, COinS = 'rft.series' },
series2 = { 'Serie2', 'Reihe2', types = { 'book', 'collection', 'map' } },
series3 = { 'Serie3', 'Reihe3', types = { 'book', 'collection', 'map' } },
url = { 'Online', 'URL' },
siteUrl = { 'Site-URL', 'Website-URL', types = { 'collection', 'journal', 'newspaper', 'web' } },
archiveUrl = { 'Archiv-URL' },
urlStatus = { 'URL-Status' },
archiveDate = { 'Archiv-Datum', 'Archivdatum' },
format = { 'Format' },
KBytes = { 'KBytes', 'kBytes', 'kbytes' },
MBytes = { 'MBytes', 'Mbytes' },
accessDate = { 'Zugriff', 'Abruf' },
isbn = { 'ISBN', types = { 'book', 'collection', 'map', 'journal' }, COinS = 'rft.isbn' },
issn = { 'ISSN', COinS = 'rft.issn' },
eissn = { 'EISSN', COinS = 'rft.eissn' },
doi = { 'DOI', COinS_id = 'info:doi' },
ignoreError = { 'ignoreError', 'ignoreErrors', 'keinFehler', 'kein Fehler' },
jstor = { 'JSTOR', types = { 'journal', 'newspaper' } },
dnb = { 'DNB', types = { 'book', 'collection', 'map' } },
oclc = { 'OCLC', types = { 'book', 'collection', 'map' }, COinS_id = 'info:oclcnum' },
language = { 'Sprache' },
comment = { 'Kommentar', 'Zitat', 'Beschreibung' }
},
-- list of formatter strings
-- formatting is geared to DIN 690 = ISO 690, and DIN 1505-2
formatters = {
-- author
auAuthor = '%s: ',
auAuthorEditor = '%s ; %s',
auEditor = '%s (Hrsg.)',
-- title
tiAll = '%s. ',
tiAddition = '%s / %s',
tiChapter = "Kapitel ''%s''",
tiIn = 'In: ',
tiScale = 'Maßstab: %s. ',
tiSeries = '(%s)',
tiTitle = "''%s''",
tiVolume = "''%s''; Bd. %s",
-- publisher
puAll = '%s.',
puDateEdition = '%s (%d. Auflage)',
puPlaceDate = '%s, %s',
puPlacePub = '%s: %s',
-- additions
addColumns = 'Sp. %s',
addComment = ' %s',
addDelimiter1 = ', ',
addDelimiter2 = '; ',
addExtent = '%s Seiten',
addLanguage = ' (%s)',
addPages = 'S. %s',
-- periodical
prAbbr = ' (%s)',
prIssue = 'Nr. %s',
prPlace = ' <%s>',
prVolume = 'Bd. %s',
prVolIssue = '%s,%s',
prVolYear = '%s (%s)',
-- newspaper
nsVolume = 'Jg. %s',
-- database ids
dbDnb = '[[w:Deutsche Nationalbibliothek|DNB]] [http://d-nb.info/%s %s]',
dbDoi = '[[w:Digital Object Identifier|doi]]:%s',
dbOclc = '[[w:Online Computer Library Center|OCLC]] [https://worldcat.org/oclc/%s %s]',
dbIssn = '[[w:Internationale Standardnummer für fortlaufende Sammelwerke|ISSN]] [http://zdb-katalog.de/list.xhtml?t=iss%3D%22xx1xx%22&key=cql xx1xx]',
dbJstor = '[[w:JSTOR|JSTOR]] [https://www.jstor.org/stable/%s %s]',
-- web
wbAccess = 'abgerufen am %s',
wbKBytes = 'Dateigröße: %s KByte',
wbMBytes = 'Dateigröße: %s MByte',
-- archive
arArchived = 'Archiviert',
arOriginal = 'Original',
arArchive = ' %s vom %s.',
arArchiveDate = ' %s vom %s am %s.',
arOffline = ' %s nicht mehr verfügbar.',
-- language
lgIn = 'in %s'
},
-- error categories and hints
texts = {
decimalPoint = ',',
noTitle = '<span class="error">Fehlender Titel</span>',
noTitleUrl = '<span class="error">Titel und URL fehlen</span>[[Category:Literatur: Titel und URL fehlen]]',
noURL = '<span class="error">Ungültige URL</span>[[Category:Literatur: ungültige URL]]',
unknownParam = '<span class="error">Ungültiger Parameter: %s</span>[[Category:Literatur: ungültige Parameter]]',
unknownParams = '<span class="error">Ungültige Parameter: %s</span>[[Category:Literatur: ungültige Parameter]]',
unknownTitle = '[[Category:Literatur: fehlender Titel]]',
unknownPeriodical = '[[Category:Literatur: fehlender Titel eines Periodikums]]',
wrongChars = '<span class="error">Ungültige Steuerzeichen</span>[[Category:Literatur: ungültige Steuerzeichen]]',
wrongDate = '<span class="error">Ungültiges Datum</span>[[Category:Literatur: ungültiges Datum]]',
wrongIssn = '<span class="error">Ungültige ISSN</span>[[Category:Seiten mit ISSN-Fehlern]]',
wrongPages = '<span class="error">Ungültige Seiten</span>[[Category:Literatur: ungültige Seiten]]',
wrongType = '<span class="error">Ungültiger Typ</span>[[Category:Literatur: ungültiger Typ]]',
wrongValue = '<span class="error">Ungültiger Wert: %s</span>[[Category:Literatur: ungültiger Wert]]',
wrongValues = '<span class="error">Ungültige Werte: %s</span>[[Category:Literatur: ungültiger Wert]]',
KBytesMBytes = '<span class="error">KBytes und MBytes gleichzeitig</span>[[Category:Literatur: KBytes und MBytes gleichzeitig]]'
}
}