Skip to content

Commit

Permalink
Added some keys for translations for formio
Browse files Browse the repository at this point in the history
  • Loading branch information
shuhaib-aot committed Jan 20, 2025
1 parent f693700 commit ec65f35
Show file tree
Hide file tree
Showing 9 changed files with 70 additions and 9 deletions.
5 changes: 3 additions & 2 deletions forms-flow-service/src/formsflow-services.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ import StorageService from "./storage/storageService";
import RequestService from "./request/requestService";
import i18nService from "./resourceBundles/i18n";
import HelperServices from "./helpers/helperServices";
import StyleServices from "./helpers/styleService"
import StyleServices from "./helpers/styleService";
import formioResourceBundle from "./resourceBundles/formioResourceBundle";

export { KeycloakService, StorageService, RequestService, i18nService, HelperServices, StyleServices };
export { KeycloakService, StorageService, RequestService, i18nService, HelperServices, StyleServices, formioResourceBundle };
5 changes: 5 additions & 0 deletions forms-flow-service/src/resourceBundles/bg/resourceBundles.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1209,4 +1209,9 @@ export const RESOURCE_BUNDLES_BG = {
"New Form Description": "Ново описание на формуляра",
"Save and Edit form": "Запазване и редактиране на формуляра",
"Build New Form": "Създай нов формуляр",
"cancel": "Отмени",
"previous": "Предишна",
"next": "Следваща",
"Month": "Месец",
"Year": "Година"
}
5 changes: 5 additions & 0 deletions forms-flow-service/src/resourceBundles/de/resourceBundles.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1214,4 +1214,9 @@ export const RESOURCE_BUNDLES_DE = {
"New Form Description": "Neue Formularbeschreibung",
"Save and Edit form": "Formular speichern und bearbeiten",
"Build New Form": "Neues Formular erstellen",
"cancel": "abbrechen",
"previous": "vorherige",
"next": "nächste",
"Month": "Monat",
"Year": "Jahr"
}
16 changes: 10 additions & 6 deletions forms-flow-service/src/resourceBundles/en/resourceBundles.ts
Original file line number Diff line number Diff line change
Expand Up @@ -711,10 +711,14 @@ export const RESOURCE_BUNDLES_EN ={
"Tenant not found":"Tenant not found",
"Access Roles" :"Access Roles",
"Description of the new form": "Description of the new form",
"Name of the form": "Name of the form",
"Duplicate": "Duplicate",
"New Form Name": "New Form Name",
"New Form Description": "New Form Description",
"Save and Edit form": "Save and Edit form",
"Build New Form": "Build New Form"
"Name of the form": "Name of the form",
"Duplicate": "Duplicate",
"New Form Name": "New Form Name",
"New Form Description": "New Form Description",
"Save and Edit form": "Save and Edit form",
"Build New Form": "Build New Form",
"Date / Time": "Date / Time",
"Month": "Month",
"Day": "Day",
"Year": "Year"
}
7 changes: 7 additions & 0 deletions forms-flow-service/src/resourceBundles/es/resourceBundles.ts
Original file line number Diff line number Diff line change
Expand Up @@ -698,4 +698,11 @@ export const RESOURCE_BUNDLES_ES = {
"New Form Description": "Nueva descripción del formulario",
"Save and Edit form": "Guardar y editar formulario",
"Build New Form": "Crear nuevo formulario",
"cancel": "cancelar",
"previous": "anterior",
"next": "siguiente",
"Date / Time": "Fecha / Hora",
"Month": "Mes",
"Day": "Día",
"Year": "Año"
}
24 changes: 24 additions & 0 deletions forms-flow-service/src/resourceBundles/formioResourceBundle.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
/* ----------- // This file is dedicated to managing specific translations for Formio.---------- */
export default {
"bg": {
"submit": "Изпрати формуляр"
},
"de": {

"submit": "Formular senden"
},
"es": {
"submit": "enviar formulario"
},
"fr": {

"submit": "soumettre le formulaire"
},
"pt": {
"submit": "enviar formulário"
},
"zh-CN": {
"submit": "提交表单"
}

}
5 changes: 5 additions & 0 deletions forms-flow-service/src/resourceBundles/fr/resourceBundles.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1212,6 +1212,11 @@ export const RESOURCE_BUNDLES_FR ={
"New Form Description": "Nouvelle description de formulaire",
"Save and Edit form": "Enregistrer et modifier le formulaire",
"Build New Form": "Créer un nouveau formulaire",
"cancel": "annuler",
"previous": "précédent",
"next": "suivant",
"Month": "Mois",
"Year": "Année"
}


Expand Down
5 changes: 5 additions & 0 deletions forms-flow-service/src/resourceBundles/pt/resourceBundles.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1211,4 +1211,9 @@ export const RESOURCE_BUNDLES_PT ={
"New Form Description": "Nova descrição do formulário",
"Save and Edit form": "Salvar e Editar formulário",
"Build New Form": "Criar novo formulário",
"cancel": "cancelar",
"previous": "anterior",
"next": "próximo",
"Month": "Mês",
"Year": "Ano"
};
7 changes: 6 additions & 1 deletion forms-flow-service/src/resourceBundles/zh/resourceBundles.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1197,5 +1197,10 @@ export const RESOURCE_BUNDLES_ZH = {
"New Form Name": "新表单名称",
"New Form Description": "新表单描述",
"Save and Edit form": "保存并编辑表单",
"Build New Form": "创建新表单"
"Build New Form": "创建新表单",
"cancel": "取消",
"previous": "上一页",
"next": "下一页",
"Month": "月",
"Year": "年"
}

0 comments on commit ec65f35

Please sign in to comment.