モジュール:Spoken Wikipedia/configuration

モジュールの解説[表示] [編集] [履歴] [キャッシュを破棄]

モジュール:Spoken Wikipediaの設定用モジュールです。表示される文字列やCSSクラスを指定します。

return {
	templatestyles = 'モジュール:Spoken Wikipedia/styles.css',
	i18n = {
		this_article = '英語版記事',
		this_page = '英語版ページ',
		minute = '分',
		minutes = '分',
		hour = '時間',
		hours = '時間',
		listento = '%sの音声を再生',
		one_file_disclaimer = '[[:File:%s|この音声ファイル]]は%sの%s版を元に作成されており、以降の記事の編集内容は反映されていません。',
		-- first %s in n_files_disclaimer is a dummy
		n_files_disclaimer = '%sこれらの音声ファイルは%sの%s版を元に作成されており、以降の記事の編集内容は反映されていません。',
		one_file_length = ' (%s)',
		n_files_length = '<br />(%s&nbsp;パート、%s)',
		one_file = '[[File:%s|noicon|200px|center]]',
		n_files = '\n# [[File:%s|パート%d]]',
		topicon_multiwikilink = ':en:Wikipedia:WikiProject Spoken Wikipedia',
		icon = '[[File:Sound-icon.svg|45px|alt=Spoken Wikipediaのアイコン|link=|Spoken Wikipedia]]',
		footer = '([[Help:音声・動画の再生|再生ヘルプ]]&nbsp;· [[:en:Wikipedia:Spoken articles|Spoken Wikipediaについて]])',
		err = {
			no_filename = 'エラー: ファイル名が未入力です',
			no_date = 'エラー: 日付が未入力です'
		},
		cat = {
			no_filename = '[[Category:テンプレート呼び出しエラーのあるページ/Template:Spoken Wikipedia]]',
			no_date = '[[Category:テンプレート呼び出しエラーのあるページ/Template:Spoken Wikipedia]]',
			articles = '[[Category:hAudioマイクロフォーマットがある記事]]'
		},
		class = {
			err = 'error',
			box = 'spoken-wikipedia sisterproject noprint haudio',
			header = 'spoken-wikipedia-header',
			listento = 'spoken-wikipedia-listen-to',
			icon = 'spoken-wikipedia-icon',
			files = 'spoken-wikipedia-files',
			disclaimer = 'spoken-wikipedia-disclaimer',
			footer = 'spoken-wikipedia-footer'
		}
	}
}