Skip to content

Commit

Permalink
feat: change translations
Browse files Browse the repository at this point in the history
  • Loading branch information
braianj committed Mar 28, 2024
1 parent 98eafa6 commit c105d8f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/modules/item/sagas.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,7 @@ describe('when handling the save item request action', () => {
[matchers.call.fn(calculateModelFinalSize), Promise.resolve(MAX_WEARABLE_FILE_SIZE)],
[matchers.call.fn(calculateFileSize), MAX_THUMBNAIL_FILE_SIZE + 1]
])
.put(saveItemFailure(item, { ...contents, [THUMBNAIL_PATH]: blob }, 'The thumbnail file size exceeds 1MB limit.'))
.put(saveItemFailure(item, { ...contents, [THUMBNAIL_PATH]: blob }, 'The thumbnail file size exceeds the 1MB limit.'))
.dispatch(saveItemRequest(item, { ...contents, [THUMBNAIL_PATH]: blob }))
.run({ silenceTimeout: true })
})
Expand Down
8 changes: 4 additions & 4 deletions src/modules/translation/languages/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,7 @@
"item_too_big": "The item is too big to be uploaded. The max file size is {size} for {type}.",
"file_too_big": "{title}.{enter}File size limit is {size}. Reduce the size of the file and try again.",
"file_too_big_title": "The file is too large and can't be uploaded",
"thumbnail_file_too_big": "The thumbnail file size exceeds {maxSize} limit.",
"thumbnail_file_too_big": "The thumbnail file size exceeds the {maxSize} limit.",
"wrong_extension": "The file has an invalid extension.",
"invalid_files": "Files seem to be invalid or broken, please review them and try again.",
"missing_model_file": "Couldn't find a valid model file.",
Expand Down Expand Up @@ -298,9 +298,9 @@
"wrong_file_extension": "File extension is not correct.",
"wearable_file_not_found": "The wearable.json file was not found.",
"thumbnail_file_not_generated": "The thumbnail.png file couldn't be generated.",
"max_file_size": "{name}: Wearable file size exceeds {max}mb limit.",
"max_file_size_skin": "{name}: Skin file size exceeds {max}mb limit.",
"max_file_size_emote": "{name}: Emote file size exceeds {max}mb limit.",
"max_file_size": "{name}: Wearable file size exceeds the {max}mb limit.",
"max_file_size_skin": "{name}: Skin file size exceeds the {max}mb limit.",
"max_file_size_emote": "{name}: Emote file size exceeds the {max}mb limit.",
"not_saved_items_table_title": "Invalid items",
"cancelled_items_table_title": "Cancelled items",
"invalid_urn": "The wearable.json file has an invalid URN for this collection",
Expand Down

0 comments on commit c105d8f

Please sign in to comment.