message catalogs: fix comment lines, also remove linux hack in merge.c

According to the spec, blank lines in message catalogs or lines
beginning with '$ ' are valid comments.

However, there were many cases where lines in the message catalogs
contained just a single '$', without the required space after it.

Under linux, this caused 126766 error lines (in my builds) of the
form:

... unknown directive `': line ignored

This also causes gencat to exit with a non-0 exit code.  Even though
gencat says it ignores the line, it really doesn't.

An early porting change to programs/localized/util/merge.c was made to
ignore this return value on linux.  This hack has now been removed.

Build logs are a lot smaller and cleaner now.
This commit is contained in:
Jon Trulson
2012-09-03 15:12:57 -06:00
parent e9bb2bcf09
commit a29fc20957
470 changed files with 22507 additions and 22515 deletions

View File

@@ -622,33 +622,33 @@ $ * String 237 is the Copy button on Move Other Mailboxes dialog (from RoamCmd
$ */
237 "Copiar"
$
$
$ DTMC_BADSTATE
$ The mailbox is in a state which cannot be deciphered by the Mailer, i.e.
$ portions of the file have been deleted by another process (the Mailer
$ only knows how to handle other processes adding to the end of the mailbox.
$
$
$ "-NEW"
238 "Mailer is confused about the state of this mailbox.\nIt may be that another process has rewritten this mailbox in an unexpected way.\n\nSelecting OK will cause the Mailer to close and reopen the mailbox.\nNOTE that any changes made to the mailbox since the last save may be lost."
$
$
$ DTMC_ACCESSFAILED
$ The Mailer cannot perform routine file operations on the mailbox file,
$ a.k.a. stat, fstat, write, ...
$
$
$ "-NEW"
239 "Mailer can no longer access this mailbox.\nIt may be that another process has deleted the mailbox file.\n\nSelecting OK will cause the Mailer to close and reopen the mailbox.\nNOTE that any changes made to the mailbox since the last save may be lost.\n\nSelecting CANCEL will leave the mailbox unchanged."
$
$
$ DTMC_INODECHANGED
$ The mailbox has been rewritten by another process.
$
$
$ "-NEW"
240 "Mailer can no longer access this mailbox.\nAnother process has rewritten the mailbox file changing the inode.\n\nSelecting OK will cause the Mailer to close and reopen the mailbox.\nNOTE that any changes made to the mailbox since the last save may be lost.\n\nSelecting CANCEL will leave the mailbox unchanged."
$
$
$ Messages 241-244 are header field labels for SendMsgDialog.
$
$
$ "-NEW"
241 "A"
$ "-NEW"
@@ -658,31 +658,31 @@ $ "-NEW"
$ "-NEW"
244 "Bcc"
$
$
$ Message 245 is the label for the Open command in the File menu
$ Message 246 is the label for the command in the OpenContainer menu
$ which opens Mailboxes not in the users folder list.
$
$
$ "-NEW"
245 "Abrir"
$ "-NEW"
246 "Otros Buzones..."
$
$
$ Message 247 is the label for the command in the Aliases menu
$ which opens the MailOptions dialog allowing the user to create
$ other aliases.
$ Message 248 is the label for the Aliases popup menu
$
$
$ "-NEW"
247 "Otros Alias..."
$ "-NEW"
248 "Aplicación de correo - Alias"
$
$
$ Messages 249-255 are strings used to generate attachment summaries
$ in included messages.
$
$
$ "-NEW"
249 "------------- Begin Included Attachment -------------\n\n"
$ "-NEW"
@@ -793,9 +793,9 @@ mandato \"Guardar Como\" para guardar un archivo."
24 "Salir"
25 "Se encontraron errores de sintaxis irrecuperables en el archivo ~/.mailrc.\nEs posible aplicar las opciones de correo a la sesión actual pero\nno se pueden guardar en el archivo."
$
$
$ Messages for file locking dialog displayed from the Advanced option pane.
$
$
$ "-NEW"
26 "The value of the file locking option has changed.\nTo take immediate effect, folders need to be closed and reopened.\n o Click on 'Reopen' to reopen folders,\n making the new option take effect immediately.\n o Click on 'Continue' to avoid reopening folders.\n The new option will take effect the next time you open a folder.\n o Click on 'Cancel' to cancel the Apply and return to editing options."
$ "-NEW"
@@ -805,9 +805,9 @@ $ "-NEW"
$ "-NEW"
29 "Cancel"
$
$
$ Messages for ToolTalk errors.
$
$
$ "-NEW"
30 "%s returned ToolTalk error: %s\n"
@@ -1044,27 +1044,27 @@ $ */
95 "Sólo lectura"
96 "Leer y escribir"
$
$
$ "-NEW"
$
$
$ This message appears when dtmail tries to open a mailbox which has been
$ opened by another dtmail process.
$
$
$ Parameters:
$ 1. Error message saying that the <mailbox>.dtmail lockfile has been found.
$ 2. The mailbox path.
$ 3. "OK"
$ 4. "Cancel"
$ 5. The <mailbox>.dtmail lockfile path.
$
$
97 "%s\n\nThis may indicate that another Mailer has opened\n%s\n\nYou may open this mailbox READ ONLY by choosing '%s'.\n\nOtherwise, you may choose '%s',\nmake sure that another Mailer has not opened this mailbox,\ndelete %s,\nand reopen this mailbox."
$
$
$ "-NEW"
$
$
$ Messages 98-100 check for problems in the paths specified by users of
$ the file selection box.
$
$
98 "Search permission denied on a component of the path prefix,\n'%s'."
99 "A component of the path prefix is not a directory,\n'%s'."
100 "A component of the path prefix does not exist,\n'%s'."
@@ -1180,9 +1180,9 @@ $set 15
1 "Ha realizado cambios y no los ha guardado. \nPodrá guardar o descartar los cambios\no volver al lugar anterior del cuadro de diálogo."
2 "Guardar"
3 "Descartar"
$
$
$ The followings are added by IBM for 41J release
$
$
$set 20
1 "El buzón %s ya está abierto."
$ The above message is used in RoamMenuWindow::open
@@ -1194,17 +1194,17 @@ $ see AIX cmvc defect 176608
$ The above message is used in RoamMenuWindow::mapnotify()
$ see AIX cmvc defect 176608
$
$
$ SETS 21 - 25 WERE ADDED TO SUPPORT CDEnext PRINTING
$
$
$ The following set was added to support CDEnext printing based on
$ the Xp Print Server.
$
$
$set 21
$
$
$ Messages 1 - 11 are used in DmxPrintJob.
$
$
$
$
$ This is the status message that gets displayed in the MainWindow
$ and RoamMenuWindow status lines when a print job is being executed.
$ The '%s' is the name of the temporary file containing the message(s)
@@ -1213,7 +1213,7 @@ $ to be printed.
$ Messages 2 - 4 are used in the error popup which gets displayed
$ when an invalid margin specifier has been supplied by the user.
$
$
$ Message 2 is the actual error messagactual error message
$ Message 3 is the title which is displayed in the error popup.
$ Message 4 is the label on the OK button of the error popup.
@@ -1223,7 +1223,7 @@ $ Message 4 is the label on the OK button of the error popup.
$ Messages 5 - 11 are format string used to construct the header
$ and footer strings which appear in the printing output.
$
$
$ Message 5 is the format string used to make a Cc header/footer.
$ Message 6 is the format string used to make a Date header/footer.
$ Message 7 is the format string used to make a From header/footer.
@@ -1239,11 +1239,11 @@ $ Message 11 is the format string used to make a UserName header/footer.
10 "Página %d de %d"
11 "Correo para: %s"
$
$
$ Messages 12 - 13, 20 are used in DmxPrintSetup to construct the
$ app-specific printing options for DtMail which will be included
$ in the DtPrintSetupBox.
$
$
$ Message 12 is the label used on the Toggle Button to indicate that
$ multiple messages should be printed in separate spool jobs.
$ Message 13 is the label used on the Toggle Button to indicate that
@@ -1254,7 +1254,7 @@ $ "wrapped" to the next line.
$ Messages 14 - 15 are status messages for the PrintToFile function.
$
$
$ Message 14 indicates that the PrintToFile function was unsuccessful.
$ Message 15 indicates that the PrintToFile function was successful.
$ NOTE: 'Print to File' should be translated as in DtPrint.msg
@@ -1264,9 +1264,9 @@ $ Set 1, Message 3.
$ NL_COMMENT
$ Messages 16 - 19 are obsolete, and have been replaced by 24
$
$
$ Messages 16 - 19 are status messages for the popup PDM function.
$
$
$ Message 16 indicates that there was no pdm deamon running.
$ Message 17 indicates that the pdm deamon was unable to start a pdm.
$ Message 18 indicates that the pdm couldnt connect to the video display.
@@ -1299,14 +1299,14 @@ $ Messages 24 & 25 are used to handle errors from the PDM
$
$
$ The messages in this set are used in pulldown menu for the
$ header/footer $ frame which is part of the "Printing" pane
$ in the Options dialog.
$
$
$ Messages 1 - 8 are used in DmxPrintOptions.
$
$
$
$
$ Message 1 specifies that the page header/footer field be empty.
$ Message 2 put the Cc msg header in the page header/footer field.
$ Message 3 put the Date msg header in the page header/footer field.
@@ -1325,18 +1325,18 @@ $set 22
7 "Número de página"
8 "Nombre de usuario"
$
$
$ The messages in this set are used in pulldown menu for the
$ Printed Message Headers option which is part of the "Printing" pane
$ in the Options dialog.
$
$
$ Messages 1 - 4 are used in DmxPrintOptions.
$
$
$ Message 1 don't print any message headers.
$ Message 2 print the "standard" msg headers (To, From, Subject, Cc).
$ Message 3 print the "abbreviated" msg headers as defined by the user.
$ Message 4 print all message headers.
$
$
$set 23
1 "Ninguno"
@@ -1344,19 +1344,19 @@ $set 23
3 "Abreviados"
4 "Todos"
$
$
$ The messages in this set are used in pulldown menu for the
$ Printed Message Headers option which is part of the "Printing" pane
$ in the Options dialog.
$
$
$ Messages 1 - 5 are used in DmxPrintOptions.
$
$
$ Message 1 use a New Line (CRLF) to separate multiple messages.
$ Message 2 use a Blank Line (2xCRLF) to separate multiple messages.
$ Message 3 use a Line of characters to separate multiple messages.
$ Message 4 start each new message on a new page.
$ Message 5 print each message in it's own spool job.
$
$
$set 24
1 "Nueva línea"
2 "Línea en blanco"
@@ -1364,32 +1364,32 @@ $set 24
4 "Nueva página"
5 "Nueva tarea"
$
$
$ The following set was added to support CDEnext printing based on
$ the Xp Print Server.
$
$
$ Messages 1 - 2 are used in DmxPrintOptions.
$
$
$
$
$set 25
$
$
$ Label for the option menu used to specify which message headers are
$ printed.
1 "Encabezamientos de mensajes impresos: "
$
$
$ Label for the option menu used to specify which how multiple messages
$ are separated.
2 "Separación de mensajes múltiples: "
$
$
$ The following set was added to support CDEnext printing based on
$ the Xp Print Server.
$
$
$ Messages 1-4 are used in error dialogs to indicate an invalid
$ entry for margin specifiers in the printing options pane.
$ Message 5 is the label string on the button to dismiss the error dialog.
$
$
$
$
$set 26
1 "El especificador del margen superior no es válido: "
2 "El especificador del margen derecho no es válido: "
@@ -1397,15 +1397,15 @@ $set 26
4 "El especificador del margen izquierdo no es válido: "
5 "Continuar"
$
$
$ The following set was added to support the Mail Retrieval option pane.
$
$
$ Messages 1-5 Used in the Server Protocol option menu to indicate the
$ set of mail server network protocols which are supported.
$ Messages 6-15 Are used to label the options in the pane.
$
$
$ "-NEW"
$
$
$set 27
1 "Auto"
2 "POP3"