Merge branch 'sunflowerskater-main-patch-64457' into 'main'

appchooser: Rename "application" to "app"

See merge request GNOME/gtk!5323
This commit is contained in:
Matthias Clasen 2022-12-12 16:48:56 +00:00
commit 631b0fa9fd
3 changed files with 9 additions and 9 deletions

View File

@ -320,7 +320,7 @@ gtk_app_chooser_button_ensure_dialog_item (GtkAppChooserButton *self,
gtk_list_store_insert_after (self->store, &iter, &iter2);
real_insert_custom_item (self, CUSTOM_ITEM_OTHER_APP,
_("Other application"), NULL,
_("Other app"), NULL,
FALSE, &iter);
}

View File

@ -522,7 +522,7 @@ gtk_app_chooser_add_default (GtkAppChooserWidget *self,
gboolean unref_icon;
unref_icon = FALSE;
string = g_strdup_printf ("<b>%s</b>", _("Default Application"));
string = g_strdup_printf ("<b>%s</b>", _("Default App"));
gtk_list_store_append (self->program_list_store, &iter);
gtk_list_store_set (self->program_list_store, &iter,
@ -572,7 +572,7 @@ update_no_applications_label (GtkAppChooserWidget *self)
if (self->content_type)
desc = g_content_type_get_description (self->content_type);
string = text = g_strdup_printf (_("No applications found for “%s”."), desc);
string = text = g_strdup_printf (_("No apps found for “%s”."), desc);
g_free (desc);
}
else
@ -655,7 +655,7 @@ gtk_app_chooser_widget_real_add_items (GtkAppChooserWidget *self)
if (self->content_type)
recommended_apps = g_app_info_get_recommended_for_type (self->content_type);
apps_added |= gtk_app_chooser_widget_add_section (self, _("Recommended Applications"),
apps_added |= gtk_app_chooser_widget_add_section (self, _("Recommended Apps"),
show_headings,
!self->show_all, /* mark as recommended */
FALSE, /* mark as fallback */
@ -670,7 +670,7 @@ gtk_app_chooser_widget_real_add_items (GtkAppChooserWidget *self)
if (self->content_type)
fallback_apps = g_app_info_get_fallback_for_type (self->content_type);
apps_added |= gtk_app_chooser_widget_add_section (self, _("Related Applications"),
apps_added |= gtk_app_chooser_widget_add_section (self, _("Related Apps"),
show_headings,
FALSE, /* mark as recommended */
!self->show_all, /* mark as fallback */
@ -684,7 +684,7 @@ gtk_app_chooser_widget_real_add_items (GtkAppChooserWidget *self)
{
all_applications = g_app_info_get_all ();
apps_added |= gtk_app_chooser_widget_add_section (self, _("Other Applications"),
apps_added |= gtk_app_chooser_widget_add_section (self, _("Other Apps"),
show_headings,
FALSE,
FALSE,

View File

@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<interface domain="gtk40">
<template class="GtkAppChooserDialog" parent="GtkDialog">
<property name="title" translatable="yes">Select Application</property>
<property name="title" translatable="yes">Select App</property>
<child internal-child="content_area">
<object class="GtkBox" id="dialog-vbox1">
<property name="orientation">1</property>
@ -57,13 +57,13 @@
</action-widgets>
</template>
<object class="GtkButton" id="show_more_button">
<property name="label" translatable="yes">_View All Applications</property>
<property name="label" translatable="yes">_View All Apps</property>
<property name="use-underline">1</property>
<property name="receives-default">1</property>
<signal name="clicked" handler="show_more_button_clicked_cb" swapped="no"/>
</object>
<object class="GtkButton" id="software_button">
<property name="label" translatable="yes">_Find New Applications</property>
<property name="label" translatable="yes">_Find New Apps</property>
<property name="use-underline">1</property>
<property name="receives-default">1</property>
<signal name="clicked" handler="software_button_clicked_cb" swapped="no"/>