Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Development 90x 74844 new culture fr fr leftovers #35

Open
wants to merge 9 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
CMF MES HTML Yoeman Generator
CMF MES HTML Yeoman Generator
=========

**generator-html** is a set of scaffolding templates that enable CMF customization teams, partners and clients to easily start a new component, widget or page within Critical Manufacturing MES.
Expand Down Expand Up @@ -122,4 +122,4 @@ yo @criticalmanufacturing/html:framework

This package was developed during the [UX-FAB: Universal Experience for Advanced Fabs](http://www.criticalmanufacturing.com/en/r-d/ux-fab) project.

![Portugal2020](http://www.criticalmanufacturing.com/uploads/richtext/images/2017030610420258bd3cfa033c0.png)
![Portugal2020](http://www.criticalmanufacturing.com/uploads/richtext/images/2017030610420258bd3cfa033c0.png)
1 change: 1 addition & 0 deletions generators/component/templates/i18n/component.fr-FR.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export default {};
2 changes: 2 additions & 0 deletions generators/dataSource/templates/i18n/dataSource.fr-FR.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
export default {
};
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
export default {
};
2 changes: 1 addition & 1 deletion generators/html.ts
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ export class HtmlGenerator extends Generator {
extraFiles = extraFiles || [];
let templatesToParse = [...standardFiles.concat(extraFiles).map((extension) => {
return { templateBefore: `${type}${extension}`, templateAfter: `${packageFolder}${name}/${name}${extension}`};}),
...((is18nAvailable) ? ['default.ts', 'pt-PT.ts', 'de-DE.ts', 'vi-VN.ts', 'zh-CN.ts', 'zh-TW.ts','es-ES.ts','pl-PL.ts'] : []).map((extension) => {
...((is18nAvailable) ? ['default.ts', 'pt-PT.ts', 'de-DE.ts', 'vi-VN.ts', 'zh-CN.ts', 'zh-TW.ts','es-ES.ts','pl-PL.ts','fr-FR.ts'] : []).map((extension) => {
return { templateBefore: `i18n/${type}.${extension}`, templateAfter: `${packageFolder}${name}/i18n/${name}.${extension}`};})];
templatesToParse.forEach((template) => {
this.fs.copyTpl(this.templatePath(template.templateBefore), this.destinationPath(`${template.templateAfter}`), templateObject)
Expand Down
2 changes: 2 additions & 0 deletions generators/package/templates/src/i18n/main.fr-FR.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
export default {
};
2 changes: 2 additions & 0 deletions generators/widget/templates/i18n/widget.fr-FR.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
export default {
};
2 changes: 2 additions & 0 deletions generators/wizard/templates/i18n/wizard.fr-FR.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
export default {
};
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@criticalmanufacturing/generator-html",
"version": "8.1.1",
"version": "8.1.1-1",
"description": "CMF HTML GUI Scaffolding",
"files": [
"generators/*.js",
Expand Down