Commit 097f2464 authored by Peter Xin's avatar Peter Xin

Fix

parent fee78a37
......@@ -15,7 +15,7 @@ def unit_test2
data = Sqlite.split Sqlite.load
data = [data[1]]
require './MSETranslator.rb'
MSETranslator.generate_mse_all(data)
MSETranslator.generate_mse_all(dataw)
end
def unit_test3
......@@ -25,8 +25,8 @@ end
def unit_test_god
require './Commands.rb'
Global.language = 'zh-CN'
Commands.generate_single(7127502)
Global.language = 'en-US'
p MSETranslator.split_effect YGOCoreJudgers.get_desc(Sqlite.load(17390179)[0])
end
unit_test_god
......@@ -49,7 +49,7 @@ en-US:
- "Divine-Beast"
- "Creator God"
- "Wyrm"
pendulum_effect_head: !ruby/regexp /Pendulum Scale\s*=\s*\d+\n*\[\s*Pendulum Effect\s*\]\n*(\-n\/a\-)*/
pendulum_effect_head: !ruby/regexp /Pendulum Scale\s*=\s*\d+\n*\[\s*Pendulum Effect\s*\]\n*(\-n\/a(\-)*)*/
monster_effect_head: !ruby/regexp /\n*(-+?\n+)*\n*\[\s*(Monster Effect|Flavor Text)\s*\]\s*?\n/
mse_language: en
mse_stylesheet: standard
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment