Skip to content

Commit

Permalink
Merge branch 'master' into piece-adjustments
Browse files Browse the repository at this point in the history
  • Loading branch information
johndoknjas committed Jan 19, 2025
2 parents 5901437 + 4a17c34 commit 1856001
Show file tree
Hide file tree
Showing 15 changed files with 70 additions and 43 deletions.
2 changes: 1 addition & 1 deletion modules/common/src/main/HTTPRequest.scala
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ object HTTPRequest:

private val crawlerMatcher = UaMatcher:
// spiders/crawlers
"""Googlebot|AdsBot|Google-Read-Aloud|bingbot|BingPreview|facebookexternalhit|meta-externalagent|SemrushBot|AhrefsBot|PetalBot|Applebot|YandexBot|YandexAdNet|Twitterbot|Baiduspider|Amazonbot|Bytespider|yacybot|ImagesiftBot|ChatGLM-Spider|YisouSpider""" +
"""Googlebot|AdsBot|Google-Read-Aloud|bingbot|BingPreview|facebookexternalhit|meta-externalagent|SemrushBot|AhrefsBot|PetalBot|Applebot|YandexBot|YandexAdNet|YandexImages|Twitterbot|Baiduspider|Amazonbot|Bytespider|yacybot|ImagesiftBot|ChatGLM-Spider|YisouSpider""" +
// http libs
"""|HeadlessChrome|okhttp|axios|wget|curl|python-requests|aiohttp|commons-httpclient|python-urllib|python-httpx|Nessus"""

Expand Down
4 changes: 2 additions & 2 deletions project/Dependencies.scala
Original file line number Diff line number Diff line change
Expand Up @@ -18,14 +18,14 @@ object Dependencies {
val hasher = "com.roundeights" %% "hasher" % "1.3.1"
val compression = "org.lichess" %% "compression" % "1.10"
val maxmind = "com.maxmind.geoip2" % "geoip2" % "4.0.1"
val caffeine = "com.github.ben-manes.caffeine" % "caffeine" % "3.1.8" % "compile"
val caffeine = "com.github.ben-manes.caffeine" % "caffeine" % "3.2.0" % "compile"
val scaffeine = "com.github.blemale" %% "scaffeine" % "5.3.0" % "compile"
val googleOAuth = "com.google.auth" % "google-auth-library-oauth2-http" % "1.30.1"
val galimatias = "io.mola.galimatias" % "galimatias" % "0.2.2-NF"
val scalatags = "com.lihaoyi" %% "scalatags" % "0.13.1"
val lettuce = "io.lettuce" % "lettuce-core" % "6.5.2.RELEASE"
val nettyTransport =
("io.netty" % s"netty-transport-native-$notifier" % "4.1.116.Final").classifier(s"$os-$arch")
("io.netty" % s"netty-transport-native-$notifier" % "4.1.117.Final").classifier(s"$os-$arch")
val lilaSearch = "org.lichess.search" %% "client" % "3.1.0"
val munit = "org.scalameta" %% "munit" % "1.0.4" % Test
val uaparser = "org.uaparser" %% "uap-scala" % "0.18.0"
Expand Down
2 changes: 1 addition & 1 deletion translation/dest/activity/af-ZA.xml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
</plurals>
<plurals name="solvedNbPuzzles">
<item quantity="one">Het %s taktiese kopkrapper opgelos</item>
<item quantity="other">Het %s taktiese kopkrappers opgelos</item>
<item quantity="other">%s oefen raaisels opgelos</item>
</plurals>
<plurals name="playedNbGames">
<item quantity="one">Het %1$s %2$s spel gespeel</item>
Expand Down
5 changes: 4 additions & 1 deletion translation/dest/appeal/af-ZA.xml
Original file line number Diff line number Diff line change
@@ -1,2 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<resources></resources>
<resources>
<string name="cleanAllGood">Jou rekening is nie gemerk of beperk nie. Jy is onbeperk!</string>
<string name="engineMarked">Jou rekening is gemerk vir eksterne bystand in spelle.</string>
</resources>
4 changes: 4 additions & 0 deletions translation/dest/arena/ml-IN.xml
Original file line number Diff line number Diff line change
Expand Up @@ -45,13 +45,17 @@ berserk ഗെയിമിൽ 7 നീക്കങ്ങളിലധികം
<string name="newTeamBattle">പുതിയ കളിക്കൂട്ടപോരാട്ടം</string>
<string name="customStartDate">തുടക്കത്തിന്റെ ഇഷ്ടാനുസൃത നാൾ</string>
<string name="allowChatHelp">സല്ലാപമുറിയിൽ കളിക്കാരെ വാദിക്കാൻ അനുവദിക്കുക</string>
<string name="averagePerformance">ശരാശരി നിൎവ്വഹണം</string>
<string name="averageScore">ശരാശരി പ്രാപ്താങ്കം</string>
<string name="myTournaments">എന്റെ മത്സരങ്ങൾ</string>
<string name="editTournament">മത്സരം തിരുത്തുക</string>
<string name="editTeamBattle">കളികൂട്ട പോരാട്ടം തിരുത്തുക</string>
<string name="defender">പരിരക്ഷകൻ</string>
<string name="pickYourTeam">താങ്ങളുടെ പക്ഷം തിരഞ്ഞെടുക്കുക</string>
<string name="created">ഉണ്ടാകിയത്</string>
<string name="recentlyPlayed">പുതുതായ കളിച്ചത്</string>
<string name="bestResults">ഏറ്റവും നലത് ഫലങ്ങൾ</string>
<string name="tournamentStats">മത്സരസ്ഥിതിവിവരക്കണക്കു്</string>
<string name="medians">മാധ്യകങ്ങൾ</string>
<string name="allAveragesAreX">ഈ താളിലുള്ള എല്ലാ ശരാശരികൾ %s ആണു്.</string>
<string name="total">മൊത്തം</string>
Expand Down
42 changes: 21 additions & 21 deletions translation/dest/class/af-ZA.xml
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<string name="lichessClasses">Klasse</string>
<string name="lichessClasses" comment="Lichess Classes are a feature that lets a teacher create virtual classes and check out students' progress.&#10;&#10;This text used to be &quot;Lichess Classes&quot;, which has since been shortened to &quot;Classes&quot;.">Klasse</string>
<string name="teachClassesOfChessStudents">Bied klasse vir skaakstudente aan met die Lichess Klasse-funksionaliteitpakket.</string>
<string name="features">Kenmerke</string>
<string name="quicklyGenerateSafeUsernames">Genereer spoedig veilige gebruikersname en wagwoorde vir studente</string>
<string name="trackStudentProgress">Monitor die studente se vooruitgang in wedstryde en kopkrappers</string>
<string name="trackStudentProgress">Monitor studente se ontwikkeling in wedstryde en raaisels</string>
<string name="messageAllStudents">Stel alle studente in kennis oor nuwe klas materiaal</string>
<string name="freeForAllForever" comment="The automated QA checker treats &quot;100%&quot; as if it is a variable, and will give a warning if you change it.&#10;It is not a variable.&#10;&#10;You can still save your translation writing it as &quot;%100&quot; for example, in case this is more valid in your language.">100% gratis vir almal, vir ewig, met geen advertensies of koekies</string>
<string name="applyToBeLichessTeacher">Doen aansoek om \'n Lichess Onderwyser te wees</string>
Expand All @@ -13,10 +13,10 @@
<string name="newClass">Nuwe klas</string>
<string name="closeClass">Maak klas toe</string>
<string name="removedByX">Verwyder deur %s</string>
<string name="reopen">Heropen</string>
<string name="removeStudent">Verwyder student</string>
<string name="removedStudents">Verwyder</string>
<string name="inviteTheStudentBack">Nooi die student terug</string>
<string name="reopen" comment="A button, permitting a teacher to reopen a closed class.">Heropen</string>
<string name="removeStudent" comment="Removes a student from the class. Note the same text is used both for initial removal, and for full erasure.">Verwyder student</string>
<string name="removedStudents" comment="This is in plural form. It is a heading showing all students who have been removed from the class.">Verwyder</string>
<string name="inviteTheStudentBack" comment="A button. Clicking this will re-invite a student that has been removed from the class.">Nooi die student terug</string>
<string name="sendAMessage">Stuur \'n boodskap na al die studente.</string>
<string name="aLinkToTheClassWillBeAdded">\'n Skakel na die klas sal outomaties gevoeg word aan die einde van die boodskap, so jy hoef dit nie self by te voeg nie.</string>
<string name="className">Klas naam</string>
Expand All @@ -30,7 +30,7 @@
<string name="generateANewPassword">Genereer \'n nuwe wagwoord vir die student</string>
<string name="invitedToXByY">Genooi na %1$s deur %2$s</string>
<string name="realName">Regte naam</string>
<string name="privateWillNeverBeShown">Privaat. Sal nooit buite die klas vertoon word nie. Help om te onthou wie die student is.</string>
<string name="privateWillNeverBeShown" comment="A description of the real name field for members of a class.">Privaat. Sal nooit buite die klas vertoon word nie. Help om te onthou wie die student is.</string>
<string name="addStudent">Voeg student by</string>
<string name="lichessProfileXCreatedForY">Lichess profiel %1$s geskep vir %2$s.</string>
<string name="studentCredentials">Student: %1$s
Expand All @@ -41,14 +41,14 @@ Wagwoord: %3$s</string>
<string name="inviteDesc2">Hulle sal \'n boodskap op Lichess ontvang met \'n skakel om by die klas aan te sluit.</string>
<string name="inviteDesc3">Belangrik: nooi net studente wat jy ken, en wat aktief by die klas wil aansluit.</string>
<string name="inviteDesc4">Moet nooit ongevraagde uitnodigings na arbitrêre spelers stuur nie.</string>
<string name="createANewLichessAccount">Skep nuwe Lichess rekening</string>
<string name="createANewLichessAccount" comment="The person who would see this would always be a teacher.&#10;In this context, it is to create a new account for a student of their class.">Skep nuwe Lichess rekening</string>
<string name="createDesc1">Indien die student nog nie \'n Lichess rekening het nie, kan jy een vir hulle hier skep.</string>
<string name="createDesc2">Geen e-pos adres word benodig nie. \'n Wagwoord sal gegenereer word, en jy sal dit na die student moet aanstuur, sodat hulle kan inteken.</string>
<string name="createDesc3">Belangrik: \'n Student moet nie verskeie rekeninge hê nie.</string>
<string name="createDesc4">Indien hulle reeds een het, gebruik eerder die uitnodigingsvorm.</string>
<string name="createStudentWarning">Skep rekeninge slegs vir werklike studente. Moet nie hierdie gebruik om meer rekeninge vir jouself te skep nie.</string>
<string name="lichessUsername">Lichess gebruikersnaam</string>
<string name="generateANewUsername">Genereer \'n nuwe gebruikersnaam</string>
<string name="generateANewUsername" comment="A button which lets teachers create a random username for students they are registering.">Genereer \'n nuwe gebruikersnaam</string>
<string name="welcomeToClass">Welkom by jou klas: %s.
Hier is die skakel om die klas te betree.</string>
<string name="invitationToClass">U word uitgenooi om as student by die klas \"%s\" aan te sluit.</string>
Expand All @@ -57,14 +57,14 @@ Hier is die skakel om die klas te betree.</string>
<item quantity="one">Een hangende uitnodiging</item>
<item quantity="other">%s hangende uitnodigings</item>
</plurals>
<string name="pending">Hangende</string>
<string name="declined">Afgekeur</string>
<string name="pending" comment="Appears in a table of students. Refers to invitation by a teacher to join a class, which the student has not yet responded to.">Hangende</string>
<string name="declined" comment="Appears in a table of students. Refers to invitation by a teacher to join a class, which the student declined.">Afgekeur</string>
<string name="onlyVisibleToTeachers">Slegs sigbaar vir die klas onderwysers</string>
<string name="lastActiveDate">Aktief</string>
<string name="managed">Onder Administrasie</string>
<string name="thisStudentAccountIsManaged">Hierdie studenterekening word gadministreer</string>
<string name="upgradeFromManaged">Opgegradeer vanaf geadministreer na onafhanklik</string>
<string name="release">Stel vry</string>
<string name="release" comment="This used to be 'release'. It is now called 'graduate', and the term is used here as a verb.&#10;&#10;'Releasing' an account means making it a full Lichess account. It will no longer be tied to the teacher that created it.">Stel vry</string>
<string name="releaseTheAccount">Stel rekening vry sodat student dit onafhanklik kan beheer.</string>
<string name="releaseDesc1">\'n Vrygestelde rekening kan nie weer geadministreer word nie. Die student sal die kindermodus kan aan en afskakel en die wagwoord self herstel.</string>
<string name="releaseDesc2">Die student sal in die klas bly nadat die rekening vrygestel is.</string>
Expand Down Expand Up @@ -103,19 +103,19 @@ Hier is die skakel om die klas te betree.</string>
Dit sal \'n horisontale lyn vertoon.</string>
<string name="invite">Nooi uit</string>
<string name="youHaveBeenInvitedByX">Jy is deur %s uitgenooi.</string>
<string name="youAcceptedThisInvitation">Jy het hierdie uitnodiging aanvaar.</string>
<string name="youDeclinedThisInvitation">Jy het hierdie uitnodiging van die hand gewys.</string>
<string name="youAcceptedThisInvitation" comment="Appears when revisiting the page of an invitation to a class, which you have already accepted.">Jy het hierdie uitnodiging aanvaar.</string>
<string name="youDeclinedThisInvitation" comment="Appears when revisiting the page of an invitation to a class, which you have already declined.">Jy het hierdie uitnodiging van die hand gewys.</string>
<string name="orSeparator" comment="Used as separator between invite sections. Shown as large '~ or ~'.">of</string>
<string name="createMultipleAccounts">Skep verskeie Lichess-rekenings tegelyk</string>
<string name="multipleAccsFormDescription" comment="%s is a link and will be replaced with the translation of useThisForm. Make sure both strings fit together.">Jy kan ook %s om verskeie Lichess-rekenings van \'n lys studentename te skep.</string>
<string name="useThisForm" comment="Link text in multipleAccsFromDescription">hierdie vorm gebruik</string>
<string name="maxStudentsNote" comment="%1$s will be replaced with a large number (currently 100).\n%2$s is a link and will be replaced with the translation of createMoreClasses. Make sure both strings fit together.">Let daarop dat \'n klas tot %1$s studente kan hê. Vir meer studente, %2$s.</string>
<string name="createMoreClasses" comment="Link text in maxStudentsNote">skep meer klasse</string>
<string name="studentsRealNamesOnePerLine">Studente se regte name, een per lyn</string>
<string name="xisNowAStudentOfTheClass">%s is nou \'n student van die klas</string>
<string name="anInvitationHasBeenSentToX">\'n Uitnodiging is gestuur na %s</string>
<string name="xAlreadyHasAPendingInvitation">%s is reeds genooi</string>
<string name="xIsAKidAccountWarning">%1$s is \'n kind en kan nie jou boodskap ontvang nie. Gee die uitnodiging met die hand: %2$s</string>
<string name="moveToClass">Skuif na %s</string>
<string name="moveToAnotherClass">Skuif na \'n ander klas</string>
<string name="studentsRealNamesOnePerLine" comment="An instruction on how to enter students' names when creating new accounts for them.">Studente se regte name, een per lyn</string>
<string name="xisNowAStudentOfTheClass" comment="%s is the player's name">%s is nou \'n student van die klas</string>
<string name="anInvitationHasBeenSentToX" comment="%s is the username of a player already registered on Lichess.">\'n Uitnodiging is gestuur na %s</string>
<string name="xAlreadyHasAPendingInvitation" comment="An error message. %s is the username of a player already registered on Lichess.">%s is reeds genooi</string>
<string name="xIsAKidAccountWarning" comment="%1$s is the username&#10;%2$s is a link.">%1$s is \'n kind en kan nie jou boodskap ontvang nie. Gee die uitnodiging met die hand: %2$s</string>
<string name="moveToClass" comment="%s is the name of the class. The name of the class is set by the teacher.&#10;&#10;Appears on a confirmation prompt when a teacher looks to move a student to one of the other classes they run.">Skuif na %s</string>
<string name="moveToAnotherClass" comment="Appears as a heading on a page which lets a teacher move one of their students to one of the other classes they run.">Skuif na \'n ander klas</string>
</resources>
1 change: 1 addition & 0 deletions translation/dest/features/af-ZA.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
<string name="boardEditorAndAnalysisBoardWithEngine" comment="%s is the engine name (Stockfish, Fairy-Stockfish)">Bordredigeerder en analisebord met %s</string>
<string name="chessInsights">Skaakinsigte (detailanalise van jou spel)</string>
<string name="allChessBasicsLessons">Alle basiese skaaklesse</string>
<string name="tacticalPuzzlesFromUserGames">Taktiese raaisels vanuit gebruikerspelle</string>
<string name="personalOpeningExplorerX">%1$s (wek ook op %2$s)</string>
<string name="endgameTablebase">7-stuk eindspel-tablebase</string>
<string name="downloadOrUploadAnyGameAsPgn">Oplaai/Aflaai van enige spel as PGN</string>
Expand Down
2 changes: 1 addition & 1 deletion translation/dest/learn/af-ZA.xml
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,7 @@ in twee skuiwe!</string>
<string name="getAFreeLichessAccount">Kry ’n gratis Lichess-rekening</string>
<string name="practice">Oefen</string>
<string name="learnCommonChessPositions">Leer algemene skaakposisies</string>
<string name="puzzles">Kopkrappers</string>
<string name="puzzles">Raaisels</string>
<string name="exerciseYourTacticalSkills">Oefen jou taktiese vermoëns</string>
<string name="videos">Video’s</string>
<string name="watchInstructiveChessVideos">Kyk opleidingsvideo’s vir skaak</string>
Expand Down
10 changes: 5 additions & 5 deletions translation/dest/puzzle/af-ZA.xml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<string name="puzzles">Raaisels</string>
<string name="puzzleThemes">Raaisel temas</string>
<string name="recommended">Aanbeveeldede</string>
<string name="puzzleThemes">Raaisel Temas</string>
<string name="recommended">Aanbeveelde</string>
<string name="phases">Fases</string>
<string name="motifs">Redes</string>
<string name="advanced">Gevorderd</string>
Expand Down Expand Up @@ -60,11 +60,11 @@
<string name="example">Voorbeeld</string>
<string name="addAnotherTheme">Voeg nog \'n tema by</string>
<string name="nextPuzzle">Volgende raaisel</string>
<string name="jumpToNextPuzzleImmediately">Spring onmiddellik na die volgende kopkrapper</string>
<string name="puzzleDashboard">Kopkrapper paneelbord</string>
<string name="jumpToNextPuzzleImmediately">Spring onmiddellik na die volgende raaisel</string>
<string name="puzzleDashboard">Raaisel Paneelbord</string>
<string name="improvementAreas">Areas van verbetering</string>
<string name="strengths">Sterkpunte</string>
<string name="history">Kopkrapper geskiedenis</string>
<string name="history">Raaisel geskiedenis</string>
<string name="solved">opgelos</string>
<string name="failed" comment="In the list of previously attempted puzzles, a tag indicating that the puzzle has been failed.&#10;&#10;The text will be automatically capitalised. If you have different ways to translate it, we suggest keeping it short.&#10;&#10;NOTE: This string previously said 'failed', but was changed to 'incorrect' to be more encouraging (https://github.com/lichess-org/lila/issues/11068)">gefaal</string>
<string name="streakDescription">Los toenemend moeiliker raaisels op en bou \'n wen reeks. Daar is nie \'n tydsfaktor nie, so vat dit rustig. Een verkeerde skuif en dit stuit! Maar jy kan \'n skuif per sessie oorslaan.</string>
Expand Down
Loading

0 comments on commit 1856001

Please sign in to comment.