@@ -299,29 +299,29 @@ private extension WCPayCardBrand {
299299 func localizedCardDetailsFormatString( ) -> String {
300300 switch self {
301301 case . amex:
302- return NSLocalizedString ( " American Express •••• %1$@" ,
302+ return NSLocalizedString ( " •••• %1$@ (American Express) " ,
303303 comment: " American Express card brand details. %1$@ is a placeholder for the last 4 digits of the card. " )
304304 case . diners:
305- return NSLocalizedString ( " Diners Club •••• %1$@" ,
305+ return NSLocalizedString ( " •••• %1$@ (Diners Club) " ,
306306 comment: " Diners Club card brand details. %1$@ is a placeholder for the last 4 digits of the card. " )
307307 case . discover:
308- return NSLocalizedString ( " Discover •••• %1$@" ,
308+ return NSLocalizedString ( " •••• %1$@ (Discover) " ,
309309 comment: " Discover card brand details. %1$@ is a placeholder for the last 4 digits of the card. " )
310310 case . jcb:
311- return NSLocalizedString ( " JCB •••• %1$@" ,
311+ return NSLocalizedString ( " •••• %1$@ (JCB) " ,
312312 comment: " JCB card brand details. %1$@ is a placeholder for the last 4 digits of the card. " )
313313 case . mastercard:
314- return NSLocalizedString ( " MasterCard •••• %1$@" ,
314+ return NSLocalizedString ( " •••• %1$@ (MasterCard) " ,
315315 comment: " MasterCard card brand details. %1$@ is a placeholder for the last 4 digits of the card. " )
316316 case . unionpay:
317- return NSLocalizedString ( " UnionPay •••• %1$@" ,
317+ return NSLocalizedString ( " •••• %1$@ (UnionPay) " ,
318318 comment: " UnionPay card brand details. %1$@ is a placeholder for the last 4 digits of the card. " )
319319 case . visa:
320- return NSLocalizedString ( " Visa •••• %1$@" ,
320+ return NSLocalizedString ( " •••• %1$@ (Visa) " ,
321321 comment: " Visa card brand details. %1$@ is a placeholder for the last 4 digits of the card. " )
322322 case . unknown:
323- return NSLocalizedString ( " Unknown •••• %1$@" ,
324- comment: " Short string to describe an unknown card details. %1$@ is a " +
323+ return NSLocalizedString ( " •••• %1$@ (Unknown provider) " ,
324+ comment: " Short string to describe unknown card details. %1$@ is a " +
325325 " placeholder for the last 4 digits of the card., used in contexts where " +
326326 " otherwise the card network would be displayed, e.g. " +
327327 " \" Visa \" or \" MasterCard \" " )
0 commit comments