Normalize Webcal name capitalization everywhere (instead of WebCal, webCal,
authorwwp <wwp@free.fr>
Fri, 23 Sep 2016 07:25:14 +0000 (09:25 +0200)
committerwwp <wwp@free.fr>
Fri, 23 Sep 2016 07:25:14 +0000 (09:25 +0200)
webcal). Rephrase a bit a confirmation dialog to talk about subscription
instead of folder.

src/plugins/vcalendar/plugin.c
src/plugins/vcalendar/vcal_folder.c
src/plugins/vcalendar/vcal_prefs.c

index 575181d847f021faf375f0d078d31402a2dacefd..d142346bdd012ac532f4926624c61803843d8f78 100644 (file)
@@ -79,7 +79,7 @@ const gchar *plugin_desc(void)
                 "appropriate form and you will be able to accept or decline them.\n"
                 "To create a meeting right-click on the vCalendar or "
                 "Meetings folder and choose \"New meeting...\".\n\n"
                 "appropriate form and you will be able to accept or decline them.\n"
                 "To create a meeting right-click on the vCalendar or "
                 "Meetings folder and choose \"New meeting...\".\n\n"
-                "You will also be able to subscribe to remote webCal feeds,"
+                "You will also be able to subscribe to remote Webcal feeds,"
                 "export your meetings and calendars, publish your free/busy "
                 "information and retrieve that information from others.");
 }
                 "export your meetings and calendars, publish your free/busy "
                 "information and retrieve that information from others.");
 }
index e462fe019302970216946340101f6fb95ac4f219..633830a5922600071feab3543071d6a795d53983 100644 (file)
@@ -164,7 +164,7 @@ static char *vcal_popup_labels[] =
 {
        N_("_New meeting..."),
        N_("_Export calendar..."),
 {
        N_("_New meeting..."),
        N_("_Export calendar..."),
-       N_("_Subscribe to webCal..."),
+       N_("_Subscribe to Webcal..."),
        N_("_Unsubscribe..."),
        N_("_Rename..."),
        N_("U_pdate subscriptions"),
        N_("_Unsubscribe..."),
        N_("_Rename..."),
        N_("U_pdate subscriptions"),
@@ -1832,10 +1832,10 @@ static void update_subscription_finish(const gchar *uri, gchar *feed, gboolean v
        }
        if (strncmp(feed, "BEGIN:VCALENDAR", strlen("BEGIN:VCALENDAR"))) {
                if (verbose && manual_update) {
        }
        if (strncmp(feed, "BEGIN:VCALENDAR", strlen("BEGIN:VCALENDAR"))) {
                if (verbose && manual_update) {
-                       alertpanel_error(_("This URL does not look like a WebCal URL:\n%s\n%s"),
+                       alertpanel_error(_("This URL does not look like a Webcal URL:\n%s\n%s"),
                                        uri, error ? error:_("Unknown error"));
                } else  {
                                        uri, error ? error:_("Unknown error"));
                } else  {
-                       log_error(LOG_PROTOCOL, _("This URL does not look like a WebCal URL:\n%s\n%s\n"),
+                       log_error(LOG_PROTOCOL, _("This URL does not look like a Webcal URL:\n%s\n%s\n"),
                                        uri, error ? error:_("Unknown error"));
                }
                g_free(feed);
                                        uri, error ? error:_("Unknown error"));
                }
                g_free(feed);
@@ -1936,7 +1936,7 @@ static void subscribe_cal_cb(GtkAction *action, gpointer data)
        gchar *uri = NULL;
        gchar *tmp = NULL;
 
        gchar *uri = NULL;
        gchar *tmp = NULL;
 
-       tmp = input_dialog(_("Subscribe to WebCal"), _("Enter the WebCal URL:"), NULL);
+       tmp = input_dialog(_("Subscribe to Webcal"), _("Enter the WebCal URL:"), NULL);
        if (tmp == NULL)
                return;
        
        if (tmp == NULL)
                return;
        
@@ -1977,7 +1977,7 @@ static void unsubscribe_cal_cb(GtkAction *action, gpointer data)
 
        message = g_strdup_printf
                (_("Do you really want to unsubscribe?"));
 
        message = g_strdup_printf
                (_("Do you really want to unsubscribe?"));
-       avalue = alertpanel_full(_("Delete folder"), message,
+       avalue = alertpanel_full(_("Delete subscription"), message,
                                 GTK_STOCK_CANCEL, GTK_STOCK_DELETE, NULL, 
                                 FALSE, NULL, ALERT_WARNING, G_ALERTDEFAULT);
        g_free(message);
                                 GTK_STOCK_CANCEL, GTK_STOCK_DELETE, NULL, 
                                 FALSE, NULL, ALERT_WARNING, G_ALERTDEFAULT);
        g_free(message);
index 3968172db9d94e454afc6d14c834ad31b484d165..63edcee50dc176bdaee5055564be4adbc551f78e 100644 (file)
@@ -367,7 +367,7 @@ static void vcal_prefs_create_widget_func(PrefsPage * _page,
        gtk_widget_show (hbox2);
        gtk_box_pack_start(GTK_BOX (vbox3), hbox2, TRUE, TRUE, 0);
 
        gtk_widget_show (hbox2);
        gtk_box_pack_start(GTK_BOX (vbox3), hbox2, TRUE, TRUE, 0);
 
-       export_subs_checkbtn = gtk_check_button_new_with_label(_("Include webcal subscriptions in export"));
+       export_subs_checkbtn = gtk_check_button_new_with_label(_("Include Webcal subscriptions in export"));
        gtk_widget_show(export_subs_checkbtn);
        gtk_box_pack_start(GTK_BOX (hbox2), export_subs_checkbtn, FALSE, FALSE, 0);
        SET_TOGGLE_SENSITIVITY(export_enable_checkbtn, export_subs_checkbtn);
        gtk_widget_show(export_subs_checkbtn);
        gtk_box_pack_start(GTK_BOX (hbox2), export_subs_checkbtn, FALSE, FALSE, 0);
        SET_TOGGLE_SENSITIVITY(export_enable_checkbtn, export_subs_checkbtn);