]> git.draconx.ca Git - cdecl99.git/blobdiff - po/en.po
Use gperf to implement command selection.
[cdecl99.git] / po / en.po
index 42dc6a004c972a23a050e4ab6cdd311c7c7b8bb9..3f2f38405ce4b0e99ab519251b82566ddef1635c 100644 (file)
--- a/po/en.po
+++ b/po/en.po
@@ -1,13 +1,13 @@
 # English translations for cdecl99 package.
 # This file is put in the public domain.
-# Nick Bowler <nbowler@draconx.ca>, 2011.
+# Nick Bowler <nbowler@draconx.ca>, 2021.
 #
 msgid ""
 msgstr ""
 "Project-Id-Version: cdecl99 0.1\n"
 "Report-Msgid-Bugs-To: nbowler@draconx.ca\n"
-"POT-Creation-Date: 2020-06-29 22:52-0400\n"
-"PO-Revision-Date: 2011-09-13 21:54-0400\n"
+"POT-Creation-Date: 2021-03-01 23:36-0500\n"
+"PO-Revision-Date: 2021-03-01 23:41-0500\n"
 "Last-Translator: Nick Bowler <nbowler@draconx.ca>\n"
 "Language-Team: English\n"
 "Language: en\n"
@@ -16,195 +16,173 @@ msgstr ""
 "Content-Transfer-Encoding: 8bit\n"
 "Plural-Forms: nplurals=2; plural=(n != 1);\n"
 
-#: lib/getopt.c:547 lib/getopt.c:576
+#: src/execute.gperf:97
 #, c-format
-msgid "%s: option '%s' is ambiguous; possibilities:"
+msgid "unknown command %.*s\n"
 msgstr ""
 
-#: lib/getopt.c:624 lib/getopt.c:628
-#, c-format
-msgid "%s: option '--%s' doesn't allow an argument\n"
-msgstr ""
+#: src/execute.gperf:101
+msgid "Try \"help\" for a list of possible commands."
+msgstr "Try “help” for a list of possible commands."
 
-#: lib/getopt.c:637 lib/getopt.c:642
-#, c-format
-msgid "%s: option '%c%s' doesn't allow an argument\n"
+#: src/commands.h:12
+msgid "Print this list of commands"
 msgstr ""
 
-#: lib/getopt.c:685 lib/getopt.c:704
-#, c-format
-msgid "%s: option '--%s' requires an argument\n"
+#: src/commands.h:13
+msgid "Construct a C declaration"
 msgstr ""
 
-#: lib/getopt.c:742 lib/getopt.c:745
-#, c-format
-msgid "%s: unrecognized option '--%s'\n"
+#: src/commands.h:14
+msgid "Simplify a C declaration"
 msgstr ""
 
-#: lib/getopt.c:753 lib/getopt.c:756
-#, c-format
-msgid "%s: unrecognized option '%c%s'\n"
+#: src/commands.h:15
+msgid "Construct a C type name"
 msgstr ""
 
-#: lib/getopt.c:805 lib/getopt.c:808
-#, c-format
-msgid "%s: invalid option -- '%c'\n"
+#: src/commands.h:16
+msgid "Explain a C declaration"
 msgstr ""
 
-#: lib/getopt.c:861 lib/getopt.c:878 lib/getopt.c:1088 lib/getopt.c:1106
-#, c-format
-msgid "%s: option requires an argument -- '%c'\n"
+#: src/commands.h:17
+msgid "Quit the program"
 msgstr ""
 
-#: lib/getopt.c:934 lib/getopt.c:950
+#: src/cdecl99.c:71
 #, c-format
-msgid "%s: option '-W %s' is ambiguous\n"
+msgid "Usage: %s [options]\n"
 msgstr ""
 
-#: lib/getopt.c:974 lib/getopt.c:992
+#: src/cdecl99.c:73
 #, c-format
-msgid "%s: option '-W %s' doesn't allow an argument\n"
+msgid "Try %s --help for more information.\n"
 msgstr ""
 
-#: lib/getopt.c:1013 lib/getopt.c:1031
+#: src/cdecl99.c:88
 #, c-format
-msgid "%s: option '-W %s' requires an argument\n"
+msgid "  -%c, --%s=%s"
 msgstr ""
 
-#: src/cdecl99.c:43
-msgctxt "longopt"
-msgid "quiet"
+#: src/cdecl99.c:92
+#, c-format
+msgid "  -%c, --%s"
 msgstr ""
 
-#: src/cdecl99.c:44
-msgctxt "longopt"
-msgid "batch"
+#: src/cdecl99.c:142
+msgid ""
+"This is \"cdecl99\": a command-line tool for parsing and constructing\n"
+"complicated C declarations."
 msgstr ""
+"This is “cdecl99”: a command-line tool for parsing and constructing\n"
+"complicated C declarations."
 
-#: src/cdecl99.c:45
-msgctxt "longopt"
-msgid "interactive"
+#: src/cdecl99.c:146
+msgid "Options:"
 msgstr ""
 
-#: src/cdecl99.c:46
-msgctxt "longopt"
-msgid "file"
+#: src/cdecl99.c:164
+msgid "For more information, see the cdecl99(1) man page."
 msgstr ""
 
-#: src/cdecl99.c:47
-msgctxt "longopt"
-msgid "execute"
+#. TRANSLATORS: Please add *another line* indicating where users should
+#. report translation bugs.
+#.
+#: src/cdecl99.c:171
+#, c-format
+msgid "Report bugs to <%s>.\n"
 msgstr ""
 
-#: src/cdecl99.c:48
-msgctxt "longopt"
-msgid "version"
+#: src/cdecl99.c:301
+#, c-format
+msgid "%s: excess command-line arguments:"
 msgstr ""
 
-#: src/cdecl99.c:49
-msgctxt "longopt"
-msgid "help"
+#: src/options.h:52
+msgctxt "execute"
+msgid "COMMAND"
 msgstr ""
 
-#. TRANSLATORS: Help messages are indented 20 spaces and thus should
-#. not have lines longer than 60 columns.
-#.
-#: src/cdecl99.c:67
-msgid "Suppress the welcome message.\n"
+#: src/options.h:53
+msgctxt "file"
+msgid "FILE"
 msgstr ""
 
-#: src/cdecl99.c:68
-msgid "Execute commands as normal, but do not print any prompts.\n"
+#: src/options.h:57
+msgctxt "quiet"
+msgid "Suppress the welcome message."
 msgstr ""
 
-#: src/cdecl99.c:69
-msgid "Run in interactive mode.  This is the default.\n"
+#: src/options.h:59
+msgctxt "batch"
+msgid ""
+"Run in batch mode.  Commands are executed as normal but\n"
+"prompts are not printed."
 msgstr ""
 
-#: src/cdecl99.c:70
-msgid "Read commands from FILE instead of standard input.\n"
+#: src/options.h:62
+msgctxt "interactive"
+msgid "Run in interactive mode.  This is the default."
 msgstr ""
 
-#: src/cdecl99.c:71
-msgctxt "longopt|file"
-msgid "FILE"
+#: src/options.h:64
+msgctxt "file"
+msgid "Read commands from FILE instead of standard input."
 msgstr ""
 
-#: src/cdecl99.c:72
+#: src/options.h:66
+msgctxt "execute"
 msgid ""
 "Execute COMMAND as if it were entered at the prompt.\n"
-"This can be specified multiple times.\n"
-msgstr ""
-
-#: src/cdecl99.c:74
-msgctxt "longopt|execute"
-msgid "COMMAND"
+"This option can be specified multiple times."
 msgstr ""
 
-#: src/cdecl99.c:75
-msgid "Print a version message and then exit.\n"
+#: src/options.h:69
+msgctxt "version"
+msgid "Print a version message and then exit."
 msgstr ""
 
-#: src/cdecl99.c:76
-msgid "Print this message.\n"
+#: src/options.h:71
+msgctxt "help"
+msgid "Print this message and then exit."
 msgstr ""
 
-#. TRANSLATORS: ARG is only used for options without help text.
-#: src/cdecl99.c:79
-msgctxt "longopt"
-msgid "ARG"
-msgstr ""
-
-#: src/cdecl99.c:147
+#: lib/getopt.c:278
 #, c-format
-msgid "  -%c"
+msgid "%s: option '%s%s' is ambiguous\n"
 msgstr ""
 
-#: src/cdecl99.c:150
+#: lib/getopt.c:284
 #, c-format
-msgid "  -%c, --%s=%s"
+msgid "%s: option '%s%s' is ambiguous; possibilities:"
 msgstr ""
 
-#: src/cdecl99.c:151
+#: lib/getopt.c:319
 #, c-format
-msgid "  -%c, --%s"
+msgid "%s: unrecognized option '%s%s'\n"
 msgstr ""
 
-#: src/cdecl99.c:156
+#: lib/getopt.c:345
 #, c-format
-msgid "  -%c, --%s=%s, --%s=%s"
+msgid "%s: option '%s%s' doesn't allow an argument\n"
 msgstr ""
 
-#: src/cdecl99.c:160
+#: lib/getopt.c:360
 #, c-format
-msgid "  -%c, --%s, --%s"
-msgstr ""
-
-#: src/cdecl99.c:196
-msgid ""
-"This is \"cdecl99\": a command-line tool for parsing and constructing\n"
-"complicated C declarations.\n"
+msgid "%s: option '%s%s' requires an argument\n"
 msgstr ""
-"This is “cdecl99”: a command-line tool for parsing and constructing\n"
-"complicated C declarations.\n"
 
-#: src/cdecl99.c:199
-msgid "Options:"
-msgstr ""
-
-#: src/cdecl99.c:208
-msgid "For more information, see the cdecl99(1) man page.\n"
+#: lib/getopt.c:621
+#, c-format
+msgid "%s: invalid option -- '%c'\n"
 msgstr ""
 
-#. TRANSLATORS: Please add *another line* indicating where users should
-#. report translation bugs.
-#.
-#: src/cdecl99.c:214
+#: lib/getopt.c:636 lib/getopt.c:682
 #, c-format
-msgid "Report bugs to <%s>.\n"
+msgid "%s: option requires an argument -- '%c'\n"
 msgstr ""
 
-#: src/errors.lst:1
+#: src/commands.c:48 src/errors.lst:1
 msgid "failed to allocate memory"
 msgstr ""