chore(i18n,learn): processed translations (#49944)

This commit is contained in:
camperbot
2023-04-04 20:19:02 +05:30
committed by GitHub
parent 82e21aca0e
commit b44c93d2e2
79 changed files with 338 additions and 293 deletions

View File

@@ -21,9 +21,8 @@ Complete the function using the rules below to modify the object passed to the f
- Your function must always return the entire `records` object.
- If `value` is an empty string, delete the given `prop` property from the album.
- If `prop` isnt `"tracks"` and `value` isn't an empty string, assign the `value` to that albums `prop`.
- If `prop` is `"tracks"` and `value` isnt an empty string, add the `value` to the end of the albums existing `"tracks"` array.
- If the album doesnt have a `"tracks"` property, create a new array for the album's `"tracks"` property before adding the `value` to it.
- If `prop` isn't `tracks` and `value` isn't an empty string, assign the `value` to that album's `prop`.
- If `prop` is `tracks` and value isn't an empty string, add the `value` to the end of the album's `tracks` array. You need to create this array first if the album does not have a `tracks` property.
**Note:** A copy of the `recordCollection` object is used for the tests. You should not directly modify the `recordCollection` object.