リファレンス · 印刷できるシート: 色をぬる地球と世界地図、わたしの国、昼と夜、季節
SAY定数
リファレンスの説明と例は英語です。見出しと目次は日本語です。
The package's name, the credits and the words a sheet carries, by language (the brand in a sheet's header is the page's to pass in).
インポート
import { SAY } from "@johnmorrisdotca/chikyu-earth/sheets";
定義
const SAY: { readonly en: { readonly pack: "Chikyu Earth"; readonly credits: "Outlines: Natural Earth (public domain). Names: kuni. The Sun's place: Meeus, Astronomical Algorithms."; readonly day: "Day"; readonly night: "Night"; readonly sun: "Sun"; readonly flag: "Draw the flag!"; readonly star: "Capital"; readonly light: "Sunlight"; readonly spring: "Spring"; readonly summer: "Summer"; readonly autumn: "Autumn"; readonly winter: "Winter"; readonly months: readonly ["March", "June", "September", "December"]; readonly colour: "Colour the continents, then the oceans."; }; readonly ja: { readonly pack: "Chikyu Earth 地球"; readonly credits: "ちずの せん: Natural Earth (パブリックドメイン)。なまえ: kuni。たいようの いち: Meeus の けいさん。"; readonly day: "ひる"; readonly night: "よる"; readonly sun: "たいよう"; readonly flag: "はたを かこう!"; readonly star: "しゅと"; readonly light: "ひかり"; readonly spring: "はる"; readonly summer: "なつ"; readonly autumn: "あき"; readonly winter: "ふゆ"; readonly months: readonly ["3がつ", "6がつ", "9がつ", "12がつ"]; readonly colour: "たいりくと うみに いろを ぬろう。"; }; } = {
en: {
pack: "Chikyu Earth",
credits: "Outlines: Natural Earth (public domain). Names: kuni. The Sun's place: Meeus, Astronomical Algorithms.",
day: "Day",
night: "Night",
sun: "Sun",
flag: "Draw the flag!",
star: "Capital",
light: "Sunlight",
spring: "Spring",
summer: "Summer",
autumn: "Autumn",
winter: "Winter",
months: ["March", "June", "September", "December"],
colour: "Colour the continents, then the oceans.",
},
ja: {
pack: "Chikyu Earth 地球",
credits: "ちずの せん: Natural Earth (パブリックドメイン)。なまえ: kuni。たいようの いち: Meeus の けいさん。",
day: "ひる",
night: "よる",
sun: "たいよう",
flag: "はたを かこう!",
star: "しゅと",
light: "ひかり",
spring: "はる",
summer: "なつ",
autumn: "あき",
winter: "ふゆ",
months: ["3がつ", "6がつ", "9がつ", "12がつ"],
colour: "たいりくと うみに いろを ぬろう。",
},
} as const
メンバー
| 名前 | 型 | 説明 |
|---|---|---|
en | { readonly pack: "Chikyu Earth"; readonly credits: "Outlines: Natural Earth (public domain). Names: kuni. The Sun's place: Meeus, Astronomical Algorithms."; readonly day: "Day"; readonly night: "Night"; readonly sun: "Sun"; readonly flag: "Draw the flag!"; readonly star: "Capital"; readonly light: "Sunlight"; readonly spring: "Spring"; readonly summer: "Summer"; readonly autumn: "Autumn"; readonly winter: "Winter"; readonly months: readonly ["March", "June", "September", "December"]; readonly colour: "Colour the continents, then the oceans."; } | |
ja | { readonly pack: "Chikyu Earth 地球"; readonly credits: "ちずの せん: Natural Earth (パブリックドメイン)。なまえ: kuni。たいようの いち: Meeus の けいさん。"; readonly day: "ひる"; readonly night: "よる"; readonly sun: "たいよう"; readonly flag: "はたを かこう!"; readonly star: "しゅと"; readonly light: "ひかり"; readonly spring: "はる"; readonly summer: "なつ"; readonly autumn: "あき"; readonly winter: "ふゆ"; readonly months: readonly ["3がつ", "6がつ", "9がつ", "12がつ"]; readonly colour: "たいりくと うみに いろを ぬろう。"; } |
例
import { SAY } from "@johnmorrisdotca/chikyu-earth/sheets";
console.log(SAY.en.pack, SAY.ja.day);Chikyu Earth ひる出力(このページを作ったときに実行した結果)
この日本語は、まだ日本語を母語とする方の確認を受けていません。訂正を歓迎します。