You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: readium/lcp/r2-lcp/src/main/java/org/readium/r2/lcp/public/LCPError.kt
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -113,7 +113,7 @@ sealed class StatusError : LCPError() {
113
113
overrideval errorDescription:String?
114
114
get() {
115
115
returnwhen (this) {
116
-
is cancelled ->"You have cancelled this license on ${date.toLocalDate()}."
116
+
is cancelled ->"This license was cancelled on ${date.toLocalDate()}."
117
117
is returned ->"This license has been returned on ${date.toLocalDate()}."
118
118
is expired -> {
119
119
if (start >DateTime()) {
@@ -122,7 +122,7 @@ sealed class StatusError : LCPError() {
122
122
"This license expired on ${end.toLocalDate()}."
123
123
}
124
124
}
125
-
is revoked ->"This license has been revoked by its provider on ${date.toLocalDate()}. The license was registered by $devicesCount device${if (devicesCount >1) "s"else""}."
125
+
is revoked ->"This license was revoked by its provider on ${date.toLocalDate()}. It was registered by $devicesCount device${if (devicesCount >1) "s"else""}."
0 commit comments