~ubuntu-branches/ubuntu/saucy/cuyo/saucy

« back to all changes in this revision

Viewing changes to src/fehler.h

  • Committer: Bazaar Package Importer
  • Author(s): Angel Abad
  • Date: 2010-07-19 09:54:44 UTC
  • mfrom: (4.1.3 sid)
  • Revision ID: james.westby@ubuntu.com-20100719095444-ecoegzo1vvvdwra9
Tags: 2.~-1.1.brl3-1ubuntu1
* Merge from debian unstable (LP: #607106). Remaining changes:
  - Don't register MimeType=application/x-executable in
    the .desktop file.
  - Remove UTF-8 in the .desktop file
  - 

Show diffs side-by-side

added added

removed removed

Lines of Context:
79
79
 
80
80
 
81
81
 
82
 
/* Selbsterkl�rend... */
 
82
/* Self-explanatory... */
83
83
#define send_log_string \
84
 
  "Please send the log-file \"cuyo.log\" to cuyo@karimmi.de"
 
84
  _("Please send the log-file \"cuyo.log\" to cuyo@karimmi.de")
85
85
 
86
86
 
87
87
 
92
92
 
93
93
#define PBEGIN_TRY try {
94
94
#define PEND_TRY(on_error) } catch (Fehler fe) {\
95
 
  fprintf(stderr, "%s:%d: %s\n", gDateiName.data(), gZeilenNr,\
 
95
  /* TRANSLATORS: This is to prepend an error message */\
 
96
  fprintf(stderr, _("%s:%d: %s\n"), gDateiName.data(), gZeilenNr,\
96
97
                                 fe.getText().data());\
97
98
  gGabFehler = true;\
98
99
  { on_error; }\
121
122
 
122
123
#define SDLASSERT(blub) do { \
123
124
  if (!(blub)) \
 
125
    /* TRANSLATORS: "SDL" is a library name and should not be translated */\
124
126
    throw iFehler(_("SDL error: \"%s\" in %s:%d: %s"), \
125
127
                  #blub, __FILE__, __LINE__, SDL_GetError()); \
126
128
} while (0)