Commit fc594028 authored by Ole Aamot's avatar Ole Aamot

Markup strings

parent b853c883
#! /bin/sh
#!/usr/bin/sh
# Wrapper for compilers which do not understand '-c -o'.
scriptversion=2018-03-07.03; # UTC
......
......@@ -57,6 +57,9 @@ desktop-file-validate %{buildroot}/%{_datadir}/applications/%{name}.desktop
%{_mandir}/man1/%{name}.1*
%changelog
* Fri Apr 05 2019 Ole Aamot <ole@gnome.org> - 2.0.1-1
- gnome-internet-radio-locator 2.0.1 build on Fedora Linux 30
* Tue Feb 19 2019 Ole Aamot <ole@gnome.org> - 2.0.0-1
- gnome-internet-radio-locator 2.0.0 build on Fedora Linux 29
......
......@@ -216,7 +216,7 @@ save_cb (GtkWidget *widget, gpointer data) {
player = gst_player_new (NULL, gst_player_g_main_context_signal_dispatcher_new(NULL));
gnome_internet_radio_locator_player_new(GST_PLAYER(player), urientry);
context_id = gtk_statusbar_get_context_id (GTK_STATUSBAR (statusbar), "Station Name");
statusmsg = g_strconcat("Added ", nameentry, " in ", locationentry, NULL);
statusmsg = g_strconcat(_("Added "), nameentry, _(" in "), locationentry, NULL);
gtk_statusbar_push (GTK_STATUSBAR (statusbar), GPOINTER_TO_INT (context_id), statusmsg);
gst_player_stop(player);
gst_player_play(player);
......
......@@ -414,7 +414,7 @@ stop_station(GSimpleAction *simple, GVariant *parameter, gpointer user_data) {
gnome_internet_radio_locator_player_stop(player);
context_id = gtk_statusbar_get_context_id (GTK_STATUSBAR (statusbar), "Station Name");
gtk_statusbar_pop (GTK_STATUSBAR (statusbar), GPOINTER_TO_INT (context_id));
gtk_statusbar_push (GTK_STATUSBAR (statusbar), GPOINTER_TO_INT (context_id), "Search by city or drag/click on the zoomable map to listen to a radio broadcast");
gtk_statusbar_push (GTK_STATUSBAR (statusbar), GPOINTER_TO_INT (context_id), _("Search by city or drag/click on the zoomable map to listen to a radio broadcast"));
return;
}
......@@ -862,7 +862,7 @@ main (int argc,
button = gtk_button_new();
image = gtk_image_new_from_icon_name("media-playback-start", GTK_ICON_SIZE_BUTTON);
gtk_button_set_image (GTK_BUTTON (button), image);
gtk_button_set_label (GTK_BUTTON (button), "New");
gtk_button_set_label (GTK_BUTTON (button), _("New"));
g_signal_connect(button, "clicked", G_CALLBACK (on_new_station_clicked), view);
gtk_container_add (GTK_CONTAINER (bbox), button);
......@@ -1017,7 +1017,7 @@ main (int argc,
statusbar = gtk_statusbar_new ();
context_id = gtk_statusbar_get_context_id (GTK_STATUSBAR (statusbar), "Station Name");
gtk_statusbar_pop (GTK_STATUSBAR (statusbar), GPOINTER_TO_INT (context_id));
gtk_statusbar_push (GTK_STATUSBAR (statusbar), GPOINTER_TO_INT (context_id), "Search by city or drag/click on the zoomable map to listen to a radio broadcast");
gtk_statusbar_push (GTK_STATUSBAR (statusbar), GPOINTER_TO_INT (context_id), _("Search by city or drag/click on the zoomable map to listen to a radio broadcast"));
gtk_box_pack_end (GTK_BOX (vbox), statusbar, FALSE, FALSE, 0);
gtk_widget_show (statusbar);
gtk_container_add (GTK_CONTAINER (vbox), viewport);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment