OSDN Git Service

Fix an issue where the following messages are not translated. (#1712)
authorJun Tajima <56220423+tjmprm77@users.noreply.github.com>
Sun, 12 Feb 2023 04:07:26 +0000 (13:07 +0900)
committerGitHub <noreply@github.com>
Sun, 12 Feb 2023 04:07:26 +0000 (13:07 +0900)
- "Cannot find file filter template file!\n\nPlease copy file %1 to WinMerge/Filters folder:\n%2."
- "Left side file version, only for some file types."
- "Right side file version, only for some file types."
- "Middle side file version, only for some file types."

Src/DirViewColItems.cpp
Src/FileFiltersDlg.cpp

index c8bc6a6..bebe3bc 100644 (file)
@@ -88,9 +88,9 @@ const char *COLDESC_LTIMEC      = N_("Left side creation time.");
 const char *COLDESC_RTIMEC      = N_("Right side creation time.");
 const char *COLDESC_MTIMEC      = N_("Middle side creation time.");
 const char *COLDESC_NEWER       = N_("Tells which side has newer modification date.");
-const char *COLDESC_LVERSION    = N_("Left side file version, only for some filetypes.");
-const char *COLDESC_RVERSION    = N_("Right side file version, only for some filetypes.");
-const char *COLDESC_MVERSION    = N_("Middle side file version, only for some filetypes.");
+const char *COLDESC_LVERSION    = N_("Left side file version, only for some file types.");
+const char *COLDESC_RVERSION    = N_("Right side file version, only for some file types.");
+const char *COLDESC_MVERSION    = N_("Middle side file version, only for some file types.");
 const char *COLDESC_RESULT_ABBR = N_("Short comparison result.");
 const char *COLDESC_LATTRIBUTES = N_("Left side attributes.");
 const char *COLDESC_RATTRIBUTES = N_("Right side attributes.");
index 470b9a0..8a2b54d 100644 (file)
@@ -406,7 +406,7 @@ void FileFiltersDlg::OnBnClickedFilterfileNewbutton()
        if (paths::DoesPathExist(templatePath) != paths::IS_EXISTING_FILE)
        {
                String msg = strutils::format_string2(
-                       _("Cannot find file filter template file!\n\nPlease copy file %1 to WinMerge/Filters -folder:\n%2."),
+                       _("Cannot find file filter template file!\n\nPlease copy file %1 to WinMerge/Filters folder:\n%2."),
                        FILE_FILTER_TEMPLATE, templatePath);
                AfxMessageBox(msg.c_str(), MB_ICONERROR);
                return;