Skip to content

Commit

Permalink
Merge pull request #110 from Cilda/feature-multi-language
Browse files Browse the repository at this point in the history
多言語化
  • Loading branch information
Cilda authored Nov 4, 2023
2 parents a7cd80d + 8c2cca4 commit 3987bd9
Show file tree
Hide file tree
Showing 19 changed files with 1,331 additions and 77 deletions.
8 changes: 8 additions & 0 deletions UmaUmaChecker/UmaUmaChecker.vcxproj
Original file line number Diff line number Diff line change
Expand Up @@ -240,6 +240,7 @@
</ProjectReference>
</ItemDefinitionGroup>
<ItemGroup>
<ClCompile Include="src\Language\Languages.cpp" />
<ClCompile Include="src\UI\AboutDialog.cpp" />
<ClCompile Include="src\UI\CheckUpdateDialog.cpp" />
<ClCompile Include="src\Recognizer\CombineImage.cpp" />
Expand Down Expand Up @@ -282,6 +283,7 @@
<ClInclude Include="3rdparty\simstring\memory_mapped_file_win32.h" />
<ClInclude Include="3rdparty\simstring\ngram.h" />
<ClInclude Include="3rdparty\simstring\simstring.h" />
<ClInclude Include="src\Language\Languages.h" />
<ClInclude Include="src\Range.h" />
<ClInclude Include="src\UI\AboutDialog.h" />
<ClInclude Include="src\Capture\CaptureMode.h" />
Expand Down Expand Up @@ -426,6 +428,12 @@
<DestinationFolders Condition="'$(Configuration)|$(Platform)'=='Release|x64'">$(OutDir)\tessdata</DestinationFolders>
</CopyFileToFolders>
</ItemGroup>
<ItemGroup>
<None Include="locale\en.po" />
<None Include="locale\ja.po" />
<None Include="locale\ko.po" />
<None Include="locale\UmaUmaChecker.pot" />
</ItemGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
<ImportGroup Label="ExtensionTargets" />
</Project>
12 changes: 12 additions & 0 deletions UmaUmaChecker/UmaUmaChecker.vcxproj.filters
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,9 @@
<ClCompile Include="src\UI\DebugImageCombineFrame.cpp">
<Filter>ソース ファイル</Filter>
</ClCompile>
<ClCompile Include="src\Language\Languages.cpp">
<Filter>ソース ファイル</Filter>
</ClCompile>
</ItemGroup>
<ItemGroup>
<ClInclude Include="resource.h">
Expand Down Expand Up @@ -254,6 +257,9 @@
<ClInclude Include="src\Range.h">
<Filter>ヘッダー ファイル</Filter>
</ClInclude>
<ClInclude Include="src\Language\Languages.h">
<Filter>ヘッダー ファイル</Filter>
</ClInclude>
</ItemGroup>
<ItemGroup>
<ResourceCompile Include="UmaUmaChecker.rc">
Expand Down Expand Up @@ -302,4 +308,10 @@
<Filter>リソース ファイル</Filter>
</CopyFileToFolders>
</ItemGroup>
<ItemGroup>
<None Include="locale\UmaUmaChecker.pot" />
<None Include="locale\ja.po" />
<None Include="locale\en.po" />
<None Include="locale\ko.po" />
</ItemGroup>
</Project>
270 changes: 270 additions & 0 deletions UmaUmaChecker/locale/UmaUmaChecker.pot
Original file line number Diff line number Diff line change
@@ -0,0 +1,270 @@
#: src\ui\settingdialog.cpp:134
msgid "*Need to restart application."
msgstr ""

#: src\ui\checkupdatedialog.cpp:30
#, c-format
msgid "<h1>Available update %s</h1><h2>Update history</h2>"
msgstr ""

#: src\ui\mainframe.cpp:66
msgid "About"
msgstr ""

#: src\ui\aboutdialog.cpp:14
msgid "About UmaUmaChecker"
msgstr ""

#: src\ui\settingdialog.cpp:304
msgid "Apply after restart."
msgstr ""

#: src\ui\settingdialog.cpp:147
msgid "BitBlt"
msgstr ""

#: src\ui\settingdialog.cpp:171
msgid "Browse"
msgstr ""

#: src\ui\settingdialog.cpp:205
msgid "Cancel"
msgstr ""

#: src\ui\settingdialog.cpp:143
msgid "Capture Type"
msgstr ""

#: src\ui\mainframe.cpp:53
msgid ""
"Capture Umamusume window.\n"
"Click the right button to open save location."
msgstr ""

#: src\ui\settingdialog.cpp:193
msgid "Capture screen if event is not recognized"
msgstr ""

#: src\ui\aboutdialog.cpp:68
msgid "Check Update"
msgstr ""

#: src\ui\mainframe.cpp:93
msgid "Choise"
msgstr ""

#: src\ui\aboutdialog.cpp:45
msgid "Contain the following libraries:"
msgstr ""

#: src\ui\settingdialog.cpp:88
msgid "Dark"
msgstr ""

#: src\ui\settingdialog.cpp:190
msgid "Debug Mode"
msgstr ""

#: src\ui\checkupdatedialog.cpp:39
msgid "Do not check on startup."
msgstr ""

#: src\ui\settingdialog.cpp:110
msgid "Enable Status Bar"
msgstr ""

#: src\ui\mainframe.cpp:211
msgid "Error"
msgstr ""

#: src\ui\mainframe.cpp:82
msgid "Event Name"
msgstr ""

#: src\ui\mainframe.cpp:317
msgid "Failed to capture."
msgstr ""

#: src\data\eventlibrary.cpp:57
msgid "Failed to load Scenario Event Data."
msgstr ""

#: src\data\eventlibrary.cpp:61
msgid "Failed to load Skill Data."
msgstr ""

#: src\data\eventlibrary.cpp:49
msgid "Failed to load SupportCard Event Data."
msgstr ""

#: src\data\eventlibrary.cpp:53
msgid "Failed to load Umamusume Event Data."
msgstr ""

#: src\ui\mainframe.cpp:257
msgid "Failed to save image."
msgstr ""

#: src\ui\settingdialog.cpp:176
msgid "File Type"
msgstr ""

#: src\ui\settingdialog.cpp:35
msgid "General"
msgstr ""

#: src\ui\settingdialog.cpp:106
msgid "Hide \"no choise\" event"
msgstr ""

#: src\ui\settingdialog.cpp:138
msgid ""
"Increase the value then CPU usage and Memory increase.\n"
"Decrease the value then CPU usage and Memory decrease but be slowly recognize event."
msgstr ""

#: src\ui\settingdialog.cpp:92
msgid "Language"
msgstr ""

#: src\ui\settingdialog.cpp:87
msgid "Light"
msgstr ""

#: src\ui\settingdialog.cpp:163
msgid "Location"
msgstr ""

#: src\ui\settingdialog.cpp:78
msgid "Max number of effect line"
msgstr ""

#: src\ui\mainframe.cpp:57
#: src\ui\mainframe.cpp:311
msgid "Merge umamusume skill tab as an image."
msgstr ""

#: src\ui\settingdialog.cpp:261
msgid "No available update."
msgstr ""

#: src\ui\mainframe.cpp:263
#: src\ui\mainframe.cpp:277
msgid "Not found Umamusume window."
msgstr ""

#: src\ui\settingdialog.cpp:114
msgid "Notice on startup if there is available update"
msgstr ""

#: src\ui\settingdialog.cpp:125
msgid "Number of OCR"
msgstr ""

#: src\ui\settingdialog.cpp:121
msgid "OCR Setting"
msgstr ""

#: src\ui\mainframe.cpp:211
msgid "Please stop merging image to exit."
msgstr ""

#: src\ui\mainframe.cpp:60
#: src\ui\previewframe.cpp:14
msgid "Preview"
msgstr ""

#: src\ui\previewframe.cpp:29
#: src\ui\previewframe.cpp:108
msgid "Save an image"
msgstr ""

#: src\ui\settingdialog.cpp:158
msgid "Screenshot"
msgstr ""

#: src\ui\settingdialog.cpp:266
msgid "Select screenshot save location"
msgstr ""

#: src\ui\mainframe.cpp:63
#: src\ui\settingdialog.cpp:21
msgid "Setting"
msgstr ""

#: src\ui\checkupdatedialog.cpp:45
msgid "Skip"
msgstr ""

#: src\ui\mainframe.cpp:49
#: src\ui\mainframe.cpp:222
msgid "Start"
msgstr ""

#: src\ui\mainframe.cpp:226
msgid "Stop"
msgstr ""

#: src\ui\mainframe.cpp:298
#: src\ui\mainframe.cpp:302
msgid "Stop merge."
msgstr ""

#: src\ui\settingdialog.cpp:94
msgid "System Language"
msgstr ""

#: src\ui\settingdialog.cpp:85
msgid "Theme"
msgstr ""

#: src\ui\mainframe.cpp:74
msgid "Training Umamusume"
msgstr ""

#: src\version.h:11
#: src\ui\mainframe.cpp:257
#: src\ui\mainframe.cpp:263
#: src\ui\settingdialog.cpp:256
#: src\ui\settingdialog.cpp:261
msgid "UmaUmaChecker"
msgstr ""

#: src\ui\checkupdatedialog.cpp:48
#: src\ui\settingdialog.cpp:41
msgid "Update"
msgstr ""

#: src\ui\settingdialog.cpp:40
msgid "Update Event Data"
msgstr ""

#: src\ui\checkupdatedialog.cpp:20
msgid "Update UmaUmaChecker"
msgstr ""

#: src\ui\settingdialog.cpp:256
msgid "Update completed."
msgstr ""

#: src\ui\settingdialog.cpp:47
msgid "Window Font"
msgstr ""

#: src\ui\settingdialog.cpp:148
msgid "Windows 10 (above 1903)"
msgstr ""

#: src\ui\settingdialog.cpp:192
msgid "Write debug log in output.log"
msgstr ""

#: src\ui\mainframe.cpp:508
#, c-format
msgid "umamusume: %dx%d"
msgstr ""

#: src\ui\mainframe.cpp:128
#: src\ui\mainframe.cpp:511
msgid "umamusume: Not detected"
msgstr ""
Loading

0 comments on commit 3987bd9

Please sign in to comment.