Skip to content

Commit

Permalink
chore: fix single locale demo build
Browse files Browse the repository at this point in the history
  • Loading branch information
ghiscoding committed Jul 9, 2024
1 parent 80a0e67 commit 7719947
Show file tree
Hide file tree
Showing 8 changed files with 111 additions and 784 deletions.
1 change: 0 additions & 1 deletion webpack-bs5-demo-with-locales/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -35,4 +35,3 @@ node_modules
/dist
/test/coverage-jest
/test/coverage-karma
website
873 changes: 93 additions & 780 deletions webpack-bs5-demo-with-locales/package-lock.json

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
"EXPORT_TO_EXCEL": "Export to Excel",
"EXPORT_TO_TAB_DELIMITED": "Export in Text format (Tab delimited)",
"EXPORT_TO_TEXT_FORMAT": "Export in Text format",
"FILTER_SHORTCUTS": "Filter Shortcuts",
"FROM_TO_OF_TOTAL_ITEMS": "{{from}}-{{to}} of {{totalItems}} items",
"FORCE_FIT_COLUMNS": "Force fit columns",
"FREEZE_COLUMNS": "Freeze Columns",
Expand Down Expand Up @@ -69,6 +70,8 @@
},
"INFORMATION": "Billing Information"
},
"BLANK_VALUES": "Blank Values",
"NON_BLANK_VALUES": "Non-Blank Values",
"CUSTOM_COMMANDS": "Custom Commands",
"DURATION": "Duration",
"COMPANY": "Company",
Expand All @@ -81,19 +84,23 @@
"FALSE": "False",
"FEMALE": "Female",
"FINISH": "Finish",
"FUTURE": "Future",
"GENDER": "Gender",
"HELP": "Help",
"HIGH": "High",
"LOW": "Low",
"MEDIUM": "Medium",
"MALE": "Male",
"NAME": "Name",
"NEXT_20_DAYS": "Next 20 days",
"NONE": "None",
"PAST": "Past",
"PERCENT_COMPLETE": "% Complete",
"PRIORITY": "Priority",
"START": "Start",
"TASK_X": "Task {{x}}",
"TITLE": "Title",
"TODAY": "Today",
"TRUE": "True",
"X_DAY_PLURAL": "{{x}} day{{plural}}",
"RBE_BTN_UPDATE": "Update the current row",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
"EXPORT_TO_EXCEL": "Exporter vers Excel",
"EXPORT_TO_TAB_DELIMITED": "Exporter en format texte (délimité par tabulation)",
"EXPORT_TO_TEXT_FORMAT": "Exporter en format texte",
"FILTER_SHORTCUTS": "Raccourcis de filtre",
"FROM_TO_OF_TOTAL_ITEMS": "{{from}}-{{to}} de {{totalItems}} éléments",
"FORCE_FIT_COLUMNS": "Ajustement forcé des colonnes",
"FREEZE_COLUMNS": "Geler les colonnes",
Expand Down Expand Up @@ -69,6 +70,8 @@
},
"INFORMATION": "Information de Facturation"
},
"BLANK_VALUES": "Valeurs nulles",
"NON_BLANK_VALUES": "Valeurs non-nulles",
"DURATION": "Durée",
"COMPANY": "Compagnie",
"COMPLETED": "Terminé",
Expand All @@ -81,20 +84,24 @@
"FALSE": "Faux",
"FEMALE": "Féminin",
"FINISH": "Fin",
"FUTURE": "Future",
"GENDER": "Sexe",
"HELP": "Aide",
"HIGH": "Haut",
"LOW": "Bas",
"MEDIUM": "Moyen",
"MALE": "Masculin",
"NAME": "Nom",
"NEXT_20_DAYS": "20 prochain jours",
"NONE": "Aucun",
"PAST": "Passé",
"PERCENT_COMPLETE": "% Achevée",
"PRIORITY": "Priorité",
"START": "Début",
"TASK_X": "Tâche {{x}}",
"TITLE": "Titre",
"TITLE.NAME": "Nom du Titre",
"TODAY": "Aujourd'hui",
"TRUE": "Vrai",
"X_DAY_PLURAL": "{{x}} journée{{plural}}",
"RBE_BTN_UPDATE": "Mettre à jour la ligne actuelle",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,7 @@ export class Example6 {
}
},
];

const currentYear = new Date().getFullYear();
const presetLowestDay = `${currentYear}-01-01`;
const presetHighestDay = `${currentYear}-02-15`;
Expand Down
2 changes: 1 addition & 1 deletion webpack-bs5-demo-with-locales/src/main.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import Aurelia from 'aurelia';
import { MyApp } from './my-app';
// Css files imported in this main file are NOT processed by style-loader
// They are for sharedStyles in shadowDOM.
// However, css files imported in other js/ts files are processed by style-loader.
Expand All @@ -11,6 +10,7 @@ import DOMPurify from 'dompurify';
import 'bootstrap';

// dynamic components that can be enhanced in Example 19, 26
import { MyApp } from './my-app';
import { CustomTitleFormatter } from './examples/slickgrid/custom-title-formatter';
import { EditorSelect } from './examples/slickgrid/editor-select';
import { FilterSelect } from './examples/slickgrid/filter-select';
Expand Down
2 changes: 1 addition & 1 deletion webpack-bs5-demo-with-locales/src/my-app.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import 'bootstrap/dist/css/bootstrap.min.css';
import type { IRoute } from '@aurelia/router';
import { type IRoute } from '@aurelia/router';

import './styles.scss';
export class MyApp {
Expand Down
2 changes: 1 addition & 1 deletion webpack-bs5-demo-with-locales/src/styles.scss
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ body {
left: 0;
right: 0;
top: 50px;
bottom: 0;
bottom: 0;
overflow-x: hidden;
overflow-y: auto;
}
Expand Down

0 comments on commit 7719947

Please sign in to comment.