Spaces:
Running
Running
File size: 6,818 Bytes
59718b5 c751fd4 59718b5 dbc1992 24d3971 dbc1992 21f99c2 7c72ece 21f99c2 59718b5 dbc1992 7c72ece dbc1992 7c72ece dbc1992 7c72ece dbc1992 59718b5 0852a22 dc2bac2 b7f5781 fd1f4c2 59718b5 0852a22 59718b5 dda161c c955f0a dda161c c955f0a dda161c 59718b5 0852a22 5dbcf27 c751fd4 5dbcf27 c955f0a 14ce0f4 c955f0a 59718b5 14ce0f4 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 |
def get_locale():
return {
"search": {
"title": {"en": "Card Search", "ja": "カード検索"},
"instructions": {
"en": "Enter any English or Japanese text to find all [Middle School legal](https://www.eternalcentral.com/middleschoolrules/) card titles which include it.",
"ja": "カードの英語名か日本語名を入力し始めると[ミドルスクールで使用可能](https://www.eternalcentral.com/middleschoolrules/)なカード名が引っかかります。",
},
"cards_are_legal": {
"en": " cards are legal.",
"ja": "枚 のカードが使用可能です。",
},
"search_by_card_name": {
"en": "Search by card name:",
"ja": "カード名で検索:",
},
"search_by_card_name_placeholder": {
"en": "Type a card name or part of it",
"ja": "カード名もしくはその一部を入力してください",
},
"select_type": {
"en": "Select card type:",
"ja": "タイプを選択してください:",
},
"search_by_type": {
"en": "Search by card type:",
"ja": "カードタイプで検索:",
},
"search_by_type_placeholder": {
"en": "Type a type, subtype or supertype",
"ja": "タイプ、サブタイプ、スーパータイプを入力",
},
"select_type_placeholder": {
"en": "Select card type(s)",
"ja": "カードタイプ選択",
},
"search_by_text": {
"en": "Search by rules text:",
"ja": "テキストで検索:",
},
"search_by_text_placeholder": {
"en": "Type a part of the rules text",
"ja": "テキストの一部を入力してください",
},
"exact_match": {
"en": "is an exact match.",
"ja": "が完全一致します。",
},
"banned_match": {
"en": "is an exact match, but it is banned.",
"ja": "が完全一致しますが、使用禁止になっています。",
},
"search_by_color": {
"en": "Color:",
"ja": "色:",
},
"search_by_mv": {
"en": "Mana value:",
"ja": "マナ総量:",
},
"search_by_pow": {
"en": "Power:",
"ja": "パワー:",
},
"search_by_tou": {
"en": "Toughness:",
"ja": "タフネス:",
},
"cards_found": {
"en": " cards were found in the card pool.",
"ja": "枚 のカードがカードプール見つかりました。",
},
"top_results": {
"en": "Top results:",
"ja": "上位の検索結果:",
},
"see_more": {
"en": "See more results",
"ja": "さらに表示する",
},
"see_20": {
"en": "Reset to 20 results",
"ja": "上位20枚表示に戻す",
},
},
"legality": {
"legal": {
"en": "Legal",
"ja": "使用可能",
},
"banned": {
"en": "Banned",
"ja": "禁止カード",
},
"not_legal": {
"en": "Not legal",
"ja": "使用不可",
},
},
"check": {
"title": {
"en": "List Check",
"ja": "リストチェック",
},
"instructions": {
"en": "Paste or type your list here to confirm that every card in it is [Middle School legal](https://www.eternalcentral.com/middleschoolrules/).",
"ja": "[ミドルスクールで使用可能](https://www.eternalcentral.com/middleschoolrules/)かどうかを確認するには、ここにリストを貼り付けたり入力したりしてください。",
},
"card_list": {
"en": "Card list",
"ja": "カードリスト",
},
"illegal_cards_1": {
"en": "**",
"ja": "使用不可カード **",
},
"illegal_cards_2": {
"en": "** illegal cards",
"ja": "**枚",
},
},
"basic": {
"color_w": {
"en": "W",
"ja": "白",
},
"color_u": {
"en": "U",
"ja": "青",
},
"color_b": {
"en": "B",
"ja": "黒",
},
"color_r": {
"en": "R",
"ja": "赤",
},
"color_g": {
"en": "G",
"ja": "緑",
},
"color_c": {
"en": "C",
"ja": "無/茶",
},
"type_artifact": {
"en": "Artifact",
"ja": "アーティファクト",
},
"type_creature": {
"en": "Creature",
"ja": "クリーチャー",
},
"type_enchantment": {
"en": "Enchantment",
"ja": "エンチャント",
},
"type_instant": {
"en": "Instant",
"ja": "インスタント",
},
"type_land": {
"en": "Land",
"ja": "土地",
},
"type_sorcery": {
"en": "Sorcery",
"ja": "ソーサリー",
},
},
}
def get_type_options():
_ = get_locale()
return {
"en": [
_["basic"]["type_artifact"]["en"],
_["basic"]["type_creature"]["en"],
_["basic"]["type_enchantment"]["en"],
_["basic"]["type_instant"]["en"],
_["basic"]["type_land"]["en"],
_["basic"]["type_sorcery"]["en"],
],
"ja": [
_["basic"]["type_artifact"]["ja"],
_["basic"]["type_creature"]["ja"],
_["basic"]["type_enchantment"]["ja"],
_["basic"]["type_instant"]["ja"],
_["basic"]["type_land"]["ja"],
_["basic"]["type_sorcery"]["ja"],
],
}
|