File: gettext-strings.c

package info (click to toggle)
indent 2.2.13-8
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 4,696 kB
  • sloc: ansic: 20,903; sh: 5,035; makefile: 165; sed: 16; cpp: 5
file content (19 lines) | stat: -rw-r--r-- 574 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
void
main ()
{
  if (1 == 1)
    {
      G_fatal_error (xx
		     ("A big long string that is treated as a function argument ends up breaking away from its function name."));
    }
  else if (2 == 2)
    {
      G_fatal_error
	(_("When the big long string is in the _() from gettext, however, it's better to treat the _ as a string delimiter rather than a function name."));
    }
  else
    {
      G_fatal_error
	(N_("When the big long string is in the N_() from gettext, however, it's better to treat the N_ as a string delimiter rather than a function name."));
    }
}