mirror of
https://github.com/kikootwo/ReadMeABook.git
synced 2026-06-05 13:50:11 +00:00
Fix French stopWords spacing and region name
Trim whitespace in the French stopWords array (add missing space after comma) to keep formatting consistent, and rename AUDIBLE_REGIONS.fr.name from "French" to "France" to better reflect the region label used for the Audible configuration.
This commit is contained in:
@@ -174,7 +174,7 @@ const FRENCH_CONFIG: LanguageConfig = {
|
|||||||
code: 'fr',
|
code: 'fr',
|
||||||
annasArchiveLang: 'fr',
|
annasArchiveLang: 'fr',
|
||||||
epubCode: 'fr',
|
epubCode: 'fr',
|
||||||
stopWords: ['le', 'la', 'les','un', 'une', 'de', 'des', 'sur', 'dans', '\u00e0', 'et', 'par', 'pour'],
|
stopWords: ['le', 'la', 'les', 'un', 'une', 'de', 'des', 'sur', 'dans', '\u00e0', 'et', 'par', 'pour'],
|
||||||
characterReplacements: {},
|
characterReplacements: {},
|
||||||
scraping: {
|
scraping: {
|
||||||
audibleLocaleParam: 'français',
|
audibleLocaleParam: 'français',
|
||||||
|
|||||||
@@ -67,7 +67,7 @@ export const AUDIBLE_REGIONS: Record<AudibleRegion, AudibleRegionConfig> = {
|
|||||||
},
|
},
|
||||||
fr: {
|
fr: {
|
||||||
code: 'fr',
|
code: 'fr',
|
||||||
name: 'French',
|
name: 'France',
|
||||||
baseUrl: 'https://www.audible.fr',
|
baseUrl: 'https://www.audible.fr',
|
||||||
audnexusParam: 'fr',
|
audnexusParam: 'fr',
|
||||||
language: 'fr',
|
language: 'fr',
|
||||||
|
|||||||
Reference in New Issue
Block a user