Skip to content

Commit f4ace42

Browse files
committed
chore ES5 : translation en/fr available in index_StepWay_As_Module.html as demo
1 parent f51a53b commit f4ace42

File tree

4 files changed

+242
-10
lines changed

4 files changed

+242
-10
lines changed

public/js/eda.stepway.js

Lines changed: 95 additions & 4 deletions
Large diffs are not rendered by default.

src/app/stepway/core/ngwf.templates.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/app/stepway/core/translations.js

Lines changed: 94 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -45,11 +45,52 @@ $translateProvider.translations("en", {
4545
"SELECT_A_CTRL" : "Select a control",
4646
"SELECT_CTRL_IN_LIST" : "Select a control in the list below",
4747
"COL_WILL_BE_BLANK" : "Column will be blank",
48+
4849
"EDIT_PROPERTIES" : "Edit properties",
50+
4951
"HEADER_TEXT" : "Header text",
5052
"ADD_EDIT_HEADER_HERE": "Add / edit header text here",
53+
5154
"SUBTITLE_TEXT" : "Subtitle text",
52-
"ADD_EDIT_SUBTIL_HERE": "Add / edit subtitle text here"
55+
"ADD_EDIT_SUBTIL_HERE": "Add / edit subtitle text here",
56+
57+
"LABEL_TEXT" : "Label text",
58+
"ADD_EDIT_LABEL_HERE" : "Add / edit control label here",
59+
60+
"PLACEHOLDER" : "placeholder",
61+
"ADD_EDIT_PLACEHOLD" : "Add / edit placeholder text here",
62+
63+
"REQUIRED" : "Required",
64+
65+
"DESCRIPTION" : "Description",
66+
"ADDEDIT_DESCRIPTION" : "Add / edit description here",
67+
68+
"DATE_FORMAT" : "Date format",
69+
70+
"ADD_NEW_RADIO" : "Add new radio",
71+
"ADD_RADIO_PLACEHOLD" : "add new radio",
72+
"EDIT_REMOVE_RADIO" : "Edit/Remove radio",
73+
"NO_RADIO_ADD_NEW" : "no radio : add new radio values",
74+
75+
"SEARCH_4_OPTION" : "search for option",
76+
77+
"ADD" : "add",
78+
"ORDER" : "order",
79+
"OPTION" : "option",
80+
"GROUP" : "group",
81+
82+
"ADD_NEW_OPTIONS" : "Add new options",
83+
"ADD_A_NEW_OPTION" : "add new option",
84+
"EDIT_REMOVE_OPTIONS" : "Edit/Remove options",
85+
"NO_OPTION_ADD_NEW" : "no option : add new options",
86+
87+
"ADD_NEW_GROUPS" : "Add new groups",
88+
"ADD_A_NEW_GROUP" : "Add new group",
89+
"EDIT_GROUPS_OPTIONS" : "Edit/Remove options/groups",
90+
"NO_GROUP_ADD_NEW" : "add new groups",
91+
92+
"OK" : "OK",
93+
"CANCEL" : "Cancel"
5394
});
5495

5596
$translateProvider.translations("fr", {
@@ -87,8 +128,58 @@ $translateProvider.translations("fr", {
87128
"FINAL_STEP" : "Dernière étape : aperçu du formulaire",
88129

89130
"DATA_MODEL" : "MODELE DE DONNEES",
90-
"FIELDS_MODEL" : "MODELE DES CHAMPS (modèle compatible base de données)"
91-
131+
"FIELDS_MODEL" : "MODELE DES CHAMPS (modèle compatible base de données)",
132+
133+
134+
"SELECT_A_CTRL" : "Sélectionner un contrôle",
135+
"SELECT_CTRL_IN_LIST" : "Sélectionner un contrôle dans la liste ci-dessous",
136+
"COL_WILL_BE_BLANK" : "La colonne sera vide",
137+
138+
"EDIT_PROPERTIES" : "Editer les propriétés",
139+
140+
"HEADER_TEXT" : "Texte du titre principal",
141+
"ADD_EDIT_HEADER_HERE": "Editer le textes du titre principal",
142+
143+
"SUBTITLE_TEXT" : "Texte du sous-titre",
144+
"ADD_EDIT_SUBTIL_HERE": "Editer le textes du sous-titre",
145+
146+
"LABEL_TEXT" : "Texte de l'étiquette",
147+
"ADD_EDIT_LABEL_HERE" : "Editer le texte de l'étiquette",
148+
149+
"PLACEHOLDER" : "placeholder",
150+
"ADD_EDIT_PLACEHOLD" : "Editer le placeholder",
151+
152+
"REQUIRED" : "Requis",
153+
154+
"DESCRIPTION" : "Description",
155+
"ADDEDIT_DESCRIPTION" : "Ajouter / editer la description",
156+
157+
"DATE_FORMAT" : "Format de la date",
158+
159+
"ADD_NEW_RADIO" : "Ajouter un nouveau choix à cocher",
160+
"ADD_RADIO_PLACEHOLD" : "Ajouter un nouveau choix à cocher",
161+
"EDIT_REMOVE_RADIO" : "Editer / supprimer un choix à cocher",
162+
"NO_RADIO_ADD_NEW" : "aucun choix à cocher : en ajouter un",
163+
164+
"SEARCH_4_OPTION" : "rechercher une option",
165+
166+
"ADD" : "ajouter",
167+
"ORDER" : "ordre",
168+
"OPTION" : "option",
169+
"GROUP" : "groupe",
170+
171+
"ADD_NEW_OPTIONS" : "Ajouter de nouvelles options",
172+
"ADD_A_NEW_OPTION" : "ajoutre une option",
173+
"EDIT_REMOVE_OPTIONS" : "Editer / supprimer des options",
174+
"NO_OPTION_ADD_NEW" : "aucune option : en ajouter",
175+
176+
"ADD_NEW_GROUPS" : "Ajouter de nouveaux groupes",
177+
"ADD_A_NEW_GROUP" : "Ajouter un nouveau groupe",
178+
"EDIT_GROUPS_OPTIONS" : "Editer / supprimer les groupes et options",
179+
"NO_GROUP_ADD_NEW" : "ajouter de nouveaux groupes",
180+
181+
"OK" : "Valider",
182+
"CANCEL" : "Annuler"
92183
});
93184

94185
$translateProvider.translations("jp", {

src/app/stepway/i18n/local-fr.json

Lines changed: 52 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,56 @@
3333
"FINAL_STEP" : "Dernière étape : aperçu du formulaire",
3434

3535
"DATA_MODEL" : "MODELE DE DONNEES",
36-
"FIELDS_MODEL" : "MODELE DES CHAMPS (modèle compatible base de données)"
37-
36+
"FIELDS_MODEL" : "MODELE DES CHAMPS (modèle compatible base de données)",
37+
38+
39+
"SELECT_A_CTRL" : "Sélectionner un contrôle",
40+
"SELECT_CTRL_IN_LIST" : "Sélectionner un contrôle dans la liste ci-dessous",
41+
"COL_WILL_BE_BLANK" : "La colonne sera vide",
42+
43+
"EDIT_PROPERTIES" : "Editer les propriétés",
44+
45+
"HEADER_TEXT" : "Texte du titre principal",
46+
"ADD_EDIT_HEADER_HERE": "Editer le textes du titre principal",
47+
48+
"SUBTITLE_TEXT" : "Texte du sous-titre",
49+
"ADD_EDIT_SUBTIL_HERE": "Editer le textes du sous-titre",
50+
51+
"LABEL_TEXT" : "Texte de l'étiquette",
52+
"ADD_EDIT_LABEL_HERE" : "Editer le texte de l'étiquette",
53+
54+
"PLACEHOLDER" : "placeholder",
55+
"ADD_EDIT_PLACEHOLD" : "Editer le placeholder",
56+
57+
"REQUIRED" : "Requis",
58+
59+
"DESCRIPTION" : "Description",
60+
"ADDEDIT_DESCRIPTION" : "Ajouter / editer la description",
61+
62+
"DATE_FORMAT" : "Format de la date",
63+
64+
"ADD_NEW_RADIO" : "Ajouter un nouveau choix à cocher",
65+
"ADD_RADIO_PLACEHOLD" : "Ajouter un nouveau choix à cocher",
66+
"EDIT_REMOVE_RADIO" : "Editer / supprimer un choix à cocher",
67+
"NO_RADIO_ADD_NEW" : "aucun choix à cocher : en ajouter un",
68+
69+
"SEARCH_4_OPTION" : "rechercher une option",
70+
71+
"ADD" : "ajouter",
72+
"ORDER" : "ordre",
73+
"OPTION" : "option",
74+
"GROUP" : "groupe",
75+
76+
"ADD_NEW_OPTIONS" : "Ajouter de nouvelles options",
77+
"ADD_A_NEW_OPTION" : "ajoutre une option",
78+
"EDIT_REMOVE_OPTIONS" : "Editer / supprimer des options",
79+
"NO_OPTION_ADD_NEW" : "aucune option : en ajouter",
80+
81+
"ADD_NEW_GROUPS" : "Ajouter de nouveaux groupes",
82+
"ADD_A_NEW_GROUP" : "Ajouter un nouveau groupe",
83+
"EDIT_GROUPS_OPTIONS" : "Editer / supprimer les groupes et options",
84+
"NO_GROUP_ADD_NEW" : "ajouter de nouveaux groupes",
85+
86+
"OK" : "Valider",
87+
"CANCEL" : "Annuler"
3888
}

0 commit comments

Comments
 (0)