diff options
author | Thomas White <taw@physics.org> | 2018-11-10 21:46:24 +0100 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2018-11-10 21:46:24 +0100 |
commit | 738715858a0ca28ce4a85e0b556e09368e96cdf0 (patch) | |
tree | 9c1cebe6851524464eb360b72e0e92df708b333b /src/sc_editor.c | |
parent | a12dba1223bba998d3c6d29aada61a609d9ea351 (diff) |
Mark debugging messages as non-translatable
Diffstat (limited to 'src/sc_editor.c')
-rw-r--r-- | src/sc_editor.c | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/src/sc_editor.c b/src/sc_editor.c index 47218d9..8e79fd8 100644 --- a/src/sc_editor.c +++ b/src/sc_editor.c @@ -70,7 +70,7 @@ static void debug_paragraphs(SCEditor *e) struct frame *fr = e->cursor_frame; int i; - printf(_("Paragraphs in current frame:\n")); + printf("Paragraphs in current frame:\n"); for ( i=0; i<fr->n_paras; i++ ) { show_para(fr->paras[i]); } @@ -921,7 +921,7 @@ static void do_backspace(struct frame *fr, SCEditor *e) } else { /* FIXME: Implement this */ - fprintf(stderr, _("Deleting non-text paragraph\n")); + fprintf(stderr, "Deleting non-text paragraph\n"); } @@ -962,7 +962,7 @@ static void insert_text(char *t, SCEditor *e) /* Yes. The "easy" case */ if ( !position_editable(e->cursor_frame, e->cpos) ) { - fprintf(stderr, _("Position not editable\n")); + fprintf(stderr, "Position not editable\n"); return; } @@ -983,20 +983,20 @@ static void insert_text(char *t, SCEditor *e) bd = para_scblock(para); if ( bd == NULL ) { - fprintf(stderr, _("No SCBlock for para\n")); + fprintf(stderr, "No SCBlock for para\n"); return; } /* No. Create a new text paragraph straight afterwards */ ad = sc_block_insert_after(bd, NULL, NULL, strdup(t)); if ( ad == NULL ) { - fprintf(stderr, _("Failed to add SCBlock\n")); + fprintf(stderr, "Failed to add SCBlock\n"); return; } pnew = insert_paragraph(e->cursor_frame, e->cpos.para); if ( pnew == NULL ) { - fprintf(stderr, _("Failed to insert paragraph\n")); + fprintf(stderr, "Failed to insert paragraph\n"); return; } add_run(pnew, ad, e->cursor_frame->fontdesc, @@ -1576,7 +1576,7 @@ static gboolean button_release_sig(GtkWidget *da, GdkEventButton *event, { case DRAG_REASON_NONE : - printf(_("Release on pointless drag.\n")); + printf("Release on pointless drag.\n"); break; case DRAG_REASON_CREATE : @@ -1700,16 +1700,16 @@ static gboolean key_press_sig(GtkWidget *da, GdkEventKey *event, if ( event->state & GDK_CONTROL_MASK ) { debug_paragraphs(e); } else if ( event->state & GDK_SHIFT_MASK ) { - printf(_("Cursor frame block = %p\n"), e->cursor_frame->scblocks); - printf(_("Editor top block = %p\n"), e->scblocks); + printf("Cursor frame block = %p\n", e->cursor_frame->scblocks); + printf("Editor top block = %p\n", e->scblocks); show_sc_block(e->cursor_frame->scblocks, ""); } else { open_debugger(e->cursor_frame); } } else { if ( event->state & GDK_SHIFT_MASK ) { - printf(_("Debugging the top frame:\n")); - printf(_("Editor top block = %p\n"), e->scblocks); + printf("Debugging the top frame:\n"); + printf("Editor top block = %p\n", e->scblocks); show_sc_block(e->top->scblocks, ""); } } @@ -1913,7 +1913,7 @@ static void dnd_receive(GtkWidget *widget, GdkDragContext *drag_context, opts = malloc(len); if ( opts == NULL ) { free(filename); - fprintf(stderr, _("Failed to allocate SC\n")); + fprintf(stderr, "Failed to allocate SC\n"); return; } snprintf(opts, len, "1fx1f+0+0,filename=\"%s\"", @@ -2101,7 +2101,7 @@ void sc_editor_set_scale(SCEditor *e, int scale) void sc_editor_set_imagestore(SCEditor *e, ImageStore *is) { if ( e->is != NULL ) { - fprintf(stderr, _("WARNING: Changing imagestore\n")); + fprintf(stderr, "WARNING: Changing imagestore\n"); } e->is = is; } |