diff options
author | Yuri Chornoivan <yurchor@ukr.net> | 2020-07-20 10:38:09 +0300 |
---|---|---|
committer | Yuri Chornoivan <yurchor@ukr.net> | 2020-07-20 10:38:09 +0300 |
commit | e7050ab6f4815af8f25bee67821270f1417119a7 (patch) | |
tree | a2c1f25361bd5409269860bf902be373775dc69b | |
parent | 097ecd44687a0fcfb84472eea7cc2b99ae61a8a7 (diff) | |
download | gnome-control-center-e7050ab6f4815af8f25bee67821270f1417119a7.tar.gz |
Fix minor typos
23 files changed, 40 insertions, 40 deletions
diff --git a/panels/color/cc-color-calibrate.c b/panels/color/cc-color-calibrate.c index d283c33a7..3f53858df 100644 --- a/panels/color/cc-color-calibrate.c +++ b/panels/color/cc-color-calibrate.c @@ -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; diff --git a/panels/color/cc-color-panel.c b/panels/color/cc-color-panel.c index 8d33ed37d..c5933f563 100644 --- a/panels/color/cc-color-panel.c +++ b/panels/color/cc-color-panel.c @@ -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 */ diff --git a/panels/color/cc-color-profile.c b/panels/color/cc-color-profile.c index 5fffb5a6b..9528d3c6a 100644 --- a/panels/color/cc-color-profile.c +++ b/panels/color/cc-color-profile.c @@ -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 diff --git a/panels/keyboard/50-accessibility.xml.in b/panels/keyboard/50-accessibility.xml.in index d171cd498..34bcb0424 100644 --- a/panels/keyboard/50-accessibility.xml.in +++ b/panels/keyboard/50-accessibility.xml.in @@ -1,5 +1,5 @@ <?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"/> diff --git a/panels/keyboard/cc-keyboard-manager.c b/panels/keyboard/cc-keyboard-manager.c index 2c7a243e3..55ae3afb1 100644 --- a/panels/keyboard/cc-keyboard-manager.c +++ b/panels/keyboard/cc-keyboard-manager.c @@ -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, diff --git a/panels/keyboard/cc-keyboard-shortcut-editor.c b/panels/keyboard/cc-keyboard-shortcut-editor.c index 4a4d21f04..117f1e565 100644 --- a/panels/keyboard/cc-keyboard-shortcut-editor.c +++ b/panels/keyboard/cc-keyboard-shortcut-editor.c @@ -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); } diff --git a/panels/network/cc-wifi-connection-list.c b/panels/network/cc-wifi-connection-list.c index bb125eda2..ff91892c2 100644 --- a/panels/network/cc-wifi-connection-list.c +++ b/panels/network/cc-wifi-connection-list.c @@ -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)) diff --git a/panels/printers/pp-new-printer-dialog.c b/panels/printers/pp-new-printer-dialog.c index 9da38b7d1..8ff3050f3 100644 --- a/panels/printers/pp-new-printer-dialog.c +++ b/panels/printers/pp-new-printer-dialog.c @@ -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; diff --git a/panels/printers/pp-print-device.c b/panels/printers/pp-print-device.c index 8ebd1d446..3ab0b07fb 100644 --- a/panels/printers/pp-print-device.c +++ b/panels/printers/pp-print-device.c @@ -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)); diff --git a/panels/printers/pp-printer-entry.c b/panels/printers/pp-printer-entry.c index b3f25bab4..f74a44090 100644 --- a/panels/printers/pp-printer-entry.c +++ b/panels/printers/pp-printer-entry.c @@ -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; diff --git a/panels/printers/pp-printer.c b/panels/printers/pp-printer.c index 1f1feca20..451f9b91e 100644 --- a/panels/printers/pp-printer.c +++ b/panels/printers/pp-printer.c @@ -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; diff --git a/panels/printers/pp-utils.c b/panels/printers/pp-utils.c index ebdaa41ea..03e40d24d 100644 --- a/panels/printers/pp-utils.c +++ b/panels/printers/pp-utils.c @@ -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). */ diff --git a/panels/universal-access/gnome-universal-access-panel.desktop.in.in b/panels/universal-access/gnome-universal-access-panel.desktop.in.in index 5e25bb250..7ea405541 100644 --- a/panels/universal-access/gnome-universal-access-panel.desktop.in.in +++ b/panels/universal-access/gnome-universal-access-panel.desktop.in.in @@ -1,5 +1,5 @@ [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)! diff --git a/panels/universal-access/zoom-options.ui b/panels/universal-access/zoom-options.ui index baeec2f6e..cd1908187 100644 --- a/panels/universal-access/zoom-options.ui +++ b/panels/universal-access/zoom-options.ui @@ -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> diff --git a/panels/user-accounts/cc-carousel.c b/panels/user-accounts/cc-carousel.c index e83eff232..2c3cd99b7 100644 --- a/panels/user-accounts/cc-carousel.c +++ b/panels/user-accounts/cc-carousel.c @@ -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 * diff --git a/panels/user-accounts/cc-fingerprint-dialog.c b/panels/user-accounts/cc-fingerprint-dialog.c index 6a6036036..5b9771ca5 100644 --- a/panels/user-accounts/cc-fingerprint-dialog.c +++ b/panels/user-accounts/cc-fingerprint-dialog.c @@ -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); } diff --git a/panels/user-accounts/run-passwd.c b/panels/user-accounts/run-passwd.c index 19934f186..56eea9f29 100644 --- a/panels/user-accounts/run-passwd.c +++ b/panels/user-accounts/run-passwd.c @@ -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 */ diff --git a/panels/wacom/calibrator/main.c b/panels/wacom/calibrator/main.c index 63efaf9f3..1a82e87b3 100644 --- a/panels/wacom/calibrator/main.c +++ b/panels/wacom/calibrator/main.c @@ -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 diff --git a/panels/wacom/cc-wacom-page.c b/panels/wacom/cc-wacom-page.c index af7a3fafc..35ff5d226 100644 --- a/panels/wacom/cc-wacom-page.c +++ b/panels/wacom/cc-wacom-page.c @@ -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; } diff --git a/shell/cc-panel-list.c b/shell/cc-panel-list.c index 25785901f..d425067d7 100644 --- a/shell/cc-panel-list.c +++ b/shell/cc-panel-list.c @@ -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); diff --git a/shell/cc-shell-model.c b/shell/cc-shell-model.c index 6252b3f70..19fc9c6d4 100644 --- a/shell/cc-shell-model.c +++ b/shell/cc-shell-model.c @@ -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); diff --git a/tests/network/nm-utils/nm-macros-internal.h b/tests/network/nm-utils/nm-macros-internal.h index 2e3940fd7..f72ab2a37 100644 --- a/tests/network/nm-utils/nm-macros-internal.h +++ b/tests/network/nm-utils/nm-macros-internal.h @@ -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. diff --git a/tests/network/test-network-panel.c b/tests/network/test-network-panel.c index eb884f512..e11db1f68 100644 --- a/tests/network/test-network-panel.c +++ b/tests/network/test-network-panel.c @@ -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. */ |