Skip to content

Commit 2fd5cc2

Browse files
authored
Fix various typos
Found via `codespell -S "*.pdf,*.po,*.pot" -L asend,bord,indx,leadin,offsetp,ontext,nd,siz,thes,ue`
1 parent 41a37d2 commit 2fd5cc2

File tree

13 files changed

+14
-14
lines changed

13 files changed

+14
-14
lines changed

automation/autoload/cleantags-autoload.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ blocks and redundant/duplicate tags
55
writing) @ http://www.malakith.net/aegiwiki
66
* Requires cleantags.lua to be available in automation's include folder
77
* The changes performed on your subtitles are guaranteed to be undo-able provided that Aegisub's undo
8-
mechanism works. Even so, I am not resposible if it damages your subtitles permanently, so please
8+
mechanism works. Even so, I am not responsible if it damages your subtitles permanently, so please
99
back up your subtitle file before applying the cleaning up
1010
1111
Copyright (c) 2007-2009 Muhammad Lukman Nasaruddin (aka ai-chan, Aegisub's forum member)

automation/include/aegisub/re.moon

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ do_replace_fun = (re, func, str, max) ->
141141
break
142142
table.concat(acc, '') .. str\sub pos
143143

144-
-- Compiled regular expression type protoype
144+
-- Compiled regular expression type prototype
145145
class RegEx
146146
-- Verify that a valid value was passed for self
147147
_check_self: =>

automation/include/cleantags.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ function cleantags(text)
9696
end
9797
end
9898

99-
--[[ Remove any spaces within parenteses within override blocks except for \clip tags ]]
99+
--[[ Remove any spaces within parentheses within override blocks except for \clip tags ]]
100100
local comb = function(a,b,c,d,e)
101101
if (c ~= "\\clip" and c ~= "\\iclip") or d:sub(-1):find("[,%({]") or e:sub(1,1):find("[,%)}]") then return a..b..d..e
102102
else return a..b..d..string.char(2)..e end

automation/include/karaskel-auto4.lua

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@ function karaskel.preproc_line_text(meta, styles, line)
164164
worksyl.highlights[worksyl.highlights.n] = hl
165165

166166
-- Detect furigana (both regular and fullwidth pipes work)
167-
-- Furigana is stored independantly from syllables
167+
-- Furigana is stored independently from syllables
168168
if syltext:find("|") or syltext:find("") then
169169
-- Replace fullwidth pipes, they aren't regex friendly
170170
syltext = syltext:gsub("", "|")
@@ -195,7 +195,7 @@ function karaskel.preproc_line_text(meta, styles, line)
195195
furitext = furitext:sub(unicode.charwidth(furitext,1)+1)
196196
end
197197

198-
-- Some of these may seem superflous, but a furi should ideally have the same "interface" as a syllable
198+
-- Some of these may seem superfluous, but a furi should ideally have the same "interface" as a syllable
199199
furi.start_time = syl.start_time
200200
furi.end_time = syl.end_time
201201
furi.duration = syl.duration

automation/v4-docs/progress-reporting.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ This function has been removed. A progress dialog is always shown.
1313

1414
Setting the progress bar position
1515

16-
function aegisub.progress.set(precent)
16+
function aegisub.progress.set(percent)
1717

1818
@percent (number)
1919
The percentage completed.

src/ass_file.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ void AssFile::GetResolution(int &sw, int &sh) const {
140140
sh = GetScriptInfoAsInt("PlayResY");
141141

142142
// Gabest logic: default is 384x288, assume 1280x1024 if either height or
143-
// width are that, otherwise assume 4:3 if only heigh or width are set.
143+
// width are that, otherwise assume 4:3 if only height or width are set.
144144
// Why 1280x1024? Who the fuck knows. Clearly just Gabest trolling everyone.
145145
if (sw == 0 && sh == 0) {
146146
sw = 384;

src/audio_player_dsound2.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -307,7 +307,7 @@ void DirectSoundPlayer2Thread::Run()
307307
// Create DirectSound object
308308
IDirectSound8 *ds_raw = nullptr;
309309
if (FAILED(DirectSoundCreate8(&DSDEVID_DefaultPlayback, &ds_raw, nullptr)))
310-
REPORT_ERROR("Cound not create DirectSound object")
310+
REPORT_ERROR("Could not create DirectSound object")
311311

312312
COMObjectRetainer<IDirectSound8> ds(ds_raw);
313313

src/audio_timing_karaoke.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ class AudioTimingControllerKaraoke final : public AudioTimingController {
103103
/// Labels containing the stripped text of each syllable
104104
std::vector<AudioLabel> labels;
105105

106-
/// Should changes be automatically commited?
106+
/// Should changes be automatically committed?
107107
bool auto_commit = OPT_GET("Audio/Auto/Commit")->GetBool();
108108
int commit_id = -1; ///< Last commit id used for an autocommit
109109
bool pending_changes; ///< Are there any pending changes to be committed?

src/fft.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
/// @ingroup utility
3333
///
3434
/// Most of this code was taken from http://www.codeproject.com/audio/waveInFFT.asp
35-
/// And rewriten by Rodrigo Braz Monteiro
35+
/// And rewritten by Rodrigo Braz Monteiro
3636

3737
#include "fft.h"
3838

src/font_file_lister_coretext.mm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ FontMatch process_descriptor(NSFontDescriptor *desc, NSString *name) {
7676
// Some fonts have different family names for OS X and Windows, with all of
7777
// the styles in a single family on OS X, but only bold/italic variants in
7878
// the main family with different families for the other variants on Windows.
79-
// For VSFilter compatiblity we want to match based on the Windows name.
79+
// For VSFilter compatibility we want to match based on the Windows name.
8080
if (ret.family_match) {
8181
auto data = (__bridge_transfer NSData *)CTFontCopyTable((__bridge CTFontRef)font, kCTFontTableName, 0);
8282
auto bytes = static_cast<const uint8_t *>(data.bytes);

0 commit comments

Comments
 (0)