[ACA] localisation (#877)

* updates

* update e2e
This commit is contained in:
Cilibiu Bogdan
2018-12-12 19:26:37 +02:00
committed by Denys Vuika
parent 1ea57740fe
commit 8e16bd59e0
13 changed files with 19 additions and 9 deletions

View File

@@ -145,7 +145,7 @@ describe('Library actions', () => {
expect(await confirmDialog.isDialogOpen()).toBe(true, 'Confirm delete dialog not open');
expect(await confirmDialog.getTitle()).toContain('Leave this library?');
expect(await confirmDialog.getText()).toContain('This will remove you as a member of this library.');
expect(await confirmDialog.getText()).toContain('Leaving will remove your access.');
expect(await confirmDialog.isButtonEnabled('OK')).toBe(true, 'OK button is not enabled');
expect(await confirmDialog.isButtonEnabled('Cancel')).toBe(true, 'Cancel button is not enabled');
});
@@ -175,7 +175,7 @@ describe('Library actions', () => {
it('Cancel join - Favorite Libraries - [C290108]', async () => {
await page.goToFavoriteLibraries();
await dataTable.selectItem(siteModerated2Admin);
await toolbar.clickButton('Cancel join');
await toolbar.clickButton('Cancel join request');
const text = await page.getSnackBarMessage();
expect(text).toEqual(`Canceled the request to join the library`);

View File

@@ -242,7 +242,7 @@ describe('Toolbar actions - single selection : ', () => {
await dataTable.selectItem(adminModerated);
expect(await toolbar.isEmpty()).toBe(false, 'toolbar not displayed');
expect(await toolbar.isButtonPresent('View details')).toBe(true, `View details is not displayed for ${adminModerated}`);
expect(await toolbar.isButtonPresent('Cancel join')).toBe(true, `Cancel join is not displayed for ${adminModerated}`);
expect(await toolbar.isButtonPresent('Cancel join request')).toBe(true, `Cancel join is not displayed for ${adminModerated}`);
await toolbar.openMoreMenu();
expect(await toolbar.menu.isMenuItemPresent('Delete')).toBe(true, `Delete is not displayed for ${adminModerated}`);
expect(await toolbar.menu.isMenuItemPresent('Favorite')).toBe(true, `Favorite is not displayed for ${adminModerated}`);

View File

@@ -406,6 +406,7 @@
"DESCRIPTION_TOO_LONG": "Die Beschreibung darf höchstens 512 Zeichen lang sein",
"TITLE_TOO_LONG": "Der Titel darf höchstens 256 Zeichen lang sein",
"ILLEGAL_CHARACTERS": "Verwenden Sie nur Zahlen und Buchstaben",
"ONLY_SPACES": "Bibliotheksname darf nicht nur aus Leerzeichen bestehen.",
"LIBRARY_UPDATE_ERROR": "Beim Aktualisieren der Bibliothekseigenschaften ist ein Fehler aufgetreten"
},
"SUCCESS": {

View File

@@ -201,7 +201,7 @@
"PRINT": "Print",
"FULLSCREEN": "Activate full-screen mode",
"JOIN": "Join",
"CANCEL_JOIN": "Cancel join",
"CANCEL_JOIN": "Cancel join request",
"LEAVE": "Leave library"
},
"DIALOGS": {
@@ -213,7 +213,7 @@
},
"CONFIRM_LEAVE": {
"TITLE": "Leave this library?",
"MESSAGE": "This will remove you as a member of this library.",
"MESSAGE": "Leaving will remove your access.",
"YES_LABEL": "OK",
"NO_LABEL": "Cancel"
}
@@ -251,7 +251,7 @@
},
"MESSAGES": {
"ERRORS":{
"CANNOT_NAVIGATE_LOCATION": "Cannot navigate location",
"CANNOT_NAVIGATE_LOCATION": "Cannot open this location",
"MISSING_CONTENT": "This item no longer exists or you don't have permission to view it.",
"GENERIC": "The action was unsuccessful. Try again or contact your IT Team.",
"CONFLICT": "This name is already in use, try a different name.",
@@ -276,7 +276,7 @@
},
"DELETE_LIBRARY_FAILED": "Cannot delete the library",
"JOIN_REQUEST_FAILED": "Cannot join the library",
"JOIN_CANCEL_FAILED": "Cannot cancel the request to join the library",
"JOIN_CANCEL_FAILED": "Cannot cancel your join request",
"LEAVE_LIBRARY_FAILED": "Cannot leave this library",
"INVALID_SENDER_EMAIL": "Your email address must be valid before requesting to join.",
"INVALID_RECEIVER_EMAIL": "Recipient(s) email address not valid, contact IT."
@@ -329,7 +329,7 @@
},
"LIBRARY_DELETED": "Library deleted",
"JOINED": "Library joined",
"JOIN_REQUESTED": "Join library request sent",
"JOIN_REQUESTED": "Request sent to join this library",
"JOIN_CANCELED": "Canceled the request to join the library",
"LEFT_LIBRARY": "You have left the library"
}
@@ -420,7 +420,7 @@
"FILES": "Files",
"FOLDERS": "Folders",
"LIBRARIES": "Libraries",
"HINT": "Query term is too short. Must have at least 2 alphanumeric chars"
"HINT": "Search input must have at least 2 alphanumeric characters."
},
"SORT": {
"RELEVANCE": "Relevance",

View File

@@ -406,6 +406,7 @@
"DESCRIPTION_TOO_LONG": "Utilice como máximo 512 caracteres para la descripción",
"TITLE_TOO_LONG": "Utilice como máximo 256 caracteres para el título",
"ILLEGAL_CHARACTERS": "Use solo números y letras",
"ONLY_SPACES": "El nombre de biblioteca no puede tener solo espacios",
"LIBRARY_UPDATE_ERROR": "Error al actualizar las propiedades de la biblioteca"
},
"SUCCESS": {

View File

@@ -406,6 +406,7 @@
"DESCRIPTION_TOO_LONG": "La description doit contenir 512 caractères maximum",
"TITLE_TOO_LONG": "Le titre doit contenir 256 caractères maximum",
"ILLEGAL_CHARACTERS": "Utilisez uniquement des chiffres et des lettres",
"ONLY_SPACES": "Un nom de bibliothèque ne peut pas contenir uniquement des espaces",
"LIBRARY_UPDATE_ERROR": "Une erreur est survenue pendant la mise à jour des propriétés de la bibliothèque"
},
"SUCCESS": {

View File

@@ -406,6 +406,7 @@
"DESCRIPTION_TOO_LONG": "Utilizzare 512 o meno per la descrizione",
"TITLE_TOO_LONG": "Utilizzare 256 caratteri o meno per il titolo",
"ILLEGAL_CHARACTERS": "Utilizzare solo lettere e numeri",
"ONLY_SPACES": "Il nome della raccolta non può contenere solo spazi",
"LIBRARY_UPDATE_ERROR": "Si è verificato un errore di caricamento delle proprietà della raccolta"
},
"SUCCESS": {

View File

@@ -406,6 +406,7 @@
"DESCRIPTION_TOO_LONG": "説明は 512 文字以内で入力してください",
"TITLE_TOO_LONG": "タイトルは 256 文字以内で入力してください",
"ILLEGAL_CHARACTERS": "英数字だけを使用してください",
"ONLY_SPACES": "ライブラリ名にスペースだけを含めることはできません",
"LIBRARY_UPDATE_ERROR": "ライブラリのプロパティの更新中にエラーが発生しました"
},
"SUCCESS": {

View File

@@ -406,6 +406,7 @@
"DESCRIPTION_TOO_LONG": "Bruk 512 tegn eller mindre i beskrivelsen",
"TITLE_TOO_LONG": "Bruk 256 tegn eller mindre i tittelen",
"ILLEGAL_CHARACTERS": "Bruk kun tall og bokstaver",
"ONLY_SPACES": "Biblioteknavn kan ikke inneholde bare mellomrom",
"LIBRARY_UPDATE_ERROR": "Det oppstod en feil under oppdatering av bibliotekegenskaper"
},
"SUCCESS": {

View File

@@ -406,6 +406,7 @@
"DESCRIPTION_TOO_LONG": "Gebruik 512 tekens of minder voor de beschrijving",
"TITLE_TOO_LONG": "Gebruik 256 tekens of minder voor de titel",
"ILLEGAL_CHARACTERS": "Gebruik alleen cijfers en letters",
"ONLY_SPACES": "Bibliotheeknaam mag niet alleen uit spaties bestaan",
"LIBRARY_UPDATE_ERROR": "Er is een fout opgetreden bij het bijwerken van de bibliotheekeigenschappen"
},
"SUCCESS": {

View File

@@ -406,6 +406,7 @@
"DESCRIPTION_TOO_LONG": "Use 512 caracteres ou menos para a descrição",
"TITLE_TOO_LONG": "Use 256 caracteres ou menos para o título",
"ILLEGAL_CHARACTERS": "Use somente números e letras",
"ONLY_SPACES": "O nome da biblioteca não pode conter somente espaços",
"LIBRARY_UPDATE_ERROR": "Houve um erro ao atualizar as propriedades da biblioteca"
},
"SUCCESS": {

View File

@@ -406,6 +406,7 @@
"DESCRIPTION_TOO_LONG": "Описание должно содержать не более 512 символов",
"TITLE_TOO_LONG": "Название должно содержать не более 256 символов",
"ILLEGAL_CHARACTERS": "Используйте только буквы и цифры",
"ONLY_SPACES": "Имя библиотеки не может состоять только из пробелов",
"LIBRARY_UPDATE_ERROR": "Произошла ошибка при обновлении свойств библиотеки"
},
"SUCCESS": {

View File

@@ -406,6 +406,7 @@
"DESCRIPTION_TOO_LONG": "对描述使用 512 个字符或更少字符",
"TITLE_TOO_LONG": "对标题使用 256 个字符或更少字符",
"ILLEGAL_CHARACTERS": "仅使用数字和字母",
"ONLY_SPACES": "文档库名称不能只包含空格",
"LIBRARY_UPDATE_ERROR": "更新库属性时发生错误"
},
"SUCCESS": {