[Framework] Empty and error state handling for the Feed list (#18)
This PR contains the work done to implement the handling of empty and error states for the `FeedListViewController` view controller in the `Feed` framework. Reviewed-on: rock-n-code/app-reviews#18 Co-authored-by: Javier Cicchelli <javier@rock-n-code.com> Co-committed-by: Javier Cicchelli <javier@rock-n-code.com>
This commit was merged in pull request #18.
This commit is contained in:
@@ -120,6 +120,66 @@
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"view.feed-list.unavailable.empty.description.text" : {
|
||||
"comment" : "The text for the description of the Unavailable component in the Feed List view when no items are available",
|
||||
"extractionState" : "manual",
|
||||
"localizations" : {
|
||||
"en" : {
|
||||
"stringUnit" : {
|
||||
"state" : "translated",
|
||||
"value" : "No reviews matching the criteria have been found.\nPlease try fetching them at a later time."
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"view.feed-list.unavailable.empty.title.text" : {
|
||||
"comment" : "The text for the title of the Unavailable component in the Feed List view when no items are available",
|
||||
"extractionState" : "manual",
|
||||
"localizations" : {
|
||||
"en" : {
|
||||
"stringUnit" : {
|
||||
"state" : "translated",
|
||||
"value" : "No reviews available"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"view.feed-list.unavailable.error.button.try-again.text" : {
|
||||
"comment" : "The text for the Try Again button of the Unavailable component in the Feed List view when an error occurred",
|
||||
"extractionState" : "manual",
|
||||
"localizations" : {
|
||||
"en" : {
|
||||
"stringUnit" : {
|
||||
"state" : "translated",
|
||||
"value" : "Try fetching data again"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"view.feed-list.unavailable.error.description.text" : {
|
||||
"comment" : "The text for the title of the Unavailable component in the Feed List view when an error occurred",
|
||||
"extractionState" : "manual",
|
||||
"localizations" : {
|
||||
"en" : {
|
||||
"stringUnit" : {
|
||||
"state" : "translated",
|
||||
"value" : "An error occurred while trying to fetch the reviews.\nPlease try this operation them at a later time."
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"view.feed-list.unavailable.error.title.text" : {
|
||||
"comment" : "The text for the title of the Unavailable component in the Feed List view when an error occurred",
|
||||
"extractionState" : "manual",
|
||||
"localizations" : {
|
||||
"en" : {
|
||||
"stringUnit" : {
|
||||
"state" : "translated",
|
||||
"value" : "Something went wrong"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"version" : "1.0"
|
||||
|
||||
Reference in New Issue
Block a user