Skip to content

Commit cf09023

Browse files
committed
wip: Provide ready-made configuration snippets to help set up the app's configuration file #1140
1 parent de52af0 commit cf09023

File tree

4 files changed

+108
-102
lines changed

4 files changed

+108
-102
lines changed

core/client/i18n/core_en.json

+10-7
Original file line numberDiff line numberDiff line change
@@ -30,10 +30,14 @@
3030
"HELP": "Help",
3131
"NEED_HELP": "Help needed ?",
3232
"READ_MORE": "Read more",
33-
"CONTEXTUAL_HELP": "Contextual help",
34-
"ABOUT": "About",
3533
"BACK": "Return",
36-
"SETTINGS": "My settings",
34+
"layout": {
35+
"SETTINGS": "My settings",
36+
"ABOUT": "About",
37+
"ONLINE_HELP": "Online help",
38+
"CONTEXTUAL_HELP": "Contextual help",
39+
"LOGOUT": "Logout"
40+
},
3741
"errors": {
3842
"400": "Operation cannot be performed: bad parameters",
3943
"401": "Operation cannot be performed: authentication required",
@@ -325,7 +329,7 @@
325329
"BUG_REPORT_BODY": "Please detail your problem here%0D%0A%0D%0APlatform information to be kept%0D%0A%0D%0A",
326330
"PLATFORM_INFO": "Platform information"
327331
},
328-
"KWelcome": {
332+
"KWelcome": {
329333
"WELCOME_TITLE": "Welcome !",
330334
"WELCOME_MESSAGE": "This quick start guide covers the main application features.",
331335
"ONLINE_HELP": "Read first our online help to get an overview of the basic concepts",
@@ -553,7 +557,7 @@
553557
},
554558
"KTextAreaField": {
555559
"CLEAR_TOOLTIP": "Clear content"
556-
},
560+
},
557561
"KResolutionField": {
558562
"SD_LABEL": "Standard Definition",
559563
"SD_DESCRIPTION": "4:3, 640 x 480",
@@ -727,5 +731,4 @@
727731
"SHOW_NORTH": "Show north arrow",
728732
"HIDE_NORTH": "Hide north arrow"
729733
}
730-
}
731-
734+
}

core/client/i18n/core_fr.json

+92-89
Original file line numberDiff line numberDiff line change
@@ -23,17 +23,21 @@
2323
"GROUPS": "Groupes",
2424
"REMOVE": "Supprimer",
2525
"EDIT": "Éditer",
26-
"OWNER": "Propriétaire",
26+
"OWNER": "Propriétaire",
2727
"MANAGER": "Gestionnaire",
2828
"MEMBER": "Membre",
2929
"UNAMED": "Sans nom",
3030
"HELP": "Aide",
3131
"NEED_HELP": "Besoin d'aide ?",
3232
"READ_MORE": "En savoir plus",
33-
"CONTEXTUAL_HELP": "Aide contextuelle",
34-
"ABOUT": "A propos",
3533
"BACK": "Retour",
36-
"SETTINGS": "Mes paramètres",
34+
"layout": {
35+
"SETTINGS": "Mes paramètres",
36+
"ABOUT": "A propos",
37+
"ONLINE_HELP": "Aide en ligne",
38+
"CONTEXTUAL_HELP": "Aide contextuelle",
39+
"LOGOUT": "Se déconnecter"
40+
},
3741
"errors": {
3842
"400": "Cette opération ne peut être réalisée: paramètres incorrects",
3943
"401": "Cette opération ne peut être réalisée: vous devez être authentifié",
@@ -250,7 +254,7 @@
250254
"TERMS_LABEL": "Lisez et acceptez nos <b><a style='color:white' href='/#/terms'>conditions d'utilisation</a></b> pour pouvoir utiliser le système.",
251255
"REGISTER_LABEL": "Enfin, terminez en créant votre compte.",
252256
"EMAIL_VERIFICATION_LABEL": "Nous vous enverrons un email contenant un lien permettant <b>de vérifier votre adresse</b>.",
253-
"LOGIN_LINK_LABEL": "Vous pouvez maintenant vous reconnecter au système grâce à <b>vos identifiants</b>."
257+
"LOGIN_LINK_LABEL": "Vous pouvez maintenant vous reconnecter au système grâce à <b>vos identifiants</b>."
254258
},
255259
"account": {
256260
"PROFILE_LABEL": "Cette activité vous permet de modifier les informations liées à votre profil utilisateur",
@@ -381,7 +385,7 @@
381385
"KLogoutScreen": {
382386
"TITLE": "Vous avez été déconnecté",
383387
"LOG_IN_AGAIN_LABEL": "Se reconnecter ?"
384-
},
388+
},
385389
"KProfile": {
386390
"EDIT_PROFILE": "Éditer mon profil",
387391
"MANAGE_ACCOUNT": "Gérer mon compte"
@@ -454,9 +458,9 @@
454458
"KColumn": {
455459
"EMPTY_COLUMN": "@:NO_ITEM"
456460
},
457-
"KCard": {
461+
"KCard": {
458462
"MORE_DETAILS": "Plus de détails",
459-
"LESS_DETAILS": "Moins de détails"
463+
"LESS_DETAILS": "Moins de détails"
460464
},
461465
"KDescriptionCardSection": {
462466
"TITLE": "Description",
@@ -472,85 +476,85 @@
472476
"SEARCH_FIELD_LABEL": "Tapez ici pour rechercher",
473477
"SEARCH_CATEGORY_LABEL": "Toutes les catégories",
474478
"categories": {
475-
"accessibility" : "accessibilité",
476-
"alert" : "alerte",
477-
"animals" : "animaux",
478-
"arrows" : "flèches",
479-
"audio-video" : "média",
480-
"automotive" : "voiture",
481-
"autumn" : "automne",
482-
"beverage" : "boisson",
483-
"buildings" : "bâtiments",
484-
"business" : "business",
485-
"camping" : "camping",
486-
"charity" : "solidarité",
487-
"chat" : "discussions",
488-
"chess" : "échecs",
489-
"childhood" : "enfance",
490-
"clothing" : "vêtements",
491-
"code" : "code",
492-
"communication" : "communication",
493-
"computers" : "ordinateurs",
494-
"construction" : "construction",
495-
"currency" : "monnaie",
496-
"date-time" : "temps et heure",
497-
"design" : "design",
498-
"editors" : "éditeurs",
499-
"education" : "éducation",
500-
"emoji" : "emoji",
501-
"energy" : "énergie",
502-
"files" : "dossiers",
503-
"finance" : "finance",
504-
"fitness" : "activités physiques",
505-
"food" : "alimentation",
506-
"fruit-vegetable" : "fruit-légumes",
507-
"games" : "jeux",
508-
"gaming-tabletop" : "jeux de société",
509-
"gender" : "genre",
510-
"halloween" : "halloween",
511-
"hands" : "mains",
512-
"health" : "santé",
513-
"holiday" : "vacances",
514-
"hotel" : "hôtel",
515-
"household" : "mobilier",
516-
"images" : "images",
517-
"interfaces" : "interfaces",
518-
"logistics" : "logistiques",
519-
"maps" : "cartes",
520-
"maritime" : "maritime",
521-
"marketing" : "marketing",
522-
"mathematics" : "mathématiques",
523-
"medical" : "médecine",
524-
"moving" : "déplacement",
525-
"music" : "musique",
526-
"objects" : "objects",
527-
"payments-shopping" : "paiements-achats",
528-
"pharmacy" : "pharmacie",
529-
"political" : "politique",
530-
"religion" : "religion",
531-
"science" : "science",
532-
"science-fiction" : "science-fiction",
533-
"security" : "sécurité",
534-
"shapes" : "forme",
535-
"shopping" : "achats",
536-
"social" : "social",
537-
"spinners" : "Icon",
538-
"sports" : "sport",
539-
"spring" : "printemps",
540-
"status" : "status",
541-
"summer" : "été",
542-
"toggle" : "bouton",
543-
"travel" : "voyage",
544-
"users-people" : "personnages",
545-
"vehicles" : "véhicules",
546-
"weather" : "météo",
547-
"winter" : "hiver",
548-
"writing" : "écriture"
479+
"accessibility": "accessibilité",
480+
"alert": "alerte",
481+
"animals": "animaux",
482+
"arrows": "flèches",
483+
"audio-video": "média",
484+
"automotive": "voiture",
485+
"autumn": "automne",
486+
"beverage": "boisson",
487+
"buildings": "bâtiments",
488+
"business": "business",
489+
"camping": "camping",
490+
"charity": "solidarité",
491+
"chat": "discussions",
492+
"chess": "échecs",
493+
"childhood": "enfance",
494+
"clothing": "vêtements",
495+
"code": "code",
496+
"communication": "communication",
497+
"computers": "ordinateurs",
498+
"construction": "construction",
499+
"currency": "monnaie",
500+
"date-time": "temps et heure",
501+
"design": "design",
502+
"editors": "éditeurs",
503+
"education": "éducation",
504+
"emoji": "emoji",
505+
"energy": "énergie",
506+
"files": "dossiers",
507+
"finance": "finance",
508+
"fitness": "activités physiques",
509+
"food": "alimentation",
510+
"fruit-vegetable": "fruit-légumes",
511+
"games": "jeux",
512+
"gaming-tabletop": "jeux de société",
513+
"gender": "genre",
514+
"halloween": "halloween",
515+
"hands": "mains",
516+
"health": "santé",
517+
"holiday": "vacances",
518+
"hotel": "hôtel",
519+
"household": "mobilier",
520+
"images": "images",
521+
"interfaces": "interfaces",
522+
"logistics": "logistiques",
523+
"maps": "cartes",
524+
"maritime": "maritime",
525+
"marketing": "marketing",
526+
"mathematics": "mathématiques",
527+
"medical": "médecine",
528+
"moving": "déplacement",
529+
"music": "musique",
530+
"objects": "objects",
531+
"payments-shopping": "paiements-achats",
532+
"pharmacy": "pharmacie",
533+
"political": "politique",
534+
"religion": "religion",
535+
"science": "science",
536+
"science-fiction": "science-fiction",
537+
"security": "sécurité",
538+
"shapes": "forme",
539+
"shopping": "achats",
540+
"social": "social",
541+
"spinners": "Icon",
542+
"sports": "sport",
543+
"spring": "printemps",
544+
"status": "status",
545+
"summer": "été",
546+
"toggle": "bouton",
547+
"travel": "voyage",
548+
"users-people": "personnages",
549+
"vehicles": "véhicules",
550+
"weather": "météo",
551+
"winter": "hiver",
552+
"writing": "écriture"
549553
}
550554
},
551555
"KTextAreaField": {
552556
"CLEAR_TOOLTIP": "Effacer le contenu"
553-
},
557+
},
554558
"KResolutionField": {
555559
"SD_LABEL": "Définition Standard",
556560
"SD_DESCRIPTION": "4:3, 640 x 480",
@@ -581,7 +585,7 @@
581585
"CLOSE_ACTION": "@:CLOSE",
582586
"DOWNLOAD_MEDIA_ACTION": "Télécharger le média",
583587
"RESTORE_IMAGE_ACTION": "Restaurer l'image",
584-
"REMOVE_MEDIA_ACTION": "Supprimer le média",
588+
"REMOVE_MEDIA_ACTION": "Supprimer le média",
585589
"REMOVE_DIALOG_TITLE": "Supprimer le média {media} ?",
586590
"REMOVE_DIALOG_MESSAGE": "Êtes vous sûr de vouloir supprimer le média <b>{media}</b> ?",
587591
"ADD_MEDIA_LABEL": "Ajouter un média",
@@ -682,8 +686,7 @@
682686
},
683687
"KTextArea": {
684688
"COLLAPSE": "Réduire"
685-
}
686-
,
689+
},
687690
"KTimeControl": {
688691
"PREVIOUS_STEP": "Pas précédent",
689692
"PREVIOUS_HOUR": "Heure précédente",
@@ -698,7 +701,7 @@
698701
},
699702
"KImage": {
700703
"RESET": "Réinitialiser"
701-
},
704+
},
702705
"KBrowser": {
703706
"DOWNLOAD_FILE": "Télécharger le fichier",
704707
"UPLOAD_FILES": "Transférer des fichiers",
@@ -711,7 +714,7 @@
711714
"KUploader": {
712715
"ADD_FILES": "Ajouter des fichiers...",
713716
"EMPTY_FILE": "Le fichier {file} est vide ou corrompu !",
714-
"FILE_TOO_LARGE": "Le fichier {file} est trop volumineux. La taille doit être inférieure à {size}Mo",
717+
"FILE_TOO_LARGE": "Le fichier {file} est trop volumineux. La taille doit être inférieure à {size}Mo",
715718
"UPLOAD_FILE_SUCCEEDED": "Le fichier {file} a été transféré avec succès",
716719
"UPLOAD_FILE_ERRORED": "Impossible de transférer le fichier {file} !"
717720
},
@@ -725,4 +728,4 @@
725728
"SHOW_NORTH": "Afficher la flèche d’orientation vers le nord",
726729
"HIDE_NORTH": "Masquer la flèche d’orientation vers le nord"
727730
}
728-
}
731+
}

docs/guides/migration/v2.5.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ screens: {
7878
leftPane: {
7979
content: [
8080
...,
81-
{ id: 'logout', icon: 'las la-sign-out-alt', label: 'sideNav.LOGOUT', route: { name: 'logout', params: { provider: 'keycloak' } }, renderer: 'item' }
81+
{ id: 'logout', icon: 'las la-sign-out-alt', label: 'layout.LOGOUT', route: { name: 'logout', params: { provider: 'keycloak' } }, renderer: 'item' }
8282
]
8383
},
8484
...

extras/configs/panes.left.js

+5-5
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ module.exports = {
1111
SETTINGS: {
1212
id: 'settings-action',
1313
icon: 'las la-cog',
14-
label: 'SETTINGS',
14+
label: 'layout.SETTINGS',
1515
renderer: 'item',
1616
dialog: {
1717
component: 'app/KSettings',
@@ -25,7 +25,7 @@ module.exports = {
2525
ABOUT: {
2626
id: 'about-action',
2727
icon: 'las la-info',
28-
label: 'ABOUT',
28+
label: 'layout.ABOUT',
2929
renderer: 'item',
3030
dialog: {
3131
component: 'app/KAbout', title: 'ABOUT', okAction: 'CLOSE'
@@ -35,22 +35,22 @@ module.exports = {
3535
return {
3636
id: 'online-help-action',
3737
icon: 'las la-book',
38-
label: 'sideNav.ONLINE_HELP',
38+
label: 'layout.ONLINE_HELP',
3939
url,
4040
renderer: 'item'
4141
}
4242
},
4343
CONTEXTUAL_HELP: {
4444
id: 'contextual-help-action',
4545
icon: 'las la-question-circle',
46-
label: 'sideNav.CONTEXTUAL_HELP',
46+
label: 'layout.CONTEXTUAL_HELP',
4747
handler: { name: 'launchTour', params: ['home'] },
4848
renderer: 'item'
4949
},
5050
LOGOUT: {
5151
id: 'logout-action',
5252
icon: 'las la-sign-out-alt',
53-
label: 'sideNav.LOGOUT',
53+
label: 'layout.LOGOUT',
5454
route: { name: 'logout' },
5555
renderer: 'item'
5656
}

0 commit comments

Comments
 (0)