fix translation of 3 Main Buttons

This commit is contained in:
Andreas Frisch 2017-04-02 21:31:05 +02:00
parent 174bc2db78
commit 54589b56bf
4 changed files with 9 additions and 7 deletions

View file

@ -50,8 +50,9 @@ Focussing... = stelle scharf...
Taking photo... = fotografiere...
Taking photo failed! = Fotografieren fehlgeschlagen!
Processing photo... = verarbeite Foto...
Print Photo? = Foto Drucken?
Upload photo? = Foto hochladen?
Print photo = Foto drucken
Upload photo = Foto hochladen
Cancel = Abbrechen
Please wait... = Bitte warten...
Printer %s online. %i prints (%s) remaining = Drucker %s bereit. %i Abzüge (%s) übrig
Can't parse printer backend output = Fehler beim Verarbeiten der Ausgabe vom Drucker-Backend

View file

@ -1620,7 +1620,6 @@ static GstPadProbeReturn photo_booth_catch_photo_buffer (GstPad * pad, GstPadPro
gtk_widget_show (GTK_WIDGET (priv->win->button_print));
gtk_widget_show (GTK_WIDGET (priv->win->button_cancel));
photo_booth_window_show_cursor (priv->win);
gtk_label_set_text (priv->win->status, _("Print Photo?"));
g_main_context_invoke (NULL, (GSourceFunc) photo_booth_process_photo_plug_elements, pb);
break;
}
@ -2039,7 +2038,6 @@ static void photo_booth_print_done (GtkPrintOperation *operation, GtkPrintOperat
if ((priv->imgur_album_id && priv->imgur_access_token) || priv->facebook_put_uri)
{
gtk_widget_show (GTK_WIDGET (priv->win->button_upload));
gtk_label_set_text (priv->win->status, _("Upload photo?"));
g_timeout_add_seconds (priv->upload_timeout, (GSourceFunc) photo_booth_upload_timedout, pb);
photo_booth_change_state (pb, PB_STATE_ASK_UPLOAD);
}

View file

@ -54,7 +54,7 @@
<property name="can_focus">False</property>
<child>
<object class="GtkButton" id="button_print">
<property name="label" translatable="yes">Ausdrucken!</property>
<property name="label" translatable="yes">Print!</property>
<property name="width_request">360</property>
<property name="height_request">120</property>
<property name="can_focus">True</property>
@ -73,7 +73,7 @@
</child>
<child>
<object class="GtkButton" id="button_cancel">
<property name="label" translatable="yes">Abbrechen</property>
<property name="label" translatable="yes">Cancel</property>
<property name="width_request">360</property>
<property name="height_request">120</property>
<property name="can_focus">True</property>
@ -92,7 +92,7 @@
</child>
<child>
<object class="GtkButton" id="button_upload">
<property name="label" translatable="yes">Auf Facebook teilen</property>
<property name="label" translatable="yes">Upload!</property>
<property name="width_request">360</property>
<property name="height_request">120</property>
<property name="can_focus">True</property>

View file

@ -93,6 +93,9 @@ static void photo_booth_window_init (PhotoBoothWindow *win)
g_object_unref (cssfile);
}
}
gtk_button_set_label (win->button_cancel, _("Cancel"));
gtk_button_set_label (win->button_print, _("Print photo"));
gtk_button_set_label (win->button_upload, _("Upload photo"));
g_timeout_add (1000, (GSourceFunc) _pbw_clock_tick, win->status_clock);
}