Skip to content
This repository was archived by the owner on Dec 14, 2024. It is now read-only.

Commit 2e83705

Browse files
committed
Merge branch 'master' of github.com:kaibadash/midi2musicxml
2 parents f544a7e + 81623d1 commit 2e83705

File tree

3 files changed

+5
-3
lines changed

3 files changed

+5
-3
lines changed

src/main/kotlin/com/pokosho/midi2musicxml/gui/MainViewController.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ class MainViewController {
116116
saveToPreference()
117117
listOf(textPathToNeutrino.text, textPathToLyric.text, textPathToInputMid.text).forEach {
118118
if (!File(it).exists()) {
119-
textMessage.text = "実行に必要なファイル(${textPathToLyric.text})が見つかりませんでした。"
119+
textMessage.text = "${i18nBundle.getString("error.not_found")}:${textPathToLyric.text}"
120120
return false
121121
}
122122
}

src/main/resources/strings.properties

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,4 +16,5 @@ warning.lyric_count_not_match=Number of notes(%s) doesn't match number of lyric
1616
warning.notes_too_high=Many notes(%s) are too high. Valid octave?
1717
warning.notes_too_low=Many notes(%s) are too low. Valid octave?
1818
warning.no_lyric=No lyrics.
19-
warning.start_with_note=musicxml should start with a rest. Added a rest.
19+
warning.start_with_note=musicxml should start with a rest. Added a rest.
20+
error.not_found=File not found

src/main/resources/strings_ja.properties

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,4 +16,5 @@ warning.lyric_count_not_match=%s個の音符に対して、%s個の文字が指
1616
warning.notes_too_high=多くのが音符(%s個)が高すぎるようです。正しいオクターブですか?
1717
warning.notes_too_low=多くのが音符(%s個)が低すぎるようです。正しいオクターブですか?
1818
warning.no_lyric=歌詞がありません。
19-
warning.start_with_note=musicxmlは休符で始まっている必要があります。休符を追加しました。
19+
warning.start_with_note=musicxmlは休符で始まっている必要があります。休符を追加しました。
20+
error.not_found=ファイルが見つかりませんでした

0 commit comments

Comments
 (0)