Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
ygopro-images-generator
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Packages
Packages
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issues
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
MyCard
ygopro-images-generator
Commits
8929cf19
Commit
8929cf19
authored
Apr 06, 2016
by
神楽坂玲奈
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
6e6e77f0
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
10 additions
and
8 deletions
+10
-8
MSEConstants.rb
MSEConstants.rb
+1
-1
MSETranslator.rb
MSETranslator.rb
+4
-1
entrypoint.sh
entrypoint.sh
+1
-2
locales/ja-JP.yml
locales/ja-JP.yml
+2
-2
locales/zh-CN.yml
locales/zh-CN.yml
+2
-2
No files found.
MSEConstants.rb
View file @
8929cf19
...
...
@@ -30,7 +30,7 @@ module MSEConstants
FileConfigName
=
"Chinese-Simplified"
PathImage
=
"Images"
Head
=
"mse version: 0.3.8
\n
game: yugioh
\n
stylesheet: standard
\n
set info:
\n\t
language: %s
\n\t
edition:
\n\t
no corner: yes
\t
ST mark is text: yes
\n\t
pendulum image is small: yes
\n\t
hide gamecode: yes
\n
"
Head
=
"mse version: 0.3.8
\n
game: yugioh
\n
stylesheet: standard
\n
set info:
\n\t
language: %s
\n\t
edition:
\n\t
no corner: yes
\
n\
t
ST mark is text: yes
\n\t
pendulum image is small: yes
\n\t
hide gamecode: yes
\n
"
End
=
"version control:
\n\t
type: none
\n
apprentice code: "
Width
=
319
...
...
MSETranslator.rb
View file @
8929cf19
...
...
@@ -68,7 +68,10 @@ module MSETranslator
end
def
reline
(
word
)
word
.
delete
"
\r\n
"
word
=
word
.
delete
"
\r
"
word
=
word
.
squeeze
"
\n
"
word
=
word
.
gsub
"。
\n
"
,
"。"
word
end
def
generate_text
(
key
,
word
)
...
...
entrypoint.sh
View file @
8929cf19
...
...
@@ -3,5 +3,4 @@
echo
"machine github.com login
${
GITHUB_USERNAME
}
password
${
GITHUB_PASSWORD
}
"
>
~/.netrc
chmod
600 ~/.netrc
Xvfb
-screen
0 1x0x24 &
ruby Server.rb
xvfb-run
--server-args
=
"-screen 0 1x0x24"
ruby Server.rb
locales/ja-JP.yml
View file @
8929cf19
...
...
@@ -49,6 +49,6 @@ ja-JP:
-
"
幻神獣族"
-
"
創造神族"
-
"
幻竜族"
pendulum_effect_head
:
!ruby/regexp
/【Pスケール:青(.*)/赤(.*)】/
monster_effect_head
:
!ruby/regexp
/
【モンスター効果】
/
pendulum_effect_head
:
!ruby/regexp
/【Pスケール:青(.*)/赤(.*)】
(\n)?
/
monster_effect_head
:
!ruby/regexp
/
(\n)?【モンスター効果】\n
/
mse_language
:
jp
locales/zh-CN.yml
View file @
8929cf19
...
...
@@ -49,6 +49,6 @@ zh-CN:
-
"
幻兽神族"
-
"
创世神族"
-
"
幻龙族"
pendulum_effect_head
:
!ruby/regexp
/←\
\d 【灵摆】 \\d→
/
monster_effect_head
:
!ruby/regexp
/
【怪兽效果】|【怪兽简介】|【怪兽描述】
/
pendulum_effect_head
:
!ruby/regexp
/←\
d+ 【灵摆】 \d+→\n?
/
monster_effect_head
:
!ruby/regexp
/
\n(?:【怪兽效果】|【怪兽简介】|【怪兽描述】)\n
/
mse_language
:
cn
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment