Skip to content

Commit 9bc0195

Browse files
dforsicsete
authored andcommitted
Fix spelling
Fixed with: codespell --skip data,po --ignore-words-list=te --summary --write-changes
1 parent 1c6eab9 commit 9bc0195

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

54 files changed

+101
-101
lines changed

NEWS

+1-1
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ Changes in version 2.0 (10 Dec 2017)
6262
- Fixed track button in rotator controller having no effect
6363
- Fixed operational status of satellites
6464
- Fixed wrong icon in time controller
65-
- Fixed mising ground track for new satellites
65+
- Fixed missing ground track for new satellites
6666
- Fixed show next pass shows the current pass
6767
- Fixed problems with plotting footprints near the poles
6868
- Fixed satellite nickname not escaped for Pango

doc/notes/ic-910.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ CI-V transceive: On
88

99

1010
When the radio is connected to the PC via the CI-V CAT Interface and serial port COM1 it is
11-
on /dev/ttyS0 or higer number.
11+
on /dev/ttyS0 or higher number.
1212
When you are using a usb-serial-rs232-adapter it should be on /dev/ttyUSB0 or higher number.
1313

1414

doc/notes/ic-9100.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ CI-V transceive: On
88

99

1010
When the radio is connected to the PC via the CI-V CAT Interface and serial port COM1 it is
11-
on /dev/ttyS0 or higer number.
11+
on /dev/ttyS0 or higher number.
1212
When you are using a usb-serial-rs232-adapter it should be on /dev/ttyUSB0 or higher number.
1313

1414

doc/notes/ic-9700.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ When the radio is connected to the PC you should see:
1515

1616
$ lsmod |grep cp
1717

18-
cp210x 24576 << is the kernel module and memory size, if compiled into the kernel you wont see the module but may still work, try below.
18+
cp210x 24576 << is the kernel module and memory size, if compiled into the kernel you won't see the module but may still work, try below.
1919

2020
$ lsusb
2121

doc/notes/time_keeping.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ difference between these two with the number of minutes per day:
99

1010
tsince = (sat->jul_utc - sat->jul_epoch) * xmnpd
1111

12-
Similiarly, when predicting passes, a specific Julian date can be obtained from
12+
Similarly, when predicting passes, a specific Julian date can be obtained from
1313
tsince by dividing tsince with the number of minutes per day and adding the
1414
Epoch time as Julian date to it:
1515

src/first-time.c

+3-3
Original file line numberDiff line numberDiff line change
@@ -86,9 +86,9 @@ static void first_time_check_step_08(guint * error);
8686
* Send both error, warning and verbose debug messages to sat-log during this
8787
* process.
8888
*
89-
* The function returns 0 if everything seems to be ready or 1 if an error occured
89+
* The function returns 0 if everything seems to be ready or 1 if an error occurred
9090
* during on of the steps above. In case of error, the only safe thing is to exit
91-
* imediately.
91+
* immediately.
9292
*
9393
* FIXME: Should only have one parameterized function for checking directories.
9494
*/
@@ -584,7 +584,7 @@ static void create_cat_files(guint * error)
584584
if (g_str_has_suffix(filename, ".cat"))
585585
{
586586

587-
/* check whether .cat file exisits in user conf */
587+
/* check whether .cat file exists in user conf */
588588
gchar *catfilename = sat_file_name(filename);
589589

590590
if (!g_file_test(catfilename, G_FILE_TEST_EXISTS))

src/gpredict-utils.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ static void set_combo_tooltip(GtkWidget * combo, gpointer text)
149149
* Actually, this function only loops over all the children of the GtkComboBox
150150
* and calls the set_combo_tooltip internal function.
151151
*
152-
* @note This works only if the funcion is actually used as callback for the
152+
* @note This works only if the function is actually used as callback for the
153153
* @a realize signal og the GtkComboBox.
154154
*
155155
* @note This great trick has been pointed out by Matthias Clasen, he has done the

src/gtk-azel-plot.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -614,7 +614,7 @@ static GooCanvasItemModel *create_canvas_model(GtkAzelPlot * azel)
614614
/**
615615
* Create a new GtkAzelPlot widget.
616616
* @param cfgdata The configuration data of the parent module.
617-
* @param sats Pointer to the hash table containing the asociated satellites.
617+
* @param sats Pointer to the hash table containing the associated satellites.
618618
* @param qth Pointer to the ground station data.
619619
*/
620620
GtkWidget *gtk_azel_plot_new(qth_t * qth, pass_t * pass)

src/gtk-event-list.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -539,7 +539,7 @@ static void check_and_set_cell_renderer(GtkTreeViewColumn * column,
539539
}
540540

541541
/**
542-
* Render column containg event type.
542+
* Render column containing event type.
543543
*
544544
* Event type can be AOS or LOS depending on whether the satellite is within
545545
* range or not. AOS will rendern an "A", LOS will render an "L".

src/gtk-polar-view.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -757,7 +757,7 @@ static GooCanvasItemModel *create_canvas_model(GtkPolarView * polv)
757757
* Create a new GtkPolarView widget.
758758
*
759759
* @param cfgdata The configuration data of the parent module.
760-
* @param sats Pointer to the hash table containing the asociated satellites.
760+
* @param sats Pointer to the hash table containing the associated satellites.
761761
* @param qth Pointer to the ground station data.
762762
*/
763763
GtkWidget *gtk_polar_view_new(GKeyFile * cfgdata, GHashTable * sats,

src/gtk-rig-ctrl.c

+4-4
Original file line numberDiff line numberDiff line change
@@ -351,7 +351,7 @@ static void track_downlink(GtkRigCtrl * ctrl)
351351
if (ctrl->trsp == NULL)
352352
return;
353353

354-
/* ensure that we have a useable transponder config */
354+
/* ensure that we have a usable transponder config */
355355
if ((ctrl->trsp->downlow > 0) && (ctrl->trsp->uplow > 0))
356356
{
357357
down = gtk_freq_knob_get_value(GTK_FREQ_KNOB(ctrl->SatFreqDown));
@@ -377,7 +377,7 @@ static void track_uplink(GtkRigCtrl * ctrl)
377377
if (ctrl->trsp == NULL)
378378
return;
379379

380-
/* ensure that we have a useable transponder config */
380+
/* ensure that we have a usable transponder config */
381381
if ((ctrl->trsp->downlow > 0) && (ctrl->trsp->uplow > 0))
382382
{
383383
up = gtk_freq_knob_get_value(GTK_FREQ_KNOB(ctrl->SatFreqUp));
@@ -2302,7 +2302,7 @@ static gboolean set_ptt(GtkRigCtrl * ctrl, gint sock, gboolean ptt)
23022302
* occurred.
23032303
*
23042304
* This function checks whether AOS or LOS just happened and sends the
2305-
* apropriate signal to the RIG if this signalling is enabled.
2305+
* appropriate signal to the RIG if this signalling is enabled.
23062306
*/
23072307
static gboolean check_aos_los(GtkRigCtrl * ctrl)
23082308
{
@@ -2514,7 +2514,7 @@ static gboolean get_freq_toggle(GtkRigCtrl * ctrl, gint sock, gdouble * freq)
25142514
* TRUE (on). If PTT status is TRUE (on) it will simply set the PTT to FALSE
25152515
* (off).
25162516
*
2517-
* This function assumes that the radio supprot set/get PTT, otherwise it makes
2517+
* This function assumes that the radio support set/get PTT, otherwise it makes
25182518
* no sense to use it!
25192519
*/
25202520
static void manage_ptt_event(GtkRigCtrl * ctrl)

src/gtk-rig-ctrl.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ struct _gtk_rig_ctrl {
9191
/* threads related stuff */
9292
/* add mutexes etc, to make threads reentrant! */
9393
GMutex writelock; /*!< Mutex for blocking write operation */
94-
GMutex rig_ctrl_updatelock; /*!< Mutex wile updating widgets etc */
94+
GMutex rig_ctrl_updatelock; /*!< Mutex while updating widgets etc */
9595
GMutex widgetsync; /*!< Mutex used while leaving (sync stuff) */
9696
GCond widgetready; /*!< Condition when work is done (sync stuff) */
9797
GAsyncQueue *rigctlq; /*!< Message queue to indicate something has changed */

src/gtk-rot-knob.c

+2-2
Original file line numberDiff line numberDiff line change
@@ -359,7 +359,7 @@ gdouble gtk_rot_knob_get_min(GtkRotKnob * knob)
359359
*/
360360
void gtk_rot_knob_set_min(GtkRotKnob * knob, gdouble min)
361361
{
362-
/* just som sanity check we have only 3 digits */
362+
/* just some sanity check we have only 3 digits */
363363
if (min < 1000)
364364
{
365365
knob->min = min;
@@ -381,7 +381,7 @@ void gtk_rot_knob_set_min(GtkRotKnob * knob, gdouble min)
381381
*/
382382
void gtk_rot_knob_set_max(GtkRotKnob * knob, gdouble max)
383383
{
384-
/* just som sanity check we have only 3 digits */
384+
/* just some sanity check we have only 3 digits */
385385
if (max < 1000)
386386
{
387387
knob->max = max;

src/gtk-sat-data.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@
4444
*
4545
* @param catnum The catalog number of the satellite.
4646
* @param sat Pointer to a valid sat_t structure.
47-
* @return 0 if successfull, 1 if an I/O error occurred,
47+
* @return 0 if successful, 1 if an I/O error occurred,
4848
* 2 if the TLE data appears to be bad.
4949
*
5050
*/

src/gtk-sat-list.c

+2-2
Original file line numberDiff line numberDiff line change
@@ -941,14 +941,14 @@ static void operational_status_cell_data_function(GtkTreeViewColumn * col,
941941

942942
}
943943

944-
/* Render column containg lat/lon
944+
/* Render column containing lat/lon
945945
by using this instead of the default data function, we can
946946
control the number of decimals and display the coordinates in a
947947
fancy way, including degree sign and NWSE suffixes.
948948
949949
Please note that this function only affects how the numbers are
950950
displayed (rendered), the tree_store will still contain the
951-
original flaoting point numbers. Very cool!
951+
original floating point numbers. Very cool!
952952
*/
953953
static void latlon_cell_data_function(GtkTreeViewColumn * col,
954954
GtkCellRenderer * renderer,

src/gtk-sat-map-ground-track.c

+2-2
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ static void free_ssp(gpointer ssp, gpointer data);
6161
* @param obj the satellite object.
6262
*
6363
* Gpredict allows the user to require the ground track for any number of orbits
64-
* ahead. Therfore, the resulting ground track may cross the map boundaries many
64+
* ahead. Therefore, the resulting ground track may cross the map boundaries many
6565
* times, and using one single polyline for the whole ground track would look very
6666
* silly. To avoid this, the points will be split into several polylines.
6767
*/
@@ -156,7 +156,7 @@ void ground_track_create(GtkSatMap * satmap, sat_t * sat, qth_t * qth,
156156
}
157157

158158
/* Reset satellite structure to eliminate glitches in single sat
159-
view and other places when new ground track is layed out */
159+
view and other places when new ground track is laid out */
160160
predict_calc(sat, qth, satmap->tstamp);
161161

162162
/* reverse GSList */

src/gtk-sat-map.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -1294,7 +1294,7 @@ static gboolean mirror_lon(sat_t * sat, gdouble rangelon, gdouble * mlon,
12941294
* This function calculates the "left" side of the range circle and mirrors
12951295
* the points in longitude to create the "right side of the range circle, too.
12961296
* In order to be able to use the footprint points to create a set of subsequent
1297-
* lines conencted to each other (poly-lines) the function may have to perform
1297+
* lines connected to each other (poly-lines) the function may have to perform
12981298
* one of the following three actions:
12991299
*
13001300
* 1. If the footprint covers the North or South pole, we need to sort the points

src/gtk-sat-module-popup.c

+3-3
Original file line numberDiff line numberDiff line change
@@ -455,7 +455,7 @@ static void docking_state_cb(GtkWidget * menuitem, gpointer data)
455455

456456
case GTK_SAT_MOD_STATE_WINDOW:
457457
case GTK_SAT_MOD_STATE_FULLSCREEN:
458-
/* increase referene count */
458+
/* increase reference count */
459459
g_object_ref(module);
460460

461461
/* reparent time manager window if visible */
@@ -803,7 +803,7 @@ static void rigctrl_cb(GtkWidget * menuitem, gpointer data)
803803

804804
if (module->rigctrl == NULL)
805805
{
806-
/* gtk_rig_ctrl_new returned NULL becasue no radios are configured */
806+
/* gtk_rig_ctrl_new returned NULL because no radios are configured */
807807
GtkWidget *dialog;
808808

809809
dialog = gtk_message_dialog_new(GTK_WINDOW(app),
@@ -882,7 +882,7 @@ static void rotctrl_cb(GtkWidget * menuitem, gpointer data)
882882

883883
if (module->rotctrl == NULL)
884884
{
885-
/* gtk_rot_ctrl_new returned NULL becasue no rotators are configured */
885+
/* gtk_rot_ctrl_new returned NULL because no rotators are configured */
886886
GtkWidget *dialog;
887887

888888
dialog = gtk_message_dialog_new(GTK_WINDOW(app),

src/gtk-sat-module-tmg.c

+3-3
Original file line numberDiff line numberDiff line change
@@ -480,7 +480,7 @@ static void tmg_time_set(GtkWidget * widget, gpointer data)
480480
* @param data Pointer to the GtkSatModule structure.
481481
*
482482
* This function is called when the user moves the slider.
483-
* If we are in manual control mode, the function simpley calls
483+
* If we are in manual control mode, the function simply calls
484484
* tmg_time_set(). In the other modes, the function switches over
485485
* to amnual mode first.
486486
*/
@@ -704,7 +704,7 @@ void tmg_update_widgets(GtkSatModule * mod)
704704
gtk_spin_button_set_value(GTK_SPIN_BUTTON(mod->tmgMin), tim.tm_min);
705705
gtk_spin_button_set_value(GTK_SPIN_BUTTON(mod->tmgSec), tim.tm_sec);
706706

707-
/* msec: alway 0 in RT and SRT modes */
707+
/* msec: always 0 in RT and SRT modes */
708708
gtk_spin_button_set_value(GTK_SPIN_BUTTON(mod->tmgMsec), 0);
709709

710710
/* calendar */
@@ -746,7 +746,7 @@ static void tmg_cal_add_one_day(GtkSatModule * mod)
746746
tmg_update_widgets(mod);
747747
}
748748

749-
/** Substract one day from the calendar */
749+
/** Subtract one day from the calendar */
750750
static void tmg_cal_sub_one_day(GtkSatModule * mod)
751751
{
752752
gdouble jd;

src/gtk-sat-module.c

+6-6
Original file line numberDiff line numberDiff line change
@@ -622,7 +622,7 @@ static void update_child(GtkWidget * child, gdouble tstamp)
622622
* @param val The hash table value (sat_t structure)
623623
* @param data User data (the GtkSatModule widget).
624624
*
625-
* This function updates the tracking data for a given satelite. It is called by
625+
* This function updates the tracking data for a given satellite. It is called by
626626
* the timeout handler for each element in the hash table.
627627
*/
628628
static void gtk_sat_module_update_sat(gpointer key, gpointer val,
@@ -663,7 +663,7 @@ static void gtk_sat_module_update_sat(gpointer key, gpointer val,
663663
664664
daynum is the current time in the module.
665665
666-
The conditional aos < daynum is merely saying that aos occured
666+
The conditional aos < daynum is merely saying that aos occurred
667667
in the past. Therefore it cannot be the next event or aos/los
668668
for that satellite.
669669
@@ -1163,7 +1163,7 @@ void gtk_sat_module_close_cb(GtkWidget * button, gpointer data)
11631163
__func__, name, retcode);
11641164
}
11651165

1166-
/* increase referene count */
1166+
/* increase reference count */
11671167
g_object_ref(module);
11681168

11691169
/* remove module from window, destroy window */
@@ -1193,7 +1193,7 @@ void gtk_sat_module_close_cb(GtkWidget * button, gpointer data)
11931193
}
11941194

11951195

1196-
/* increase referene count */
1196+
/* increase reference count */
11971197
g_object_ref(module);
11981198

11991199
/* remove module from window, destroy window */
@@ -1214,7 +1214,7 @@ void gtk_sat_module_close_cb(GtkWidget * button, gpointer data)
12141214
break;
12151215
}
12161216

1217-
/* appearantly, module will be destroyed when removed from notebook */
1217+
/* apparently, module will be destroyed when removed from notebook */
12181218
/* gtk_widget_destroy (GTK_WIDGET (module)); */
12191219
sat_log_log(SAT_LOG_LEVEL_INFO,
12201220
_("%s: Module %s closed."), __func__, name);
@@ -1229,7 +1229,7 @@ void gtk_sat_module_close_cb(GtkWidget * button, gpointer data)
12291229
* @param data Pointer the GtkSatModule widget, which should be reconfigured
12301230
*
12311231
* This function is called when the user clicks on the "configure" minibutton.
1232-
* The function incokes the mod_cfg_edit funcion, which has the same look and feel
1232+
* The function incokes the mod_cfg_edit function, which has the same look and feel
12331233
* as the dialog used to create a new module.
12341234
*
12351235
* NOTE: Don't use button, since we don't know what kind of widget it is

src/gtk-sat-selector.c

+4-4
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ static void search_icon_clicked(GtkEntry *entry, GtkEntryIconPosition icon_pos,
154154
*
155155
* @param view Pointer to the GtkTreeView object.
156156
* @param path The path of the row that was activated.
157-
* @param column The column where the activation occured.
157+
* @param column The column where the activation occurred.
158158
* @param data Pointer to the GtkSatselector widget.
159159
*
160160
* This function is called when the user double clicks on a satellite in the
@@ -912,7 +912,7 @@ gdouble gtk_sat_selector_get_latest_epoch(GtkSatSelector * selector)
912912
* Search through all the models for the given satellite and set its selected value.
913913
*
914914
* @param *selector is the selector that contains the models
915-
* @param catnr is the catalog numer of satellite.
915+
* @param catnr is the catalog number of satellite.
916916
* @param val is true or false depending on whether that satellite is selected or not.
917917
*/
918918
static void gtk_sat_selector_mark_engine(GtkSatSelector * selector, gint catnr,
@@ -950,7 +950,7 @@ static void gtk_sat_selector_mark_engine(GtkSatSelector * selector, gint catnr,
950950
* Search the models for the satellite and set SELECTED to TRUE.
951951
*
952952
* @param *selector is the selector that contains the models
953-
* @param catnr is the catalog numer of satellite.
953+
* @param catnr is the catalog number of satellite.
954954
*/
955955
void gtk_sat_selector_mark_selected(GtkSatSelector * selector, gint catnr)
956956
{
@@ -961,7 +961,7 @@ void gtk_sat_selector_mark_selected(GtkSatSelector * selector, gint catnr)
961961
* Searches the models for the satellite and sets SELECTED to FALSE.
962962
*
963963
* @param *selector is the selector that contains the models
964-
* @param catnr is the catalog numer of satellite.
964+
* @param catnr is the catalog number of satellite.
965965
*
966966
*/
967967
void gtk_sat_selector_mark_unselected(GtkSatSelector * selector, gint catnr)

src/gtk-sat-tree.c

+3-3
Original file line numberDiff line numberDiff line change
@@ -426,7 +426,7 @@ static gint scan_tle_file(const gchar * path, GtkTreeStore * store,
426426
i++;
427427
}
428428

429-
/* close IO chanel; don't care about status */
429+
/* close IO channel; don't care about status */
430430
g_io_channel_shutdown(tlefile, TRUE, NULL);
431431
g_io_channel_unref(tlefile);
432432
}
@@ -572,7 +572,7 @@ void gtk_sat_tree_select(GtkSatTree * sat_tree, guint catnum)
572572
* @param path The GtkTreePath of the current item.
573573
* @param iter The GtkTreeIter of the current item.
574574
* @param data Pointer to the GtkSatTree structure.
575-
* @return Alway FALSE to let the for-each run to till end.
575+
* @return Always FALSE to let the for-each run to till end.
576576
*
577577
* This function is used as foreach-callback in the gtk_sat_tree_select function.
578578
* The purpoise of the function is to set the check box to chacked state and add
@@ -637,7 +637,7 @@ static gboolean check_and_select_sat(GtkTreeModel * model,
637637
* @param path The GtkTreePath of the current item.
638638
* @param iter The GtkTreeIter of the current item.
639639
* @param data Pointer to the GtkSatTree structure.
640-
* @return Alway FALSE to let the for-each run to till end.
640+
* @return Always FALSE to let the for-each run to till end.
641641
*
642642
* This function is very similar to the check_and_select callback except that it
643643
* is used only to uncheck a deselected satellite.

src/gtk-sky-glance.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -771,7 +771,7 @@ static void create_sat(gpointer key, gpointer value, gpointer data)
771771
/**
772772
* Create a new GtkSkyGlance widget.
773773
*
774-
* @param sats Pointer to the hash table containing the asociated satellites.
774+
* @param sats Pointer to the hash table containing the associated satellites.
775775
* @param qth Pointer to the ground station data.
776776
* @param ts The t0 for the timeline or 0 to use the current date and time.
777777
*/

0 commit comments

Comments
 (0)