Commit e7050ab6 authored by Yuri Chornoivan's avatar Yuri Chornoivan

Fix minor typos

parent 097ecd44
Pipeline #197955 passed with stages
in 5 minutes and 3 seconds
......@@ -391,7 +391,7 @@ cc_color_calibrate_get_error_translation (CdSessionError code)
case CD_SESSION_ERROR_FAILED_TO_FIND_SENSOR:
case CD_SESSION_ERROR_INTERNAL:
case CD_SESSION_ERROR_INVALID_VALUE:
/* TRANSLATORS: We suck, the calibation failed and we have no
/* TRANSLATORS: We suck, the calibration failed and we have no
* good idea why or any suggestions */
str = _("An internal error occurred that could not be recovered.");
break;
......
......@@ -928,7 +928,7 @@ gcm_prefs_profile_add_cb (CcColorPanel *prefs)
profiles = cd_device_get_profiles (prefs->current_device);
gcm_prefs_add_profiles_suitable_for_devices (prefs, profiles);
/* make insensitve until we have a selection */
/* make insensitive until we have a selection */
gtk_widget_set_sensitive (prefs->button_assign_ok, FALSE);
/* show the dialog */
......
......@@ -382,7 +382,7 @@ cc_color_profile_constructed (GObject *object)
G_CALLBACK (cc_color_profile_changed_cb), color_profile, G_CONNECT_SWAPPED);
/* sort the profiles in the list by:
* 1. thier device (required)
* 1. their device (required)
* 2. the data source (so calibration profiles are listed before autogenerated ones)
* 3. the date the profiles were created (newest first)
* 4. the alpha sorting of the filename
......
<?xml version="1.0" encoding="UTF-8"?>
<KeyListEntries group="system" name="Acessibility" schema="org.gnome.settings-daemon.plugins.media-keys">
<KeyListEntries group="system" name="Accessibility" schema="org.gnome.settings-daemon.plugins.media-keys">
<KeyListEntry name="magnifier" description="Turn zoom on or off"/>
......
......@@ -632,7 +632,7 @@ cc_keyboard_manager_class_init (CcKeyboardManagerClass *klass)
/**
* CcKeyboardManager:shortcut-added:
*
* Emited when a shortcut is added.
* Emitted when a shortcut is added.
*/
signals[SHORTCUT_ADDED] = g_signal_new ("shortcut-added",
CC_TYPE_KEYBOARD_MANAGER,
......@@ -647,7 +647,7 @@ cc_keyboard_manager_class_init (CcKeyboardManagerClass *klass)
/**
* CcKeyboardManager:shortcut-changed:
*
* Emited when a shortcut is added.
* Emitted when a shortcut is added.
*/
signals[SHORTCUT_CHANGED] = g_signal_new ("shortcut-changed",
CC_TYPE_KEYBOARD_MANAGER,
......@@ -661,7 +661,7 @@ cc_keyboard_manager_class_init (CcKeyboardManagerClass *klass)
/**
* CcKeyboardManager:shortcut-removed:
*
* Emited when a shortcut is removed.
* Emitted when a shortcut is removed.
*/
signals[SHORTCUT_REMOVED] = g_signal_new ("shortcut-removed",
CC_TYPE_KEYBOARD_MANAGER,
......
......@@ -617,7 +617,7 @@ setup_keyboard_item (CcKeyboardShortcutEditor *self,
release_grab (self);
}
/* Show the apropriate view */
/* Show the appropriate view */
set_shortcut_editor_page (self, is_custom ? PAGE_CUSTOM : PAGE_EDIT);
}
......
......@@ -312,7 +312,7 @@ on_device_ap_added_cb (CcWifiConnectionList *self,
/* If this is the active AP, then add the active connection to the list. This
* is a workaround because nm_access_pointer_filter_connections() will not
* include it otherwise.
* So it seems like the dummy AP entry that NM creates internaly is not actually
* So it seems like the dummy AP entry that NM creates internally is not actually
* compatible with the connection that is being activated.
*/
if (ap == nm_device_wifi_get_active_access_point (device))
......
......@@ -648,7 +648,7 @@ add_device_to_list (PpNewPrinterDialog *self,
{
PpPrintDevice *store_device;
GList *original_names_list = NULL;
gint acquisistion_method;
gint acquisition_method;
if (device)
{
......@@ -658,16 +658,16 @@ add_device_to_list (PpNewPrinterDialog *self,
g_object_set (device, "host-name", host_name, NULL);
}
acquisistion_method = pp_print_device_get_acquisition_method (device);
acquisition_method = pp_print_device_get_acquisition_method (device);
if (pp_print_device_get_device_id (device) ||
pp_print_device_get_device_ppd (device) ||
(pp_print_device_get_host_name (device) &&
acquisistion_method == ACQUISITION_METHOD_REMOTE_CUPS_SERVER) ||
acquisistion_method == ACQUISITION_METHOD_SAMBA_HOST ||
acquisistion_method == ACQUISITION_METHOD_SAMBA ||
acquisition_method == ACQUISITION_METHOD_REMOTE_CUPS_SERVER) ||
acquisition_method == ACQUISITION_METHOD_SAMBA_HOST ||
acquisition_method == ACQUISITION_METHOD_SAMBA ||
(pp_print_device_get_device_uri (device) &&
(acquisistion_method == ACQUISITION_METHOD_JETDIRECT ||
acquisistion_method == ACQUISITION_METHOD_LPD)))
(acquisition_method == ACQUISITION_METHOD_JETDIRECT ||
acquisition_method == ACQUISITION_METHOD_LPD)))
{
g_autofree gchar *canonicalized_name = NULL;
......
......@@ -232,7 +232,7 @@ pp_print_device_class_init (PpPrintDeviceClass *klass)
PROP_DISPLAY_NAME,
g_param_spec_string ("display-name",
"Display name",
"Name of the device formated for users",
"Name of the device formatted for users",
NULL,
G_PARAM_READWRITE));
......
......@@ -203,7 +203,7 @@ sanitize_printer_model (const gchar *printer_make_and_model)
g_autofree gchar *tmp = NULL;
gchar backup;
size_t length = 0;
gchar *forbiden[] = {
gchar *forbidden[] = {
"foomatic",
",",
"hpijs",
......@@ -215,9 +215,9 @@ sanitize_printer_model (const gchar *printer_make_and_model)
tmp = g_ascii_strdown (printer_make_and_model, -1);
for (i = 0; i < g_strv_length (forbiden); i++)
for (i = 0; i < g_strv_length (forbidden); i++)
{
tmp2 = g_strrstr (tmp, forbiden[i]);
tmp2 = g_strrstr (tmp, forbidden[i]);
if (breakpoint == NULL ||
(tmp2 != NULL && tmp2 < breakpoint))
breakpoint = tmp2;
......
......@@ -583,7 +583,7 @@ print_file_thread (GTask *task,
if (response != NULL)
{
if (ippGetState (response) == IPP_ERROR)
g_warning ("An error has occured during printing of test page.");
g_warning ("An error has occurred during printing of test page.");
if (ippGetState (response) == IPP_STATE_IDLE)
ret = TRUE;
......
......@@ -2537,7 +2537,7 @@ get_all_ppds_func (gpointer user_data)
/*
* This hash contains all possible names of manufacturers as keys
* and values are just first occurences of their equivalents.
* and values are just first occurrences of their equivalents.
* This is for mapping of e.g. "Hewlett Packard" and "HP" to the same name
* (the one which comes first).
*/
......
[Desktop Entry]
Name=Acessibility
Name=Accessibility
Comment=Make it easier to see, hear, type, point and click
Exec=gnome-control-center universal-access
# Translators: Do NOT translate or transliterate this text (this is an icon file name)!
......
......@@ -1032,7 +1032,7 @@
</packing>
</child>
<child>
<object class="GtkLabel" id="brighness_high_label">
<object class="GtkLabel" id="brightness_high_label">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="xalign">0</property>
......
......@@ -172,7 +172,7 @@ update_buttons_visibility (CcCarousel *self)
/**
* cc_carousel_find_item:
* @carousel: an CcCarousel instance
* @data: user data passed to the comparation function
* @data: user data passed to the comparison function
* @func: the function to call for each element.
* It should return 0 when the desired element is found
*
......
......@@ -1374,7 +1374,7 @@ done_button_clicked_cb (CcFingerprintDialog *self)
{
g_return_if_fail (self->enrolling_finger);
g_debug ("Completeing enroll operation");
g_debug ("Completing enroll operation");
enroll_stop (self);
}
......
......@@ -168,7 +168,7 @@ spawn_passwd (PasswdHandler *passwd_handler, GError **error)
&my_stderr, /* Stderr */
error)) { /* GError */
/* An error occured */
/* An error occurred */
free_passwd_resources (passwd_handler);
g_strfreev (envp);
......@@ -681,7 +681,7 @@ passwd_authenticate (PasswdHandler *passwd_handler,
{
GError *error = NULL;
/* Don't stop if we've already started chaging password */
/* Don't stop if we've already started changing password */
if (passwd_handler->changing_password)
return;
......@@ -725,7 +725,7 @@ passwd_change_password (PasswdHandler *passwd_handler,
passwd_handler->chpasswd_cb = cb;
passwd_handler->chpasswd_cb_data = user_data;
/* Stop passwd if an error occured and it is still running */
/* Stop passwd if an error occurred and it is still running */
if (passwd_handler->backend_state == PASSWD_STATE_ERR) {
/* Stop passwd, free resources */
......@@ -733,7 +733,7 @@ passwd_change_password (PasswdHandler *passwd_handler,
}
/* Check that the backend is still running, or that an error
* has occured but it has not yet exited */
* has occurred but it has not yet exited */
if (passwd_handler->backend_pid == -1) {
/* If it is not, re-run authentication */
......
......@@ -201,7 +201,7 @@ static struct Calib* main_common(int argc, char** argv)
/* Display help ? */
if (strcmp("-h", argv[i]) == 0 ||
strcmp("--help", argv[i]) == 0) {
fprintf(stderr, "xinput_calibratior, v%s\n\n", "0.0.0");
fprintf(stderr, "xinput_calibrator, v%s\n\n", "0.0.0");
usage(argv[0], thr_misclick);
exit(0);
} else
......
......@@ -155,7 +155,7 @@ set_calibration (CcWacomDevice *device,
current = g_settings_get_value (settings, "area");
g_variant_get_fixed_array (current, &nvalues, sizeof (gdouble));
if ((ncal != 4) || (nvalues != 4)) {
g_warning("Unable set set device calibration property. Got %"G_GSIZE_FORMAT" items to put in %"G_GSIZE_FORMAT" slots; expected %d items.\n", ncal, nvalues, 4);
g_warning("Unable to set device calibration property. Got %"G_GSIZE_FORMAT" items to put in %"G_GSIZE_FORMAT" slots; expected %d items.\n", ncal, nvalues, 4);
return;
}
......
......@@ -732,7 +732,7 @@ cc_panel_list_class_init (CcPanelListClass *klass)
/**
* CcPanelList:show-panel:
*
* Emited when a panel is selected.
* Emitted when a panel is selected.
*/
signals[SHOW_PANEL] = g_signal_new ("show-panel",
CC_TYPE_PANEL_LIST,
......@@ -1005,7 +1005,7 @@ cc_panel_list_set_active_panel (CcPanelList *self,
current_row_data = g_hash_table_lookup (self->id_to_data, self->current_panel_id);
/* We cannot be showing a non-existant panel */
/* We cannot be showing a non-existent panel */
g_assert (current_row_data != NULL);
gtk_widget_set_visible (current_row_data->row, current_row_data->visibility == CC_PANEL_VISIBLE);
......
......@@ -414,7 +414,7 @@ cc_shell_model_set_panel_visibility (CcShellModel *self,
/* If we don't find any panel with the given id, we'll iterate until
* valid == FALSE, so we can use this variable to determine if the
* panel was found or not. It is a programming error to try to set
* the visibility of a non-existant panel.
* the visibility of a non-existent panel.
*/
g_assert (valid);
......
......@@ -756,9 +756,9 @@ nm_g_object_ref (gpointer obj)
static inline void
nm_g_object_unref (gpointer obj)
{
/* g_object_unref() doesn't accept NULL. Usully, we workaround that
* by using g_clear_object(), but sometimes that is not convinient
* (for example as as destroy function for a hash table that can contain
/* g_object_unref() doesn't accept NULL. Usually, we workaround that
* by using g_clear_object(), but sometimes that is not convenient
* (for example as destroy function for a hash table that can contain
* NULL values). */
if (obj)
g_object_unref (obj);
......@@ -1261,7 +1261,7 @@ nm_decode_version (guint version, guint *major, guint *minor, guint *micro)
/**
* The boolean type _Bool is C99 while we mostly stick to C89. However, _Bool is too
* convinient to miss and is effectively available in gcc and clang. So, just use it.
* convenient to miss and is effectively available in gcc and clang. So, just use it.
*
* Usually, one would include "stdbool.h" to get the "bool" define which aliases
* _Bool. We provide this define here, because we want to make use of it anywhere.
......
......@@ -387,7 +387,7 @@ test_connection_multi_add_activate (NetworkPanelFixture *fixture,
GtkWidget *sw, *bt_header;
g_autoptr(GError) error = NULL;
/* Add a single connection (just chainging up to other test). */
/* Add a single connection (just changing up to other test). */
test_connection_add (fixture, user_data);
/* Basically same as test_connection_add_activate but with different assertions. */
......
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