Skip to content

Commit

Permalink
Merge pull request #9 from DynamoDS/LocaleFix
Browse files Browse the repository at this point in the history
Locale fix
  • Loading branch information
QilongTang authored Feb 26, 2024
2 parents e0ca39b + 9871dd8 commit ac4e1d8
Show file tree
Hide file tree
Showing 7 changed files with 6 additions and 10 deletions.
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@dynamods/dynamo-home",
"version": "1.0.3",
"version": "1.0.4",
"description": "",
"author": "Autodesk Inc.",
"main": "index.js",
Expand Down
2 changes: 0 additions & 2 deletions src/components/Learning/PageLearning.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,6 @@ export function LearningPage(){

// A method exposed to the backend used to set the interactive guides data coming from Dynamo
const receiveInteractiveGuidesDataFromDotNet = (jsonData) => {
console.log('Received interactive guides data from .NET:', jsonData);

try {
// jsonData is already an object, so no need to parse it
const data = jsonData;
Expand Down
2 changes: 0 additions & 2 deletions src/components/Recent/PageRecent.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,6 @@ export function RecentPage ({ setIsDisabled }){

// A method exposed to the backend used to set the graph data coming from Dynamo
const receiveGraphDataFromDotNet = (jsonData) => {
console.log('Received data from .NET:', jsonData);

try {
// jsonData is already an object, so no need to parse it
const data = jsonData;
Expand Down
2 changes: 0 additions & 2 deletions src/components/Samples/PageSamples.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,6 @@ export function SamplesPage (){

// A method exposed to the backend used to set the samples data coming from Dynamo
const receiveSamplesDataFromDotNet = (jsonData) => {
console.log('Received data from .NET:', jsonData);

try {
// jsonData is already an object, so no need to parse it
const data = jsonData;
Expand Down
2 changes: 1 addition & 1 deletion src/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

@font-face {
font-family: 'ArtifaktElement';
src: url('http://localhost/embeddedFonts/ArtifaktElement-Regular.woff');
src: url('#fontStyle');
}

body {
Expand Down
2 changes: 2 additions & 0 deletions src/localization/localization.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ export const getMessagesForLocale = (locale) => {
switch(locale) {
case 'en':
return englishMessages;
case 'en-US':
return englishMessages;
default:
return englishMessages;
}
Expand Down

0 comments on commit ac4e1d8

Please sign in to comment.