Skip to content

Commit

Permalink
Generate lang/*/text/messages from new lang/*/messages files.
Browse files Browse the repository at this point in the history
The source files contain lines of the form:

	NAME:ORIGINAL:TRANSLATION

Where "NAME" is the message name, "ORIGINAL" is the original text, and
"TRANSLATION" is the current translation.  This will allow translation
tools to determine if the translation for a given name is out of date
without preventing ezmlm-idx from outputting a translated message.
  • Loading branch information
bruceg committed Oct 22, 2007
1 parent 1b2543d commit ef113d6
Show file tree
Hide file tree
Showing 31 changed files with 210 additions and 199 deletions.
2 changes: 1 addition & 1 deletion TODO
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Put a real address into To: header in ezmlm-store (and others?)
add ezmlm-receipt to build system (needs to be fixed to compile)
add support for simultaneous multiple languages
Eliminate DIR/mailinglist?
Eliminate lang/*/ezmlmrc in favor of a single master ezmlmrc file?

Rewrite man pages to include a separate "configuration files" section.

Expand Down
6 changes: 6 additions & 0 deletions default.do
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,12 @@ case "$1" in
dependon makelang VERSION ezmlmrc.template
formake "./makelang $lang"
;;
lang/*/text/messages)
lang=${1#lang/}
lang=${lang%%/*}
dependon make-messages lang/$lang/messages
formake "./make-messages < lang/$lang/messages > lang/$lang/text/messages"
;;
auto_version.c)
dependon auto-str VERSION
formake './auto-str auto_version < VERSION > auto_version.c'
Expand Down
3 changes: 2 additions & 1 deletion it.do
Original file line number Diff line number Diff line change
Expand Up @@ -33,4 +33,5 @@ ezmlm-warn \
ezmlm-weed \
ezmlm-test \
sub-std.so \
ezmlmrc.all
ezmlmrc.all \
messages.all
2 changes: 2 additions & 0 deletions lang/cs/messages
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
TXT_ONLY_SUBSCRIBERS|Sorry, only subscribers may post. If you are a subscriber, please forward this message to <#L#>-owner@<#H#> to get your new address included.|Omlouv�m se, ale do tohoto listu sm�j� p�isp�vat pouze p�ihl�en� u�ivatel�. Jste-li p�ihl�en�m u�ivatelem, p�epo�lete tuto zpr�vu na adresu <#L#>-owner@<#H#>, aby akceptoval va�i novou adresu.
TXT_REJECT_POSTS|Sorry, I've been told to reject your posts. Contact <#L#>-owner@<#H#> if you have questions about this.|Omlov�m se, ale m�m p��kaz odm�tnout p��sp�vky od v�s. Kontaktujte <#L#>-owner@<#H#>, m�te-li dotazy k tomuto faktu.
2 changes: 0 additions & 2 deletions lang/cs/text/messages

This file was deleted.

2 changes: 2 additions & 0 deletions lang/da/messages
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
TXT_ONLY_SUBSCRIBERS|Sorry, only subscribers may post. If you are a subscriber, please forward this message to <#L#>-owner@<#H#> to get your new address included.|Beklager, kun tilmeldte m� poste. Hvis du er tilmeldt under et andet navn, videresend venligst dette brev til <#L#>-owner@<#H#> s� din nye adresse kan blive tilmeldt.
TXT_REJECT_POSTS|Sorry, I've been told to reject your posts. Contact <#L#>-owner@<#H#> if you have questions about this.|Desv�rre. Jeg har f�et instruktion om at afvise post fra dig. Kontakt <#L#>-owner@<#H#> hvis du mener der m� v�re sket en fejl.
2 changes: 0 additions & 2 deletions lang/da/text/messages

This file was deleted.

2 changes: 2 additions & 0 deletions lang/de/messages
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
TXT_ONLY_SUBSCRIBERS|Sorry, only subscribers may post. If you are a subscriber, please forward this message to <#L#>-owner@<#H#> to get your new address included.|Hier werden nur Nachrichten von Abonnenten der Liste akzeptiert. Falls Sie die Liste beziehen aber trotzdem nicht schreiben duerfen, schicken Sie bitte diese Nachricht an <#L#>-owner@<#H#> weiter, damit Ihre neue Adresse aufgenommen werden kann. Der Listeneigentuemer kann Sie ebenso gezielt fuer das Schreiben von Nachrichten freischalten, auch wenn Sie die Liste nicht beziehen.
TXT_REJECT_POSTS|Sorry, I've been told to reject your posts. Contact <#L#>-owner@<#H#> if you have questions about this.|Tut mir leid, ich wurde angewies en, Ihre Nachrichten nicht anzunehmen. Diesbezuegliche Fragen richten Sie bitte an <#L#>-owner@<#H#>
2 changes: 0 additions & 2 deletions lang/de/text/messages

This file was deleted.

165 changes: 165 additions & 0 deletions lang/en_US/messages
Original file line number Diff line number Diff line change
@@ -0,0 +1,165 @@
ERR_ADDR_AT|address does not contain @|address does not contain @
ERR_ADDR_LONG|address is too long|address is too long
ERR_ADDR_NL|address contains newline|address contains newline
ERR_ANONYMOUS|I do not reply to senders without host names (#5.7.2)|I do not reply to senders without host names (#5.7.2)
ERR_BADHOST|list host not allowed|list host not allowed
ERR_BADLOCAL|list local not allowed|list local not allowed
ERR_BADUSER|user not allowed|user not allowed
ERR_BAD_ADDRESS|I don't accept messages at this address (local doesn't match) (#5.1.1)|I don't accept messages at this address (local doesn't match) (#5.1.1)
ERR_BAD_ALL|Sorry, after removing unacceptable MIME parts from your message I was left with nothing (#5.7.0)|Sorry, after removing unacceptable MIME parts from your message I was left with nothing (#5.7.0)
ERR_BAD_DIGCODE|incorrect digest code (#5.7.1)|incorrect digest code (#5.7.1)
ERR_BAD_INDEX|Old format or corrupted index. Run ezmlm-idx! (#5.3.0)|Old format or corrupted index. Run ezmlm-idx! (#5.3.0)
ERR_BAD_NAME|only letters and underscore allowed in file name (#5.6.0)|only letters and underscore allowed in file name (#5.6.0)
ERR_BAD_PART|Sorry, a message part has an unacceptable MIME Content-Type: '<#1#>' (#5.2.3)|Sorry, a message part has an unacceptable MIME Content-Type: '<#1#>' (#5.2.3)
ERR_BAD_REQUEST|Illegal request format (#5.7.1)|Illegal request format (#5.7.1)
ERR_BAD_RETURN_ADDRESS|Invalid bounce or receipt address format (#5.1.1)|Invalid bounce or receipt address format (#5.1.1)
ERR_BAD_TYPE|Sorry, I don't accept messages of MIME Content-Type '<#1#>' (#5.2.3)|Sorry, I don't accept messages of MIME Content-Type '<#1#>' (#5.2.3)
ERR_BODYCOMMAND|Sorry, as the message starts with ``[un]subscribe'' it looks like an adminstrative request. Please send a message to the -help address shown in the ``Mailing-List:'' header for [un]subscribe info (#5.7.0)|Sorry, as the message starts with ``[un]subscribe'' it looks like an adminstrative request. Please send a message to the -help address shown in the ``Mailing-List:'' header for [un]subscribe info (#5.7.0)
ERR_BOUNCE|I do not reply to bounce messages (#5.7.2)|I do not reply to bounce messages (#5.7.2)
ERR_CFHOST|bounce-host required on first line of <#1#>|bounce-host required on first line of <#1#>
ERR_CHDIR|Unable to change directory to <#1#>|Unable to change directory to <#1#>
ERR_CHILD_CRASHED|child crashed|child crashed
ERR_CHILD_FATAL|fatal error from child|fatal error from child
ERR_CHILD_TEMP|temporary error from child|temporary error from child
ERR_CHILD_UNKNOWN|unknown error from child|unknown error from child
ERR_CHMOD|unable to chmod <#1#>|unable to chmod <#1#>
ERR_CHROOT|failed to chroot to <#1#>|failed to chroot to <#1#>
ERR_CLOSE|unable to close <#1#>|unable to close <#1#>
ERR_COOKIE|message does not have valid authentication token|message does not have valid authentication token
ERR_CREATE|unable to create <#1#>|unable to create <#1#>
ERR_CRONTAB|crontab update failed. Contact your sysadmin with the above error information|crontab update failed. Contact your sysadmin with the above error information
ERR_DELETE|unable to delete <#1#>|unable to delete <#1#>
ERR_DONE|message already successfully processed by this list|message already successfully processed by this list
ERR_DOW|single comma-separated digits only for day-of-week|single comma-separated digits only for day-of-week
ERR_EDSIZE|Maximum edit file size exceeded (#5.6.0)|Maximum edit file size exceeded (#5.6.0)
ERR_EMPTY_DIGEST|nothing to digest|nothing to digest
ERR_EMPTY_LIST|no messages in archive|no messages in archive
ERR_ENDTAG|tag lacks /> end marker|tag lacks /> end marker
ERR_EUID|effective user id not found|effective user id not found
ERR_EXCESS_DEFER|excess traffic: deferring|excess traffic: deferring
ERR_EXCESS_MOD|excess traffic: moderating|excess traffic: moderating
ERR_EXCLUSIVE|action-controlling switches are mutually exclusive|action-controlling switches are mutually exclusive
ERR_EXECUTE|unable to execute <#1#>|unable to execute <#1#>
ERR_EXTRA_SUB|Processed SENDER check addition request for: <#1#>|Processed SENDER check addition request for: <#1#>
ERR_EXTRA_UNSUB|Processed SENDER check removal request for: <#1#>|Processed SENDER check removal request for: <#1#>
ERR_FILENAME|continuation tag without defined file name: <#1#>|continuation tag without defined file name: <#1#>
ERR_FLUSH|unable to flush <#1#>|unable to flush <#1#>
ERR_FLUSH_STDOUT|unable to flush standard output|unable to flush standard output
ERR_FORK|unable to fork|unable to fork
ERR_JUNK|Precedence: junk - message ignored|Precedence: junk - message ignored
ERR_LINKDIR|linktag lacks /dir: <#1#>|linktag lacks /dir: <#1#>
ERR_LISTNO|max number of list entries exceeded|max number of list entries exceeded
ERR_LOOPING|this message is looping: it already has my Delivered-To line (#5.4.6)|this message is looping: it already has my Delivered-To line (#5.4.6)
ERR_MAILING_LIST|message already has a Mailing-List header (maybe I should be a sublist) (#5.7.2)|message already has a Mailing-List header (maybe I should be a sublist) (#5.7.2)
ERR_MAX_BOUNCE|max bounces exceeded: bounce will not be saved|max bounces exceeded: bounce will not be saved
ERR_MAX_SIZE|Sorry, I don't accept messages larger than <#1#> bytes (#5.2.3)|Sorry, I don't accept messages larger than <#1#> bytes (#5.2.3)
ERR_MIME_QUOTE|MIME boundary lacks end quote|MIME boundary lacks end quote
ERR_MIN_SIZE|Sorry, I don't accept messages shorter than <#1#> bytes (#5.2.3)|Sorry, I don't accept messages shorter than <#1#> bytes (#5.2.3)
ERR_MKTAB|creating subscriber tables failed|creating subscriber tables failed
ERR_MOD_ACCEPTED|I'm sorry, I've already accepted this message|I'm sorry, I've already accepted this message
ERR_MOD_COOKIE|Illegal or outdated moderator request (#5.7.1)|Illegal or outdated moderator request (#5.7.1)
ERR_MOD_REJECTED|I'm sorry, I've already rejected this message|I'm sorry, I've already rejected this message
ERR_MOD_TIMEOUT|I'm sorry, I no longer have this message|I'm sorry, I no longer have this message
ERR_MOVE|unable to move <#1#> to <#2#>|unable to move <#1#> to <#2#>
ERR_NEWLINE|newlines not allowed in dir|newlines not allowed in dir
ERR_NOCMD|command not available|command not available
ERR_NODEFAULT|DEFAULT not set|DEFAULT not set
ERR_NODTLINE|DTLINE not set|DTLINE not set
ERR_NOEXIST| does not exist| does not exist
ERR_NOINDEX|Sorry, I can't find the index for this message|Sorry, I can't find the index for this message
ERR_NOLOCAL|LOCAL not set|LOCAL not set
ERR_NOMEM|out of memory|out of memory
ERR_NOSENDER|SENDER not set|SENDER not set
ERR_NOT_ACTIVE|this sublist is not active|this sublist is not active
ERR_NOT_ALLOWED|Command allowed only to moderators (#5.7.1)|Command allowed only to moderators (#5.7.1)
ERR_NOT_ARCHIVED|Sorry, this list is not archived (#5.1.1)|Sorry, this list is not archived (#5.1.1)
ERR_NOT_AVAILABLE|Command not available (#5.1.1)|Command not available (#5.1.1)
ERR_NOT_CLEAN|Bad character in address components|Bad character in address components
ERR_NOT_INDEXED|Sorry, this list is not indexed (#5.1.1)|Sorry, this list is not indexed (#5.1.1)
ERR_NOT_PARENT|this message is not from my parent list (#5.7.2)|this message is not from my parent list (#5.7.2)
ERR_NOT_PUBLIC|Sorry, I've been told to reject all requests (#5.7.2)|Sorry, I've been told to reject all requests (#5.7.2)
ERR_NO_ABSOLUTE|absolute directory names outside of the list directory are no longer supported|absolute directory names outside of the list directory are no longer supported
ERR_NO_ADDRESS|List address must be in To: or Cc: (#5.7.0)|List address must be in To: or Cc: (#5.7.0)
ERR_NO_LEVELS|subscriber table names may not contain slashes|subscriber table names may not contain slashes
ERR_NO_MARK|missing start-of-text or end-of-text mark (#5.6.0)|missing start-of-text or end-of-text mark (#5.6.0)
ERR_NO_MATCH|no matching entry found|no matching entry found
ERR_NO_PLUGIN|no plugin specified in database connect data|no plugin specified in database connect data
ERR_NO_POST|I'm sorry, you are not allowed to post messages to this list (#5.7.2)|I'm sorry, you are not allowed to post messages to this list (#5.7.2)
ERR_NO_SUBJECT|Sorry, I don't accept message with empty Subject (#5.7.0)|Sorry, I don't accept message with empty Subject (#5.7.0)
ERR_OBTAIN_LOCK|unable to obtain lock on <#1#>|unable to obtain lock on <#1#>
ERR_OPEN|unable to open <#1#>|unable to open <#1#>
ERR_OPEN_LISTMSGS|unable to open <#1#> in listmsgs. Rerun ezmlm-archive!|unable to open <#1#> in listmsgs. Rerun ezmlm-archive!
ERR_PERIOD|periods not allowed in tags|periods not allowed in tags
ERR_QMAIL_QUEUE|unable to run qmail-queue|unable to run qmail-queue
ERR_QUOTE|quotes not allowed in dir|quotes not allowed in dir
ERR_READ|unable to read <#1#>|unable to read <#1#>
ERR_READ_INPUT|unable to read input|unable to read input
ERR_READ_NOTHING|unable to read <#1#>: nothing there|unable to read <#1#>: nothing there
ERR_READ_STDIN|unable to read standard input|unable to read standard input
ERR_REJECT|Sorry, I've been told to reject this message (#5.7.0)|Sorry, I've been told to reject this message (#5.7.0)
ERR_REQ_LISTNAME|This command requires a mailing list name (#5.1.1)|This command requires a mailing list name (#5.1.1)
ERR_REQ_LOCAL|the local part of the command string does not match this list (#5.1.1)|the local part of the command string does not match this list (#5.1.1)
ERR_SEEK|unable to seek <#1#>|unable to seek <#1#>
ERR_SEEK_INPUT|unable to seek input|unable to seek input
ERR_SETUID|unable to set uid|unable to set uid
ERR_SLASH|dir and dot must start with slash|dir and dot must start with slash
ERR_STAT|unable to stat <#1#>|unable to stat <#1#>
ERR_SUBCOMMAND|Sorry, I don't accept commands in the subject line. Please send a message to the -help address shown in the the ``Mailing-List:'' header for command info (#5.7.0)|Sorry, I don't accept commands in the subject line. Please send a message to the -help address shown in the the ``Mailing-List:'' header for command info (#5.7.0)
ERR_SUBLIST|sublist messages must have a Mailing-List header (#5.7.2)|sublist messages must have a Mailing-List header (#5.7.2)
ERR_SUBSCRIBER_CAN|only subscribers can <#1#> (#5.7.1)|only subscribers can <#1#> (#5.7.1)
ERR_SUBST_UNSAFE|Sorry, substitution of target addresses into headers with #A# or #t# is unsafe and not permitted.|Sorry, substitution of target addresses into headers with #A# or #t# is unsafe and not permitted.
ERR_SUB_NOP|target is already a subscriber|target is already a subscriber
ERR_SUID|Sorry, I won't run as root|Sorry, I won't run as root
ERR_SYNC|unable to sync <#1#>|unable to sync <#1#>
ERR_SYNTAX|syntax error in <#1#>|syntax error in <#1#>
ERR_SYNTAX_CONFIG|syntax error in config file <#1#>|syntax error in config file <#1#>
ERR_SYNTAX_MISSING_AUTHHASH| syntax error: <#1#>: missing author hash| syntax error: <#1#>: missing author hash
ERR_SYNTAX_MISSING_AUTHOR| syntax error: <#1#>: author info missing.| syntax error: <#1#>: author info missing.
ERR_SYNTAX_MISSING_FIRST| syntax error: <#1#>: first line missing| syntax error: <#1#>: first line missing
ERR_SYNTAX_MISSING_SEMIDATE| syntax error: <#1#>: missing \";\" after date| syntax error: <#1#>: missing \";\" after date
ERR_SYNTAX_MISSING_SEPARATOR| syntax error: <#1#>: missing subject separator| syntax error: <#1#>: missing subject separator
ERR_SYNTAX_MISSING_SUBJHASH| syntax error: <#1#>: missing subject hash| syntax error: <#1#>: missing subject hash
ERR_TMP_QMAIL_QUEUE|temporary qmail-queue error|temporary qmail-queue error
ERR_UID|user id not found|user id not found
ERR_UNIQUE|unable to create unique message file name|unable to create unique message file name
ERR_UNSUB_NOP|target is not a subscriber|target is not a subscriber
ERR_VERSION|ezmlmrc version mismatch. Behavior may not match docs.|ezmlmrc version mismatch. Behavior may not match docs.
ERR_WRITE|unable to write <#1#>|unable to write <#1#>
ERR_WRITE_STDOUT|unable to write to standard output|unable to write to standard output
SUB_CONFIRM_POST|Confirm post to <#L#>@<#H#>|Confirm post to <#L#>@<#H#>
SUB_EDIT_LIST|List of editable text files for <#L#>@<#H#>|List of editable text files for <#L#>@<#H#>
SUB_EDIT_REQUEST|EDIT <#1#> for <#L#>@<#H#>|EDIT <#1#> for <#L#>@<#H#>
SUB_EDIT_SUCCESS|Success editing <#1#> for <#L#>@<#H#>|Success editing <#1#> for <#L#>@<#H#>
SUB_FAQ|FAQ for <#L#>@<#H#>|FAQ for <#L#>@<#H#>
SUB_GET_MSG|Archive retrieval from <#L#>@<#H#>|Archive retrieval from <#L#>@<#H#>
SUB_GOODBYE|GOODBYE from <#L#>@<#H#>|GOODBYE from <#L#>@<#H#>
SUB_HELP|Help for <#L#>@<#H#>|Help for <#L#>@<#H#>
SUB_INFO|Information for <#L#>@<#H#>|Information for <#L#>@<#H#>
SUB_LIST|Subscriber list for <#L#>@<#H#>|Subscriber list for <#L#>@<#H#>
SUB_LOG|Subscriber log for <#L#>@<#H#>|Subscriber log for <#L#>@<#H#>
SUB_LOG_SEARCH|Log search results for <#L#>@<#H#>|Log search results for <#L#>@<#H#>
SUB_MODERATE|MODERATE for <#L#>@<#H#>|MODERATE for <#L#>@<#H#>
SUB_MOD_HELP|Moderator help for <#L#>@<#H#>|Moderator help for <#L#>@<#H#>
SUB_MOD_SUBSCRIBE|CONFIRM subscribe to <#L#>@<#H#>|CONFIRM subscribe to <#L#>@<#H#>
SUB_MOD_UNSUBSCRIBE|CONFIRM unsubscribe from <#L#>@<#H#>|CONFIRM unsubscribe from <#L#>@<#H#>
SUB_PROBE|Probe from <#L#>@<#H#>|Probe from <#L#>@<#H#>
SUB_RESULTS|<#L#> results|<#L#> results
SUB_RETURNED_POST|Returned post for <#L#>@<#H#>|Returned post for <#L#>@<#H#>
SUB_STATUS|Subscription status on <#L#>@<#H#>|Subscription status on <#L#>@<#H#>
SUB_SUBSCRIBE_NOP|Already subscribed to <#L#>@<#H#>|Already subscribed to <#L#>@<#H#>
SUB_UNSUBSCRIBE_NOP|Not subscribed to <#L#>@<#H#>|Not subscribed to <#L#>@<#H#>
SUB_USR_SUBSCRIBE|confirm subscribe to <#L#>@<#H#>|confirm subscribe to <#L#>@<#H#>
SUB_USR_UNSUBSCRIBE|confirm unsubscribe from <#L#>@<#H#>|confirm unsubscribe from <#L#>@<#H#>
SUB_WARNING|Warning from <#L#>@<#H#>|Warning from <#L#>@<#H#>
SUB_WELCOME|WELCOME to <#L#>@<#H#>|WELCOME to <#L#>@<#H#>
TXT_ADMINISTRIVIA|Administrivia:|Administrivia:
TXT_BY|by|by
TXT_EDIT_END|%%% END OF TEXT FILE|%%% END OF TEXT FILE
TXT_EDIT_START|%%% START OF TEXT FILE|%%% START OF TEXT FILE
TXT_LISTMEMBERS|Subscribers to this list are:|Subscribers to this list are:
TXT_MAILING_LIST|contact <#L#>-help@<#H#>; run by ezmlm|contact <#L#>-help@<#H#>; run by ezmlm
TXT_NOINDEX|aaaaaaaaaaaaaaaaaaaa <- subject index not available for message(s) ->|aaaaaaaaaaaaaaaaaaaa <- subject index not available for message(s) ->
TXT_ONLY_SUBSCRIBERS|Sorry, only subscribers may post. If you are a subscriber, please forward this message to <#L#>-owner@<#H#> to get your new address included.|Sorry, only subscribers may post. If you are a subscriber, please forward this message to <#L#>-owner@<#H#> to get your new address included.
TXT_REJECT_POSTS|Sorry, I've been told to reject your posts. Contact <#L#>-owner@<#H#> if you have questions about this.|Sorry, I've been told to reject your posts. Contact <#L#>-owner@<#H#> if you have questions about this.
TXT_SUPPRESSED|<suppressed>|<suppressed>
TXT_TOP_TOPICS|Topics (messages <#1#> through <#2#>)|Topics (messages <#1#> through <#2#>)
Loading

0 comments on commit ef113d6

Please sign in to comment.