Skip to content

Commit

Permalink
Merge pull request #1637 from elimu-ai/change-content-language-to-hindi
Browse files Browse the repository at this point in the history
Change content language to Hindi
  • Loading branch information
jo-elimu authored Nov 26, 2023
2 parents 948e921 + 42925ee commit 8b0ae85
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
target/
.idea/
.vscode/
pom.xml.tag
pom.xml.releaseBackup
pom.xml.versionsBackup
Expand Down
3 changes: 2 additions & 1 deletion src/main/java/ai/elimu/util/db/DbContentImportHelper.java
Original file line number Diff line number Diff line change
Expand Up @@ -261,7 +261,8 @@ public synchronized void performDatabaseContentImport(Environment environment, L
// TODO: storyBook.setContentLicense();
// TODO: storyBook.setAttributionUrl();
storyBook.setReadingLevel(storyBookGson.getReadingLevel());
Image coverImage = imageDao.read(storyBookGson.getCoverImage().getId());
// Image coverImage = imageDao.read(storyBookGson.getCoverImage().getId());
Image coverImage = imageDao.read(1L);
storyBook.setCoverImage(coverImage);
storyBookDao.create(storyBook);

Expand Down
2 changes: 1 addition & 1 deletion src/main/resources/config.properties
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ pom.version=${project.version}

# The language of the educational content
# See https://github.com/elimu-ai/model/blob/main/src/main/java/ai/elimu/model/enums/Language.java
content.language=ENG
content.language=HIN

# Create free API key using https://www.covalenthq.com/platform/#/auth/register/
# It will be used to get ETH transaction data from https://www.covalenthq.com/docs/api/#get-/v1/{chain_id}/address/{address}/transactions_v2/
Expand Down

0 comments on commit 8b0ae85

Please sign in to comment.