Skip to content

Commit 0e5de0e

Browse files
committed
Fix typos detected by codespell in source code
── NewPipe/dev · 86439c9bae22 · 3 file · +12/-2 · 2026-04-20T08:00:22Z
1 parent 3e297fd commit 0e5de0e

File tree

3 files changed

+12
-2
lines changed

3 files changed

+12
-2
lines changed

.codespellrc

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
[codespell]
2+
# Skip translation string files (managed via Weblate), build directories, git, and localized metadata
3+
skip = ./app/src/main/res/values-*,./fastlane/metadata/android/*,./doc/README.*.md,./.git,./build,./.gradle,./app/build,./captures,./.idea
4+
5+
# Words to ignore (case-insensitive) - common words from other languages and valid technical terms
6+
ignore-words-list = ser,nam,te,als,ist,unter,som,alle,ned,noe,noen,openen,appen,tre,fane,selv,lastes,ser,vise,sist,aktive,aktiv,tekst,lokale,adres,nowe,teh,sme,stran,mape,buton,complet,normale,modul,ore,sistem,progres,efect,curent,progresive,grup,incluse,apreciate,similare,categorie,elemente,probleme,duplicat,vor,devine,populare,importat,generat,serios,implicite,butoon,serwer,selektor,serwerow,nin,nome,vai,nomes,erro,autor,inicial,utiliza,alternar,posible,nd,ue,meda,nto,subscriprion,fo,mis,trun,cant,optin,goup,heigh,ot,compatability,whats,re-used,co-ordinates,re-using,everytime
7+
8+
# File types to check
9+
check-hidden = false
10+
quiet-level = 2

app/src/main/java/org/schabi/newpipe/util/FilenameUtils.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ object FilenameUtils {
5252
* Create a valid filename.
5353
*
5454
* @param title the title to create a filename from
55-
* @param invalidCharacters patter matching invalid characters
55+
* @param invalidCharacters pattern matching invalid characters
5656
* @param replacementChar the replacement
5757
* @return the filename
5858
*/

app/src/test/java/org/schabi/newpipe/streams/SrtFromTtmlWriterTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ public class SrtFromTtmlWriterTest {
127127
* - Reference:
128128
* Unicode Basic Latin (https://unicode.org/charts/PDF/U0000.pdf),
129129
* ASCII Control (https://en.wikipedia.org/wiki/ASCII#Control_characters).
130-
* and the defination of these characters can be known.
130+
* and the definition of these characters can be known.
131131
*/
132132
private static final String CONTROL_CHAR_TTML = "<p begin=\"00:00:05.000\" "
133133
+ "end=\"00:00:07.000\">"

0 commit comments

Comments
 (0)