Skip to content

Commit ce4dce5

Browse files
authored
Fix various typos (#11836)
Found via `codespell -q 3 -S "*.desktop,./src/st/croco"`
1 parent 7d2c915 commit ce4dce5

38 files changed

+60
-60
lines changed

docs/reference/cinnamon-js/gen_doc.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -263,7 +263,7 @@
263263
scope = line
264264

265265
# Don't count the brackets inside strings. STRING_REGEX recognizes
266-
# ' and " but doesn't know if they are esacped. So replace away all
266+
# ' and " but doesn't know if they are escaped. So replace away all
267267
# escaped quotes
268268
line = STRING_REGEX.sub('', line.replace("\\'", "").replace('\\"', ''))
269269

docs/reference/cinnamon-tutorials/xlet-settings.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ this.height = 100; //now our height is 100</programlisting>
167167
</sect2>
168168
<sect2>
169169
<title>Overrides</title>
170-
<para>As of Cinnamon 4.4, it is now possible to override individual settings and their properties. This is to allow distributions to make changes that help cinnamon feel more 'at home' in that distribution, such as default icons, stings, etc.</para>
170+
<para>As of Cinnamon 4.4, it is now possible to override individual settings and their properties. This is to allow distributions to make changes that help cinnamon feel more 'at home' in that distribution, such as default icons, strings, etc.</para>
171171
<para>To create an override, place a file called settings-override.json, in the folder of the applet, desklet or extension you wish to override. This file will have the same format as settings-schema.json, but you only need to include the settings you wish to override. Note: the settings need to have the same settings 'key' as the one you're overriding - otherwise it will add a new, unused setting rather than replacing the old.</para>
172172
<para>If you would just like to add or replace one or two properties, there is an additional option as well. In the settings key, include the property <code>override-prop</code> (it's value can be anything - even false), and it will use the original setting definition and only add or change the properties you define. This is particularly useful if you want to change a default, add a tooltip, or other minor changes like that.</para>
173173
<para>Tip: If you wish to remove a setting, you can do that too! Because the applet almost certainly relies on there being a value for that setting, you will need to replace it, rather than removing it completely. All you need to do, is redefine the setting with a type of <code>generic</code>. Be sure to also define the <code>default</code> property. Please note that if a user already has a value set that is not the default, it will continue to use the old value rather than the default, but the user will no longer be able to set it.</para>

files/usr/bin/cinnamon-json-makepot

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ It is kept for backwards compatibility as it is currently used by other scripts
77
88
for usage info type:
99
cinnamon-xlet-makepot -h
10-
* Note that the Javascript arguement is inverted because previously Javascript files
10+
* Note that the Javascript argument is inverted because previously Javascript files
1111
were not scanned by default, but now are.
1212
"""
1313

files/usr/share/cinnamon/applets/[email protected]/calendar.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ function _formatEventTime(event, clockFormat) {
8181
default:
8282
/* explicit fall-through */
8383
case '12h':
84-
/* Transators: Shown in calendar event list, if 12h format */
84+
/* Translators: Shown in calendar event list, if 12h format */
8585
ret = event.date.toLocaleFormat(C_("event list time", "%l:%M %p"));
8686
break;
8787
}

files/usr/share/cinnamon/applets/[email protected]/eventView.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -513,7 +513,7 @@ class EventsManager {
513513
let week_day = day_one.get_day_of_week();
514514
let week_start = Cinnamon.util_get_week_start();
515515

516-
// back up to the start of the week preceeding day 1
516+
// back up to the start of the week preceding day 1
517517
let start = day_one.add_days( -(week_day - week_start) );
518518
// The calendar has 42 boxes
519519
let end = start.add_days(42).add_seconds(-1);

files/usr/share/cinnamon/applets/[email protected]/applet.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@ const SMI_DEFAULT_PARAMS = Object.freeze({
168168
* @param {string} params.description - The description for the menu item.
169169
* @param {string} params.type - A string describing the type of item.
170170
* @param {string} params.styleClass - The item's CSS style class.
171-
* @param {boolean} params.reactive - Item recieves events.
171+
* @param {boolean} params.reactive - Item receives events.
172172
* @param {boolean} params.activatable - Activates via primary click. Must provide an 'activate' function on
173173
* the prototype or instance.
174174
* @param {boolean} params.withMenu - Shows menu via secondary click. Must provide a 'populateMenu' function
@@ -230,7 +230,7 @@ class SimpleMenuItem {
230230
}
231231

232232
/**
233-
* Adds an StIcon as the next child, acessible as `this.icon`.
233+
* Adds an StIcon as the next child, accessible as `this.icon`.
234234
*
235235
* Either an icon name or gicon is required. Only one icon is supported by the
236236
* base SimpleMenuItem.
@@ -1283,7 +1283,7 @@ class CinnamonMenuApplet extends Applet.TextIconApplet {
12831283
this._screenSaverProxy = new ScreenSaver.ScreenSaverProxy();
12841284

12851285
// We shouldn't need to call refreshAll() here... since we get a "icon-theme-changed" signal when CSD starts.
1286-
// The reason we do is in case the Cinnamon icon theme is the same as the one specificed in GTK itself (in .config)
1286+
// The reason we do is in case the Cinnamon icon theme is the same as the one specified in GTK itself (in .config)
12871287
// In that particular case we get no signal at all.
12881288
this.refreshId = 0;
12891289
this.refreshMask = REFRESH_ALL_MASK;

files/usr/share/cinnamon/applets/[email protected]/applet.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -497,7 +497,7 @@ NMDevice.prototype = {
497497
},
498498

499499
setEnabled: function(enabled) {
500-
// do nothing by default, we want to keep the conneciton list visible
500+
// do nothing by default, we want to keep the connection list visible
501501
// in the majority of cases (wired, wwan, vpn)
502502
},
503503

files/usr/share/cinnamon/applets/[email protected]/applet.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ class CinnamonNotificationsApplet extends Applet.TextIconApplet {
141141
// Add notification to list.
142142
notification._inNotificationBin = true;
143143
this.notifications.push(notification);
144-
// Steal the notication panel.
144+
// Steal the notification panel.
145145
this._notificationbin.add(notification.actor);
146146
notification.actor._parent_container = this._notificationbin;
147147
notification.actor.add_style_class_name('notification-applet-padding');

files/usr/share/cinnamon/applets/[email protected]/settings-schema.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@
8181
},
8282
"label-info" : {
8383
"type" : "label",
84-
"description" : "Play with these widgets and see the automatic reaction in the panel applet.\n\nThis is a label, and the content can't be modified nor accessed. You may want to use a label to show aditional hints or instructions, for example."
84+
"description" : "Play with these widgets and see the automatic reaction in the panel applet.\n\nThis is a label, and the content can't be modified nor accessed. You may want to use a label to show additional hints or instructions, for example."
8585
},
8686
"icon-name": {
8787
"type": "iconfilechooser",

files/usr/share/cinnamon/applets/[email protected]/applet.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -372,7 +372,7 @@ class CinnamonWorkspaceSwitcher extends Applet.Applet {
372372
// Avoid fast scroll directions
373373
if(direction != 0 && direction != 1) return;
374374

375-
// Do the switch only after a ellapsed time to avoid fast
375+
// Do the switch only after a elapsed time to avoid fast
376376
// consecutive switches on sensible hardware, like touchpads
377377
if ((now - this._last_switch) > MIN_SWITCH_INTERVAL_MS ||
378378
direction !== this._last_switch_direction) {

0 commit comments

Comments
 (0)