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

Fix

parent fee78a37
...@@ -15,7 +15,7 @@ def unit_test2 ...@@ -15,7 +15,7 @@ def unit_test2
data = Sqlite.split Sqlite.load data = Sqlite.split Sqlite.load
data = [data[1]] data = [data[1]]
require './MSETranslator.rb' require './MSETranslator.rb'
MSETranslator.generate_mse_all(data) MSETranslator.generate_mse_all(dataw)
end end
def unit_test3 def unit_test3
...@@ -25,8 +25,8 @@ end ...@@ -25,8 +25,8 @@ end
def unit_test_god def unit_test_god
require './Commands.rb' require './Commands.rb'
Global.language = 'zh-CN' Global.language = 'en-US'
Commands.generate_single(7127502) p MSETranslator.split_effect YGOCoreJudgers.get_desc(Sqlite.load(17390179)[0])
end end
unit_test_god unit_test_god
...@@ -49,7 +49,7 @@ en-US: ...@@ -49,7 +49,7 @@ en-US:
- "Divine-Beast" - "Divine-Beast"
- "Creator God" - "Creator God"
- "Wyrm" - "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/ monster_effect_head: !ruby/regexp /\n*(-+?\n+)*\n*\[\s*(Monster Effect|Flavor Text)\s*\]\s*?\n/
mse_language: en mse_language: en
mse_stylesheet: standard 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