Skip to content

Commit

Permalink
Fix typo in date settings
Browse files Browse the repository at this point in the history
  • Loading branch information
hwi-middle committed May 1, 2022
1 parent 8ffa183 commit 348f1c1
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions Assets/JB STUDIO/EZ2Screenshot/Editor/EZ2ScreenshotWindow.cs
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,8 @@ private void SetLanguageOnGUI()
"English",
"한국어",
};
EZ2ScreenshotLocalizer.CurrentLang = (EZ2ScreenshotLocalizer.EZ2ScreenshotLang) EditorGUILayout.Popup(GetLocalizedString("gui_language_yours"), (int) EZ2ScreenshotLocalizer.CurrentLang, displayedLanguage);
EZ2ScreenshotLocalizer.CurrentLang =
(EZ2ScreenshotLocalizer.EZ2ScreenshotLang) EditorGUILayout.Popup(GetLocalizedString("gui_language_yours"), (int) EZ2ScreenshotLocalizer.CurrentLang, displayedLanguage);
}

private void SetPathOnGUI()
Expand Down Expand Up @@ -325,7 +326,7 @@ private void SetFileNameOnGUI()
$"{GetLocalizedString("gui_advanced_date_item_dmy")}",
$"{GetLocalizedString("gui_advanced_date_item_ymd")}",
};
m_dateType = (EDateType) EditorGUILayout.Popup("Date Format", (int) m_dateType, dateFormat);
m_dateType = (EDateType) EditorGUILayout.Popup(GetLocalizedString("gui_advanced_date_date_format"), (int) m_dateType, dateFormat);
m_useTwoDigitYear = EditorGUILayout.Toggle(GetLocalizedString("gui_advanced_date_2digit_year"), m_useTwoDigitYear);
m_dateSeparator = EditorGUILayout.TextField(GetLocalizedString("gui_advanced_date_separator"), m_dateSeparator);
m_useZerofillDate = EditorGUILayout.Toggle(GetLocalizedString("gui_advanced_date_leading_zero"), m_useZerofillDate);
Expand Down Expand Up @@ -354,7 +355,8 @@ private void SetFileNameOnGUI()
if (m_showIndexSettings)
{
EditorGUILayout.HelpBox($"{GetLocalizedString("gui_advanced_index_info_current_index")}: {m_screenshotIdx.ToString($"D{m_minDigits}")}\n" +
$"{GetLocalizedString("gui_advanced_index_info_next_index")}: {(m_screenshotIdx + m_incrementalValue).ToString($"D{m_minDigits}")}", MessageType.None);
$"{GetLocalizedString("gui_advanced_index_info_next_index")}: {(m_screenshotIdx + m_incrementalValue).ToString($"D{m_minDigits}")}",
MessageType.None);

m_screenshotIdx = EditorGUILayout.IntField(GetLocalizedString("gui_advanced_index_current_index"), m_screenshotIdx);
m_incrementalValue = EditorGUILayout.IntField(GetLocalizedString("gui_advanced_index_incremental_value"), m_incrementalValue);
Expand Down

0 comments on commit 348f1c1

Please sign in to comment.