1 Short description of the source files 2 ===================================== 3 4The msg* and xgettext programs. 5 6Bottom-up structure: 7 8str-list.h 9str-list.c 10 A list-of-immutable-strings type. 11 12dir-list.h 13dir-list.c 14 Management of the list of directories where PO files are 15 searched. 16 17file-list.h 18file-list.c 19 Reading a file list from a file. Used by those programs which 20 accept multiple file arguments and have a --files-from option. 21 22lang-table.h 23lang-table.c 24 Language names according to ISO 639. 25 26pos.h 27 Source file positions. 28 29message.h 30message.c 31 The message type, with many utility routines. 32 A list-of-messages type. 33 A list-of-lists-of-messages type. 34 35msgl-ascii.h 36msgl-ascii.c 37 Message list test for ASCII character set. 38 39po-error.h 40po-error.c 41po-xerror.h 42po-xerror.c 43 Error handling during writing and reading of PO files. 44 45+-------------- Writing PO files 46| write-catalog.h 47| write-catalog.c 48| Output of a list-of-messages. 49| write-po.h 50| write-po.c 51| Output of a list-of-messages to a PO file. 52| write-properties.h 53| write-properties.c 54| Output of a list-of-messages to a Java .properties file. 55| write-stringtable.h 56| write-stringtable.c 57| Output of a list-of-messages to a NeXTstep/GNUstep .strings 58| file. 59| write-desktop.h 60| write-desktop.c 61| Output of a list-of-messages to a .desktop file. 62+-------------- Writing PO files 63 64+-------------- Reading PO files 65| open-catalog.h 66| open-catalog.c 67| Opening PO files for reading. 68| 69| po-charset.h 70| po-charset.c 71| Charset handling while reading PO files. 72| 73| po-lex.h 74| po-lex.c 75| Lexical analysis of PO files. 76| 77| read-catalog-abstract.h 78| po-gram.h 79| po-gram-gen.y 80| read-po.h 81| read-po.c 82| read-properties.h 83| read-properties.c 84| read-stringtable.h 85| read-stringtable.c 86| read-catalog-abstract.c 87| Parsing of PO files and Java .properties and NeXTstep/GNUstep 88| .strings files. 89| read-catalog-abstract.h 90| General parser structure. 91| po-gram.h 92| po-gram-gen.y 93| Parsing of PO files, based on po-lex.{h,c}. 94| read-po.h 95| read-po.c 96| Parsing of PO files. 97| read-properties.h 98| read-properties.c 99| Parsing of Java .properties files. 100| read-stringtable.h 101| read-stringtable.c 102| Parsing of NeXTstep/GNUstep .strings files. 103| read-catalog-abstract.c 104| Top-level parser functions and callbacks. 105| 106| read-catalog.h 107| read-catalog.c 108| Reading of a PO file, returning a list-of-messages. 109| 110| read-desktop.h 111| read-desktop.c 112| Reading of a .desktop file, returning a list-of-messages. 113+-------------- Reading PO files 114 115msgl-iconv.h 116msgl-iconv.c 117 Convert a list-of-messages to another character encoding. 118 119msgl-cat.h 120msgl-cat.c 121 Concatenate message lists from several files, with handling 122 of duplicate msgids. 123 124msgcmp.c Main source for the 'msgcmp' program. 125 126+-------------- The 'msgmerge' program 127| msgl-equal.h 128| msgl-equal.c 129| Comparing two lists-of-messages. 130| plural-count.h 131| plural-count.c 132| Extracting the plural count of a header of a lists-of-messages. 133| msgmerge.c 134| Main source for the 'msgmerge' program. 135| 136+-------------- The 'msgmerge' program 137 138msgl-header.h 139msgl-header.c 140 Message list header manipulation. 141 142msgcomm.c Main source for the 'msgcomm' program. 143msgattrib.c Main source for the 'msgattrib' program. 144msgcat.c Main source for the 'msgcat' program. 145msgconv.c Main source for the 'msgconv' program. 146msguniq.c Main source for the 'msguniq' program. 147 148msgl-charset.h 149msgl-charset.c 150 Compare the encoding of a list-of-messages with the locale 151 encoding. 152 153msgexec.c Main source for the 'msgexec' program. 154msgfilter.c Main source for the 'msgfilter' program. 155msggrep.c Main source for the 'msggrep' program. 156 157+-------------- The 'msgen' program 158| msgl-english.h 159| msgl-english.c 160| English message initialization. 161| msgen.c 162| Main source for the 'msgen' program. 163| 164+-------------- The 'msgen' program 165 166po-time.h 167po-time.c 168 Create time stamps for use in PO/POT files. 169 170plural-table.h 171plural-table.c 172 Table of plural form formulas. 173 174+-------------- The 'msginit' program 175| hostname.c 176| The 'hostname' program. 177| user-email.sh.in 178| Determine the user's email address. 179| urlget.c 180| The 'urlget' program. 181| project-id 182| Determine the package's name. 183| msginit.c 184| Main source for the 'msginit' program. 185| 186+-------------- The 'msginit' program 187 188+-------------- The 'msgunfmt' program 189| msgunfmt.h 190| Declarations. 191| read-mo.h 192| read-mo.c 193| Reading GNU .mo files. 194| read-java.h 195| read-java.c 196| Reading Java ResourceBundle files. 197| read-csharp.h 198| read-csharp.c 199| msgunfmt.cs 200| Reading C# satellite assemblies. 201| read-resources.h 202| read-resources.c 203| msgunfmt.cs 204| Reading C# .resources files. 205| read-tcl.h 206| read-tcl.c 207| msgunfmt.tcl 208| Reading Tcl .msg files. 209| msgunfmt.c 210| Main source for the 'msgunfmt' program. 211| 212+-------------- The 'msgunfmt' program 213 214format.h Declarations of the language dependent format string handlers. 215format-invalid.h Declarations of some error messages for invalid strings. 216format-c.c Format string handling for C. 217format-c-parse.h Format string handling for C, parsing routine. 218format-python.c Format string handling for Python. 219format-python-brace.c Format string handling for Python, braced syntax. 220format-java.c Format string handling for Java. 221format-java-printf.c Format string handling for Java, printf syntax. 222format-csharp.c Format string handling for C#. 223format-javascript.c Format string handling for JavaScript. 224format-scheme.c Format string handling for Scheme. 225format-lisp.c Format string handling for Common Lisp. 226format-elisp.c Format string handling for Emacs Lisp. 227format-librep.c Format string handling for librep. 228format-ruby.c Format string handling for Ruby. 229format-sh.c Format string handling for Shell. 230format-awk.c Format string handling for awk. 231format-lua.c Format string handling for Lua. 232format-pascal.c Format string handling for Object Pascal. 233format-smalltalk.c Format string handling for Smalltalk and YCP. 234format-qt.c Format string handling for Qt. 235format-qt-plural.c Format string handling for Qt plural forms. 236format-kde.c Format string handling for KDE. 237format-kde-kuit.c Format string handling for KDE User Interface Text. 238format-boost.c Format string handling for Boost. 239format-tcl.c Format string handling for Tcl. 240format-perl.c Format string handling for Perl. 241format-perl-brace.c Format string handling for Perl, braced syntax. 242format-php.c Format string handling for PHP. 243format-gcc-internal.c Format string handling GCC internal. 244format-gfc-internal.c Format string handling GFC internal. 245format.c Table of the language dependent format string handlers. 246 247plural-exp.c 248 Parsing plural expressions. 249plural-eval.h 250plural-eval.c 251 Evaluating plural expressions. 252plural-distrib.h 253 Value distribution of plural expressions. 254msgl-check.h 255msgl-check.c 256 Checking of messages. 257 258+-------------- The 'msgfmt' program 259| msgfmt.h 260| Declarations. 261| write-mo.h 262| write-mo.c 263| Generating GNU .mo files. 264| write-java.h 265| write-java.c 266| Generating Java ResourceBundle files. 267| write-csharp.h 268| write-csharp.c 269| Generating C# satellite assemblies. 270| write-resources.h 271| write-resources.c 272| msgfmt.cs 273| Generating C# .resources files. 274| write-tcl.h 275| write-tcl.c 276| Generating Tcl .msg files. 277| write-qt.h 278| write-qt.c 279| Generating Qt .qm files. 280| msgfmt.c 281| Main source for the 'msgfmt' program. 282| 283+-------------- The 'msgfmt' program 284 285+-------------- The 'xgettext' program 286| xgettext.h 287| Declarations used by the backends. 288| rc-str-list.h 289| A reference-counted list-of-immutable-strings type. 290| xg-pos.h 291| xg-pos.c 292| The source file position. 293| xg-encoding.h 294| xg-encoding.c 295| Keeping track of the encoding of strings to be extracted. 296| xg-mixed-string.h 297| xg-mixed-string.c 298| Handling strings that are given partially in the source 299| encoding and partially in Unicode. 300| xg-arglist-context.h 301| xg-arglist-context.c 302| Keeping track of the flags that apply to a string extracted 303| in a certain context. 304| xg-arglist-callshape.h 305| xg-arglist-callshape.c 306| Resolving ambiguity of argument lists: Information given 307| through command-line options. 308| xg-arglist-parser.h 309| xg-arglist-parser.c 310| Resolving ambiguity of argument lists: Progressive parsing 311| of an argument list, keeping track of all possibilities. 312| xg-message.h 313| xg-message.c 314| Extracting a message. Accumulating the message list. 315| x-po.h 316| x-properties.h 317| x-stringtable.h 318| x-po.c 319| String extractor from PO files and Java .properties and 320| NeXTstep/GNUstep .strings files. 321| x-c.h 322| x-c.c 323| String extractor for C. 324| x-python.h 325| x-python.c 326| String extractor for Python. 327| x-java.h 328| x-java.c 329| String extractor for Java. 330| x-csharp.h 331| x-csharp.c 332| String extractor for C#. 333| x-javascript.h 334| x-javascript.c 335| String extractor for JavaScript. 336| x-scheme.h 337| x-scheme.c 338| String extractor for Scheme. 339| x-lisp.h 340| x-lisp.c 341| String extractor for Common Lisp. 342| x-elisp.h 343| x-elisp.c 344| String extractor for Emacs Lisp. 345| x-librep.h 346| x-librep.c 347| String extractor for librep. 348| x-ruby.h 349| x-ruby.c 350| String extractor for Ruby. 351| x-sh.h 352| x-sh.c 353| String extractor for Shell. 354| x-awk.h 355| x-awk.c 356| String extractor for awk. 357| x-lua.h 358| x-lua.c 359| String extractor for Lua. 360| x-smalltalk.h 361| x-smalltalk.c 362| String extractor for Smalltalk. 363| x-vala.h 364| x-vala.c 365| String extractor for Vala. 366| x-tcl.h 367| x-tcl.c 368| String extractor for Tcl. 369| x-perl.h 370| x-perl.c 371| String extractor for Perl. 372| x-php.h 373| x-php.c 374| String extractor for PHP. 375| x-ycp.h 376| x-ycp.c 377| String extractor for YCP. 378| x-rst.h 379| x-rst.c 380| String extractor from .rst files, for Object Pascal. 381| x-desktop.h 382| x-desktop.c 383| String extractor from Desktop Entry file. 384| x-glade.h 385| x-glade.c 386| String extractor from .glade files, GNOME GUI descriptions. 387| x-gsettings.h 388| x-gsettings.c 389| String extractor for GSettings schema file. 390| x-appdata.h 391| x-appdata.c 392| String extractor for AppData files. 393| xgettext.c 394| Main source for the 'xgettext' program. 395| 396+-------------- The 'xgettext' program 397