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

Message box hardcoded and so unstranslatable

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Fix Version/s: None
    • Component/s: CRT, RosDlls
    • Labels:

      Description

      The message box generated by lib/sdk/crt/misc/assert.c has hardcoded strings and so cannot be translated to other languages than english:

      11	static const char formatstr[] =
      12	    "Assertion failed!\n\n"
      13	    "Program: %s\n"
      14	    "File: %s\n"
      15	    "Line: %ld\n\n"
      16	    "Expression: %s\n"
      17	    "Press Retry to debug the application\n\0";

      As example, translating to spanish would be:

      11	static const char formatstr[] =
      12	    "¡Error encontrado!\n\n"
      13	    "Programa: %s\n"
      14	    "Archivo: %s\n"
      15	    "Línea: %ld\n\n"
      16	    "Expresión: %s\n"
      17	    "Presione "Reintentar" para depurar la aplicación\n\0";

      And so with others langs...

        Attachments

          Activity

            People

            • Assignee:
              bug zilla Bug Zilla
              Reporter:
              Julcar Julcar
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: