Skip to content

Commit 31703b0

Browse files
Moittie VincentZorin95670
Moittie Vincent
authored andcommitted
✏️ (frontend) Fix some typo
Signed-off-by: Zorin95670 <[email protected]>
1 parent 9c9e105 commit 31703b0

File tree

14 files changed

+17
-16
lines changed

14 files changed

+17
-16
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ and this project adheres to
1111
## Changed
1212

1313
- ✏️(backend) Fix some typo
14+
- ✏️(frontend) Fix some typo
1415

1516
## [3.2.1] - 2025-05-06
1617

src/frontend/apps/e2e/__tests__/app-impress/config.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@ test.describe('Config', () => {
175175
});
176176
});
177177

178-
test.describe('Config: Not loggued', () => {
178+
test.describe('Config: Not logged', () => {
179179
test.use({ storageState: { cookies: [], origins: [] } });
180180

181181
test('it checks that theme is configured from config endpoint', async ({

src/frontend/apps/e2e/__tests__/app-impress/doc-create.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ test.describe('Doc Create', () => {
3131
});
3232
});
3333

34-
test.describe('Doc Create: Not loggued', () => {
34+
test.describe('Doc Create: Not logged', () => {
3535
test.use({ storageState: { cookies: [], origins: [] } });
3636

3737
test('it creates a doc server way', async ({

src/frontend/apps/e2e/__tests__/app-impress/doc-editor.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ test.describe('Doc Editor', () => {
9393

9494
const selectVisibility = page.getByLabel('Visibility', { exact: true });
9595

96-
// When the visibility is changed, the ws should closed the connection (backend signal)
96+
// When the visibility is changed, the ws should close the connection (backend signal)
9797
const wsClosePromise = webSocket.waitForEvent('close');
9898

9999
await selectVisibility.click();

src/frontend/apps/e2e/__tests__/app-impress/doc-export.spec.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ test.describe('Doc Export', () => {
141141

142142
/**
143143
* This test tell us that the export to pdf is working with images
144-
* but it does not tell us if the images are beeing displayed correctly
144+
* but it does not tell us if the images are being displayed correctly
145145
* in the pdf.
146146
*
147147
* TODO: Check if the images are displayed correctly in the pdf
@@ -270,7 +270,7 @@ test.describe('Doc Export', () => {
270270
});
271271

272272
/**
273-
* We cannot assert the line break is visible in the pdf but we can assert the
273+
* We cannot assert the line break is visible in the pdf, but we can assert the
274274
* line break is visible in the editor and that the pdf is generated.
275275
*/
276276
test('it exports the doc with divider', async ({ page, browserName }) => {

src/frontend/apps/e2e/__tests__/app-impress/doc-routing.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ test.describe('Doc Routing', () => {
9696
});
9797
});
9898

99-
test.describe('Doc Routing: Not loggued', () => {
99+
test.describe('Doc Routing: Not logged', () => {
100100
test.use({ storageState: { cookies: [], origins: [] } });
101101

102102
test('checks redirect to a doc after login', async ({

src/frontend/apps/e2e/__tests__/app-impress/doc-visibility.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -329,7 +329,7 @@ test.describe('Doc Visibility: Public', () => {
329329
test.describe('Doc Visibility: Authenticated', () => {
330330
test.use({ storageState: { cookies: [], origins: [] } });
331331

332-
test('A doc is not accessible when unauthentified.', async ({
332+
test('A doc is not accessible when unauthenticated.', async ({
333333
page,
334334
browserName,
335335
}) => {

src/frontend/apps/impress/src/api/__tests__/fetchApi.test.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ describe('fetchAPI', () => {
2929
});
3030
});
3131

32-
it('check the versionning', () => {
32+
it('check the versioning', () => {
3333
fetchMock.mock('http://test.jest/api/v2.0/some/url', 200);
3434

3535
void fetchAPI('some/url', {}, '2.0');

src/frontend/apps/impress/src/features/docs/doc-export/blocks-mapping/paragraphPDF.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import { DocsExporterPDF } from '../types';
55
export const blockMappingParagraphPDF: DocsExporterPDF['mappings']['blockMapping']['paragraph'] =
66
(block, exporter) => {
77
/**
8-
* Breakline in the editor are not rendered in the PDF
8+
* Break line in the editor are not rendered in the PDF
99
* By adding a space if the block is empty we ensure that the block is rendered
1010
*/
1111
if (Array.isArray(block.content)) {

src/frontend/apps/impress/src/features/docs/doc-export/blocks-mapping/tablePDF.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
* See:
55
* https://github.com/TypeCellOS/BlockNote/blob/004c0bf720fe1415c497ad56449015c5f4dd7ba0/packages/xl-pdf-exporter/src/pdf/util/table/Table.tsx
66
*
7-
* We succeded to manage the colspan, but rowspan is not supported yet.
7+
* We succeeded to manage the colspan, but rowspan is not supported yet.
88
*/
99

1010
import { TD, TR, Table } from '@ag-media/react-pdf-table';

src/frontend/apps/impress/src/features/language/hooks/useLanguageSynchronizer.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ export const useLanguageSynchronizer = () => {
4141
(userPreferredLanguages.length ? 'toFrontend' : 'toBackend');
4242

4343
if (direction === 'toBackend') {
44-
// Update user's preference from frontends's language
44+
// Update user's preference from frontend's language
4545
const closestBackendLanguage =
4646
getMatchingLocales(
4747
availableBackendLanguages,

src/frontend/apps/impress/src/features/service-worker/ApiPlugin.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ export class ApiPlugin implements WorkboxPlugin {
112112
};
113113

114114
/**
115-
* When we get an network error.
115+
* When we get a network error.
116116
*/
117117
handlerDidError: WorkboxPlugin['handlerDidError'] = async ({ request }) => {
118118
if (!this.isFetchDidFailed) {

src/frontend/apps/impress/src/features/service-worker/service-worker.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@ registerRoute(
181181
);
182182

183183
/**
184-
* Cache stategy static files images (images / svg)
184+
* Cache strategy static files images (images / svg)
185185
*/
186186
registerRoute(
187187
({ request }) => request.destination === 'image',
@@ -197,7 +197,7 @@ registerRoute(
197197
);
198198

199199
/**
200-
* Cache stategy static files fonts
200+
* Cache strategy static files fonts
201201
*/
202202
googleFontsCache();
203203
registerRoute(
@@ -214,7 +214,7 @@ registerRoute(
214214
);
215215

216216
/**
217-
* Cache stategy static files (css, js, workers)
217+
* Cache strategy static files (css, js, workers)
218218
*/
219219
registerRoute(
220220
({ request }) =>

src/frontend/packages/i18n/format-deploy.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ const jsonI18n = {};
1515
// Fetch the files in the locales folder
1616
fs.readdirSync(folderPath).map((language) => {
1717
const languagePath = path.join(folderPath, path.sep, language);
18-
// Crowdin output file in folder, we want to treat only these ones
18+
// Crowdin output file in folder, we want to treat only these
1919
if (!fs.lstatSync(languagePath).isDirectory()) {
2020
return;
2121
}

0 commit comments

Comments
 (0)