Uploaded image for project: 'Core ReactOS'
  1. Core ReactOS
  2. CORE-2603

kernel32 error localization (planned?)

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Fix Version/s: None
    • Component/s: Tools
    • Labels:
      None
    • Environment:

      Operating System: ReactOS
      Platform: x86 Hardware

      Description

      Example:
      start ROS, run CMD, "copy xyz" (or any other file that doesn't exist)
      -> ERROR_FILE_NOT_FOUND - The system cannot find the file specified.

      (from \obj-i386\dll\win32\kernel32\errcodes.rc)

      and that's because the error is retrieved in \base\shell\cmd\copy.c using GetLastError(). This error will always be displayed in english, overriding the chosen language.

      If I execute ROS CMD.exe in Windows trying the above I get a localized/translated error message. That makes me believe, that Windows passes translated GetLastError messages.
      Is that planned as well for ROS?

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                bug zilla Bug Zilla
                Reporter:
                grschneider Gregor Schneider
              • Votes:
                1 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated: